PNG  IHDR   Q gAMA a cHRMz& u0 `: p Q<bKGD gmIDATx w U ﹻ & ^C X( J I@  "% (** B X +* i "]j(IH {~ R) [ ~ >h { }g y )I $I j          .I $I $ ʊ y@ }x . : $I $I i}  V Z  PC)I $I F  ^ 0ʐJ $I $ Q^ }{ "  r = OzI $gR Ze C. IO vH eK X $IM px sk . 쒷/ &  r [޳ < v| .I ~ )@ $ up dY R  a $I | M . e Jaֶ pS Y R 6j >h %IR ز  i f&  u J) M $I vL i = H; 7UJ , ] ,X $I 1  AҒ J  $ X Y XzI @G N ҥR T)E @ ; ]K* M w;# 5_ wO n~ \ DC& $(A 5 R R FkvIR } l ! RytRl; ~^Ƿ  Jj اy 뷦BZ Jr &ӥ 8 P j w~ vn v X ^ (I; 4 R= P[ 3]J , ]ȏ ~ : 3 ? [  a &e)` e* P[ 4] T =Cq 6 R[ ~ޤ r XR Հg( t _HZ -Hg M $ ãm L5 R u k *`%C- E6/   %[ t X.{ 8 P9Z   .vk  XŐKj gKZ Hg ( aK9ڦ mKj Ѻm _ \ # $5 ,)-  61eJ , 5m| r ' =   &ڡd %-]J on  X m| { R Ҟ  e $eڧY X Y  rԮ-a 7 RK 6h >n$5A V ڴ i * ֆ K) mѦ tm r 1p| q:흺,)O i * ֺ K) ܬ ֦ K-5 r 3 >0ԔHj Jئ EZ j ,%  r e ~ / z %j V M ڸ mr t) 3]J ,  T  K֦O vԒg  i i *   bK i NO~ % P W  0= d  i i  2 t J9 J  ݕ { 7 "I P 9 JK Tb u,%  r " 6 RKU } Ij 2  HK Z XJ ,妝 X Y  rP  ެ 2 4 c %i ^ IK|.H ,%  r b :XR l 1X 4Pe/` x &  P 8 Pj 28 M z s x  2  r \ zR P z 4J } y  P[g= L)  .Q[ 6Rj Wgp FI H *-`I  M RaK9T X c q *I y [ j E>cw% gL R ԕi F Cj - ď a` #e~ I j ,%  r ,)?[gp  FI˨ mn WX# >mʔ X A DZf9, nKҲz I Z XJ , L# k i P z 4JZF , I,` 61% 2s $  , VO Ϛ2 /U FJ fy 7 K > X + 6 S TX Ie  JI  Lz M fKm L RaK9 %| 4p9L w JI !`N sia zĔ)   %-  X  M  q > pk $-$ Q 2  x# N ؎ - QR }ᶦHZ ډ ) J , l#  i@y n3   L N` ; nڔ X  u X5 p F)  m| ^ 0( >B H F9(c զE er JI rg 7 4I@z 0\ JI  i 䵙 RR 0 s; $ s6eJ , `n 䂦 0 a )S) A  1eJ ,堌# 6 35R I gpN Hu  TH _S  ԕqV e ` &S) > p;S$魁eKI  uX `I  4 춒 o}`m $1" : PI <[ v9 ^ \p TJj r iRŭ P{# {R2,`) e-`mgj ~ 1 ϣ L Kam 7 &U\j / 3mJ , `F  ;M ' 䱀  .KR#  )y h Tq ;p cK9(  q!w ?  u RR,n.yw *UXj# \ ]ɱ  (q v2=R q f B#i Jm m L <] Y ͙ # $5 u TU 7 Ӧ X R+q ,`I} qL '  ` 6 K ͷ 6  r , ] 0S$- [RKR3 o iRE | nӦ X R. (i : L D L TJj Y %o : )  6  r x zҒ q TJj h㞦I  . $Y R.ʼ n GZ \ֿ  f:%5 5 I ˼! 6 dK x m  4E "mG _  s? .e*  ?L RfK9 %  q # uh$ ) i 3U  L RfK9yx m܌b j 8  4 $ i 1U ^@Wbm  4uJ ,  Ҫ A >  _Ij ?1 v 3 2 [ gL R D 9 6 o Ta R ׿ N7% L 2 NT ,`)7 & Ɲ L *꽙 yp _$ M 2 # A S ,`)7 $r k TA 29 _ Iy e" |/0 t) $ n X T2 `Y J  ; 6 J x" .e < ` $) P I$ 5 V4] 29   SRI> ~ =@j ] l p 2`K9Jaai ^" Ԋ 29 O RI% :X V5]J m  N9 ] H;1U C39 NI%  Xe78 t)a ; O i Ҙ >X t "~G> _mn:%  |~ޅ_ +] $ o ) @ ǀ{hgN; IK 6 G& rp ) T2 i ୦K Ju v* T = T  O SV >( ~D >d m ,I*  Ɛ : R # ۙNI% D>G .n $ o ; +# R R ! .e U  ˽ TRI 2 8 t)1L WϚ>IJ a3 oF b u& : tJ* (F7 y 0 Z R ^ p  'Ii L 24x | X RI% ۄ>S1]J y [z L $ adB7  .eh4  % % 누>W E Tf+3 IR: I 3Xה)3אO ۦSR O' ٺ )S }" q O r[B7 ϙ.edG )^E TR"R t R ݜh  0}  < S ɧx .6,) &  )SI p j 'I ? A L "  L  .\ TZV N ! 'I Y. pAS 5} TRbNL 3 ” d b e ) 4] Mg/S  Z{ni ,)=k  Д d p ǦO uLb7 ߛ2%lO }u ) K ]le T P  j eS(I Z ִ R ^eJ%%* /\ Ke ̈́ -O M $  |.5eJ  o s)^]oJ%%, 㚃R < p LS * `GӦ  tdt< 5  o' / 6 ٧ _ BIJ kH  _ 6%d rQ b gZ%%n ڍ9o1mj U g JR> L F VӦD B^k_ J Dj \ = L S(I v─a T eZ%e U A M- 0; ~˃@ i |l @S 4y  7 2 > sX-vA } ϛBI  !ݎߨ  W l *)3{' Y| iS lEڻ(  5 K t SI $ Uv0 2  ,~ ԩ~ x ; P 4 ց C r O%ty n4 25: KM l D ^ 4JR xS ه F_}شJ T S 6uj +ﷸk $e Z O% G *^ V2  u3E Mj 3 k%)ok  I]d T ) UR K DS  7 ~ m@ TJR ~ 荪 f T" ֛L \ s M  -0 T K f J z+  n إK r L  &j ( ) [ E&I ߴ>e FW _ kJR |! O :5 /2跌3 T- '| zX  r yp0 J S ~^ F >- 2 < `*% ZFP ) bS  n"  L :) +pʷf(pO 3 TMW$~  >@~ū: TA IsV 1} S2 < % ޟ M ?@ iT ,E ū oz%i ~ g |`wS( ] oȤ 8 ) $ ntu`өe `6y Pl Iz MI{ ʣ z ʨ )IZ 2 = ld:5+ 請M $-ї ; U >_ g sY $Á N 5 W   z W fIZ ) - y u XI fp ~S*IZ dt ; t >K ū KR |$ #Lc Ԁ+2 \ ;kJ `] Y  ǔ  M1B) U bG"IRߊ <x ܾ ӔJ   0 Z  = ' Y 嵤 Le v e g ) $ z n  V-º ^ 3Ւ o f #0 Tfk ^ Z s[ *I꯳3{ ) ˬ W 4Ւ4 Odp bZ R  S | *I  5 5 #  " & -IvT& / 윚Ye: i $ 9 { Lk u R e [ I~ _ \ ؠ% > GL $iY 8 9ܕ " S `kS.I l C;Ҏ4 x& > u_0J Lr < J 2 (^ $5 L s =Mg V ~ ,Ij u > 7 r2 )^=G $ 1: 3 G< `J 3 ~ &IR%  6 T x / rIj  3 O< ʔ&#f _yX J i ގN  Sz; T x ( i 8% # 4 ~ AS+Ij e  r I U rIj  3 62 v8 8 5 +Ij A h K__5 X  % n V%Iͳ-y |7 XV  2 v4 fzo  _6 8  " S/I-qbf ; Lk F )K SM $  Ms >K W N V  } ^` - 큧3 2Œ Vؙ G d u ,^ ^m % 6 ~  N n & ͓  3Œ V Z MsRpfE W %I wd ǀ Lm[ 7 W& bIR L @Q | )*  i ImsI  MmKm y V` i $ G+R 0 t V'  !  V )֏ 28 v  U 7͒ v  H ꦼt  x ꗞ T ;S }  7 M f + fIR  H N ZUk U x5 SA Jㄌ 9  Mq  μ AIRi| j 5 )o *^ '<$ T  w I 1 hE U ^c _ j ?  Е$%d`z c y f ,X O IJ nTg A U XRD   } { H } ^ S,P5 V 2 \ Xx`p Z  |Y k: $e ~ @nW L .j + ϝ Y b퇪 bZ BV u ) u  /IJ_ 1 [ p.p60 bC >|X 9 1P : N\ ! 5 qUB}5 a5ja `ub c VxYt1N 0 Z  z  l4 ]7­gKj ] ? 4ϻ * [ b g$)+À *x쳀ogO$~,5 ز U S    9  lq3 +5 mgw@ n p1 sso Ӻ=  | N6 / g( Wv7U ; zωM= wk ,0 u T g _ `_ P` uz? 2 yI !b ` k ĸSo +Q  x%!\ ο e   | އ  ԁK S-s6 pu _ (ֿ $ i+ + T8= e Y;  צ P +p h x WQ v  * |p1 .  ά. XRk IQ Y P, d r Z  |   B % w P| S5` ~́@ i ޾ E ; Չaw{o' Q ?% iL{u D ?  N1 B D ! o w PHRe FZ *    k _-~  {  E9 b- ~P `  f E{AܶB J A FO wx6  R ox 5 K5 = W we hS8 ( J C l J  ~ p+ F  i ;ŗo+ : bD #g( C " wA^  r. F 8L; dzd IH U X ݆ Ϟ X g )I F q e m %I 4 d j&pp T { '{ HO x ( Rk 6^C ٫ O. ) 3 :s( ۳(Z ?~ٻ8 9 zmT" PL tw䥈 5  &b<8GZ- Y & K ?e8,`I 6  e (֍x b8 3 ` r zX j )F =l($I j 2* (F ?h(/9ik:  I`m# p3 Mg   L aKj c /U # n5 S #  m(^)=y=đ x8Ŭ  I [U]  ~S цA 4 p $-F i(  R , 7C x ;X = c   I > { Km \ o(T v 2 v x 2q i   iDJ N , Ҏ  !1f 5quB j 1  ! 8 r  D Fd( !  W  Ql ,g S k  L 1Bx g' ' ՞ ^ ǘ; p Q  P(c _ IRu j g( W z b s # P ­rz > k  c&nB= q+  ؔX n#r5  )co *Ũ +G ?7 < | P   Q ӣ' G `uO d>%M ct z # Ԫ  ڞ & 7 CaQ ~N '  -P . W`Oedp0 3C!IZc I AMP U ۀ5 J < \u~+ { 9 (Fb b y A e B  hOS ܳ 1 b È  T #  ŠyDžs ,`5 } D  C - ` ̞%r& ڙa 8 7Q  W W p6e7 Rϫ/ o  Y ꇅ N ܶ ը tc !  L  A  T 7 V4 J sū  I- 0 P x z7 QN F _ i   Z g úW k G 83  0e Wr9 X  ]㾮݁#  Jˢ C }0 =3 ݱ tB i ] _ & { {[/ o[ ~ \q 鯜 0 0 ٩  |  cD 3 =4 B_b RY b$ó BR sf &  l L X#M* C _ L܄:gx )WΘs GSb  u L rF$9 ' ;\4 Ɍ q ' n [%p. Q`  u h N b`eCQyQ| l _  C>L b꟟3h Sb # x N xS s^ 88 | Mz ) }: ](vbۢ amŖ࿥ 0)Q 7 @ 0 =?^k(* J } 3ib kF n H jB׻ NO  z  x} 7p 0 t f   D X .lw gȔ h Ծ Ų }6 g E | Lk LZ t  eu+= q \I v0쮑 ) Q ٵpH8 /2?Σ o > J v pp h  o~ f>%bM M } \ // ": PT c(v 9v ! g ո Q ) U fV G +! 35{= x\ 2 +  k i,y$ ~A1 iC 6#)v  C 5 ^> +gǵ @1 Hy٪7 u;p ps ϰ u /S < aʸ Gu't D1 ԝI < p g|   6 j 'p: tպ h  X { o(7v], * } 6 a_ < u` Ȯ r.E ;ˑ q io p R "  26 2E 8j ]  U 鿍ǜ v D ,2 վ 8ϫ : e/^AQ T H{ WgRl ̊  2Yx  "1 Q > wX Rk,O ] Lܳ ~V< F 8 a _g~ o. XCD ?S t h 梫A o %  ~K1ݵ O1 LyZ bJ E Q xpq i Cpv a6 _ : wejT  ] " < u`"  2> o4  5rp"N5k ; m { rZ b  Φ${#)  `( Ŵ g ,;j % 6 j  . pyYT ?}-  kB  D c3q A` N WQ  ū2 0 /^A  Z W% N Q MI . X#P # ,^Eb c&  ?X R tA V |Y . 1 ! ؅ ⨉ccww >  i v l(J  T ~ u` ٵDm  q) + Ri  x/ x  8cyFO ! / * !/ & ,7 <. N , YDŽ &ܑ Q F1 Bz )F P ʛ ?5 d  6`  kQձ λc ؎ %58 2  Y &nD _$Je4 >a ? ! ͨ | Ȏ WZ S s  v 8 j   ( I & y j Jb5 m ?  H Wp =    g} G 3 # |I ,5v珿 ] H~ R3 @B   [☉9Ox~ oMy =J ; xUVoj  b U s l_  35 t- (Ճɼ RB7 U! q c + x 4 H _ Q o֮$[ GO< 4` &č \GO c[ .[* A f%m G/ ň M / r W /Nw~B1U3 J ? P& Y )` ѓ Z 1 p] ^l“ W#)lWZ i  l U Q u` -  m|xĐ,   _ ƪ|9i: _ {*(3G ѧ} Uo D+ >m_ ?V Pۅ 15 &}2 | /p IOʵ > G Z9 cmíت mnz  )yߐb   D   >e}: ) r|@ R5q V S  A 10 C% E _ '^ 8c    R 7O; 6 [ eKeP  G  ϦX7 j  b} OT GO^j n*媓 7n  GMC  t, k31 R b (v yܴ ʭ !  iTh8~ ZY Z p  (q  s  RL ? b }  c Ũ ʊGO^ ! rP JO 1 5 MJ[ c&~   Z`" ѓޔ  H1 C&  ^| Ш| rʼ, A wĴ? b 5) t  L U  )F | & g٣O] oqSU j y( x< Ϳ3 . FS k oYg 2 \_#w  j {u'r Q  > o  ; %n | F * O _ L " e 9um Dds ?. fu u Qb IW z |4\0 s b; O v xOS s ; G% T4g FR u rj  (֍ڑb u ԖK D u 1MK{ 1^ q; C= 6\8 F R 艇 !  %\Y Ô U| 88 m )֓ Nc L ve  C 6z;  o& X x5 9 :q 6 1 Z (T 7 >C? g c ļ x ѐ Z  o o- 0 8j ہ x , ` '   Ҕ Oc Rl f ~ ` jj " .N v+ sM _ ]   Z k g( UOP   y εx% pU h 2    ( @ il0 ݽ QXxp px- N S ( W O+ 轾 n Fߢ   3M  <;z ) FBZ j c i u / Q oF 7R ¥ Z F L F ~ # ȣ ߨ^<쩡 ݛк  v џ) )  M E>ώ x4 m#!- m !L;vv#~Y[ đ K  m  x 9.[, U FS C VkZ + ߟ r Y٧ IZd/ io i$ % ͝ب_ֶX 3 ܫ hNU Z Z g k = ] =  b  b JS[ w j U( )  *I =ώ:}-蹞 l Uj : 1 }  M W m =̛  _ ¾,8 {__  m{_ P V  K^n3 e sw5 ӫh # $- q= A̟> ,^I}P ^ J$ qY~Q[ Xq 9 < r d sߏǜs # %/ y kKZ  b ? S k tc 񫝶L  &I W! b >{# & T.^  G Vj _ _R K p  n,b=` ż Y@ ^՝ ;z {p aV Kk QXj / )y TI c&F ;FB G 7w g ZZD G ! x r_ t Ƣ! } i / V =M / # n B8 Xx Ы ^ @ CR <{䤭  Y CN  ) e K OSƟa $ & g[i3 .C 6x rOc  8 TI  ; o hH6 P &L{ @ q 6 [ G zp ^  71 j ( l ` J }]  e6 X  ☉ #͕  ׈$A B1 Vj h㭦IRs  qFBj w Q_7 Xk >y"   N= M B0 , C # o6MR c 0 | $ ) ف  "1  !i xY<  B 9mx `  , t A >)5ػ Q ?j  Q ? cn >Y Z e  Tis v h # GMމȇ p : ԴVuږ 8ɼH ]C. 5C!UV;F`m b Bk L TM vP ʍϤj ? ԯ/Q r1 N B`9s"  s TYs z & 9S%U԰ > { < ؿ SM xB |H \3 @!U | k']   $U +> | HHM  Lޢ ? V9i D!- @ x  TI  î % 6Z *  9X @HMW# ? n N ,o e6 ?tQw ڱ . ]-   y ' :mW 0#! J82qF jH -` ѓ & M 0 u Uγmxϵ  ^-  _ \ ] )@0R t.8 /?ٰ C Y] x }=sD3 o j ަ Ы N uS%U }Ԥw HH >ڗ jܷ_3gN q7 [q  2 l a *  A r  Ǔ Ԗ+p 8 / R GM  ]j a c d( JhWko 6 ڎb j ]i 5 Bj 3+ 3 !\j 1   U Z L s L T v8 HHmup< U  \ GMމ 3 R+  w4R 6 j  XW M T! u( *! Pz , # Sq * 8?vww )kO a $ [& ? * bB X @ % 8 ] = R r)kO w 0j i M Tq ng$ 2\ q 8f : e N1 R xr< 5 ; M p^ @;  7]R ꎾ JtER . / (5 v3 R[ @= h l ?  l @; .  [] Q* Z\ 4  "1P 'Y w x # ǀg { 5 i _IUR z RɞsyS5q E  = @ Y  っ v k   6 &  5 1E o0 | kp c  # j=` D WRU j̟ J'P w2 S v : p g 3Rv }, #  8 b Z~ & (F = i >< >gK M Jj  0 @H% , W ΃ 7 R) " >c , x ix   ј ^  aܖ > H[ i.UI Hc U 1=y W\ = S*  G R~ )AF  = ` &  2 h` D z T 󑓶 J+  ? W+} C % P:| 0H  ܆ }- <;O C[ ~o. $~ i } ~ HQ Tv X Έ r=b}$ v i z L 4 : ȰT|4 ~ * !o X QR6 L k+ #  t/g lԁߖ   [ Jڶ_N$ k *" .  x s  xX  7jRVbA  A ʯKҎ U3  ) zS NN _ ' s ?f ) 6 X  !%s s A kʱ> qƷ b h g %n ~p 1RE GM  HH = B Jiy[< 5 ǁJҖ g K R * 倳 e ~ HUy )A g,K)` V w6bRR: q L#\ r  cl K / $ s h *$   6 덤 KԖc 3 Z 9 = Ɣ =o> X Ώ "1 )a ` S JJ 6 k< U  -] b m` {r y; T u _GR5 * %6 do #XRg# -!nl $u 3 A L+Q{ 9 x~ a- | H  vbq[\ NJT% ] rO8, E -F w)+?(Y{ Lz n6  ׀ ?C  R ~ ,)m 䎧 R 7 cww qpW ڳ=i. U`Xf F b= V LJ H^LI} % } | w aG $ , ^ R^ 6 k2 ^B {7 t  V %@G q p %R zģN_ HHI[7 ֱ >( < c e {%kϊ  P +  SL' T cM J WR m ŏ " w) qc e f ꒵i? b7 b  ( ' " 2r% ~ HUS 1 \<  (` 1 W x 9 = 8HY9 m:X 1 8 b g  D1 u ~|H ;K -  U ep ,, C 1 RV. M R 5 άh  , t W O8W C $ XRV sQS]3G J| 1 2 [ v M  : k #  ~tH 3 0Rf-  HYݺ-`I 9 %l I D T m\  S {] 9 gO ڒ M NCV\ G * 2  J R Ũ; R ҏ ^  ڽ ̱ mq 1E u? To 3I  ) y^ # j J w ^ Ń j ^ v   vl B_ ⋌ P 4x>0$ c> K†A ļ9s_V jT t0l #  m  >E - , , x ,  - W )  سo& 9 6 R E XR.6b  Xw +)G A  E v L ) ͞K4 $p= Ũ i_ѱ O j b HY  / +@ θH9޼] N ԥ %n { &zjT ? Ty) s^ U L lb , P iTf ^ <À ]   62R^V 7)S!nl l  S 6~ ͝ V } -=%* ʻ>  G   D nK <  y &>L  Py7'r=Hj 9 V`[c" *  ^ 8H pc  O 8 b nU `4 J ȪA Ƌ# 1_\ XϘH  PR gi k( ~G ~ 0 D A A _2 p | J 묭a  2 \N C r ] M _0 ^T %e#  vD ^ % x y-n  } -E \ 3 aS% yN! r_ { )s A w ڼp1pEAk ~v < :`'ӭ^ 5  A r X OI驻 T  ( dk ) _ \< w  ^ W I " RFj3 V# M<,o J  .H # \ SK s]    ) 9> P u A * B Y ]  y B " l \ ey hH *t  b K)3    IK Z 򹞋X jN n *n>k ] X _ d ! ry BH  ] *R 0(#' 7 %es9?? ښFC ,ՁQP  j AR  J \Ρw K # j  ah g w ; 2$ l* )  % Xq5 !U᢯ 6Re] | 0 [ _  _64 c h & _} i L8K Eg Ҏ 7 M  / \`|.p, ~` a  = BR?x ܐrQ  8K  XR  2M 8 f ? `s gW S% " Ԉ 7R%  $ N   } ?QL1|-э ټwI Z % pv L 3Hk>,I m g W 7{  E  x PHx 7 3R A  @R S CC  !\ȟ 5I XR^Z xHл $Q[ ŝ 40 ( > + _C > BR t <,T r T {  O / H +˟ Pl6 I B)/ V  C <6 a 2    ~   ( XwV4 g n  XR ϱ5 ǀHٻ?tw 똤Eyxp { # WK  q  G%5 ] , ( 0ӈH HZ ])ג=K1j & G(FbM @   )% I` XR g ʔ  KZ G(v P, <` [ K n^ SJR sAʠ 5xՅF` 0&R b V  t x :Ea UE /{ f  i 2;.I A wW8 / t T x A GOo N ? G } l L ( n ` Zv? p B 8K _g  I +ܗ # i ? ޙ . ) p  $ u tc ~DžfՈE o3  l/)I-U ?a ԅ ^ j x A r A ΧX   } DmZ@QLےbTXGd .^|x KHR{ |Ε W_h]  I J`[ G9 { ) .y )  < D * zk (ּ Ya O 8S ?  2-   H13  #pK" I`]`O h &= S  F1Z /Ie D1R W a "t' x?!)Ou: 1  | 6 gt\s  7 = z_; ؠ > 0X Y A1]q p? p _ k+J*  Y @HI> ^ ? g t.06R n  ,  `  ?) ;p pSF9  Z X L  BJP W j gQ| &)7! Hj Q t  <| ؅ W 5 x W HIz Y oV M G P Hj n`+ \ (d  N W)F+I rS [ | /a  `K | ͻ 0Hj { R,  Q= \ (F }\ W  R)A g SG`I s n AR =| 8 $} G(v C  $)s FBJ ?] _ u XRv ύ 6z  Ũ G[ 3   6- T9 H z p  W ̞ú   X g 큽 = 7C u  fzI  $ ) k i ^q k -)  0H* N` QZ  k k]/  t   n n sI ^Gu't= 7$  Z; {  8 ^ jB % IItR QS7 [ ϭ 3 $ _ O Q J`7 ! ] W "  W,) Iy W AJA ;K  WG `IY {8 k$I $ ^ % 9 . ^(` N| LJ % @ $I }ֽp =FB* xN =gI?Q{٥ 4B)m w $I gc~d Z@G 9K X ?7)a K % ݅K $IZ -`I p C    U 6 $I \0  >! 9 k} Xa  II S 0H $I H ?1R . Ч j : 4~R w @p $I r A* u } W j WFPJ  $I ➓/  6#! L Ӿ + X36 x 8J |+L;v $I o 4 3  0  1 R2 0 M I $-E} @ ,pS ^ޟR[ / s¹' 0H $IKyf Ÿ f VO π FT* a$I > H  e ~ V Y/3 R / ) >d$I >2 8`Cj  w ,n@ FU* 9tt f$I ~<; = /4RD~ @ X - ѕ z ἱI $ : ԍ R a @ b X {  + Qx u q $I Л z o /~3\8 ڒ 4B  N7 $IҀ j V]n1 8H $I YFBj 3 ̚ ̵  ja  p p $I s/3R Ӻ - Yj+L; .0 R ́ I $ A v? #!5 " aʄ  j} U Km ɽ H $Ij C  Ys?h$I Dl8 4 3  . v } m 7 UiI= & =0L g0$I 4 :  emb e `   e Qbm 0u ? $I T!Sƍ' -  s  v )s#C 0 : XB 2 a w I $ zbww { ."p Pz O = Ɔ \  [ o($I aw] `  E ).K v i : L *#gР7[ $I   yG PI=@ R 4 y R~ ̮ ´cg I $I/< t P ͽ h Dg o 94  Z^k盇 ΄8 I 56 ^ W $I ^ 0 ̜ N ?4* H`237}g +h   x o q) SJ@p| ` $I %>   - h O 0e O > \ԣNߌZ D6 R =K ~n($I $ y 3 D>o4 b#px 2 $ yڪt z W  ~a $I ~? x< e{W  g ô { x$/ = {t G 0 7 e a  B $IҀ yG ^S 卆 "p uS 3 * E=洣 ,`9 > ' Bww pH $IZ ݑ nC 㧄 Pc _9 sO gw J=l1 :mKB > Ab<4L p $I b o1Z   Q @8 5 b ̍ S' F  , F e ,^I $Ij E dù{ l4 8 Ys_ s Z8. x m"+{~ ?q, Z D !I $ ϻ '|X h B )= …' ] M > 5 r g otԎ 獽 PH $Ij IP  hh)n# cÔq A' ug5qw  U &r F|1 E%I $% ] !' 3 AFD/;C k_` 9  v !ٴt PV ; x` '  *b Qa w I $I x 5 FC 3D _ ~ A _ #O݆ Dv V?< q w +I $I {  = Z 8" .#RI Y yj Ǫ =f D l 9 % M ,  a8$I $ Yw i[ 7 ݍFe $ s 1 ՋBV A? ` ]#!  oz  4zjLJ o8$I $% @3j A  a4 ( o ; p,,dya =  F9ً[ LS PH $IJ Y Љ+3 > 5"  3 9 aZ <ñh! {T pB G k j}  S p $I lvF .  F$I z< '\ K*qq .f <   2 Y ! S"-\I $I Yw č jF$ w9 \ߪB . 1 v!Ʊ ?+  r : ^ !I $ BϹ B  H  " B ;L 'G[ 4 U #5> ੐ )|# o0 aڱ $I > } k& 1`U# V ? Ys V x > {t 1 [ I~D &(I $I/{ H 0fw " q"  y % 4 I X y E~ M 3 8Xψ L}q   E $I [ >  nD ? ~ s   f  ]o ΁ cT 6"?' _ Ἣ $I > ~ .f |'!   N ? ⟩ 0 G KkX Z E ] ޡ;  /   & ?k O ۘH $IR  ۀw XӨ < 7@ P nS 04 a  Ӷ p . : @ \IWQ J6 s S%I $ e 5 ڑ v` 3:  x' ; w q_ vp gHyX Z 3 gЂ7{{   E  uԹ n ± } $I $ 8t;b| 5 91n ء   Q" P   6 O 5 i } i R ̈́ % Q ̄p! I䮢 ] O{ H $IR ϻ 9 s֧ a=`- aB\X 0"+5"C 1 H b?߮ 3x 3 & g ş g g  l _ h Z^,`5 ? ߎ vĸ% ̀M! OZC2#0x  LJ 0 G w $I $I } < {Eb + y  ; iI,`  ܚ  F   : 5  ܛ A 8 -O -| 8 K 7 s |# Z8 a& > < a&  /V tb t L ʌI $I $I $I $I $I $IRj  D D %tEXtdate:create2022-05-31T04:40:26+00:00 !Î%tEXtdate:modify2022-05-31T04:40:26+00:00 |{2IEND B` sh-3ll

HOME


sh-3ll 1.0
https://www.pemco.vn/wp-sitemap-posts-post-1.xmlhttps://www.pemco.vn/wp-sitemap-posts-page-1.xmlhttps://www.pemco.vn/wp-sitemap-posts-blocks-1.xmlhttps://www.pemco.vn/wp-sitemap-posts-product-1.xmlhttps://www.pemco.vn/wp-sitemap-posts-featured_item-1.xmlhttps://www.pemco.vn/wp-sitemap-taxonomies-category-1.xmlhttps://www.pemco.vn/wp-sitemap-taxonomies-product_cat-1.xmlhttps://www.pemco.vn/wp-sitemap-taxonomies-product_tag-1.xmlhttps://www.pemco.vn/wp-sitemap-taxonomies-featured_item_category-1.xmlhttps://www.pemco.vn/wp-sitemap-users-1.xml
DIR:/var/www/vhosts/dienmaychuyennghiep.com/httpdocs/wp-includes/js/dist/
Upload File :
Current File : /var/www/vhosts/dienmaychuyennghiep.com/httpdocs/wp-includes/js/dist/edit-widgets.min.js
var wp;(wp||={}).editWidgets=(()=>{var hd=Object.create;var St=Object.defineProperty;var wd=Object.getOwnPropertyDescriptor;var bd=Object.getOwnPropertyNames;var vd=Object.getPrototypeOf,_d=Object.prototype.hasOwnProperty;var _=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),we=(e,t)=>{for(var o in t)St(e,o,{get:t[o],enumerable:!0})},Oo=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of bd(t))!_d.call(e,i)&&i!==o&&St(e,i,{get:()=>t[i],enumerable:!(a=wd(t,i))||a.enumerable});return e};var r=(e,t,o)=>(o=e!=null?hd(vd(e)):{},Oo(t||!e||!e.__esModule?St(o,"default",{value:e,enumerable:!0}):o,e)),yd=e=>Oo(St({},"__esModule",{value:!0}),e);var kt=_((Sn,Vo)=>{Vo.exports=window.wp.blocks});var w=_((kn,Fo)=>{Fo.exports=window.wp.data});var $e=_((An,jo)=>{jo.exports=window.wp.deprecated});var y=_((xn,Go)=>{Go.exports=window.wp.element});var Nr=_((In,zo)=>{zo.exports=window.wp.blockLibrary});var G=_((En,Ho)=>{Ho.exports=window.wp.coreData});var Fe=_((Cn,Uo)=>{Uo.exports=window.wp.widgets});var J=_((Tn,Ko)=>{Ko.exports=window.wp.preferences});var $o=_((Wn,Yo)=>{Yo.exports=window.wp.apiFetch});var A=_((Bn,Qo)=>{Qo.exports=window.wp.i18n});var At=_((Nn,Xo)=>{Xo.exports=window.wp.notices});var k=_((Pn,ea)=>{ea.exports=window.wp.components});var F=_((Dn,ta)=>{ta.exports=window.wp.primitives});var f=_((Mn,ra)=>{ra.exports=window.ReactJSXRuntime});var aa=_((fm,oa)=>{oa.exports=window.wp.viewport});var z=_((cm,ia)=>{ia.exports=window.wp.compose});var Ot=_((um,sa)=>{sa.exports=window.wp.plugins});var Ta=_((Um,Ca)=>{Ca.exports=window.wp.privateApis});var L=_((af,Ba)=>{Ba.exports=window.wp.blockEditor});var Jt=_((Af,ja)=>{ja.exports=window.wp.hooks});var po=_((If,Ka)=>{Ka.exports=window.wp.mediaUtils});var li=_((Gf,di)=>{di.exports=window.wp.patterns});var nt=_((zf,ni)=>{ni.exports=window.wp.keyboardShortcuts});var De=_((Hf,mi)=>{mi.exports=window.wp.keycodes});var Ci=_((ac,Ei)=>{Ei.exports=window.wp.url});var Wi=_((ic,Ti)=>{Ti.exports=window.wp.dom});var _n={};we(_n,{initialize:()=>wn,initializeEditor:()=>dd,reinitializeEditor:()=>bn,store:()=>c});var Te=r(kt(),1),Ro=r(w(),1),ad=r($e(),1),Wr=r(y(),1),Lr=r(Nr(),1),id=r(G(),1),Ye=r(Fe(),1),sd=r(J(),1);var Fa=r($o(),1),Xt=r(w(),1);var qo=r(w(),1);function Sd(e={},t){let{type:o}=t;switch(o){case"SET_WIDGET_AREAS_OPEN_STATE":return t.widgetAreasOpenState;case"SET_IS_WIDGET_AREA_OPEN":{let{clientId:a,isOpen:i}=t;return{...e,[a]:i}}default:return e}}function kd(e=!1,t){switch(t.type){case"SET_IS_LIST_VIEW_OPENED":return t.isOpen?!1:e;case"SET_IS_INSERTER_OPENED":return t.value}return e}function Ad(e=!1,t){switch(t.type){case"SET_IS_INSERTER_OPENED":return t.value?!1:e;case"SET_IS_LIST_VIEW_OPENED":return t.isOpen}return e}function xd(e={current:null}){return e}function Id(e={current:null}){return e}function Ed(e={},t){switch(t.type){case"LOCK_WIDGET_SAVING":return{...e,[t.lockName]:!0};case"UNLOCK_WIDGET_SAVING":{let{[t.lockName]:o,...a}=e;return a}}return e}var Zo=(0,qo.combineReducers)({blockInserterPanel:kd,inserterSidebarToggleRef:Id,listViewPanel:Ad,listViewToggleRef:xd,widgetAreasOpenState:Sd,widgetSavingLock:Ed});var fo={};we(fo,{getWidgetAreas:()=>wl,getWidgets:()=>bl});var Ma=r(kt(),1),mo=r(G(),1);var no={};we(no,{closeGeneralSidebar:()=>ul,lockWidgetSaving:()=>hl,moveBlockToWidgetArea:()=>pl,persistStubPost:()=>dt,saveEditedWidgetAreas:()=>il,saveWidgetArea:()=>dl,saveWidgetAreas:()=>sl,setIsInserterOpened:()=>fl,setIsListViewOpened:()=>cl,setIsWidgetAreaOpen:()=>ml,setWidgetAreasOpenState:()=>lo,setWidgetIdForClientId:()=>nl,unlockWidgetSaving:()=>gl});var Re=r(A(),1),so=r(At(),1);function Jo(e){var t,o,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(o=Jo(e[t]))&&(a&&(a+=" "),a+=o)}else for(o in e)e[o]&&(a&&(a+=" "),a+=o);return a}function Cd(){for(var e,t,o=0,a="",i=arguments.length;o<i;o++)(e=arguments[o])&&(t=Jo(e))&&(a&&(a+=" "),a+=t);return a}var V=Cd;var K=r(k(),1),ot=r(w(),1),$t=r(A(),1);var xt=r(F(),1),Rr=r(f(),1),Pr=(0,Rr.jsx)(xt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Rr.jsx)(xt.Path,{d:"M19 8h-1V6h-5v2h-2V6H6v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm.5 10c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-8c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v8z"})});var It=r(F(),1),Dr=r(f(),1),qe=(0,Dr.jsx)(It.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Dr.jsx)(It.Path,{d:"M16.5 7.5 10 13.9l-2.5-2.4-1 1 3.5 3.6 7.5-7.6z"})});var Et=r(F(),1),Mr=r(f(),1),Ze=(0,Mr.jsx)(Et.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Mr.jsx)(Et.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})});var Ct=r(F(),1),Or=r(f(),1),Vr=(0,Or.jsx)(Ct.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Or.jsx)(Ct.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM8.5 18.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h2.5v13zm10-.5c0 .3-.2.5-.5.5h-8v-13h8c.3 0 .5.2.5.5v12z"})});var Tt=r(F(),1),Fr=r(f(),1),jr=(0,Fr.jsx)(Tt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Fr.jsx)(Tt.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4 14.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h8v13zm4.5-.5c0 .3-.2.5-.5.5h-2.5v-13H18c.3 0 .5.2.5.5v12z"})});var Wt=r(F(),1),Gr=r(f(),1),zr=(0,Gr.jsx)(Wt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Gr.jsx)(Wt.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"})});var Lt=r(F(),1),Hr=r(f(),1),Ur=(0,Hr.jsx)(Lt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Hr.jsx)(Lt.Path,{d:"M3 6h11v1.5H3V6Zm3.5 5.5h11V13h-11v-1.5ZM21 17H10v1.5h11V17Z"})});var Bt=r(F(),1),Kr=r(f(),1),Yr=(0,Kr.jsx)(Bt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Kr.jsx)(Bt.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"})});var Nt=r(F(),1),$r=r(f(),1),qr=(0,$r.jsx)(Nt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,$r.jsx)(Nt.Path,{d:"M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z"})});var Rt=r(F(),1),Zr=r(f(),1),Qe=(0,Zr.jsx)(Rt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Zr.jsx)(Rt.Path,{d:"M15.6 6.5l-1.1 1 2.9 3.3H8c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.3-.5h9.2L14.5 15l1.1 1.1 4.6-4.6-4.6-5z"})});var Pt=r(F(),1),Qr=r(f(),1),Xr=(0,Qr.jsx)(Pt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Qr.jsx)(Pt.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M9.706 8.646a.25.25 0 01-.188.137l-4.626.672a.25.25 0 00-.139.427l3.348 3.262a.25.25 0 01.072.222l-.79 4.607a.25.25 0 00.362.264l4.138-2.176a.25.25 0 01.233 0l4.137 2.175a.25.25 0 00.363-.263l-.79-4.607a.25.25 0 01.072-.222l3.347-3.262a.25.25 0 00-.139-.427l-4.626-.672a.25.25 0 01-.188-.137l-2.069-4.192a.25.25 0 00-.448 0L9.706 8.646zM12 7.39l-.948 1.921a1.75 1.75 0 01-1.317.957l-2.12.308 1.534 1.495c.412.402.6.982.503 1.55l-.362 2.11 1.896-.997a1.75 1.75 0 011.629 0l1.895.997-.362-2.11a1.75 1.75 0 01.504-1.55l1.533-1.495-2.12-.308a1.75 1.75 0 01-1.317-.957L12 7.39z"})});var Dt=r(F(),1),Jr=r(f(),1),eo=(0,Jr.jsx)(Dt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Jr.jsx)(Dt.Path,{d:"M11.776 4.454a.25.25 0 01.448 0l2.069 4.192a.25.25 0 00.188.137l4.626.672a.25.25 0 01.139.426l-3.348 3.263a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.362.263l-4.138-2.175a.25.25 0 00-.232 0l-4.138 2.175a.25.25 0 01-.363-.263l.79-4.607a.25.25 0 00-.071-.222L4.754 9.881a.25.25 0 01.139-.426l4.626-.672a.25.25 0 00.188-.137l2.069-4.192z"})});var Mt=r(F(),1),to=r(f(),1),Xe=(0,to.jsx)(Mt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,to.jsx)(Mt.Path,{d:"M18.3 11.7c-.6-.6-1.4-.9-2.3-.9H6.7l2.9-3.3-1.1-1-4.5 5L8.5 16l1-1-2.7-2.7H16c.5 0 .9.2 1.3.5 1 1 1 3.4 1 4.5v.3h1.5v-.2c0-1.5 0-4.3-1.5-5.7z"})});var se=r(y(),1),ao=r(aa(),1),ya=r(J(),1),ve=r(z(),1),Sa=r(Ot(),1);var fa=r(k(),1),Gt=r(w(),1),ca=r(Ot(),1);var jt=r(w(),1);var ro={};we(ro,{closeModal:()=>Od,disableComplementaryArea:()=>Ld,enableComplementaryArea:()=>Wd,openModal:()=>Md,pinItem:()=>Bd,setDefaultComplementaryArea:()=>Td,setFeatureDefaults:()=>Dd,setFeatureValue:()=>Pd,toggleFeature:()=>Rd,unpinItem:()=>Nd});var Ft=r($e(),1),U=r(J(),1);var Vt=r($e(),1);function ie(e){return["core/edit-post","core/edit-site"].includes(e)?((0,Vt.default)(`${e} interface scope`,{alternative:"core interface scope",hint:"core/edit-post and core/edit-site are merging.",version:"6.6"}),"core"):e}function Le(e,t){return e==="core"&&t==="edit-site/template"?((0,Vt.default)("edit-site/template sidebar",{alternative:"edit-post/document",version:"6.6"}),"edit-post/document"):e==="core"&&t==="edit-site/block-inspector"?((0,Vt.default)("edit-site/block-inspector sidebar",{alternative:"edit-post/block",version:"6.6"}),"edit-post/block"):t}var Td=(e,t)=>(e=ie(e),t=Le(e,t),{type:"SET_DEFAULT_COMPLEMENTARY_AREA",scope:e,area:t}),Wd=(e,t)=>({registry:o,dispatch:a})=>{if(!t)return;e=ie(e),t=Le(e,t),o.select(U.store).get(e,"isComplementaryAreaVisible")||o.dispatch(U.store).set(e,"isComplementaryAreaVisible",!0),a({type:"ENABLE_COMPLEMENTARY_AREA",scope:e,area:t})},Ld=e=>({registry:t})=>{e=ie(e),t.select(U.store).get(e,"isComplementaryAreaVisible")&&t.dispatch(U.store).set(e,"isComplementaryAreaVisible",!1)},Bd=(e,t)=>({registry:o})=>{if(!t)return;e=ie(e),t=Le(e,t);let a=o.select(U.store).get(e,"pinnedItems");a?.[t]!==!0&&o.dispatch(U.store).set(e,"pinnedItems",{...a,[t]:!0})},Nd=(e,t)=>({registry:o})=>{if(!t)return;e=ie(e),t=Le(e,t);let a=o.select(U.store).get(e,"pinnedItems");o.dispatch(U.store).set(e,"pinnedItems",{...a,[t]:!1})};function Rd(e,t){return function({registry:o}){(0,Ft.default)("dispatch( 'core/interface' ).toggleFeature",{since:"6.0",alternative:"dispatch( 'core/preferences' ).toggle"}),o.dispatch(U.store).toggle(e,t)}}function Pd(e,t,o){return function({registry:a}){(0,Ft.default)("dispatch( 'core/interface' ).setFeatureValue",{since:"6.0",alternative:"dispatch( 'core/preferences' ).set"}),a.dispatch(U.store).set(e,t,!!o)}}function Dd(e,t){return function({registry:o}){(0,Ft.default)("dispatch( 'core/interface' ).setFeatureDefaults",{since:"6.0",alternative:"dispatch( 'core/preferences' ).setDefaults"}),o.dispatch(U.store).setDefaults(e,t)}}function Md(e){return{type:"OPEN_MODAL",name:e}}function Od(){return{type:"CLOSE_MODAL"}}var oo={};we(oo,{getActiveComplementaryArea:()=>Vd,isComplementaryAreaLoading:()=>Fd,isFeatureActive:()=>Gd,isItemPinned:()=>jd,isModalActive:()=>zd});var Je=r(w(),1),da=r($e(),1),et=r(J(),1);var Vd=(0,Je.createRegistrySelector)(e=>(t,o)=>{o=ie(o);let a=e(et.store).get(o,"isComplementaryAreaVisible");if(a!==void 0)return a===!1?null:t?.complementaryAreas?.[o]}),Fd=(0,Je.createRegistrySelector)(e=>(t,o)=>{o=ie(o);let a=e(et.store).get(o,"isComplementaryAreaVisible"),i=t?.complementaryAreas?.[o];return a&&i===void 0}),jd=(0,Je.createRegistrySelector)(e=>(t,o,a)=>(o=ie(o),a=Le(o,a),e(et.store).get(o,"pinnedItems")?.[a]??!0)),Gd=(0,Je.createRegistrySelector)(e=>(t,o,a)=>((0,da.default)("select( 'core/interface' ).isFeatureActive( scope, featureName )",{since:"6.0",alternative:"select( 'core/preferences' ).get( scope, featureName )"}),!!e(et.store).get(o,a)));function zd(e,t){return e.activeModal===t}var la=r(w(),1);function Hd(e={},t){switch(t.type){case"SET_DEFAULT_COMPLEMENTARY_AREA":{let{scope:o,area:a}=t;return e[o]?e:{...e,[o]:a}}case"ENABLE_COMPLEMENTARY_AREA":{let{scope:o,area:a}=t;return{...e,[o]:a}}}return e}function Ud(e=null,t){switch(t.type){case"OPEN_MODAL":return t.name;case"CLOSE_MODAL":return null}return e}var na=(0,la.combineReducers)({complementaryAreas:Hd,activeModal:Ud});var ma="core/interface";var B=(0,jt.createReduxStore)(ma,{reducer:na,actions:ro,selectors:oo});(0,jt.register)(B);var ua=r(f(),1);function Kd(e){return["checkbox","option","radio","switch","menuitemcheckbox","menuitemradio","treeitem"].includes(e)}function je({as:e=fa.Button,scope:t,identifier:o,icon:a,selectedIcon:i,name:s,shortcut:l,...d}){let n=e,m=(0,ca.usePluginContext)(),b=a||m.icon,p=o||`${m.name}/${s}`,h=(0,Gt.useSelect)(M=>M(B).getActiveComplementaryArea(t)===p,[p,t]),{enableComplementaryArea:E,disableComplementaryArea:D}=(0,Gt.useDispatch)(B);return(0,ua.jsx)(n,{icon:i&&h?i:b,"aria-controls":p.replace("/",":"),"aria-checked":Kd(d.role)?h:void 0,onClick:()=>{h?D(t):E(t,p)},shortcut:l,...d})}var zt=r(f(),1),Yd=({children:e,className:t,toggleButtonProps:o})=>{let a=(0,zt.jsx)(je,{icon:Ze,...o});return(0,zt.jsxs)("div",{className:V("components-panel__header","interface-complementary-area-header",t),tabIndex:-1,children:[e,a]})},pa=Yd;var ba=r(k(),1);var be=r(k(),1),Ht=r(y(),1),tt=r(f(),1),ga=()=>{};function $d({name:e,as:t=be.MenuGroup,fillProps:o={},bubblesVirtually:a,...i}){return(0,tt.jsx)(be.Slot,{name:e,bubblesVirtually:a,fillProps:o,children:s=>{if(!Ht.Children.toArray(s).length)return null;let l=[];Ht.Children.forEach(s,({props:{__unstableExplicitMenuItem:n,__unstableTarget:m}})=>{m&&n&&l.push(m)});let d=Ht.Children.map(s,n=>!n.props.__unstableExplicitMenuItem&&l.includes(n.props.__unstableTarget)?null:n);return(0,tt.jsx)(t,{...i,children:d})}})}function ha({name:e,as:t=be.Button,onClick:o,...a}){return(0,tt.jsx)(be.Fill,{name:e,children:({onClick:i})=>(0,tt.jsx)(t,{onClick:o||i?(...s)=>{(o||ga)(...s),(i||ga)(...s)}:void 0,...a})})}ha.Slot=$d;var wa=ha;var Ut=r(f(),1),qd=({__unstableExplicitMenuItem:e,__unstableTarget:t,...o})=>(0,Ut.jsx)(ba.MenuItem,{...o});function va({scope:e,target:t,__unstableExplicitMenuItem:o,...a}){return(0,Ut.jsx)(je,{as:i=>(0,Ut.jsx)(wa,{__unstableExplicitMenuItem:o,__unstableTarget:`${e}/${t}`,as:qd,name:`${e}/plugin-more-menu`,...i}),role:"menuitemcheckbox",selectedIcon:qe,name:t,scope:e,...a})}var Yt=r(k(),1),Kt=r(f(),1);function _a({scope:e,...t}){return(0,Kt.jsx)(Yt.Fill,{name:`PinnedItems/${e}`,...t})}function Zd({scope:e,className:t,...o}){return(0,Kt.jsx)(Yt.Slot,{name:`PinnedItems/${e}`,...o,children:a=>a?.length>0&&(0,Kt.jsx)("div",{className:V(t,"interface-pinned-items"),children:a})})}_a.Slot=Zd;var rt=_a;var C=r(f(),1),Qd=.3;function Xd({scope:e,...t}){return(0,C.jsx)(K.Slot,{name:`ComplementaryArea/${e}`,...t})}var ka=280,Jd={open:{width:ka},closed:{width:0},mobileOpen:{width:"100vw"}};function el({activeArea:e,isActive:t,scope:o,children:a,className:i,id:s}){let l=(0,ve.useReducedMotion)(),d=(0,ve.useViewportMatch)("medium","<"),n=(0,ve.usePrevious)(e),m=(0,ve.usePrevious)(t),[,b]=(0,se.useState)({});(0,se.useEffect)(()=>{b({})},[t]);let p={type:"tween",duration:l||d||n&&e&&e!==n?0:Qd,ease:[.6,0,.4,1]};return(0,C.jsx)(K.Fill,{name:`ComplementaryArea/${o}`,children:(0,C.jsx)(K.__unstableAnimatePresence,{initial:!1,children:(m||t)&&(0,C.jsx)(K.__unstableMotion.div,{variants:Jd,initial:"closed",animate:d?"mobileOpen":"open",exit:"closed",transition:p,className:"interface-complementary-area__fill",children:(0,C.jsx)("div",{id:s,className:i,style:{width:d?"100vw":ka},children:a})})})})}function tl(e,t,o,a,i){let s=(0,se.useRef)(!1),l=(0,se.useRef)(!1),{enableComplementaryArea:d,disableComplementaryArea:n}=(0,ot.useDispatch)(B);(0,se.useEffect)(()=>{a&&i&&!s.current?(n(e),l.current=!0):l.current&&!i&&s.current?(l.current=!1,d(e,t)):l.current&&o&&o!==t&&(l.current=!1),i!==s.current&&(s.current=i)},[a,i,e,t,o,n,d])}function Aa({children:e,className:t,closeLabel:o=(0,$t.__)("Close plugin"),identifier:a,header:i,headerClassName:s,icon:l,isPinnable:d=!0,panelClassName:n,scope:m,name:b,title:p,toggleShortcut:h,isActiveByDefault:E}){let D=(0,Sa.usePluginContext)(),M=l||D.icon,u=a||`${D.name}/${b}`,[v,O]=(0,se.useState)(!1),{isLoading:H,isActive:X,isPinned:ce,activeArea:We,isSmall:vt,isLarge:ld,showIconLabels:_t}=(0,ot.useSelect)(yt=>{let{getActiveComplementaryArea:cd,isComplementaryAreaLoading:ud,isItemPinned:pd}=yt(B),{get:gd}=yt(ya.store),Mo=cd(m);return{isLoading:ud(m),isActive:Mo===u,isPinned:pd(m,u),activeArea:Mo,isSmall:yt(ao.store).isViewportMatch("< medium"),isLarge:yt(ao.store).isViewportMatch("large"),showIconLabels:gd("core","showIconLabels")}},[u,m]),nd=(0,ve.useViewportMatch)("medium","<");tl(m,u,We,X,vt);let{enableComplementaryArea:Do,disableComplementaryArea:Br,pinItem:md,unpinItem:fd}=(0,ot.useDispatch)(B);if((0,se.useEffect)(()=>{E&&We===void 0&&!vt?Do(m,u):We===void 0&&vt&&Br(m,u),O(!0)},[We,E,m,u,vt,Do,Br]),!!v)return(0,C.jsxs)(C.Fragment,{children:[d&&(0,C.jsx)(rt,{scope:m,children:ce&&(0,C.jsx)(je,{scope:m,identifier:u,isPressed:X&&(!_t||ld),"aria-expanded":X,"aria-disabled":H,label:p,icon:_t?qe:M,showTooltip:!_t,variant:_t?"tertiary":void 0,size:"compact",shortcut:h})}),b&&d&&(0,C.jsx)(va,{target:b,scope:m,icon:M,identifier:u,children:p}),(0,C.jsxs)(el,{activeArea:We,isActive:X,className:V("interface-complementary-area",t),scope:m,id:u.replace("/",":"),children:[(0,C.jsx)(pa,{className:s,closeLabel:o,onClose:()=>Br(m),toggleButtonProps:{label:o,size:"compact",shortcut:h,scope:m,identifier:u},children:i||(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("h2",{className:"interface-complementary-area-header__title",children:p}),d&&!nd&&(0,C.jsx)(K.Button,{className:"interface-complementary-area__pin-unpin-item",icon:ce?eo:Xr,label:ce?(0,$t.__)("Unpin from toolbar"):(0,$t.__)("Pin to toolbar"),onClick:()=>(ce?fd:md)(m,u),isPressed:ce,"aria-expanded":ce,size:"compact"})]})}),(0,C.jsx)(K.Panel,{className:n,children:e})]})]})}Aa.Slot=Xd;var at=Aa;var xa=r(y(),1),Ia=r(f(),1),Ea=(0,xa.forwardRef)(({children:e,className:t,ariaLabel:o,as:a="div",...i},s)=>(0,Ia.jsx)(a,{ref:s,className:V("admin-ui-navigable-region",t),"aria-label":o,role:"region",tabIndex:"-1",...i,children:e}));Ea.displayName="NavigableRegion";var _e=Ea;var qt=r(y(),1),Be=r(k(),1),ye=r(A(),1),Ge=r(z(),1),P=r(f(),1),La=.25,Wa={type:"tween",duration:La,ease:[.6,0,.4,1]};function rl(e){(0,qt.useEffect)(()=>{let t=document&&document.querySelector(`html:not(.${e})`);if(t)return t.classList.toggle(e),()=>{t.classList.toggle(e)}},[e])}var ol={hidden:{opacity:1,marginTop:-60},visible:{opacity:1,marginTop:0},distractionFreeHover:{opacity:1,marginTop:0,transition:{...Wa,delay:.2,delayChildren:.2}},distractionFreeHidden:{opacity:0,marginTop:-60},distractionFreeDisabled:{opacity:0,marginTop:0,transition:{...Wa,delay:.8,delayChildren:.8}}};function al({isDistractionFree:e,footer:t,header:o,editorNotices:a,sidebar:i,secondarySidebar:s,content:l,actions:d,labels:n,className:m},b){let[p,h]=(0,Ge.useResizeObserver)(),E=(0,Ge.useViewportMatch)("medium","<"),M={type:"tween",duration:(0,Ge.useReducedMotion)()?0:La,ease:[.6,0,.4,1]};rl("interface-interface-skeleton__html-container");let v={...{header:(0,ye._x)("Header","header landmark area"),body:(0,ye.__)("Content"),secondarySidebar:(0,ye.__)("Block Library"),sidebar:(0,ye._x)("Settings","settings landmark area"),actions:(0,ye.__)("Publish"),footer:(0,ye.__)("Footer")},...n};return(0,P.jsxs)("div",{ref:b,className:V(m,"interface-interface-skeleton",!!t&&"has-footer"),children:[(0,P.jsxs)("div",{className:"interface-interface-skeleton__editor",children:[(0,P.jsx)(Be.__unstableAnimatePresence,{initial:!1,children:!!o&&(0,P.jsx)(_e,{as:Be.__unstableMotion.div,className:"interface-interface-skeleton__header","aria-label":v.header,initial:e&&!E?"distractionFreeHidden":"hidden",whileHover:e&&!E?"distractionFreeHover":"visible",animate:e&&!E?"distractionFreeDisabled":"visible",exit:e&&!E?"distractionFreeHidden":"hidden",variants:ol,transition:M,children:o})}),e&&(0,P.jsx)("div",{className:"interface-interface-skeleton__header",children:a}),(0,P.jsxs)("div",{className:"interface-interface-skeleton__body",children:[(0,P.jsx)(Be.__unstableAnimatePresence,{initial:!1,children:!!s&&(0,P.jsx)(_e,{className:"interface-interface-skeleton__secondary-sidebar",ariaLabel:v.secondarySidebar,as:Be.__unstableMotion.div,initial:"closed",animate:"open",exit:"closed",variants:{open:{width:h.width},closed:{width:0}},transition:M,children:(0,P.jsxs)(Be.__unstableMotion.div,{style:{position:"absolute",width:E?"100vw":"fit-content",height:"100%",left:0},variants:{open:{x:0},closed:{x:"-100%"}},transition:M,children:[p,s]})})}),(0,P.jsx)(_e,{className:"interface-interface-skeleton__content",ariaLabel:v.body,children:l}),!!i&&(0,P.jsx)(_e,{className:"interface-interface-skeleton__sidebar",ariaLabel:v.sidebar,children:i}),!!d&&(0,P.jsx)(_e,{className:"interface-interface-skeleton__actions",ariaLabel:v.actions,children:d})]})]}),!!t&&(0,P.jsx)(_e,{className:"interface-interface-skeleton__footer",ariaLabel:v.footer,children:t})]})}var io=(0,qt.forwardRef)(al);var Da=r(Fe(),1),te=r(G(),1),st=r(L(),1);var Ne=r(kt(),1),Zt=r(Fe(),1);function Na(e){if(e.id_base==="block"){let o=(0,Ne.parse)(e.instance.raw.content,{__unstableSkipAutop:!0});return o.length?(0,Zt.addWidgetIdToBlock)(o[0],e.id):(0,Zt.addWidgetIdToBlock)((0,Ne.createBlock)("core/paragraph",{},[]),e.id)}let t;return e._embedded.about[0].is_multi?t={idBase:e.id_base,instance:e.instance}:t={id:e.id},(0,Zt.addWidgetIdToBlock)((0,Ne.createBlock)("core/legacy-widget",t,[]),e.id)}function Ra(e,t={}){let o;return e.name==="core/legacy-widget"&&(e.attributes.id||e.attributes.instance)?o={...t,id:e.attributes.id??t.id,id_base:e.attributes.idBase??t.id_base,instance:e.attributes.instance??t.instance}:o={...t,id_base:"block",instance:{raw:{content:(0,Ne.serialize)(e)}}},delete o.rendered,delete o.rendered_form,o}var x="root",de="sidebar",j="postType",ue=e=>`widget-area-${e}`,Se=()=>"widget-areas";function ze(){return{per_page:-1}}function it(){return{per_page:-1,_embed:"about"}}var Pa=(e,t)=>({id:e,slug:e,status:"draft",type:"page",blocks:t,meta:{widgetAreaId:e}});var ee="core/edit-widgets";var dt=(e,t)=>({registry:o})=>{let a=Pa(e,t);return o.dispatch(te.store).receiveEntityRecords(x,j,a,{id:a.id},!1),a},il=()=>async({select:e,dispatch:t,registry:o})=>{let a=e.getEditedWidgetAreas();if(a?.length)try{await t.saveWidgetAreas(a),o.dispatch(so.store).createSuccessNotice((0,Re.__)("Widgets saved."),{type:"snackbar"})}catch(i){o.dispatch(so.store).createErrorNotice((0,Re.sprintf)((0,Re.__)("There was an error. %s"),i.message),{type:"snackbar"})}},sl=e=>async({dispatch:t,registry:o})=>{try{for(let a of e)await t.saveWidgetArea(a.id)}finally{await o.dispatch(te.store).finishResolution("getEntityRecord",x,de,ze())}},dl=e=>async({dispatch:t,select:o,registry:a})=>{let i=o.getWidgets(),s=a.select(te.store).getEditedEntityRecord(x,j,ue(e)),l=Object.values(i).filter(({sidebar:u})=>u===e),d=[],n=s.blocks.filter(u=>{let{id:v}=u.attributes;if(u.name==="core/legacy-widget"&&v){if(d.includes(v))return!1;d.push(v)}return!0}),m=[];for(let u of l)o.getWidgetAreaForWidgetId(u.id)||m.push(u);let b=[],p=[],h=[];for(let u=0;u<n.length;u++){let v=n[u],O=(0,Da.getWidgetIdFromBlock)(v),H=i[O],X=Ra(v,H);if(h.push(O),H){if(a.dispatch(te.store).editEntityRecord("root","widget",O,{...X,sidebar:e},{undoIgnore:!0}),!a.select(te.store).hasEditsForEntityRecord("root","widget",O))continue;p.push(({saveEditedEntityRecord:We})=>We("root","widget",O))}else p.push(({saveEntityRecord:ce})=>ce("root","widget",{...X,sidebar:e}));b.push({block:v,position:u,clientId:v.clientId})}for(let u of m)p.push(({deleteEntityRecord:v})=>v("root","widget",u.id,{force:!0}));let D=(await a.dispatch(te.store).__experimentalBatch(p)).filter(u=>!u.hasOwnProperty("deleted")),M=[];for(let u=0;u<D.length;u++){let v=D[u],{block:O,position:H}=b[u];s.blocks[H].attributes.__internalWidgetId=v.id,a.select(te.store).getLastEntitySaveError("root","widget",v.id)&&M.push(O.attributes?.name||O?.name),h[H]||(h[H]=v.id)}if(M.length)throw new Error((0,Re.sprintf)((0,Re.__)("Could not save the following widgets: %s."),M.join(", ")));a.dispatch(te.store).editEntityRecord(x,de,e,{widgets:h},{undoIgnore:!0}),t(ll(e)),a.dispatch(te.store).receiveEntityRecords(x,j,s,void 0)},ll=e=>({registry:t})=>{t.dispatch(te.store).saveEditedEntityRecord(x,de,e,{throwOnError:!0})};function nl(e,t){return{type:"SET_WIDGET_ID_FOR_CLIENT_ID",clientId:e,widgetId:t}}function lo(e){return{type:"SET_WIDGET_AREAS_OPEN_STATE",widgetAreasOpenState:e}}function ml(e,t){return{type:"SET_IS_WIDGET_AREA_OPEN",clientId:e,isOpen:t}}function fl(e){return{type:"SET_IS_INSERTER_OPENED",value:e}}function cl(e){return{type:"SET_IS_LIST_VIEW_OPENED",isOpen:e}}var ul=()=>({registry:e})=>{e.dispatch(B).disableComplementaryArea(ee)},pl=(e,t)=>async({dispatch:o,select:a,registry:i})=>{let s=i.select(st.store).getBlockRootClientId(e),n=i.select(st.store).getBlocks().find(({attributes:h})=>h.id===t).clientId,b=i.select(st.store).getBlockOrder(n).length;a.getIsWidgetAreaOpen(n)||o.setIsWidgetAreaOpen(n,!0),i.dispatch(st.store).moveBlocksToPosition([e],s,n,b)};function gl(e){return{type:"UNLOCK_WIDGET_SAVING",lockName:e}}function hl(e){return{type:"LOCK_WIDGET_SAVING",lockName:e}}var wl=()=>async({dispatch:e,registry:t})=>{let o=ze(),a=await t.resolveSelect(mo.store).getEntityRecords(x,de,o),i=[],s=a.sort((d,n)=>d.id==="wp_inactive_widgets"?1:n.id==="wp_inactive_widgets"?-1:0);for(let d of s)i.push((0,Ma.createBlock)("core/widget-area",{id:d.id,name:d.name})),d.widgets.length||e(dt(ue(d.id),[]));let l={};i.forEach((d,n)=>{l[d.clientId]=n===0}),e(lo(l)),e(dt(Se(),i))},bl=()=>async({dispatch:e,registry:t})=>{let o=it(),a=await t.resolveSelect(mo.store).getEntityRecords("root","widget",o),i={};for(let s of a){let l=Na(s);i[s.sidebar]=i[s.sidebar]||[],i[s.sidebar].push(l)}for(let s in i)i.hasOwnProperty(s)&&e(dt(ue(s),i[s]))};var co={};we(co,{__experimentalGetInsertionPoint:()=>Wl,canInsertBlockInWidgetArea:()=>Ll,getEditedWidgetAreas:()=>xl,getIsWidgetAreaOpen:()=>Cl,getParentWidgetAreaBlock:()=>Al,getReferenceWidgetBlocks:()=>Il,getWidget:()=>yl,getWidgetAreaForWidgetId:()=>kl,getWidgetAreas:()=>Sl,getWidgets:()=>_l,isInserterOpened:()=>Tl,isListViewOpened:()=>Bl,isSavingWidgetAreas:()=>El,isWidgetSavingLocked:()=>Nl});var Y=r(w(),1),Oa=r(Fe(),1),le=r(G(),1),Qt=r(L(),1);var vl={rootClientId:void 0,insertionIndex:void 0},_l=(0,Y.createRegistrySelector)(e=>(0,Y.createSelector)(()=>e(le.store).getEntityRecords("root","widget",it())?.reduce((o,a)=>({...o,[a.id]:a}),{})??{},()=>[e(le.store).getEntityRecords("root","widget",it())])),yl=(0,Y.createRegistrySelector)(e=>(t,o)=>e(ee).getWidgets()[o]),Sl=(0,Y.createRegistrySelector)(e=>()=>{let t=ze();return e(le.store).getEntityRecords(x,de,t)}),kl=(0,Y.createRegistrySelector)(e=>(t,o)=>e(ee).getWidgetAreas().find(i=>e(le.store).getEditedEntityRecord(x,j,ue(i.id)).blocks.map(d=>(0,Oa.getWidgetIdFromBlock)(d)).includes(o))),Al=(0,Y.createRegistrySelector)(e=>(t,o)=>{let{getBlock:a,getBlockName:i,getBlockParents:s}=e(Qt.store),d=s(o).find(n=>i(n)==="core/widget-area");return a(d)}),xl=(0,Y.createRegistrySelector)(e=>(t,o)=>{let a=e(ee).getWidgetAreas();return a?(o&&(a=a.filter(({id:i})=>o.includes(i))),a.filter(({id:i})=>e(le.store).hasEditsForEntityRecord(x,j,ue(i))).map(({id:i})=>e(le.store).getEditedEntityRecord(x,de,i))):[]}),Il=(0,Y.createRegistrySelector)(e=>(t,o=null)=>{let a=[],i=e(ee).getWidgetAreas();for(let s of i){let l=e(le.store).getEditedEntityRecord(x,j,ue(s.id));for(let d of l.blocks)d.name==="core/legacy-widget"&&(!o||d.attributes?.referenceWidgetName===o)&&a.push(d)}return a}),El=(0,Y.createRegistrySelector)(e=>()=>{let t=e(ee).getWidgetAreas()?.map(({id:a})=>a);if(!t)return!1;for(let a of t)if(e(le.store).isSavingEntityRecord(x,de,a))return!0;let o=[...Object.keys(e(ee).getWidgets()),void 0];for(let a of o)if(e(le.store).isSavingEntityRecord("root","widget",a))return!0;return!1}),Cl=(e,t)=>{let{widgetAreasOpenState:o}=e;return!!o[t]};function Tl(e){return!!e.blockInserterPanel}function Wl(e){return typeof e.blockInserterPanel=="boolean"?vl:e.blockInserterPanel}var Ll=(0,Y.createRegistrySelector)(e=>(t,o)=>{let a=e(Qt.store).getBlocks(),[i]=a;return e(Qt.store).canInsertBlockType(o,i.clientId)});function Bl(e){return e.listViewPanel}function Nl(e){return Object.keys(e.widgetSavingLock).length>0}var uo={};we(uo,{getInserterSidebarToggleRef:()=>Pl,getListViewToggleRef:()=>Rl});function Rl(e){return e.listViewToggleRef}function Pl(e){return e.inserterSidebarToggleRef}var Va=r(Ta(),1),{lock:bf,unlock:$}=(0,Va.__dangerousOptInToUnstableAPIsOnlyForCoreModules)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/edit-widgets");var Dl={reducer:Zo,selectors:co,resolvers:fo,actions:no},c=(0,Xt.createReduxStore)(ee,Dl);(0,Xt.register)(c);Fa.default.use(function(e,t){return e.path?.indexOf("/wp/v2/types/widget-area")===0?Promise.resolve({}):t(e)});$(c).registerPrivateSelectors(uo);var Ga=r(L(),1),za=r(z(),1),er=r(w(),1),Ha=r(Jt(),1),Ua=r(Fe(),1);var ke=r(f(),1),Ml=(0,za.createHigherOrderComponent)(e=>t=>{let{clientId:o,name:a}=t,{widgetAreas:i,currentWidgetAreaId:s,canInsertBlockInWidgetArea:l}=(0,er.useSelect)(b=>{if(a==="core/widget-area")return{};let p=b(c),h=p.getParentWidgetAreaBlock(o);return{widgetAreas:p.getWidgetAreas(),currentWidgetAreaId:h?.attributes?.id,canInsertBlockInWidgetArea:p.canInsertBlockInWidgetArea(a)}},[o,a]),{moveBlockToWidgetArea:d}=(0,er.useDispatch)(c),n=i?.length>1,m=a!=="core/widget-area"&&n&&l;return(0,ke.jsxs)(ke.Fragment,{children:[(0,ke.jsx)(e,{...t},"edit"),m&&(0,ke.jsx)(Ga.BlockControls,{children:(0,ke.jsx)(Ua.MoveToWidgetArea,{widgetAreas:i,currentWidgetAreaId:s,onSelect:b=>{d(t.clientId,b)}})})]})},"withMoveToWidgetAreaToolbarItem");(0,Ha.addFilter)("editor.BlockEdit","core/edit-widgets/block-edit",Ml);var Ya=r(Jt(),1),$a=r(po(),1),Ol=()=>$a.MediaUpload;(0,Ya.addFilter)("editor.MediaUpload","core/edit-widgets/replace-media-upload",Ol);var bo={};we(bo,{metadata:()=>go,name:()=>Gl,settings:()=>zl});var wo=r(A(),1);var go={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/widget-area",title:"Widget Area",category:"widgets",attributes:{id:{type:"string"},name:{type:"string"}},supports:{html:!1,inserter:!1,customClassName:!1,reusable:!1,renaming:!1,visibility:!1,__experimentalToolbar:!1,__experimentalParentSelector:!1,__experimentalDisableBlockOverlay:!0},editorStyle:"wp-block-widget-area-editor",style:"wp-block-widget-area"};var ne=r(y(),1),ar=r(w(),1),Xa=r(G(),1),He=r(k(),1),Ja=r(L(),1);var qa=r(G(),1),or=r(L(),1),Za=r(y(),1);var tr=r(y(),1),Fl=e=>{let[t,o]=(0,tr.useState)(!1);return(0,tr.useEffect)(()=>{let{ownerDocument:a}=e.current;function i(d){l(d)}function s(){o(!1)}function l(d){e.current.contains(d.target)?o(!0):o(!1)}return a.addEventListener("dragstart",i),a.addEventListener("dragend",s),a.addEventListener("dragenter",l),()=>{a.removeEventListener("dragstart",i),a.removeEventListener("dragend",s),a.removeEventListener("dragenter",l)}},[]),t},rr=Fl;var ho=r(f(),1);function Qa({id:e}){let[t,o,a]=(0,qa.useEntityBlockEditor)("root","postType"),i=(0,Za.useRef)(),l=rr(i),d=(0,or.useInnerBlocksProps)({ref:i},{value:t,onInput:o,onChange:a,templateLock:!1,renderAppender:or.InnerBlocks.ButtonBlockAppender});return(0,ho.jsx)("div",{"data-widget-area-id":e,className:V("wp-block-widget-area__inner-blocks block-editor-inner-blocks editor-styles-wrapper",{"wp-block-widget-area__highlight-drop-zone":l}),children:(0,ho.jsx)("div",{...d})})}var Pe=r(f(),1);function ei({clientId:e,attributes:{id:t,name:o}}){let a=(0,ar.useSelect)(h=>h(c).getIsWidgetAreaOpen(e),[e]),{setIsWidgetAreaOpen:i}=(0,ar.useDispatch)(c),s=(0,ne.useRef)(),l=(0,ne.useCallback)(h=>i(e,h),[e]),d=jl(s),n=rr(s),[m,b]=(0,ne.useState)(!1);(0,ne.useEffect)(()=>{if(!d){b(!1);return}n&&!a?(l(!0),b(!0)):!n&&a&&m&&l(!1)},[a,d,n,m]);let p=(0,Ja.useBlockProps)();return(0,Pe.jsx)("div",{...p,children:(0,Pe.jsx)(He.Panel,{ref:s,children:(0,Pe.jsx)(He.PanelBody,{title:o,opened:a,onToggle:()=>{i(e,!a)},scrollAfterOpen:!d,children:({opened:h})=>(0,Pe.jsx)(He.__unstableDisclosureContent,{className:"wp-block-widget-area__panel-body-content",visible:h,children:(0,Pe.jsx)(Xa.EntityProvider,{kind:"root",type:"postType",id:`widget-area-${t}`,children:(0,Pe.jsx)(Qa,{id:t})})})})})})}var jl=e=>{let[t,o]=(0,ne.useState)(!1);return(0,ne.useEffect)(()=>{let{ownerDocument:a}=e.current;function i(){o(!0)}function s(){o(!1)}return a.addEventListener("dragstart",i),a.addEventListener("dragend",s),()=>{a.removeEventListener("dragstart",i),a.removeEventListener("dragend",s)}},[]),t};var{name:Gl}=go,zl={title:(0,wo.__)("Widget Area"),description:(0,wo.__)("A widget area container."),__experimentalLabel:({name:e})=>e,edit:ei};var Tr=r(A(),1),Js=r(w(),1),ed=r(Ot(),1),td=r(At(),1),rd=r(k(),1);var ti=r(y(),1),vo=r(A(),1),ri=r(k(),1),oi=r(L(),1),ai=r(z(),1),ii=r(Jt(),1),lt=r(f(),1);function Hl({text:e,children:t}){let o=(0,ai.useCopyToClipboard)(e);return(0,lt.jsx)(ri.Button,{__next40pxDefaultSize:!0,variant:"secondary",ref:o,children:t})}function Ul({message:e,error:t}){let o=[(0,lt.jsx)(Hl,{text:t.stack,children:(0,vo.__)("Copy Error")},"copy-error")];return(0,lt.jsx)(oi.Warning,{className:"edit-widgets-error-boundary",actions:o,children:e})}var si=class extends ti.Component{constructor(){super(...arguments),this.state={error:null}}componentDidCatch(e){(0,ii.doAction)("editor.ErrorBoundary.errorLogged",e)}static getDerivedStateFromError(e){return{error:e}}render(){return this.state.error?(0,lt.jsx)(Ul,{message:(0,vo.__)("The editor has encountered an unexpected error."),error:this.state.error}):this.props.children}};var vi=r(k(),1),_i=r(z(),1),yi=r(po(),1),lr=r(w(),1),nr=r(G(),1),Si=r(y(),1),ki=r(L(),1),Ai=r(li(),1),_o=r(J(),1),xi=r(Nr(),1);var fi=r(y(),1),Ue=r(nt(),1),ci=r(De(),1),ir=r(w(),1),Me=r(A(),1),ui=r(G(),1);function pi(){let{redo:e,undo:t}=(0,ir.useDispatch)(ui.store),{saveEditedWidgetAreas:o}=(0,ir.useDispatch)(c);return(0,Ue.useShortcut)("core/edit-widgets/undo",a=>{t(),a.preventDefault()}),(0,Ue.useShortcut)("core/edit-widgets/redo",a=>{e(),a.preventDefault()}),(0,Ue.useShortcut)("core/edit-widgets/save",a=>{a.preventDefault(),o()}),null}function Kl(){let{registerShortcut:e}=(0,ir.useDispatch)(Ue.store);return(0,fi.useEffect)(()=>{e({name:"core/edit-widgets/undo",category:"global",description:(0,Me.__)("Undo your last changes."),keyCombination:{modifier:"primary",character:"z"}}),e({name:"core/edit-widgets/redo",category:"global",description:(0,Me.__)("Redo your last undo."),keyCombination:{modifier:"primaryShift",character:"z"},aliases:(0,ci.isAppleOS)()?[]:[{modifier:"primary",character:"y"}]}),e({name:"core/edit-widgets/save",category:"global",description:(0,Me.__)("Save your changes."),keyCombination:{modifier:"primary",character:"s"}}),e({name:"core/edit-widgets/keyboard-shortcuts",category:"main",description:(0,Me.__)("Display these keyboard shortcuts."),keyCombination:{modifier:"access",character:"h"}}),e({name:"core/edit-widgets/next-region",category:"global",description:(0,Me.__)("Navigate to the next part of the editor."),keyCombination:{modifier:"ctrl",character:"`"},aliases:[{modifier:"access",character:"n"}]}),e({name:"core/edit-widgets/previous-region",category:"global",description:(0,Me.__)("Navigate to the previous part of the editor."),keyCombination:{modifier:"ctrlShift",character:"`"},aliases:[{modifier:"access",character:"p"},{modifier:"ctrlShift",character:"~"}]})},[e]),null}pi.Register=Kl;var sr=pi;var gi=r(w(),1),hi=r(L(),1),wi=r(G(),1);var Yl=()=>(0,gi.useSelect)(e=>{let{getBlockSelectionEnd:t,getBlockName:o}=e(hi.store),a=t();if(o(a)==="core/widget-area")return a;let{getParentWidgetAreaBlock:i}=e(c),l=i(a)?.clientId;if(l)return l;let{getEntityRecord:d}=e(wi.store);return d(x,j,Se())?.blocks[0]?.clientId},[]),bi=Yl;var dr=!1;var Oe=r(f(),1),{ExperimentalBlockEditorProvider:$l}=$(ki.privateApis),{PatternsMenuItems:ql}=$(Ai.privateApis),{BlockKeyboardShortcuts:Zl}=$(xi.privateApis),Ql=[];function Ii({blockEditorSettings:e,children:t,...o}){let a=(0,_i.useViewportMatch)("medium"),{hasUploadPermissions:i,reusableBlocks:s,isFixedToolbarActive:l,keepCaretInsideBlock:d,pageOnFront:n,pageForPosts:m}=(0,lr.useSelect)(u=>{let{canUser:v,getEntityRecord:O,getEntityRecords:H}=u(nr.store),X=v("read",{kind:"root",name:"site"})?O("root","site"):void 0;return{hasUploadPermissions:v("create",{kind:"postType",name:"attachment"})??!0,reusableBlocks:dr?H("postType","wp_block"):Ql,isFixedToolbarActive:!!u(_o.store).get("core/edit-widgets","fixedToolbar"),keepCaretInsideBlock:!!u(_o.store).get("core/edit-widgets","keepCaretInsideBlock"),pageOnFront:X?.page_on_front,pageForPosts:X?.page_for_posts}},[]),{setIsInserterOpened:b}=(0,lr.useDispatch)(c),p=(0,Si.useMemo)(()=>{let u;return i&&(u=({onError:v,...O})=>{(0,yi.uploadMedia)({wpAllowedMimeTypes:e.allowedMimeTypes,onError:({message:H})=>v(H),...O})}),{...e,__experimentalReusableBlocks:s,hasFixedToolbar:l||!a,keepCaretInsideBlock:d,mediaUpload:u,templateLock:"all",__experimentalSetIsInserterOpened:b,pageOnFront:n,pageForPosts:m,editorTool:"edit"}},[i,e,l,a,d,s,b,n,m]),h=bi(),[E,D,M]=(0,nr.useEntityBlockEditor)(x,j,{id:Se()});return(0,Oe.jsxs)(vi.SlotFillProvider,{children:[(0,Oe.jsx)(sr.Register,{}),(0,Oe.jsx)(Zl,{}),(0,Oe.jsxs)($l,{value:E,onInput:D,onChange:M,settings:p,useSubRegistry:!1,...o,children:[t,(0,Oe.jsx)(ql,{rootClientId:h})]})]})}var xe=r(y(),1),Ae=r(A(),1);var mr=r(L(),1);var Oi=r(k(),1),ut=r(w(),1);var Li=r(w(),1),Bi=r(y(),1);var Ni=r(L(),1),Ri=r(k(),1),mt=r(A(),1),Pi=r(Ci(),1),Di=r(Wi(),1);var pe=r(f(),1);function Mi({selectedWidgetAreaId:e}){let t=(0,Li.useSelect)(i=>i(c).getWidgetAreas(),[]),o=(0,Bi.useMemo)(()=>e&&t?.find(i=>i.id===e),[e,t]),a;return o?e==="wp_inactive_widgets"?a=(0,mt.__)("Blocks in this Widget Area will not be displayed in your site."):a=o.description:a=(0,mt.__)("Widget Areas are global parts in your site\u2019s layout that can accept blocks. These vary by theme, but are typically parts like your Sidebar or Footer."),(0,pe.jsx)("div",{className:"edit-widgets-widget-areas",children:(0,pe.jsxs)("div",{className:"edit-widgets-widget-areas__top-container",children:[(0,pe.jsx)(Ni.BlockIcon,{icon:Pr}),(0,pe.jsxs)("div",{children:[(0,pe.jsx)("p",{dangerouslySetInnerHTML:{__html:(0,Di.safeHTML)(a)}}),t?.length===0&&(0,pe.jsx)("p",{children:(0,mt.__)("Your theme does not contain any Widget Areas.")}),!o&&(0,pe.jsx)(Ri.Button,{__next40pxDefaultSize:!0,href:(0,Pi.addQueryArgs)("customize.php",{"autofocus[panel]":"widgets",return:window.location.pathname}),variant:"tertiary",children:(0,mt.__)("Manage with live preview")})]})]})})}var R=r(f(),1),Xl=xe.Platform.select({web:!0,native:!1}),ft="edit-widgets/block-inspector",ct="edit-widgets/block-areas",{Tabs:ge}=$(Oi.privateApis);function Jl({selectedWidgetAreaBlock:e}){return(0,R.jsxs)(ge.TabList,{children:[(0,R.jsx)(ge.Tab,{tabId:ct,children:e?e.attributes.name:(0,Ae.__)("Widget Areas")}),(0,R.jsx)(ge.Tab,{tabId:ft,children:(0,Ae.__)("Block")})]})}function en({hasSelectedNonAreaBlock:e,currentArea:t,isGeneralSidebarOpen:o,selectedWidgetAreaBlock:a}){let{enableComplementaryArea:i}=(0,ut.useDispatch)(B);(0,xe.useEffect)(()=>{e&&t===ct&&o&&i("core/edit-widgets",ft),!e&&t===ft&&o&&i("core/edit-widgets",ct)},[e,i]);let s=(0,xe.useContext)(ge.Context);return(0,R.jsx)(at,{className:"edit-widgets-sidebar",header:(0,R.jsx)(ge.Context.Provider,{value:s,children:(0,R.jsx)(Jl,{selectedWidgetAreaBlock:a})}),headerClassName:"edit-widgets-sidebar__panel-tabs",title:(0,Ae.__)("Settings"),closeLabel:(0,Ae.__)("Close Settings"),scope:"core/edit-widgets",identifier:t,icon:(0,Ae.isRTL)()?Vr:jr,isActiveByDefault:Xl,children:(0,R.jsxs)(ge.Context.Provider,{value:s,children:[(0,R.jsx)(ge.TabPanel,{tabId:ct,focusable:!1,children:(0,R.jsx)(Mi,{selectedWidgetAreaId:a?.attributes.id})}),(0,R.jsx)(ge.TabPanel,{tabId:ft,focusable:!1,children:e?(0,R.jsx)(mr.BlockInspector,{}):(0,R.jsx)("span",{className:"block-editor-block-inspector__no-blocks",children:(0,Ae.__)("No block selected.")})})]})})}function Vi(){let{currentArea:e,hasSelectedNonAreaBlock:t,isGeneralSidebarOpen:o,selectedWidgetAreaBlock:a}=(0,ut.useSelect)(l=>{let{getSelectedBlock:d,getBlock:n,getBlockParentsByBlockName:m}=l(mr.store),{getActiveComplementaryArea:b}=l(B),p=d(),h=b(c.name),E=h;E||(p?E=ft:E=ct);let D;return p&&(p.name==="core/widget-area"?D=p:D=n(m(p.clientId,"core/widget-area")[0])),{currentArea:E,hasSelectedNonAreaBlock:!!(p&&p.name!=="core/widget-area"),isGeneralSidebarOpen:!!h,selectedWidgetAreaBlock:D}},[]),{enableComplementaryArea:i}=(0,ut.useDispatch)(B),s=(0,xe.useCallback)(l=>{l&&i(c.name,l)},[i]);return(0,R.jsx)(ge,{selectedTabId:o?e:null,onSelect:s,selectOnMove:!1,children:(0,R.jsx)(en,{hasSelectedNonAreaBlock:t,currentArea:e,isGeneralSidebarOpen:o,selectedWidgetAreaBlock:a})})}var Wo=r(z(),1),Us=r(L(),1),Lo=r(y(),1),Er=r(w(),1);var Ce=r(A(),1),Ks=r(J(),1);var _s=r(L(),1),ys=r(w(),1),Ss=r(y(),1),Io=r(A(),1),yr=r(k(),1);var ks=r(z(),1),As=r(J(),1);var gr=r(w(),1),gt=r(A(),1),Ie=r(k(),1),qi=r(L(),1);var ko=r(y(),1),Zi=r(z(),1);var fr=r(A(),1),Fi=r(k(),1),cr=r(w(),1);var ji=r(De(),1),yo=r(G(),1),Gi=r(y(),1),zi=r(f(),1);function tn(e,t){let o=(0,cr.useSelect)(i=>i(yo.store).hasUndo(),[]),{undo:a}=(0,cr.useDispatch)(yo.store);return(0,zi.jsx)(Fi.Button,{...e,ref:t,icon:(0,fr.isRTL)()?Qe:Xe,label:(0,fr.__)("Undo"),shortcut:ji.displayShortcut.primary("z"),"aria-disabled":!o,onClick:o?a:void 0,size:"compact"})}var Hi=(0,Gi.forwardRef)(tn);var ur=r(A(),1),Ui=r(k(),1),pr=r(w(),1);var pt=r(De(),1),So=r(G(),1),Ki=r(y(),1),Yi=r(f(),1);function rn(e,t){let o=(0,pt.isAppleOS)()?pt.displayShortcut.primaryShift("z"):pt.displayShortcut.primary("y"),a=(0,pr.useSelect)(s=>s(So.store).hasRedo(),[]),{redo:i}=(0,pr.useDispatch)(So.store);return(0,Yi.jsx)(Ui.Button,{...e,ref:t,icon:(0,ur.isRTL)()?Xe:Qe,label:(0,ur.__)("Redo"),shortcut:o,"aria-disabled":!a,onClick:a?i:void 0,size:"compact"})}var $i=(0,Ki.forwardRef)(rn);var me=r(f(),1);function on(){let e=(0,Zi.useViewportMatch)("medium"),{isInserterOpen:t,isListViewOpen:o,inserterSidebarToggleRef:a,listViewToggleRef:i}=(0,gr.useSelect)(m=>{let{isInserterOpened:b,getInserterSidebarToggleRef:p,isListViewOpened:h,getListViewToggleRef:E}=$(m(c));return{isInserterOpen:b(),isListViewOpen:h(),inserterSidebarToggleRef:p(),listViewToggleRef:E()}},[]),{setIsInserterOpened:s,setIsListViewOpened:l}=(0,gr.useDispatch)(c),d=(0,ko.useCallback)(()=>l(!o),[l,o]),n=(0,ko.useCallback)(()=>s(!t),[s,t]);return(0,me.jsxs)(qi.NavigableToolbar,{className:"edit-widgets-header-toolbar","aria-label":(0,gt.__)("Document tools"),variant:"unstyled",children:[(0,me.jsx)(Ie.ToolbarItem,{ref:a,as:Ie.Button,className:"edit-widgets-header-toolbar__inserter-toggle",variant:"primary",isPressed:t,onMouseDown:m=>{m.preventDefault()},onClick:n,icon:qr,label:(0,gt._x)("Block Inserter","Generic label for block inserter button"),size:"compact"}),e&&(0,me.jsxs)(me.Fragment,{children:[(0,me.jsx)(Ie.ToolbarItem,{as:Hi}),(0,me.jsx)(Ie.ToolbarItem,{as:$i}),(0,me.jsx)(Ie.ToolbarItem,{as:Ie.Button,className:"edit-widgets-header-toolbar__list-view-toggle",icon:Ur,isPressed:o,label:(0,gt.__)("List View"),onClick:d,ref:i,size:"compact"})]})]})}var Qi=on;var Xi=r(k(),1),Ao=r(A(),1),hr=r(w(),1);var Ji=r(f(),1);function an(){let{hasEditedWidgetAreaIds:e,isSaving:t,isWidgetSaveLocked:o}=(0,hr.useSelect)(s=>{let{getEditedWidgetAreas:l,isSavingWidgetAreas:d,isWidgetSavingLocked:n}=s(c);return{hasEditedWidgetAreaIds:l()?.length>0,isSaving:d(),isWidgetSaveLocked:n()}},[]),{saveEditedWidgetAreas:a}=(0,hr.useDispatch)(c),i=o||t||!e;return(0,Ji.jsx)(Xi.Button,{variant:"primary",isBusy:t,"aria-disabled":i,onClick:i?void 0:a,size:"compact",children:t?(0,Ao.__)("Saving\u2026"):(0,Ao.__)("Update")})}var es=an;var re=r(k(),1),gs=r(y(),1),S=r(A(),1);var Ke=r(J(),1),hs=r(De(),1),ws=r(nt(),1),bs=r(z(),1);var ls=r(k(),1),he=r(A(),1),_r=r(nt(),1),ns=r(w(),1);var q=r(A(),1),ts=[{keyCombination:{modifier:"primary",character:"b"},description:(0,q.__)("Make the selected text bold.")},{keyCombination:{modifier:"primary",character:"i"},description:(0,q.__)("Make the selected text italic.")},{keyCombination:{modifier:"primary",character:"k"},description:(0,q.__)("Convert the selected text into a link.")},{keyCombination:{modifier:"primaryShift",character:"k"},description:(0,q.__)("Remove a link.")},{keyCombination:{character:"[["},description:(0,q.__)("Insert a link to a post or page.")},{keyCombination:{modifier:"primary",character:"u"},description:(0,q.__)("Underline the selected text.")},{keyCombination:{modifier:"access",character:"d"},description:(0,q.__)("Strikethrough the selected text.")},{keyCombination:{modifier:"access",character:"x"},description:(0,q.__)("Make the selected text inline code.")},{keyCombination:{modifier:"access",character:"0"},aliases:[{modifier:"access",character:"7"}],description:(0,q.__)("Convert the current heading to a paragraph.")},{keyCombination:{modifier:"access",character:"1-6"},description:(0,q.__)("Convert the current paragraph or heading to a heading of level 1 to 6.")},{keyCombination:{modifier:"primaryShift",character:"SPACE"},description:(0,q.__)("Add non breaking space.")}];var os=r(y(),1),wr=r(De(),1),Z=r(f(),1);function rs({keyCombination:e,forceAriaLabel:t}){let o=e.modifier?wr.displayShortcutList[e.modifier](e.character):e.character,a=e.modifier?wr.shortcutAriaLabel[e.modifier](e.character):e.character,i=Array.isArray(o)?o:[o];return(0,Z.jsx)("kbd",{className:"edit-widgets-keyboard-shortcut-help-modal__shortcut-key-combination","aria-label":t||a,children:i.map((s,l)=>s==="+"?(0,Z.jsx)(os.Fragment,{children:s},l):(0,Z.jsx)("kbd",{className:"edit-widgets-keyboard-shortcut-help-modal__shortcut-key",children:s},l))})}function sn({description:e,keyCombination:t,aliases:o=[],ariaLabel:a}){return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)("div",{className:"edit-widgets-keyboard-shortcut-help-modal__shortcut-description",children:e}),(0,Z.jsxs)("div",{className:"edit-widgets-keyboard-shortcut-help-modal__shortcut-term",children:[(0,Z.jsx)(rs,{keyCombination:t,forceAriaLabel:a}),o.map((i,s)=>(0,Z.jsx)(rs,{keyCombination:i,forceAriaLabel:a},s))]})]})}var br=sn;var as=r(w(),1),is=r(nt(),1);var ss=r(f(),1);function dn({name:e}){let{keyCombination:t,description:o,aliases:a}=(0,as.useSelect)(i=>{let{getShortcutKeyCombination:s,getShortcutDescription:l,getShortcutAliases:d}=i(is.store);return{keyCombination:s(e),aliases:d(e),description:l(e)}},[e]);return t?(0,ss.jsx)(br,{keyCombination:t,description:o,aliases:a}):null}var ds=dn;var N=r(f(),1),ln=({shortcuts:e})=>(0,N.jsx)("ul",{className:"edit-widgets-keyboard-shortcut-help-modal__shortcut-list",role:"list",children:e.map((t,o)=>(0,N.jsx)("li",{className:"edit-widgets-keyboard-shortcut-help-modal__shortcut",children:typeof t=="string"?(0,N.jsx)(ds,{name:t}):(0,N.jsx)(br,{...t})},o))}),xo=({title:e,shortcuts:t,className:o})=>(0,N.jsxs)("section",{className:V("edit-widgets-keyboard-shortcut-help-modal__section",o),children:[!!e&&(0,N.jsx)("h2",{className:"edit-widgets-keyboard-shortcut-help-modal__section-title",children:e}),(0,N.jsx)(ln,{shortcuts:t})]}),vr=({title:e,categoryName:t,additionalShortcuts:o=[]})=>{let a=(0,ns.useSelect)(i=>i(_r.store).getCategoryShortcuts(t),[t]);return(0,N.jsx)(xo,{title:e,shortcuts:a.concat(o)})};function ms({isModalActive:e,toggleModal:t}){return(0,_r.useShortcut)("core/edit-widgets/keyboard-shortcuts",t,{bindGlobal:!0}),e?(0,N.jsxs)(ls.Modal,{className:"edit-widgets-keyboard-shortcut-help-modal",title:(0,he.__)("Keyboard shortcuts"),onRequestClose:t,children:[(0,N.jsx)(xo,{className:"edit-widgets-keyboard-shortcut-help-modal__main-shortcuts",shortcuts:["core/edit-widgets/keyboard-shortcuts"]}),(0,N.jsx)(vr,{title:(0,he.__)("Global shortcuts"),categoryName:"global"}),(0,N.jsx)(vr,{title:(0,he.__)("Selection shortcuts"),categoryName:"selection"}),(0,N.jsx)(vr,{title:(0,he.__)("Block shortcuts"),categoryName:"block",additionalShortcuts:[{keyCombination:{character:"/"},description:(0,he.__)("Change the block type after adding a new paragraph."),ariaLabel:(0,he.__)("Forward-slash")}]}),(0,N.jsx)(xo,{title:(0,he.__)("Text formatting"),shortcuts:ts}),(0,N.jsx)(vr,{title:(0,he.__)("List View shortcuts"),categoryName:"list-view"})]}):null}var fs=r(k(),1),cs=r(f(),1),{Fill:us,Slot:nn}=(0,fs.createSlotFill)("EditWidgetsToolsMoreMenuGroup");us.Slot=({fillProps:e})=>(0,cs.jsx)(nn,{fillProps:e,children:t=>t.length>0&&t});var ps=us;var I=r(f(),1);function vs(){let[e,t]=(0,gs.useState)(!1),o=()=>t(!e);(0,ws.useShortcut)("core/edit-widgets/keyboard-shortcuts",o);let a=(0,bs.useViewportMatch)("medium");return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(re.DropdownMenu,{icon:Yr,label:(0,S.__)("Options"),popoverProps:{placement:"bottom-end",className:"more-menu-dropdown__content"},toggleProps:{tooltipPosition:"bottom",size:"compact"},children:i=>(0,I.jsxs)(I.Fragment,{children:[a&&(0,I.jsx)(re.MenuGroup,{label:(0,S._x)("View","noun"),children:(0,I.jsx)(Ke.PreferenceToggleMenuItem,{scope:"core/edit-widgets",name:"fixedToolbar",label:(0,S.__)("Top toolbar"),info:(0,S.__)("Access all block and document tools in a single place"),messageActivated:(0,S.__)("Top toolbar activated"),messageDeactivated:(0,S.__)("Top toolbar deactivated")})}),(0,I.jsxs)(re.MenuGroup,{label:(0,S.__)("Tools"),children:[(0,I.jsx)(re.MenuItem,{onClick:()=>{t(!0)},shortcut:hs.displayShortcut.access("h"),children:(0,S.__)("Keyboard shortcuts")}),(0,I.jsx)(Ke.PreferenceToggleMenuItem,{scope:"core/edit-widgets",name:"welcomeGuide",label:(0,S.__)("Welcome Guide")}),(0,I.jsxs)(re.MenuItem,{role:"menuitem",icon:zr,href:(0,S.__)("https://wordpress.org/documentation/article/block-based-widgets-editor/"),target:"_blank",rel:"noopener noreferrer",children:[(0,S.__)("Help"),(0,I.jsx)(re.VisuallyHidden,{as:"span",children:(0,S.__)("(opens in a new tab)")})]}),(0,I.jsx)(ps.Slot,{fillProps:{onClose:i}})]}),(0,I.jsxs)(re.MenuGroup,{label:(0,S.__)("Preferences"),children:[(0,I.jsx)(Ke.PreferenceToggleMenuItem,{scope:"core/edit-widgets",name:"keepCaretInsideBlock",label:(0,S.__)("Contain text cursor inside block"),info:(0,S.__)("Aids screen readers by stopping text caret from leaving blocks."),messageActivated:(0,S.__)("Contain text cursor inside block activated"),messageDeactivated:(0,S.__)("Contain text cursor inside block deactivated")}),(0,I.jsx)(Ke.PreferenceToggleMenuItem,{scope:"core/edit-widgets",name:"themeStyles",info:(0,S.__)("Make the editor look like your theme."),label:(0,S.__)("Use theme styles")}),a&&(0,I.jsx)(Ke.PreferenceToggleMenuItem,{scope:"core/edit-widgets",name:"showBlockBreadcrumbs",label:(0,S.__)("Display block breadcrumbs"),info:(0,S.__)("Shows block breadcrumbs at the bottom of the editor."),messageActivated:(0,S.__)("Display block breadcrumbs activated"),messageDeactivated:(0,S.__)("Display block breadcrumbs deactivated")})]})]})}),(0,I.jsx)(ms,{isModalActive:e,toggleModal:o})]})}var W=r(f(),1);function mn(){let e=(0,ks.useViewportMatch)("medium"),t=(0,Ss.useRef)(),{hasFixedToolbar:o}=(0,ys.useSelect)(a=>({hasFixedToolbar:!!a(As.store).get("core/edit-widgets","fixedToolbar")}),[]);return(0,W.jsx)(W.Fragment,{children:(0,W.jsxs)("div",{className:"edit-widgets-header",children:[(0,W.jsxs)("div",{className:"edit-widgets-header__navigable-toolbar-wrapper",children:[e&&(0,W.jsx)("h1",{className:"edit-widgets-header__title",children:(0,Io.__)("Widgets")}),!e&&(0,W.jsx)(yr.VisuallyHidden,{as:"h1",className:"edit-widgets-header__title",children:(0,Io.__)("Widgets")}),(0,W.jsx)(Qi,{}),o&&e&&(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)("div",{className:"selected-block-tools-wrapper",children:(0,W.jsx)(_s.BlockToolbar,{hideDragHandle:!0})}),(0,W.jsx)(yr.Popover.Slot,{ref:t,name:"block-toolbar"})]})]}),(0,W.jsxs)("div",{className:"edit-widgets-header__actions",children:[(0,W.jsx)(rt.Slot,{scope:"core/edit-widgets"}),(0,W.jsx)(es,{}),(0,W.jsx)(vs,{})]})]})})}var xs=mn;var Q=r(L(),1),Es=r(z(),1),Cs=r(w(),1),Ts=r(y(),1),Ws=r(J(),1);var Sr=r(At(),1),Ve=r(f(),1);function fn(){return(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)(Sr.InlineNotices,{pinnedNoticesClassName:"edit-widgets-notices__pinned",dismissibleNoticesClassName:"edit-widgets-notices__dismissible"}),(0,Ve.jsx)(Sr.SnackbarNotices,{className:"edit-widgets-notices__snackbar"})]})}var Is=fn;var oe=r(f(),1);function Ls({blockEditorSettings:e}){let t=(0,Cs.useSelect)(i=>!!i(Ws.store).get("core/edit-widgets","themeStyles"),[]),o=(0,Es.useViewportMatch)("medium"),a=(0,Ts.useMemo)(()=>t?e.styles:[],[e,t]);return(0,oe.jsxs)("div",{className:"edit-widgets-block-editor",children:[(0,oe.jsx)(Is,{}),!o&&(0,oe.jsx)(Q.BlockToolbar,{hideDragHandle:!0}),(0,oe.jsxs)(Q.BlockTools,{children:[(0,oe.jsx)(sr,{}),(0,oe.jsx)(Q.__unstableEditorStyles,{styles:a,scope:":where(.editor-styles-wrapper)"}),(0,oe.jsx)(Q.BlockSelectionClearer,{children:(0,oe.jsx)(Q.WritingFlow,{children:(0,oe.jsx)(Q.BlockList,{className:"edit-widgets-main-block-list"})})})]})]})}var zs=r(w(),1);var Ps=r(L(),1),Ds=r(z(),1),Ar=r(y(),1),Ms=r(w(),1);var Eo=r(w(),1),Bs=r(L(),1),Ns=r(G(),1);var cn=()=>{let e=(0,Eo.useSelect)(t=>{let{getEntityRecord:o}=t(Ns.store);return o(x,j,Se())?.blocks[0]?.clientId},[]);return(0,Eo.useSelect)(t=>{let{getBlockRootClientId:o,getBlockSelectionEnd:a,getBlockOrder:i,getBlockIndex:s}=t(Bs.store),l=t(c).__experimentalGetInsertionPoint();if(l.rootClientId)return l;let d=a()||e,n=o(d);return d&&n===""?{rootClientId:d,insertionIndex:i(d).length}:{rootClientId:n,insertionIndex:s(d)+1}},[e])},Rs=cn;var kr=r(f(),1);function Os(){let e=(0,Ds.useViewportMatch)("medium","<"),{rootClientId:t,insertionIndex:o}=Rs(),{setIsInserterOpened:a}=(0,Ms.useDispatch)(c),i=(0,Ar.useCallback)(()=>a(!1),[a]),s=(0,Ar.useRef)();return(0,kr.jsx)("div",{className:"edit-widgets-layout__inserter-panel",children:(0,kr.jsx)("div",{className:"edit-widgets-layout__inserter-panel-content",children:(0,kr.jsx)(Ps.__experimentalLibrary,{showInserterHelpPanel:!0,shouldFocusBlock:e,rootClientId:t,__experimentalInsertionIndex:o,ref:s,onClose:i})})})}var Vs=r(L(),1),Fs=r(k(),1),xr=r(z(),1),Ir=r(w(),1),ht=r(y(),1),Co=r(A(),1);var js=r(De(),1);var Ee=r(f(),1);function Gs(){let{setIsListViewOpened:e}=(0,Ir.useDispatch)(c),{getListViewToggleRef:t}=$((0,Ir.useSelect)(c)),[o,a]=(0,ht.useState)(null),i=(0,xr.useFocusOnMount)("firstElement"),s=(0,ht.useCallback)(()=>{e(!1),t().current?.focus()},[t,e]),l=(0,ht.useCallback)(d=>{d.keyCode===js.ESCAPE&&!d.defaultPrevented&&(d.preventDefault(),s())},[s]);return(0,Ee.jsxs)("div",{className:"edit-widgets-editor__list-view-panel",onKeyDown:l,children:[(0,Ee.jsxs)("div",{className:"edit-widgets-editor__list-view-panel-header",children:[(0,Ee.jsx)("strong",{children:(0,Co.__)("List View")}),(0,Ee.jsx)(Fs.Button,{icon:Ze,label:(0,Co.__)("Close"),onClick:s,size:"compact"})]}),(0,Ee.jsx)("div",{className:"edit-widgets-editor__list-view-panel-content",ref:(0,xr.useMergeRefs)([i,a]),children:(0,Ee.jsx)(Vs.__experimentalListView,{dropZoneElement:o})})]})}var To=r(f(),1);function Hs(){let{isInserterOpen:e,isListViewOpen:t}=(0,zs.useSelect)(o=>{let{isInserterOpened:a,isListViewOpened:i}=o(c);return{isInserterOpen:a(),isListViewOpen:i()}},[]);return e?(0,To.jsx)(Os,{}):t?(0,To.jsx)(Gs,{}):null}var ae=r(f(),1),un={header:(0,Ce.__)("Widgets top bar"),body:(0,Ce.__)("Widgets and blocks"),sidebar:(0,Ce.__)("Widgets settings"),footer:(0,Ce.__)("Widgets footer")};function pn({blockEditorSettings:e}){let t=(0,Wo.useViewportMatch)("medium","<"),o=(0,Wo.useViewportMatch)("huge",">="),{setIsInserterOpened:a,setIsListViewOpened:i,closeGeneralSidebar:s}=(0,Er.useDispatch)(c),{hasBlockBreadCrumbsEnabled:l,hasSidebarEnabled:d,isInserterOpened:n,isListViewOpened:m}=(0,Er.useSelect)(h=>({hasSidebarEnabled:!!h(B).getActiveComplementaryArea(c.name),isInserterOpened:!!h(c).isInserterOpened(),isListViewOpened:!!h(c).isListViewOpened(),hasBlockBreadCrumbsEnabled:!!h(Ks.store).get("core/edit-widgets","showBlockBreadcrumbs")}),[]);(0,Lo.useEffect)(()=>{d&&!o&&(a(!1),i(!1))},[d,o]),(0,Lo.useEffect)(()=>{(n||m)&&!o&&s()},[n,m,o]);let b=m?(0,Ce.__)("List View"):(0,Ce.__)("Block Library"),p=m||n;return(0,ae.jsx)(io,{labels:{...un,secondarySidebar:b},header:(0,ae.jsx)(xs,{}),secondarySidebar:p&&(0,ae.jsx)(Hs,{}),sidebar:(0,ae.jsx)(at.Slot,{scope:"core/edit-widgets"}),content:(0,ae.jsx)(ae.Fragment,{children:(0,ae.jsx)(Ls,{blockEditorSettings:e})}),footer:l&&!t&&(0,ae.jsx)("div",{className:"edit-widgets-layout__footer",children:(0,ae.jsx)(Us.BlockBreadcrumb,{rootLabelText:(0,Ce.__)("Widgets")})})})}var Ys=pn;var $s=r(A(),1),qs=r(y(),1),Zs=r(w(),1);function Qs(){let e=(0,Zs.useSelect)(t=>{let{getEditedWidgetAreas:o}=t(c);return o()?.length>0},[]);return(0,qs.useEffect)(()=>{let t=o=>{if(e)return o.returnValue=(0,$s.__)("You have unsaved changes. If you proceed, they will be lost."),o.returnValue};return window.addEventListener("beforeunload",t),()=>{window.removeEventListener("beforeunload",t)}},[e]),null}var wt=r(w(),1),bt=r(k(),1),T=r(A(),1),Bo=r(y(),1),No=r(J(),1);var g=r(f(),1);function Xs(){let e=(0,wt.useSelect)(s=>!!s(No.store).get("core/edit-widgets","welcomeGuide"),[]),{toggle:t}=(0,wt.useDispatch)(No.store),o=(0,wt.useSelect)(s=>s(c).getWidgetAreas({per_page:-1}),[]);if(!e)return null;let a=o?.every(s=>s.id==="wp_inactive_widgets"||s.widgets.every(l=>l.startsWith("block-"))),i=o?.filter(s=>s.id!=="wp_inactive_widgets").length??0;return(0,g.jsx)(bt.Guide,{className:"edit-widgets-welcome-guide",contentLabel:(0,T.__)("Welcome to block Widgets"),finishButtonText:(0,T.__)("Get started"),onFinish:()=>t("core/edit-widgets","welcomeGuide"),pages:[{image:(0,g.jsx)(Cr,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-canvas.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-canvas.gif"}),content:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("h1",{className:"edit-widgets-welcome-guide__heading",children:(0,T.__)("Welcome to block Widgets")}),a?(0,g.jsx)(g.Fragment,{children:(0,g.jsx)("p",{className:"edit-widgets-welcome-guide__text",children:(0,T.sprintf)((0,T._n)("Your theme provides %s \u201Cblock\u201D area for you to add and edit content.\xA0Try adding a search bar, social icons, or other types of blocks here and see how they\u2019ll look on your site.","Your theme provides %s different \u201Cblock\u201D areas for you to add and edit content.\xA0Try adding a search bar, social icons, or other types of blocks here and see how they\u2019ll look on your site.",i),i)})}):(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("p",{className:"edit-widgets-welcome-guide__text",children:(0,T.__)("You can now add any block to your site\u2019s widget areas. Don\u2019t worry, all of your favorite widgets still work flawlessly.")}),(0,g.jsxs)("p",{className:"edit-widgets-welcome-guide__text",children:[(0,g.jsx)("strong",{children:(0,T.__)("Want to stick with the old widgets?")})," ",(0,g.jsx)(bt.ExternalLink,{href:(0,T.__)("https://wordpress.org/plugins/classic-widgets/"),children:(0,T.__)("Get the Classic Widgets plugin.")})]})]})]})},{image:(0,g.jsx)(Cr,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-editor.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-editor.gif"}),content:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("h1",{className:"edit-widgets-welcome-guide__heading",children:(0,T.__)("Customize each block")}),(0,g.jsx)("p",{className:"edit-widgets-welcome-guide__text",children:(0,T.__)("Each block comes with its own set of controls for changing things like color, width, and alignment. These will show and hide automatically when you have a block selected.")})]})},{image:(0,g.jsx)(Cr,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-library.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-library.gif"}),content:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("h1",{className:"edit-widgets-welcome-guide__heading",children:(0,T.__)("Explore all blocks")}),(0,g.jsx)("p",{className:"edit-widgets-welcome-guide__text",children:(0,Bo.createInterpolateElement)((0,T.__)("All of the blocks available to you live in the block library. You\u2019ll find it wherever you see the <InserterIconImage /> icon."),{InserterIconImage:(0,g.jsx)("img",{className:"edit-widgets-welcome-guide__inserter-icon",alt:(0,T.__)("inserter"),src:"data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='18' height='18' rx='2' fill='%231E1E1E'/%3E%3Cpath d='M9.22727 4V14M4 8.77273H14' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E%0A"})})})]})},{image:(0,g.jsx)(Cr,{nonAnimatedSrc:"https://s.w.org/images/block-editor/welcome-documentation.svg",animatedSrc:"https://s.w.org/images/block-editor/welcome-documentation.gif"}),content:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("h1",{className:"edit-widgets-welcome-guide__heading",children:(0,T.__)("Learn more")}),(0,g.jsx)("p",{className:"edit-widgets-welcome-guide__text",children:(0,Bo.createInterpolateElement)((0,T.__)("New to the block editor? Want to learn more about using it? <a>Here's a detailed guide.</a>"),{a:(0,g.jsx)(bt.ExternalLink,{href:(0,T.__)("https://wordpress.org/documentation/article/wordpress-block-editor/")})})})]})}]})}function Cr({nonAnimatedSrc:e,animatedSrc:t}){return(0,g.jsxs)("picture",{className:"edit-widgets-welcome-guide__image",children:[(0,g.jsx)("source",{srcSet:e,media:"(prefers-reduced-motion: reduce)"}),(0,g.jsx)("img",{src:t,width:"312",height:"240",alt:""})]})}var fe=r(f(),1);function gn({blockEditorSettings:e}){let{createErrorNotice:t}=(0,Js.useDispatch)(td.store);function o(i){t((0,Tr.sprintf)((0,Tr.__)('The "%s" plugin has encountered an error and cannot be rendered.'),i))}let a=(0,rd.__unstableUseNavigateRegions)();return(0,fe.jsx)(si,{children:(0,fe.jsx)("div",{className:a.className,...a,ref:a.ref,children:(0,fe.jsxs)(Ii,{blockEditorSettings:e,children:[(0,fe.jsx)(Ys,{blockEditorSettings:e}),(0,fe.jsx)(Vi,{}),(0,fe.jsx)(ed.PluginArea,{onError:o}),(0,fe.jsx)(Qs,{}),(0,fe.jsx)(Xs,{})]})})})}var od=gn;var Po=r(f(),1),hn=["core/more","core/freeform","core/template-part",...dr?[]:["core/block"]];function dd(e,t){let o=document.getElementById(e),a=(0,Wr.createRoot)(o),i=(0,Lr.__experimentalGetCoreBlocks)().filter(s=>!(hn.includes(s.name)||s.name.startsWith("core/post")||s.name.startsWith("core/query")||s.name.startsWith("core/site")||s.name.startsWith("core/navigation")||s.name.startsWith("core/term")));return(0,Ro.dispatch)(sd.store).setDefaults("core/edit-widgets",{fixedToolbar:!1,welcomeGuide:!0,showBlockBreadcrumbs:!0,themeStyles:!0}),(0,Ro.dispatch)(Te.store).reapplyBlockTypeFilters(),(0,Lr.registerCoreBlocks)(i),(0,Ye.registerLegacyWidgetBlock)(),(0,Ye.registerLegacyWidgetVariations)(t),vn(bo),(0,Ye.registerWidgetGroupBlock)(),t.__experimentalFetchLinkSuggestions=(s,l)=>(0,id.__experimentalFetchLinkSuggestions)(s,l,t),(0,Te.setFreeformContentHandlerName)("core/html"),a.render((0,Po.jsx)(Wr.StrictMode,{children:(0,Po.jsx)(od,{blockEditorSettings:t})})),a}var wn=dd;function bn(){(0,ad.default)("wp.editWidgets.reinitializeEditor",{since:"6.2",version:"6.3"})}var vn=e=>{if(!e)return;let{metadata:t,settings:o,name:a}=e;t&&(0,Te.unstable__bootstrapServerSideBlockDefinitions)({[a]:t}),(0,Te.registerBlockType)(a,o)};return yd(_n);})();