�PNG  IHDR22?�� pHYs  �� OiCCPPhotoshop ICC profilexڝSgTS�=���BK���KoR RB���&*! J�!��Q�EEȠ�����Q, � ��!���������{�kּ������>���� �H3Q5� �B�������.@� $p�d!s�#�~<<+"��x� �M��0���B�\���t�8K�@z�B�@F���&S�`�cb�P-`'������{[�!�� e�Dh;��V�EX0fK�9�-0IWfH���� � 0Q��){`�##x��F�W<�+��*x��<�$9E�[-qWW.(�I+6aa�@.�y�2�4���������x����6��_-��"bb���ϫp@�t~��,/��;�m��%�h^ �u��f�@����W�p�~<�5�j>{�-�]c�K'Xt����o��(�h���w��?�G�%�fI�q^D$.Tʳ?�D��*�A��,���� �`6�B$��BB d�r`)��B(�Ͱ*`/�@4�Qh��p.�U�=p�a��(�� A�a!ڈb�X#����!�H�$ ɈQ"K�5H1R�T UH�=r9�\F��;�2����G1���Q=� �C��7�F� �dt1�����r�=�6��Ыhڏ>C�0��3�l0.��B�8, �c˱"� ���V����cϱw�E� 6wB aAHXLXN�H� $4� 7 �Q�'"��K�&���b21�XH,#��/{�C�7$�C2'��I��T��F�nR#�,��4H#���dk�9�, +ȅ����3��!�[ �b@q��S�(R�jJ��4�e�2AU��Rݨ�T5�ZB���R�Q��4u�9̓IK�����hh�i��t�ݕN��W���G���w ��Ljg(�gw��L�Ӌ�T071���oUX*�*|�� �J�&�*/T����ު U�U�T��^S}�FU3S� Ԗ�U��P�SSg�;���g�oT?�~Y��Y�L�OC�Q��_�� c�x,!k ��u�5�&���|v*�����=���9C3J3W�R�f?�q��tN �(���~���)�)�4L�1e\k����X�H�Q�G�6������E�Y��A�J'\'Gg����S�Sݧ �M=:��.�k���Dw�n��^��Lo��y���}/�T�m���G X� $� �<�5qo</���QC]�@C�a�a�ᄑ��<��F�F�i�\�$�m�mƣ&&!&KM�M�RM��)�;L;L���͢�֙5�=1�2��כ߷`ZxZ,����eI��Z�Yn�Z9Y�XUZ]�F���%ֻ�����N�N���gð�ɶ�����ۮ�m�}agbg�Ů��}�}��= ���Z~s�r:V:ޚΜ�?}����/gX���3��)�i�S��Ggg�s�󈋉K��.�>.���Ƚ�Jt�q]�z���������ۯ�6�i�ܟ�4�)�Y3s���C�Q��? ��0k߬~OCO�g��#/c/�W�װ��w��a�>�>r��>�<7�2�Y_�7��ȷ�O�o�_��C#�d�z����%g��A�[��z|!��?:�e����A���AA�������!h�쐭!��Α�i�P~���a�a��~ '���W�?�p�X�1�5w��Cs�D�D�Dޛg1O9�-J5*>�.j<�7�4�?�.fY��X�XIlK9.*�6nl������� �{�/�]py�����.,:�@L�N8��A*��%�w%� y��g"/�6ш�C\*N�H*Mz�쑼5y$�3�,幄'���L Lݛ:��v m2=:�1����qB�!M��g�g�fvˬe����n��/��k���Y- �B��TZ(�*�geWf�͉�9���+��̳�ې7�����ᒶ��KW-X潬j9�������(�x��oʿ�ܔ���Ĺd�f�f���-�[����n �ڴ �V����E�/��(ۻ��C���<��e����;?T�T�T�T6��ݵa��n��{��4���[���>ɾ�UUM�f�e�I���?�������m]�Nmq����#�׹���=TR��+�G�����w- 6 U����#pDy��� �� :�v�{���vg/jB��F�S��[b[�O�>����z�G��499�?r����C�d�&����ˮ/~�����јѡ�򗓿m|������������x31^�V���w�w��O�| (�h���SЧ��������c3-� cHRMz%������u0�`:�o�_�F5IDATx��ytUս�?�;���fN$$��@B�!�k��� -*�gE���j�O�kQ�ʠ`U�B_ �AÐ0%�Ȕ�@r3ޛ;߳��$�@��v����^�s����������$��ߢ !�W��5�̱'-٘������4�>�Rƫ$�G��0U�H}�_ _� #��k�MJ/=�9Du *ڲ�k�PQ;0��j|�*�$�^컂脛y���>�z×� B��� ��(�:$�ʔ_�6��C!B����MVx��a��ζyY����j��ƋY2�9�F�{r��r�딟F��Q��hY6��� x��[l��RC��������nt@��;P��3��� F�w��7��:�P���ɋ'���mj���Bƪ�$�Q�L��y��߷g��\���z����v5�p�v$�v櫻�`6~K �Y�X����,�:��"�o�e0II"(��,������l_�C���/4�+f�E�!q��:����u����c��樼.UE�@� �]K�W���$-�h]�JG���Dz)�`��.�A/ ���mᏣc�3jK� �!�>���$�Q�!�_�? \�C2(E �M$Z I{�U���s�ǣ���=��@Բe ޻��W�����@ �w����}�9v,)��.}*|"�s��di���,���G�]W�AC�������|<����[��ߕ������K�*�G nߴ!��‹��J�!��6(L�a)��Am��������;adf��:�xm��nh�;֦I��(���o�C~ډa?�=��s����h��E������xp����)���_���t��W�����´;8���`dz=(��@@�+,�;�`�fhl��XȌ�3,uI�~z(J����� �ZX�A����H'�À�㜦�82|��a�n�z2��I���� ���EY�h�ε<�0�q�{��C��v�˅��?"@��χ�x�WS+��N�~�KQ�J�8ل�� _.W��� !TU{�����,��"�� �;�������HI S� ��))�o�1�H�D� ���� (� ;����"Ҕ��,���� �F=���O��&�Ph>�`���y��߲ &S��P�<��'��1s�1cĂ�N����2)����@�u��tv��<�+�-&�����h��[!FSG���' � z z0��<����8d&�����E0�,��<��"!P�b4��� �{S�����X����.�囤���T��hEF��X�q0"-<����h���]�Py*����F⩍��@v�˂�Y08�� .q��a��s����(!<̫1�3�L�H��7sYW�`��qtu�\7��?�@�Y�� %Ka�x�GZ�*W�P��y�����N0r9��Z�c�%���q,��k�����!!,��>���IB��� �x1�Xu�Y���v-���ֺ��N������JP��a�2`�e5��w��u;�6�i���̃��(K���ťa��(l51��JL��O'%���]���ٖ뿉!��{*�p+f ���i8��D�ȑ���ܩ�M��V��ӟz��x�7Z�1i}�^͜���6e����x��)u�d�ˏ�V�eG�\�X1�����=n�U'�~Y����L�\,�(d!x ,�:�TW8� M`r���@��r+v�Q0��>^;˴�VbF��('����� �*O��i��j�Ӆ����^�S3&� ���{������.ی�� N;��NU%d0�Ce\r"�C�b��&t7N�7��� �ȪD�[%l�۪�$��'m?�A9tI�9>��NVL ��� 6v~M�����ъ�B���0����9$&=ώm��W�0���L���&��E���f�f��'+�9��hv��7,���M��6�D�&�^� �����8 D֮�����o��k^z��O��hP�8q�5d*��YVq3�{��������#LX4�?��jP=3�~�؅c�ݰ�̱�ұ��8̲��2�G�����j��έ�9��w7���U�X�w�85C��?!I&���o&����L���I#�^�eV�,�^t5�k� �xs˛\��U�8��."���{���ǵ�l4��ݼ�;��r"���G�/~���gJV�N糦��ZZ^k+NN�D��I$�=OE�z����|*�*{��%k���G��>�`9��b;�s���8,�qs��c��.b��q�%�>r��n�R�Ƨ�%�,�A��le#�8���}; 21�0�b�&�QX�f���q�00����$>�h�N�'�a3��A���/�r ��L5�8�GԲ'�����w;��c#�q1���h$*��V^�k��QĽ�b:i������� ����H F#�_���,��]g����Ը����`RUU���� ��"�qD���>-��ϤI�~��3�̴�����NZ[[555�eeek7�m����YF#[��Đ��R��i��L�H�r ��@��J-�Pŝ��_|�-��6y��ks�V�U~��6���w.����(��0A� 4��f��� /���C�xŊ�ٳ����z=6�����rg���mKo��o�/����a�g���?'9%9��P��斓��~���L{�� �H��{AW��B��$����v�1b�&Mb�ر��ر#�0`�`xMBp! )Z�Nmo�mZ�g�}�eذaWTVV ���'99��C5��&�&+5�bT>|8��PUUETT����&���t��~TE%��'������b�tEGG;RSS�S�N�v��ѯ��t����u1@�ޚ"f��͈���r'L�Ph��m��ƌ�74o��`�x�q�P���NRSS�X,�����l&&&��MFFA!-��`��ҷ�n��Yuu�����x<I�LB%����KԒ50�!�3�bz�����ʸKL���;---�l6[��`��������Ȏ;�����egg4��!D�T��jWujyZ��������K����%����p�^���X,6��sV=�ܖ����6�3�X ���4ҿ��A2�&����_k�;d�� �VfOIEND�B`� 0x0x
PHP 8.1.34
Preview: block-library.min.js Size: 1.24 MB
/home2/astrociv/public_html/shreerangjyotish.com/wp-includes/js/dist/block-library.min.js
/*! This file is auto-generated */
(function() {
"use strict";var wp;(wp||={}).blockLibrary=(()=>{var Qve=Object.create;var a_=Object.defineProperty;var Xve=Object.getOwnPropertyDescriptor;var Jve=Object.getOwnPropertyNames;var ebe=Object.getPrototypeOf,tbe=Object.prototype.hasOwnProperty;var rbe=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Be=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),K=(e,t)=>{for(var r in t)a_(e,r,{get:t[r],enumerable:!0})},SF=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Jve(t))!tbe.call(e,a)&&a!==r&&a_(e,a,{get:()=>t[a],enumerable:!(o=Xve(t,a))||o.enumerable});return e};var n=(e,t,r)=>(r=e!=null?Qve(ebe(e)):{},SF(t||!e||!e.__esModule?a_(r,"default",{value:e,enumerable:!0}):r,e)),obe=e=>SF(a_({},"__esModule",{value:!0}),e);var q=Be(($Ie,TF)=>{TF.exports=window.wp.blocks});var ve=Be((qIe,PF)=>{PF.exports=window.wp.compose});var F=Be((ZIe,EF)=>{EF.exports=window.wp.data});var E=Be((KIe,BF)=>{BF.exports=window.wp.blockEditor});var lp=Be((YIe,NF)=>{NF.exports=window.wp.serverSideRender});var N=Be((QIe,IF)=>{IF.exports=window.wp.i18n});var b9=Be(pr=>{"use strict";Object.defineProperty(pr,"__esModule",{value:!0});pr.Doctype=pr.CDATA=pr.Tag=pr.Style=pr.Script=pr.Comment=pr.Directive=pr.Text=pr.Root=pr.isTag=pr.ElementType=void 0;var mi;(function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"})(mi=pr.ElementType||(pr.ElementType={}));function abe(e){return e.type===mi.Tag||e.type===mi.Script||e.type===mi.Style}pr.isTag=abe;pr.Root=mi.Root;pr.Text=mi.Text;pr.Directive=mi.Directive;pr.Comment=mi.Comment;pr.Script=mi.Script;pr.Style=mi.Style;pr.Tag=mi.Tag;pr.CDATA=mi.CDATA;pr.Doctype=mi.Doctype});var k9=Be(qe=>{"use strict";var sp=qe&&qe.__extends||(function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(o[i]=a[i])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function o(){this.constructor=t}t.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}})(),L1=qe&&qe.__assign||function(){return L1=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++){t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},L1.apply(this,arguments)};Object.defineProperty(qe,"__esModule",{value:!0});qe.cloneNode=qe.hasChildren=qe.isDocument=qe.isDirective=qe.isComment=qe.isText=qe.isCDATA=qe.isTag=qe.Element=qe.Document=qe.CDATA=qe.NodeWithChildren=qe.ProcessingInstruction=qe.Comment=qe.Text=qe.DataNode=qe.Node=void 0;var Ma=b9(),_9=(function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(t){this.parent=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(t){this.prev=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(t){this.next=t},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(t){return t===void 0&&(t=!1),x9(this,t)},e})();qe.Node=_9;var i_=(function(e){sp(t,e);function t(r){var o=e.call(this)||this;return o.data=r,o}return Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(r){this.data=r},enumerable:!1,configurable:!0}),t})(_9);qe.DataNode=i_;var LF=(function(e){sp(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=Ma.ElementType.Text,r}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t})(i_);qe.Text=LF;var RF=(function(e){sp(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=Ma.ElementType.Comment,r}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t})(i_);qe.Comment=RF;var AF=(function(e){sp(t,e);function t(r,o){var a=e.call(this,o)||this;return a.name=r,a.type=Ma.ElementType.Directive,a}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t})(i_);qe.ProcessingInstruction=AF;var l_=(function(e){sp(t,e);function t(r){var o=e.call(this)||this;return o.children=r,o}return Object.defineProperty(t.prototype,"firstChild",{get:function(){var r;return(r=this.children[0])!==null&&r!==void 0?r:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(r){this.children=r},enumerable:!1,configurable:!0}),t})(_9);qe.NodeWithChildren=l_;var MF=(function(e){sp(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=Ma.ElementType.CDATA,r}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t})(l_);qe.CDATA=MF;var zF=(function(e){sp(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=Ma.ElementType.Root,r}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t})(l_);qe.Document=zF;var VF=(function(e){sp(t,e);function t(r,o,a,i){a===void 0&&(a=[]),i===void 0&&(i=r==="script"?Ma.ElementType.Script:r==="style"?Ma.ElementType.Style:Ma.ElementType.Tag);var l=e.call(this,a)||this;return l.name=r,l.attribs=o,l.type=i,l}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(r){this.name=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var r=this;return Object.keys(this.attribs).map(function(o){var a,i;return{name:o,value:r.attribs[o],namespace:(a=r["x-attribsNamespace"])===null||a===void 0?void 0:a[o],prefix:(i=r["x-attribsPrefix"])===null||i===void 0?void 0:i[o]}})},enumerable:!1,configurable:!0}),t})(l_);qe.Element=VF;function OF(e){return(0,Ma.isTag)(e)}qe.isTag=OF;function FF(e){return e.type===Ma.ElementType.CDATA}qe.isCDATA=FF;function HF(e){return e.type===Ma.ElementType.Text}qe.isText=HF;function jF(e){return e.type===Ma.ElementType.Comment}qe.isComment=jF;function UF(e){return e.type===Ma.ElementType.Directive}qe.isDirective=UF;function GF(e){return e.type===Ma.ElementType.Root}qe.isDocument=GF;function ibe(e){return Object.prototype.hasOwnProperty.call(e,"children")}qe.hasChildren=ibe;function x9(e,t){t===void 0&&(t=!1);var r;if(HF(e))r=new LF(e.data);else if(jF(e))r=new RF(e.data);else if(OF(e)){var o=t?y9(e.children):[],a=new VF(e.name,L1({},e.attribs),o);o.forEach(function(c){return c.parent=a}),e.namespace!=null&&(a.namespace=e.namespace),e["x-attribsNamespace"]&&(a["x-attribsNamespace"]=L1({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(a["x-attribsPrefix"]=L1({},e["x-attribsPrefix"])),r=a}else if(FF(e)){var o=t?y9(e.children):[],i=new MF(o);o.forEach(function(u){return u.parent=i}),r=i}else if(GF(e)){var o=t?y9(e.children):[],l=new zF(o);o.forEach(function(u){return u.parent=l}),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),r=l}else if(UF(e)){var s=new AF(e.name,e.data);e["x-name"]!=null&&(s["x-name"]=e["x-name"],s["x-publicId"]=e["x-publicId"],s["x-systemId"]=e["x-systemId"]),r=s}else throw new Error("Not implemented yet: ".concat(e.type));return r.startIndex=e.startIndex,r.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(r.sourceCodeLocation=e.sourceCodeLocation),r}qe.cloneNode=x9;function y9(e){for(var t=e.map(function(o){return x9(o,!0)}),r=1;r<t.length;r++)t[r].prev=t[r-1],t[r-1].next=t[r];return t}});var C9=Be(Ks=>{"use strict";var lbe=Ks&&Ks.__createBinding||(Object.create?(function(e,t,r,o){o===void 0&&(o=r);var a=Object.getOwnPropertyDescriptor(t,r);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,o,a)}):(function(e,t,r,o){o===void 0&&(o=r),e[o]=t[r]})),sbe=Ks&&Ks.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&lbe(t,e,r)};Object.defineProperty(Ks,"__esModule",{value:!0});Ks.DomHandler=void 0;var w9=b9(),cp=k9();sbe(k9(),Ks);var WF={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},$F=(function(){function e(t,r,o){this.dom=[],this.root=new cp.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof r=="function"&&(o=r,r=WF),typeof t=="object"&&(r=t,t=void 0),this.callback=t??null,this.options=r??WF,this.elementCB=o??null}return e.prototype.onparserinit=function(t){this.parser=t},e.prototype.onreset=function(){this.dom=[],this.root=new cp.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(t){this.handleCallback(t)},e.prototype.onclosetag=function(){this.lastNode=null;var t=this.tagStack.pop();this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(t)},e.prototype.onopentag=function(t,r){var o=this.options.xmlMode?w9.ElementType.Tag:void 0,a=new cp.Element(t,r,void 0,o);this.addNode(a),this.tagStack.push(a)},e.prototype.ontext=function(t){var r=this.lastNode;if(r&&r.type===w9.ElementType.Text)r.data+=t,this.options.withEndIndices&&(r.endIndex=this.parser.endIndex);else{var o=new cp.Text(t);this.addNode(o),this.lastNode=o}},e.prototype.oncomment=function(t){if(this.lastNode&&this.lastNode.type===w9.ElementType.Comment){this.lastNode.data+=t;return}var r=new cp.Comment(t);this.addNode(r),this.lastNode=r},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var t=new cp.Text(""),r=new cp.CDATA([t]);this.addNode(r),t.parent=r,this.lastNode=t},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(t,r){var o=new cp.ProcessingInstruction(t,r);this.addNode(o)},e.prototype.handleCallback=function(t){if(typeof this.callback=="function")this.callback(t,this.dom);else if(t)throw t},e.prototype.addNode=function(t){var r=this.tagStack[this.tagStack.length-1],o=r.children[r.children.length-1];this.options.withStartIndices&&(t.startIndex=this.parser.startIndex),this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),r.children.push(t),o&&(t.prev=o,o.next=t),t.parent=r,this.lastNode=null},e})();Ks.DomHandler=$F;Ks.default=$F});var qF=Be(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});Ko.CARRIAGE_RETURN_PLACEHOLDER_REGEX=Ko.CARRIAGE_RETURN_PLACEHOLDER=Ko.CARRIAGE_RETURN_REGEX=Ko.CARRIAGE_RETURN=Ko.CASE_SENSITIVE_TAG_NAMES_MAP=Ko.CASE_SENSITIVE_TAG_NAMES=void 0;Ko.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"];Ko.CASE_SENSITIVE_TAG_NAMES_MAP=Ko.CASE_SENSITIVE_TAG_NAMES.reduce(function(e,t){return e[t.toLowerCase()]=t,e},{});Ko.CARRIAGE_RETURN="\r";Ko.CARRIAGE_RETURN_REGEX=new RegExp(Ko.CARRIAGE_RETURN,"g");Ko.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(),"__");Ko.CARRIAGE_RETURN_PLACEHOLDER_REGEX=new RegExp(Ko.CARRIAGE_RETURN_PLACEHOLDER,"g")});var S9=Be(gh=>{"use strict";Object.defineProperty(gh,"__esModule",{value:!0});gh.formatAttributes=ZF;gh.escapeSpecialCharacters=pbe;gh.revertEscapedCharacters=KF;gh.formatDOM=YF;var s_=C9(),R1=qF();function cbe(e){return R1.CASE_SENSITIVE_TAG_NAMES_MAP[e]}function ZF(e){for(var t={},r=0,o=e.length;r<o;r++){var a=e[r];t[a.name]=a.value}return t}function ube(e){e=e.toLowerCase();var t=cbe(e);return t||e}function pbe(e){return e.replace(R1.CARRIAGE_RETURN_REGEX,R1.CARRIAGE_RETURN_PLACEHOLDER)}function KF(e){return e.replace(R1.CARRIAGE_RETURN_PLACEHOLDER_REGEX,R1.CARRIAGE_RETURN)}function YF(e,t,r){t===void 0&&(t=null);for(var o=[],a,i=0,l=e.length;i<l;i++){var s=e[i];switch(s.nodeType){case 1:{var c=ube(s.nodeName);a=new s_.Element(c,ZF(s.attributes)),a.children=YF(c==="template"?s.content.childNodes:s.childNodes,a);break}case 3:a=new s_.Text(KF(s.nodeValue));break;case 8:a=new s_.Comment(s.nodeValue);break;default:continue}var u=o[i-1]||null;u&&(u.next=a),a.parent=t,a.prev=u,a.next=null,o.push(a)}return r&&(a=new s_.ProcessingInstruction(r.substring(0,r.indexOf(" ")).toLowerCase(),r),a.next=o[0]||null,a.parent=t,o.unshift(a),o[1]&&(o[1].prev=o[0])),o}});var nH=Be(E9=>{"use strict";Object.defineProperty(E9,"__esModule",{value:!0});E9.default=fbe;var mbe=S9(),QF="html",XF="head",c_="body",dbe=/<([a-zA-Z]+[0-9]?)/,JF=/<head[^]*>/i,eH=/<body[^]*>/i,p_=function(e,t){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},T9=function(e,t){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},tH=typeof window=="object"&&window.DOMParser;typeof tH=="function"&&(rH=new tH,oH="text/html",T9=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),rH.parseFromString(e,oH)},p_=T9);var rH,oH;typeof document=="object"&&document.implementation&&(A1=document.implementation.createHTMLDocument(),p_=function(e,t){if(t){var r=A1.documentElement.querySelector(t);return r&&(r.innerHTML=e),A1}return A1.documentElement.innerHTML=e,A1});var A1,u_=typeof document=="object"&&document.createElement("template"),P9;u_&&u_.content&&(P9=function(e){return u_.innerHTML=e,u_.content.childNodes});function fbe(e){var t,r;e=(0,mbe.escapeSpecialCharacters)(e);var o=e.match(dbe),a=o&&o[1]?o[1].toLowerCase():"";switch(a){case QF:{var i=T9(e);if(!JF.test(e)){var l=i.querySelector(XF);(t=l?.parentNode)===null||t===void 0||t.removeChild(l)}if(!eH.test(e)){var l=i.querySelector(c_);(r=l?.parentNode)===null||r===void 0||r.removeChild(l)}return i.querySelectorAll(QF)}case XF:case c_:{var s=p_(e).querySelectorAll(a);return eH.test(e)&&JF.test(e)?s[0].parentNode.childNodes:s}default:{if(P9)return P9(e);var l=p_(e,c_).querySelector(c_);return l.childNodes}}}});var aH=Be(M1=>{"use strict";var hbe=M1&&M1.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(M1,"__esModule",{value:!0});M1.default=ybe;var gbe=hbe(nH()),vbe=S9(),bbe=/<(![a-zA-Z\s]+)>/;function ybe(e){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];var t=e.match(bbe),r=t?t[1]:void 0;return(0,vbe.formatDOM)((0,gbe.default)(e),null,r)}});var iH=Be(m_=>{var _be=0;m_.SAME=_be;var xbe=1;m_.CAMELCASE=xbe;m_.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}});var sH=Be(ql=>{"use strict";function kbe(e){return Yo.hasOwnProperty(e)?Yo[e]:null}function ra(e,t,r,o,a,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=o,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var Yo={},wbe=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];wbe.forEach(e=>{Yo[e]=new ra(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([e,t])=>{Yo[e]=new ra(e,1,!1,t,null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(e=>{Yo[e]=new ra(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(e=>{Yo[e]=new ra(e,2,!1,e,null,!1,!1)});["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(e=>{Yo[e]=new ra(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(e=>{Yo[e]=new ra(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(e=>{Yo[e]=new ra(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(e=>{Yo[e]=new ra(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(e=>{Yo[e]=new ra(e,5,!1,e.toLowerCase(),null,!1,!1)});var B9=/[\-\:]([a-z])/g,N9=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(e=>{let t=e.replace(B9,N9);Yo[t]=new ra(t,1,!1,e,null,!1,!1)});["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(e=>{let t=e.replace(B9,N9);Yo[t]=new ra(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(e=>{let t=e.replace(B9,N9);Yo[t]=new ra(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(e=>{Yo[e]=new ra(e,1,!1,e.toLowerCase(),null,!1,!1)});var Cbe="xlinkHref";Yo[Cbe]=new ra("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(e=>{Yo[e]=new ra(e,1,!1,e.toLowerCase(),null,!0,!0)});var{CAMELCASE:Sbe,SAME:Tbe,possibleStandardNames:lH}=iH(),Pbe=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Ebe=Pbe+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Bbe=RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+Ebe+"]*$")),Nbe=Object.keys(lH).reduce((e,t)=>{let r=lH[t];return r===Tbe?e[t]=t:r===Sbe?e[t.toLowerCase()]=t:e[t]=r,e},{});ql.BOOLEAN=3;ql.BOOLEANISH_STRING=2;ql.NUMERIC=5;ql.OVERLOADED_BOOLEAN=4;ql.POSITIVE_NUMERIC=6;ql.RESERVED=0;ql.STRING=1;ql.getPropertyInfo=kbe;ql.isCustomAttribute=Bbe;ql.possibleStandardNames=Nbe});var ct=Be((sDe,cH)=>{cH.exports=window.React});var hH=Be((cDe,fH)=>{"use strict";var uH=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Ibe=/\n/g,Dbe=/^\s*/,Lbe=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Rbe=/^:\s*/,Abe=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Mbe=/^[;\s]*/,zbe=/^\s+|\s+$/g,Vbe=`
`,pH="/",mH="*",$m="",Obe="comment",Fbe="declaration";function Hbe(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var r=1,o=1;function a(h){var g=h.match(Ibe);g&&(r+=g.length);var v=h.lastIndexOf(Vbe);o=~v?h.length-v:o+h.length}function i(){var h={line:r,column:o};return function(g){return g.position=new l(h),u(),g}}function l(h){this.start=h,this.end={line:r,column:o},this.source=t.source}l.prototype.content=e;function s(h){var g=new Error(t.source+":"+r+":"+o+": "+h);if(g.reason=h,g.filename=t.source,g.line=r,g.column=o,g.source=e,!t.silent)throw g}function c(h){var g=h.exec(e);if(g){var v=g[0];return a(v),e=e.slice(v.length),g}}function u(){c(Dbe)}function p(h){var g;for(h=h||[];g=m();)g!==!1&&h.push(g);return h}function m(){var h=i();if(!(pH!=e.charAt(0)||mH!=e.charAt(1))){for(var g=2;$m!=e.charAt(g)&&(mH!=e.charAt(g)||pH!=e.charAt(g+1));)++g;if(g+=2,$m===e.charAt(g-1))return s("End of comment missing");var v=e.slice(2,g-2);return o+=2,a(v),e=e.slice(g),o+=2,h({type:Obe,comment:v})}}function d(){var h=i(),g=c(Lbe);if(g){if(m(),!c(Rbe))return s("property missing ':'");var v=c(Abe),b=h({type:Fbe,property:dH(g[0].replace(uH,$m)),value:v?dH(v[0].replace(uH,$m)):$m});return c(Mbe),b}}function f(){var h=[];p(h);for(var g;g=d();)g!==!1&&(h.push(g),p(h));return h}return u(),f()}function dH(e){return e?e.replace(zbe,$m):$m}fH.exports=Hbe});var gH=Be(z1=>{"use strict";var jbe=z1&&z1.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(z1,"__esModule",{value:!0});z1.default=Gbe;var Ube=jbe(hH());function Gbe(e,t){let r=null;if(!e||typeof e!="string")return r;let o=(0,Ube.default)(e),a=typeof t=="function";return o.forEach(i=>{if(i.type!=="declaration")return;let{property:l,value:s}=i;a?t(l,s,i):s&&(r=r||{},r[l]=s)}),r}});var bH=Be(d_=>{"use strict";Object.defineProperty(d_,"__esModule",{value:!0});d_.camelCase=void 0;var Wbe=/^--[a-zA-Z0-9_-]+$/,$be=/-([a-z])/g,qbe=/^[^-]+$/,Zbe=/^-(webkit|moz|ms|o|khtml)-/,Kbe=/^-(ms)-/,Ybe=function(e){return!e||qbe.test(e)||Wbe.test(e)},Qbe=function(e,t){return t.toUpperCase()},vH=function(e,t){return"".concat(t,"-")},Xbe=function(e,t){return t===void 0&&(t={}),Ybe(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(Kbe,vH):e=e.replace(Zbe,vH),e.replace($be,Qbe))};d_.camelCase=Xbe});var _H=Be((D9,yH)=>{"use strict";var Jbe=D9&&D9.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},eye=Jbe(gH()),tye=bH();function I9(e,t){var r={};return!e||typeof e!="string"||(0,eye.default)(e,function(o,a){o&&a&&(r[(0,tye.camelCase)(o,t)]=a)}),r}I9.default=I9;yH.exports=I9});var L9=Be(oa=>{"use strict";var rye=oa&&oa.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(oa,"__esModule",{value:!0});oa.returnFirstArg=oa.canTextBeChildOfNode=oa.ELEMENTS_WITH_NO_TEXT_CHILDREN=oa.PRESERVE_CUSTOM_ATTRIBUTES=void 0;oa.isCustomComponent=iye;oa.setStyleProp=sye;var oye=ct(),nye=rye(_H()),aye=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function iye(e,t){return e.includes("-")?!aye.has(e):!!(t&&typeof t.is=="string")}var lye={reactCompat:!0};function sye(e,t){if(typeof e=="string"){if(!e.trim()){t.style={};return}try{t.style=(0,nye.default)(e,lye)}catch{t.style={}}}}oa.PRESERVE_CUSTOM_ATTRIBUTES=Number(oye.version.split(".")[0])>=16;oa.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);var cye=function(e){return!oa.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)};oa.canTextBeChildOfNode=cye;var uye=function(e){return e};oa.returnFirstArg=uye});var A9=Be(R9=>{"use strict";Object.defineProperty(R9,"__esModule",{value:!0});R9.default=fye;var V1=sH(),xH=L9(),pye=["checked","value"],mye=["input","select","textarea"],dye={reset:!0,submit:!0};function fye(e,t){e===void 0&&(e={});var r={},o=!!(e.type&&dye[e.type]);for(var a in e){var i=e[a];if((0,V1.isCustomAttribute)(a)){r[a]=i;continue}var l=a.toLowerCase(),s=kH(l);if(s){var c=(0,V1.getPropertyInfo)(s);switch(pye.includes(s)&&mye.includes(t)&&!o&&(s=kH("default"+l)),r[s]=i,c&&c.type){case V1.BOOLEAN:r[s]=!0;break;case V1.OVERLOADED_BOOLEAN:i===""&&(r[s]=!0);break}continue}xH.PRESERVE_CUSTOM_ATTRIBUTES&&(r[a]=i)}return(0,xH.setStyleProp)(e.style,r),r}function kH(e){return V1.possibleStandardNames[e]}});var CH=Be(F1=>{"use strict";var hye=F1&&F1.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(F1,"__esModule",{value:!0});F1.default=wH;var M9=ct(),gye=hye(A9()),O1=L9(),vye={cloneElement:M9.cloneElement,createElement:M9.createElement,isValidElement:M9.isValidElement};function wH(e,t){t===void 0&&(t={});for(var r=[],o=typeof t.replace=="function",a=t.transform||O1.returnFirstArg,i=t.library||vye,l=i.cloneElement,s=i.createElement,c=i.isValidElement,u=e.length,p=0;p<u;p++){var m=e[p];if(o){var d=t.replace(m,p);if(c(d)){u>1&&(d=l(d,{key:d.key||p})),r.push(a(d,m,p));continue}}if(m.type==="text"){var f=!m.data.trim().length;if(f&&m.parent&&!(0,O1.canTextBeChildOfNode)(m.parent)||t.trim&&f)continue;r.push(a(m.data,m,p));continue}var h=m,g={};bye(h)?((0,O1.setStyleProp)(h.attribs.style,h.attribs),g=h.attribs):h.attribs&&(g=(0,gye.default)(h.attribs,h.name));var v=void 0;switch(m.type){case"script":case"style":m.children[0]&&(g.dangerouslySetInnerHTML={__html:m.children[0].data});break;case"tag":m.name==="textarea"&&m.children[0]?g.defaultValue=m.children[0].data:m.children&&m.children.length&&(v=wH(m.children,t));break;default:continue}u>1&&(g.key=p),r.push(a(s(m.name,g,v),m,p))}return r.length===1?r[0]:r}function bye(e){return O1.PRESERVE_CUSTOM_ATTRIBUTES&&e.type==="tag"&&(0,O1.isCustomComponent)(e.name,e.attribs)}});var V9=Be(_o=>{"use strict";var z9=_o&&_o.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(_o,"__esModule",{value:!0});_o.htmlToDOM=_o.domToReact=_o.attributesToProps=_o.Text=_o.ProcessingInstruction=_o.Element=_o.Comment=void 0;_o.default=xye;var SH=z9(aH());_o.htmlToDOM=SH.default;var yye=z9(A9());_o.attributesToProps=yye.default;var TH=z9(CH());_o.domToReact=TH.default;var f_=C9();Object.defineProperty(_o,"Comment",{enumerable:!0,get:function(){return f_.Comment}});Object.defineProperty(_o,"Element",{enumerable:!0,get:function(){return f_.Element}});Object.defineProperty(_o,"ProcessingInstruction",{enumerable:!0,get:function(){return f_.ProcessingInstruction}});Object.defineProperty(_o,"Text",{enumerable:!0,get:function(){return f_.Text}});var _ye={lowerCaseAttributeNames:!1};function xye(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");return e?(0,TH.default)((0,SH.default)(e,t?.htmlparser2||_ye),t):[]}});var Sn=Be((vDe,EH)=>{EH.exports=window.wp.dom});var y=Be((bDe,BH)=>{BH.exports=window.ReactJSXRuntime});var H=Be((kDe,DH)=>{DH.exports=window.wp.element});var M=Be((CDe,LH)=>{LH.exports=window.wp.primitives});var O=Be((SVe,RH)=>{RH.exports=window.wp.components});var Ar=Be((TVe,AH)=>{AH.exports=window.wp.blob});var re=Be((PVe,MH)=>{MH.exports=window.wp.coreData});var ir=Be((SOe,vj)=>{vj.exports=window.wp.url});var Jo=Be((EOe,kj)=>{kj.exports=window.wp.htmlEntities});var Sr=Be((FOe,Mj)=>{Mj.exports=window.wp.notices});var TI=Be((GOe,zj)=>{zj.exports=window.wp.privateApis});var ec=Be((LFe,fU)=>{fU.exports=window.wp.keycodes});var ZU=Be((YHe,qU)=>{qU.exports=window.ReactDOM});var tG=Be(eG=>{"use strict";var Ih=ct();function w_e(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var C_e=typeof Object.is=="function"?Object.is:w_e,S_e=Ih.useState,T_e=Ih.useEffect,P_e=Ih.useLayoutEffect,E_e=Ih.useDebugValue;function B_e(e,t){var r=t(),o=S_e({inst:{value:r,getSnapshot:t}}),a=o[0].inst,i=o[1];return P_e(function(){a.value=r,a.getSnapshot=t,rD(a)&&i({inst:a})},[e,r,t]),T_e(function(){return rD(a)&&i({inst:a}),e(function(){rD(a)&&i({inst:a})})},[e]),E_e(r),r}function rD(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!C_e(e,r)}catch{return!0}}function N_e(e,t){return t()}var I_e=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?N_e:B_e;eG.useSyncExternalStore=Ih.useSyncExternalStore!==void 0?Ih.useSyncExternalStore:I_e});var oG=Be((fje,rG)=>{"use strict";rG.exports=tG()});var Vh=Be((vGe,BG)=>{BG.exports=window.wp.a11y});var Sd=Be((yWe,iW)=>{iW.exports=window.wp.deprecated});var os=Be((GWe,bW)=>{bW.exports=window.wp.richText});var Vw=Be((MZe,pq)=>{pq.exports=window.wp.date});var wb=Be((fKe,Tq)=>{Tq.exports=window.wp.apiFetch});var _u=Be((qYe,cK)=>{cK.exports=window.wp.hooks});var Ab=Be((gJe,V3)=>{var HY={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u1EA4:"A",\u1EAE:"A",\u1EB2:"A",\u1EB4:"A",\u1EB6:"A",\u00C6:"AE",\u1EA6:"A",\u1EB0:"A",\u0202:"A",\u1EA2:"A",\u1EA0:"A",\u1EA8:"A",\u1EAA:"A",\u1EAC:"A",\u00C7:"C",\u1E08:"C",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u1EBE:"E",\u1E16:"E",\u1EC0:"E",\u1E14:"E",\u1E1C:"E",\u0206:"E",\u1EBA:"E",\u1EBC:"E",\u1EB8:"E",\u1EC2:"E",\u1EC4:"E",\u1EC6:"E",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u1E2E:"I",\u020A:"I",\u1EC8:"I",\u1ECA:"I",\u00D0:"D",\u00D1:"N",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u1ED0:"O",\u1E4C:"O",\u1E52:"O",\u020E:"O",\u1ECE:"O",\u1ECC:"O",\u1ED4:"O",\u1ED6:"O",\u1ED8:"O",\u1EDC:"O",\u1EDE:"O",\u1EE0:"O",\u1EDA:"O",\u1EE2:"O",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u1EE6:"U",\u1EE4:"U",\u1EEC:"U",\u1EEE:"U",\u1EF0:"U",\u00DD:"Y",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u1EA5:"a",\u1EAF:"a",\u1EB3:"a",\u1EB5:"a",\u1EB7:"a",\u00E6:"ae",\u1EA7:"a",\u1EB1:"a",\u0203:"a",\u1EA3:"a",\u1EA1:"a",\u1EA9:"a",\u1EAB:"a",\u1EAD:"a",\u00E7:"c",\u1E09:"c",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u1EBF:"e",\u1E17:"e",\u1EC1:"e",\u1E15:"e",\u1E1D:"e",\u0207:"e",\u1EBB:"e",\u1EBD:"e",\u1EB9:"e",\u1EC3:"e",\u1EC5:"e",\u1EC7:"e",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u1E2F:"i",\u020B:"i",\u1EC9:"i",\u1ECB:"i",\u00F0:"d",\u00F1:"n",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u1ED1:"o",\u1E4D:"o",\u1E53:"o",\u020F:"o",\u1ECF:"o",\u1ECD:"o",\u1ED5:"o",\u1ED7:"o",\u1ED9:"o",\u1EDD:"o",\u1EDF:"o",\u1EE1:"o",\u1EDB:"o",\u1EE3:"o",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u1EE7:"u",\u1EE5:"u",\u1EED:"u",\u1EEF:"u",\u1EF1:"u",\u00FD:"y",\u00FF:"y",\u0100:"A",\u0101:"a",\u0102:"A",\u0103:"a",\u0104:"A",\u0105:"a",\u0106:"C",\u0107:"c",\u0108:"C",\u0109:"c",\u010A:"C",\u010B:"c",\u010C:"C",\u010D:"c",C\u0306:"C",c\u0306:"c",\u010E:"D",\u010F:"d",\u0110:"D",\u0111:"d",\u0112:"E",\u0113:"e",\u0114:"E",\u0115:"e",\u0116:"E",\u0117:"e",\u0118:"E",\u0119:"e",\u011A:"E",\u011B:"e",\u011C:"G",\u01F4:"G",\u011D:"g",\u01F5:"g",\u011E:"G",\u011F:"g",\u0120:"G",\u0121:"g",\u0122:"G",\u0123:"g",\u0124:"H",\u0125:"h",\u0126:"H",\u0127:"h",\u1E2A:"H",\u1E2B:"h",\u0128:"I",\u0129:"i",\u012A:"I",\u012B:"i",\u012C:"I",\u012D:"i",\u012E:"I",\u012F:"i",\u0130:"I",\u0131:"i",\u0132:"IJ",\u0133:"ij",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u1E30:"K",\u1E31:"k",K\u0306:"K",k\u0306:"k",\u0139:"L",\u013A:"l",\u013B:"L",\u013C:"l",\u013D:"L",\u013E:"l",\u013F:"L",\u0140:"l",\u0141:"l",\u0142:"l",\u1E3E:"M",\u1E3F:"m",M\u0306:"M",m\u0306:"m",\u0143:"N",\u0144:"n",\u0145:"N",\u0146:"n",\u0147:"N",\u0148:"n",\u0149:"n",N\u0306:"N",n\u0306:"n",\u014C:"O",\u014D:"o",\u014E:"O",\u014F:"o",\u0150:"O",\u0151:"o",\u0152:"OE",\u0153:"oe",P\u0306:"P",p\u0306:"p",\u0154:"R",\u0155:"r",\u0156:"R",\u0157:"r",\u0158:"R",\u0159:"r",R\u0306:"R",r\u0306:"r",\u0212:"R",\u0213:"r",\u015A:"S",\u015B:"s",\u015C:"S",\u015D:"s",\u015E:"S",\u0218:"S",\u0219:"s",\u015F:"s",\u0160:"S",\u0161:"s",\u0162:"T",\u0163:"t",\u021B:"t",\u021A:"T",\u0164:"T",\u0165:"t",\u0166:"T",\u0167:"t",T\u0306:"T",t\u0306:"t",\u0168:"U",\u0169:"u",\u016A:"U",\u016B:"u",\u016C:"U",\u016D:"u",\u016E:"U",\u016F:"u",\u0170:"U",\u0171:"u",\u0172:"U",\u0173:"u",\u0216:"U",\u0217:"u",V\u0306:"V",v\u0306:"v",\u0174:"W",\u0175:"w",\u1E82:"W",\u1E83:"w",X\u0306:"X",x\u0306:"x",\u0176:"Y",\u0177:"y",\u0178:"Y",Y\u0306:"Y",y\u0306:"y",\u0179:"Z",\u017A:"z",\u017B:"Z",\u017C:"z",\u017D:"Z",\u017E:"z",\u017F:"s",\u0192:"f",\u01A0:"O",\u01A1:"o",\u01AF:"U",\u01B0:"u",\u01CD:"A",\u01CE:"a",\u01CF:"I",\u01D0:"i",\u01D1:"O",\u01D2:"o",\u01D3:"U",\u01D4:"u",\u01D5:"U",\u01D6:"u",\u01D7:"U",\u01D8:"u",\u01D9:"U",\u01DA:"u",\u01DB:"U",\u01DC:"u",\u1EE8:"U",\u1EE9:"u",\u1E78:"U",\u1E79:"u",\u01FA:"A",\u01FB:"a",\u01FC:"AE",\u01FD:"ae",\u01FE:"O",\u01FF:"o",\u00DE:"TH",\u00FE:"th",\u1E54:"P",\u1E55:"p",\u1E64:"S",\u1E65:"s",X\u0301:"X",x\u0301:"x",\u0403:"\u0413",\u0453:"\u0433",\u040C:"\u041A",\u045C:"\u043A",A\u030B:"A",a\u030B:"a",E\u030B:"E",e\u030B:"e",I\u030B:"I",i\u030B:"i",\u01F8:"N",\u01F9:"n",\u1ED2:"O",\u1ED3:"o",\u1E50:"O",\u1E51:"o",\u1EEA:"U",\u1EEB:"u",\u1E80:"W",\u1E81:"w",\u1EF2:"Y",\u1EF3:"y",\u0200:"A",\u0201:"a",\u0204:"E",\u0205:"e",\u0208:"I",\u0209:"i",\u020C:"O",\u020D:"o",\u0210:"R",\u0211:"r",\u0214:"U",\u0215:"u",B\u030C:"B",b\u030C:"b",\u010C\u0323:"C",\u010D\u0323:"c",\u00CA\u030C:"E",\u00EA\u030C:"e",F\u030C:"F",f\u030C:"f",\u01E6:"G",\u01E7:"g",\u021E:"H",\u021F:"h",J\u030C:"J",\u01F0:"j",\u01E8:"K",\u01E9:"k",M\u030C:"M",m\u030C:"m",P\u030C:"P",p\u030C:"p",Q\u030C:"Q",q\u030C:"q",\u0158\u0329:"R",\u0159\u0329:"r",\u1E66:"S",\u1E67:"s",V\u030C:"V",v\u030C:"v",W\u030C:"W",w\u030C:"w",X\u030C:"X",x\u030C:"x",Y\u030C:"Y",y\u030C:"y",A\u0327:"A",a\u0327:"a",B\u0327:"B",b\u0327:"b",\u1E10:"D",\u1E11:"d",\u0228:"E",\u0229:"e",\u0190\u0327:"E",\u025B\u0327:"e",\u1E28:"H",\u1E29:"h",I\u0327:"I",i\u0327:"i",\u0197\u0327:"I",\u0268\u0327:"i",M\u0327:"M",m\u0327:"m",O\u0327:"O",o\u0327:"o",Q\u0327:"Q",q\u0327:"q",U\u0327:"U",u\u0327:"u",X\u0327:"X",x\u0327:"x",Z\u0327:"Z",z\u0327:"z",\u0439:"\u0438",\u0419:"\u0418",\u0451:"\u0435",\u0401:"\u0415"},jY=Object.keys(HY).join("|"),v3e=new RegExp(jY,"g"),b3e=new RegExp(jY,"");function y3e(e){return HY[e]}var UY=function(e){return e.replace(v3e,y3e)},_3e=function(e){return!!e.match(b3e)};V3.exports=UY;V3.exports.has=_3e;V3.exports.remove=UY});var VQ=Be((_et,zQ)=>{zQ.exports=window.wp.styleEngine});var jQ=Be((wet,HQ)=>{"use strict";HQ.exports=function e(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;var o,a,i;if(Array.isArray(t)){if(o=t.length,o!=r.length)return!1;for(a=o;a--!==0;)if(!e(t[a],r[a]))return!1;return!0}if(t instanceof Map&&r instanceof Map){if(t.size!==r.size)return!1;for(a of t.entries())if(!r.has(a[0]))return!1;for(a of t.entries())if(!e(a[1],r.get(a[0])))return!1;return!0}if(t instanceof Set&&r instanceof Set){if(t.size!==r.size)return!1;for(a of t.entries())if(!r.has(a[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(r)){if(o=t.length,o!=r.length)return!1;for(a=o;a--!==0;)if(t[a]!==r[a])return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if(i=Object.keys(t),o=i.length,o!==Object.keys(r).length)return!1;for(a=o;a--!==0;)if(!Object.prototype.hasOwnProperty.call(r,i[a]))return!1;for(a=o;a--!==0;){var l=i[a];if(!e(t[l],r[l]))return!1}return!0}return t!==t&&r!==r}});var HJ=Be((Tot,FJ)=>{FJ.exports=window.wp.uploadMedia});var zA=Be((zst,Xoe)=>{Xoe.exports=window.wp.escapeHtml});var Pce=Be((Rgt,Tce)=>{Tce.exports=window.wp.wordcount});var Ame=Be((Pbt,Rme)=>{Rme.exports=window.wp.patterns});var Ede=Be((Lyt,Pde)=>{Pde.exports=window.wp.autop});var Nde=Be((Ryt,Bde)=>{Bde.exports=window.wp.shortcode});var Nve=Be((X4t,Bve)=>{Bve.exports=window.wp.keyboardShortcuts});var UIe={};K(UIe,{__experimentalGetCoreBlocks:()=>Vve,__experimentalRegisterExperimentalCoreBlocks:()=>jIe,privateApis:()=>dF,registerCoreBlocks:()=>HIe});var Hl=n(q(),1),Rve=n(ve(),1),Ave=n(F(),1),Mve=n(E(),1),zve=n(lp(),1),Q2=n(N(),1);function DF(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=DF(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function nbe(){for(var e,t,r=0,o="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=DF(e))&&(o&&(o+=" "),o+=t);return o}var S=nbe;var O9=n(V9(),1),Zl=n(V9(),1),PH=O9.default.default||O9.default;var NH=n(Sn(),1),IH=n(y(),1),kye=({wrapperProps:e={},html:t=""})=>{let r={replace:({name:i,type:l,attribs:s,parent:c,children:u})=>{if(l==="tag"&&i){let p=(0,Zl.attributesToProps)(s||{}),m=i;if(!c){let d={...p,...e,className:S(p.className,e.className),style:{...p.style||{},...e.style||{}}};return(0,IH.jsx)(m,{...d,children:(0,Zl.domToReact)(u,r)})}}}},o=(0,NH.safeHTML)(t);return PH(o,r)},xo=kye;var vI={};K(vI,{init:()=>Tye,metadata:()=>l5,name:()=>UH,settings:()=>GH});var gI=n(N(),1);var h_=n(H(),1),na=(0,h_.forwardRef)(({icon:e,size:t=24,...r},o)=>(0,h_.cloneElement)(e,{width:t,height:t,...r,ref:o}));var H1=n(M(),1),j1=n(y(),1),F9=(0,j1.jsxs)(H1.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,j1.jsx)(H1.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M19.5 12.75L9.5 12.75L9.5 11.25L19.5 11.25L19.5 12.75Z"}),(0,j1.jsx)(H1.Path,{d:"M4.5 9.5L8.5 12L4.5 14.5L4.5 9.5Z"})]});var qm=n(M(),1),Zm=n(y(),1),H9=(0,Zm.jsxs)(qm.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,Zm.jsx)(qm.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M19.5 9.5L9.5 9.5L9.5 8L19.5 8L19.5 9.5Z"}),(0,Zm.jsx)(qm.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M19.5 13L9.5 13L9.5 11.5L19.5 11.5L19.5 13Z"}),(0,Zm.jsx)(qm.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M19.5 16.3999L9.5 16.3999L9.5 14.8999L19.5 14.8999L19.5 16.3999Z"}),(0,Zm.jsx)(qm.Path,{d:"M4.5 6.25L8.5 8.75L4.5 11.25L4.5 6.25Z"})]});var Km=n(M(),1),Ym=n(y(),1),j9=(0,Ym.jsxs)(Km.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,Ym.jsx)(Km.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M19.5 9.25L9.5 9.25L9.5 7.75L19.5 7.75L19.5 9.25Z"}),(0,Ym.jsx)(Km.Path,{d:"M4.5 6L8.5 8.5L4.5 11L4.5 6Z"}),(0,Ym.jsx)(Km.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M19.5 16.25L9.5 16.25L9.5 14.75L19.5 14.75L19.5 16.25Z"}),(0,Ym.jsx)(Km.Path,{d:"M4.5 13L8.5 15.5L4.5 18L4.5 13Z"})]});var g_=n(M(),1),U9=n(y(),1),Qm=(0,U9.jsx)(g_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,U9.jsx)(g_.Path,{d:"M2 12c0 3.6 2.4 5.5 6 5.5h.5V19l3-2.5-3-2.5v2H8c-2.5 0-4.5-1.5-4.5-4s2-4.5 4.5-4.5h3.5V6H8c-3.6 0-6 2.4-6 6zm19.5-1h-8v1.5h8V11zm0 5h-8v1.5h8V16zm0-10h-8v1.5h8V6z"})});var v_=n(M(),1),G9=n(y(),1),W9=(0,G9.jsx)(v_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,G9.jsx)(v_.Path,{d:"M7.5 5.5h9V4h-9v1.5Zm-3.5 7h16V11H4v1.5Zm3.5 7h9V18h-9v1.5Z"})});var b_=n(M(),1),$9=n(y(),1),q9=(0,$9.jsx)(b_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,$9.jsx)(b_.Path,{d:"M13 5.5H4V4h9v1.5Zm7 7H4V11h16v1.5Zm-7 7H4V18h9v1.5Z"})});var y_=n(M(),1),Z9=n(y(),1),K9=(0,Z9.jsx)(y_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,Z9.jsx)(y_.Path,{d:"M19 5.5H5V4h14v1.5ZM19 20H5v-1.5h14V20ZM5 9h14v6H5V9Z"})});var __=n(M(),1),Y9=n(y(),1),Q9=(0,Y9.jsx)(__.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,Y9.jsx)(__.Path,{d:"M11.111 5.5H20V4h-8.889v1.5ZM4 12.5h16V11H4v1.5Zm7.111 7H20V18h-8.889v1.5Z"})});var x_=n(M(),1),X9=n(y(),1),J9=(0,X9.jsx)(x_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,X9.jsx)(x_.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M11.934 7.406a1 1 0 0 0 .914.594H19a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5h5.764a.5.5 0 0 1 .447.276l.723 1.63Zm1.064-1.216a.5.5 0 0 0 .462.31H19a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5.764a2 2 0 0 1 1.789 1.106l.445 1.084ZM8.5 10.5h7V12h-7v-1.5Zm7 3.5h-7v1.5h7V14Z"})});var k_=n(M(),1),eP=n(y(),1),Xm=(0,eP.jsx)(k_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,eP.jsx)(k_.Path,{d:"M17.7 4.3c-1.2 0-2.8 0-3.8 1-.6.6-.9 1.5-.9 2.6V14c-.6-.6-1.5-1-2.5-1C8.6 13 7 14.6 7 16.5S8.6 20 10.5 20c1.5 0 2.8-1 3.3-2.3.5-.8.7-1.8.7-2.5V7.9c0-.7.2-1.2.5-1.6.6-.6 1.8-.6 2.8-.6h.3V4.3h-.4z"})});var w_=n(M(),1),tP=n(y(),1),rP=(0,tP.jsx)(w_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,tP.jsx)(w_.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 C_=n(M(),1),oP=n(y(),1),U1=(0,oP.jsx)(C_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,oP.jsx)(C_.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v3.5h-15V5c0-.3.2-.5.5-.5zm8 5.5h6.5v3.5H13V10zm-1.5 3.5h-7V10h7v3.5zm-7 5.5v-4h7v4.5H5c-.3 0-.5-.2-.5-.5zm14.5.5h-6V15h6.5v4c0 .3-.2.5-.5.5z"})});var S_=n(M(),1),nP=n(y(),1),aP=(0,nP.jsx)(S_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,nP.jsx)(S_.Path,{d:"M4 13.5h3v-3H4v3Zm6-3.5 2 2-2 2 1 1 3-3-3-3-1 1Zm7 .5v3h3v-3h-3Z"})});var T_=n(M(),1),iP=n(y(),1),lP=(0,iP.jsx)(T_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,iP.jsx)(T_.Path,{d:"M8 12.5h8V11H8v1.5Z M19 6.5H5a2 2 0 0 0-2 2V15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a2 2 0 0 0-2-2ZM5 8h14a.5.5 0 0 1 .5.5V15a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V8.5A.5.5 0 0 1 5 8Z"})});var P_=n(M(),1),sP=n(y(),1),cP=(0,sP.jsx)(P_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,sP.jsx)(P_.Path,{d:"M14.5 17.5H9.5V16H14.5V17.5Z M14.5 8H9.5V6.5H14.5V8Z M7 3.5H17C18.1046 3.5 19 4.39543 19 5.5V9C19 10.1046 18.1046 11 17 11H7C5.89543 11 5 10.1046 5 9V5.5C5 4.39543 5.89543 3.5 7 3.5ZM17 5H7C6.72386 5 6.5 5.22386 6.5 5.5V9C6.5 9.27614 6.72386 9.5 7 9.5H17C17.2761 9.5 17.5 9.27614 17.5 9V5.5C17.5 5.22386 17.2761 5 17 5Z M7 13H17C18.1046 13 19 13.8954 19 15V18.5C19 19.6046 18.1046 20.5 17 20.5H7C5.89543 20.5 5 19.6046 5 18.5V15C5 13.8954 5.89543 13 7 13ZM17 14.5H7C6.72386 14.5 6.5 14.7239 6.5 15V18.5C6.5 18.7761 6.72386 19 7 19H17C17.2761 19 17.5 18.7761 17.5 18.5V15C17.5 14.7239 17.2761 14.5 17 14.5Z"})});var E_=n(M(),1),uP=n(y(),1),G1=(0,uP.jsx)(E_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,uP.jsx)(E_.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V7h15v12zM9 10H7v2h2v-2zm0 4H7v2h2v-2zm4-4h-2v2h2v-2zm4 0h-2v2h2v-2zm-4 4h-2v2h2v-2zm4 0h-2v2h2v-2z"})});var B_=n(M(),1),pP=n(y(),1),mP=(0,pP.jsx)(B_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,pP.jsx)(B_.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6 5.5h12a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5ZM4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6Zm4 10h2v-1.5H8V16Zm5 0h-2v-1.5h2V16Zm1 0h2v-1.5h-2V16Z"})});var N_=n(M(),1),dP=n(y(),1),up=(0,dP.jsx)(N_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,dP.jsx)(N_.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6 5.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2V6zm11-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM13 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2h-3a2 2 0 01-2-2V6zm5 8.5h-3a.5.5 0 00-.5.5v3a.5.5 0 00.5.5h3a.5.5 0 00.5-.5v-3a.5.5 0 00-.5-.5zM15 13a2 2 0 00-2 2v3a2 2 0 002 2h3a2 2 0 002-2v-3a2 2 0 00-2-2h-3zm-9 1.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5zM4 15a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2v-3z"})});var I_=n(M(),1),fP=n(y(),1),W1=(0,fP.jsx)(I_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,fP.jsx)(I_.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})});var D_=n(M(),1),hP=n(y(),1),gP=(0,hP.jsx)(D_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,hP.jsx)(D_.Path,{d:"m13.1 16-3.4-4 3.4-4 1.1 1-2.6 3 2.6 3-1.1 1z"})});var L_=n(M(),1),vP=n(y(),1),R_=(0,vP.jsx)(L_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,vP.jsx)(L_.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})});var A_=n(M(),1),bP=n(y(),1),yP=(0,bP.jsx)(A_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,bP.jsx)(A_.Path,{d:"M10.8622 8.04053L14.2805 12.0286L10.8622 16.0167L9.72327 15.0405L12.3049 12.0286L9.72327 9.01672L10.8622 8.04053Z"})});var M_=n(M(),1),_P=n(y(),1),vh=(0,_P.jsx)(M_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,_P.jsx)(M_.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})});var z_=n(M(),1),xP=n(y(),1),kP=(0,xP.jsx)(z_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,xP.jsx)(z_.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"})});var V_=n(M(),1),wP=n(y(),1),$1=(0,wP.jsx)(V_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,wP.jsx)(V_.Path,{d:"M20 6H4c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H4c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h16c.3 0 .5.2.5.5v9zM10 10H8v2h2v-2zm-5 2h2v-2H5v2zm8-2h-2v2h2v-2zm-5 6h8v-2H8v2zm6-4h2v-2h-2v2zm3 0h2v-2h-2v2zm0 4h2v-2h-2v2zM5 16h2v-2H5v2z"})});var O_=n(M(),1),CP=n(y(),1),Jm=(0,CP.jsx)(O_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,CP.jsx)(O_.Path,{d:"m13.06 12 6.47-6.47-1.06-1.06L12 10.94 5.53 4.47 4.47 5.53 10.94 12l-6.47 6.47 1.06 1.06L12 13.06l6.47 6.47 1.06-1.06L13.06 12Z"})});var F_=n(M(),1),SP=n(y(),1),q1=(0,SP.jsx)(F_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,SP.jsx)(F_.Path,{d:"M20.8 10.7l-4.3-4.3-1.1 1.1 4.3 4.3c.1.1.1.3 0 .4l-4.3 4.3 1.1 1.1 4.3-4.3c.7-.8.7-1.9 0-2.6zM4.2 11.8l4.3-4.3-1-1-4.3 4.3c-.7.7-.7 1.8 0 2.5l4.3 4.3 1.1-1.1-4.3-4.3c-.2-.1-.2-.3-.1-.4z"})});var H_=n(M(),1),TP=n(y(),1),PP=(0,TP.jsx)(H_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,TP.jsx)(H_.Path,{d:"M19 6H6c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zM6 17.5c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h3v10H6zm13.5-.5c0 .3-.2.5-.5.5h-3v-10h3c.3 0 .5.2.5.5v9z"})});var j_=n(M(),1),EP=n(y(),1),BP=(0,EP.jsx)(j_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,EP.jsx)(j_.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15 7.5h-5v10h5v-10Zm1.5 0v10H19a.5.5 0 0 0 .5-.5V8a.5.5 0 0 0-.5-.5h-2.5ZM6 7.5h2.5v10H6a.5.5 0 0 1-.5-.5V8a.5.5 0 0 1 .5-.5ZM6 6h13a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2Z"})});var U_=n(M(),1),NP=n(y(),1),Z1=(0,NP.jsx)(U_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,NP.jsx)(U_.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M7.25 16.437a6.5 6.5 0 1 1 9.5 0V16A2.75 2.75 0 0 0 14 13.25h-4A2.75 2.75 0 0 0 7.25 16v.437Zm1.5 1.193a6.47 6.47 0 0 0 3.25.87 6.47 6.47 0 0 0 3.25-.87V16c0-.69-.56-1.25-1.25-1.25h-4c-.69 0-1.25.56-1.25 1.25v1.63ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm10-2a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"})});var ed=n(M(),1),bh=n(y(),1),IP=(0,bh.jsxs)(ed.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,bh.jsx)(ed.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18 4H6c-1.1 0-2 .9-2 2v12.9c0 .6.5 1.1 1.1 1.1.3 0 .5-.1.8-.3L8.5 17H18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H7.9l-2.4 2.4V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v9z"}),(0,bh.jsx)(ed.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15 15V15C15 13.8954 14.1046 13 13 13L11 13C9.89543 13 9 13.8954 9 15V15"}),(0,bh.jsx)(ed.Circle,{cx:"12",cy:"9",r:"2",fillRule:"evenodd",clipRule:"evenodd"})]});var G_=n(M(),1),DP=n(y(),1),LP=(0,DP.jsx)(G_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,DP.jsx)(G_.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6.68822 16.625L5.5 17.8145L5.5 5.5L18.5 5.5L18.5 16.625L6.68822 16.625ZM7.31 18.125L19 18.125C19.5523 18.125 20 17.6773 20 17.125L20 5C20 4.44772 19.5523 4 19 4H5C4.44772 4 4 4.44772 4 5V19.5247C4 19.8173 4.16123 20.086 4.41935 20.2237C4.72711 20.3878 5.10601 20.3313 5.35252 20.0845L7.31 18.125ZM16 9.99997H8V8.49997H16V9.99997ZM8 14H13V12.5H8V14Z"})});var W_=n(M(),1),RP=n(y(),1),AP=(0,RP.jsx)(W_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,RP.jsx)(W_.Path,{d:"m6.249 11.065.44-.44h3.186l-1.5 1.5H7.31l-1.957 1.96A.792.792 0 0 1 4 13.524V5a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v1.5L12.5 8V5.5h-7v6.315l.749-.75ZM20 19.75H7v-1.5h13v1.5Zm0-12.653-8.967 9.064L8 17l.867-2.935L17.833 5 20 7.097Z"})});var $_=n(M(),1),MP=n(y(),1),zP=(0,MP.jsx)($_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,MP.jsx)($_.Path,{d:"M6.68822 10.625L6.24878 11.0649L5.5 11.8145L5.5 5.5L12.5 5.5V8L14 6.5V5C14 4.44772 13.5523 4 13 4H5C4.44772 4 4 4.44771 4 5V13.5247C4 13.8173 4.16123 14.086 4.41935 14.2237C4.72711 14.3878 5.10601 14.3313 5.35252 14.0845L7.31 12.125H8.375L9.875 10.625H7.31H6.68822ZM14.5605 10.4983L11.6701 13.75H16.9975C17.9963 13.75 18.7796 14.1104 19.3553 14.7048C19.9095 15.2771 20.2299 16.0224 20.4224 16.7443C20.7645 18.0276 20.7543 19.4618 20.7487 20.2544C20.7481 20.345 20.7475 20.4272 20.7475 20.4999L19.2475 20.5001C19.2475 20.4191 19.248 20.3319 19.2484 20.2394V20.2394C19.2526 19.4274 19.259 18.2035 18.973 17.1307C18.8156 16.5401 18.586 16.0666 18.2778 15.7483C17.9909 15.4521 17.5991 15.25 16.9975 15.25H11.8106L14.5303 17.9697L13.4696 19.0303L8.96956 14.5303L13.4394 9.50171L14.5605 10.4983Z"})});var q_=n(M(),1),VP=n(y(),1),K1=(0,VP.jsx)(q_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,VP.jsx)(q_.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12.9c0 .6.5 1.1 1.1 1.1.3 0 .5-.1.8-.3L8.5 17H18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H7.9l-2.4 2.4V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v9z"})});var Z_=n(M(),1),OP=n(y(),1),Y1=(0,OP.jsx)(Z_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,OP.jsx)(Z_.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M8.10417 6.00024H6.5C5.39543 6.00024 4.5 6.89567 4.5 8.00024V10.3336H6V8.00024C6 7.7241 6.22386 7.50024 6.5 7.50024H8.10417V6.00024ZM4.5 13.6669V16.0002C4.5 17.1048 5.39543 18.0002 6.5 18.0002H8.10417V16.5002H6.5C6.22386 16.5002 6 16.2764 6 16.0002V13.6669H4.5ZM10.3958 6.00024V7.50024H13.6042V6.00024H10.3958ZM15.8958 6.00024V7.50024H17.5C17.7761 7.50024 18 7.7241 18 8.00024V10.3336H19.5V8.00024C19.5 6.89567 18.6046 6.00024 17.5 6.00024H15.8958ZM19.5 13.6669H18V16.0002C18 16.2764 17.7761 16.5002 17.5 16.5002H15.8958V18.0002H17.5C18.6046 18.0002 19.5 17.1048 19.5 16.0002V13.6669ZM13.6042 18.0002V16.5002H10.3958V18.0002H13.6042Z"})});var K_=n(M(),1),FP=n(y(),1),td=(0,FP.jsx)(K_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,FP.jsx)(K_.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h6.2v8.9l2.5-3.1 2.5 3.1V4.5h2.2c.4 0 .8.4.8.8v13.4z"})});var Y_=n(M(),1),HP=n(y(),1),rd=(0,HP.jsx)(Y_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,HP.jsx)(Y_.Path,{d:"M18 20v-2h2v-1.5H7.75a.25.25 0 0 1-.25-.25V4H6v2H4v1.5h2v8.75c0 .966.784 1.75 1.75 1.75h8.75v2H18ZM9.273 7.5h6.977a.25.25 0 0 1 .25.25v6.977H18V7.75A1.75 1.75 0 0 0 16.25 6H9.273v1.5Z"})});var Q_=n(M(),1),jP=n(y(),1),Q1=(0,jP.jsx)(Q_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,jP.jsx)(Q_.Path,{d:"M12.5 14.5h-1V16h1c2.2 0 4-1.8 4-4s-1.8-4-4-4h-1v1.5h1c1.4 0 2.5 1.1 2.5 2.5s-1.1 2.5-2.5 2.5zm-4 1.5v-1.5h-1C6.1 14.5 5 13.4 5 12s1.1-2.5 2.5-2.5h1V8h-1c-2.2 0-4 1.8-4 4s1.8 4 4 4h1zm-1-3.2h5v-1.5h-5v1.5zM18 4H9c-1.1 0-2 .9-2 2v.5h1.5V6c0-.3.2-.5.5-.5h9c.3 0 .5.2.5.5v12c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5v-.5H7v.5c0 1.1.9 2 2 2h9c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2z"})});var X_=n(M(),1),UP=n(y(),1),GP=(0,UP.jsx)(X_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,UP.jsx)(X_.Path,{d:"M4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4zm.8-4l.7.7 2-2V12h1V9.2l2 2 .7-.7-2-2H12v-1H9.2l2-2-.7-.7-2 2V4h-1v2.8l-2-2-.7.7 2 2H4v1h2.8l-2 2z"})});var X1=n(M(),1),J1=n(y(),1),WP=(0,J1.jsxs)(X1.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,J1.jsx)(X1.Path,{d:"M4 16h10v1.5H4V16Zm0-4.5h16V13H4v-1.5ZM10 7h10v1.5H10V7Z",fillRule:"evenodd",clipRule:"evenodd"}),(0,J1.jsx)(X1.Path,{d:"m4 5.25 4 2.5-4 2.5v-5Z"})]});var J_=n(M(),1),$P=n(y(),1),ev=(0,$P.jsx)(J_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,$P.jsx)(J_.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 ex=n(M(),1),qP=n(y(),1),tv=(0,qP.jsx)(ex.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,qP.jsx)(ex.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12.848 8a1 1 0 0 1-.914-.594l-.723-1.63a.5.5 0 0 0-.447-.276H5a.5.5 0 0 0-.5.5v11.5a.5.5 0 0 0 .5.5h14a.5.5 0 0 0 .5-.5v-9A.5.5 0 0 0 19 8h-6.152Zm.612-1.5a.5.5 0 0 1-.462-.31l-.445-1.084A2 2 0 0 0 10.763 4H5a2 2 0 0 0-2 2v11.5a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-9a2 2 0 0 0-2-2h-5.54Z"})});var tx=n(M(),1),ZP=n(y(),1),KP=(0,ZP.jsx)(tx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,ZP.jsx)(tx.Path,{d:"M4 6v12c0 1.1.9 2 2 2h3v-1.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h3V4H6c-1.1 0-2 .9-2 2zm7.2 16h1.5V2h-1.5v20zM15 5.5h1.5V4H15v1.5zm3.5.5H20c0-1.1-.9-2-2-2v1.5c.3 0 .5.2.5.5zm0 10.5H20v-2h-1.5v2zm0-3.5H20v-2h-1.5v2zm-.5 5.5V20c1.1 0 2-.9 2-2h-1.5c0 .3-.2.5-.5.5zM15 20h1.5v-1.5H15V20zm3.5-10.5H20v-2h-1.5v2z"})});var rx=n(M(),1),YP=n(y(),1),QP=(0,YP.jsx)(rx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,YP.jsx)(rx.Path,{d:"M2 11.2v1.5h20v-1.5H2zM5.5 6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v3H20V6c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v3h1.5V6zm2 14h2v-1.5h-2V20zm3.5 0h2v-1.5h-2V20zm7-1.5V20c1.1 0 2-.9 2-2h-1.5c0 .3-.2.5-.5.5zm.5-2H20V15h-1.5v1.5zM5.5 18H4c0 1.1.9 2 2 2v-1.5c-.3 0-.5-.2-.5-.5zm0-3H4v1.5h1.5V15zm9 5h2v-1.5h-2V20z"})});var ox=n(M(),1),XP=n(y(),1),JP=(0,XP.jsx)(ox.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,XP.jsx)(ox.Path,{fillRule:"evenodd",d:"M18 5.5h-8v8h8.5V6a.5.5 0 00-.5-.5zm-9.5 8h-3V6a.5.5 0 01.5-.5h2.5v8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})});var nx=n(M(),1),eE=n(y(),1),tE=(0,eE.jsx)(nx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,eE.jsx)(nx.Path,{d:"M20 5.5H4V4H20V5.5ZM12 12.5H4V11H12V12.5ZM20 20V18.5H4V20H20ZM20.0303 9.03033L17.0607 12L20.0303 14.9697L18.9697 16.0303L15.4697 12.5303L14.9393 12L15.4697 11.4697L18.9697 7.96967L20.0303 9.03033Z"})});var ax=n(M(),1),rE=n(y(),1),oE=(0,rE.jsx)(ax.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,rE.jsx)(ax.Path,{d:"M4 7.2v1.5h16V7.2H4zm8 8.6h8v-1.5h-8v1.5zm-8-3.5l3 3-3 3 1 1 4-4-4-4-1 1z"})});var ix=n(M(),1),nE=n(y(),1),rv=(0,nE.jsx)(ix.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,nE.jsx)(ix.Path,{d:"M4 8.8h8.9V7.2H4v1.6zm0 7h8.9v-1.5H4v1.5zM18 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"})});var lx=n(M(),1),aE=n(y(),1),ov=(0,aE.jsx)(lx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,aE.jsx)(lx.Path,{d:"M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM6 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-7c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"})});var sx=n(M(),1),iE=n(y(),1),nv=(0,iE.jsx)(sx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,iE.jsx)(sx.Path,{d:"M3.8 15.8h8.9v-1.5H3.8v1.5zm0-7h8.9V7.2H3.8v1.6zm14.7-2.1V10h1V5.3l-2.2.7.3 1 .9-.3zm1.2 6.1c-.5-.6-1.2-.5-1.7-.4-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5H20v-1h-.9c.3-.6.8-1.4.9-2.1 0-.3 0-.8-.3-1.1z"})});var cx=n(M(),1),lE=n(y(),1),il=(0,lE.jsx)(cx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,lE.jsx)(cx.Path,{d:"M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM5 6.7V10h1V5.3L3.8 6l.4 1 .8-.3zm-.4 5.7c-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5h2.7v-1h-1c.3-.6.8-1.4.9-2.1.1-.3 0-.8-.2-1.1-.5-.6-1.3-.5-1.7-.4z"})});var ux=n(M(),1),sE=n(y(),1),cE=(0,sE.jsx)(ux.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,sE.jsx)(ux.Path,{d:"M3 9c0 2.8 2.2 5 5 5v-.2V20h1.5V5.5H12V20h1.5V5.5h3V4H8C5.2 4 3 6.2 3 9Zm15.9-1-1.1 1 2.6 3-2.6 3 1.1 1 3.4-4-3.4-4Z"})});var px=n(M(),1),uE=n(y(),1),av=(0,uE.jsx)(px.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,uE.jsx)(px.Path,{d:"M20 5.5H4V4H20V5.5ZM12 12.5H4V11H12V12.5ZM20 20V18.5H4V20H20ZM15.4697 14.9697L18.4393 12L15.4697 9.03033L16.5303 7.96967L20.0303 11.4697L20.5607 12L20.0303 12.5303L16.5303 16.0303L15.4697 14.9697Z"})});var mx=n(M(),1),pE=n(y(),1),iv=(0,pE.jsx)(mx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,pE.jsx)(mx.Path,{d:"M4 7.2v1.5h16V7.2H4zm8 8.6h8v-1.5h-8v1.5zm-4-4.6l-4 4 4 4 1-1-3-3 3-3-1-1z"})});var dx=n(M(),1),mE=n(y(),1),od=(0,mE.jsx)(dx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,mE.jsx)(dx.Path,{d:"M6 4a2 2 0 0 0-2 2v3h1.5V6a.5.5 0 0 1 .5-.5h3V4H6Zm3 14.5H6a.5.5 0 0 1-.5-.5v-3H4v3a2 2 0 0 0 2 2h3v-1.5Zm6 1.5v-1.5h3a.5.5 0 0 0 .5-.5v-3H20v3a2 2 0 0 1-2 2h-3Zm3-16a2 2 0 0 1 2 2v3h-1.5V6a.5.5 0 0 0-.5-.5h-3V4h3Z"})});var fx=n(M(),1),dE=n(y(),1),lv=(0,dE.jsx)(fx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,dE.jsx)(fx.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M16.375 4.5H4.625a.125.125 0 0 0-.125.125v8.254l2.859-1.54a.75.75 0 0 1 .68-.016l2.384 1.142 2.89-2.074a.75.75 0 0 1 .874 0l2.313 1.66V4.625a.125.125 0 0 0-.125-.125Zm.125 9.398-2.75-1.975-2.813 2.02a.75.75 0 0 1-.76.067l-2.444-1.17L4.5 14.583v1.792c0 .069.056.125.125.125h11.75a.125.125 0 0 0 .125-.125v-2.477ZM4.625 3C3.728 3 3 3.728 3 4.625v11.75C3 17.273 3.728 18 4.625 18h11.75c.898 0 1.625-.727 1.625-1.625V4.625C18 3.728 17.273 3 16.375 3H4.625ZM20 8v11c0 .69-.31 1-.999 1H6v1.5h13.001c1.52 0 2.499-.982 2.499-2.5V8H20Z"})});var hx=n(M(),1),fE=n(y(),1),Kl=(0,fE.jsx)(hx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,fE.jsx)(hx.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"m3 5c0-1.10457.89543-2 2-2h13.5c1.1046 0 2 .89543 2 2v13.5c0 1.1046-.8954 2-2 2h-13.5c-1.10457 0-2-.8954-2-2zm2-.5h6v6.5h-6.5v-6c0-.27614.22386-.5.5-.5zm-.5 8v6c0 .2761.22386.5.5.5h6v-6.5zm8 0v6.5h6c.2761 0 .5-.2239.5-.5v-6zm0-8v6.5h6.5v-6c0-.27614-.2239-.5-.5-.5z"})});var gx=n(M(),1),hE=n(y(),1),nd=(0,hE.jsx)(gx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,hE.jsx)(gx.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z"})});var vx=n(M(),1),gE=n(y(),1),vE=(0,gE.jsx)(vx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,gE.jsx)(vx.Path,{d:"M18.5 10.5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})});var bx=n(M(),1),bE=n(y(),1),yE=(0,bE.jsx)(bx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,bE.jsx)(bx.Path,{d:"M17.6 7c-.6.9-1.5 1.7-2.6 2v1h2v7h2V7h-1.4zM11 11H7V7H5v10h2v-4h4v4h2V7h-2v4z"})});var yx=n(M(),1),_E=n(y(),1),xE=(0,_E.jsx)(yx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,_E.jsx)(yx.Path,{d:"M9 11.1H5v-4H3v10h2v-4h4v4h2v-10H9v4zm8 4c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6v1.5h8v-2H17z"})});var _x=n(M(),1),kE=n(y(),1),wE=(0,kE.jsx)(_x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,kE.jsx)(_x.Path,{d:"M9 11H5V7H3v10h2v-4h4v4h2V7H9v4zm11.3 1.7c-.4-.4-1-.7-1.6-.8v-.1c.6-.2 1.1-.5 1.5-.9.3-.4.5-.8.5-1.3 0-.4-.1-.8-.3-1.1-.2-.3-.5-.6-.8-.8-.4-.2-.8-.4-1.2-.5-.6-.1-1.1-.2-1.6-.2-.6 0-1.3.1-1.8.3s-1.1.5-1.6.9l1.2 1.4c.4-.2.7-.4 1.1-.6.3-.2.7-.3 1.1-.3.4 0 .8.1 1.1.3.3.2.4.5.4.8 0 .4-.2.7-.6.9-.7.3-1.5.5-2.2.4v1.6c.5 0 1 0 1.5.1.3.1.7.2 1 .3.2.1.4.2.5.4s.1.4.1.6c0 .3-.2.7-.5.8-.4.2-.9.3-1.4.3s-1-.1-1.4-.3c-.4-.2-.8-.4-1.2-.7L13 15.6c.5.4 1 .8 1.6 1 .7.3 1.5.4 2.3.4.6 0 1.1-.1 1.6-.2.4-.1.9-.2 1.3-.5.4-.2.7-.5.9-.9.2-.4.3-.8.3-1.2 0-.6-.3-1.1-.7-1.5z"})});var xx=n(M(),1),CE=n(y(),1),SE=(0,CE.jsx)(xx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,CE.jsx)(xx.Path,{d:"M20 13V7h-3l-4 6v2h5v2h2v-2h1v-2h-1zm-2 0h-2.8L18 9v4zm-9-2H5V7H3v10h2v-4h4v4h2V7H9v4z"})});var kx=n(M(),1),TE=n(y(),1),PE=(0,TE.jsx)(kx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,TE.jsx)(kx.Path,{d:"M9 11H5V7H3v10h2v-4h4v4h2V7H9v4zm11.7 1.2c-.2-.3-.5-.7-.8-.9-.3-.3-.7-.5-1.1-.6-.5-.1-.9-.2-1.4-.2-.2 0-.5.1-.7.1-.2.1-.5.1-.7.2l.1-1.9h4.3V7H14l-.3 5 1 .6.5-.2.4-.1c.1-.1.3-.1.4-.1h.5c.5 0 1 .1 1.4.4.4.2.6.7.6 1.1 0 .4-.2.8-.6 1.1-.4.3-.9.4-1.4.4-.4 0-.9-.1-1.3-.3-.4-.2-.7-.4-1.1-.7 0 0-1.1 1.4-1 1.5.5.4 1 .8 1.6 1 .7.3 1.5.4 2.3.4.5 0 1-.1 1.5-.3s.9-.4 1.3-.7c.4-.3.7-.7.9-1.1s.3-.9.3-1.4-.1-1-.3-1.4z"})});var wx=n(M(),1),EE=n(y(),1),BE=(0,EE.jsx)(wx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,EE.jsx)(wx.Path,{d:"M20.7 12.4c-.2-.3-.4-.6-.7-.9s-.6-.5-1-.6c-.4-.2-.8-.2-1.2-.2-.5 0-.9.1-1.3.3s-.8.5-1.2.8c0-.5 0-.9.2-1.4l.6-.9c.2-.2.5-.4.8-.5.6-.2 1.3-.2 1.9 0 .3.1.6.3.8.5 0 0 1.3-1.3 1.3-1.4-.4-.3-.9-.6-1.4-.8-.6-.2-1.3-.3-2-.3-.6 0-1.1.1-1.7.4-.5.2-1 .5-1.4.9-.4.4-.8 1-1 1.6-.3.7-.4 1.5-.4 2.3s.1 1.5.3 2.1c.2.6.6 1.1 1 1.5.4.4.9.7 1.4.9 1 .3 2 .3 3 0 .4-.1.8-.3 1.2-.6.3-.3.6-.6.8-1 .2-.5.3-.9.3-1.4s-.1-.9-.3-1.3zm-2 2.1c-.1.2-.3.4-.4.5-.1.1-.3.2-.5.2-.2.1-.4.1-.6.1-.2.1-.5 0-.7-.1-.2 0-.3-.2-.5-.3-.1-.2-.3-.4-.4-.6-.2-.3-.3-.7-.3-1 .3-.3.6-.5 1-.7.3-.1.7-.2 1-.2.4 0 .8.1 1.1.3.3.3.4.7.4 1.1 0 .2 0 .5-.1.7zM9 11H5V7H3v10h2v-4h4v4h2V7H9v4z"})});var Cx=n(M(),1),NE=n(y(),1),IE=(0,NE.jsx)(Cx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,NE.jsx)(Cx.Path,{d:"M6 5V18.5911L12 13.8473L18 18.5911V5H6Z"})});var Sx=n(M(),1),DE=n(y(),1),LE=(0,DE.jsx)(Sx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,DE.jsx)(Sx.Path,{d:"M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z"})});var Tx=n(M(),1),RE=n(y(),1),AE=(0,RE.jsx)(Tx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,RE.jsx)(Tx.Path,{d:"M4.8 11.4H2.1V9H1v6h1.1v-2.6h2.7V15h1.1V9H4.8v2.4zm1.9-1.3h1.7V15h1.1v-4.9h1.7V9H6.7v1.1zM16.2 9l-1.5 2.7L13.3 9h-.9l-.8 6h1.1l.5-4 1.5 2.8 1.5-2.8.5 4h1.1L17 9h-.8zm3.8 5V9h-1.1v6h3.6v-1H20z"})});var Px=n(M(),1),ME=n(y(),1),pp=(0,ME.jsx)(Px.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,ME.jsx)(Px.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})});var Ex=n(M(),1),zE=n(y(),1),VE=(0,zE.jsx)(Ex.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,zE.jsx)(Ex.Path,{d:"m6.734 16.106 2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.158 1.093-1.028-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734Z"})});var Bx=n(M(),1),OE=n(y(),1),ad=(0,OE.jsx)(Bx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,OE.jsx)(Bx.Path,{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})});var Nx=n(M(),1),FE=n(y(),1),sv=(0,FE.jsx)(Nx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,FE.jsx)(Nx.Path,{d:"M17.031 4.703 15.576 4l-1.56 3H14v.03l-2.324 4.47H9.5V13h1.396l-1.502 2.889h-.95a3.694 3.694 0 0 1 0-7.389H10V7H8.444a5.194 5.194 0 1 0 0 10.389h.17L7.5 19.53l1.416.719L15.049 8.5h.507a3.694 3.694 0 0 1 0 7.39H14v1.5h1.556a5.194 5.194 0 0 0 .273-10.383l1.202-2.304Z"})});var Ix=n(M(),1),HE=n(y(),1),di=(0,HE.jsx)(Ix.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,HE.jsx)(Ix.Path,{d:"M10 17.389H8.444A5.194 5.194 0 1 1 8.444 7H10v1.5H8.444a3.694 3.694 0 0 0 0 7.389H10v1.5ZM14 7h1.556a5.194 5.194 0 0 1 0 10.39H14v-1.5h1.556a3.694 3.694 0 0 0 0-7.39H14V7Zm-4.5 6h5v-1.5h-5V13Z"})});var Dx=n(M(),1),jE=n(y(),1),UE=(0,jE.jsx)(Dx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,jE.jsx)(Dx.Path,{d:"M12 11v1.5h8V11h-8zm-6-1c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"})});var Lx=n(M(),1),GE=n(y(),1),Yl=(0,GE.jsx)(Lx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,GE.jsx)(Lx.Path,{d:"M4 4v1.5h16V4H4zm8 8.5h8V11h-8v1.5zM4 20h16v-1.5H4V20zm4-8c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2z"})});var Rx=n(M(),1),WE=n(y(),1),$E=(0,WE.jsx)(Rx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,WE.jsx)(Rx.Path,{d:"M11 14.5l1.1 1.1 3-3 .5-.5-.6-.6-3-3-1 1 1.7 1.7H5v1.5h7.7L11 14.5zM16.8 5h-7c-1.1 0-2 .9-2 2v1.5h1.5V7c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v10c0 .3-.2.5-.5.5h-7c-.3 0-.5-.2-.5-.5v-1.5H7.8V17c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2z"})});var Ax=n(M(),1),qE=n(y(),1),id=(0,qE.jsx)(Ax.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,qE.jsx)(Ax.Path,{d:"M18.1823 11.6392C18.1823 13.0804 17.0139 14.2487 15.5727 14.2487C14.3579 14.2487 13.335 13.4179 13.0453 12.2922L13.0377 12.2625L13.0278 12.2335L12.3985 10.377L12.3942 10.3785C11.8571 8.64997 10.246 7.39405 8.33961 7.39405C5.99509 7.39405 4.09448 9.29465 4.09448 11.6392C4.09448 13.9837 5.99509 15.8843 8.33961 15.8843C8.88499 15.8843 9.40822 15.781 9.88943 15.5923L9.29212 14.0697C8.99812 14.185 8.67729 14.2487 8.33961 14.2487C6.89838 14.2487 5.73003 13.0804 5.73003 11.6392C5.73003 10.1979 6.89838 9.02959 8.33961 9.02959C9.55444 9.02959 10.5773 9.86046 10.867 10.9862L10.8772 10.9836L11.4695 12.7311C11.9515 14.546 13.6048 15.8843 15.5727 15.8843C17.9172 15.8843 19.8178 13.9837 19.8178 11.6392C19.8178 9.29465 17.9172 7.39404 15.5727 7.39404C15.0287 7.39404 14.5066 7.4968 14.0264 7.6847L14.6223 9.20781C14.9158 9.093 15.2358 9.02959 15.5727 9.02959C17.0139 9.02959 18.1823 10.1979 18.1823 11.6392Z"})});var Mx=n(M(),1),ZE=n(y(),1),KE=(0,ZE.jsx)(Mx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,ZE.jsx)(Mx.Path,{d:"M12 9c-.8 0-1.5.7-1.5 1.5S11.2 12 12 12s1.5-.7 1.5-1.5S12.8 9 12 9zm0-5c-3.6 0-6.5 2.8-6.5 6.2 0 .8.3 1.8.9 3.1.5 1.1 1.2 2.3 2 3.6.7 1 3 3.8 3.2 3.9l.4.5.4-.5c.2-.2 2.6-2.9 3.2-3.9.8-1.2 1.5-2.5 2-3.6.6-1.3.9-2.3.9-3.1C18.5 6.8 15.6 4 12 4zm4.3 8.7c-.5 1-1.1 2.2-1.9 3.4-.5.7-1.7 2.2-2.4 3-.7-.8-1.9-2.3-2.4-3-.8-1.2-1.4-2.3-1.9-3.3-.6-1.4-.7-2.2-.7-2.5 0-2.6 2.2-4.7 5-4.7s5 2.1 5 4.7c0 .2-.1 1-.7 2.4z"})});var zx=n(M(),1),YE=n(y(),1),QE=(0,YE.jsx)(zx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,YE.jsx)(zx.Path,{d:"M11.2 6.8c-.7 0-1.4.5-1.6 1.1l-2.8 7.5-1.2-1.8c-.1-.2-.4-.3-.6-.3H3v1.5h1.6l1.2 1.8c.6.9 1.9.7 2.2-.3l2.9-7.9s.1-.2.2-.2h7.8V6.7h-7.8Zm5.3 3.4-1.9 1.9-1.9-1.9-1.1 1.1 1.9 1.9-1.9 1.9 1.1 1.1 1.9-1.9 1.9 1.9 1.1-1.1-1.9-1.9 1.9-1.9-1.1-1.1Z"})});var Vx=n(M(),1),XE=n(y(),1),JE=(0,XE.jsx)(Vx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,XE.jsx)(Vx.Path,{d:"M3 6v11.5h8V6H3Zm11 3h7V7.5h-7V9Zm7 3.5h-7V11h7v1.5ZM14 16h7v-1.5h-7V16Z"})});var cv=n(M(),1),uv=n(y(),1),pv=(0,uv.jsxs)(cv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,uv.jsx)(cv.Path,{d:"m7 6.5 4 2.5-4 2.5z"}),(0,uv.jsx)(cv.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"m5 3c-1.10457 0-2 .89543-2 2v14c0 1.1046.89543 2 2 2h14c1.1046 0 2-.8954 2-2v-14c0-1.10457-.8954-2-2-2zm14 1.5h-14c-.27614 0-.5.22386-.5.5v10.7072l3.62953-2.6465c.25108-.1831.58905-.1924.84981-.0234l2.92666 1.8969 3.5712-3.4719c.2911-.2831.7545-.2831 1.0456 0l2.9772 2.8945v-9.3568c0-.27614-.2239-.5-.5-.5zm-14.5 14.5v-1.4364l4.09643-2.987 2.99567 1.9417c.2936.1903.6798.1523.9307-.0917l3.4772-3.3806 3.4772 3.3806.0228-.0234v2.5968c0 .2761-.2239.5-.5.5h-14c-.27614 0-.5-.2239-.5-.5z"})]});var Ox=n(M(),1),eB=n(y(),1),tB=(0,eB.jsx)(Ox.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,eB.jsx)(Ox.Path,{d:"M5 5v1.5h14V5H5zm0 7.8h14v-1.5H5v1.5zM5 19h14v-1.5H5V19z"})});var Fx=n(M(),1),rB=n(y(),1),mv=(0,rB.jsx)(Fx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,rB.jsx)(Fx.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"})});var Hx=n(M(),1),oB=n(y(),1),nB=(0,oB.jsx)(Hx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,oB.jsx)(Hx.Path,{d:"M4 9v1.5h16V9H4zm12 5.5h4V13h-4v1.5zm-6 0h4V13h-4v1.5zm-6 0h4V13H4v1.5z"})});var jx=n(M(),1),aB=n(y(),1),iB=(0,aB.jsx)(jx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,aB.jsx)(jx.Path,{d:"M18.5 10a1.5 1.5 0 0 1 1.5 1.5v7a1.5 1.5 0 0 1-1.5 1.5h-7a1.5 1.5 0 0 1-1.5-1.5v-7a1.5 1.5 0 0 1 1.5-1.5zM16 4a2 2 0 0 1 2 2v2h-1.5V6a.5.5 0 0 0-.5-.5H6a.5.5 0 0 0-.5.5v3H8v1.5H5.5V16a.5.5 0 0 0 .5.5h2V18H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z"})});var Ux=n(M(),1),lB=n(y(),1),ld=(0,lB.jsx)(Ux.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,lB.jsx)(Ux.Path,{d:"M12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 14.5c-3.6 0-6.5-2.9-6.5-6.5S8.4 5.5 12 5.5s6.5 2.9 6.5 6.5-2.9 6.5-6.5 6.5zM9 16l4.5-3L15 8.4l-4.5 3L9 16z"})});var Gx=n(M(),1),sB=n(y(),1),cB=(0,sB.jsx)(Gx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,sB.jsx)(Gx.Path,{d:"M6.6 6L5.4 7l4.5 5-4.5 5 1.1 1 5.5-6-5.4-6zm6 0l-1.1 1 4.5 5-4.5 5 1.1 1 5.5-6-5.5-6z"})});var Wx=n(M(),1),uB=n(y(),1),pB=(0,uB.jsx)(Wx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,uB.jsx)(Wx.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12-9.8c.4 0 .8-.3.9-.7l1.1-3h3.6l.5 1.7h1.9L13 9h-2.2l-3.4 9.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12H20V6c0-1.1-.9-2-2-2zm-6 7l1.4 3.9h-2.7L12 11z"})});var $x=n(M(),1),mB=n(y(),1),dB=(0,mB.jsx)($x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,mB.jsx)($x.Path,{d:"M17.5 9V6a2 2 0 0 0-2-2h-7a2 2 0 0 0-2 2v3H8V6a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v3h1.5Zm0 6.5V18a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-2.5H8V18a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 .5-.5v-2.5h1.5ZM4 13h16v-1.5H4V13Z"})});var dv=n(M(),1),fv=n(y(),1),au=(0,fv.jsxs)(dv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,fv.jsx)(dv.Path,{d:"M15.5 7.5h-7V9h7V7.5Zm-7 3.5h7v1.5h-7V11Zm7 3.5h-7V16h7v-1.5Z"}),(0,fv.jsx)(dv.Path,{d:"M17 4H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2ZM7 5.5h10a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H7a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5Z"})]});var yh=n(M(),1),_h=n(y(),1),fB=(0,_h.jsxs)(yh.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,_h.jsx)(yh.Path,{d:"M14.5 5.5h-7V7h7V5.5ZM7.5 9h7v1.5h-7V9Zm7 3.5h-7V14h7v-1.5Z"}),(0,_h.jsx)(yh.Path,{d:"M16 2H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2ZM6 3.5h10a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V4a.5.5 0 0 1 .5-.5Z"}),(0,_h.jsx)(yh.Path,{d:"M20 8v11c0 .69-.31 1-.999 1H6v1.5h13.001c1.52 0 2.499-.982 2.499-2.5V8H20Z"})]});var qx=n(M(),1),hB=n(y(),1),gB=(0,hB.jsx)(qx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,hB.jsx)(qx.Path,{d:"m9.99609 14v-.2251l.00391.0001v6.225h1.5v-14.5h2.5v14.5h1.5v-14.5h3v-1.5h-8.50391c-2.76142 0-5 2.23858-5 5 0 2.7614 2.23858 5 5 5z"})});var Zx=n(M(),1),vB=n(y(),1),sd=(0,vB.jsx)(Zx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,vB.jsx)(Zx.Path,{d:"m19 7-3-3-8.5 8.5-1 4 4-1L19 7Zm-7 11.5H5V20h7v-1.5Z"})});var Kx=n(M(),1),bB=n(y(),1),hv=(0,bB.jsx)(Kx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,bB.jsx)(Kx.Path,{d:"m21.5 9.1-6.6-6.6-4.2 5.6c-1.2-.1-2.4.1-3.6.7-.1 0-.1.1-.2.1-.5.3-.9.6-1.2.9l3.7 3.7-5.7 5.7v1.1h1.1l5.7-5.7 3.7 3.7c.4-.4.7-.8.9-1.2.1-.1.1-.2.2-.3.6-1.1.8-2.4.6-3.6l5.6-4.1zm-7.3 3.5.1.9c.1.9 0 1.8-.4 2.6l-6-6c.8-.4 1.7-.5 2.6-.4l.9.1L15 4.9 19.1 9l-4.9 3.6z"})});var Yx=n(M(),1),yB=n(y(),1),_B=(0,yB.jsx)(Yx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,yB.jsx)(Yx.Path,{d:"M16.1 5.7h-.3c-1 0-2.2 0-2.8.6-.3.4-.5.9-.5 1.6v7.3c0 .7-.2 1.7-.7 2.5C11.3 19 10 20 8.5 20 6.6 20 5 18.4 5 16.5S6.6 13 8.5 13c1 0 1.9.4 2.5 1V7.9c0-1.1.3-2 .9-2.6 1-1 2.6-1 3.8-1h.4zM19.5 12l-4 3V9z"})});var Qx=n(M(),1),xB=n(y(),1),gv=(0,xB.jsx)(Qx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,xB.jsx)(Qx.Path,{d:"M16.1 5.7h-.3c-1 0-2.2 0-2.8.6-.3.4-.5.9-.5 1.6v7.3c0 .7-.2 1.7-.7 2.5C11.3 19 10 20 8.5 20 6.6 20 5 18.4 5 16.5S6.6 13 8.5 13c1 0 1.9.4 2.5 1V7.9c0-1.1.3-2 .9-2.6 1-1 2.6-1 3.8-1h.4zM20 15.75h-5v-1.5h5zM20 10.75h-5v-1.5h5z"})});var Xx=n(M(),1),kB=n(y(),1),wB=(0,kB.jsx)(Xx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,kB.jsx)(Xx.Path,{d:"M10.5 4v4h3V4H15v4h1.5a1 1 0 011 1v4l-3 4v2a1 1 0 01-1 1h-3a1 1 0 01-1-1v-2l-3-4V9a1 1 0 011-1H9V4h1.5zm.5 12.5v2h2v-2l3-4v-3H8v3l3 4z"})});var Jx=n(M(),1),CB=n(y(),1),xh=(0,CB.jsx)(Jx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,CB.jsx)(Jx.Path,{d:"M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z"})});var ek=n(M(),1),SB=n(y(),1),TB=(0,SB.jsx)(ek.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,SB.jsx)(ek.Path,{d:"M19 5.5H5V4h14v1.5ZM19 20H5v-1.5h14V20ZM7 9h10v6H7V9Z"})});var tk=n(M(),1),PB=n(y(),1),EB=(0,PB.jsx)(tk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,PB.jsx)(tk.Path,{d:"M5 5.5h8V4H5v1.5ZM5 20h8v-1.5H5V20ZM19 9H5v6h14V9Z"})});var rk=n(M(),1),BB=n(y(),1),NB=(0,BB.jsx)(rk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,BB.jsx)(rk.Path,{d:"M19 5.5h-8V4h8v1.5ZM19 20h-8v-1.5h8V20ZM5 9h14v6H5V9Z"})});var ok=n(M(),1),IB=n(y(),1),cd=(0,IB.jsx)(ok.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,IB.jsx)(ok.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M10 4.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0zm2.25 7.5v-1A2.75 2.75 0 0011 8.25H7A2.75 2.75 0 004.25 11v1h1.5v-1c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v1h1.5zM4 20h9v-1.5H4V20zm16-4H4v-1.5h16V16z"})});var nk=n(M(),1),DB=n(y(),1),kh=(0,DB.jsx)(nk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,DB.jsx)(nk.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M20 4H4v1.5h16V4zm-2 9h-3c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2zm.5 5c0 .3-.2.5-.5.5h-3c-.3 0-.5-.2-.5-.5v-3c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v3zM4 9.5h9V8H4v1.5zM9 13H6c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2zm.5 5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-3c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v3z"})});var ak=n(M(),1),LB=n(y(),1),vv=(0,LB.jsx)(ak.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,LB.jsx)(ak.Path,{d:"M13 8H4v1.5h9V8zM4 4v1.5h16V4H4zm9 8H5c-.6 0-1 .4-1 1v8.3c0 .3.2.7.6.8.1.1.2.1.3.1.2 0 .5-.1.6-.3l1.8-1.8H13c.6 0 1-.4 1-1V13c0-.6-.4-1-1-1zm-2.2 6.6H7l1.6-2.2c.3-.4.5-.7.6-.9.1-.2.2-.4.2-.5 0-.2-.1-.3-.1-.4-.1-.1-.2-.1-.4-.1s-.4 0-.6.1c-.3.1-.5.3-.7.4l-.2.2-.2-1.2.1-.1c.3-.2.5-.3.8-.4.3-.1.6-.1.9-.1.3 0 .6.1.9.2.2.1.4.3.6.5.1.2.2.5.2.7 0 .3-.1.6-.2.9-.1.3-.4.7-.7 1.1l-.5.6h1.6v1.2z"})});var ik=n(M(),1),RB=n(y(),1),AB=(0,RB.jsx)(ik.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,RB.jsx)(ik.Path,{d:"M13 8H4v1.5h9V8zM4 4v1.5h16V4H4zm9 8H5c-.6 0-1 .4-1 1v8.3c0 .3.2.7.6.8.1.1.2.1.3.1.2 0 .5-.1.6-.3l1.8-1.8H13c.6 0 1-.4 1-1V13c0-.6-.4-1-1-1zm-.5 6.6H6.7l-1.2 1.2v-6.3h7v5.1z"})});var lk=n(M(),1),MB=n(y(),1),zB=(0,MB.jsx)(lk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,MB.jsx)(lk.Path,{d:"M14 10.1V4c0-.6-.4-1-1-1H5c-.6 0-1 .4-1 1v8.3c0 .3.2.7.6.8.1.1.2.1.3.1.2 0 .5-.1.6-.3l1.8-1.8H13c.6 0 1-.4 1-1zm-1.5-.5H6.7l-1.2 1.2V4.5h7v5.1zM19 12h-8c-.6 0-1 .4-1 1v6.1c0 .6.4 1 1 1h5.7l1.8 1.8c.1.2.4.3.6.3.1 0 .2 0 .3-.1.4-.1.6-.5.6-.8V13c0-.6-.4-1-1-1zm-.5 7.8l-1.2-1.2h-5.8v-5.1h7v6.3z"})});var sk=n(M(),1),VB=n(y(),1),OB=(0,VB.jsx)(sk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,VB.jsx)(sk.Path,{d:"M4 6h12V4.5H4V6Zm16 4.5H4V9h16v1.5ZM4 15h16v-1.5H4V15Zm0 4.5h16V18H4v1.5Z"})});var bv=n(M(),1),yv=n(y(),1),_v=(0,yv.jsxs)(bv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,yv.jsx)(bv.Path,{d:"M11.696 13.972c.356-.546.599-.958.728-1.235a1.79 1.79 0 00.203-.783c0-.264-.077-.47-.23-.618-.148-.153-.354-.23-.618-.23-.295 0-.569.07-.82.212a3.413 3.413 0 00-.738.571l-.147-1.188c.289-.234.59-.41.903-.526.313-.117.66-.175 1.041-.175.375 0 .695.08.959.24.264.153.46.362.59.626.135.265.203.556.203.876 0 .362-.08.734-.24 1.115-.154.381-.427.87-.82 1.466l-.756 1.152H14v1.106h-4l1.696-2.609z"}),(0,yv.jsx)(bv.Path,{d:"M19.5 7h-15v12a.5.5 0 00.5.5h14a.5.5 0 00.5-.5V7zM3 7V5a2 2 0 012-2h14a2 2 0 012 2v14a2 2 0 01-2 2H5a2 2 0 01-2-2V7z"})]});var ck=n(M(),1),FB=n(y(),1),HB=(0,FB.jsx)(ck.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,FB.jsx)(ck.Path,{d:"M8.001 3.984V9.47c0 1.518-.98 2.5-2.499 2.5h-.5v-1.5h.5c.69 0 1-.31 1-1V6.984H4v-3h4.001ZM4 20h9v-1.5H4V20Zm16-4H4v-1.5h16V16ZM13.001 3.984V9.47c0 1.518-.98 2.5-2.499 2.5h-.5v-1.5h.5c.69 0 1-.31 1-1V6.984H9v-3h4.001Z"})});var uk=n(M(),1),jB=n(y(),1),UB=(0,jB.jsx)(uk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,jB.jsx)(uk.Path,{d:"M19 3H5c-.6 0-1 .4-1 1v7c0 .5.4 1 1 1h14c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1zM5.5 10.5v-.4l1.8-1.3 1.3.8c.3.2.7.2.9-.1L11 8.1l2.4 2.4H5.5zm13 0h-2.9l-4-4c-.3-.3-.8-.3-1.1 0L8.9 8l-1.2-.8c-.3-.2-.6-.2-.9 0l-1.3 1V4.5h13v6zM4 20h9v-1.5H4V20zm0-4h16v-1.5H4V16z"})});var pk=n(M(),1),GB=n(y(),1),xv=(0,GB.jsx)(pk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,GB.jsx)(pk.Path,{d:"M18 5.5H6a.5.5 0 0 0-.5.5v12a.5.5 0 0 0 .5.5h12a.5.5 0 0 0 .5-.5V6a.5.5 0 0 0-.5-.5ZM6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm1 5h1.5v1.5H7V9Zm1.5 4.5H7V15h1.5v-1.5ZM10 9h7v1.5h-7V9Zm7 4.5h-7V15h7v-1.5Z"})});var mk=n(M(),1),WB=n(y(),1),$B=(0,WB.jsx)(mk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,WB.jsx)(mk.Path,{d:"M8.1 12.3c.1.1.3.3.5.3.2.1.4.1.6.1.2 0 .4 0 .6-.1.2-.1.4-.2.5-.3l3-3c.3-.3.5-.7.5-1.1 0-.4-.2-.8-.5-1.1L9.7 3.5c-.1-.2-.3-.3-.5-.3H5c-.4 0-.8.4-.8.8v4.2c0 .2.1.4.2.5l3.7 3.6zM5.8 4.8h3.1l3.4 3.4v.1l-3 3 .5.5-.7-.5-3.3-3.4V4.8zM4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4z"})});var dk=n(M(),1),qB=n(y(),1),ZB=(0,qB.jsx)(dk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,qB.jsx)(dk.Path,{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.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12zM7 16.5h6V15H7v1.5zm4-4h6V11h-6v1.5zM9 11H7v1.5h2V11zm6 5.5h2V15h-2v1.5z"})});var fk=n(M(),1),KB=n(y(),1),YB=(0,KB.jsx)(fk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,KB.jsx)(fk.Path,{d:"M11.6 7l-1.1-1L5 12l5.5 6 1.1-1L7 12l4.6-5zm6 0l-1.1-1-5.5 6 5.5 6 1.1-1-4.6-5 4.6-5z"})});var hk=n(M(),1),QB=n(y(),1),XB=(0,QB.jsx)(hk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,QB.jsx)(hk.Path,{d:"M4 18h6V6H4v12zm9-9.5V10h7V8.5h-7zm0 7h7V14h-7v1.5z"})});var gk=n(M(),1),JB=n(y(),1),eN=(0,JB.jsx)(gk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,JB.jsx)(gk.Path,{d:"M14 6v12h6V6h-6zM4 10h7V8.5H4V10zm0 5.5h7V14H4v1.5z"})});var vk=n(M(),1),tN=n(y(),1),rN=(0,tN.jsx)(vk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,tN.jsx)(vk.Path,{d:"M18 8H6c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm.5 6c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-4c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v4zM4 4v1.5h16V4H4zm0 16h16v-1.5H4V20z"})});var bk=n(M(),1),oN=n(y(),1),kv=(0,oN.jsx)(bk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,oN.jsx)(bk.Path,{d:"M5 13.5h3v-3H5v3zm5 0h3v-3h-3v3zM17 9l-1 1 2 2-2 2 1 1 3-3-3-3z"})});var yk=n(M(),1),nN=n(y(),1),wv=(0,nN.jsx)(yk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,nN.jsx)(yk.Path,{d:"M4 13.5h6v-3H4v3zm8.2-2.5.8-.3V14h1V9.3l-2.2.7.4 1zm7.1-1.2c-.5-.6-1.2-.5-1.7-.4-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5h2.7v-1h-.9c.3-.6.8-1.4.9-2.1 0-.3-.1-.8-.3-1.1z"})});var _k=n(M(),1),aN=n(y(),1),Cv=(0,aN.jsx)(_k.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,aN.jsx)(_k.Path,{d:"M16 10.5v3h3v-3h-3zm-5 3h3v-3h-3v3zM7 9l-3 3 3 3 1-1-2-2 2-2-1-1z"})});var xk=n(M(),1),iN=n(y(),1),Sv=(0,iN.jsx)(xk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,iN.jsx)(xk.Path,{d:"M4 13.5h6v-3H4v3zm8 0h3v-3h-3v3zm5-3v3h3v-3h-3z"})});var kk=n(M(),1),lN=n(y(),1),sN=(0,lN.jsx)(kk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,lN.jsx)(kk.Path,{d:"M13 6v6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H13zm-9 6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H4v6z"})});var wk=n(M(),1),cN=n(y(),1),uN=(0,cN.jsx)(wk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,cN.jsx)(wk.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"m13.955 20.748 8-17.5-.91-.416L19.597 6H13.5v1.5h5.411l-1.6 3.5H13.5v1.5h3.126l-1.6 3.5H13.5l.028 1.5h.812l-1.295 2.832.91.416ZM17.675 16l-.686 1.5h4.539L21.5 16h-3.825Zm2.286-5-.686 1.5H21.5V11h-1.54ZM2 12c0 3.58 2.42 5.5 6 5.5h.5V19l3-2.5-3-2.5v2H8c-2.48 0-4.5-1.52-4.5-4S5.52 7.5 8 7.5h3.5V6H8c-3.58 0-6 2.42-6 6Z"})});var Ck=n(M(),1),pN=n(y(),1),mN=(0,pN.jsx)(Ck.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,pN.jsx)(Ck.Path,{d:"M7 11.5h10V13H7z"})});var Sk=n(M(),1),dN=n(y(),1),fN=(0,dN.jsx)(Sk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,dN.jsx)(Sk.Path,{d:"M7 18h4.5v1.5h-7v-7H6V17L17 6h-4.5V4.5h7v7H18V7L7 18Z"})});var Tk=n(M(),1),hN=n(y(),1),gN=(0,hN.jsx)(Tk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,hN.jsx)(Tk.Path,{d:"M15.1 4.8l-3-2.5V4c-4.4 0-8 3.6-8 8 0 3.7 2.5 6.9 6 7.7.3.1.6.1 1 .2l.2-1.5c-.4 0-.7-.1-1.1-.2l-.1.2v-.2c-2.6-.8-4.5-3.3-4.5-6.2 0-3.6 2.9-6.5 6.5-6.5v1.8l3-2.5zM20 11c-.2-1.4-.7-2.7-1.6-3.8l-1.2.8c.7.9 1.1 2 1.3 3.1L20 11zm-1.5 1.8c-.1.5-.2 1.1-.4 1.6s-.5 1-.8 1.5l1.2.9c.4-.5.8-1.1 1-1.8s.5-1.3.5-2l-1.5-.2zm-5.6 5.6l.2 1.5c1.4-.2 2.7-.7 3.8-1.6l-.9-1.1c-.9.7-2 1.1-3.1 1.2z"})});var Pk=n(M(),1),vN=n(y(),1),bN=(0,vN.jsx)(Pk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,vN.jsx)(Pk.Path,{d:"M4 6.5h5a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H4V16h5a.5.5 0 0 0 .5-.5v-7A.5.5 0 0 0 9 8H4V6.5Zm16 0h-5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h5V16h-5a.5.5 0 0 1-.5-.5v-7A.5.5 0 0 1 15 8h5V6.5Z"})});var Ek=n(M(),1),yN=n(y(),1),Tv=(0,yN.jsx)(Ek.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,yN.jsx)(Ek.Path,{d:"M5 10.2h-.8v1.5H5c1.9 0 3.8.8 5.1 2.1 1.4 1.4 2.1 3.2 2.1 5.1v.8h1.5V19c0-2.3-.9-4.5-2.6-6.2-1.6-1.6-3.8-2.6-6.1-2.6zm10.4-1.6C12.6 5.8 8.9 4.2 5 4.2h-.8v1.5H5c3.5 0 6.9 1.4 9.4 3.9s3.9 5.8 3.9 9.4v.8h1.5V19c0-3.9-1.6-7.6-4.4-10.4zM4 20h3v-3H4v3z"})});var Bk=n(M(),1),_N=n(y(),1),Pv=(0,_N.jsx)(Bk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,_N.jsx)(Bk.Path,{d:"M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z"})});var Nk=n(M(),1),xN=n(y(),1),kN=(0,xN.jsx)(Nk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,xN.jsx)(Nk.Path,{d:"M4.5 12.5v4H3V7h1.5v3.987h15V7H21v9.5h-1.5v-4h-15Z"})});var Ik=n(M(),1),wN=n(y(),1),Ev=(0,wN.jsx)(Ik.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,wN.jsx)(Ik.Path,{d:"M9 11.8l6.1-4.5c.1.4.4.7.9.7h2c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1h-2c-.6 0-1 .4-1 1v.4l-6.4 4.8c-.2-.1-.4-.2-.6-.2H6c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1h2c.2 0 .4-.1.6-.2l6.4 4.8v.4c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-2c0-.6-.4-1-1-1h-2c-.5 0-.8.3-.9.7L9 12.2v-.4z"})});var Dk=n(M(),1),CN=n(y(),1),Bv=(0,CN.jsx)(Dk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,CN.jsx)(Dk.Path,{d:"M16 4.2v1.5h2.5v12.5H16v1.5h4V4.2h-4zM4.2 19.8h4v-1.5H5.8V5.8h2.5V4.2h-4l-.1 15.6zm5.1-3.1l1.4.6 4-10-1.4-.6-4 10z"})});var Lk=n(M(),1),SN=n(y(),1),TN=(0,SN.jsx)(Lk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,SN.jsx)(Lk.Path,{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})});var Rk=n(M(),1),PN=n(y(),1),EN=(0,PN.jsx)(Rk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,PN.jsx)(Rk.Path,{d:"M12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8Zm0 1.5c3.4 0 6.2 2.7 6.5 6l-1.2-.6-.8-.4c-.1 0-.2 0-.3-.1H16c-.1-.2-.4-.2-.7 0l-2.9 2.1L9 11.3h-.7L5.5 13v-1.1c0-3.6 2.9-6.5 6.5-6.5Zm0 13c-2.7 0-5-1.7-6-4l2.8-1.7 3.5 1.2h.4s.2 0 .4-.2l2.9-2.1.4.2c.6.3 1.4.7 2.1 1.1-.5 3.1-3.2 5.4-6.4 5.4Z"})});var Ak=n(M(),1),BN=n(y(),1),NN=(0,BN.jsx)(Ak.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,BN.jsx)(Ak.Path,{fill:"none",d:"M5.75 12.75V18.25H11.25M12.75 5.75H18.25V11.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"square"})});var Mk=n(M(),1),IN=n(y(),1),DN=(0,IN.jsx)(Mk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,IN.jsx)(Mk.Path,{d:"M17.5 4v5a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V4H8v5a.5.5 0 0 0 .5.5h7A.5.5 0 0 0 16 9V4h1.5Zm0 16v-5a2 2 0 0 0-2-2h-7a2 2 0 0 0-2 2v5H8v-5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v5h1.5Z"})});var zk=n(M(),1),LN=n(y(),1),Nv=(0,LN.jsx)(zk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,LN.jsx)(zk.Path,{d:"M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-17.6 1L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z"})});var Vk=n(M(),1),RN=n(y(),1),AN=(0,RN.jsx)(Vk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,RN.jsx)(Vk.Path,{d:"M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-1 1.4l-5.6 5.6c-.1.1-.3.1-.4 0l-5.6-5.6c-.1-.1-.1-.3 0-.4l5.6-5.6s.1-.1.2-.1.1 0 .2.1l5.6 5.6c.1.1.1.3 0 .4zm-16.6-.4L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z"})});var Ok=n(M(),1),MN=n(y(),1),zN=(0,MN.jsx)(Ok.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,MN.jsx)(Ok.Path,{d:"M18.2 9.5h-3.5c-1 0-1.8.8-1.8 1.8v2.5h1.5v-2.5c0-.1.1-.2.2-.2h3.5c.1 0 .2.1.2.2v2.5h1.5v-2.5c0-1-.8-1.8-1.8-1.8Zm-9 0H5.7c-1 0-1.8.8-1.8 1.8v2.5h7v-2.5c0-1-.8-1.8-1.8-1.8Z"})});var Fk=n(M(),1),VN=n(y(),1),ON=(0,VN.jsx)(Fk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,VN.jsx)(Fk.Path,{d:"M4 16.5h13V15H4v1.5ZM4 12v1.5h16V12H4Zm1.5-4.2c0-.1.1-.2.2-.2h3.5c.1 0 .2.1.2.2v2.5h1.5V7.8c0-1-.8-1.8-1.8-1.8H5.6c-1 0-1.8.8-1.8 1.8v2.5h1.5V7.8Z"})});var Hk=n(M(),1),FN=n(y(),1),HN=(0,FN.jsx)(Hk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,FN.jsx)(Hk.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14.2c.1.9.9 1.7 1.8 1.8H19.2c1-.1 1.8-1 1.8-2V5c0-1.1-.9-2-2-2ZM8.5 19.5H5c-.3 0-.5-.2-.5-.5v-3.5h4v4Zm0-5.5h-4v-4h4v4Zm0-5.5h-4V5c0-.3.2-.5.5-.5h3.5v4Zm11 10.5c0 .3-.2.5-.5.5h-9v-15h9c.3 0 .5.2.5.5v14Zm-4-10.8H14v3h-3v1.5h3v3h1.5v-3h3v-1.5h-3v-3Z"})});var jk=n(M(),1),jN=n(y(),1),UN=(0,jN.jsx)(jk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,jN.jsx)(jk.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1 .8 1.9 1.8 2H19.2c.9-.1 1.7-.9 1.8-1.8V5c0-1.1-.9-2-2-2Zm-5 16.5H5c-.3 0-.5-.2-.5-.5V5c0-.3.2-.5.5-.5h9v15Zm5.5-.5c0 .3-.2.5-.5.5h-3.5v-4h4V19Zm0-5h-4v-4h4v4Zm0-5.5h-4v-4H19c.3 0 .5.2.5.5v3.5Zm-11 7.3H10v-3h3v-1.5h-3v-3H8.5v3h-3v1.5h3v3Z"})});var Uk=n(M(),1),GN=n(y(),1),WN=(0,GN.jsx)(Uk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,GN.jsx)(Uk.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14.2c.1.9.9 1.7 1.8 1.8H19.2c1-.1 1.8-1 1.8-2V5c0-1.1-.9-2-2-2ZM8.5 19.5H5c-.3 0-.5-.2-.5-.5V5c0-.3.2-.5.5-.5h3.5v15Zm11-.5c0 .3-.2.5-.5.5h-9v-15h9c.3 0 .5.2.5.5v14ZM16.9 8.8l-2.1 2.1-2.1-2.1-1.1 1.1 2.1 2.1-2.1 2.1 1.1 1.1 2.1-2.1 2.1 2.1 1.1-1.1-2.1-2.1L18 9.9l-1.1-1.1Z"})});var Iv=n(M(),1),Dv=n(y(),1),Lv=(0,Dv.jsxs)(Iv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,Dv.jsx)(Iv.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M20 9.484h-8.889v-1.5H20v1.5Zm0 7h-4.889v-1.5H20v1.5Zm-14 .032a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0 1a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"}),(0,Dv.jsx)(Iv.Path,{d:"M13 15.516a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM8 8.484a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"})]});var Gk=n(M(),1),$N=n(y(),1),qN=(0,$N.jsx)(Gk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,$N.jsx)(Gk.Path,{d:"M19 3H4.8c-.9.1-1.7.9-1.8 1.8V19.2c.1 1 1 1.8 2 1.8h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm-9 1.5h4v4h-4v-4ZM4.5 5c0-.3.2-.5.5-.5h3.5v4h-4V5Zm15 14c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-9h15v9Zm0-10.5h-4v-4H19c.3 0 .5.2.5.5v3.5Zm-8.3 10h1.5v-3h3V14h-3v-3h-1.5v3h-3v1.5h3v3Z"})});var Wk=n(M(),1),ZN=n(y(),1),KN=(0,ZN.jsx)(Wk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,ZN.jsx)(Wk.Path,{d:"M21 5c0-1.1-.9-2-2-2H5c-1 0-1.9.8-2 1.8V19.2c.1.9.9 1.7 1.8 1.8H19c1.1 0 2-.9 2-2V5ZM4.5 14V5c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v9h-15Zm4 5.5H5c-.3 0-.5-.2-.5-.5v-3.5h4v4Zm5.5 0h-4v-4h4v4Zm5.5-.5c0 .3-.2.5-.5.5h-3.5v-4h4V19ZM11.2 10h-3V8.5h3v-3h1.5v3h3V10h-3v3h-1.5v-3Z"})});var $k=n(M(),1),YN=n(y(),1),QN=(0,YN.jsx)($k.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,YN.jsx)($k.Path,{d:"M19 3H4.8c-.9.1-1.7.9-1.8 1.8V19.2c.1 1 1 1.8 2 1.8h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-9h15v9Zm0-10.5h-15V5c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v3.5Zm-9.6 9.4 2.1-2.1 2.1 2.1 1.1-1.1-2.1-2.1 2.1-2.1-1.1-1.1-2.1 2.1-2.1-2.1-1.1 1.1 2.1 2.1-2.1 2.1 1.1 1.1Z"})});var qk=n(M(),1),XN=n(y(),1),JN=(0,XN.jsx)(qk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,XN.jsx)(qk.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm.5 2v6.2h-6.8V4.4h6.2c.3 0 .5.2.5.5ZM5 4.5h6.2v6.8H4.4V5.1c0-.3.2-.5.5-.5ZM4.5 19v-6.2h6.8v6.8H5.1c-.3 0-.5-.2-.5-.5Zm14.5.5h-6.2v-6.8h6.8v6.2c0 .3-.2.5-.5.5Z"})});var Zk=n(M(),1),eI=n(y(),1),tI=(0,eI.jsx)(Zk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,eI.jsx)(Zk.Path,{d:"M4 16.5h13V15H4v1.5Zm0-3h16V12H4v1.5ZM18.2 6h-3.5c-1 0-1.8.8-1.8 1.8v2.5h1.5V7.8c0-.1.1-.2.2-.2h3.5c.1 0 .2.1.2.2v2.5h1.5V7.8c0-1-.8-1.8-1.8-1.8ZM11 7.8c0-1-.8-1.8-1.8-1.8H5.7c-1 0-1.8.8-1.8 1.8v2.5h7V7.8Z"})});var Kk=n(M(),1),rI=n(y(),1),Rv=(0,rI.jsx)(Kk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,rI.jsx)(Kk.Path,{d:"M4.75 4a.75.75 0 0 0-.75.75v7.826c0 .2.08.39.22.53l6.72 6.716a2.313 2.313 0 0 0 3.276-.001l5.61-5.611-.531-.53.532.528a2.315 2.315 0 0 0 0-3.264L13.104 4.22a.75.75 0 0 0-.53-.22H4.75ZM19 12.576a.815.815 0 0 1-.236.574l-5.61 5.611a.814.814 0 0 1-1.153 0L5.5 12.264V5.5h6.763l6.5 6.502a.816.816 0 0 1 .237.574ZM8.75 9.75a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"})});var Av=n(M(),1),Mv=n(y(),1),oI=(0,Mv.jsxs)(Av.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,Mv.jsx)(Av.Path,{d:"M 12.841306,16.677917 12.001264,12.71529 Q 11.835801,11.930402 11.695793,11.417042 11.560029,10.89944 11.398809,10.568514 11.237588,10.237588 11,10 10.635133,9.6351329 10.219354,9.6351329 9.8078183,9.6308902 9.4387086,10 8.9932313,10.445477 8.8574668,11.022476 8.7259449,11.595233 8.7259449,12.155262 L 7.4955791,11.196425 Q 7.5719467,10.509117 7.8307477,9.9109045 8.0937915,9.3084495 8.6410921,8.7611489 9.1799075,8.2223335 9.7569066,8.086569 q 0.5812414,-0.1400071 1.1242994,0.046669 0.543058,0.1866762 0.975808,0.6194255 0.335168,0.3351686 0.581242,0.767918 0.24183,0.4285067 0.436992,1.0564174 0.195161,0.619426 0.381837,1.527351 l 0.364867,1.756453 1.883733,-1.883732 1.018234,1.018233 z"}),(0,Mv.jsx)(Av.Path,{d:"M12.574 4a.75.75 0 0 1 .53.22l6.723 6.724a2.315 2.315 0 0 1 0 3.264l-.532-.528.531.53-5.61 5.611a2.31 2.31 0 0 1-3.276.001l-6.72-6.716a.75.75 0 0 1-.22-.53V4.75A.75.75 0 0 1 4.75 4h7.824ZM5.5 5.5v6.764l6.501 6.497a.817.817 0 0 0 .889.178.816.816 0 0 0 .264-.178l5.61-5.61a.816.816 0 0 0-.001-1.149l-6.5-6.502H5.5Z"})]});var Yk=n(M(),1),nI=n(y(),1),aI=(0,nI.jsx)(Yk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,nI.jsx)(Yk.Path,{d:"M6.08 10.103h2.914L9.657 12h1.417L8.23 4H6.846L4 12h1.417l.663-1.897Zm1.463-4.137.994 2.857h-2l1.006-2.857ZM11 16H4v-1.5h7V16Zm1 0h8v-1.5h-8V16Zm-4 4H4v-1.5h4V20Zm7-1.5V20H9v-1.5h6Z"})});var zv=n(M(),1),Vv=n(y(),1),iI=(0,Vv.jsxs)(zv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,Vv.jsx)(zv.Path,{d:"m14.95 13.889-1.061 1.061-5.552-5.553 1.06-1.06 5.552 5.552Z"}),(0,Vv.jsx)(zv.Path,{d:"M12.574 4a.75.75 0 0 1 .53.22l6.723 6.724a2.315 2.315 0 0 1 0 3.264l-.532-.528.531.53-5.61 5.611a2.31 2.31 0 0 1-3.276.001l-6.72-6.716a.75.75 0 0 1-.22-.53V4.75A.75.75 0 0 1 4.75 4h7.824ZM5.5 5.5v6.764l6.501 6.497a.817.817 0 0 0 .889.178.816.816 0 0 0 .264-.178l5.61-5.61a.816.816 0 0 0-.001-1.149l-6.5-6.502H5.5Z"})]});var Qk=n(M(),1),lI=n(y(),1),Ov=(0,lI.jsx)(Qk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,lI.jsx)(Qk.Path,{d:"M12 3c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16.5c-4.1 0-7.5-3.4-7.5-7.5S7.9 4.5 12 4.5s7.5 3.4 7.5 7.5-3.4 7.5-7.5 7.5zM12 7l-1 5c0 .3.2.6.4.8l4.2 2.8-2.7-4.1L12 7z"})});var Xk=n(M(),1),sI=n(y(),1),Ql=(0,sI.jsx)(Xk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,sI.jsx)(Xk.Path,{d:"m4 5.5h2v6.5h1.5v-6.5h2v-1.5h-5.5zm16 10.5h-16v-1.5h16zm-7 4h-9v-1.5h9z"})});var Jk=n(M(),1),cI=n(y(),1),iu=(0,cI.jsx)(Jk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,cI.jsx)(Jk.Path,{d:"M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"})});var e5=n(M(),1),uI=n(y(),1),Fv=(0,uI.jsx)(e5.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,uI.jsx)(e5.Path,{d:"M17.8 2l-.9.3c-.1 0-3.6 1-5.2 2.1C10 5.5 9.3 6.5 8.9 7.1c-.6.9-1.7 4.7-1.7 6.3l-.9 2.3c-.2.4 0 .8.4 1 .1 0 .2.1.3.1.3 0 .6-.2.7-.5l.6-1.5c.3 0 .7-.1 1.2-.2.7-.1 1.4-.3 2.2-.5.8-.2 1.6-.5 2.4-.8.7-.3 1.4-.7 1.9-1.2s.8-1.2 1-1.9c.2-.7.3-1.6.4-2.4.1-.8.1-1.7.2-2.5 0-.8.1-1.5.2-2.1V2zm-1.9 5.6c-.1.8-.2 1.5-.3 2.1-.2.6-.4 1-.6 1.3-.3.3-.8.6-1.4.9-.7.3-1.4.5-2.2.8-.6.2-1.3.3-1.8.4L15 7.5c.3-.3.6-.7 1-1.1 0 .4 0 .8-.1 1.2zM6 20h8v-1.5H6V20z"})});var t5=n(M(),1),pI=n(y(),1),lu=(0,pI.jsx)(t5.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,pI.jsx)(t5.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"})});var r5=n(M(),1),mI=n(y(),1),dI=(0,mI.jsx)(r5.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,mI.jsx)(r5.Path,{d:"M19 5c1.1 0 2 .9 2 2v10c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2zM5 6.5c-.3 0-.5.2-.5.5v10c0 .3.2.5.5.5h14c.3 0 .5-.2.5-.5V7c0-.3-.2-.5-.5-.5zM14.734 9q.714 0 1.15.253.437.247.639.84.2.591.2 1.61v1.15q0 .402.036.667.04.258.172.39.138.127.437.127h.104l-.162.828h-.08q-.5 0-.776-.097a.9.9 0 0 1-.414-.283 2 2 0 0 1-.259-.448q-.316.367-.748.598-.43.23-.977.23-.524 0-.914-.213a1.56 1.56 0 0 1-.61-.58 1.65 1.65 0 0 1-.213-.84q0-.477.207-.817.213-.345.564-.568.357-.23.794-.363.437-.139.902-.196.471-.062.902-.068 0-.805-.315-1.053-.316-.247-.915-.247-.316 0-.678.098-.356.097-.805.408l-.15-.84a2.8 2.8 0 0 1 .846-.419A3.4 3.4 0 0 1 14.734 9m-5.877 1.669H9.86l.59-1.531h.689l-.585 1.53h.898l-.249.727h-.922l-.337.866h1.019l-.354.773h-.962l-.681 1.804h-.701l.69-1.804h-.999l-.693 1.804h-.69l.685-1.804H6.3l.34-.773h.915l.333-.866h-.994l.244-.726H8.16l.594-1.531h.693zm6.832 1.264q-.823.029-1.335.16-.506.133-.74.397-.236.265-.236.685 0 .454.241.66.248.202.632.202.414 0 .8-.207.39-.207.637-.552zm-7.441.328h1l.34-.866h-1z"})});var Tn=n(E(),1),fi=n(N(),1),Ro=n(O(),1),wh=n(F(),1),a5=n(q(),1);var o5=n(F(),1),ud=n(H(),1),mp=n(Ar(),1),fI=n(E(),1),zH=n(re(),1),VH=n(ve(),1);function n5(e,t,r){return(0,o5.useSelect)(o=>o(zH.store).canUser("update",{kind:e,name:t,id:r}),[e,t,r])}function Ys(e={}){let t=(0,ud.useRef)(e),r=(0,ud.useRef)(!1),{getSettings:o}=(0,o5.useSelect)(fI.store);(0,ud.useLayoutEffect)(()=>{t.current=e}),(0,ud.useEffect)(()=>{if(r.current||!t.current.url||!(0,mp.isBlobURL)(t.current.url))return;let a=(0,mp.getBlobByURL)(t.current.url);if(!a)return;let{url:i,allowedTypes:l,onChange:s,onError:c}=t.current,{mediaUpload:u}=o();u&&(r.current=!0,u({filesList:[a],allowedTypes:l,onFileChange:([p])=>{(0,mp.isBlobURL)(p?.url)||((0,mp.revokeBlobURL)(i),s(p),r.current=!1)},onError:p=>{(0,mp.revokeBlobURL)(i),c(p),r.current=!1}}))},[o])}function Hv(){return(0,o5.useSelect)(t=>{let{getSettings:r}=t(fI.store),{__experimentalDiscussionSettings:o}=r();return o?.avatarURL??""},[])}function Z(){return(0,VH.useViewportMatch)("medium","<")?{}:{popoverProps:{placement:"left-start",offset:259}}}var Cr=n(y(),1),hI="core/accordion-item",wye="core/accordion-heading",Cye={name:hI};function OH({attributes:{autoclose:e,iconPosition:t,showIcon:r,headingLevel:o,levelOptions:a},clientId:i,setAttributes:l,isSelected:s}){let c=(0,wh.useRegistry)(),{getBlockOrder:u}=(0,wh.useSelect)(Tn.store),p=(0,Tn.useBlockProps)({role:"group"}),m=Z(),{updateBlockAttributes:d,insertBlock:f}=(0,wh.useDispatch)(Tn.store),g=(0,Tn.useBlockEditingMode)()==="contentOnly",v=(0,Tn.useInnerBlocksProps)(p,{template:[[hI]],defaultBlock:Cye,directInsert:!0,templateInsertUpdatesSelection:!0});return(0,Cr.jsxs)(Cr.Fragment,{children:[s&&!g&&(0,Cr.jsxs)(Cr.Fragment,{children:[(0,Cr.jsx)(Tn.BlockControls,{children:(0,Cr.jsx)(Ro.ToolbarGroup,{children:(0,Cr.jsx)(Tn.HeadingLevelDropdown,{value:o,options:a,onChange:k=>{let x=u(i),w=[];x.forEach(C=>{let P=u(C);w.push(...P)}),c.batch(()=>{l({headingLevel:k}),d(w,{level:k})})}})})}),(0,Cr.jsx)(Tn.BlockControls,{group:"other",children:(0,Cr.jsx)(Ro.ToolbarButton,{onClick:()=>{let k=(0,a5.createBlock)(hI,{},[(0,a5.createBlock)(wye,{level:o}),(0,a5.createBlock)("core/accordion-panel",{})]);f(k,void 0,i)},children:(0,fi.__)("Add item")})})]}),(0,Cr.jsx)(Tn.InspectorControls,{children:(0,Cr.jsxs)(Ro.__experimentalToolsPanel,{label:(0,fi.__)("Settings"),resetAll:()=>{l({autoclose:!1,showIcon:!0,iconPosition:"right"})},dropdownMenuProps:m,children:[(0,Cr.jsx)(Ro.__experimentalToolsPanelItem,{label:(0,fi.__)("Auto-close"),isShownByDefault:!0,hasValue:()=>!!e,onDeselect:()=>l({autoclose:!1}),children:(0,Cr.jsx)(Ro.ToggleControl,{label:(0,fi.__)("Auto-close"),onChange:k=>{l({autoclose:k})},checked:e,help:(0,fi.__)("Automatically close accordions when a new one is opened.")})}),(0,Cr.jsx)(Ro.__experimentalToolsPanelItem,{label:(0,fi.__)("Show icon"),isShownByDefault:!0,hasValue:()=>!r,onDeselect:()=>l({showIcon:!0}),children:(0,Cr.jsx)(Ro.ToggleControl,{label:(0,fi.__)("Show icon"),onChange:k=>{l({showIcon:k,iconPosition:k?t:"right"})},checked:r,help:(0,fi.__)("Display a plus icon next to the accordion header.")})}),r&&(0,Cr.jsx)(Ro.__experimentalToolsPanelItem,{label:(0,fi.__)("Icon Position"),isShownByDefault:!0,hasValue:()=>t!=="right",onDeselect:()=>l({iconPosition:"right"}),children:(0,Cr.jsxs)(Ro.__experimentalToggleGroupControl,{isBlock:!0,label:(0,fi.__)("Icon Position"),value:t,onChange:k=>{l({iconPosition:k})},children:[(0,Cr.jsx)(Ro.__experimentalToggleGroupControlOption,{label:(0,fi.__)("Left"),value:"left"}),(0,Cr.jsx)(Ro.__experimentalToggleGroupControlOption,{label:(0,fi.__)("Right"),value:"right"})]})})]})},"setting"),(0,Cr.jsx)("div",{...v})]})}var i5=n(E(),1),FH=n(y(),1);function HH(){let e=i5.useBlockProps.save({role:"group"});return(0,FH.jsx)("div",{...i5.useInnerBlocksProps.save(e)})}var l5={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/accordion",title:"Accordion",category:"design",description:"Displays a foldable layout that groups content in collapsible sections.",example:{},supports:{anchor:!0,html:!1,align:["wide","full"],background:{backgroundImage:!0,backgroundSize:!0,gradient:!0,__experimentalDefaultControls:{backgroundImage:!0}},color:{background:!0,gradients:!0},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},spacing:{padding:!0,margin:["top","bottom"],blockGap:!0},shadow:!0,layout:!0,ariaLabel:!0,interactivity:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},contentRole:!0,listView:!0},attributes:{iconPosition:{type:"string",default:"right"},showIcon:{type:"boolean",default:!0},autoclose:{type:"boolean",default:!1},headingLevel:{type:"number",default:3},levelOptions:{type:"array"}},providesContext:{"core/accordion-icon-position":"iconPosition","core/accordion-show-icon":"showIcon","core/accordion-heading-level":"headingLevel"},allowedBlocks:["core/accordion-item"],textdomain:"default",viewScriptModule:"@wordpress/block-library/accordion/view"};var jH=n(q(),1);function A(e){if(!e)return;let{metadata:t,settings:r,name:o}=e;return(0,jH.registerBlockType)({name:o,...t},r)}var{name:UH}=l5,GH={icon:j9,example:{innerBlocks:[{name:"core/accordion-item",innerBlocks:[{name:"core/accordion-heading",attributes:{title:(0,gI.__)("Lorem ipsum dolor sit amet, consectetur.")}}]},{name:"core/accordion-item",innerBlocks:[{name:"core/accordion-heading",attributes:{title:(0,gI.__)("Suspendisse commodo lacus, interdum et.")}}]}]},edit:OH,save:HH},Tye=()=>A({name:UH,metadata:l5,settings:GH});var bI={};K(bI,{init:()=>Bye,metadata:()=>c5,name:()=>KH,settings:()=>YH});var jv=n(N(),1),dp=n(E(),1),WH=n(F(),1),Ch=n(O(),1);var Qs=n(y(),1),Pye=[["core/accordion-heading"],["core/accordion-panel"]];function $H({attributes:e,clientId:t,setAttributes:r,isSelected:o}){let{openByDefault:a}=e,i=Z(),{isSelected:l}=(0,WH.useSelect)(u=>o||a?{isSelected:!0}:{isSelected:u(dp.store).hasSelectedInnerBlock(t,!0)},[t,o,a]),s=(0,dp.useBlockProps)({className:S({"is-open":a||l})}),c=(0,dp.useInnerBlocksProps)(s,{template:Pye,templateLock:"all",directInsert:!0,templateInsertUpdatesSelection:!0});return(0,Qs.jsxs)(Qs.Fragment,{children:[(0,Qs.jsx)(dp.InspectorControls,{children:(0,Qs.jsx)(Ch.__experimentalToolsPanel,{label:(0,jv.__)("Settings"),resetAll:()=>{r({openByDefault:!1})},dropdownMenuProps:i,children:(0,Qs.jsx)(Ch.__experimentalToolsPanelItem,{label:(0,jv.__)("Open by default"),isShownByDefault:!0,hasValue:()=>!!a,onDeselect:()=>{r({openByDefault:!1})},children:(0,Qs.jsx)(Ch.ToggleControl,{label:(0,jv.__)("Open by default"),onChange:u=>{r({openByDefault:u})},checked:a,help:(0,jv.__)("Accordion content will be displayed by default.")})})})},"setting"),(0,Qs.jsx)("div",{...c})]})}var s5=n(E(),1);var qH=n(y(),1);function ZH({attributes:e}){let{openByDefault:t}=e,r=s5.useBlockProps.save({className:S({"is-open":t})}),o=s5.useInnerBlocksProps.save(r);return(0,qH.jsx)("div",{...o})}var c5={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/accordion-item",title:"Accordion Item",category:"design",description:"Wraps the heading and panel in one unit.",parent:["core/accordion"],allowedBlocks:["core/accordion-heading","core/accordion-panel"],supports:{html:!1,color:{background:!0,gradients:!0},interactivity:!0,spacing:{margin:["top","bottom"],padding:!0,blockGap:!0},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},shadow:!0,layout:{allowEditing:!1},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},contentRole:!0},attributes:{openByDefault:{type:"boolean",default:!1}},providesContext:{"core/accordion-open-by-default":"openByDefault"},textdomain:"default",style:"wp-block-accordion-item"};var{name:KH}=c5,YH={icon:H9,edit:$H,save:ZH},Bye=()=>A({name:KH,metadata:c5,settings:YH});var yI={};K(yI,{init:()=>Rye,metadata:()=>u5,name:()=>oj,settings:()=>nj});var QH=n(N(),1),XH=n(H(),1),ll=n(E(),1),JH=n(F(),1),pd=n(y(),1);function ej({attributes:e,setAttributes:t,context:r}){let{title:o}=e,{"core/accordion-icon-position":a,"core/accordion-show-icon":i,"core/accordion-heading-level":l}=r,s="h"+l,{__unstableMarkNextChangeAsNotPersistent:c}=(0,JH.useDispatch)(ll.store);(0,XH.useEffect)(()=>{a!==void 0&&i!==void 0&&(c(),t({iconPosition:a,showIcon:i}))},[a,i,t,c]);let[u,p]=(0,ll.useSettings)("typography.fluid","layout"),m=(0,ll.getTypographyClassesAndStyles)(e,{typography:{fluid:u},layout:{wideSize:p?.wideSize}}),d=(0,ll.useBlockProps)({className:S({"has-icon":i,"has-icon-left":i&&a==="left","has-icon-right":i&&a==="right"})}),f=(0,ll.__experimentalGetSpacingClassesAndStyles)(e);return(0,pd.jsx)(s,{...d,children:(0,pd.jsxs)("button",{className:"wp-block-accordion-heading__toggle",style:f.style,tabIndex:"-1",children:[i&&a==="left"&&(0,pd.jsx)("span",{className:"wp-block-accordion-heading__toggle-icon","aria-hidden":"true",children:"+"}),(0,pd.jsx)(ll.RichText,{withoutInteractiveFormatting:!0,disableLineBreaks:!0,tagName:"span",value:o,onChange:h=>t({title:h}),placeholder:(0,QH.__)("Accordion title"),className:"wp-block-accordion-heading__toggle-title",style:{letterSpacing:m.style.letterSpacing,textDecoration:m.style.textDecoration}}),i&&a==="right"&&(0,pd.jsx)("span",{className:"wp-block-accordion-heading__toggle-icon","aria-hidden":"true",children:"+"})]})})}var fp=n(E(),1),md=n(y(),1);function tj({attributes:e}){let{level:t,title:r,iconPosition:o,showIcon:a}=e,i="h"+(t||3),l=(0,fp.getTypographyClassesAndStyles)(e),s=fp.useBlockProps.save({className:S({"has-icon":a,"has-icon-left":a&&o==="left","has-icon-right":a&&o==="right"})}),c=(0,fp.__experimentalGetSpacingClassesAndStyles)(e);return(0,md.jsx)(i,{...s,children:(0,md.jsxs)("button",{type:"button",className:"wp-block-accordion-heading__toggle",style:c.style,children:[a&&o==="left"&&(0,md.jsx)("span",{className:"wp-block-accordion-heading__toggle-icon","aria-hidden":"true",children:"+"}),(0,md.jsx)(fp.RichText.Content,{className:"wp-block-accordion-heading__toggle-title",tagName:"span",value:r,style:{letterSpacing:l.style.letterSpacing,textDecoration:l.style.textDecoration}}),a&&o==="right"&&(0,md.jsx)("span",{className:"wp-block-accordion-heading__toggle-icon","aria-hidden":"true",children:"+"})]})})}var u5={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/accordion-heading",title:"Accordion Heading",category:"design",description:"Displays a heading that toggles the accordion panel.",parent:["core/accordion-item"],usesContext:["core/accordion-icon-position","core/accordion-show-icon","core/accordion-heading-level"],supports:{anchor:!0,color:{background:!0,gradients:!0},align:!1,interactivity:!0,spacing:{padding:!0,__experimentalDefaultControls:{padding:!0},__experimentalSkipSerialization:!0,__experimentalSelector:".wp-block-accordion-heading__toggle"},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},typography:{__experimentalSkipSerialization:["textDecoration","letterSpacing"],fontSize:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0,fontFamily:!0}},shadow:!0,visibility:!1,lock:!1},selectors:{typography:{letterSpacing:".wp-block-accordion-heading .wp-block-accordion-heading__toggle-title",textDecoration:".wp-block-accordion-heading .wp-block-accordion-heading__toggle-title"}},attributes:{openByDefault:{type:"boolean",default:!1},title:{type:"rich-text",source:"rich-text",selector:".wp-block-accordion-heading__toggle-title",role:"content"},level:{type:"number"},iconPosition:{type:"string",enum:["left","right"],default:"right"},showIcon:{type:"boolean",default:!0}},textdomain:"default"};var aa=n(E(),1),Qo=n(y(),1),Iye={attributes:{openByDefault:{type:"boolean",default:!1},title:{type:"rich-text",source:"rich-text",selector:".wp-block-accordion-heading__toggle-title",role:"content"},level:{type:"number"},iconPosition:{type:"string",enum:["left","right"],default:"right"},showIcon:{type:"boolean",default:!0}},supports:{anchor:!0,color:{background:!0,gradients:!0},align:!1,interactivity:!0,spacing:{padding:!0,__experimentalDefaultControls:{padding:!0},__experimentalSkipSerialization:!0,__experimentalSelector:".wp-block-accordion-heading__toggle"},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},typography:{fontSize:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0,fontFamily:!0}},shadow:!0,visibility:!1},save({attributes:e}){let{level:t,title:r,iconPosition:o,showIcon:a}=e,i="h"+(t||3),l=aa.useBlockProps.save(),s=(0,aa.__experimentalGetSpacingClassesAndStyles)(e);return(0,Qo.jsx)(i,{...l,children:(0,Qo.jsxs)("button",{className:"wp-block-accordion-heading__toggle",style:s.style,children:[a&&o==="left"&&(0,Qo.jsx)("span",{className:"wp-block-accordion-heading__toggle-icon","aria-hidden":"true",children:"+"}),(0,Qo.jsx)(aa.RichText.Content,{className:"wp-block-accordion-heading__toggle-title",tagName:"span",value:r}),a&&o==="right"&&(0,Qo.jsx)("span",{className:"wp-block-accordion-heading__toggle-icon","aria-hidden":"true",children:"+"})]})})}},Dye={attributes:{openByDefault:{type:"boolean",default:!1},title:{type:"rich-text",source:"rich-text",selector:".wp-block-accordion-heading__toggle-title",role:"content"},level:{type:"number"},iconPosition:{type:"string",enum:["left","right"],default:"right"},showIcon:{type:"boolean",default:!0}},supports:{anchor:!0,color:{background:!0,gradients:!0},align:!1,interactivity:!0,spacing:{padding:!0,__experimentalDefaultControls:{padding:!0},__experimentalSkipSerialization:!0,__experimentalSelector:".wp-block-accordion-heading__toggle"},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},typography:{__experimentalSkipSerialization:["textDecoration","letterSpacing"],fontSize:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0,fontFamily:!0}},shadow:!0,visibility:!1,lock:!1},save({attributes:e}){let{level:t,title:r,iconPosition:o,showIcon:a}=e,i="h"+(t||3),l=(0,aa.getTypographyClassesAndStyles)(e),s=aa.useBlockProps.save(),c=(0,aa.__experimentalGetSpacingClassesAndStyles)(e);return(0,Qo.jsx)(i,{...s,children:(0,Qo.jsxs)("button",{className:"wp-block-accordion-heading__toggle",style:c.style,children:[a&&o==="left"&&(0,Qo.jsx)("span",{className:"wp-block-accordion-heading__toggle-icon","aria-hidden":"true",children:"+"}),(0,Qo.jsx)(aa.RichText.Content,{className:"wp-block-accordion-heading__toggle-title",tagName:"span",value:r,style:{letterSpacing:l.style.letterSpacing,textDecoration:l.style.textDecoration}}),a&&o==="right"&&(0,Qo.jsx)("span",{className:"wp-block-accordion-heading__toggle-icon","aria-hidden":"true",children:"+"})]})})}},Lye={attributes:{openByDefault:{type:"boolean",default:!1},title:{type:"rich-text",source:"rich-text",selector:".wp-block-accordion-heading__toggle-title",role:"content"},level:{type:"number"},iconPosition:{type:"string",enum:["left","right"],default:"right"},showIcon:{type:"boolean",default:!0}},supports:{anchor:!0,color:{background:!0,gradients:!0},align:!1,interactivity:!0,spacing:{padding:!0,__experimentalDefaultControls:{padding:!0},__experimentalSkipSerialization:!0,__experimentalSelector:".wp-block-accordion-heading__toggle"},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},typography:{__experimentalSkipSerialization:["textDecoration","letterSpacing"],fontSize:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0,fontFamily:!0}},shadow:!0,visibility:!1,lock:!1},save({attributes:e}){let{level:t,title:r,iconPosition:o,showIcon:a}=e,i="h"+(t||3),l=(0,aa.getTypographyClassesAndStyles)(e),s=aa.useBlockProps.save(),c=(0,aa.__experimentalGetSpacingClassesAndStyles)(e);return(0,Qo.jsx)(i,{...s,children:(0,Qo.jsxs)("button",{type:"button",className:"wp-block-accordion-heading__toggle",style:c.style,children:[a&&o==="left"&&(0,Qo.jsx)("span",{className:"wp-block-accordion-heading__toggle-icon","aria-hidden":"true",children:"+"}),(0,Qo.jsx)(aa.RichText.Content,{className:"wp-block-accordion-heading__toggle-title",tagName:"span",value:r,style:{letterSpacing:l.style.letterSpacing,textDecoration:l.style.textDecoration}}),a&&o==="right"&&(0,Qo.jsx)("span",{className:"wp-block-accordion-heading__toggle-icon","aria-hidden":"true",children:"+"})]})})}},rj=[Lye,Dye,Iye];var{name:oj}=u5,nj={icon:F9,edit:ej,save:tj,deprecated:rj},Rye=()=>A({name:oj,metadata:u5,settings:nj});var _I={};K(_I,{init:()=>Mye,metadata:()=>m5,name:()=>uj,settings:()=>pj});var Sh=n(E(),1),aj=n(F(),1),ij=n(y(),1);function lj({attributes:e,context:t,clientId:r,isSelected:o}){let{allowedBlocks:a,templateLock:i}=e,l=t["core/accordion-open-by-default"],{hasSelection:s}=(0,aj.useSelect)(p=>{if(o||l)return{hasSelection:!0};let{getBlockRootClientId:m,isBlockSelected:d,hasSelectedInnerBlock:f}=p(Sh.store),h=m(r);return{hasSelection:d(h)||f(h,!0)}},[r,o,l]),c=(0,Sh.useBlockProps)({hidden:!s,role:"region"}),u=(0,Sh.useInnerBlocksProps)(c,{allowedBlocks:a,template:[["core/paragraph",{}]],templateLock:i});return(0,ij.jsx)("div",{...u})}var p5=n(E(),1),sj=n(y(),1);function cj(){let e=p5.useBlockProps.save({role:"region"}),t=p5.useInnerBlocksProps.save(e);return(0,sj.jsx)("div",{...t})}var m5={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/accordion-panel",title:"Accordion Panel",category:"design",description:"Contains the hidden or revealed content beneath the heading.",parent:["core/accordion-item"],usesContext:["core/accordion-open-by-default"],supports:{html:!1,color:{background:!0,gradients:!0},interactivity:!0,spacing:{padding:!0,blockGap:!0,__experimentalDefaultControls:{padding:!0,blockGap:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},shadow:!0,layout:{allowEditing:!1},visibility:!1,contentRole:!0,allowedBlocks:!0,lock:!1},attributes:{templateLock:{type:["string","boolean"],enum:["all","insert","contentOnly",!1],default:!1}},textdomain:"default",style:"wp-block-accordion-panel"};var{name:uj}=m5,pj={icon:Y1,edit:lj,save:cj},Mye=()=>A({name:uj,metadata:m5,settings:pj});var xI={};K(xI,{init:()=>Vye,metadata:()=>d5,name:()=>hj,settings:()=>gj});var d5={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/archives",title:"Archives",category:"widgets",description:"Display a date archive of your posts.",textdomain:"default",attributes:{displayAsDropdown:{type:"boolean",default:!1},showLabel:{type:"boolean",default:!0},showPostCounts:{type:"boolean",default:!1},type:{type:"string",default:"monthly"}},supports:{anchor:!0,align:!0,__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0},html:!1,spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},interactivity:{clientNavigation:!0}}};var ia=n(O(),1),Xo=n(N(),1),f5=n(E(),1),mj=n(lp(),1),dj=n(ve(),1);var lo=n(y(),1);function fj({attributes:e,setAttributes:t,name:r}){let{showLabel:o,showPostCounts:a,displayAsDropdown:i,type:l}=e,s=Z(),{content:c,status:u,error:p}=(0,mj.useServerSideRender)({attributes:e,skipBlockSupportAttributes:!0,block:r}),m=(0,dj.useDisabled)(),d=(0,f5.useBlockProps)({ref:m});return(0,lo.jsxs)(lo.Fragment,{children:[(0,lo.jsx)(f5.InspectorControls,{children:(0,lo.jsxs)(ia.__experimentalToolsPanel,{label:(0,Xo.__)("Settings"),resetAll:()=>{t({displayAsDropdown:!1,showLabel:!0,showPostCounts:!1,type:"monthly"})},dropdownMenuProps:s,children:[(0,lo.jsx)(ia.__experimentalToolsPanelItem,{label:(0,Xo.__)("Display as dropdown"),isShownByDefault:!0,hasValue:()=>i,onDeselect:()=>t({displayAsDropdown:!1}),children:(0,lo.jsx)(ia.ToggleControl,{label:(0,Xo.__)("Display as dropdown"),checked:i,onChange:()=>t({displayAsDropdown:!i})})}),i&&(0,lo.jsx)(ia.__experimentalToolsPanelItem,{label:(0,Xo.__)("Show label"),isShownByDefault:!0,hasValue:()=>!o,onDeselect:()=>t({showLabel:!0}),children:(0,lo.jsx)(ia.ToggleControl,{label:(0,Xo.__)("Show label"),checked:o,onChange:()=>t({showLabel:!o})})}),(0,lo.jsx)(ia.__experimentalToolsPanelItem,{label:(0,Xo.__)("Show post counts"),isShownByDefault:!0,hasValue:()=>a,onDeselect:()=>t({showPostCounts:!1}),children:(0,lo.jsx)(ia.ToggleControl,{label:(0,Xo.__)("Show post counts"),checked:a,onChange:()=>t({showPostCounts:!a})})}),(0,lo.jsx)(ia.__experimentalToolsPanelItem,{label:(0,Xo.__)("Group by"),isShownByDefault:!0,hasValue:()=>l!=="monthly",onDeselect:()=>t({type:"monthly"}),children:(0,lo.jsx)(ia.SelectControl,{label:(0,Xo.__)("Group by"),options:[{label:(0,Xo.__)("Year"),value:"yearly"},{label:(0,Xo.__)("Month"),value:"monthly"},{label:(0,Xo.__)("Week"),value:"weekly"},{label:(0,Xo.__)("Day"),value:"daily"}],value:l,onChange:f=>t({type:f})})})]})}),u==="loading"&&(0,lo.jsx)("div",{...d,children:(0,lo.jsx)(ia.Spinner,{})}),u==="error"&&(0,lo.jsx)("div",{...d,children:(0,lo.jsx)("p",{children:(0,Xo.sprintf)((0,Xo.__)("Error: %s"),p)})}),u==="success"&&(0,lo.jsx)(xo,{wrapperProps:d,html:c})]})}var{name:hj}=d5,gj={icon:J9,example:{},edit:fj},Vye=()=>A({name:hj,metadata:d5,settings:gj});var wI={};K(wI,{init:()=>Gye,metadata:()=>h5,name:()=>Lj,settings:()=>Rj});var h5={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/avatar",title:"Avatar",category:"theme",description:"Add a user\u2019s avatar.",textdomain:"default",attributes:{userId:{type:"number"},size:{type:"number",default:96},isLink:{type:"boolean",default:!1},linkTarget:{type:"string",default:"_self"}},usesContext:["postType","postId","commentId"],supports:{anchor:!0,html:!1,align:!0,alignWide:!1,spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},__experimentalBorder:{__experimentalSkipSerialization:!0,radius:!0,width:!0,color:!0,style:!0,__experimentalDefaultControls:{radius:!0}},color:{text:!1,background:!1},filter:{duotone:!0},interactivity:{clientNavigation:!0}},selectors:{border:".wp-block-avatar img",filter:{duotone:".wp-block-avatar img"}},editorStyle:"wp-block-avatar-editor",style:"wp-block-avatar"};var dd=n(E(),1),za=n(O(),1),sl=n(N(),1),v5=n(ir(),1);var Uv=n(re(),1),hp=n(N(),1),bj=n(F(),1);function yj(e){let t=e?e[0]:24,r=e?e[e.length-1]:96,o=Math.floor(r*2.5);return{minSize:t,maxSize:o}}function _j({commentId:e}){let[t]=(0,Uv.useEntityProp)("root","comment","author_avatar_urls",e),[r]=(0,Uv.useEntityProp)("root","comment","author_name",e),o=t?Object.values(t):null,a=t?Object.keys(t):null,{minSize:i,maxSize:l}=yj(a),s=Hv();return{src:o?o[o.length-1]:s,minSize:i,maxSize:l,alt:r?(0,hp.sprintf)((0,hp.__)("%s Avatar"),r):(0,hp.__)("Default Avatar")}}function xj({userId:e,postId:t,postType:r}){let{authorDetails:o}=(0,bj.useSelect)(u=>{let{getEditedEntityRecord:p,getUser:m}=u(Uv.store);if(e)return{authorDetails:m(e)};let d=p("postType",r,t)?.author;return{authorDetails:d?m(d):null}},[r,t,e]),a=o?.avatar_urls?Object.values(o.avatar_urls):null,i=o?.avatar_urls?Object.keys(o.avatar_urls):null,{minSize:l,maxSize:s}=yj(i),c=Hv();return{src:a?a[a.length-1]:c,minSize:l,maxSize:s,alt:o?(0,hp.sprintf)((0,hp.__)("%s Avatar"),o?.name):(0,hp.__)("Default Avatar")}}var kI=n(N(),1),wj=n(O(),1),Cj=n(F(),1),Sj=n(re(),1),g5=n(H(),1),Tj=n(ve(),1),Pj=n(Jo(),1),Ej=n(y(),1),Fye={who:"authors",per_page:100,_fields:"id,name",context:"view"};function Bj({value:e,onChange:t}){let[r,o]=(0,g5.useState)(""),{authors:a,isLoading:i}=(0,Cj.useSelect)(s=>{let{getUsers:c,isResolving:u}=s(Sj.store),p={...Fye};return r&&(p.search=r,p.search_columns=["name"]),{authors:c(p),isLoading:u("getUsers",[p])}},[r]),l=(0,g5.useMemo)(()=>(a??[]).map(s=>({value:s.id,label:(0,Pj.decodeEntities)(s.name)})),[a]);return(0,Ej.jsx)(wj.ComboboxControl,{label:(0,kI.__)("User"),help:(0,kI.__)("Select the avatar user to display, if it is blank it will use the post/page author."),value:e,onChange:t,options:l,onFilterValueChange:(0,Tj.debounce)(o,300),isLoading:i})}var Ht=n(y(),1),Nj=({setAttributes:e,avatar:t,attributes:r,selectUser:o})=>{let a=Z();return(0,Ht.jsx)(dd.InspectorControls,{children:(0,Ht.jsxs)(za.__experimentalToolsPanel,{label:(0,sl.__)("Settings"),resetAll:()=>{e({size:96,isLink:!1,linkTarget:"_self",userId:void 0})},dropdownMenuProps:a,children:[(0,Ht.jsx)(za.__experimentalToolsPanelItem,{label:(0,sl.__)("Image size"),isShownByDefault:!0,hasValue:()=>r?.size!==96,onDeselect:()=>e({size:96}),children:(0,Ht.jsx)(za.RangeControl,{label:(0,sl.__)("Image size"),onChange:i=>e({size:i}),min:t.minSize,max:t.maxSize,initialPosition:r?.size,value:r?.size})}),(0,Ht.jsx)(za.__experimentalToolsPanelItem,{label:(0,sl.__)("Link to user profile"),isShownByDefault:!0,hasValue:()=>r?.isLink,onDeselect:()=>e({isLink:!1}),children:(0,Ht.jsx)(za.ToggleControl,{label:(0,sl.__)("Link to user profile"),onChange:()=>e({isLink:!r.isLink}),checked:r.isLink})}),r.isLink&&(0,Ht.jsx)(za.__experimentalToolsPanelItem,{label:(0,sl.__)("Open in new tab"),isShownByDefault:!0,hasValue:()=>r?.linkTarget!=="_self",onDeselect:()=>e({linkTarget:"_self"}),children:(0,Ht.jsx)(za.ToggleControl,{label:(0,sl.__)("Open in new tab"),onChange:i=>e({linkTarget:i?"_blank":"_self"}),checked:r.linkTarget==="_blank"})}),o&&(0,Ht.jsx)(za.__experimentalToolsPanelItem,{label:(0,sl.__)("User"),isShownByDefault:!0,hasValue:()=>!!r?.userId,onDeselect:()=>e({userId:void 0}),children:(0,Ht.jsx)(Bj,{value:r?.userId,onChange:i=>{e({userId:i})}})})]})})},Hye=({children:e,isLink:t})=>t?(0,Ht.jsx)("a",{href:"#avatar-pseudo-link",className:"wp-block-avatar__link",onClick:r=>r.preventDefault(),children:e}):e,Ij=({setAttributes:e,attributes:t,avatar:r,blockProps:o,isSelected:a})=>{let i=(0,dd.__experimentalUseBorderProps)(t),l=(0,v5.addQueryArgs)((0,v5.removeQueryArgs)(r?.src,["s"]),{s:t?.size*2});return(0,Ht.jsx)("div",{...o,children:(0,Ht.jsx)(Hye,{isLink:t.isLink,children:(0,Ht.jsx)(za.ResizableBox,{size:{width:t.size,height:t.size},showHandle:a,onResizeStop:(s,c,u,p)=>{e({size:parseInt(t.size+(p.height||p.width),10)})},lockAspectRatio:!0,enable:{top:!1,right:!(0,sl.isRTL)(),bottom:!0,left:(0,sl.isRTL)()},minWidth:r.minSize,maxWidth:r.maxSize,children:(0,Ht.jsx)("img",{src:l,alt:r.alt,className:S("avatar","avatar-"+t.size,"photo","wp-block-avatar__image",i.className),style:i.style})})})})},jye=({attributes:e,context:t,setAttributes:r,isSelected:o})=>{let{commentId:a}=t,i=(0,dd.useBlockProps)(),l=_j({commentId:a});return(0,Ht.jsxs)(Ht.Fragment,{children:[(0,Ht.jsx)(Nj,{avatar:l,setAttributes:r,attributes:e,selectUser:!1}),(0,Ht.jsx)(Ij,{attributes:e,avatar:l,blockProps:i,isSelected:o,setAttributes:r})]})},Uye=({attributes:e,context:t,setAttributes:r,isSelected:o})=>{let{postId:a,postType:i}=t,l=xj({userId:e?.userId,postId:a,postType:i}),s=(0,dd.useBlockProps)();return(0,Ht.jsxs)(Ht.Fragment,{children:[(0,Ht.jsx)(Nj,{selectUser:!0,attributes:e,avatar:l,setAttributes:r}),(0,Ht.jsx)(Ij,{attributes:e,avatar:l,blockProps:s,isSelected:o,setAttributes:r})]})};function Dj(e){return e?.context?.commentId||e?.context?.commentId===null?(0,Ht.jsx)(jye,{...e}):(0,Ht.jsx)(Uye,{...e})}var{name:Lj}=h5,Rj={icon:Z1,edit:Dj,example:{}},Gye=()=>A({name:Lj,metadata:h5,settings:Rj});var DI={};K(DI,{init:()=>t2e,metadata:()=>_5,name:()=>aU,settings:()=>x5});var II=n(N(),1);var nU=n(q(),1);var CI=n(E(),1),Gv=n(y(),1),Aj=[{attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"string",source:"html",selector:"figcaption"},id:{type:"number"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}},supports:{align:!0},save({attributes:e}){let{autoplay:t,caption:r,loop:o,preload:a,src:i}=e;return(0,Gv.jsxs)("figure",{children:[(0,Gv.jsx)("audio",{controls:"controls",src:i,autoPlay:t,loop:o,preload:a}),!CI.RichText.isEmpty(r)&&(0,Gv.jsx)(CI.RichText.Content,{tagName:"figcaption",value:r})]})}}];var Kj=n(Ar(),1),hi=n(O(),1),Va=n(E(),1),la=n(N(),1),Yj=n(F(),1);var Qj=n(Sr(),1),Xj=n(H(),1);function Th(e,t){var r=0,o,a;t=t||{};function i(){var l=o,s=arguments.length,c,u;e:for(;l;){if(l.args.length!==arguments.length){l=l.next;continue}for(u=0;u<s;u++)if(l.args[u]!==arguments[u]){l=l.next;continue e}return l!==o&&(l===a&&(a=l.prev),l.prev.next=l.next,l.next&&(l.next.prev=l.prev),l.next=o,l.prev=null,o.prev=l,o=l),l.val}for(c=new Array(s),u=0;u<s;u++)c[u]=arguments[u];return l={args:c,val:e.apply(null,c)},o?(o.prev=l,l.next=o):a=l,r===t.maxSize?(a=a.prev,a.next=null):r++,o=l,l.val}return i.clear=function(){o=null,a=null,r=0},i}var Fj=n(O(),1),PI=n(H(),1),Js=n(q(),1),Hj=n(ir(),1);var Xs={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter or YouTube.",textdomain:"default",attributes:{url:{type:"string",role:"content"},caption:{type:"rich-text",source:"rich-text",selector:"figcaption",role:"content"},type:{type:"string",role:"content"},providerNameSlug:{type:"string",role:"content"},allowResponsive:{type:"boolean",default:!0},responsive:{type:"boolean",default:!1,role:"content"},previewable:{type:"boolean",default:!0,role:"content"}},supports:{anchor:!0,align:!0,spacing:{margin:!0},interactivity:{clientNavigation:!0}},editorStyle:"wp-block-embed-editor",style:"wp-block-embed"};var Wv=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.78",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}],SI="wp-embed";var Vj=n(TI(),1),{lock:Oj,unlock:U}=(0,Vj.__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/block-library");var b5=n(y(),1),{name:Ph}=Xs,{kebabCase:$ye}=U(Fj.privateApis),jj=e=>(0,Js.getBlockVariations)(Ph)?.find(({name:t})=>t===e),EI=(e,t=[])=>t.some(r=>e.match(r)),Eh=e=>(0,Js.getBlockVariations)(Ph)?.find(({patterns:t})=>EI(e,t));function $v(e){if(!e||(0,Hj.getAuthority)(e)!=="x.com")return e;let t=new URL(e);return t.host="twitter.com",t.toString()}var Uj=e=>e&&e.includes('class="wp-embedded-content"'),Gj=e=>{let t=e.url||e.thumbnail_url,r=(0,b5.jsx)("p",{children:(0,b5.jsx)("img",{src:t,alt:e.title,width:"100%"})});return(0,PI.renderToString)(r)},vp=(e,t={})=>{let{preview:r,attributes:o={}}=e,{url:a,providerNameSlug:i,type:l,...s}=o;if(!a||!(0,Js.getBlockType)(Ph))return;let c=Eh(a),u=i==="wordpress"||l===SI;if(!u&&c&&(c.attributes.providerNameSlug!==i||!i))return(0,Js.createBlock)(Ph,{url:a,...s,...c.attributes});let m=(0,Js.getBlockVariations)(Ph)?.find(({name:d})=>d==="wordpress");if(!(!m||!r||!Uj(r.html)||u))return(0,Js.createBlock)(Ph,{url:a,...m.attributes,...t})},qye=e=>e?Wv.some(({className:t})=>e.includes(t)):!1,gp=e=>{if(!e)return e;let t=Wv.reduce((o,{className:a})=>(o.push(a),o),["wp-has-aspect-ratio"]),r=e;for(let o of t)r=r.replace(o,"");return r.trim()};function Zye(e){return/padding-(top|bottom)\s*:\s*[\d.]+%/i.test(e)}function BI(e,t,r=!0){if(!r||Zye(e))return gp(t);let o=document.implementation.createHTMLDocument("");o.body.innerHTML=e;let a=o.body.querySelector("iframe");if(a&&a.height&&a.width){let i=(a.width/a.height).toFixed(2);for(let l=0;l<Wv.length;l++){let s=Wv[l];if(i>=s.ratio)return i-s.ratio>.1?gp(t):S(gp(t),s.className,"wp-has-aspect-ratio")}}return t}function Wj(e,t){t((0,Js.createBlock)("core/paragraph",{content:(0,PI.renderToString)((0,b5.jsx)("a",{href:e,children:e}))}))}var Kye=Th((e,t,r,o,a=!0)=>{if(!e)return{};let i={},{type:l="rich"}=e,{html:s,provider_name:c}=e,u=$ye((c||t).toLowerCase());return Uj(s)&&(l=SI),(s||l==="photo")&&(i.type=l,i.providerNameSlug=u),qye(r)||(i.className=BI(s,r,o&&a)),i}),$j=(e,t,r,o)=>{let{allowResponsive:a,className:i}=e;return{...e,...Kye(t,r,i,o,a)}};var fd=n(H(),1),qj=n(ve(),1),qv=n(N(),1),su=n(E(),1),Zj=n(O(),1);var y5=n(q(),1),bp=n(y(),1);function Ao({attributeKey:e="caption",attributes:t,setAttributes:r,isSelected:o,insertBlocksAfter:a,placeholder:i=(0,qv.__)("Add caption"),label:l=(0,qv.__)("Caption text"),showToolbarButton:s=!0,excludeElementClassName:c,className:u,readOnly:p,tagName:m="figcaption",addLabel:d=(0,qv.__)("Add caption"),removeLabel:f=(0,qv.__)("Remove caption"),icon:h=mP,...g}){let v=t[e],b=(0,qj.usePrevious)(v),_=su.RichText.isEmpty(v),k=su.RichText.isEmpty(b),[x,w]=(0,fd.useState)(!_);(0,fd.useEffect)(()=>{!_&&k&&w(!0)},[_,k]),(0,fd.useEffect)(()=>{!o&&_&&w(!1)},[o,_]);let C=(0,fd.useCallback)(P=>{P&&_&&P.focus()},[_]);return(0,bp.jsxs)(bp.Fragment,{children:[s&&(0,bp.jsx)(su.BlockControls,{group:"block",children:(0,bp.jsx)(Zj.ToolbarButton,{onClick:()=>{w(!x),x&&v&&r({[e]:void 0})},icon:h,isPressed:x,label:x?f:d})}),x&&(!su.RichText.isEmpty(v)||o)&&(0,bp.jsx)(su.RichText,{identifier:e,tagName:m,className:S(u,c?"":(0,su.__experimentalGetElementClassName)("caption")),ref:C,"aria-label":l,placeholder:i,value:v,onChange:P=>r({[e]:P}),inlineToolbar:!0,__unstableOnSplitAtEnd:a?()=>a((0,y5.createBlock)((0,y5.getDefaultBlockName)())):void 0,readOnly:p,...g})]})}var Mr=n(y(),1),NI=["audio"];function Yye({attributes:e,className:t,setAttributes:r,onReplace:o,isSelected:a,insertBlocksAfter:i}){let{id:l,autoplay:s,loop:c,preload:u,src:p}=e,[m,d]=(0,Xj.useState)(e.blob),h=(0,Va.useBlockEditingMode)()==="default";Ys({url:m,allowedTypes:NI,onChange:x,onError:_});function g(B){return I=>{r({[B]:I})}}function v(B){if(B!==p){let I=vp({attributes:{url:B}});if(I!==void 0&&o){o(I);return}r({src:B,id:void 0,blob:void 0}),d()}}let{createErrorNotice:b}=(0,Yj.useDispatch)(Qj.store);function _(B){b(B,{type:"snackbar"})}function k(B){return B?(0,la.__)("Autoplay may cause usability issues for some users."):null}function x(B){if(!B||!B.url){r({src:void 0,id:void 0,caption:void 0,blob:void 0}),d();return}if((0,Kj.isBlobURL)(B.url)){d(B.url);return}r({blob:void 0,src:B.url,id:B.id,caption:B.caption}),d()}let w=S(t,{"is-transient":!!m}),C=(0,Va.useBlockProps)({className:w}),P=Z();return!p&&!m?(0,Mr.jsx)("div",{...C,children:(0,Mr.jsx)(Va.MediaPlaceholder,{icon:(0,Mr.jsx)(Va.BlockIcon,{icon:Xm}),onSelect:x,onSelectURL:v,accept:"audio/*",allowedTypes:NI,value:e,onError:_})}):(0,Mr.jsxs)(Mr.Fragment,{children:[a&&(0,Mr.jsx)(Va.BlockControls,{group:"other",children:(0,Mr.jsx)(Va.MediaReplaceFlow,{mediaId:l,mediaURL:p,allowedTypes:NI,accept:"audio/*",onSelect:x,onSelectURL:v,onError:_,onReset:()=>x(void 0),variant:"toolbar"})}),(0,Mr.jsx)(Va.InspectorControls,{children:(0,Mr.jsxs)(hi.__experimentalToolsPanel,{label:(0,la.__)("Settings"),resetAll:()=>{r({autoplay:!1,loop:!1,preload:void 0})},dropdownMenuProps:P,children:[(0,Mr.jsx)(hi.__experimentalToolsPanelItem,{label:(0,la.__)("Autoplay"),isShownByDefault:!0,hasValue:()=>!!s,onDeselect:()=>r({autoplay:!1}),children:(0,Mr.jsx)(hi.ToggleControl,{label:(0,la.__)("Autoplay"),onChange:g("autoplay"),checked:!!s,help:k})}),(0,Mr.jsx)(hi.__experimentalToolsPanelItem,{label:(0,la.__)("Loop"),isShownByDefault:!0,hasValue:()=>!!c,onDeselect:()=>r({loop:!1}),children:(0,Mr.jsx)(hi.ToggleControl,{label:(0,la.__)("Loop"),onChange:g("loop"),checked:!!c})}),(0,Mr.jsx)(hi.__experimentalToolsPanelItem,{label:(0,la.__)("Preload"),isShownByDefault:!0,hasValue:()=>!!u,onDeselect:()=>r({preload:void 0}),children:(0,Mr.jsx)(hi.SelectControl,{label:(0,la._x)("Preload","noun; Audio block parameter"),value:u||"",onChange:B=>r({preload:B||void 0}),options:[{value:"",label:(0,la.__)("Browser default")},{value:"auto",label:(0,la.__)("Auto")},{value:"metadata",label:(0,la.__)("Metadata")},{value:"none",label:(0,la._x)("None","Preload value")}]})})]})}),(0,Mr.jsxs)("figure",{...C,children:[(0,Mr.jsx)("audio",{controls:"controls",inert:a?void 0:"true",src:p??m}),!!m&&(0,Mr.jsx)(hi.Spinner,{}),(0,Mr.jsx)(Ao,{attributes:e,setAttributes:r,isSelected:a,insertBlocksAfter:i,label:(0,la.__)("Audio caption text"),showToolbarButton:a&&h})]})]})}var Jj=Yye;var _5={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/audio",title:"Audio",category:"media",description:"Embed a simple audio player.",keywords:["music","sound","podcast","recording"],textdomain:"default",attributes:{blob:{type:"string",role:"local"},src:{type:"string",source:"attribute",selector:"audio",attribute:"src",role:"content"},caption:{type:"rich-text",source:"rich-text",selector:"figcaption",role:"content"},id:{type:"number",role:"content"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}},supports:{anchor:!0,align:!0,spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},interactivity:{clientNavigation:!0}},editorStyle:"wp-block-audio-editor",style:"wp-block-audio"};var hd=n(E(),1),Zv=n(y(),1);function eU({attributes:e}){let{autoplay:t,caption:r,loop:o,preload:a,src:i}=e;return i&&(0,Zv.jsxs)("figure",{...hd.useBlockProps.save(),children:[(0,Zv.jsx)("audio",{controls:"controls",src:i,autoPlay:t,loop:o,preload:a}),!hd.RichText.isEmpty(r)&&(0,Zv.jsx)(hd.RichText.Content,{tagName:"figcaption",value:r,className:(0,hd.__experimentalGetElementClassName)("caption")})]})}var tU=n(Ar(),1),rU=n(q(),1),Xye={from:[{type:"files",isMatch(e){return e.length===1&&e[0].type.indexOf("audio/")===0},transform(e){let t=e[0];return(0,rU.createBlock)("core/audio",{blob:(0,tU.createBlobURL)(t)})}},{type:"shortcode",tag:"audio",attributes:{src:{type:"string",shortcode:({named:{src:e,mp3:t,m4a:r,ogg:o,wav:a,wma:i}})=>e||t||r||o||a||i},loop:{type:"string",shortcode:({named:{loop:e}})=>e},autoplay:{type:"string",shortcode:({named:{autoplay:e}})=>e},preload:{type:"string",shortcode:({named:{preload:e}})=>e}}}]},oU=Xye;var{fieldsKey:Jye,formKey:e2e}=U(nU.privateApis),{name:aU}=_5,x5={icon:Xm,example:{attributes:{src:"https://upload.wikimedia.org/wikipedia/commons/d/dd/Armstrong_Small_Step.ogg"},viewportWidth:350},transforms:oU,deprecated:Aj,edit:Jj,save:eU};window.__experimentalContentOnlyInspectorFields&&(x5[Jye]=[{id:"audio",label:(0,II.__)("Audio"),type:"media",Edit:{control:"media",allowedTypes:["audio"],multiple:!1},getValue:({item:e})=>({id:e.id,url:e.src}),setValue:({value:e})=>({id:e.id,src:e.url})},{id:"caption",label:(0,II.__)("Caption"),type:"text",Edit:"rich-text"}],x5[e2e]={fields:["audio","caption"]});var t2e=()=>A({name:aU,metadata:_5,settings:x5});var LI={};K(LI,{init:()=>o2e,metadata:()=>k5,name:()=>uU,settings:()=>pU});var k5={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/breadcrumbs",title:"Breadcrumbs",category:"theme",description:"Display a breadcrumb trail showing the path to the current page.",textdomain:"default",attributes:{prefersTaxonomy:{type:"boolean",default:!1},separator:{type:"string",default:"/"},showHomeItem:{type:"boolean",default:!0},showCurrentItem:{type:"boolean",default:!0},showOnHomePage:{type:"boolean",default:!1}},usesContext:["postId","postType","templateSlug"],supports:{anchor:!0,html:!1,align:["wide","full"],spacing:{margin:!0,padding:!0},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!1,color:!0,width:!0,style:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}},style:"wp-block-breadcrumbs"};var $r=n(N(),1),Kv=n(E(),1),en=n(O(),1),iU=n(F(),1),C5=n(re(),1),cu=n(H(),1),lU=n(lp(),1),sU=n(ve(),1);var Bt=n(y(),1),w5="/";function cU({attributes:e,setAttributes:t,name:r,context:{postId:o,postType:a,templateSlug:i}}){let{separator:l,showHomeItem:s,showCurrentItem:c,prefersTaxonomy:u,showOnHomePage:p}=e,{post:m,isPostTypeHierarchical:d,postTypeHasTaxonomies:f,hasTermsAssigned:h,isLoading:g}=(0,iU.useSelect)(z=>{if(!a)return{};let j=z(C5.store).getEntityRecord("postType",a,o),G=z(C5.store).getPostType(a),W=G&&G.taxonomies.length,$;return W&&($=z(C5.store).getTaxonomies({type:a,per_page:-1})),{post:j,isPostTypeHierarchical:G?.hierarchical,postTypeHasTaxonomies:W,hasTermsAssigned:j&&($||[]).filter(({visibility:V})=>V?.publicly_queryable).some(V=>!!j[V.rest_base]?.length),isLoading:o&&!j||!G||W&&!$}},[a,o]),[v,b]=(0,cu.useState)(0);(0,cu.useEffect)(()=>{b(z=>z+1)},[m]);let _=Z(),{content:k,status:x,error:w}=(0,lU.useServerSideRender)({attributes:e,skipBlockSupportAttributes:!0,block:r,urlQueryArgs:{post_id:o,invalidationKey:v}}),C=(0,cu.useRef)("");(0,cu.useEffect)(()=>{x==="success"&&(C.current=k)},[k,x]);let[P,B]=(0,cu.useState)(!1);(0,cu.useEffect)(()=>{if(x!=="loading")return;let z=setTimeout(()=>{B(!0)},400);return()=>{clearTimeout(z),B(!1)}},[x]);let I=(0,sU.useDisabled)(),D=(0,Kv.useBlockProps)({ref:I});if(g)return(0,Bt.jsx)("div",{...D,children:(0,Bt.jsx)(en.Spinner,{})});let T;!d&&!m?.parent?T=!0:f?T=u:T=!1;let L=null,R=!o||!a||i&&!a||!T&&!d||T&&!h;if(R){let z=[];s&&z.push((0,$r.__)("Home")),i&&!o?z.push((0,$r.__)("Page")):T?z.push((0,$r.__)("Category")):z.push((0,$r.__)("Ancestor"),(0,$r.__)("Parent")),L=(0,Bt.jsx)("nav",{...D,style:{"--separator":`"${l.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`,...D.style},children:(0,Bt.jsxs)("ol",{children:[z.map((j,G)=>(0,Bt.jsx)("li",{children:(0,Bt.jsx)("a",{href:`#breadcrumbs-pseudo-link-${G}`,children:j})},G)),c&&(0,Bt.jsx)("li",{children:(0,Bt.jsx)("span",{"aria-current":"page",children:(0,$r.__)("Current")})})]})})}return(0,Bt.jsxs)(Bt.Fragment,{children:[(0,Bt.jsx)(Kv.InspectorControls,{children:(0,Bt.jsxs)(en.__experimentalToolsPanel,{label:(0,$r.__)("Settings"),resetAll:()=>{t({separator:w5,showHomeItem:!0,showCurrentItem:!0})},dropdownMenuProps:_,children:[(0,Bt.jsx)(en.__experimentalToolsPanelItem,{label:(0,$r.__)("Show home breadcrumb"),isShownByDefault:!0,hasValue:()=>!s,onDeselect:()=>t({showHomeItem:!0}),children:(0,Bt.jsx)(en.ToggleControl,{label:(0,$r.__)("Show home breadcrumb"),onChange:z=>t({showHomeItem:z}),checked:s})}),(0,Bt.jsx)(en.__experimentalToolsPanelItem,{label:(0,$r.__)("Show current breadcrumb"),isShownByDefault:!0,hasValue:()=>!c,onDeselect:()=>t({showCurrentItem:!0}),children:(0,Bt.jsx)(en.ToggleControl,{label:(0,$r.__)("Show current breadcrumb"),onChange:z=>t({showCurrentItem:z}),checked:c})}),(0,Bt.jsx)(en.__experimentalToolsPanelItem,{label:(0,$r.__)("Separator"),isShownByDefault:!0,hasValue:()=>l!==w5,onDeselect:()=>t({separator:w5}),children:(0,Bt.jsx)(en.TextControl,{autoComplete:"off",label:(0,$r.__)("Separator"),value:l,onChange:z=>t({separator:z}),onBlur:()=>{l||t({separator:w5})}})})]})}),(0,Bt.jsxs)(Kv.InspectorControls,{group:"advanced",children:[(0,Bt.jsx)(en.CheckboxControl,{label:(0,$r.__)("Show on homepage"),checked:p,onChange:z=>t({showOnHomePage:z}),help:(0,$r.__)("If this Breadcrumbs block appears in a template or template part that\u2019s shown on the homepage, enable this option to display the breadcrumb trail. Otherwise, this setting has no effect.")}),(0,Bt.jsx)(en.CheckboxControl,{label:(0,$r.__)("Prefer taxonomy terms"),checked:u,onChange:z=>t({prefersTaxonomy:z}),help:(0,$r.__)("The exact type of breadcrumbs shown will vary automatically depending on the page in which this block is displayed. In the specific case of a hierarchical post type with taxonomies, the breadcrumbs can either reflect its post hierarchy (default) or the hierarchy of its assigned taxonomy terms.")})]}),x==="loading"&&!R&&(C.current?(0,Bt.jsx)(xo,{wrapperProps:{...D,style:{...D.style,opacity:P?.3:1}},html:C.current}):(0,Bt.jsx)("div",{...D,children:(0,Bt.jsx)(en.Spinner,{})})),x==="error"&&(0,Bt.jsx)("div",{...D,children:(0,Bt.jsx)("p",{children:(0,$r.sprintf)((0,$r.__)("Error: %s"),w)})}),R&&L,!R&&x==="success"&&(0,Bt.jsx)(xo,{wrapperProps:D,html:k})]})}var{name:uU}=k5,pU={icon:aP,example:{},edit:cU},o2e=()=>A({name:uU,metadata:k5,settings:pU});var DD={};K(DD,{init:()=>Nxe,metadata:()=>ew,name:()=>hW,settings:()=>rw});var tw=n(N(),1);var fW=n(q(),1);var ye=n(E(),1),Xl=n(ve(),1);var mU=n(E(),1);var{cleanEmptyObject:n2e}=U(mU.privateApis);function Zt(e){if(!e?.style?.typography?.fontFamily)return e;let{fontFamily:t,...r}=e.style.typography;return{...e,style:n2e({...e.style,typography:r}),fontFamily:t.split("|").pop()}}function be(e){let{textAlign:t,...r}=e;return t?{...r,style:{...e.style,typography:{...e.style?.typography,textAlign:t}}}:e}var jt=n(y(),1),cl=e=>{let{width:t,...r}=e;return t?{...r,style:{...r.style,dimensions:{...r.style?.dimensions,width:`${t}%`}}}:r},Bh=e=>{let{borderRadius:t,...r}=e,o=[t,r.style?.border?.radius].find(a=>typeof a=="number"&&a!==0);return o?{...r,style:{...r.style,border:{...r.style?.border,radius:`${o}px`}}}:r};function a2e(e){if(!e.align)return e;let{align:t,...r}=e;return{...r,className:S(r.className,`align${e.align}`)}}var AI=e=>{if(!e.customTextColor&&!e.customBackgroundColor&&!e.customGradient)return e;let t={color:{}};e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),e.customGradient&&(t.color.gradient=e.customGradient);let{customTextColor:r,customBackgroundColor:o,customGradient:a,...i}=e;return{...i,style:t}},RI=e=>{let{color:t,textColor:r,...o}={...e,customTextColor:e.textColor&&e.textColor[0]==="#"?e.textColor:void 0,customBackgroundColor:e.color&&e.color[0]==="#"?e.color:void 0};return AI(o)},uu={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"}},i2e={attributes:{tagName:{type:"string",enum:["a","button"],default:"a"},type:{type:"string",default:"button"},url:{type:"string",source:"attribute",selector:"a",attribute:"href",role:"content"},title:{type:"string",source:"attribute",selector:"a,button",attribute:"title",role:"content"},text:{type:"rich-text",source:"rich-text",selector:"a,button",role:"content"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target",role:"content"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel",role:"content"},placeholder:{type:"string"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},width:{type:"number"}},supports:{anchor:!0,splitting:!0,align:!1,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{__experimentalSkipSerialization:["fontSize","lineHeight","textAlign","fontFamily","fontWeight","fontStyle","textTransform","textDecoration","letterSpacing"],fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalWritingMode:!0,__experimentalDefaultControls:{fontSize:!0}},reusable:!1,shadow:{__experimentalSkipSerialization:!0},spacing:{__experimentalSkipSerialization:!0,padding:["horizontal","vertical"],__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},interactivity:{clientNavigation:!0}},selectors:{root:".wp-block-button .wp-block-button__link",typography:{writingMode:".wp-block-button"}},save({attributes:e,className:t}){let{tagName:r,type:o,fontSize:a,linkTarget:i,rel:l,style:s,text:c,title:u,url:p,width:m}=e,d=r||"a",f=d==="button",h=o||"button",g=(0,ye.__experimentalGetBorderClassesAndStyles)(e),v=(0,ye.__experimentalGetColorClassesAndStyles)(e),b=(0,ye.__experimentalGetSpacingClassesAndStyles)(e),_=(0,ye.__experimentalGetShadowClassesAndStyles)(e),k=(0,ye.getTypographyClassesAndStyles)(e),x=S("wp-block-button__link",v.className,g.className,k.className,{"no-border-radius":s?.border?.radius===0,"has-custom-font-size":a||s?.typography?.fontSize},(0,ye.__experimentalGetElementClassName)("button")),w={...g.style,...v.style,...b.style,..._.style,...k.style,writingMode:void 0},C=S(t,{[`has-custom-width wp-block-button__width-${m}`]:m});return(0,jt.jsx)("div",{...ye.useBlockProps.save({className:C}),children:(0,jt.jsx)(ye.RichText.Content,{tagName:d,type:f?h:null,className:x,href:f?null:p,title:u,style:w,value:c,target:f?null:i,rel:f?null:l})})},isEligible(e){return typeof e.width=="number"},migrate:cl},l2e={attributes:{tagName:{type:"string",enum:["a","button"],default:"a"},type:{type:"string",default:"button"},textAlign:{type:"string"},url:{type:"string",source:"attribute",selector:"a",attribute:"href",role:"content"},title:{type:"string",source:"attribute",selector:"a,button",attribute:"title",role:"content"},text:{type:"rich-text",source:"rich-text",selector:"a,button",role:"content"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target",role:"content"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel",role:"content"},placeholder:{type:"string"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},width:{type:"number"}},supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{__experimentalSkipSerialization:["fontSize","lineHeight","fontFamily","fontWeight","fontStyle","textTransform","textDecoration","letterSpacing"],fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalWritingMode:!0,__experimentalDefaultControls:{fontSize:!0}},reusable:!1,shadow:{__experimentalSkipSerialization:!0},spacing:{__experimentalSkipSerialization:!0,padding:["horizontal","vertical"],__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},interactivity:{clientNavigation:!0}},selectors:{root:".wp-block-button .wp-block-button__link",typography:{writingMode:".wp-block-button"}},save({attributes:e,className:t}){let{tagName:r,type:o,textAlign:a,fontSize:i,linkTarget:l,rel:s,style:c,text:u,title:p,url:m,width:d}=e,f=r||"a",h=f==="button",g=o||"button",v=(0,ye.__experimentalGetBorderClassesAndStyles)(e),b=(0,ye.__experimentalGetColorClassesAndStyles)(e),_=(0,ye.__experimentalGetSpacingClassesAndStyles)(e),k=(0,ye.__experimentalGetShadowClassesAndStyles)(e),x=(0,ye.getTypographyClassesAndStyles)(e),w=S("wp-block-button__link",b.className,v.className,x.className,{[`has-text-align-${a}`]:a,"no-border-radius":c?.border?.radius===0,"has-custom-font-size":i||c?.typography?.fontSize},(0,ye.__experimentalGetElementClassName)("button")),C={...v.style,...b.style,..._.style,...k.style,...x.style,writingMode:void 0},P=S(t,{[`has-custom-width wp-block-button__width-${d}`]:d});return(0,jt.jsx)("div",{...ye.useBlockProps.save({className:P}),children:(0,jt.jsx)(ye.RichText.Content,{tagName:f,type:h?g:null,className:w,href:h?null:m,title:p,style:C,value:u,target:h?null:l,rel:h?null:s})})},isEligible(e){return!!e.textAlign||typeof e.width=="number"},migrate:(0,Xl.compose)(cl,be)},s2e={attributes:{tagName:{type:"string",enum:["a","button"],default:"a"},type:{type:"string",default:"button"},textAlign:{type:"string"},url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a,button",attribute:"title",role:"content"},text:{type:"rich-text",source:"rich-text",selector:"a,button",role:"content"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target",role:"content"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel",role:"content"},placeholder:{type:"string"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},width:{type:"number"}},supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalWritingMode:!0,__experimentalDefaultControls:{fontSize:!0}},reusable:!1,shadow:{__experimentalSkipSerialization:!0},spacing:{__experimentalSkipSerialization:!0,padding:["horizontal","vertical"],__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},__experimentalSelector:".wp-block-button__link",interactivity:{clientNavigation:!0}},save({attributes:e,className:t}){let{tagName:r,type:o,textAlign:a,fontSize:i,linkTarget:l,rel:s,style:c,text:u,title:p,url:m,width:d}=e,f=r||"a",h=f==="button",g=o||"button",v=(0,ye.__experimentalGetBorderClassesAndStyles)(e),b=(0,ye.__experimentalGetColorClassesAndStyles)(e),_=(0,ye.__experimentalGetSpacingClassesAndStyles)(e),k=(0,ye.__experimentalGetShadowClassesAndStyles)(e),x=S("wp-block-button__link",b.className,v.className,{[`has-text-align-${a}`]:a,"no-border-radius":c?.border?.radius===0},(0,ye.__experimentalGetElementClassName)("button")),w={...v.style,...b.style,..._.style,...k.style},C=S(t,{[`has-custom-width wp-block-button__width-${d}`]:d,"has-custom-font-size":i||c?.typography?.fontSize});return(0,jt.jsx)("div",{...ye.useBlockProps.save({className:C}),children:(0,jt.jsx)(ye.RichText.Content,{tagName:f,type:h?g:null,className:x,href:h?null:m,title:p,style:w,value:u,target:h?null:l,rel:h?null:s})})},isEligible(e){return typeof e.width=="number"},migrate:cl},c2e={attributes:{url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},width:{type:"number"}},supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{fontSize:!0,__experimentalFontFamily:!0,__experimentalDefaultControls:{fontSize:!0}},reusable:!1,spacing:{__experimentalSkipSerialization:!0,padding:["horizontal","vertical"],__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{radius:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{radius:!0}},__experimentalSelector:".wp-block-button__link"},save({attributes:e,className:t}){let{fontSize:r,linkTarget:o,rel:a,style:i,text:l,title:s,url:c,width:u}=e;if(!l)return null;let p=(0,ye.__experimentalGetBorderClassesAndStyles)(e),m=(0,ye.__experimentalGetColorClassesAndStyles)(e),d=(0,ye.__experimentalGetSpacingClassesAndStyles)(e),f=S("wp-block-button__link",m.className,p.className,{"no-border-radius":i?.border?.radius===0}),h={...p.style,...m.style,...d.style},g=S(t,{[`has-custom-width wp-block-button__width-${u}`]:u,"has-custom-font-size":r||i?.typography?.fontSize});return(0,jt.jsx)("div",{...ye.useBlockProps.save({className:g}),children:(0,jt.jsx)(ye.RichText.Content,{tagName:"a",className:f,href:c,title:s,style:h,value:l,target:o,rel:a})})}},u2e={attributes:{url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},width:{type:"number"}},supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0},typography:{fontSize:!0,__experimentalFontFamily:!0},reusable:!1,spacing:{__experimentalSkipSerialization:!0,padding:["horizontal","vertical"],__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{radius:!0,__experimentalSkipSerialization:!0},__experimentalSelector:".wp-block-button__link"},save({attributes:e,className:t}){let{fontSize:r,linkTarget:o,rel:a,style:i,text:l,title:s,url:c,width:u}=e;if(!l)return null;let p=(0,ye.__experimentalGetBorderClassesAndStyles)(e),m=(0,ye.__experimentalGetColorClassesAndStyles)(e),d=(0,ye.__experimentalGetSpacingClassesAndStyles)(e),f=S("wp-block-button__link",m.className,p.className,{"no-border-radius":i?.border?.radius===0}),h={...p.style,...m.style,...d.style},g=S(t,{[`has-custom-width wp-block-button__width-${u}`]:u,"has-custom-font-size":r||i?.typography?.fontSize});return(0,jt.jsx)("div",{...ye.useBlockProps.save({className:g}),children:(0,jt.jsx)(ye.RichText.Content,{tagName:"a",className:f,href:c,title:s,style:h,value:l,target:o,rel:a})})},migrate:(0,Xl.compose)(cl,Zt),isEligible({style:e,width:t}){return e?.typography?.fontFamily||typeof t=="number"}},p2e=[i2e,l2e,s2e,c2e,u2e,{supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0},typography:{fontSize:!0,__experimentalFontFamily:!0},reusable:!1,__experimentalSelector:".wp-block-button__link"},attributes:{...uu,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},width:{type:"number"}},isEligible({style:e}){return typeof e?.border?.radius=="number"},save({attributes:e,className:t}){let{fontSize:r,linkTarget:o,rel:a,style:i,text:l,title:s,url:c,width:u}=e;if(!l)return null;let p=i?.border?.radius,m=(0,ye.__experimentalGetColorClassesAndStyles)(e),d=S("wp-block-button__link",m.className,{"no-border-radius":i?.border?.radius===0}),f={borderRadius:p||void 0,...m.style},h=S(t,{[`has-custom-width wp-block-button__width-${u}`]:u,"has-custom-font-size":r||i?.typography?.fontSize});return(0,jt.jsx)("div",{...ye.useBlockProps.save({className:h}),children:(0,jt.jsx)(ye.RichText.Content,{tagName:"a",className:d,href:c,title:s,style:f,value:l,target:o,rel:a})})},migrate:(0,Xl.compose)(cl,Zt,Bh)},{supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0},reusable:!1,__experimentalSelector:".wp-block-button__link"},attributes:{...uu,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"},width:{type:"number"}},save({attributes:e,className:t}){let{borderRadius:r,linkTarget:o,rel:a,text:i,title:l,url:s,width:c}=e,u=(0,ye.__experimentalGetColorClassesAndStyles)(e),p=S("wp-block-button__link",u.className,{"no-border-radius":r===0}),m={borderRadius:r?r+"px":void 0,...u.style},d=S(t,{[`has-custom-width wp-block-button__width-${c}`]:c});return(0,jt.jsx)("div",{...ye.useBlockProps.save({className:d}),children:(0,jt.jsx)(ye.RichText.Content,{tagName:"a",className:p,href:s,title:l,style:m,value:i,target:o,rel:a})})},migrate:(0,Xl.compose)(cl,Zt,Bh)},{supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0},reusable:!1,__experimentalSelector:".wp-block-button__link"},attributes:{...uu,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"},width:{type:"number"}},save({attributes:e,className:t}){let{borderRadius:r,linkTarget:o,rel:a,text:i,title:l,url:s,width:c}=e,u=(0,ye.__experimentalGetColorClassesAndStyles)(e),p=S("wp-block-button__link",u.className,{"no-border-radius":r===0}),m={borderRadius:r?r+"px":void 0,...u.style},d=S(t,{[`has-custom-width wp-block-button__width-${c}`]:c});return(0,jt.jsx)("div",{...ye.useBlockProps.save({className:d}),children:(0,jt.jsx)(ye.RichText.Content,{tagName:"a",className:p,href:s,title:l,style:m,value:i,target:o,rel:a})})},migrate:(0,Xl.compose)(cl,Zt,Bh)},{supports:{align:!0,alignWide:!1,color:{gradients:!0}},attributes:{...uu,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"}},save({attributes:e}){let{borderRadius:t,linkTarget:r,rel:o,text:a,title:i,url:l}=e,s=S("wp-block-button__link",{"no-border-radius":t===0}),c={borderRadius:t?t+"px":void 0};return(0,jt.jsx)(ye.RichText.Content,{tagName:"a",className:s,href:l,title:i,style:c,value:a,target:r,rel:o})},migrate:(0,Xl.compose)(cl,Bh)},{supports:{align:!0,alignWide:!1},attributes:{...uu,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},customGradient:{type:"string"},gradient:{type:"string"}},isEligible:e=>!!e.customTextColor||!!e.customBackgroundColor||!!e.customGradient||!!e.align,migrate:(0,Xl.compose)(cl,Bh,AI,a2e),save({attributes:e}){let{backgroundColor:t,borderRadius:r,customBackgroundColor:o,customTextColor:a,customGradient:i,linkTarget:l,gradient:s,rel:c,text:u,textColor:p,title:m,url:d}=e,f=(0,ye.getColorClassName)("color",p),h=!i&&(0,ye.getColorClassName)("background-color",t),g=(0,ye.__experimentalGetGradientClass)(s),v=S("wp-block-button__link",{"has-text-color":p||a,[f]:f,"has-background":t||o||i||s,[h]:h,"no-border-radius":r===0,[g]:g}),b={background:i||void 0,backgroundColor:h||i||s?void 0:o,color:f?void 0:a,borderRadius:r?r+"px":void 0};return(0,jt.jsx)("div",{children:(0,jt.jsx)(ye.RichText.Content,{tagName:"a",className:v,href:d,title:m,style:b,value:u,target:l,rel:c})})}},{attributes:{...uu,align:{type:"string",default:"none"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"}},isEligible(e){return e.className&&e.className.includes("is-style-squared")},migrate(e){let t=e.className;return t&&(t=t.replace(/is-style-squared[\s]?/,"").trim()),Bh(AI({...e,className:t||void 0,borderRadius:0}))},save({attributes:e}){let{backgroundColor:t,customBackgroundColor:r,customTextColor:o,linkTarget:a,rel:i,text:l,textColor:s,title:c,url:u}=e,p=(0,ye.getColorClassName)("color",s),m=(0,ye.getColorClassName)("background-color",t),d=S("wp-block-button__link",{"has-text-color":s||o,[p]:p,"has-background":t||r,[m]:m}),f={backgroundColor:m?void 0:r,color:p?void 0:o};return(0,jt.jsx)("div",{children:(0,jt.jsx)(ye.RichText.Content,{tagName:"a",className:d,href:u,title:c,style:f,value:l,target:a,rel:i})})}},{attributes:{...uu,align:{type:"string",default:"none"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"}},migrate:(0,Xl.compose)(cl,RI),save({attributes:e}){let{url:t,text:r,title:o,backgroundColor:a,textColor:i,customBackgroundColor:l,customTextColor:s}=e,c=(0,ye.getColorClassName)("color",i),u=(0,ye.getColorClassName)("background-color",a),p=S("wp-block-button__link",{"has-text-color":i||s,[c]:c,"has-background":a||l,[u]:u}),m={backgroundColor:u?void 0:l,color:c?void 0:s};return(0,jt.jsx)("div",{children:(0,jt.jsx)(ye.RichText.Content,{tagName:"a",className:p,href:t,title:o,style:m,value:r})})}},{attributes:{...uu,color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}},save({attributes:e}){let{url:t,text:r,title:o,align:a,color:i,textColor:l}=e,s={backgroundColor:i,color:l};return(0,jt.jsx)("div",{className:`align${a}`,children:(0,jt.jsx)(ye.RichText.Content,{tagName:"a",className:"wp-block-button__link",href:t,title:o,style:s,value:r})})},migrate:(0,Xl.compose)(cl,RI)},{attributes:{...uu,color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}},save({attributes:e}){let{url:t,text:r,title:o,align:a,color:i,textColor:l}=e;return(0,jt.jsx)("div",{className:`align${a}`,style:{backgroundColor:i},children:(0,jt.jsx)(ye.RichText.Content,{tagName:"a",href:t,title:o,style:{color:l},value:r})})},migrate:(0,Xl.compose)(cl,RI)}],dU=p2e;var pl=n(N(),1),Bn=n(H(),1),Hh=n(O(),1),ut=n(E(),1),Sp=n(ec(),1);var du=n(q(),1),Td=n(ve(),1),mb=n(F(),1);var gd=n(ct(),1);function hU({controlled:e,default:t,name:r,state:o="value"}){let{current:a}=gd.useRef(e!==void 0),[i,l]=gd.useState(t),s=a?e:i,c=gd.useCallback(u=>{a||l(u)},[]);return[s,c]}var m2e=n(ct(),1),Yv={...m2e};var vU=n(ct(),1),gU={};function tc(e,t){let r=vU.useRef(gU);return r.current===gU&&(r.current=e(t)),r}var MI=Yv.useInsertionEffect,d2e=MI&&MI!==Yv.useLayoutEffect?MI:e=>e();function mr(e){let t=tc(f2e).current;return t.next=e,d2e(t.effect),t.trampoline}function f2e(){let e={next:void 0,callback:h2e,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function h2e(){}var bU=n(ct(),1),g2e=()=>{},Kt=typeof document<"u"?bU.useLayoutEffect:g2e;var yp=n(ct(),1);var S5=n(ct(),1),zI=S5.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},elementsRef:{current:[]},nextIndexRef:{current:0}});function yU(){return S5.useContext(zI)}var _U=n(y(),1);function T5(e){let{children:t,elementsRef:r,labelsRef:o,onMapChange:a}=e,i=mr(a),l=yp.useRef(0),s=tc(b2e).current,c=tc(v2e).current,[u,p]=yp.useState(0),m=yp.useRef(u),d=mr((b,_)=>{c.set(b,_??null),m.current+=1,p(m.current)}),f=mr(b=>{c.delete(b),m.current+=1,p(m.current)}),h=yp.useMemo(()=>{let b=new Map;return Array.from(c.keys()).filter(k=>k.isConnected).sort(y2e).forEach((k,x)=>{let w=c.get(k)??{};b.set(k,{...w,index:x})}),b},[c,u]);Kt(()=>{if(typeof MutationObserver!="function"||h.size===0)return;let b=new MutationObserver(_=>{let k=new Set,x=w=>k.has(w)?k.delete(w):k.add(w);_.forEach(w=>{w.removedNodes.forEach(x),w.addedNodes.forEach(x)}),k.size===0&&(m.current+=1,p(m.current))});return h.forEach((_,k)=>{k.parentElement&&b.observe(k.parentElement,{childList:!0})}),()=>{b.disconnect()}},[h]),Kt(()=>{m.current===u&&(r.current.length!==h.size&&(r.current.length=h.size),o&&o.current.length!==h.size&&(o.current.length=h.size),l.current=h.size),i(h)},[i,h,r,o,u]),Kt(()=>()=>{r.current=[]},[r]),Kt(()=>()=>{o&&(o.current=[])},[o]);let g=mr(b=>(s.add(b),()=>{s.delete(b)}));Kt(()=>{s.forEach(b=>b(h))},[s,h]);let v=yp.useMemo(()=>({register:d,unregister:f,subscribeMapChange:g,elementsRef:r,labelsRef:o,nextIndexRef:l}),[d,f,g,r,o,l]);return(0,_U.jsx)(zI.Provider,{value:v,children:t})}function v2e(){return new Map}function b2e(){return new Set}function y2e(e,t){let r=e.compareDocumentPosition(t);return r&Node.DOCUMENT_POSITION_FOLLOWING||r&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:r&Node.DOCUMENT_POSITION_PRECEDING||r&Node.DOCUMENT_POSITION_CONTAINS?1:0}var P5=n(ct(),1),_2e=P5.createContext(void 0);function xU(){return P5.useContext(_2e)?.direction??"ltr"}function x2e(e,t){return function(o,...a){let i=new URL(e);return i.searchParams.set("code",o.toString()),a.forEach(l=>i.searchParams.append("args[]",l)),`${t} error #${o}; visit ${i} for the full message.`}}var k2e=x2e("https://base-ui.com/production-error","Base UI"),_p=k2e;var bd=n(ct(),1);function vd(e,t,r,o){let a=tc(wU).current;return w2e(a,e,t,r,o)&&CU(a,[e,t,r,o]),a.callback}function kU(e){let t=tc(wU).current;return C2e(t,e)&&CU(t,e),t.callback}function wU(){return{callback:null,cleanup:null,refs:[]}}function w2e(e,t,r,o,a){return e.refs[0]!==t||e.refs[1]!==r||e.refs[2]!==o||e.refs[3]!==a}function C2e(e,t){return e.refs.length!==t.length||e.refs.some((r,o)=>r!==t[o])}function CU(e,t){if(e.refs=t,t.every(r=>r==null)){e.callback=null;return}e.callback=r=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),r!=null){let o=Array(t.length).fill(null);for(let a=0;a<t.length;a+=1){let i=t[a];if(i!=null)switch(typeof i){case"function":{let l=i(r);typeof l=="function"&&(o[a]=l);break}case"object":{i.current=r;break}default:}}e.cleanup=()=>{for(let a=0;a<t.length;a+=1){let i=t[a];if(i!=null)switch(typeof i){case"function":{let l=o[a];typeof l=="function"?l():i(null);break}case"object":{i.current=null;break}default:}}}}}}var TU=n(ct(),1);var SU=n(ct(),1),S2e=parseInt(SU.version,10);function E5(e){return S2e>=e}function VI(e){if(!TU.isValidElement(e))return null;let t=e,r=t.props;return(E5(19)?r?.ref:t.ref)??null}function Qv(e,t){if(e&&!t)return e;if(!e&&t)return t;if(e||t)return{...e,...t}}function OI(){}var Xv=Object.freeze([]),rc=Object.freeze({});function PU(e,t){let r={};for(let o in e){let a=e[o];if(t?.hasOwnProperty(o)){let i=t[o](a);i!=null&&Object.assign(r,i);continue}a===!0?r[`data-${o.toLowerCase()}`]="":a&&(r[`data-${o.toLowerCase()}`]=a.toString())}return r}function EU(e,t){return typeof e=="function"?e(t):e}function BU(e,t){return typeof e=="function"?e(t):e}var FI={};function Jl(e,t,r,o,a){if(!r&&!o&&!a&&!e)return B5(t);let i=B5(e);return t&&(i=Jv(i,t)),r&&(i=Jv(i,r)),o&&(i=Jv(i,o)),a&&(i=Jv(i,a)),i}function NU(e){if(e.length===0)return FI;if(e.length===1)return B5(e[0]);let t=B5(e[0]);for(let r=1;r<e.length;r+=1)t=Jv(t,e[r]);return t}function B5(e){return HI(e)?{...DU(e,FI)}:T2e(e)}function Jv(e,t){return HI(t)?DU(t,e):P2e(e,t)}function T2e(e){let t={...e};for(let r in t){let o=t[r];IU(r,o)&&(t[r]=LU(o))}return t}function P2e(e,t){if(!t)return e;for(let r in t){let o=t[r];switch(r){case"style":{e[r]=Qv(e.style,o);break}case"className":{e[r]=jI(e.className,o);break}default:IU(r,o)?e[r]=E2e(e[r],o):e[r]=o}}return e}function IU(e,t){let r=e.charCodeAt(0),o=e.charCodeAt(1),a=e.charCodeAt(2);return r===111&&o===110&&a>=65&&a<=90&&(typeof t=="function"||typeof t>"u")}function HI(e){return typeof e=="function"}function DU(e,t){return HI(e)?e(t):e??FI}function E2e(e,t){return t?e?(...r)=>{let o=r[0];if(RU(o)){let i=o;eb(i);let l=t(...r);return i.baseUIHandlerPrevented||e?.(...r),l}let a=t(...r);return e?.(...r),a}:LU(t):e}function LU(e){return e&&((...t)=>{let r=t[0];return RU(r)&&eb(r),e(...t)})}function eb(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function jI(e,t){return t?e?t+" "+e:t:e}function RU(e){return e!=null&&typeof e=="object"&&"nativeEvent"in e}var UI=n(ct(),1);function ul(e,t,r={}){let o=t.render,a=B2e(t,r);if(r.enabled===!1)return null;let i=r.state??rc;return D2e(e,o,a,i)}function B2e(e,t={}){let{className:r,style:o,render:a}=e,{state:i=rc,ref:l,props:s,stateAttributesMapping:c,enabled:u=!0}=t,p=u?EU(r,i):void 0,m=u?BU(o,i):void 0,d=u?PU(i,c):rc,f=u&&s?N2e(s):void 0,h=u?Qv(d,f)??{}:rc;return typeof document<"u"&&(u?Array.isArray(l)?h.ref=kU([h.ref,VI(a),...l]):h.ref=vd(h.ref,VI(a),l):vd(null,null)),u?(p!==void 0&&(h.className=jI(h.className,p)),m!==void 0&&(h.style=Qv(h.style,m)),h):rc}function N2e(e){return Array.isArray(e)?NU(e):Jl(void 0,e)}var I2e=Symbol.for("react.lazy");function D2e(e,t,r,o){if(t){if(typeof t=="function")return t(r,o);let a=Jl(r,t.props);a.ref=r.ref;let i=t;return i?.$$typeof===I2e&&(i=bd.Children.toArray(t)[0]),bd.cloneElement(i,a)}if(e&&typeof e=="string")return L2e(e,r);throw new Error(_p(8))}function L2e(e,t){return e==="button"?(0,UI.createElement)("button",{type:"button",...t,key:t.key}):e==="img"?(0,UI.createElement)("img",{alt:"",...t,key:t.key}):bd.createElement(e,t)}var N5=n(ct(),1);var AU=0;function R2e(e,t="mui"){let[r,o]=N5.useState(e),a=e||r;return N5.useEffect(()=>{r==null&&(AU+=1,o(`${t}-${AU}`))},[r,t]),a}var MU=Yv.useId;function zU(e,t){if(MU!==void 0){let r=MU();return e??(t?`${t}-${r}`:r)}return R2e(e,t)}function I5(e){return zU(e,"base-ui")}var es={};K(es,{cancelOpen:()=>s_e,chipRemovePress:()=>G2e,clearPress:()=>U2e,closePress:()=>H2e,closeWatcher:()=>t_e,decrementPress:()=>q2e,disabled:()=>u_e,drag:()=>a_e,escapeKey:()=>e_e,focusOut:()=>J2e,imperativeAction:()=>d_e,incrementPress:()=>$2e,initial:()=>m_e,inputBlur:()=>Y2e,inputChange:()=>Z2e,inputClear:()=>K2e,inputPaste:()=>Q2e,inputPress:()=>X2e,itemPress:()=>F2e,keyboard:()=>o_e,linkPress:()=>j2e,listNavigation:()=>r_e,missing:()=>p_e,none:()=>A2e,outsidePress:()=>O2e,pointer:()=>n_e,scrub:()=>l_e,siblingOpen:()=>c_e,swipe:()=>f_e,trackPress:()=>W2e,triggerFocus:()=>V2e,triggerHover:()=>z2e,triggerPress:()=>M2e,wheel:()=>i_e,windowResize:()=>h_e});var A2e="none",M2e="trigger-press",z2e="trigger-hover",V2e="trigger-focus",O2e="outside-press",F2e="item-press",H2e="close-press",j2e="link-press",U2e="clear-press",G2e="chip-remove-press",W2e="track-press",$2e="increment-press",q2e="decrement-press",Z2e="input-change",K2e="input-clear",Y2e="input-blur",Q2e="input-paste",X2e="input-press",J2e="focus-out",e_e="escape-key",t_e="close-watcher",r_e="list-navigation",o_e="keyboard",n_e="pointer",a_e="drag",i_e="wheel",l_e="scrub",s_e="cancel-open",c_e="sibling-open",u_e="disabled",p_e="missing",m_e="initial",d_e="imperative-action",f_e="swipe",h_e="window-resize";function tb(e,t,r,o){let a=!1,i=!1,l=o??rc;return{reason:e,event:t??new Event("base-ui"),cancel(){a=!0},allowPropagation(){i=!0},get isCanceled(){return a},get isPropagationAllowed(){return i},trigger:r,...l}}var WI=n(ct(),1);var VU=n(ct(),1),g_e=[];function OU(e){VU.useEffect(e,g_e)}var D5=null,PHe=globalThis.requestAnimationFrame,GI=class{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=t=>{this.isScheduled=!1;let r=this.callbacks,o=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,o>0)for(let a=0;a<r.length;a+=1)r[a]?.(t)};request(t){let r=this.nextId;return this.nextId+=1,this.callbacks.push(t),this.callbacksCount+=1,!this.isScheduled&&(requestAnimationFrame(this.tick),this.isScheduled=!0),r}cancel(t){let r=t-this.startId;r<0||r>=this.callbacks.length||(this.callbacks[r]=null,this.callbacksCount-=1)}},L5=new GI,oc=class e{static create(){return new e}static request(t){return L5.request(t)}static cancel(t){return L5.cancel(t)}currentId=D5;request(t){this.cancel(),this.currentId=L5.request(()=>{this.currentId=D5,t()})}cancel=()=>{this.currentId!==D5&&(L5.cancel(this.currentId),this.currentId=D5)};disposeEffect=()=>this.cancel};function FU(){let e=tc(oc.create).current;return OU(e.disposeEffect),e}function HU(e,t=!1,r=!1){let[o,a]=WI.useState(e&&t?"idle":void 0),[i,l]=WI.useState(e);return e&&!i&&(l(!0),a("starting")),!e&&i&&o!=="ending"&&!r&&a("ending"),!e&&!i&&o==="ending"&&a(void 0),Kt(()=>{if(!e&&i&&o!=="ending"&&r){let s=oc.request(()=>{a("ending")});return()=>{oc.cancel(s)}}},[e,i,o,r]),Kt(()=>{if(!e||t)return;let s=oc.request(()=>{a(void 0)});return()=>{oc.cancel(s)}},[t,e]),Kt(()=>{if(!e||!t)return;e&&i&&o!=="idle"&&a("starting");let s=oc.request(()=>{a("idle")});return()=>{oc.cancel(s)}},[t,e,i,o]),{mounted:i,setMounted:l,transitionStatus:o}}var yd=n(ct(),1);var v_e=(function(e){return e[e.None=0]="None",e[e.GuessFromOrder=1]="GuessFromOrder",e})({});function R5(e={}){let{label:t,metadata:r,textRef:o,indexGuessBehavior:a,index:i}=e,{register:l,unregister:s,subscribeMapChange:c,elementsRef:u,labelsRef:p,nextIndexRef:m}=yU(),d=yd.useRef(-1),[f,h]=yd.useState(i??(a===v_e.GuessFromOrder?()=>{if(d.current===-1){let b=m.current;m.current+=1,d.current=b}return d.current}:-1)),g=yd.useRef(null),v=yd.useCallback(b=>{if(g.current=b,f!==-1&&b!==null&&(u.current[f]=b,p)){let _=t!==void 0;p.current[f]=_?t:o?.current?.textContent??b.textContent}},[f,u,p,t,o]);return Kt(()=>{if(i!=null)return;let b=g.current;if(b)return l(b,r),()=>{s(b)}},[i,l,s,r]),Kt(()=>{if(i==null)return c(b=>{let _=g.current?b.get(g.current)?.index:null;_!=null&&h(_)})},[i,c,h]),{ref:v,index:f}}var _d=(function(e){return e.startingStyle="data-starting-style",e.endingStyle="data-ending-style",e})({}),b_e={[_d.startingStyle]:""},y_e={[_d.endingStyle]:""},jU={transitionStatus(e){return e==="starting"?b_e:e==="ending"?y_e:null}};var Nh=n(ct(),1);function UU(){return typeof window<"u"}function $I(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function xd(e){return UU()?e instanceof HTMLElement||e instanceof $I(e).HTMLElement:!1}function GU(e){return!UU()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof $I(e).ShadowRoot}function A5(e){return $I(e).getComputedStyle(e)}var M5=n(ct(),1),qI=M5.createContext(void 0);function z5(e=!1){let t=M5.useContext(qI);if(t===void 0&&!e)throw new Error(_p(16));return t}var WU=n(ct(),1);function $U(e){let{focusableWhenDisabled:t,disabled:r,composite:o=!1,tabIndex:a=0,isNativeButton:i}=e,l=o&&t!==!1,s=o&&t===!1;return{props:WU.useMemo(()=>{let u={onKeyDown(p){r&&t&&p.key!=="Tab"&&p.preventDefault()}};return o||(u.tabIndex=a,!i&&r&&(u.tabIndex=t?a:-1)),(i&&(t||l)||!i&&r)&&(u["aria-disabled"]=r),i&&(!t||s)&&(u.disabled=r),u},[o,r,t,l,s,i,a])}}function KI(e={}){let{disabled:t=!1,focusableWhenDisabled:r,tabIndex:o=0,native:a=!0,composite:i}=e,l=Nh.useRef(null),s=z5(!0),c=i??s!==void 0,{props:u}=$U({focusableWhenDisabled:r,disabled:t,composite:c,tabIndex:o,isNativeButton:a}),p=Nh.useCallback(()=>{let f=l.current;ZI(f)&&c&&t&&u.disabled===void 0&&f.disabled&&(f.disabled=!1)},[t,u.disabled,c]);Kt(p,[p]);let m=Nh.useCallback((f={})=>{let{onClick:h,onMouseDown:g,onKeyUp:v,onKeyDown:b,onPointerDown:_,...k}=f;return Jl({onClick(x){if(t){x.preventDefault();return}h?.(x)},onMouseDown(x){t||g?.(x)},onKeyDown(x){if(t||(eb(x),b?.(x),x.baseUIHandlerPrevented))return;let w=x.target===x.currentTarget,C=x.currentTarget,P=ZI(C),B=!a&&__e(C),I=w&&(a?P:!B),D=x.key==="Enter",T=x.key===" ",L=C.getAttribute("role"),R=L?.startsWith("menuitem")||L==="option"||L==="gridcell";if(w&&c&&T){if(x.defaultPrevented&&R)return;x.preventDefault(),B||a&&P?(C.click(),x.preventBaseUIHandler()):I&&(h?.(x),x.preventBaseUIHandler());return}I&&(!a&&(T||D)&&x.preventDefault(),!a&&D&&h?.(x))},onKeyUp(x){if(!t){if(eb(x),v?.(x),x.target===x.currentTarget&&a&&c&&ZI(x.currentTarget)&&x.key===" "){x.preventDefault();return}x.baseUIHandlerPrevented||x.target===x.currentTarget&&!a&&!c&&x.key===" "&&h?.(x)}},onPointerDown(x){if(t){x.preventDefault();return}_?.(x)}},a?{type:"button"}:{role:"button"},u,k)},[t,u,c,a]),d=mr(f=>{l.current=f,p()});return{getButtonProps:m,buttonRef:d}}function ZI(e){return xd(e)&&e.tagName==="BUTTON"}function __e(e){return!!(e?.tagName==="A"&&e?.href)}function YI(e){return e?.ownerDocument||document}var XU=n(ct(),1);var YU=n(ZU(),1);function KU(e){return e==null?e:"current"in e?e.current:e}function QU(e,t=!1,r=!0){let o=FU();return mr((a,i=null)=>{o.cancel();let l=KU(e);if(l==null)return;let s=l,c=()=>{YU.flushSync(a)};if(typeof s.getAnimations!="function"||globalThis.BASE_UI_ANIMATIONS_DISABLED){a();return}function u(){Promise.all(s.getAnimations().map(p=>p.finished)).then(()=>{i?.aborted||c()}).catch(()=>{if(r){i?.aborted||c();return}let p=s.getAnimations();!i?.aborted&&p.length>0&&p.some(m=>m.pending||m.playState!=="finished")&&u()})}if(t){let p=_d.startingStyle;if(!s.hasAttribute(p)){o.request(u);return}let m=new MutationObserver(()=>{s.hasAttribute(p)||(m.disconnect(),u())});m.observe(s,{attributes:!0,attributeFilter:[p]}),i?.addEventListener("abort",()=>m.disconnect(),{once:!0});return}o.request(u)})}function JU(e){let{enabled:t=!0,open:r,ref:o,onComplete:a}=e,i=mr(a),l=QU(o,r,!1);XU.useEffect(()=>{if(!t)return;let s=new AbortController;return l(i,s.signal),()=>{s.abort()}},[t,r,i,l])}function QI(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function XI(e,t){if(!e||!t)return!1;let r=t.getRootNode?.();if(e.contains(t))return!0;if(r&&GU(r)){let o=t;for(;o;){if(e===o)return!0;o=o.parentNode||o.host}}return!1}function V5(e){return"composedPath"in e?e.composedPath()[0]:e.target}var JI=Math.round;function rb(e,t){return t<0||t>=e.length}function eD(e,t){return kd(e.current,{disabledIndices:t})}function tD(e,t){return kd(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function kd(e,{startingIndex:t=-1,decrement:r=!1,disabledIndices:o,amount:a=1}={}){let i=t;do i+=r?-a:a;while(i>=0&&i<=e.length-1&&ob(e,i,o));return i}function ob(e,t,r){if(typeof r=="function"?r(t):r?.includes(t)??!1)return!0;let a=e[t];return a?k_e(a)?!r&&(a.hasAttribute("disabled")||a.getAttribute("aria-disabled")==="true"):!0:!1}function x_e(e){return e.visibility==="hidden"||e.visibility==="collapse"}function k_e(e,t=e?A5(e):null){return!e||!e.isConnected||!t||x_e(t)?!1:typeof e.checkVisibility=="function"?e.checkVisibility():t.display!=="none"&&t.display!=="contents"}var O5=n(ct(),1);function nG(){let[,e]=O5.useState({});return O5.useCallback(()=>{e({})},[])}var Dh="ArrowUp",Lh="ArrowDown",nb="ArrowLeft",ab="ArrowRight",ib="Home",lb="End";var oD=new Set([nb,ab]),iG=new Set([nb,ab,ib,lb]),nD=new Set([Dh,Lh]),lG=new Set([Dh,Lh,ib,lb]),aD=new Set([...oD,...nD]),sG=new Set([...aD,ib,lb]),D_e="Shift",L_e="Control",R_e="Alt",A_e="Meta",cG=new Set([D_e,L_e,R_e,A_e]);function M_e(e){return xd(e)&&e.tagName==="INPUT"}function iD(e){return!!(M_e(e)&&e.selectionStart!=null||xd(e)&&e.tagName==="TEXTAREA")}function lD(e,t,r,o){if(!e||!t||!t.scrollTo)return;let a=e.scrollLeft,i=e.scrollTop,l=e.clientWidth<e.scrollWidth,s=e.clientHeight<e.scrollHeight;if(l&&o!=="vertical"){let c=aG(e,t,"left"),u=F5(e),p=F5(t);r==="ltr"&&(c+t.offsetWidth+p.scrollMarginRight>e.scrollLeft+e.clientWidth-u.scrollPaddingRight?a=c+t.offsetWidth+p.scrollMarginRight-e.clientWidth+u.scrollPaddingRight:c-p.scrollMarginLeft<e.scrollLeft+u.scrollPaddingLeft&&(a=c-p.scrollMarginLeft-u.scrollPaddingLeft)),r==="rtl"&&(c-p.scrollMarginRight<e.scrollLeft+u.scrollPaddingLeft?a=c-p.scrollMarginLeft-u.scrollPaddingLeft:c+t.offsetWidth+p.scrollMarginRight>e.scrollLeft+e.clientWidth-u.scrollPaddingRight&&(a=c+t.offsetWidth+p.scrollMarginRight-e.clientWidth+u.scrollPaddingRight))}if(s&&o!=="horizontal"){let c=aG(e,t,"top"),u=F5(e),p=F5(t);c-p.scrollMarginTop<e.scrollTop+u.scrollPaddingTop?i=c-p.scrollMarginTop-u.scrollPaddingTop:c+t.offsetHeight+p.scrollMarginBottom>e.scrollTop+e.clientHeight-u.scrollPaddingBottom&&(i=c+t.offsetHeight+p.scrollMarginBottom-e.clientHeight+u.scrollPaddingBottom)}e.scrollTo({left:a,top:i,behavior:"auto"})}function aG(e,t,r){let o=r==="left"?"offsetLeft":"offsetTop",a=0;for(;t.offsetParent&&(a+=t[o],t.offsetParent!==e);)t=t.offsetParent;return a}function F5(e){let t=getComputedStyle(e);return{scrollMarginTop:parseFloat(t.scrollMarginTop)||0,scrollMarginRight:parseFloat(t.scrollMarginRight)||0,scrollMarginBottom:parseFloat(t.scrollMarginBottom)||0,scrollMarginLeft:parseFloat(t.scrollMarginLeft)||0,scrollPaddingTop:parseFloat(t.scrollPaddingTop)||0,scrollPaddingRight:parseFloat(t.scrollPaddingRight)||0,scrollPaddingBottom:parseFloat(t.scrollPaddingBottom)||0,scrollPaddingLeft:parseFloat(t.scrollPaddingLeft)||0}}function uG(e){return E5(19)?e:e?"true":void 0}var pG=n(ct(),1);function mG(e={}){let{highlightItemOnHover:t,highlightedIndex:r,onHighlightedIndexChange:o}=z5(),{ref:a,index:i}=R5(e),l=r===i,s=pG.useRef(null),c=vd(a,s);return{compositeProps:{tabIndex:l?0:-1,onFocus(){o(i)},onMouseMove(){let p=s.current;if(!t||!p)return;let m=p.hasAttribute("disabled")||p.ariaDisabled==="true";!l&&!m&&p.focus()}},compositeRef:c,index:i}}function sD(e){let t=A5(e),r=parseFloat(t.width)||0,o=parseFloat(t.height)||0,a=xd(e),i=a?e.offsetWidth:r,l=a?e.offsetHeight:o;return(JI(r)!==i||JI(o)!==l)&&(r=i,o=l),{width:r,height:o}}function dG(e){return e==null||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true"}var H5=n(ct(),1),z_e=H5.createContext(void 0),V_e={disableStyleElements:!1};function fG(){return H5.useContext(z_e)??V_e}var gG=n(ct(),1);var Rh=n(ct(),1);var j5="data-composite-item-active";var O_e=[];function hG(e){let{loopFocus:t=!0,orientation:r="both",grid:o,onLoop:a,direction:i,highlightedIndex:l,onHighlightedIndexChange:s,rootRef:c,enableHomeAndEndKeys:u=!1,stopEventPropagation:p=!1,disabledIndices:m,modifierKeys:d=O_e}=e,[f,h]=Rh.useState(0),g=o!=null,v=Rh.useRef(null),b=vd(v,c),_=Rh.useRef([]),k=Rh.useRef(!1),x=l??f,w=mr((D,T=!1)=>{if((s??h)(D),T){let L=_.current[D];lD(v.current,L,i,r)}}),C=mr(D=>{if(D.size===0||k.current)return;k.current=!0;let T=Array.from(D.keys()),L=T.find(z=>z?.hasAttribute(j5))??null,R=L?T.indexOf(L):-1;if(R!==-1)w(R);else if(ob(T,x,m)){let z=kd(T,{disabledIndices:m});rb(T,z)||w(z)}lD(v.current,L,i,r)});Kt(()=>{if(m==null||l!=null||!k.current)return;let D=_.current;if(ob(D,x,m)){let T=kd(D,{disabledIndices:m});rb(D,T)||w(T)}},[m,l,x,_,w]);let P=mr((D,T,L)=>a?a(D,T,L,_):L),B=mr(D=>{let T=u?sG:aD;if(!T.has(D.key)||F_e(D,d)||!v.current)return;let R=i==="rtl",z=R?nb:ab,j={horizontal:z,vertical:Lh,both:z}[r],G=R?ab:nb,W={horizontal:G,vertical:Dh,both:G}[r],$=V5(D.nativeEvent);if($!=null&&iD($)&&!dG($)){let J=$.selectionStart,ce=$.selectionEnd,ie=$.value??"";if(J==null||D.shiftKey||J!==ce||D.key!==W&&J<ie.length||D.key!==j&&J>0)return}let V=x,Q=eD(_,m),Y=tD(_,m);o!=null&&(V=o({disabledIndices:m,elementsRef:_,event:D,highlightedIndex:x,loopFocus:t,maxIndex:Y,minIndex:Q,onLoop:P,orientation:r,rtl:R}));let ee={horizontal:[z],vertical:[Lh],both:[z,Lh]}[r],te={horizontal:[G],vertical:[Dh],both:[G,Dh]}[r],ae=g?T:{horizontal:u?iG:oD,vertical:u?lG:nD,both:T}[r];u&&(D.key===ib?V=Q:D.key===lb&&(V=Y)),V===x&&(ee.includes(D.key)||te.includes(D.key))&&(t&&V===Y&&ee.includes(D.key)?(V=Q,a&&(V=a(D,x,V,_))):t&&V===Q&&te.includes(D.key)?(V=Y,a&&(V=a(D,x,V,_))):V=kd(_.current,{startingIndex:V,decrement:te.includes(D.key),disabledIndices:m})),V!==x&&!rb(_.current,V)&&(p&&D.stopPropagation(),ae.has(D.key)&&D.preventDefault(),w(V,!0),queueMicrotask(()=>{_.current[V]?.focus()}))});return{props:{ref:b,onFocus(D){let T=v.current,L=V5(D.nativeEvent);!T||L==null||!iD(L)||L.setSelectionRange(0,L.value.length??0)},onKeyDown:B},highlightedIndex:x,onHighlightedIndexChange:w,elementsRef:_,disabledIndices:m,onMapChange:C,relayKeyboardEvent:B}}function F_e(e,t){for(let r of cG.values())if(!t.includes(r)&&e.getModifierState(r))return!0;return!1}var cD=n(y(),1);function vG(e){let{render:t,className:r,style:o,refs:a=Xv,props:i=Xv,state:l=rc,stateAttributesMapping:s,highlightedIndex:c,onHighlightedIndexChange:u,orientation:p,grid:m,loopFocus:d,onLoop:f,enableHomeAndEndKeys:h,onMapChange:g,stopEventPropagation:v=!0,rootRef:b,disabledIndices:_,modifierKeys:k,highlightItemOnHover:x=!1,tag:w="div",...C}=e,P=xU(),{props:B,highlightedIndex:I,onHighlightedIndexChange:D,elementsRef:T,onMapChange:L,relayKeyboardEvent:R}=hG({grid:m,loopFocus:d,onLoop:f,orientation:p,highlightedIndex:c,onHighlightedIndexChange:u,rootRef:b,stopEventPropagation:v,enableHomeAndEndKeys:h,direction:P,disabledIndices:_,modifierKeys:k}),z=ul(w,e,{state:l,ref:a,props:[B,...i,C],stateAttributesMapping:s}),j=gG.useMemo(()=>({highlightedIndex:I,onHighlightedIndexChange:D,highlightItemOnHover:x,relayKeyboardEvent:R}),[I,D,x,R]);return(0,cD.jsx)(qI.Provider,{value:j,children:(0,cD.jsx)(T5,{elementsRef:T,onMapChange:G=>{g?.(G),L(G)},children:z})})}var bG=n(oG(),1);function H_e(){return OI}function j_e(){return!1}function U_e(){return!0}function yG(){return(0,bG.useSyncExternalStore)(H_e,j_e,U_e)}var rs={};K(rs,{Indicator:()=>SG,List:()=>EG,Panel:()=>PG,Root:()=>kG,Tab:()=>wG});var qr=n(ct(),1);var U5=n(ct(),1),uD=U5.createContext(void 0);function xp(){let e=U5.useContext(uD);if(e===void 0)throw new Error(_p(64));return e}var _G=(function(e){return e.activationDirection="data-activation-direction",e.orientation="data-orientation",e})({});var nc={tabActivationDirection:e=>({[_G.activationDirection]:e})};var pD=n(y(),1),kG=qr.forwardRef(function(t,r){let{className:o,defaultValue:a=0,onValueChange:i,orientation:l="horizontal",render:s,value:c,style:u,...p}=t,m=t.defaultValue!==void 0,d=qr.useRef([]),[f,h]=qr.useState(()=>new Map),[g,v]=hU({controlled:c,default:a,name:"Tabs",state:"value"}),b=c!==void 0,[_,k]=qr.useState(()=>new Map),x=qr.useRef(void 0),w=qr.useCallback(se=>{if(se===void 0)return null;for(let[de,_e]of _.entries())if(_e!=null&&se===(_e.value??_e.index))return de;return null},[_]),[C,P]=qr.useState(()=>({previousValue:g,tabActivationDirection:"none"})),{previousValue:B,tabActivationDirection:I}=C,D=I,T=!1;B!==g&&(D=xG(B,g,l,_),T=B!=null&&g!=null&&w(g)==null);let L=T?B:g,R=B!==L||I!==D;Kt(()=>{R&&P({previousValue:L,tabActivationDirection:D})},[L,R,D]);let z=mr((se,de)=>{let _e=xG(g,se,l,_);de.activationDirection=_e,i?.(se,de),!de.isCanceled&&v(se)}),j=mr((se,de)=>{i?.(se,tb(de,void 0,void 0,{activationDirection:"none"}))}),G=mr((se,de)=>{h(_e=>{if(_e.get(se)===de)return _e;let oe=new Map(_e);return oe.set(se,de),oe})}),W=mr((se,de)=>{h(_e=>{if(!_e.has(se)||_e.get(se)!==de)return _e;let oe=new Map(_e);return oe.delete(se),oe})}),$=qr.useCallback(se=>f.get(se),[f]),V=qr.useCallback(se=>{for(let de of _.values())if(se===de?.value)return de?.id},[_]),Q=qr.useMemo(()=>({getTabElementBySelectedValue:w,getTabIdByPanelValue:V,getTabPanelIdByValue:$,onValueChange:z,orientation:l,registerMountedTabPanel:G,setTabMap:k,unregisterMountedTabPanel:W,tabActivationDirection:D,value:g}),[w,V,$,z,l,G,k,W,D,g]),Y=qr.useMemo(()=>{for(let se of _.values())if(se!=null&&se.value===g)return se},[_,g]),ee=qr.useMemo(()=>{for(let se of _.values())if(se!=null&&!se.disabled)return se.value},[_]),te=qr.useRef(!m),ae=qr.useRef(a),J=qr.useRef(m),ce=qr.useRef(!1);Kt(()=>{if(b)return;function se(pe,le){v(pe),P(Pe=>Pe.previousValue===pe&&Pe.tabActivationDirection==="none"?Pe:{previousValue:pe,tabActivationDirection:"none"}),j(pe,le),te.current=!1}if(_.size===0){ce.current&&g!==null&&!x.current?.isConnected&&se(null,es.missing);return}ce.current=!0,x.current=_.keys().next().value;let de=Y?.disabled,_e=Y==null&&g!==null;if(!de&&g===ae.current&&(J.current=!1),J.current&&de&&g===ae.current)return;let oe=te.current;if(de||_e){let pe=ee??null;if(g===pe){te.current=!1;return}let le=es.missing;oe?le=es.initial:de&&(le=es.disabled),se(pe,le);return}oe&&Y!=null&&(j(g,es.initial),te.current=!1)},[ee,b,j,Y,v,_,g]);let we=ul("div",t,{state:{orientation:l,tabActivationDirection:D},ref:r,props:p,stateAttributesMapping:nc});return(0,pD.jsx)(uD.Provider,{value:Q,children:(0,pD.jsx)(T5,{elementsRef:d,children:we})})});function xG(e,t,r,o){if(e==null||t==null)return"none";let a=null,i=null;for(let[c,u]of o.entries()){if(u==null)continue;let p=u.value??u.index;if(e===p&&(a=c),t===p&&(i=c),a!=null&&i!=null)break}if(a==null||i==null)return a!==i&&(typeof e=="number"||typeof e=="string")&&typeof e==typeof t?r==="horizontal"?t>e?"right":"left":t>e?"down":"up":"none";let l=a.getBoundingClientRect(),s=i.getBoundingClientRect();if(r==="horizontal"){if(s.left<l.left)return"left";if(s.left>l.left)return"right"}else{if(s.top<l.top)return"up";if(s.top>l.top)return"down"}return"none"}var pu=n(ct(),1);var G5=n(ct(),1),mD=G5.createContext(void 0);function W5(){let e=G5.useContext(mD);if(e===void 0)throw new Error(_p(65));return e}var wG=pu.forwardRef(function(t,r){let{className:o,disabled:a=!1,render:i,value:l,id:s,nativeButton:c=!0,style:u,...p}=t,{value:m,getTabPanelIdByValue:d,orientation:f,tabActivationDirection:h}=xp(),{activateOnFocus:g,highlightedTabIndex:v,onTabActivation:b,registerTabResizeObserverElement:_,setHighlightedTabIndex:k,tabsListElement:x}=W5(),w=I5(s),C=pu.useMemo(()=>({disabled:a,id:w,value:l}),[a,w,l]),{compositeProps:P,compositeRef:B,index:I}=mG({metadata:C}),D=l===m,T=pu.useRef(!1),L=pu.useRef(null);Kt(()=>{let te=L.current;if(te)return _(te)},[_]),Kt(()=>{if(T.current){T.current=!1;return}if(!(D&&I>-1&&v!==I))return;let te=x;if(te!=null){let ae=QI(YI(te));if(ae&&XI(te,ae))return}a||k(I)},[D,I,v,k,a,x]);let{getButtonProps:R,buttonRef:z}=KI({disabled:a,native:c,focusableWhenDisabled:!0}),j=d(l),G=pu.useRef(!1),W=pu.useRef(!1);function $(te){D||a||b(l,tb(es.none,te.nativeEvent,void 0,{activationDirection:"none"}))}function V(te){D||(I>-1&&!a&&k(I),!a&&g&&(!G.current||G.current&&W.current)&&b(l,tb(es.none,te.nativeEvent,void 0,{activationDirection:"none"})))}function Q(te){if(D||a)return;G.current=!0;function ae(){G.current=!1,W.current=!1}(!te.button||te.button===0)&&(W.current=!0,YI(te.currentTarget).addEventListener("pointerup",ae,{once:!0}))}return ul("button",t,{state:{disabled:a,active:D,orientation:f,tabActivationDirection:h},ref:[r,z,B,L],props:[P,{role:"tab","aria-controls":j,"aria-selected":D,id:w,onClick:$,onFocus:V,onPointerDown:Q,[j5]:D?"":void 0,onKeyDownCapture(){T.current=!0}},p,R],stateAttributesMapping:nc})});var Ah=n(ct(),1);var CG='!function(){const t=document.currentScript.previousElementSibling;if(!t)return;const e=t.closest(\'[role="tablist"]\');if(!e)return;const i=e.querySelector("[data-active]");if(!i)return;if(0===i.offsetWidth||0===e.offsetWidth)return;let o=0,n=0,h=0,l=0,r=0,f=0;function s(t){const e=getComputedStyle(t);let i=parseFloat(e.width)||0,o=parseFloat(e.height)||0;return(Math.round(i)!==t.offsetWidth||Math.round(o)!==t.offsetHeight)&&(i=t.offsetWidth,o=t.offsetHeight),{width:i,height:o}}if(null!=i&&null!=e){const{width:t,height:c}=s(i),{width:u,height:d}=s(e),a=i.getBoundingClientRect(),g=e.getBoundingClientRect(),p=u>0?g.width/u:1,b=d>0?g.height/d:1;if(Math.abs(p)>Number.EPSILON&&Math.abs(b)>Number.EPSILON){const t=a.left-g.left,i=a.top-g.top;o=t/p+e.scrollLeft-e.clientLeft,h=i/b+e.scrollTop-e.clientTop}else o=i.offsetLeft,h=i.offsetTop;r=t,f=c,n=e.scrollWidth-o-r,l=e.scrollHeight-h-f}function c(e,i){t.style.setProperty(`--active-tab-${e}`,`${i}px`)}c("left",o),c("right",n),c("top",h),c("bottom",l),c("width",r),c("height",f),r>0&&f>0&&t.removeAttribute("hidden")}();';var wd=(function(e){return e.activeTabLeft="--active-tab-left",e.activeTabRight="--active-tab-right",e.activeTabTop="--active-tab-top",e.activeTabBottom="--active-tab-bottom",e.activeTabWidth="--active-tab-width",e.activeTabHeight="--active-tab-height",e})({});var $5=n(y(),1),G_e={...nc,activeTabPosition:()=>null,activeTabSize:()=>null},SG=Ah.forwardRef(function(t,r){let{className:o,render:a,renderBeforeHydration:i=!1,style:l,...s}=t,{nonce:c}=fG(),{getTabElementBySelectedValue:u,orientation:p,tabActivationDirection:m,value:d}=xp(),{tabsListElement:f,registerIndicatorUpdateListener:h}=W5(),g=yG(),v=nG();Ah.useEffect(()=>h(v),[h,v]);let b=0,_=0,k=0,x=0,w=0,C=0,P=!1;if(d!=null&&f!=null){let z=u(d);if(z!=null){P=!0;let{width:j,height:G}=sD(z),{width:W,height:$}=sD(f),V=z.getBoundingClientRect(),Q=f.getBoundingClientRect(),Y=W>0?Q.width/W:1,ee=$>0?Q.height/$:1;if(Math.abs(Y)>Number.EPSILON&&Math.abs(ee)>Number.EPSILON){let ae=V.left-Q.left,J=V.top-Q.top;b=ae/Y+f.scrollLeft-f.clientLeft,k=J/ee+f.scrollTop-f.clientTop}else b=z.offsetLeft,k=z.offsetTop;w=j,C=G,_=f.scrollWidth-b-w,x=f.scrollHeight-k-C}}let B=P?{left:b,right:_,top:k,bottom:x}:null,I=P?{width:w,height:C}:null,D=P?{[wd.activeTabLeft]:`${b}px`,[wd.activeTabRight]:`${_}px`,[wd.activeTabTop]:`${k}px`,[wd.activeTabBottom]:`${x}px`,[wd.activeTabWidth]:`${w}px`,[wd.activeTabHeight]:`${C}px`}:void 0,T=P&&w>0&&C>0,R=ul("span",t,{state:{orientation:p,activeTabPosition:B,activeTabSize:I,tabActivationDirection:m},ref:r,props:[{role:"presentation",style:D,hidden:!T},s,{suppressHydrationWarning:!0}],stateAttributesMapping:G_e});return d==null?null:(0,$5.jsxs)(Ah.Fragment,{children:[R,g&&i&&(0,$5.jsx)("script",{nonce:c,dangerouslySetInnerHTML:{__html:CG},suppressHydrationWarning:!0})]})});var Mh=n(ct(),1);var TG=(function(e){return e.index="data-index",e.activationDirection="data-activation-direction",e.orientation="data-orientation",e.hidden="data-hidden",e[e.startingStyle=_d.startingStyle]="startingStyle",e[e.endingStyle=_d.endingStyle]="endingStyle",e})({});var W_e={...nc,...jU},PG=Mh.forwardRef(function(t,r){let{className:o,value:a,render:i,keepMounted:l=!1,style:s,...c}=t,{value:u,getTabIdByPanelValue:p,orientation:m,tabActivationDirection:d,registerMountedTabPanel:f,unregisterMountedTabPanel:h}=xp(),g=I5(),v=Mh.useMemo(()=>({id:g,value:a}),[g,a]),{ref:b,index:_}=R5({metadata:v}),k=a===u,{mounted:x,transitionStatus:w,setMounted:C}=HU(k),P=!x,B=p(a),I={hidden:P,orientation:m,tabActivationDirection:d,transitionStatus:w},D=Mh.useRef(null),T=ul("div",t,{state:I,ref:[r,b,D],props:[{"aria-labelledby":B,hidden:P,id:g,role:"tabpanel",tabIndex:k?0:-1,inert:uG(!k),[TG.index]:_},c],stateAttributesMapping:W_e});return JU({open:k,ref:D,onComplete(){k||C(!1)}}),Kt(()=>{if(!(P&&!l)&&g!=null)return f(a,g),()=>{h(a,g)}},[P,l,a,g,f,h]),l||x?T:null});var ts=n(ct(),1);var dD=n(y(),1),EG=ts.forwardRef(function(t,r){let{activateOnFocus:o=!1,className:a,loopFocus:i=!0,render:l,style:s,...c}=t,{onValueChange:u,orientation:p,value:m,setTabMap:d,tabActivationDirection:f}=xp(),[h,g]=ts.useState(0),[v,b]=ts.useState(null),_=ts.useRef(new Set),k=ts.useRef(new Set),x=ts.useRef(null);Kt(()=>{if(typeof ResizeObserver>"u")return;let T=new ResizeObserver(()=>{_.current.forEach(L=>{L()})});return x.current=T,v&&T.observe(v),k.current.forEach(L=>{T.observe(L)}),()=>{T.disconnect(),x.current=null}},[v]);let w=mr(T=>(_.current.add(T),()=>{_.current.delete(T)})),C=mr(T=>(k.current.add(T),x.current?.observe(T),()=>{k.current.delete(T),x.current?.unobserve(T)})),P=mr((T,L)=>{T!==m&&u(T,L)}),B={orientation:p,tabActivationDirection:f},I={"aria-orientation":p==="vertical"?"vertical":void 0,role:"tablist"},D=ts.useMemo(()=>({activateOnFocus:o,highlightedTabIndex:h,registerIndicatorUpdateListener:w,registerTabResizeObserverElement:C,onTabActivation:P,setHighlightedTabIndex:g,tabsListElement:v}),[o,h,w,C,P,g,v]);return(0,dD.jsx)(mD.Provider,{value:D,children:(0,dD.jsx)(vG,{render:l,className:a,style:s,state:B,refs:[r,b],props:[I,c],stateAttributesMapping:nc,highlightedIndex:h,enableHomeAndEndKeys:!0,loopFocus:i,orientation:p,onHighlightedIndexChange:g,onMapChange:d,disabledIndices:Xv})})});function zh(e){return ul(e.defaultTagName??"div",e,e)}var NG=n(H(),1),IG=n(M(),1),DG=n(y(),1),fD=(0,NG.forwardRef)(function({icon:t,size:r=24,...o},a){return(0,DG.jsx)(IG.SVG,{ref:a,...t.props,...o,width:r,height:r})});var LG=n(H(),1),hD="data-wp-hash";function gD(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&q_e(document)),e.__wpStyleRuntime}function $_e(e,t){if(!e.head)return!1;for(let r of e.head.querySelectorAll(`style[${hD}]`))if(r.getAttribute(hD)===t)return!0;return!1}function RG(e,t,r){if(!e.head)return;let o=gD(),a=o.injectedStyles.get(e);if(a||(a=new Set,o.injectedStyles.set(e,a)),a.has(t))return;if($_e(e,t)){a.add(t);return}let i=e.createElement("style");i.setAttribute(hD,t),i.appendChild(e.createTextNode(r)),e.head.appendChild(i),a.add(t)}function q_e(e){let t=gD();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[r,o]of t.styles)RG(e,r,o);return()=>{let r=t.documents.get(e);if(r!==void 0){if(r<=1){t.documents.delete(e);return}t.documents.set(e,r-1)}}}function Z_e(e,t){let r=gD();r.styles.set(e,t);for(let o of r.documents.keys())RG(o,e,t)}typeof process>"u",Z_e("32aba35fe1","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._19ce0419607e1896__stack{display:flex}}}");var K_e={stack:"_19ce0419607e1896__stack"},Y_e={xs:"var(--wpds-dimension-gap-xs, 4px)",sm:"var(--wpds-dimension-gap-sm, 8px)",md:"var(--wpds-dimension-gap-md, 12px)",lg:"var(--wpds-dimension-gap-lg, 16px)",xl:"var(--wpds-dimension-gap-xl, 24px)","2xl":"var(--wpds-dimension-gap-2xl, 32px)","3xl":"var(--wpds-dimension-gap-3xl, 40px)"},kp=(0,LG.forwardRef)(function({direction:t,gap:r,align:o,justify:a,wrap:i,render:l,...s},c){let u={gap:r&&Y_e[r],alignItems:o,justifyContent:a,flexDirection:t,flexWrap:i};return zh({render:l,ref:c,props:Jl(s,{style:u,className:K_e.stack})})});var wp=n(H(),1);function AG(e){let t=(0,wp.useRef)(e);t.current=e;let r=(0,wp.useRef)(null),o=(0,wp.useRef)(!1),a=(0,wp.useCallback)(()=>{o.current||(r.current&&clearTimeout(r.current),r.current=setTimeout(()=>{t.current(),r.current=null},0))},[]);return(0,wp.useEffect)(()=>(o.current=!1,()=>{o.current=!0,r.current&&clearTimeout(r.current)}),[]),a}var MG=n(H(),1),vD="data-wp-hash";function bD(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&X_e(document)),e.__wpStyleRuntime}function Q_e(e,t){if(!e.head)return!1;for(let r of e.head.querySelectorAll(`style[${vD}]`))if(r.getAttribute(vD)===t)return!0;return!1}function zG(e,t,r){if(!e.head)return;let o=bD(),a=o.injectedStyles.get(e);if(a||(a=new Set,o.injectedStyles.set(e,a)),a.has(t))return;if(Q_e(e,t)){a.add(t);return}let i=e.createElement("style");i.setAttribute(vD,t),i.appendChild(e.createTextNode(r)),e.head.appendChild(i),a.add(t)}function X_e(e){let t=bD();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[r,o]of t.styles)zG(e,r,o);return()=>{let r=t.documents.get(e);if(r!==void 0){if(r<=1){t.documents.delete(e);return}t.documents.set(e,r-1)}}}function J_e(e,t){let r=bD();r.styles.set(e,t);for(let o of r.documents.keys())zG(o,e,t)}typeof process>"u",J_e("fa606a57ae","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.f37b9e2e191ebd66__visually-hidden{word-wrap:normal;border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-break:normal}}}");var exe={"visually-hidden":"f37b9e2e191ebd66__visually-hidden"},gi=(0,MG.forwardRef)(function({render:t,...r},o){return zh({render:t,ref:o,props:Jl({className:exe["visually-hidden"]},r,{"data-visually-hidden":""})})});var VG=n(H(),1),OG=n(N(),1),Oh=n(y(),1),yD="data-wp-hash";function _D(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&rxe(document)),e.__wpStyleRuntime}function txe(e,t){if(!e.head)return!1;for(let r of e.head.querySelectorAll(`style[${yD}]`))if(r.getAttribute(yD)===t)return!0;return!1}function FG(e,t,r){if(!e.head)return;let o=_D(),a=o.injectedStyles.get(e);if(a||(a=new Set,o.injectedStyles.set(e,a)),a.has(t))return;if(txe(e,t)){a.add(t);return}let i=e.createElement("style");i.setAttribute(yD,t),i.appendChild(e.createTextNode(r)),e.head.appendChild(i),a.add(t)}function rxe(e){let t=_D();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[r,o]of t.styles)FG(e,r,o);return()=>{let r=t.documents.get(e);if(r!==void 0){if(r<=1){t.documents.delete(e);return}t.documents.set(e,r-1)}}}function Z5(e,t){let r=_D();r.styles.set(e,t);for(let o of r.documents.keys())FG(o,e,t)}typeof process>"u",Z5("10f3806643","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}");var oxe={"box-sizing":"_336cd3e4e743482f__box-sizing"};typeof process>"u",Z5("da99a163ac","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._08e8a2e44959f892__outset-ring--focus:focus,.c5cb3ee4bddaa8e4__outset-ring--focus-within-visible:focus-within:has(:focus-visible),.cd83dfc2126a0846__outset-ring--focus-within:focus-within,.d0541bc9dd9dc7b6__outset-ring--focus-visible:focus-visible,:focus-visible .ecadb9e080e2dfa5__outset-ring--focus-parent-visible{--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9));--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9));outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9));outline-offset:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px))}._970d04df7376df67__outset-ring--focus-within-except-active:focus-within,.e25b2bdd7aa21721__outset-ring--focus-except-active:focus{outline:none}._970d04df7376df67__outset-ring--focus-within-except-active:focus-within:not(:has(:active)),.e25b2bdd7aa21721__outset-ring--focus-except-active:focus:not(:active){@include mixins.focus-ring()}}}");var nxe={"outset-ring--focus":"_08e8a2e44959f892__outset-ring--focus","outset-ring--focus-visible":"d0541bc9dd9dc7b6__outset-ring--focus-visible","outset-ring--focus-within":"cd83dfc2126a0846__outset-ring--focus-within","outset-ring--focus-within-visible":"c5cb3ee4bddaa8e4__outset-ring--focus-within-visible","outset-ring--focus-parent-visible":"ecadb9e080e2dfa5__outset-ring--focus-parent-visible","outset-ring--focus-except-active":"e25b2bdd7aa21721__outset-ring--focus-except-active","outset-ring--focus-within-except-active":"_970d04df7376df67__outset-ring--focus-within-except-active"};typeof process>"u",Z5("e8e6a9be37",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.d4250949359b05ce__link{text-decoration-thickness:from-font;text-underline-offset:.2em}.c6055659b8e2cd2c__is-brand,.c6055659b8e2cd2c__is-brand:visited{--_gcd-a-color:var(--wpds-color-foreground-interactive-brand,var(--wp-admin-theme-color,#3858e9));color:var(--wpds-color-foreground-interactive-brand,var(--wp-admin-theme-color,#3858e9))}.c6055659b8e2cd2c__is-brand:active,.c6055659b8e2cd2c__is-brand:hover{--_gcd-a-color:var(--wpds-color-foreground-interactive-brand-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 52%,#000));color:var(--wpds-color-foreground-interactive-brand-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 52%,#000))}._92e0dfcaeee15b88__is-neutral,._92e0dfcaeee15b88__is-neutral:visited{--_gcd-a-color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);text-decoration-color:var(--wpds-color-stroke-interactive-neutral,#8d8d8d)}._92e0dfcaeee15b88__is-neutral:active,._92e0dfcaeee15b88__is-neutral:hover{--_gcd-a-color:var(--wpds-color-foreground-interactive-neutral-active,#1e1e1e);color:var(--wpds-color-foreground-interactive-neutral-active,#1e1e1e)}.cf122a9bf1035d42__is-unstyled{--_gcd-a-color:inherit;color:inherit;text-decoration:none}._0cb411afac4c86c7__link-icon{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-padding-xs,4px);text-decoration:none}._0cb411afac4c86c7__link-icon:after{content:"\\2197"}._0cb411afac4c86c7__link-icon:dir(rtl):after{content:"\\2196"}}}');var q5={link:"d4250949359b05ce__link","is-brand":"c6055659b8e2cd2c__is-brand","is-neutral":"_92e0dfcaeee15b88__is-neutral","is-unstyled":"cf122a9bf1035d42__is-unstyled","link-icon":"_0cb411afac4c86c7__link-icon"};typeof process>"u",Z5("af6d9984a6","._6defc79820e382c6__button{box-sizing:var(--_gcd-button-box-sizing,border-box);font-family:var(--_gcd-button-font-family,inherit);font-size:var(--_gcd-button-font-size,inherit);font-weight:var(--_gcd-button-font-weight,inherit)}.d2cff2e5dea83bd1__input{box-sizing:var(--_gcd-input-box-sizing,border-box);font-family:var(--_gcd-input-font-family,inherit);font-size:var(--_gcd-input-font-size,inherit);font-weight:var(--_gcd-input-font-weight,inherit);margin:var(--_gcd-input-margin,0);&:is(textarea,[type=text],[type=password],[type=color],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){background-color:var(--_gcd-input-background-color,transparent);border:var(--_gcd-input-border,none);border-radius:var(--_gcd-input-border-radius,0);box-shadow:var(--_gcd-input-box-shadow,0 0 0 transparent);color:var(--_gcd-input-color,var(--wpds-color-foreground-interactive-neutral,#1e1e1e));&:focus{border-color:var(--_gcd-input-border-color-focus,var(--wp-admin-theme-color));box-shadow:var(--_gcd-input-box-shadow-focus,none);outline:var(--_gcd-input-outline-focus,none)}&:disabled{background:var(--_gcd-input-background-disabled,transparent);border-color:var(--_gcd-input-border-color-disabled,transparent);box-shadow:var(--_gcd-input-box-shadow-disabled,none);color:var(--_gcd-input-color-disabled,var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d))}&::placeholder{color:var(--_gcd-input-placeholder-color,var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d))}}&:is(textarea,[type=text],[type=password],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){line-height:var(--_gcd-input-line-height,inherit);min-height:var(--_gcd-input-min-height,auto);padding:var(--_gcd-input-padding,0)}}._547d86373d02e108__textarea{box-sizing:var(--_gcd-textarea-box-sizing,border-box);overflow:var(--_gcd-textarea-overflow,auto);resize:var(--_gcd-textarea-resize,block)}._8c15fd0ed9f28ba4__div{outline:var(--_gcd-div-outline,0 solid transparent)}p._43cec3e1eec1066d__p{font-size:var(--_gcd-p-font-size,13px);line-height:var(--_gcd-p-line-height,1.5);margin:var(--_gcd-p-margin,0)}:is(h1,h2,h3,h4,h5,h6).e97669c6d9a38497__heading{color:var(--_gcd-heading-color,var(--wpds-color-foreground-content-neutral,#1e1e1e));font-size:var(--_gcd-heading-font-size,inherit);font-weight:var(--_gcd-heading-font-weight,var(--wpds-typography-font-weight-emphasis,600));margin:var(--_gcd-heading-margin,0)}._2c0831b0499dbd6e__a,._2c0831b0499dbd6e__a:is(:hover,:focus,:active){border-radius:var(--_gcd-a-border-radius,0);box-shadow:var(--_gcd-a-box-shadow,none);color:var(--_gcd-a-color,inherit);outline:var(--_gcd-a-outline,0 solid transparent);transition:var(--_gcd-a-transition,none)}");var axe={button:"_6defc79820e382c6__button",input:"d2cff2e5dea83bd1__input",textarea:"_547d86373d02e108__textarea",div:"_8c15fd0ed9f28ba4__div",p:"_43cec3e1eec1066d__p",heading:"e97669c6d9a38497__heading",a:"_2c0831b0499dbd6e__a"},mu=(0,VG.forwardRef)(function({children:t,variant:r="default",tone:o="brand",openInNewTab:a=!1,render:i,className:l,...s},c){return zh({render:i,defaultTagName:"a",ref:c,props:Jl(s,{className:S(axe.a,oxe["box-sizing"],nxe["outset-ring--focus-except-active"],r!=="unstyled"&&q5.link,r!=="unstyled"&&q5[`is-${o}`],r==="unstyled"&&q5["is-unstyled"],l),target:a?"_blank":void 0,children:(0,Oh.jsxs)(Oh.Fragment,{children:[t,a&&(0,Oh.jsx)("span",{className:q5["link-icon"],role:"img","aria-label":(0,OG.__)("(opens in a new tab)")})]})})})});var Cp={};K(Cp,{List:()=>GG,Panel:()=>XG,Root:()=>eW,Tab:()=>oW});var Cd=n(H(),1);var jG=n(ve(),1),K5=n(y(),1),xD="data-wp-hash";function kD(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&lxe(document)),e.__wpStyleRuntime}function ixe(e,t){if(!e.head)return!1;for(let r of e.head.querySelectorAll(`style[${xD}]`))if(r.getAttribute(xD)===t)return!0;return!1}function UG(e,t,r){if(!e.head)return;let o=kD(),a=o.injectedStyles.get(e);if(a||(a=new Set,o.injectedStyles.set(e,a)),a.has(t))return;if(ixe(e,t)){a.add(t);return}let i=e.createElement("style");i.setAttribute(xD,t),i.appendChild(e.createTextNode(r)),e.head.appendChild(i),a.add(t)}function lxe(e){let t=kD();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[r,o]of t.styles)UG(e,r,o);return()=>{let r=t.documents.get(e);if(r!==void 0){if(r<=1){t.documents.delete(e);return}t.documents.set(e,r-1)}}}function sxe(e,t){let r=kD();r.styles.set(e,t);for(let o of r.documents.keys())UG(o,e,t)}typeof process>"u",sxe("bb8cbb8f31",`@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._7313adbc8a112e90__tablist{--direction-factor:1;--direction-start:left;--direction-end:right;align-items:stretch;display:flex;overflow-inline:auto;overscroll-behavior-inline:none;position:relative;&:dir(rtl){--direction-factor:-1;--direction-start:right;--direction-end:left}&[data-orientation=horizontal]{--fade-width:4rem;--fade-gradient-base:transparent 0%,#000 var(--fade-width);--fade-gradient-composed:var(--fade-gradient-base),#000 60%,transparent 50%;width:fit-content;&._9f2ac729c68a735a__is-overflowing-first{mask-image:linear-gradient(to var(--direction-end),var(--fade-gradient-base))}&._81c799c1f3cdd261__is-overflowing-last{mask-image:linear-gradient(to var(--direction-start),var(--fade-gradient-base))}&._9f2ac729c68a735a__is-overflowing-first._81c799c1f3cdd261__is-overflowing-last{mask-image:linear-gradient(to right,var(--fade-gradient-composed)),linear-gradient(to left,var(--fade-gradient-composed))}&._59228b5227f38a99__is-minimal-variant{gap:1rem}}&[data-orientation=vertical]{flex-direction:column}}._1c37dcfaa1ad8cda__indicator{@media not (prefers-reduced-motion){transition-duration:.2s;transition-property:translate,width,height,border-radius,border-block;transition-timing-function:ease-out}outline:2px solid transparent;outline-offset:-1px;pointer-events:none;position:absolute;&[data-orientation=horizontal]{background-color:var(--wpds-color-stroke-interactive-neutral-strong,#6e6e6e);bottom:0;height:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px));left:0;translate:var(--active-tab-left) 0;width:var(--active-tab-width);z-index:1}&[data-orientation=vertical]{background-color:var(--wpds-color-background-interactive-neutral-weak-active,#ededed);border-radius:var(--wpds-border-radius-sm,2px);height:var(--active-tab-height);left:50%;top:0;translate:-50% var(--active-tab-top);width:100%;z-index:0}._7313adbc8a112e90__tablist[data-select-on-move=true]:has(:focus-visible)
			&[data-orientation=vertical]{border:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9));box-sizing:border-box}}.a5fd8814f195aa5e__tab{align-items:center;background:transparent;border:none;border-radius:0;box-shadow:none;color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);cursor:var(--wpds-cursor-control,pointer);display:flex;flex:1 0 auto;font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-md,13px);font-weight:400;line-height:1.2;outline:none;padding:0;position:relative;white-space:nowrap;z-index:1;&[data-disabled]{color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d);cursor:default;@media (forced-colors:active){color:GrayText}}&:not([data-disabled]):is(:hover,:focus-visible){color:var(--wpds-color-foreground-interactive-neutral-active,#1e1e1e)}&:after{border-radius:var(--wpds-border-radius-sm,2px);opacity:0;outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9));pointer-events:none;position:absolute;z-index:-1;@media not (prefers-reduced-motion){transition:opacity .1s linear}}&:focus-visible:after{opacity:1}[data-orientation=horizontal] &{height:48px;padding-inline:var(--wpds-dimension-padding-lg,16px);scroll-margin:24px;&:after{content:"";inset:var(--wpds-dimension-padding-md,12px)}}._59228b5227f38a99__is-minimal-variant[data-orientation=horizontal] &{padding-inline:0;&:after{inset-inline:round(up,var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)),1px)}}[data-orientation=vertical] &{min-height:var(--wpds-dimension-size-lg,40px);padding:var(--wpds-dimension-padding-sm,8px) var(--wpds-dimension-padding-md,12px)}[data-orientation=vertical][data-select-on-move=false] &:after{content:"";inset:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px))}}._5dfc77e6edd345d4__tab-children{align-items:center;display:flex;flex-grow:1;[data-orientation=horizontal] &{justify-content:center}[data-orientation=vertical] &{justify-content:start}}._4a20e969d15e5ac1__tab-chevron{flex-shrink:0;margin-inline-end:calc(var(--wpds-dimension-gap-xs, 4px)*-1);opacity:0;[data-orientation=horizontal] &{display:none}[role=tab]:is([aria-selected=true],:focus-visible,:hover) &{opacity:1}@media not (prefers-reduced-motion){[data-select-on-move=true]
				[role=tab]:is([aria-selected=true])
				&{transition:opacity .15s linear .15s}}&:dir(rtl){rotate:180deg}}}}`);var sb={tablist:"_7313adbc8a112e90__tablist","is-overflowing-first":"_9f2ac729c68a735a__is-overflowing-first","is-overflowing-last":"_81c799c1f3cdd261__is-overflowing-last","is-minimal-variant":"_59228b5227f38a99__is-minimal-variant",indicator:"_1c37dcfaa1ad8cda__indicator",tab:"a5fd8814f195aa5e__tab","tab-children":"_5dfc77e6edd345d4__tab-children","tab-chevron":"_4a20e969d15e5ac1__tab-chevron"},HG=1,GG=(0,Cd.forwardRef)(function({children:t,variant:r="default",className:o,activateOnFocus:a,...i},l){let[s,c]=(0,Cd.useState)(null),[u,p]=(0,Cd.useState)({first:!1,last:!1,isScrolling:!1});(0,Cd.useEffect)(()=>{if(!s)return;let d=()=>{let{scrollWidth:_,clientWidth:k,scrollLeft:x}=s,w=Math.max(_-k,0),P=(s.dir||(typeof window<"u"?window.getComputedStyle(s).direction:"ltr"))==="rtl"&&x<0?-x:x,B={first:P>HG,last:P<w-HG,isScrolling:_>k};p(I=>I.first===B.first&&I.last===B.last&&I.isScrolling===B.isScrolling?I:B)},f=new ResizeObserver(d),h=()=>{f.disconnect(),f.observe(s),s.querySelectorAll('[role="tab"]').forEach(_=>f.observe(_))},g=new MutationObserver(h);g.observe(s,{childList:!0,subtree:!0});let v=!1,b=()=>{v||(requestAnimationFrame(()=>{d(),v=!1}),v=!0)};return s.addEventListener("scroll",b,{passive:!0}),h(),d(),()=>{s.removeEventListener("scroll",b),f.disconnect(),g.disconnect()}},[s]);let m=(0,jG.useMergeRefs)([l,d=>c(d)]);return(0,K5.jsxs)(rs.List,{ref:m,activateOnFocus:a,"data-select-on-move":a?"true":"false",className:S(sb.tablist,u.first&&sb["is-overflowing-first"],u.last&&sb["is-overflowing-last"],sb[`is-${r}-variant`],o),...i,tabIndex:i.tabIndex??(u.isScrolling?-1:void 0),children:[t,(0,K5.jsx)(rs.Indicator,{className:sb.indicator})]})});var ZG=n(H(),1);var Pn=n(H(),1);var cb=n(y(),1),Y5=!1,wD=Y5?(0,Pn.createContext)(null):null;function cxe(){let e=(0,Pn.useContext)(wD);(0,Pn.useEffect)(()=>{if(e)return e.registerTab()},[e])}function uxe(){}var WG=Y5?cxe:uxe;function pxe(){let e=(0,Pn.useContext)(wD);(0,Pn.useEffect)(()=>{if(e)return e.registerPanel()},[e])}function mxe(){}var $G=Y5?pxe:mxe;function dxe({children:e}){let t=(0,Pn.useRef)(0),r=(0,Pn.useRef)(0),o=AG(()=>{let s=t.current,c=r.current;if(s!==c)throw new Error(`Tabs: Tab/Panel count mismatch (${s} Tabs, ${c} Panels). Each Tab must be associated with exactly one Panel. Mismatched or missing associations can break screen reader navigation and violate WAI-ARIA Tabs pattern requirements.`)}),a=(0,Pn.useCallback)(()=>(t.current+=1,o(),()=>{t.current-=1,o()}),[o]),i=(0,Pn.useCallback)(()=>(r.current+=1,o(),()=>{r.current-=1,o()}),[o]),l=(0,Pn.useMemo)(()=>({registerTab:a,registerPanel:i}),[a,i]);return(0,cb.jsx)(wD.Provider,{value:l,children:e})}function fxe({children:e}){return(0,cb.jsx)(cb.Fragment,{children:e})}var qG=Y5?dxe:fxe;var QG=n(y(),1),CD="data-wp-hash";function SD(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&gxe(document)),e.__wpStyleRuntime}function hxe(e,t){if(!e.head)return!1;for(let r of e.head.querySelectorAll(`style[${CD}]`))if(r.getAttribute(CD)===t)return!0;return!1}function KG(e,t,r){if(!e.head)return;let o=SD(),a=o.injectedStyles.get(e);if(a||(a=new Set,o.injectedStyles.set(e,a)),a.has(t))return;if(hxe(e,t)){a.add(t);return}let i=e.createElement("style");i.setAttribute(CD,t),i.appendChild(e.createTextNode(r)),e.head.appendChild(i),a.add(t)}function gxe(e){let t=SD();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[r,o]of t.styles)KG(e,r,o);return()=>{let r=t.documents.get(e);if(r!==void 0){if(r<=1){t.documents.delete(e);return}t.documents.set(e,r-1)}}}function YG(e,t){let r=SD();r.styles.set(e,t);for(let o of r.documents.keys())KG(o,e,t)}typeof process>"u",YG("af6d9984a6","._6defc79820e382c6__button{box-sizing:var(--_gcd-button-box-sizing,border-box);font-family:var(--_gcd-button-font-family,inherit);font-size:var(--_gcd-button-font-size,inherit);font-weight:var(--_gcd-button-font-weight,inherit)}.d2cff2e5dea83bd1__input{box-sizing:var(--_gcd-input-box-sizing,border-box);font-family:var(--_gcd-input-font-family,inherit);font-size:var(--_gcd-input-font-size,inherit);font-weight:var(--_gcd-input-font-weight,inherit);margin:var(--_gcd-input-margin,0);&:is(textarea,[type=text],[type=password],[type=color],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){background-color:var(--_gcd-input-background-color,transparent);border:var(--_gcd-input-border,none);border-radius:var(--_gcd-input-border-radius,0);box-shadow:var(--_gcd-input-box-shadow,0 0 0 transparent);color:var(--_gcd-input-color,var(--wpds-color-foreground-interactive-neutral,#1e1e1e));&:focus{border-color:var(--_gcd-input-border-color-focus,var(--wp-admin-theme-color));box-shadow:var(--_gcd-input-box-shadow-focus,none);outline:var(--_gcd-input-outline-focus,none)}&:disabled{background:var(--_gcd-input-background-disabled,transparent);border-color:var(--_gcd-input-border-color-disabled,transparent);box-shadow:var(--_gcd-input-box-shadow-disabled,none);color:var(--_gcd-input-color-disabled,var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d))}&::placeholder{color:var(--_gcd-input-placeholder-color,var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d))}}&:is(textarea,[type=text],[type=password],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){line-height:var(--_gcd-input-line-height,inherit);min-height:var(--_gcd-input-min-height,auto);padding:var(--_gcd-input-padding,0)}}._547d86373d02e108__textarea{box-sizing:var(--_gcd-textarea-box-sizing,border-box);overflow:var(--_gcd-textarea-overflow,auto);resize:var(--_gcd-textarea-resize,block)}._8c15fd0ed9f28ba4__div{outline:var(--_gcd-div-outline,0 solid transparent)}p._43cec3e1eec1066d__p{font-size:var(--_gcd-p-font-size,13px);line-height:var(--_gcd-p-line-height,1.5);margin:var(--_gcd-p-margin,0)}:is(h1,h2,h3,h4,h5,h6).e97669c6d9a38497__heading{color:var(--_gcd-heading-color,var(--wpds-color-foreground-content-neutral,#1e1e1e));font-size:var(--_gcd-heading-font-size,inherit);font-weight:var(--_gcd-heading-font-weight,var(--wpds-typography-font-weight-emphasis,600));margin:var(--_gcd-heading-margin,0)}._2c0831b0499dbd6e__a,._2c0831b0499dbd6e__a:is(:hover,:focus,:active){border-radius:var(--_gcd-a-border-radius,0);box-shadow:var(--_gcd-a-box-shadow,none);color:var(--_gcd-a-color,inherit);outline:var(--_gcd-a-outline,0 solid transparent);transition:var(--_gcd-a-transition,none)}");var vxe={button:"_6defc79820e382c6__button",input:"d2cff2e5dea83bd1__input",textarea:"_547d86373d02e108__textarea",div:"_8c15fd0ed9f28ba4__div",p:"_43cec3e1eec1066d__p",heading:"e97669c6d9a38497__heading",a:"_2c0831b0499dbd6e__a"};typeof process>"u",YG("da99a163ac","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._08e8a2e44959f892__outset-ring--focus:focus,.c5cb3ee4bddaa8e4__outset-ring--focus-within-visible:focus-within:has(:focus-visible),.cd83dfc2126a0846__outset-ring--focus-within:focus-within,.d0541bc9dd9dc7b6__outset-ring--focus-visible:focus-visible,:focus-visible .ecadb9e080e2dfa5__outset-ring--focus-parent-visible{--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9));--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9));outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9));outline-offset:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px))}._970d04df7376df67__outset-ring--focus-within-except-active:focus-within,.e25b2bdd7aa21721__outset-ring--focus-except-active:focus{outline:none}._970d04df7376df67__outset-ring--focus-within-except-active:focus-within:not(:has(:active)),.e25b2bdd7aa21721__outset-ring--focus-except-active:focus:not(:active){@include mixins.focus-ring()}}}");var bxe={"outset-ring--focus":"_08e8a2e44959f892__outset-ring--focus","outset-ring--focus-visible":"d0541bc9dd9dc7b6__outset-ring--focus-visible","outset-ring--focus-within":"cd83dfc2126a0846__outset-ring--focus-within","outset-ring--focus-within-visible":"c5cb3ee4bddaa8e4__outset-ring--focus-within-visible","outset-ring--focus-parent-visible":"ecadb9e080e2dfa5__outset-ring--focus-parent-visible","outset-ring--focus-except-active":"e25b2bdd7aa21721__outset-ring--focus-except-active","outset-ring--focus-within-except-active":"_970d04df7376df67__outset-ring--focus-within-except-active"},XG=(0,ZG.forwardRef)(function({className:t,...r},o){return $G(),(0,QG.jsx)(rs.Panel,{ref:o,className:S(vxe.div,bxe["outset-ring--focus-visible"],t),...r})});var JG=n(H(),1);var TD=n(y(),1),eW=(0,JG.forwardRef)(function({...t},r){return(0,TD.jsx)(qG,{children:(0,TD.jsx)(rs.Root,{ref:r,...t})})});var tW=n(H(),1);var ub=n(y(),1),ED="data-wp-hash";function BD(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&_xe(document)),e.__wpStyleRuntime}function yxe(e,t){if(!e.head)return!1;for(let r of e.head.querySelectorAll(`style[${ED}]`))if(r.getAttribute(ED)===t)return!0;return!1}function rW(e,t,r){if(!e.head)return;let o=BD(),a=o.injectedStyles.get(e);if(a||(a=new Set,o.injectedStyles.set(e,a)),a.has(t))return;if(yxe(e,t)){a.add(t);return}let i=e.createElement("style");i.setAttribute(ED,t),i.appendChild(e.createTextNode(r)),e.head.appendChild(i),a.add(t)}function _xe(e){let t=BD();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[r,o]of t.styles)rW(e,r,o);return()=>{let r=t.documents.get(e);if(r!==void 0){if(r<=1){t.documents.delete(e);return}t.documents.set(e,r-1)}}}function xxe(e,t){let r=BD();r.styles.set(e,t);for(let o of r.documents.keys())rW(o,e,t)}typeof process>"u",xxe("bb8cbb8f31",`@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._7313adbc8a112e90__tablist{--direction-factor:1;--direction-start:left;--direction-end:right;align-items:stretch;display:flex;overflow-inline:auto;overscroll-behavior-inline:none;position:relative;&:dir(rtl){--direction-factor:-1;--direction-start:right;--direction-end:left}&[data-orientation=horizontal]{--fade-width:4rem;--fade-gradient-base:transparent 0%,#000 var(--fade-width);--fade-gradient-composed:var(--fade-gradient-base),#000 60%,transparent 50%;width:fit-content;&._9f2ac729c68a735a__is-overflowing-first{mask-image:linear-gradient(to var(--direction-end),var(--fade-gradient-base))}&._81c799c1f3cdd261__is-overflowing-last{mask-image:linear-gradient(to var(--direction-start),var(--fade-gradient-base))}&._9f2ac729c68a735a__is-overflowing-first._81c799c1f3cdd261__is-overflowing-last{mask-image:linear-gradient(to right,var(--fade-gradient-composed)),linear-gradient(to left,var(--fade-gradient-composed))}&._59228b5227f38a99__is-minimal-variant{gap:1rem}}&[data-orientation=vertical]{flex-direction:column}}._1c37dcfaa1ad8cda__indicator{@media not (prefers-reduced-motion){transition-duration:.2s;transition-property:translate,width,height,border-radius,border-block;transition-timing-function:ease-out}outline:2px solid transparent;outline-offset:-1px;pointer-events:none;position:absolute;&[data-orientation=horizontal]{background-color:var(--wpds-color-stroke-interactive-neutral-strong,#6e6e6e);bottom:0;height:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px));left:0;translate:var(--active-tab-left) 0;width:var(--active-tab-width);z-index:1}&[data-orientation=vertical]{background-color:var(--wpds-color-background-interactive-neutral-weak-active,#ededed);border-radius:var(--wpds-border-radius-sm,2px);height:var(--active-tab-height);left:50%;top:0;translate:-50% var(--active-tab-top);width:100%;z-index:0}._7313adbc8a112e90__tablist[data-select-on-move=true]:has(:focus-visible)
			&[data-orientation=vertical]{border:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9));box-sizing:border-box}}.a5fd8814f195aa5e__tab{align-items:center;background:transparent;border:none;border-radius:0;box-shadow:none;color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);cursor:var(--wpds-cursor-control,pointer);display:flex;flex:1 0 auto;font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-md,13px);font-weight:400;line-height:1.2;outline:none;padding:0;position:relative;white-space:nowrap;z-index:1;&[data-disabled]{color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d);cursor:default;@media (forced-colors:active){color:GrayText}}&:not([data-disabled]):is(:hover,:focus-visible){color:var(--wpds-color-foreground-interactive-neutral-active,#1e1e1e)}&:after{border-radius:var(--wpds-border-radius-sm,2px);opacity:0;outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9));pointer-events:none;position:absolute;z-index:-1;@media not (prefers-reduced-motion){transition:opacity .1s linear}}&:focus-visible:after{opacity:1}[data-orientation=horizontal] &{height:48px;padding-inline:var(--wpds-dimension-padding-lg,16px);scroll-margin:24px;&:after{content:"";inset:var(--wpds-dimension-padding-md,12px)}}._59228b5227f38a99__is-minimal-variant[data-orientation=horizontal] &{padding-inline:0;&:after{inset-inline:round(up,var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)),1px)}}[data-orientation=vertical] &{min-height:var(--wpds-dimension-size-lg,40px);padding:var(--wpds-dimension-padding-sm,8px) var(--wpds-dimension-padding-md,12px)}[data-orientation=vertical][data-select-on-move=false] &:after{content:"";inset:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px))}}._5dfc77e6edd345d4__tab-children{align-items:center;display:flex;flex-grow:1;[data-orientation=horizontal] &{justify-content:center}[data-orientation=vertical] &{justify-content:start}}._4a20e969d15e5ac1__tab-chevron{flex-shrink:0;margin-inline-end:calc(var(--wpds-dimension-gap-xs, 4px)*-1);opacity:0;[data-orientation=horizontal] &{display:none}[role=tab]:is([aria-selected=true],:focus-visible,:hover) &{opacity:1}@media not (prefers-reduced-motion){[data-select-on-move=true]
				[role=tab]:is([aria-selected=true])
				&{transition:opacity .15s linear .15s}}&:dir(rtl){rotate:180deg}}}}`);var PD={tablist:"_7313adbc8a112e90__tablist","is-overflowing-first":"_9f2ac729c68a735a__is-overflowing-first","is-overflowing-last":"_81c799c1f3cdd261__is-overflowing-last","is-minimal-variant":"_59228b5227f38a99__is-minimal-variant",indicator:"_1c37dcfaa1ad8cda__indicator",tab:"a5fd8814f195aa5e__tab","tab-children":"_5dfc77e6edd345d4__tab-children","tab-chevron":"_4a20e969d15e5ac1__tab-chevron"},oW=(0,tW.forwardRef)(function({className:t,children:r,...o},a){return WG(),(0,ub.jsxs)(rs.Tab,{ref:a,className:S(PD.tab,t),...o,children:[(0,ub.jsx)("span",{className:PD["tab-children"],children:r}),(0,ub.jsx)(fD,{icon:vh,className:PD["tab-chevron"]})]})});var Q5="noopener",X5="_blank",Fh="nofollow";var nW=n(ir(),1);function aW({rel:e="",url:t="",opensInNewTab:r,nofollow:o}){let a,i=e;if(r)a=X5,i=i?.includes(Q5)?i:i+` ${Q5}`;else{let l=new RegExp(`\\b${Q5}\\s*`,"g");i=i?.replace(l,"").trim()}if(o)i=i?.includes(Fh)?i:(i+` ${Fh}`).trim();else{let l=new RegExp(`\\b${Fh}\\s*`,"g");i=i?.replace(l,"").trim()}return{url:(0,nW.prependHTTPS)(t),linkTarget:a,rel:i||void 0}}function pb(e){return e.toString().replace(/<\/?a[^>]*>/g,"")}var lW=n(ve(),1),J5=n(H(),1),sW=n(Sd(),1),cW=n(F(),1),uW=n(E(),1);function Ct(e){let{name:t,attributes:r,setAttributes:o}=e,{textAlign:a}=r,{__unstableMarkNextChangeAsNotPersistent:i}=(0,cW.useDispatch)(uW.store),l=(0,lW.useEvent)(()=>{(0,sW.default)(`textAlign attribute in ${t}`,{alternative:"style.typography.textAlign",since:"7.0"}),i(),o(c=>({style:{...c.style,typography:{...c.style?.typography,textAlign:a}}}))}),s=(0,J5.useRef)();(0,J5.useEffect)(()=>{a!==s.current&&(s.current=a,l())},[a,l])}function ND(e){return typeof e=="string"&&e.endsWith("%")}function pW(e){if(!e)return{};if(ND(e)){let t={"25%":"wp-block-button__width-25","50%":"wp-block-button__width-50","75%":"wp-block-button__width-75","100%":"wp-block-button__width-100"};return{"has-custom-width":!0,"wp-block-button__width":!0,...t[e]&&{[t[e]]:!0}}}return{"has-custom-width":!0}}var En=n(y(),1),{HTMLElementControl:kxe}=U(ut.privateApis),{subscribeDelegatedListener:wxe}=U(Td.privateApis),Cxe=[...ut.LinkControl.DEFAULT_LINK_SETTINGS,{id:"nofollow",title:(0,pl.__)("Mark as nofollow")}];function Sxe(e){let{replaceBlocks:t,selectionChange:r}=(0,mb.useDispatch)(ut.store),{getBlock:o,getBlockAttributes:a,getBlockRootClientId:i,getBlockIndex:l}=(0,mb.useSelect)(ut.store);return(0,Td.useRefEffect)(s=>{function c(u){if(u.defaultPrevented||u.keyCode!==Sp.ENTER)return;let{text:p}=a(e)??{};if(p?.length)return;u.preventDefault();let m=o(i(e)),d=l(e),f=(0,du.cloneBlock)({...m,innerBlocks:m.innerBlocks.slice(0,d)}),h=(0,du.createBlock)((0,du.getDefaultBlockName)()),g=m.innerBlocks.slice(d+1),v=g.length?[(0,du.cloneBlock)({...m,innerBlocks:g})]:[];t(m.clientId,[f,h,...v],1),r(h.clientId)}return wxe(s,"keydown",c,!0)},[])}function Txe(e){let{attributes:t,setAttributes:r,className:o,isSelected:a,onReplace:i,mergeBlocks:l,clientId:s,context:c}=e,{tagName:u,linkTarget:p,placeholder:m,rel:d,style:f,text:h,url:g,metadata:v}=t,b=f?.dimensions?.width;Ct(e);let _=u||"a";function k(he){Sp.isKeyboardEvent.primary(he,"k")?ce(he):Sp.isKeyboardEvent.primaryShift(he,"k")&&(ie(),L.current?.focus())}let[x,w]=(0,Bn.useState)(null),C=(0,ut.__experimentalUseBorderProps)(t),P=(0,ut.__experimentalUseColorProps)(t),B=(0,ut.__experimentalGetSpacingClassesAndStyles)(t),I=(0,ut.__experimentalGetShadowClassesAndStyles)(t),D=(0,ut.__experimentalGetDimensionsClassesAndStyles)(t),T=(0,Bn.useRef)(),L=(0,Bn.useRef)(),R=(0,ut.useBlockProps)({ref:(0,Td.useMergeRefs)([w,T]),onKeyDown:k}),z=(0,ut.useBlockEditingMode)(),[j,G]=(0,Bn.useState)(!1),W=!!g,$=p===X5,V=!!d?.includes(Fh),Q=_==="a",{createPageEntity:Y,userCanCreatePages:ee,lockUrlControls:te=!1}=(0,mb.useSelect)(he=>{if(!a)return{};let Re=he(ut.store).getSettings(),St=(0,du.getBlockBindingsSource)(v?.bindings?.url?.source);return{createPageEntity:Re.__experimentalCreatePageEntity,userCanCreatePages:Re.__experimentalUserCanCreatePages,lockUrlControls:!!v?.bindings?.url&&!St?.canUserEditValue?.({select:he,context:c,args:v?.bindings?.url?.args})}},[c,a,v?.bindings?.url]);async function ae(he){let Re=await Y({title:he,status:"draft"});return{id:Re.id,type:Re.type,title:Re.title.rendered,url:Re.link,kind:"post-type"}}function J(he){return(0,Bn.createInterpolateElement)((0,pl.sprintf)((0,pl.__)("Create page: <mark>%s</mark>"),he),{mark:(0,En.jsx)("mark",{})})}function ce(he){he.preventDefault(),G(!0)}function ie(){r({url:void 0,linkTarget:void 0,rel:void 0}),G(!1)}(0,Bn.useEffect)(()=>{a||G(!1)},[a]);let we=(0,Bn.useMemo)(()=>({url:g,opensInNewTab:$,nofollow:V}),[g,$,V]),se=Sxe(s),de=(0,Td.useMergeRefs)([se,L]),[_e,oe,pe]=(0,ut.useSettings)("typography.fluid","layout","dimensions.dimensionSizes"),le=(0,Bn.useMemo)(()=>pe?[...pe?.custom??[],...pe?.theme??[],...pe?.default??[]]:[],[pe]),Pe=(0,ut.getTypographyClassesAndStyles)(t,{typography:{fluid:_e},layout:{wideSize:oe?.wideSize}}),Ee=(0,Bn.useMemo)(()=>{if(!b)return;let he="var:preset|dimension|";if(b.startsWith(he)){let Re=b.slice(he.length);return le?.find(ze=>ze.slug===Re)?.size??b}return b},[b,le]),Ce=z==="default"||Q&&!te,me=S(R.className,pW(Ee)),Xe=(0,Bn.useMemo)(()=>b?ND(Ee)?{"--wp--block-button--width":parseFloat(Ee)}:D.style:{},[b,Ee,D.style]);return(0,En.jsxs)(En.Fragment,{children:[(0,En.jsx)("div",{...R,className:me,style:{...R.style,...Xe},children:(0,En.jsx)(ut.RichText,{ref:de,"aria-label":(0,pl.__)("Button text"),placeholder:m||(0,pl.__)("Add text\u2026"),value:h,onChange:he=>r({text:pb(he)}),withoutInteractiveFormatting:!0,className:S(o,"wp-block-button__link",P.className,C.className,Pe.className,{"no-border-radius":f?.border?.radius===0,"has-custom-font-size":R.style.fontSize},(0,ut.__experimentalGetElementClassName)("button")),style:{...C.style,...P.style,...B.style,...I.style,...Pe.style,writingMode:void 0},onReplace:i,onMerge:l,identifier:"text"})}),Ce&&(0,En.jsx)(ut.BlockControls,{group:"block",children:Q&&!te&&(0,En.jsx)(Hh.ToolbarButton,{name:"link",icon:W?sv:di,title:W?(0,pl.__)("Unlink"):(0,pl.__)("Link"),shortcut:W?Sp.displayShortcut.primaryShift("k"):Sp.displayShortcut.primary("k"),onClick:W?ie:ce,isActive:W})}),Q&&a&&(j||W)&&!te&&(0,En.jsx)(Hh.Popover,{placement:"bottom",onClose:()=>{G(!1),L.current?.focus()},anchor:x,focusOnMount:j?"firstElement":!1,__unstableSlotName:"__unstable-block-tools-after",shift:!0,children:(0,En.jsx)(ut.LinkControl,{value:we,onChange:({url:he,opensInNewTab:Re,nofollow:St})=>r(aW({rel:d,url:he,opensInNewTab:Re,nofollow:St})),onRemove:()=>{ie(),L.current?.focus()},forceIsEditingLink:j,settings:Cxe,createSuggestion:Y&&ae,withCreateSuggestion:ee,createSuggestionButtonText:J})}),(0,En.jsxs)(ut.InspectorControls,{group:"advanced",children:[(0,En.jsx)(kxe,{tagName:u,onChange:he=>r({tagName:he}),options:[{label:(0,pl.__)("Default (<a>)"),value:"a"},{label:"<button>",value:"button"}]}),Q&&(0,En.jsx)(Hh.TextControl,{label:(0,pl.__)("Link relation"),help:(0,Bn.createInterpolateElement)((0,pl.__)("The <a>Link Relation</a> attribute defines the relationship between a linked resource and the current document."),{a:(0,En.jsx)(mu,{openInNewTab:!0,href:"https://developer.mozilla.org/docs/Web/HTML/Attributes/rel"})}),value:d||"",onChange:he=>r({rel:he})})]})]})}var mW=Txe;var ew={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/button",title:"Button",category:"design",parent:["core/buttons"],description:"Prompt visitors to take action with a button-style link.",keywords:["link"],textdomain:"default",attributes:{tagName:{type:"string",enum:["a","button"],default:"a"},type:{type:"string",default:"button"},url:{type:"string",source:"attribute",selector:"a",attribute:"href",role:"content"},title:{type:"string",source:"attribute",selector:"a,button",attribute:"title",role:"content"},text:{type:"rich-text",source:"rich-text",selector:"a,button",role:"content"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target",role:"content"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel",role:"content"},placeholder:{type:"string"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"}},supports:{anchor:!0,splitting:!0,align:!1,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},dimensions:{width:!0,__experimentalSkipSerialization:["width"],__experimentalDefaultControls:{width:!0}},typography:{__experimentalSkipSerialization:["fontSize","lineHeight","textAlign","fontFamily","fontWeight","fontStyle","textTransform","textDecoration","letterSpacing"],fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalWritingMode:!0,__experimentalDefaultControls:{fontSize:!0}},reusable:!1,shadow:{__experimentalSkipSerialization:!0},spacing:{__experimentalSkipSerialization:!0,padding:["horizontal","vertical"],__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},interactivity:{clientNavigation:!0}},styles:[{name:"fill",label:"Fill",isDefault:!0},{name:"outline",label:"Outline"}],editorStyle:"wp-block-button-editor",style:"wp-block-button",selectors:{root:".wp-block-button .wp-block-button__link",typography:{writingMode:".wp-block-button"},dimensions:{root:".wp-block-button",width:".wp-block-button"}}};var Nn=n(E(),1),ID=n(y(),1);function dW({attributes:e}){let{tagName:t,type:r,fontSize:o,linkTarget:a,rel:i,style:l,text:s,title:c,url:u}=e,p=t||"a",m=p==="button",d=r||"button",f=(0,Nn.__experimentalGetBorderClassesAndStyles)(e),h=(0,Nn.__experimentalGetColorClassesAndStyles)(e),g=(0,Nn.__experimentalGetSpacingClassesAndStyles)(e),v=(0,Nn.__experimentalGetShadowClassesAndStyles)(e),b=(0,Nn.getTypographyClassesAndStyles)(e),_=S("wp-block-button__link",h.className,f.className,b.className,{"no-border-radius":l?.border?.radius===0,"has-custom-font-size":o||l?.typography?.fontSize},(0,Nn.__experimentalGetElementClassName)("button")),k={...f.style,...h.style,...g.style,...v.style,...b.style,writingMode:void 0};return(0,ID.jsx)("div",{...Nn.useBlockProps.save(),children:(0,ID.jsx)(Nn.RichText.Content,{tagName:p,type:m?d:null,className:_,href:m?null:u,title:c,style:k,value:s,target:m?null:a,rel:m?null:i})})}var{fieldsKey:Exe,formKey:Bxe}=U(fW.privateApis),{name:hW}=ew,rw={icon:lP,example:{attributes:{className:"is-style-fill",text:(0,tw.__)("Call to action")}},edit:mW,save:dW,deprecated:dU,merge:(e,{text:t=""})=>({...e,text:(e.text||"")+t}),__experimentalLabel(e,{context:t}){let{text:r}=e,o=e?.metadata?.name,a=r?.trim().length>0;if(t==="list-view"&&(o||a))return o||r;if(t==="breadcrumb"&&o)return o}};window.__experimentalContentOnlyInspectorFields&&(rw[Exe]=[{id:"text",label:(0,tw.__)("Content"),type:"text",Edit:"rich-text"},{id:"link",label:(0,tw.__)("Link"),type:"url",Edit:"link",getValue:({item:e})=>({url:e.url,rel:e.rel,linkTarget:e.linkTarget}),setValue:({value:e})=>({url:e.url,rel:e.rel,linkTarget:e.linkTarget})}],rw[Bxe]={fields:["text","link"]});var Nxe=()=>A({name:hW,metadata:ew,settings:rw});var AD={};K(AD,{init:()=>Mxe,metadata:()=>nw,name:()=>CW,settings:()=>SW});var RD=n(N(),1);var fb=n(E(),1),db=n(y(),1),gW=e=>{if(e.layout)return e;let{contentJustification:t,orientation:r,...o}=e;return(t||r)&&Object.assign(o,{layout:{type:"flex",...t&&{justifyContent:t},...r&&{orientation:r}}}),o},Ixe=[{attributes:{contentJustification:{type:"string"},orientation:{type:"string",default:"horizontal"}},supports:{anchor:!0,align:["wide","full"],__experimentalExposeControlsToChildren:!0,spacing:{blockGap:!0,margin:["top","bottom"],__experimentalDefaultControls:{blockGap:!0}}},isEligible:({contentJustification:e,orientation:t})=>!!e||!!t,migrate:gW,save({attributes:{contentJustification:e,orientation:t}}){return(0,db.jsx)("div",{...fb.useBlockProps.save({className:S({[`is-content-justification-${e}`]:e,"is-vertical":t==="vertical"})}),children:(0,db.jsx)(fb.InnerBlocks.Content,{})})}},{supports:{align:["center","left","right"],anchor:!0},save(){return(0,db.jsx)("div",{children:(0,db.jsx)(fb.InnerBlocks.Content,{})})},isEligible({align:e}){return e&&["center","left","right"].includes(e)},migrate(e){return gW({...e,align:void 0,contentJustification:e.align})}}],vW=Ixe;var gb=n(q(),1),LD=n(os(),1);var hb=n(q(),1);function fu(e,t,r=null){if(!e)return;let o=(0,hb.getBlockType)(t);if(!o)return;let a={};if((0,hb.hasBlockSupport)(o,"anchor")&&e.anchor&&(a.anchor=e.anchor),(0,hb.hasBlockSupport)(o,"ariaLabel")&&e.ariaLabel&&(a.ariaLabel=e.ariaLabel),e.metadata){let i=[];if(r&&i.push("id","bindings"),i.length>0){let l=Object.entries(e.metadata).reduce((s,[c,u])=>(i.includes(c)&&(s[c]=c==="bindings"?r(u):u),s),{});Object.keys(l).length>0&&(a.metadata=l)}}if(Object.keys(a).length!==0)return a}var Dxe={from:[{type:"block",isMultiBlock:!0,blocks:["core/button"],transform:e=>(0,gb.createBlock)("core/buttons",{},e.map(t=>(0,gb.createBlock)("core/button",t)))},{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>(0,gb.createBlock)("core/buttons",{},e.map(t=>{let{content:r}=t,o=(0,LD.__unstableCreateElement)(document,r),a=o.innerText||"",l=o.querySelector("a")?.getAttribute("href");return(0,gb.createBlock)("core/button",{...t,...fu(t,"core/button",({content:s})=>({text:s})),text:a,url:l})})),isMatch:e=>e.every(t=>{let r=(0,LD.__unstableCreateElement)(document,t.content),o=r.innerText||"",a=r.querySelectorAll("a");return o.length<=30&&a.length<=1})}]},yW=Dxe;var ow=n(E(),1),_W=n(y(),1),Lxe={name:"core/button",attributesToCopy:["backgroundColor","border","className","fontFamily","fontSize","gradient","style","textColor","width"]};function Rxe({attributes:e,className:t}){let{fontSize:r,layout:o,style:a}=e,i=(0,ow.useBlockProps)({className:S(t,{"has-custom-font-size":r||a?.typography?.fontSize})}),l=(0,ow.useInnerBlocksProps)(i,{defaultBlock:Lxe,template:[["core/button"]],templateInsertUpdatesSelection:!0,orientation:o?.orientation??"horizontal"});return(0,_W.jsx)("div",{...l})}var xW=Rxe;var nw={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/buttons",title:"Buttons",category:"design",allowedBlocks:["core/button"],description:"Prompt visitors to take action with a group of button-style links.",keywords:["link"],textdomain:"default",supports:{anchor:!0,align:["wide","full"],html:!1,__experimentalExposeControlsToChildren:!0,color:{gradients:!0,text:!1,__experimentalDefaultControls:{background:!0}},spacing:{blockGap:["horizontal","vertical"],padding:!0,margin:["top","bottom"],__experimentalDefaultControls:{blockGap:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},layout:{allowSwitching:!1,allowInheriting:!1,default:{type:"flex"}},interactivity:{clientNavigation:!0},listView:!0,contentRole:!0},editorStyle:"wp-block-buttons-editor",style:"wp-block-buttons"};var aw=n(E(),1),kW=n(y(),1);function wW({attributes:e,className:t}){let{fontSize:r,style:o}=e,a=aw.useBlockProps.save({className:S(t,{"has-custom-font-size":r||o?.typography?.fontSize})}),i=aw.useInnerBlocksProps.save(a);return(0,kW.jsx)("div",{...i})}var{name:CW}=nw,SW={icon:cP,example:{attributes:{layout:{type:"flex",justifyContent:"center"}},innerBlocks:[{name:"core/button",attributes:{text:(0,RD.__)("Find out more")}},{name:"core/button",attributes:{text:(0,RD.__)("Contact us")}}]},deprecated:vW,transforms:yW,edit:xW,save:wW},Mxe=()=>A({name:CW,metadata:nw,settings:SW});var zD={};K(zD,{init:()=>Fxe,metadata:()=>iw,name:()=>LW,settings:()=>RW});var iw={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/calendar",title:"Calendar",category:"widgets",description:"A calendar of your site\u2019s posts.",keywords:["posts","archive"],textdomain:"default",attributes:{month:{type:"integer"},year:{type:"integer"}},supports:{anchor:!0,align:!0,html:!1,color:{link:!0,__experimentalSkipSerialization:["text","background"],__experimentalDefaultControls:{background:!0,text:!0},__experimentalSelector:"table, th"},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}},style:"wp-block-calendar"};var vb=n(O(),1),TW=n(F(),1),PW=n(lp(),1),EW=n(E(),1),BW=n(re(),1),jh=n(N(),1),NW=n(ve(),1);var vi=n(y(),1),Vxe=Th(e=>{if(!e)return{};let t=new Date(e);return{year:t.getFullYear(),month:t.getMonth()+1}});function IW({attributes:e,name:t}){let{date:r,hasPosts:o,hasPostsResolved:a}=(0,TW.useSelect)(p=>{let{getEntityRecords:m,hasFinishedResolution:d}=p(BW.store),f={status:"publish",per_page:1},h=m("postType","post",f),g=d("getEntityRecords",["postType","post",f]),v,b=p("core/editor");return b&&b.getEditedPostAttribute("type")==="post"&&(v=b.getEditedPostAttribute("date")),{date:v,hasPostsResolved:g,hasPosts:g&&h?.length===1}},[]),{content:i,status:l,error:s}=(0,PW.useServerSideRender)({attributes:{...e,...Vxe(r)},block:t}),c=(0,NW.useDisabled)(),u=(0,EW.useBlockProps)({ref:c});return o?(0,vi.jsxs)(vi.Fragment,{children:[l==="loading"&&(0,vi.jsx)("div",{...u,children:(0,vi.jsx)(vb.Spinner,{})}),l==="error"&&(0,vi.jsx)("div",{...u,children:(0,vi.jsx)("p",{children:(0,jh.sprintf)((0,jh.__)("Error: %s"),s)})}),l==="success"&&(0,vi.jsx)(xo,{wrapperProps:u,html:i})]}):(0,vi.jsx)("div",{...u,children:(0,vi.jsx)(vb.Placeholder,{icon:G1,label:(0,jh.__)("Calendar"),children:a?(0,jh.__)("No published posts found."):(0,vi.jsx)(vb.Spinner,{})})})}var MD=n(q(),1),Oxe={from:[{type:"block",blocks:["core/archives"],transform:()=>(0,MD.createBlock)("core/calendar")}],to:[{type:"block",blocks:["core/archives"],transform:()=>(0,MD.createBlock)("core/archives")}]},DW=Oxe;var{name:LW}=iw,RW={icon:G1,example:{},edit:IW,transforms:DW},Fxe=()=>A({name:LW,metadata:iw,settings:RW});var FD={};K(FD,{init:()=>Uxe,metadata:()=>lw,name:()=>FW,settings:()=>HW});var lw={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/categories",title:"Terms List",category:"widgets",description:"Display a list of all terms of a given taxonomy.",keywords:["categories"],textdomain:"default",attributes:{taxonomy:{type:"string",default:"category"},displayAsDropdown:{type:"boolean",default:!1},showHierarchy:{type:"boolean",default:!1},showPostCounts:{type:"boolean",default:!1},showOnlyTopLevel:{type:"boolean",default:!1},showEmpty:{type:"boolean",default:!1},label:{type:"string",role:"content"},showLabel:{type:"boolean",default:!0}},usesContext:["enhancedPagination"],supports:{anchor:!0,align:!0,html:!1,spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},editorStyle:"wp-block-categories-editor",style:"wp-block-categories"};var Pr=n(O(),1),AW=n(ve(),1),Uh=n(E(),1),MW=n(Jo(),1),Tr=n(N(),1);var VD=n(re(),1),zW=n(F(),1);var VW=n(Sr(),1);var vt=n(y(),1);function OD({attributes:{displayAsDropdown:e,showHierarchy:t,showPostCounts:r,showOnlyTopLevel:o,showEmpty:a,label:i,showLabel:l,taxonomy:s},setAttributes:c,className:u,clientId:p}){let m=(0,AW.useInstanceId)(OD,"blocks-category-select"),{records:d,isResolvingTaxonomies:f}=(0,VD.useEntityRecords)("root","taxonomy",{per_page:-1}),h=d?.filter(W=>W.visibility.public),g=h?.find(W=>W.slug===s),v=!f&&g?.hierarchical,b={per_page:-1,hide_empty:!a,context:"view"};v&&o&&(b.parent=0);let{records:_,isResolving:k}=(0,VD.useEntityRecords)("taxonomy",s,b),{createWarningNotice:x}=(0,zW.useDispatch)(VW.store),w=W=>{W.preventDefault(),x((0,Tr.__)("Links are disabled in the editor."),{id:`block-library/core/categories/redirection-prevented/${p}`,type:"snackbar"})},C=W=>_?.length?W===null?_:_.filter(({parent:$})=>$===W):[],P=W=>$=>c({[W]:$}),B=W=>W?(0,MW.decodeEntities)(W).trim():(0,Tr.__)("(Untitled)"),I=()=>C(v&&t?0:null).map(V=>D(V)),D=W=>{let $=C(W.id),{id:V,link:Q,count:Y,name:ee}=W;return(0,vt.jsxs)("li",{className:`cat-item cat-item-${V}`,children:[(0,vt.jsx)("a",{href:Q,onClick:w,children:B(ee)}),r&&` (${Y})`,v&&t&&!!$.length&&(0,vt.jsx)("ul",{className:"children",children:$.map(te=>D(te))})]},V)},T=()=>{let $=C(v&&t?0:null);return(0,vt.jsxs)(vt.Fragment,{children:[l?(0,vt.jsx)(Uh.RichText,{className:"wp-block-categories__label","aria-label":(0,Tr.__)("Label text"),placeholder:g?.name,withoutInteractiveFormatting:!0,value:i,onChange:V=>c({label:V})}):(0,vt.jsx)(gi,{render:(0,vt.jsx)("label",{htmlFor:m}),children:i||g?.name}),(0,vt.jsxs)("select",{id:m,children:[(0,vt.jsx)("option",{children:(0,Tr.sprintf)((0,Tr.__)("Select %s"),g?.labels?.singular_name)}),$.map(V=>L(V,0))]})]})},L=(W,$)=>{let{id:V,count:Q,name:Y}=W,ee=C(V);return[(0,vt.jsxs)("option",{className:`level-${$}`,children:[Array.from({length:$*3}).map(()=>"\xA0"),B(Y),r&&` (${Q})`]},V),v&&t&&!!ee.length&&ee.map(te=>L(te,$+1))]},R=_?.length&&!e&&!k?"ul":"div",z=S(u,`wp-block-categories-taxonomy-${s}`,{"wp-block-categories-list":!!_?.length&&!e&&!k,"wp-block-categories-dropdown":!!_?.length&&e&&!k}),j=(0,Uh.useBlockProps)({className:z}),G=Z();return(0,vt.jsxs)(R,{...j,children:[(0,vt.jsx)(Uh.InspectorControls,{children:(0,vt.jsxs)(Pr.__experimentalToolsPanel,{label:(0,Tr.__)("Settings"),resetAll:()=>{c({taxonomy:"category",displayAsDropdown:!1,showHierarchy:!1,showPostCounts:!1,showOnlyTopLevel:!1,showEmpty:!1,showLabel:!0})},dropdownMenuProps:G,children:[Array.isArray(h)&&(0,vt.jsx)(Pr.__experimentalToolsPanelItem,{hasValue:()=>s!=="category",label:(0,Tr.__)("Taxonomy"),onDeselect:()=>{c({taxonomy:"category"})},isShownByDefault:!0,children:(0,vt.jsx)(Pr.SelectControl,{label:(0,Tr.__)("Taxonomy"),options:h.map(W=>({label:W.name,value:W.slug})),value:s,onChange:W=>c({taxonomy:W})})}),(0,vt.jsx)(Pr.__experimentalToolsPanelItem,{hasValue:()=>!!e,label:(0,Tr.__)("Display as dropdown"),onDeselect:()=>c({displayAsDropdown:!1}),isShownByDefault:!0,children:(0,vt.jsx)(Pr.ToggleControl,{label:(0,Tr.__)("Display as dropdown"),checked:e,onChange:P("displayAsDropdown")})}),e&&(0,vt.jsx)(Pr.__experimentalToolsPanelItem,{hasValue:()=>!l,label:(0,Tr.__)("Show label"),onDeselect:()=>c({showLabel:!0}),isShownByDefault:!0,children:(0,vt.jsx)(Pr.ToggleControl,{className:"wp-block-categories__indentation",label:(0,Tr.__)("Show label"),checked:l,onChange:P("showLabel")})}),(0,vt.jsx)(Pr.__experimentalToolsPanelItem,{hasValue:()=>!!r,label:(0,Tr.__)("Show post counts"),onDeselect:()=>c({showPostCounts:!1}),isShownByDefault:!0,children:(0,vt.jsx)(Pr.ToggleControl,{label:(0,Tr.__)("Show post counts"),checked:r,onChange:P("showPostCounts")})}),v&&(0,vt.jsx)(Pr.__experimentalToolsPanelItem,{hasValue:()=>!!o,label:(0,Tr.__)("Show only top level terms"),onDeselect:()=>c({showOnlyTopLevel:!1}),isShownByDefault:!0,children:(0,vt.jsx)(Pr.ToggleControl,{label:(0,Tr.__)("Show only top level terms"),checked:o,onChange:P("showOnlyTopLevel")})}),(0,vt.jsx)(Pr.__experimentalToolsPanelItem,{hasValue:()=>!!a,label:(0,Tr.__)("Show empty terms"),onDeselect:()=>c({showEmpty:!1}),isShownByDefault:!0,children:(0,vt.jsx)(Pr.ToggleControl,{label:(0,Tr.__)("Show empty terms"),checked:a,onChange:P("showEmpty")})}),v&&!o&&(0,vt.jsx)(Pr.__experimentalToolsPanelItem,{hasValue:()=>!!t,label:(0,Tr.__)("Show hierarchy"),onDeselect:()=>c({showHierarchy:!1}),isShownByDefault:!0,children:(0,vt.jsx)(Pr.ToggleControl,{label:(0,Tr.__)("Show hierarchy"),checked:t,onChange:P("showHierarchy")})})]})}),k&&(0,vt.jsx)(Pr.Placeholder,{icon:hv,label:(0,Tr.__)("Terms"),children:(0,vt.jsx)(Pr.Spinner,{})}),!k&&_?.length===0&&(0,vt.jsx)("p",{children:g.labels.no_terms}),!k&&_?.length>0&&(e?T():I())]})}var sw=n(N(),1);var jxe=[{name:"terms",title:(0,sw.__)("Terms List"),icon:up,attributes:{taxonomy:"post_tag"},isActive:e=>e.taxonomy!=="category"},{name:"categories",title:(0,sw.__)("Categories List"),description:(0,sw.__)("Display a list of all categories."),icon:up,attributes:{taxonomy:"category"},isActive:["taxonomy"],isDefault:!0}],OW=jxe;var{name:FW}=lw,HW={icon:up,example:{},edit:OD,variations:OW},Uxe=()=>A({name:FW,metadata:lw,settings:HW});var jD={};K(jD,{init:()=>Zxe,metadata:()=>mw,name:()=>yb,settings:()=>t$});var hu=n(E(),1),YW=n(F(),1),gu=n(O(),1),Wh=n(H(),1),bb=n(N(),1);var jW=n(N(),1),UW=n(O(),1),cw=n(F(),1),uw=n(q(),1),HD=n(E(),1),GW=n(y(),1),Gxe=({clientId:e})=>{let{replaceBlocks:t}=(0,cw.useDispatch)(HD.store),r=(0,cw.useSelect)(o=>o(HD.store).getBlock(e),[e]);return(0,GW.jsx)(UW.ToolbarButton,{onClick:()=>t(r.clientId,(0,uw.rawHandler)({HTML:(0,uw.serialize)(r)})),children:(0,jW.__)("Convert to blocks")})},WW=Gxe;var $W=n(E(),1),ns=n(O(),1),pw=n(H(),1),Gh=n(N(),1),qW=n(F(),1);var ZW=n(ve(),1),ml=n(y(),1);function Wxe({onClick:e,isModalFullScreen:t}){return(0,ZW.useViewportMatch)("small","<")?null:(0,ml.jsx)(ns.Button,{size:"compact",onClick:e,icon:od,isPressed:t,label:t?(0,Gh.__)("Exit fullscreen"):(0,Gh.__)("Enter fullscreen")})}function $xe(e){let t=(0,qW.useSelect)(r=>r($W.store).getSettings().styles);return(0,pw.useEffect)(()=>{let{baseURL:r,suffix:o,settings:a}=window.wpEditorL10n.tinymce;return window.tinymce.EditorManager.overrideDefaults({base_url:r,suffix:o}),window.wp.oldEditor.initialize(e.id,{tinymce:{...a,setup(i){i.on("init",()=>{let l=i.getDoc();t.forEach(({css:s})=>{let c=l.createElement("style");c.innerHTML=s,l.head.appendChild(c)})})}}}),()=>{window.wp.oldEditor.remove(e.id)}},[]),(0,ml.jsx)("textarea",{...e})}function KW({clientId:e,content:t,onClose:r,onChange:o}){let[a,i]=(0,pw.useState)(!1),l=`editor-${e}`;return(0,ml.jsxs)(ns.Modal,{title:(0,Gh.__)("Classic Editor"),onRequestClose:r,shouldCloseOnClickOutside:!1,overlayClassName:"block-editor-freeform-modal",isFullScreen:a,className:"block-editor-freeform-modal__content",headerActions:(0,ml.jsx)(Wxe,{onClick:()=>i(!a),isModalFullScreen:a}),children:[(0,ml.jsx)($xe,{id:l,defaultValue:t}),(0,ml.jsxs)(ns.Flex,{className:"block-editor-freeform-modal__actions",justify:"flex-end",expanded:!1,children:[(0,ml.jsx)(ns.FlexItem,{children:(0,ml.jsx)(ns.Button,{__next40pxDefaultSize:!0,variant:"tertiary",onClick:r,children:(0,Gh.__)("Cancel")})}),(0,ml.jsx)(ns.FlexItem,{children:(0,ml.jsx)(ns.Button,{__next40pxDefaultSize:!0,variant:"primary",onClick:()=>{o(window.wp.oldEditor.getContent(l)),r()},children:(0,Gh.__)("Save")})})]})]})}var tn=n(y(),1);function QW({attributes:e,setAttributes:t,clientId:r}){let{content:o}=e,[a,i]=(0,Wh.useState)(!1),l=(0,Wh.useRef)(null),s=(0,YW.useSelect)(c=>c(hu.store).canRemoveBlock(r),[r]);return(0,tn.jsxs)(tn.Fragment,{children:[s&&(0,tn.jsx)(hu.BlockControls,{children:(0,tn.jsx)(gu.ToolbarGroup,{children:(0,tn.jsx)(WW,{clientId:r})})}),(0,tn.jsx)(hu.BlockControls,{children:(0,tn.jsx)(gu.ToolbarGroup,{children:(0,tn.jsx)(gu.ToolbarButton,{ref:l,onClick:()=>i(!0),children:(0,bb.__)("Edit")})})}),(0,tn.jsxs)("div",{...(0,hu.useBlockProps)(),children:[o?(0,tn.jsx)(Wh.RawHTML,{children:o}):(0,tn.jsx)(gu.Placeholder,{icon:(0,tn.jsx)(hu.BlockIcon,{icon:$1}),label:(0,bb.__)("Classic"),instructions:(0,bb.__)("Use the classic editor to add content."),children:(0,tn.jsx)(gu.Button,{__next40pxDefaultSize:!0,variant:"primary",onClick:()=>i(!0),children:(0,bb.__)("Edit contents")})}),a&&(0,tn.jsx)(KW,{clientId:r,content:o,onClose:()=>{i(!1),l.current&&l.current.focus()},onChange:c=>t({content:c})})]})]})}var mw={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/freeform",title:"Classic",category:"text",description:"Use the classic WordPress editor.",textdomain:"default",attributes:{content:{type:"string",source:"raw"}},supports:{className:!1,customClassName:!1,lock:!1,reusable:!1,renaming:!1,visibility:!1,customCSS:!1},editorStyle:"wp-block-freeform-editor"};var XW=n(H(),1),JW=n(y(),1);function e$({attributes:e}){let{content:t}=e;return(0,JW.jsx)(XW.RawHTML,{children:t})}var{name:yb}=mw,t$={icon:$1,edit:QW,save:e$},Zxe=()=>A({name:yb,metadata:mw,settings:t$});var qD={};K(qD,{init:()=>tke,metadata:()=>hw,name:()=>s$,settings:()=>bw});var $D=n(N(),1);var l$=n(q(),1);var UD=n(N(),1),dw=n(E(),1),fw=n(q(),1),GD=n(y(),1);function r$({attributes:e,setAttributes:t,onRemove:r,insertBlocksAfter:o,mergeBlocks:a}){let i=(0,dw.useBlockProps)();return(0,GD.jsx)("pre",{...i,children:(0,GD.jsx)(dw.RichText,{tagName:"code",identifier:"content",value:e.content,onChange:l=>t({content:l}),onRemove:r,onMerge:a,placeholder:(0,UD.__)("Write code\u2026"),"aria-label":(0,UD.__)("Code"),preserveWhiteSpace:!0,__unstablePastePlainText:!0,__unstableOnSplitAtDoubleLineEnd:o?()=>o((0,fw.createBlock)((0,fw.getDefaultBlockName)())):void 0,style:{whiteSpace:"break-spaces"}})})}var hw={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/code",title:"Code",category:"text",description:"Display code snippets that respect your spacing and tabs.",textdomain:"default",attributes:{content:{type:"rich-text",source:"rich-text",selector:"code",__unstablePreserveWhiteSpace:!0,role:"content"}},supports:{align:["wide"],anchor:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},spacing:{margin:["top","bottom"],padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{width:!0,color:!0}},color:{text:!0,background:!0,gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},interactivity:{clientNavigation:!0}},style:"wp-block-code"};var gw=n(E(),1);var o$=n(ve(),1);function n$(e){return(0,o$.pipe)(Yxe,Qxe)(e||"")}function Yxe(e){return e.replace(/\[/g,"&#91;")}function Qxe(e){return e.replace(/^(\s*https?:)\/\/([^\s<>"]+\s*)$/m,"$1&#47;&#47;$2")}var WD=n(y(),1);function a$({attributes:e}){return(0,WD.jsx)("pre",{...gw.useBlockProps.save(),children:(0,WD.jsx)(gw.RichText.Content,{tagName:"code",value:n$(typeof e.content=="string"?e.content:e.content.toHTMLString({preserveWhiteSpace:!0}))})})}var Pd=n(q(),1),vw=n(os(),1);var Xxe={from:[{type:"input",regExp:/^```$/,transform:()=>(0,Pd.createBlock)("core/code")},{type:"block",blocks:["core/paragraph"],transform:e=>{let{content:t}=e;return(0,Pd.createBlock)("core/code",{...e,...fu(e,"core/code"),content:t})}},{type:"block",blocks:["core/html"],__experimentalConvert(e){let{attributes:t}=e;return(0,Pd.createBlock)("core/code",{...t,...fu(t,"core/code"),content:(0,vw.toHTMLString)({value:(0,vw.create)({text:(0,Pd.getBlockContent)(e)})})})}},{type:"raw",isMatch:e=>e.nodeName==="PRE"&&e.children.length===1&&e.firstChild.nodeName==="CODE",schema:{pre:{children:{code:{children:{"#text":{}}}}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:e=>{let{content:t}=e;return(0,Pd.createBlock)("core/paragraph",{...fu(e,"core/paragraph"),content:t})}}]},i$=Xxe;var{fieldsKey:Jxe,formKey:eke}=U(l$.privateApis),{name:s$}=hw,bw={icon:q1,example:{attributes:{content:(0,$D.__)(`// A \u201Cblock\u201D is the abstract term used
// to describe units of markup that
// when composed together, form the
// content or layout of a page.
registerBlockType( name, settings );`)}},merge(e,t){return{content:e.content+`

`+t.content}},transforms:i$,edit:r$,save:a$};window.__experimentalContentOnlyInspectorFields&&(bw[Jxe]=[{id:"content",label:(0,$D.__)("Code"),type:"text",Edit:"rich-text"}],bw[eke]={fields:["content"]});var tke=()=>A({name:s$,metadata:hw,settings:bw});var KD={};K(KD,{init:()=>ike,metadata:()=>_w,name:()=>f$,settings:()=>h$});var c$=n(E(),1),ZD=n(y(),1),rke=[{attributes:{verticalAlignment:{type:"string"},width:{type:"number",min:0,max:100}},isEligible({width:e}){return isFinite(e)},migrate(e){return{...e,width:`${e.width}%`}},save({attributes:e}){let{verticalAlignment:t,width:r}=e,o=S({[`is-vertically-aligned-${t}`]:t}),a={flexBasis:r+"%"};return(0,ZD.jsx)("div",{className:o,style:a,children:(0,ZD.jsx)(c$.InnerBlocks.Content,{})})}}],u$=rke;var rn=n(E(),1),Tp=n(O(),1),yw=n(F(),1),Ed=n(N(),1);var bi=n(y(),1);function oke({width:e,setAttributes:t}){let[r]=(0,rn.useSettings)("spacing.units"),o=(0,Tp.__experimentalUseCustomUnits)({availableUnits:r||["%","px","em","rem","vw"]}),a=Z();return(0,bi.jsx)(Tp.__experimentalToolsPanel,{label:(0,Ed.__)("Settings"),resetAll:()=>{t({width:void 0})},dropdownMenuProps:a,children:(0,bi.jsx)(Tp.__experimentalToolsPanelItem,{hasValue:()=>e!==void 0,label:(0,Ed.__)("Width"),onDeselect:()=>t({width:void 0}),isShownByDefault:!0,children:(0,bi.jsx)(Tp.__experimentalUnitControl,{label:(0,Ed.__)("Width"),__unstableInputWidth:"calc(50% - 8px)",value:e||"",onChange:i=>{i=0>parseFloat(i)?"0":i,t({width:i})},units:o})})})}function nke({attributes:{verticalAlignment:e,width:t,templateLock:r,allowedBlocks:o},setAttributes:a,clientId:i}){let l=S("block-core-columns",{[`is-vertically-aligned-${e}`]:e}),{columnsIds:s,hasChildBlocks:c,rootClientId:u}=(0,yw.useSelect)(_=>{let{getBlockOrder:k,getBlockRootClientId:x}=_(rn.store),w=x(i);return{hasChildBlocks:k(i).length>0,rootClientId:w,columnsIds:k(w)}},[i]),{updateBlockAttributes:p}=(0,yw.useDispatch)(rn.store),m=_=>{a({verticalAlignment:_}),p(u,{verticalAlignment:null})},d=Number.isFinite(t)?t+"%":t,f=(0,rn.useBlockProps)({className:l,style:d?{flexBasis:d}:void 0}),h=s.length,g=s.indexOf(i)+1,v=(0,Ed.sprintf)((0,Ed.__)("%1$s (%2$d of %3$d)"),f["aria-label"],g,h),b=(0,rn.useInnerBlocksProps)({...f,"aria-label":v},{templateLock:r,allowedBlocks:o,renderAppender:c?void 0:rn.InnerBlocks.ButtonBlockAppender});return(0,bi.jsxs)(bi.Fragment,{children:[(0,bi.jsx)(rn.BlockControls,{children:(0,bi.jsx)(rn.BlockVerticalAlignmentToolbar,{onChange:m,value:e,controls:["top","center","bottom","stretch"]})}),(0,bi.jsx)(rn.InspectorControls,{children:(0,bi.jsx)(oke,{width:t,setAttributes:a})}),(0,bi.jsx)("div",{...b})]})}var p$=nke;var _w={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/column",title:"Column",category:"design",parent:["core/columns"],description:"A single column within a columns block.",textdomain:"default",attributes:{verticalAlignment:{type:"string"},width:{type:"string"},templateLock:{type:["string","boolean"],enum:["all","insert","contentOnly",!1]}},supports:{__experimentalOnEnter:!0,anchor:!0,reusable:!1,html:!1,color:{gradients:!0,heading:!0,button:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},shadow:!0,spacing:{blockGap:!0,padding:!0,__experimentalDefaultControls:{padding:!0,blockGap:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},layout:!0,interactivity:{clientNavigation:!0},allowedBlocks:!0}};var xw=n(E(),1),m$=n(y(),1);function d$({attributes:e}){let{verticalAlignment:t,width:r}=e,o=S({[`is-vertically-aligned-${t}`]:t}),a;if(r&&/\d/.test(r)){let s=Number.isFinite(r)?r+"%":r;!Number.isFinite(r)&&r?.endsWith("%")&&(s=Math.round(Number.parseFloat(r)*1e12)/1e12+"%"),a={flexBasis:s}}let i=xw.useBlockProps.save({className:o,style:a}),l=xw.useInnerBlocksProps.save(i);return(0,m$.jsx)("div",{...l})}var{name:f$}=_w,h$={icon:PP,edit:p$,save:d$,deprecated:u$},ike=()=>A({name:f$,metadata:_w,settings:h$});var XD={};K(XD,{init:()=>xke,metadata:()=>Cw,name:()=>S$,settings:()=>T$});var _b=n(N(),1);var g$=n(q(),1),Nd=n(E(),1),Bd=n(y(),1);function kw(e){let{doc:t}=kw;t||(t=document.implementation.createHTMLDocument(""),kw.doc=t);let r;t.body.innerHTML=e;for(let o of t.body.firstChild.classList)if(r=o.match(/^layout-column-(\d+)$/))return Number(r[1])-1}var lke=e=>{if(!e.customTextColor&&!e.customBackgroundColor)return e;let t={color:{}};e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor);let{customTextColor:r,customBackgroundColor:o,...a}=e;return{...a,style:t,isStackedOnMobile:!0}},v$=[{attributes:{verticalAlignment:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},textColor:{type:"string"}},migrate:lke,save({attributes:e}){let{verticalAlignment:t,backgroundColor:r,customBackgroundColor:o,textColor:a,customTextColor:i}=e,l=(0,Nd.getColorClassName)("background-color",r),s=(0,Nd.getColorClassName)("color",a),c=S({"has-background":r||o,"has-text-color":a||i,[l]:l,[s]:s,[`are-vertically-aligned-${t}`]:t});return(0,Bd.jsx)("div",{className:c||void 0,style:{backgroundColor:l?void 0:o,color:s?void 0:i},children:(0,Bd.jsx)(Nd.InnerBlocks.Content,{})})}},{attributes:{columns:{type:"number",default:2}},isEligible(e,t){return t.some(o=>/layout-column-\d+/.test(o.originalContent))?t.some(o=>kw(o.originalContent)!==void 0):!1},migrate(e,t){let o=t.reduce((l,s)=>{let{originalContent:c}=s,u=kw(c);return u===void 0&&(u=0),l[u]||(l[u]=[]),l[u].push(s),l},[]).map(l=>(0,g$.createBlock)("core/column",{},l)),{columns:a,...i}=e;return[{...i,isStackedOnMobile:!0},o]},save({attributes:e}){let{columns:t}=e;return(0,Bd.jsx)("div",{className:`has-${t}-columns`,children:(0,Bd.jsx)(Nd.InnerBlocks.Content,{})})}},{attributes:{columns:{type:"number",default:2}},migrate(e,t){let{columns:r,...o}=e;return e={...o,isStackedOnMobile:!0},[e,t]},save({attributes:e}){let{verticalAlignment:t,columns:r}=e,o=S(`has-${r}-columns`,{[`are-vertically-aligned-${t}`]:t});return(0,Bd.jsx)("div",{className:o,children:(0,Bd.jsx)(Nd.InnerBlocks.Content,{})})}}];var Id=n(N(),1),fl=n(O(),1),Zr=n(E(),1),dl=n(F(),1),Dd=n(q(),1);var ww=e=>{let t=parseFloat(e);return Number.isFinite(t)?parseFloat(t.toFixed(2)):void 0};function b$(e,t){let{width:r=100/t}=e.attributes;return ww(r)}function ske(e,t=e.length){return e.reduce((r,o)=>r+b$(o,t),0)}function cke(e,t=e.length){return e.reduce((r,o)=>{let a=b$(o,t);return Object.assign(r,{[o.clientId]:a})},{})}function YD(e,t,r=e.length){let o=ske(e,r);return Object.fromEntries(Object.entries(cke(e,r)).map(([a,i])=>{let l=t*i/o;return[a,ww(l)]}))}function y$(e){return e.every(t=>{let r=t.attributes.width;return Number.isFinite(r?.endsWith?.("%")?parseFloat(r):r)})}function QD(e,t){return e.map(r=>({...r,attributes:{...r.attributes,width:`${t[r.clientId]}%`}}))}var ko=n(y(),1),uke={name:"core/column"};function pke({clientId:e,setAttributes:t,isStackedOnMobile:r}){let{count:o,canInsertColumnBlock:a,minCount:i}=(0,dl.useSelect)(p=>{let{canInsertBlockType:m,canRemoveBlock:d,getBlockOrder:f}=p(Zr.store),h=f(e),g=h.reduce((v,b,_)=>(d(b)||v.push(_),v),[]);return{count:h.length,canInsertColumnBlock:m("core/column",e),minCount:Math.max(...g)+1}},[e]),{getBlocks:l}=(0,dl.useSelect)(Zr.store),{replaceInnerBlocks:s}=(0,dl.useDispatch)(Zr.store);function c(p,m){let d=l(e),f=y$(d),h=m>p;if(h&&f){let g=ww(100/m),v=m-p,b=YD(d,100-g*v);d=[...QD(d,b),...Array.from({length:v}).map(()=>(0,Dd.createBlock)("core/column",{width:`${g}%`}))]}else if(h)d=[...d,...Array.from({length:m-p}).map(()=>(0,Dd.createBlock)("core/column"))];else if(m<p&&(d=d.slice(0,-(p-m)),f)){let g=YD(d,100);d=QD(d,g)}s(e,d)}let u=Z();return(0,ko.jsxs)(fl.__experimentalToolsPanel,{label:(0,Id.__)("Settings"),resetAll:()=>{t({isStackedOnMobile:!0})},dropdownMenuProps:u,children:[a&&(0,ko.jsxs)(fl.__experimentalVStack,{spacing:4,style:{gridColumn:"1 / -1"},children:[(0,ko.jsx)(fl.RangeControl,{label:(0,Id.__)("Columns"),value:o,onChange:p=>c(o,Math.max(i,p)),min:Math.max(1,i),max:Math.max(6,o)}),o>6&&(0,ko.jsx)(fl.Notice,{status:"warning",isDismissible:!1,children:(0,Id.__)("This column count exceeds the recommended amount and may cause visual breakage.")})]}),(0,ko.jsx)(fl.__experimentalToolsPanelItem,{label:(0,Id.__)("Stack on mobile"),isShownByDefault:!0,hasValue:()=>r!==!0,onDeselect:()=>t({isStackedOnMobile:!0}),children:(0,ko.jsx)(fl.ToggleControl,{label:(0,Id.__)("Stack on mobile"),checked:r,onChange:()=>t({isStackedOnMobile:!r})})})]})}function mke({attributes:e,setAttributes:t,clientId:r}){let{isStackedOnMobile:o,verticalAlignment:a,templateLock:i}=e,l=(0,dl.useRegistry)(),{getBlockOrder:s}=(0,dl.useSelect)(Zr.store),{updateBlockAttributes:c}=(0,dl.useDispatch)(Zr.store),u=S({[`are-vertically-aligned-${a}`]:a,"is-not-stacked-on-mobile":!o}),p=(0,Zr.useBlockProps)({className:u}),m=(0,Zr.useInnerBlocksProps)(p,{defaultBlock:uke,directInsert:!0,orientation:"horizontal",renderAppender:!1,templateLock:i});function d(f){let h=s(r);l.batch(()=>{t({verticalAlignment:f}),c(h,{verticalAlignment:f})})}return(0,ko.jsxs)(ko.Fragment,{children:[(0,ko.jsx)(Zr.BlockControls,{children:(0,ko.jsx)(Zr.BlockVerticalAlignmentToolbar,{onChange:d,value:a})}),(0,ko.jsx)(Zr.InspectorControls,{children:(0,ko.jsx)(pke,{clientId:r,setAttributes:t,isStackedOnMobile:o})}),(0,ko.jsx)("div",{...m})]})}function dke({clientId:e,name:t,setAttributes:r}){let{blockType:o,variations:a}=(0,dl.useSelect)(s=>{let{getBlockVariations:c,getBlockType:u}=s(Dd.store);return{blockType:u(t),variations:c(t,"block")}},[t]),{replaceInnerBlocks:i}=(0,dl.useDispatch)(Zr.store),l=(0,Zr.useBlockProps)();return(0,ko.jsx)("div",{...l,children:(0,ko.jsx)(Zr.__experimentalBlockVariationPicker,{icon:o?.icon?.src,label:o?.title,variations:a,instructions:(0,Id.__)("Divide into columns. Select a layout:"),onSelect:s=>{s.attributes&&r(s.attributes),s.innerBlocks&&i(e,(0,Dd.createBlocksFromInnerBlocksTemplate)(s.innerBlocks),!0)}})})}var fke=e=>{let{clientId:t}=e,o=(0,dl.useSelect)(a=>a(Zr.store).getBlocks(t).length>0,[t])?mke:dke;return(0,ko.jsx)(o,{...e})},_$=fke;var Cw={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/columns",title:"Columns",category:"design",allowedBlocks:["core/column"],description:"Display content in multiple columns, with blocks added to each column.",textdomain:"default",attributes:{verticalAlignment:{type:"string"},isStackedOnMobile:{type:"boolean",default:!0},templateLock:{type:["string","boolean"],enum:["all","insert","contentOnly",!1]}},supports:{anchor:!0,align:["wide","full"],html:!1,color:{gradients:!0,link:!0,heading:!0,button:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{blockGap:{__experimentalDefault:"2em",sides:["horizontal","vertical"]},margin:["top","bottom"],padding:!0,__experimentalDefaultControls:{padding:!0,blockGap:!0}},layout:{allowSwitching:!1,allowInheriting:!1,allowEditing:!1,default:{type:"flex",flexWrap:"nowrap"}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},shadow:!0},editorStyle:"wp-block-columns-editor",style:"wp-block-columns"};var Sw=n(E(),1),x$=n(y(),1);function k$({attributes:e}){let{isStackedOnMobile:t,verticalAlignment:r}=e,o=S({[`are-vertically-aligned-${r}`]:r,"is-not-stacked-on-mobile":!t}),a=Sw.useBlockProps.save({className:o}),i=Sw.useInnerBlocksProps.save(a);return(0,x$.jsx)("div",{...i})}var Oa=n(O(),1),yi=n(N(),1),_i=n(y(),1),gke=[{name:"one-column-full",title:(0,yi.__)("100"),description:(0,yi.__)("One column"),icon:(0,_i.jsx)(Oa.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,_i.jsx)(Oa.Path,{d:"M0 10a2 2 0 0 1 2-2h44a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V10Z"})}),innerBlocks:[["core/column"]],scope:["block"]},{name:"two-columns-equal",title:(0,yi.__)("50 / 50"),description:(0,yi.__)("Two columns; equal split"),icon:(0,_i.jsx)(Oa.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,_i.jsx)(Oa.Path,{d:"M0 10a2 2 0 0 1 2-2h19a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V10Zm25 0a2 2 0 0 1 2-2h19a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H27a2 2 0 0 1-2-2V10Z"})}),isDefault:!0,innerBlocks:[["core/column"],["core/column"]],scope:["block"]},{name:"two-columns-one-third-two-thirds",title:(0,yi.__)("33 / 66"),description:(0,yi.__)("Two columns; one-third, two-thirds split"),icon:(0,_i.jsx)(Oa.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,_i.jsx)(Oa.Path,{d:"M0 10a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V10Zm17 0a2 2 0 0 1 2-2h27a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H19a2 2 0 0 1-2-2V10Z"})}),innerBlocks:[["core/column",{width:"33.33%"}],["core/column",{width:"66.66%"}]],scope:["block"]},{name:"two-columns-two-thirds-one-third",title:(0,yi.__)("66 / 33"),description:(0,yi.__)("Two columns; two-thirds, one-third split"),icon:(0,_i.jsx)(Oa.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,_i.jsx)(Oa.Path,{d:"M0 10a2 2 0 0 1 2-2h27a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V10Zm33 0a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H35a2 2 0 0 1-2-2V10Z"})}),innerBlocks:[["core/column",{width:"66.66%"}],["core/column",{width:"33.33%"}]],scope:["block"]},{name:"three-columns-equal",title:(0,yi.__)("33 / 33 / 33"),description:(0,yi.__)("Three columns; equal split"),icon:(0,_i.jsx)(Oa.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,_i.jsx)(Oa.Path,{d:"M0 10a2 2 0 0 1 2-2h10.531c1.105 0 1.969.895 1.969 2v28c0 1.105-.864 2-1.969 2H2a2 2 0 0 1-2-2V10Zm16.5 0c0-1.105.864-2 1.969-2H29.53c1.105 0 1.969.895 1.969 2v28c0 1.105-.864 2-1.969 2H18.47c-1.105 0-1.969-.895-1.969-2V10Zm17 0c0-1.105.864-2 1.969-2H46a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H35.469c-1.105 0-1.969-.895-1.969-2V10Z"})}),innerBlocks:[["core/column"],["core/column"],["core/column"]],scope:["block"]},{name:"three-columns-wider-center",title:(0,yi.__)("25 / 50 / 25"),description:(0,yi.__)("Three columns; wide center column"),icon:(0,_i.jsx)(Oa.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,_i.jsx)(Oa.Path,{d:"M0 10a2 2 0 0 1 2-2h7.531c1.105 0 1.969.895 1.969 2v28c0 1.105-.864 2-1.969 2H2a2 2 0 0 1-2-2V10Zm13.5 0c0-1.105.864-2 1.969-2H32.53c1.105 0 1.969.895 1.969 2v28c0 1.105-.864 2-1.969 2H15.47c-1.105 0-1.969-.895-1.969-2V10Zm23 0c0-1.105.864-2 1.969-2H46a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2h-7.531c-1.105 0-1.969-.895-1.969-2V10Z"})}),innerBlocks:[["core/column",{width:"25%"}],["core/column",{width:"50%"}],["core/column",{width:"25%"}]],scope:["block"]}],w$=gke;var ac=n(q(),1),vke=6,bke=(e,t)=>{let r=+(100/t).toFixed(2),o=Array.from({length:t},(a,i)=>["core/column",{width:`${r}%`},e.filter((l,s)=>s%t===i)]);return(0,ac.createBlocksFromInnerBlocksTemplate)(o)},yke=e=>e.flatMap(t=>{let r=t.innerBlocks||[];return r.length>1?[(0,ac.createBlock)("core/group",{layout:{type:"constrained"}},r)]:r}),_ke={from:[{type:"block",blocks:["core/group"],priority:1,transform:(e,t)=>{let{layout:r,...o}=e,{columnCount:a}=r;return(0,ac.createBlock)("core/columns",o,bke(t,a))},isMatch:({layout:e})=>e?.type==="grid"&&Number.isInteger(e?.columnCount)&&e.columnCount>0},{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert:e=>{let t=+(100/e.length).toFixed(2),r=e.map(({name:o,attributes:a,innerBlocks:i,innerContent:l})=>["core/column",{width:`${t}%`},[[o,{...a},i,l]]]);return(0,ac.createBlock)("core/columns",{},(0,ac.createBlocksFromInnerBlocksTemplate)(r))},isMatch:({length:e},t)=>t.length===1&&t[0].name==="core/columns"?!1:e&&e<=vke},{type:"block",blocks:["core/media-text"],priority:1,transform:(e,t)=>{let{align:r,backgroundColor:o,textColor:a,style:i,mediaAlt:l,mediaId:s,mediaPosition:c,mediaSizeSlug:u,mediaType:p,mediaUrl:m,mediaWidth:d,verticalAlignment:f}=e,h;if(p==="image"||!p){let v={id:s,alt:l,url:m,sizeSlug:u},b={href:e.href,linkClass:e.linkClass,linkDestination:e.linkDestination,linkTarget:e.linkTarget,rel:e.rel};h=["core/image",{...v,...b}]}else h=["core/video",{id:s,src:m}];let g=[["core/column",{width:`${d}%`},[h]],["core/column",{width:`${100-d}%`},t]];return c==="right"&&g.reverse(),(0,ac.createBlock)("core/columns",{align:r,backgroundColor:o,textColor:a,style:i,verticalAlignment:f},(0,ac.createBlocksFromInnerBlocksTemplate)(g))}}],to:[{type:"block",blocks:["core/group"],variationName:"group-grid",transform:(e,t)=>{let r=t.length;return(0,ac.createBlock)("core/group",{...e,isStackedOnMobile:void 0,verticalAlignment:void 0,layout:{type:"grid",...r&&{columnCount:r}}},yke(t))}}],ungroup:(e,t)=>t.flatMap(r=>r.innerBlocks)},C$=_ke;var{name:S$}=Cw,T$={icon:BP,variations:w$,example:{viewportWidth:782,innerBlocks:[{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:(0,_b.__)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis.")}},{name:"core/image",attributes:{url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"}},{name:"core/paragraph",attributes:{content:(0,_b.__)("Suspendisse commodo neque lacus, a dictum orci interdum et.")}}]},{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:(0,_b.__)("Etiam et egestas lorem. Vivamus sagittis sit amet dolor quis lobortis. Integer sed fermentum arcu, id vulputate lacus. Etiam fermentum sem eu quam hendrerit.")}},{name:"core/paragraph",attributes:{content:(0,_b.__)("Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.")}}]}]},deprecated:v$,edit:_$,save:k$,transforms:C$},xke=()=>A({name:S$,metadata:Cw,settings:T$});var rL={};K(rL,{init:()=>Pke,metadata:()=>Tw,name:()=>G$,settings:()=>W$});var Tw={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/comments",title:"Comments",category:"theme",description:"An advanced block that allows displaying post comments using different visual configurations.",textdomain:"default",attributes:{tagName:{type:"string",default:"div"},legacy:{type:"boolean",default:!1}},supports:{anchor:!0,align:["wide","full"],html:!1,color:{gradients:!0,heading:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},editorStyle:"wp-block-comments-editor",usesContext:["postId","postType"]};var Pw=n(E(),1),JD=n(y(),1),wke={attributes:{tagName:{type:"string",default:"div"}},apiVersion:3,supports:{align:["wide","full"],html:!1,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}}},save({attributes:{tagName:e}}){let t=Pw.useBlockProps.save(),{className:r}=t,a=(r?.split(" ")||[])?.filter(l=>l!=="wp-block-comments"),i={...t,className:a.join(" ")};return(0,JD.jsx)(e,{...i,children:(0,JD.jsx)(Pw.InnerBlocks.Content,{})})}},P$=[wke];var Iw=n(E(),1);var E$=n(N(),1),xb=n(E(),1);var Ew=n(y(),1),{HTMLElementControl:Cke}=U(xb.privateApis);function B$({attributes:{tagName:e},setAttributes:t}){return(0,Ew.jsx)(xb.InspectorControls,{children:(0,Ew.jsx)(xb.InspectorControls,{group:"advanced",children:(0,Ew.jsx)(Cke,{tagName:e,onChange:r=>t({tagName:r}),options:[{label:(0,E$.__)("Default (<div>)"),value:"div"},{label:"<section>",value:"section"},{label:"<aside>",value:"aside"}]})})})}var Ep=n(E(),1),tL=n(N(),1),V$=n(O(),1);var L$=n(E(),1),so=n(N(),1),R$=n(F(),1),A$=n(re(),1),M$=n(H(),1);var hl=n(N(),1),Pp=n(E(),1),N$=n(O(),1),I$=n(ve(),1),Bw=n(re(),1),eL=n(F(),1),sa=n(y(),1),D$=()=>{let e=(0,I$.useInstanceId)(D$);return(0,sa.jsxs)("div",{className:"comment-respond",children:[(0,sa.jsx)("h3",{className:"comment-reply-title",children:(0,hl.__)("Leave a Reply")}),(0,sa.jsxs)("form",{noValidate:!0,className:"comment-form",onSubmit:t=>t.preventDefault(),children:[(0,sa.jsxs)("p",{children:[(0,sa.jsx)("label",{htmlFor:`comment-${e}`,children:(0,hl.__)("Comment")}),(0,sa.jsx)("textarea",{id:`comment-${e}`,name:"comment",cols:"45",rows:"8",readOnly:!0})]}),(0,sa.jsx)("p",{className:"form-submit wp-block-button",children:(0,sa.jsx)("input",{name:"submit",type:"submit",className:S("wp-block-button__link",(0,Pp.__experimentalGetElementClassName)("button")),label:(0,hl.__)("Post Comment"),value:(0,hl.__)("Post Comment"),"aria-disabled":"true"})})]})]})},Ske=({postId:e,postType:t})=>{let[r,o]=(0,Bw.useEntityProp)("postType",t,"comment_status",e),a=t===void 0||e===void 0,i=(0,eL.useSelect)(s=>s(Pp.store).getSettings().__experimentalDiscussionSettings?.defaultCommentStatus,[]),l=(0,eL.useSelect)(s=>t?!!s(Bw.store).getPostType(t)?.supports.comments:!1);if(!a&&r!=="open")if(r==="closed"){let s=[(0,sa.jsx)(N$.Button,{__next40pxDefaultSize:!0,onClick:()=>o("open"),variant:"primary",children:(0,hl._x)("Enable comments","action that affects the current post")},"enableComments")];return(0,sa.jsx)(Pp.Warning,{actions:s,children:(0,hl.__)("Post Comments Form block: Comments are not enabled for this item.")})}else if(l){if(i!=="open")return(0,sa.jsx)(Pp.Warning,{children:(0,hl.__)("Post Comments Form block: Comments are not enabled.")})}else return(0,sa.jsx)(Pp.Warning,{children:(0,hl.sprintf)((0,hl.__)("Post Comments Form block: Comments are not enabled for this post type (%s)."),t)});return(0,sa.jsx)(D$,{})},Nw=Ske;var it=n(y(),1);function z$({postType:e,postId:t}){let[r]=(0,A$.useEntityProp)("postType",e,"title",t);r=r||(0,so.__)("Post Title");let o=(0,R$.useSelect)(a=>a(L$.store).getSettings().__experimentalDiscussionSettings?.avatarURL,[]);return(0,it.jsxs)("div",{className:"wp-block-comments__legacy-placeholder",inert:"true",children:[(0,it.jsx)("h3",{children:(0,so.sprintf)((0,so.__)("One response to %s"),r)}),(0,it.jsxs)("div",{className:"navigation",children:[(0,it.jsx)("div",{className:"alignleft",children:(0,it.jsxs)("a",{href:"#top",children:["\xAB ",(0,so.__)("Older Comments")]})}),(0,it.jsx)("div",{className:"alignright",children:(0,it.jsxs)("a",{href:"#top",children:[(0,so.__)("Newer Comments")," \xBB"]})})]}),(0,it.jsx)("ol",{className:"commentlist",children:(0,it.jsx)("li",{className:"comment even thread-even depth-1",children:(0,it.jsxs)("article",{className:"comment-body",children:[(0,it.jsxs)("footer",{className:"comment-meta",children:[(0,it.jsxs)("div",{className:"comment-author vcard",children:[(0,it.jsx)("img",{alt:(0,so.__)("Commenter Avatar"),src:o,className:"avatar avatar-32 photo",height:"32",width:"32",loading:"lazy"}),(0,it.jsx)("b",{className:"fn",children:(0,it.jsx)("a",{href:"#top",className:"url",children:(0,so.__)("A WordPress Commenter")})})," ",(0,it.jsxs)("span",{className:"says",children:[(0,so.__)("says"),":"]})]}),(0,it.jsxs)("div",{className:"comment-metadata",children:[(0,it.jsx)("a",{href:"#top",children:(0,it.jsx)("time",{dateTime:"2000-01-01T00:00:00+00:00",children:(0,so.__)("January 1, 2000 at 00:00 am")})})," ",(0,it.jsx)("span",{className:"edit-link",children:(0,it.jsx)("a",{className:"comment-edit-link",href:"#top",children:(0,so.__)("Edit")})})]})]}),(0,it.jsx)("div",{className:"comment-content",children:(0,it.jsxs)("p",{children:[(0,so.__)("Hi, this is a comment."),(0,it.jsx)("br",{}),(0,so.__)("To get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard."),(0,it.jsx)("br",{}),(0,M$.createInterpolateElement)((0,so.__)("Commenter avatars come from <a>Gravatar</a>."),{a:(0,it.jsx)("a",{href:"https://gravatar.com/"})})]})}),(0,it.jsx)("div",{className:"reply",children:(0,it.jsx)("a",{className:"comment-reply-link",href:"#top","aria-label":(0,so.__)("Reply to A WordPress Commenter"),children:(0,so._x)("Reply","verb")})})]})})}),(0,it.jsxs)("div",{className:"navigation",children:[(0,it.jsx)("div",{className:"alignleft",children:(0,it.jsxs)("a",{href:"#top",children:["\xAB ",(0,so.__)("Older Comments")]})}),(0,it.jsx)("div",{className:"alignright",children:(0,it.jsxs)("a",{href:"#top",children:[(0,so.__)("Newer Comments")," \xBB"]})})]}),(0,it.jsx)(Nw,{postId:t,postType:e})]})}var as=n(y(),1);function O$({attributes:e,setAttributes:t,context:{postType:r,postId:o}}){let{textAlign:a}=e,i=[(0,as.jsx)(V$.Button,{__next40pxDefaultSize:!0,onClick:()=>{t({legacy:!1})},variant:"primary",children:(0,tL.__)("Switch to editable mode")},"convert")],l=(0,Ep.useBlockProps)({className:S({[`has-text-align-${a}`]:a})});return(0,as.jsxs)(as.Fragment,{children:[(0,as.jsx)(Ep.BlockControls,{group:"block",children:(0,as.jsx)(Ep.AlignmentControl,{value:a,onChange:s=>{t({textAlign:s})}})}),(0,as.jsxs)("div",{...l,children:[(0,as.jsx)(Ep.Warning,{actions:i,children:(0,tL.__)("Comments block: You\u2019re currently using the legacy version of the block. The following is just a placeholder - the final styling will likely look different. For a better representation and more customization options, switch the block to its editable mode.")}),(0,as.jsx)(z$,{postId:o,postType:r})]})]})}var Tke=[["core/comments-title"],["core/comment-template",{},[["core/columns",{},[["core/column",{width:"40px"},[["core/avatar",{size:40,style:{border:{radius:"20px"}}}]]],["core/column",{},[["core/comment-author-name",{fontSize:"small"}],["core/group",{layout:{type:"flex"},style:{spacing:{margin:{top:"0px",bottom:"0px"}}}},[["core/comment-date",{fontSize:"small"}],["core/comment-edit-link",{fontSize:"small"}]]],["core/comment-content"],["core/comment-reply-link",{fontSize:"small"}]]]]]]],["core/comments-pagination"],["core/post-comments-form"]],F$=Tke;var Bp=n(y(),1);function H$(e){let{attributes:t,setAttributes:r,clientId:o}=e,{tagName:a,legacy:i}=t,l=(0,Iw.useBlockProps)(),s=(0,Iw.useInnerBlocksProps)(l,{template:F$});return i?(0,Bp.jsx)(O$,{...e}):(0,Bp.jsxs)(Bp.Fragment,{children:[(0,Bp.jsx)(B$,{attributes:t,setAttributes:r,clientId:o}),(0,Bp.jsx)(a,{...s})]})}var Dw=n(E(),1),j$=n(y(),1);function U$({attributes:{tagName:e,legacy:t}}){let r=Dw.useBlockProps.save(),o=Dw.useInnerBlocksProps.save(r);return t?null:(0,j$.jsx)(e,{...o})}var{name:G$}=Tw,W$={icon:zB,example:{},edit:H$,save:U$,deprecated:P$},Pke=()=>A({name:G$,metadata:Tw,settings:W$});var nL={};K(nL,{init:()=>Bke,metadata:()=>Lw,name:()=>Z$,settings:()=>K$});var Lw={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,__experimental:"fse",name:"core/comment-author-avatar",title:"Comment Author Avatar (deprecated)",category:"theme",ancestor:["core/comment-template"],description:"This block is deprecated. Please use the Avatar block instead.",textdomain:"default",attributes:{width:{type:"number",default:96},height:{type:"number",default:96}},usesContext:["commentId"],supports:{html:!1,inserter:!1,__experimentalBorder:{radius:!0,width:!0,color:!0,style:!0},color:{background:!0,text:!1,__experimentalDefaultControls:{background:!0}},spacing:{__experimentalSkipSerialization:!0,margin:!0,padding:!0},interactivity:{clientNavigation:!0}}};var Np=n(E(),1),$h=n(O(),1),oL=n(re(),1),$$=n(F(),1),Ld=n(N(),1),is=n(y(),1);function q$({attributes:e,context:{commentId:t},setAttributes:r,isSelected:o}){let{height:a,width:i}=e,[l]=(0,oL.useEntityProp)("root","comment","author_avatar_urls",t),[s]=(0,oL.useEntityProp)("root","comment","author_name",t),c=l?Object.values(l):null,u=l?Object.keys(l):null,p=u?u[0]:24,m=u?u[u.length-1]:96,d=(0,Np.useBlockProps)(),f=(0,Np.__experimentalGetSpacingClassesAndStyles)(e),h=Math.floor(m*2.5),g=(0,$$.useSelect)(_=>{let{__experimentalDiscussionSettings:k}=_(Np.store).getSettings();return k?.avatarURL},[]),v=(0,is.jsx)(Np.InspectorControls,{children:(0,is.jsx)($h.PanelBody,{title:(0,Ld.__)("Settings"),children:(0,is.jsx)($h.RangeControl,{label:(0,Ld.__)("Image size"),onChange:_=>r({width:_,height:_}),min:p,max:h,initialPosition:i,value:i})})}),b=(0,is.jsx)($h.ResizableBox,{size:{width:i,height:a},showHandle:o,onResizeStop:(_,k,x,w)=>{r({height:parseInt(a+w.height,10),width:parseInt(i+w.width,10)})},lockAspectRatio:!0,enable:{top:!1,right:!(0,Ld.isRTL)(),bottom:!0,left:(0,Ld.isRTL)()},minWidth:p,maxWidth:h,children:(0,is.jsx)("img",{src:c?c[c.length-1]:g,alt:`${s} ${(0,Ld.__)("Avatar")}`,...d})});return(0,is.jsxs)(is.Fragment,{children:[v,(0,is.jsx)("div",{...f,children:b})]})}var{name:Z$}=Lw,K$={icon:Z1,edit:q$},Bke=()=>A({name:Z$,metadata:Lw,settings:K$});var aL={};K(aL,{init:()=>Lke,metadata:()=>Rw,name:()=>eq,settings:()=>tq});var Rw={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/comment-author-name",title:"Comment Author Name",category:"theme",ancestor:["core/comment-template"],description:"Displays the name of the author of the comment.",textdomain:"default",attributes:{isLink:{type:"boolean",default:!0},linkTarget:{type:"string",default:"_self"}},usesContext:["commentId"],supports:{anchor:!0,html:!1,spacing:{margin:!0,padding:!0},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},style:"wp-block-comment-author-name"};var vu=n(N(),1),Y$=n(F(),1),Aw=n(E(),1),Q$=n(re(),1),Ip=n(O(),1);var xi=n(y(),1);function X$(e){let{attributes:{isLink:t,linkTarget:r},context:{commentId:o},setAttributes:a}=e;Ct(e);let i=Z(),l=(0,Aw.useBlockProps)(),s=(0,Y$.useSelect)(p=>{let{getEntityRecord:m}=p(Q$.store),d=m("root","comment",o),f=d?.author_name;return d&&!f?m("root","user",d.author)?.name??(0,vu.__)("Anonymous"):f??""},[o]),c=(0,xi.jsx)(Aw.InspectorControls,{children:(0,xi.jsxs)(Ip.__experimentalToolsPanel,{label:(0,vu.__)("Settings"),resetAll:()=>{a({isLink:!0,linkTarget:"_self"})},dropdownMenuProps:i,children:[(0,xi.jsx)(Ip.__experimentalToolsPanelItem,{label:(0,vu.__)("Link to authors URL"),isShownByDefault:!0,hasValue:()=>!t,onDeselect:()=>a({isLink:!0}),children:(0,xi.jsx)(Ip.ToggleControl,{label:(0,vu.__)("Link to authors URL"),onChange:()=>a({isLink:!t}),checked:t})}),t&&(0,xi.jsx)(Ip.__experimentalToolsPanelItem,{label:(0,vu.__)("Open in new tab"),isShownByDefault:!0,hasValue:()=>r!=="_self",onDeselect:()=>a({linkTarget:"_self"}),children:(0,xi.jsx)(Ip.ToggleControl,{label:(0,vu.__)("Open in new tab"),onChange:p=>a({linkTarget:p?"_blank":"_self"}),checked:r==="_blank"})})]})});return(!o||!s)&&(s=(0,vu._x)("Comment Author","block title")),(0,xi.jsxs)(xi.Fragment,{children:[c,(0,xi.jsx)("div",{...l,children:t?(0,xi.jsx)("a",{href:"#comment-author-pseudo-link",onClick:p=>p.preventDefault(),children:s}):s})]})}var Ike={attributes:{isLink:{type:"boolean",default:!0},linkTarget:{type:"string",default:"_self"},textAlign:{type:"string"}},usesContext:["commentId"],supports:{html:!1,spacing:{margin:!0,padding:!0},color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0}},save(){return null},migrate:be,isEligible(e){return!!e.textAlign||!!e.className?.match(/\bhas-text-align-(left|center|right)\b/)}},Dke={attributes:{isLink:{type:"boolean",default:!1},linkTarget:{type:"string",default:"_self"}},supports:{html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0}},save(){return null},migrate:Zt,isEligible({style:e}){return e?.typography?.fontFamily}},J$=[Ike,Dke];var{name:eq}=Rw,tq={icon:IP,edit:X$,deprecated:J$,example:{}},Lke=()=>A({name:eq,metadata:Rw,settings:tq});var iL={};K(iL,{init:()=>Mke,metadata:()=>Mw,name:()=>cq,settings:()=>uq});var Mw={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/comment-content",title:"Comment Content",category:"theme",ancestor:["core/comment-template"],description:"Displays the contents of a comment.",textdomain:"default",usesContext:["commentId"],supports:{anchor:!0,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}},spacing:{padding:["horizontal","vertical"],__experimentalDefaultControls:{padding:!0}},html:!1},style:"wp-block-comment-content"};var rq=n(N(),1),oq=n(H(),1),nq=n(O(),1),aq=n(re(),1),iq=n(E(),1);var ls=n(y(),1);function lq(e){let{context:{commentId:t}}=e;Ct(e);let r=(0,iq.useBlockProps)(),[o]=(0,aq.useEntityProp)("root","comment","content",t);return!t||!o?(0,ls.jsx)(ls.Fragment,{children:(0,ls.jsx)("div",{...r,children:(0,ls.jsx)("p",{children:(0,rq._x)("Comment Content","block title")})})}):(0,ls.jsx)(ls.Fragment,{children:(0,ls.jsx)("div",{...r,children:(0,ls.jsx)(nq.Disabled,{children:(0,ls.jsx)(oq.RawHTML,{children:o.rendered},"html")})})})}var Ake={attributes:{textAlign:{type:"string"}},usesContext:["commentId"],supports:{anchor:!0,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0},spacing:{padding:["horizontal","vertical"]},html:!1},save(){return null},migrate:be,isEligible(e){return!!e.textAlign||!!e.className?.match(/\bhas-text-align-(left|center|right)\b/)}},sq=[Ake];var{name:cq}=Mw,uq={icon:LP,edit:lq,deprecated:sq,example:{}},Mke=()=>A({name:cq,metadata:Mw,settings:uq});var sL={};K(sL,{init:()=>Oke,metadata:()=>zw,name:()=>fq,settings:()=>hq});var zw={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/comment-date",title:"Comment Date",category:"theme",ancestor:["core/comment-template"],description:"Displays the date on which the comment was posted.",textdomain:"default",attributes:{format:{type:"string"},isLink:{type:"boolean",default:!0}},usesContext:["commentId"],supports:{anchor:!0,html:!1,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},style:"wp-block-comment-date"};var lL=n(re(),1),Ad=n(Vw(),1),qh=n(E(),1),Md=n(O(),1),Rd=n(N(),1);var ca=n(y(),1);function mq({attributes:{format:e,isLink:t},context:{commentId:r},setAttributes:o}){let a=(0,qh.useBlockProps)(),i=Z(),[l]=(0,lL.useEntityProp)("root","comment","date",r),[s=(0,Ad.getSettings)().formats.date]=(0,lL.useEntityProp)("root","site","date_format"),c=(0,ca.jsx)(qh.InspectorControls,{children:(0,ca.jsxs)(Md.__experimentalToolsPanel,{label:(0,Rd.__)("Settings"),resetAll:()=>{o({format:void 0,isLink:!0})},dropdownMenuProps:i,children:[(0,ca.jsx)(Md.__experimentalToolsPanelItem,{label:(0,Rd.__)("Date format"),hasValue:()=>e!==void 0,onDeselect:()=>o({format:void 0}),isShownByDefault:!0,children:(0,ca.jsx)(qh.__experimentalDateFormatPicker,{format:e,defaultFormat:s,onChange:p=>o({format:p})})}),(0,ca.jsx)(Md.__experimentalToolsPanelItem,{label:(0,Rd.__)("Link to comment"),hasValue:()=>!t,onDeselect:()=>o({isLink:!0}),isShownByDefault:!0,children:(0,ca.jsx)(Md.ToggleControl,{label:(0,Rd.__)("Link to comment"),onChange:()=>o({isLink:!t}),checked:t})})]})});(!r||!l)&&(l=(0,Rd._x)("Comment Date","block title"));let u=l instanceof Date?(0,ca.jsx)("time",{dateTime:(0,Ad.dateI18n)("c",l),children:e==="human-diff"?(0,Ad.humanTimeDiff)(l):(0,Ad.dateI18n)(e||s,l)}):(0,ca.jsx)("time",{children:l});return t&&(u=(0,ca.jsx)("a",{href:"#comment-date-pseudo-link",onClick:p=>p.preventDefault(),children:u})),(0,ca.jsxs)(ca.Fragment,{children:[c,(0,ca.jsx)("div",{...a,children:u})]})}var Vke={attributes:{format:{type:"string"},isLink:{type:"boolean",default:!1}},supports:{html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0}},save(){return null},migrate:Zt,isEligible({style:e}){return e?.typography?.fontFamily}},dq=[Vke];var{name:fq}=zw,hq={icon:_v,edit:mq,deprecated:dq,example:{}},Oke=()=>A({name:fq,metadata:zw,settings:hq});var cL={};K(cL,{init:()=>jke,metadata:()=>Ow,name:()=>bq,settings:()=>yq});var Ow={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/comment-edit-link",title:"Comment Edit Link",category:"theme",ancestor:["core/comment-template"],description:"Displays a link to edit the comment in the WordPress Dashboard. This link is only visible to users with the edit comment capability.",textdomain:"default",usesContext:["commentId"],attributes:{linkTarget:{type:"string",default:"_self"}},supports:{anchor:!0,html:!1,color:{link:!0,gradients:!0,text:!1,__experimentalDefaultControls:{background:!0,link:!0}},spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0}},style:"wp-block-comment-edit-link"};var Fw=n(E(),1),Zh=n(O(),1),kb=n(N(),1);var ss=n(y(),1);function gq(e){let{attributes:t,setAttributes:r}=e,{linkTarget:o}=t;Ct(e);let a=(0,Fw.useBlockProps)(),i=Z(),l=(0,ss.jsx)(Fw.InspectorControls,{children:(0,ss.jsx)(Zh.__experimentalToolsPanel,{label:(0,kb.__)("Settings"),resetAll:()=>{r({linkTarget:"_self"})},dropdownMenuProps:i,children:(0,ss.jsx)(Zh.__experimentalToolsPanelItem,{label:(0,kb.__)("Open in new tab"),isShownByDefault:!0,hasValue:()=>o==="_blank",onDeselect:()=>r({linkTarget:"_self"}),children:(0,ss.jsx)(Zh.ToggleControl,{label:(0,kb.__)("Open in new tab"),onChange:s=>r({linkTarget:s?"_blank":"_self"}),checked:o==="_blank"})})})});return(0,ss.jsxs)(ss.Fragment,{children:[l,(0,ss.jsx)("div",{...a,children:(0,ss.jsx)("a",{href:"#edit-comment-pseudo-link",onClick:s=>s.preventDefault(),children:(0,kb.__)("Edit")})})]})}var Hke={attributes:{linkTarget:{type:"string",default:"_self"},textAlign:{type:"string"}},usesContext:["commentId"],supports:{anchor:!0,html:!1,color:{link:!0,gradients:!0,text:!1},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0}},save(){return null},migrate:be,isEligible(e){return!!e.textAlign||!!e.className?.match(/\bhas-text-align-(left|center|right)\b/)}},vq=[Hke];var{name:bq}=Ow,yq={icon:AP,edit:gq,deprecated:vq,example:{}},jke=()=>A({name:bq,metadata:Ow,settings:yq});var uL={};K(uL,{init:()=>$ke,metadata:()=>Hw,name:()=>Cq,settings:()=>Sq});var Hw={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/comment-reply-link",title:"Comment Reply Link",category:"theme",ancestor:["core/comment-template"],description:"Displays a link to reply to a comment.",textdomain:"default",usesContext:["commentId"],supports:{anchor:!0,color:{gradients:!0,link:!0,text:!1,__experimentalDefaultControls:{background:!0,link:!0}},spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0},html:!1},style:"wp-block-comment-reply-link"};var _q=n(N(),1),xq=n(E(),1);var Kh=n(y(),1);function Gke(e){Ct(e);let t=(0,xq.useBlockProps)();return(0,Kh.jsx)(Kh.Fragment,{children:(0,Kh.jsx)("div",{...t,children:(0,Kh.jsx)("a",{href:"#comment-reply-pseudo-link",onClick:r=>r.preventDefault(),children:(0,_q._x)("Reply","verb")})})})}var kq=Gke;var Wke={attributes:{textAlign:{type:"string"}},usesContext:["commentId"],supports:{anchor:!0,color:{gradients:!0,link:!0,text:!1},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0},html:!1},save(){return null},migrate:be,isEligible(e){return!!e.textAlign||!!e.className?.match(/\bhas-text-align-(left|center|right)\b/)}},wq=[Wke];var{name:Cq}=Hw,Sq={edit:kq,icon:zP,deprecated:wq,example:{}},$ke=()=>A({name:Cq,metadata:Hw,settings:Sq});var mL={};K(mL,{init:()=>e5e,metadata:()=>jw,name:()=>jq,settings:()=>Uq});var jw={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/comment-template",title:"Comment Template",category:"design",parent:["core/comments"],description:"Contains the block elements used to display a comment, like the title, date, author, avatar and more.",textdomain:"default",usesContext:["postId"],supports:{anchor:!0,align:!0,html:!1,reusable:!1,spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},style:"wp-block-comment-template"};var Uw=n(H(),1),pL=n(F(),1),Rq=n(N(),1),cs=n(E(),1),Aq=n(O(),1),Mq=n(re(),1);var zd=n(H(),1),Eq=n(F(),1),Bq=n(E(),1),Nq=n(ir(),1),Iq=n(wb(),1),Pq=100,Dq=({postId:e})=>{let t={status:"approve",order:"asc",context:"embed",parent:0,_embed:"children"},{pageComments:r,commentsPerPage:o,defaultCommentsPage:a}=(0,Eq.useSelect)(s=>{let{getSettings:c}=s(Bq.store),{__experimentalDiscussionSettings:u}=c();return u??{}},[]),i=r?Math.min(o,Pq):Pq,l=Zke({defaultPage:a,postId:e,perPage:i,queryArgs:t});return(0,zd.useMemo)(()=>l?{...t,post:e,per_page:i,page:l}:null,[e,i,l])},Zke=({defaultPage:e,postId:t,perPage:r,queryArgs:o})=>{let[a,i]=(0,zd.useState)({}),l=`${t}_${r}`,s=a[l]||0;return(0,zd.useEffect)(()=>{s||e!=="newest"||(0,Iq.default)({path:(0,Nq.addQueryArgs)("/wp/v2/comments",{...o,post:t,per_page:r,_fields:"id"}),method:"HEAD",parse:!1}).then(c=>{let u=parseInt(c.headers.get("X-WP-TotalPages"));i({...a,[l]:u<=1?1:u})}).catch(()=>{i({...a,[l]:1})})},[e,t,r,i]),e==="newest"?s:1},Lq=e=>(0,zd.useMemo)(()=>e?.map(({id:r,_embedded:o})=>{let[a]=o?.children||[[]];return{commentId:r,children:a.map(i=>({commentId:i.id}))}}),[e]);var ki=n(y(),1),Kke=[["core/avatar"],["core/comment-author-name"],["core/comment-date"],["core/comment-content"],["core/comment-reply-link"],["core/comment-edit-link"]],Yke=({perPage:e,pageComments:t,threadComments:r,threadCommentsDepth:o})=>{let a=r?Math.min(o,3):1,i=s=>{if(s<a){let c=s+1;return[{commentId:-(s+3),children:i(c)}]}return[]},l=[{commentId:-1,children:i(1)}];return(!t||e>=2)&&a<3&&l.push({commentId:-2,children:[]}),(!t||e>=3)&&a<2&&l.push({commentId:-3,children:[]}),l};function Qke({comment:e,activeCommentId:t,setActiveCommentId:r,firstCommentId:o,blocks:a}){let{children:i,...l}=(0,cs.useInnerBlocksProps)({},{template:Kke});return(0,ki.jsxs)("li",{...l,children:[e.commentId===(t||o)?i:null,(0,ki.jsx)(Jke,{blocks:a,commentId:e.commentId,setActiveCommentId:r,isHidden:e.commentId===(t||o)}),e?.children?.length>0?(0,ki.jsx)(zq,{comments:e.children,activeCommentId:t,setActiveCommentId:r,blocks:a,firstCommentId:o}):null]})}var Xke=({blocks:e,commentId:t,setActiveCommentId:r,isHidden:o})=>{let a=(0,cs.__experimentalUseBlockPreview)({blocks:e}),i=()=>{r(t)};return(0,ki.jsx)("div",{...a,tabIndex:0,role:"button",style:{display:o?"none":void 0},onClick:i,onKeyPress:i})},Jke=(0,Uw.memo)(Xke),zq=({comments:e,blockProps:t,activeCommentId:r,setActiveCommentId:o,blocks:a,firstCommentId:i})=>(0,ki.jsx)("ol",{...t,children:e&&e.map(({commentId:l,...s},c)=>(0,ki.jsx)(cs.BlockContextProvider,{value:{commentId:l<0?null:l},children:(0,ki.jsx)(Qke,{comment:{commentId:l,...s},activeCommentId:r,setActiveCommentId:o,blocks:a,firstCommentId:i})},s.commentId||c))});function Vq({clientId:e,context:{postId:t}}){let r=(0,cs.useBlockProps)(),[o,a]=(0,Uw.useState)(),{commentOrder:i,threadCommentsDepth:l,threadComments:s,commentsPerPage:c,pageComments:u}=(0,pL.useSelect)(h=>{let{getSettings:g}=h(cs.store);return g().__experimentalDiscussionSettings??{}},[]),p=Dq({postId:t}),{topLevelComments:m,blocks:d}=(0,pL.useSelect)(h=>{let{getEntityRecords:g}=h(Mq.store),{getBlocks:v}=h(cs.store);return{topLevelComments:p?g("root","comment",p):null,blocks:v(e)}},[e,p]),f=Lq(i==="desc"&&m?[...m].reverse():m);return m?(t||(f=Yke({perPage:c,pageComments:u,threadComments:s,threadCommentsDepth:l})),f.length?(0,ki.jsx)(zq,{comments:f,blockProps:r,blocks:d,activeCommentId:o,setActiveCommentId:a,firstCommentId:f[0]?.commentId}):(0,ki.jsx)("p",{...r,children:(0,Rq.__)("No results found.")})):(0,ki.jsx)("p",{...r,children:(0,ki.jsx)(Aq.Spinner,{})})}var Oq=n(E(),1),Fq=n(y(),1);function Hq(){return(0,Fq.jsx)(Oq.InnerBlocks.Content,{})}var{name:jq}=jw,Uq={icon:ad,edit:Vq,save:Hq},e5e=()=>A({name:jq,metadata:jw,settings:Uq});var fL={};K(fL,{init:()=>o5e,metadata:()=>Gw,name:()=>$q,settings:()=>qq});var Wq=n(N(),1);var Gw={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/comments-pagination-previous",title:"Comments Previous Page",category:"theme",parent:["core/comments-pagination"],description:"Displays the previous comment's page link.",textdomain:"default",attributes:{label:{type:"string"}},usesContext:["postId","comments/paginationArrow"],supports:{anchor:!0,reusable:!1,html:!1,color:{gradients:!0,text:!1,__experimentalDefaultControls:{background:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}}};var dL=n(N(),1),Ww=n(E(),1),Cb=n(y(),1),r5e={none:"",arrow:"\u2190",chevron:"\xAB"};function Gq({attributes:{label:e},setAttributes:t,context:{"comments/paginationArrow":r}}){let o=r5e[r];return(0,Cb.jsxs)("a",{href:"#comments-pagination-previous-pseudo-link",onClick:a=>a.preventDefault(),...(0,Ww.useBlockProps)(),children:[o&&(0,Cb.jsx)("span",{className:`wp-block-comments-pagination-previous-arrow is-arrow-${r}`,children:o}),(0,Cb.jsx)(Ww.PlainText,{__experimentalVersion:2,tagName:"span","aria-label":(0,dL.__)("Older comments page link"),placeholder:(0,dL.__)("Older Comments"),value:e,onChange:a=>t({label:a})})]})}var{name:$q}=Gw,qq={icon:Cv,edit:Gq,example:{attributes:{label:(0,Wq.__)("Older Comments")}}},o5e=()=>A({name:$q,metadata:Gw,settings:qq});var gL={};K(gL,{init:()=>i5e,metadata:()=>$w,name:()=>Jq,settings:()=>eZ});var $w={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/comments-pagination",title:"Comments Pagination",category:"theme",parent:["core/comments"],allowedBlocks:["core/comments-pagination-previous","core/comments-pagination-numbers","core/comments-pagination-next"],description:"Displays a paginated navigation to next/previous set of comments, when applicable.",textdomain:"default",attributes:{paginationArrow:{type:"string",default:"none"}},example:{attributes:{paginationArrow:"none"}},providesContext:{"comments/paginationArrow":"paginationArrow"},supports:{anchor:!0,align:!0,reusable:!1,html:!1,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},layout:{allowSwitching:!1,allowInheriting:!1,default:{type:"flex"}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}},editorStyle:"wp-block-comments-pagination-editor",style:"wp-block-comments-pagination"};var qw=n(N(),1),ps=n(E(),1),hL=n(F(),1),Zw=n(O(),1);var Vd=n(N(),1),Yh=n(O(),1),Qh=n(y(),1);function Zq({value:e,onChange:t}){return(0,Qh.jsxs)(Yh.__experimentalToggleGroupControl,{label:(0,Vd.__)("Arrow"),value:e,onChange:t,help:(0,Vd.__)("A decorative arrow appended to the next and previous comments link."),isBlock:!0,children:[(0,Qh.jsx)(Yh.__experimentalToggleGroupControlOption,{value:"none",label:(0,Vd._x)("None","Arrow option for Comments Pagination Next/Previous blocks")}),(0,Qh.jsx)(Yh.__experimentalToggleGroupControlOption,{value:"arrow",label:(0,Vd._x)("Arrow","Arrow option for Comments Pagination Next/Previous blocks")}),(0,Qh.jsx)(Yh.__experimentalToggleGroupControlOption,{value:"chevron",label:(0,Vd._x)("Chevron","Arrow option for Comments Pagination Next/Previous blocks")})]})}var us=n(y(),1),a5e=[["core/comments-pagination-previous"],["core/comments-pagination-numbers"],["core/comments-pagination-next"]];function Kq({attributes:{paginationArrow:e},setAttributes:t,clientId:r}){let o=(0,hL.useSelect)(c=>{let{getBlocks:u}=c(ps.store);return u(r)?.find(m=>["core/comments-pagination-previous","core/comments-pagination-next"].includes(m.name))},[]),a=(0,ps.useBlockProps)(),i=Z(),l=(0,ps.useInnerBlocksProps)(a,{template:a5e});return(0,hL.useSelect)(c=>{let{getSettings:u}=c(ps.store),{__experimentalDiscussionSettings:p}=u();return p?.pageComments},[])?(0,us.jsxs)(us.Fragment,{children:[o&&(0,us.jsx)(ps.InspectorControls,{children:(0,us.jsx)(Zw.__experimentalToolsPanel,{label:(0,qw.__)("Settings"),dropdownMenuProps:i,resetAll:()=>t({paginationArrow:"none"}),children:(0,us.jsx)(Zw.__experimentalToolsPanelItem,{label:(0,qw.__)("Arrow"),hasValue:()=>e!=="none",onDeselect:()=>t({paginationArrow:"none"}),isShownByDefault:!0,children:(0,us.jsx)(Zq,{value:e,onChange:c=>{t({paginationArrow:c})}})})})}),(0,us.jsx)("div",{...l})]}):(0,us.jsx)(ps.Warning,{children:(0,qw.__)("Comments Pagination block: paging comments is disabled in the Discussion Settings")})}var Yq=n(E(),1),Qq=n(y(),1);function Xq(){return(0,Qq.jsx)(Yq.InnerBlocks.Content,{})}var{name:Jq}=$w,eZ={icon:Sv,edit:Kq,save:Xq},i5e=()=>A({name:Jq,metadata:$w,settings:eZ});var bL={};K(bL,{init:()=>c5e,metadata:()=>Kw,name:()=>oZ,settings:()=>nZ});var rZ=n(N(),1);var Kw={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/comments-pagination-next",title:"Comments Next Page",category:"theme",parent:["core/comments-pagination"],description:"Displays the next comment's page link.",textdomain:"default",attributes:{label:{type:"string"}},usesContext:["postId","comments/paginationArrow"],supports:{anchor:!0,reusable:!1,html:!1,color:{gradients:!0,text:!1,__experimentalDefaultControls:{background:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}}};var vL=n(N(),1),Yw=n(E(),1),Sb=n(y(),1),s5e={none:"",arrow:"\u2192",chevron:"\xBB"};function tZ({attributes:{label:e},setAttributes:t,context:{"comments/paginationArrow":r}}){let o=s5e[r];return(0,Sb.jsxs)("a",{href:"#comments-pagination-next-pseudo-link",onClick:a=>a.preventDefault(),...(0,Yw.useBlockProps)(),children:[(0,Sb.jsx)(Yw.PlainText,{__experimentalVersion:2,tagName:"span","aria-label":(0,vL.__)("Newer comments page link"),placeholder:(0,vL.__)("Newer Comments"),value:e,onChange:a=>t({label:a})}),o&&(0,Sb.jsx)("span",{className:`wp-block-comments-pagination-next-arrow is-arrow-${r}`,children:o})]})}var{name:oZ}=Kw,nZ={icon:kv,edit:tZ,example:{attributes:{label:(0,rZ.__)("Newer Comments")}}},c5e=()=>A({name:oZ,metadata:Kw,settings:nZ});var yL={};K(yL,{init:()=>p5e,metadata:()=>Qw,name:()=>lZ,settings:()=>sZ});var Qw={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/comments-pagination-numbers",title:"Comments Page Numbers",category:"theme",parent:["core/comments-pagination"],description:"Displays a list of page numbers for comments pagination.",textdomain:"default",usesContext:["postId"],supports:{anchor:!0,reusable:!1,html:!1,color:{gradients:!0,text:!1,__experimentalDefaultControls:{background:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{padding:!0}}}};var aZ=n(E(),1),gl=n(y(),1),Od=({content:e,tag:t="a",extraClass:r=""})=>t==="a"?(0,gl.jsx)(t,{className:`page-numbers ${r}`,href:"#comments-pagination-numbers-pseudo-link",onClick:o=>o.preventDefault(),children:e}):(0,gl.jsx)(t,{className:`page-numbers ${r}`,children:e});function iZ(){return(0,gl.jsxs)("div",{...(0,aZ.useBlockProps)(),children:[(0,gl.jsx)(Od,{content:"1"}),(0,gl.jsx)(Od,{content:"2"}),(0,gl.jsx)(Od,{content:"3",tag:"span",extraClass:"current"}),(0,gl.jsx)(Od,{content:"4"}),(0,gl.jsx)(Od,{content:"5"}),(0,gl.jsx)(Od,{content:"...",tag:"span",extraClass:"dots"}),(0,gl.jsx)(Od,{content:"8"})]})}var{name:lZ}=Qw,sZ={icon:wv,edit:iZ,example:{}},p5e=()=>A({name:lZ,metadata:Qw,settings:sZ});var _L={};K(_L,{init:()=>h5e,metadata:()=>Xw,name:()=>hZ,settings:()=>gZ});var Xw={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/comments-title",title:"Comments Title",category:"theme",ancestor:["core/comments"],description:"Displays a title with the number of comments.",textdomain:"default",usesContext:["postId","postType"],attributes:{showPostTitle:{type:"boolean",default:!0},showCommentsCount:{type:"boolean",default:!0},level:{type:"number",default:2},levelOptions:{type:"array"}},supports:{anchor:!0,align:!0,html:!1,__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0},color:{gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0,__experimentalFontFamily:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0}},interactivity:{clientNavigation:!0}}};var ic=n(E(),1),zr=n(N(),1),cZ=n(re(),1),Dp=n(O(),1),Jw=n(H(),1),uZ=n(F(),1),pZ=n(wb(),1),mZ=n(ir(),1);var Fa=n(y(),1);function dZ(e){Ct(e);let{attributes:t,setAttributes:r,context:o}=e,{showPostTitle:a,showCommentsCount:i,level:l=2,levelOptions:s}=t,{postId:c,postType:u}=o,p="h"+l,[m,d]=(0,Jw.useState)(),[f]=(0,cZ.useEntityProp)("postType",u,"title",c),h=typeof c>"u",g=(0,ic.useBlockProps)(),{threadCommentsDepth:v,threadComments:b,commentsPerPage:_,pageComments:k}=(0,uZ.useSelect)(I=>{let{getSettings:D}=I(ic.store);return D().__experimentalDiscussionSettings??{}},[]),x=Z();(0,Jw.useEffect)(()=>{if(h){let D=b?Math.min(v,3)-1:0,T=k?_:3,L=parseInt(D)+parseInt(T);d(Math.min(L,3));return}let I=c;(0,pZ.default)({path:(0,mZ.addQueryArgs)("/wp/v2/comments",{post:c,_fields:"id"}),method:"HEAD",parse:!1}).then(D=>{I===c&&d(parseInt(D.headers.get("X-WP-Total")))}).catch(()=>{d(0)})},[c]);let w=(0,Fa.jsx)(ic.BlockControls,{group:"block",children:(0,Fa.jsx)(ic.HeadingLevelDropdown,{value:l,options:s,onChange:I=>r({level:I})})}),C=(0,Fa.jsx)(ic.InspectorControls,{children:(0,Fa.jsxs)(Dp.__experimentalToolsPanel,{label:(0,zr.__)("Settings"),resetAll:()=>{r({showPostTitle:!0,showCommentsCount:!0})},dropdownMenuProps:x,children:[(0,Fa.jsx)(Dp.__experimentalToolsPanelItem,{label:(0,zr.__)("Show post title"),isShownByDefault:!0,hasValue:()=>!a,onDeselect:()=>r({showPostTitle:!0}),children:(0,Fa.jsx)(Dp.ToggleControl,{label:(0,zr.__)("Show post title"),checked:a,onChange:I=>r({showPostTitle:I})})}),(0,Fa.jsx)(Dp.__experimentalToolsPanelItem,{label:(0,zr.__)("Show comments count"),isShownByDefault:!0,hasValue:()=>!i,onDeselect:()=>r({showCommentsCount:!0}),children:(0,Fa.jsx)(Dp.ToggleControl,{label:(0,zr.__)("Show comments count"),checked:i,onChange:I=>r({showCommentsCount:I})})})]})}),P=h?(0,zr.__)("Post Title"):f,B;return i&&m!==void 0?a?m===1?B=(0,zr.sprintf)((0,zr.__)('One response to "%s"'),P):B=(0,zr.sprintf)((0,zr._n)('%1$s response to "%2$s"','%1$s responses to "%2$s"',m),m,P):m===1?B=(0,zr.__)("One response"):B=(0,zr.sprintf)((0,zr._n)("%s response","%s responses",m),m):a?m===1?B=(0,zr.sprintf)((0,zr.__)('Response to "%s"'),P):B=(0,zr.sprintf)((0,zr.__)('Responses to "%s"'),P):m===1?B=(0,zr.__)("Response"):B=(0,zr.__)("Responses"),(0,Fa.jsxs)(Fa.Fragment,{children:[w,C,(0,Fa.jsx)(p,{...g,children:B})]})}var d5e={attributes:{textAlign:{type:"string"},showPostTitle:{type:"boolean",default:!0},showCommentsCount:{type:"boolean",default:!0},level:{type:"number",default:2},levelOptions:{type:"array"}},supports:{anchor:!0,align:!0,html:!1,__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0},color:{gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0,__experimentalFontFamily:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0}},interactivity:{clientNavigation:!0}},migrate:e=>{let{singleCommentLabel:t,multipleCommentsLabel:r,...o}=e;return be(o)},isEligible(e){return!!e.textAlign||!!e.className?.match(/\bhas-text-align-(left|center|right)\b/)},save:()=>null},f5e={attributes:{textAlign:{type:"string"},showPostTitle:{type:"boolean",default:!0},showCommentsCount:{type:"boolean",default:!0},level:{type:"number",default:2},levelOptions:{type:"array"},singleCommentLabel:{type:"string"},multipleCommentsLabel:{type:"string"}},supports:{anchor:!0,align:!0,html:!1,__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0},color:{gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0,__experimentalFontFamily:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0}},interactivity:{clientNavigation:!0}},migrate:e=>{let{singleCommentLabel:t,multipleCommentsLabel:r,...o}=e;return be(o)},isEligible:({multipleCommentsLabel:e,singleCommentLabel:t})=>e||t,save:()=>null},fZ=[d5e,f5e];var{name:hZ}=Xw,gZ={icon:Ql,edit:dZ,deprecated:fZ,example:{}},h5e=()=>A({name:hZ,metadata:Xw,settings:gZ});var OL={};K(OL,{init:()=>Awe,metadata:()=>v3,name:()=>_K,settings:()=>y3});var VL=n(N(),1);var yK=n(q(),1);var r3=n(q(),1),Ne=n(E(),1),o3=n(N(),1),Tb=n(ve(),1);var e3=n(Ar(),1),g5e={"top left":"is-position-top-left","top center":"is-position-top-center","top right":"is-position-top-right","center left":"is-position-center-left","center center":"is-position-center-center",center:"is-position-center-center","center right":"is-position-center-right","bottom left":"is-position-bottom-left","bottom center":"is-position-bottom-center","bottom right":"is-position-bottom-right"},Yt="image",Er="video",bu="embed-video",vZ=50;var v5e={x:.5,y:.5},t3=["image","video"];function on({x:e,y:t}=v5e){return`${Math.round(e*100)}% ${Math.round(t*100)}%`}function vl(e){return e===50||e===void 0?null:"has-background-dim-"+10*Math.round(e/10)}function bZ(e){if(!e||!e.url&&!e.src)return{url:void 0,id:void 0};(0,e3.isBlobURL)(e.url)&&(e.type=(0,e3.getBlobTypeByURL)(e.url));let t;if(e.media_type)e.media_type===Yt?t=Yt:t=Er;else if(e.type&&(e.type===Yt||e.type===Er))t=e.type;else return;return{url:e.url||e.src,id:e.id,alt:e?.alt,backgroundType:t,...t===Er?{hasParallax:void 0}:{}}}function ua(e){return!e||e==="center center"||e==="center"}function Ha(e){return ua(e)?"":g5e[e]}var fe=n(y(),1);function lc(e){return e?{backgroundImage:`url(${e})`}:{}}function Fd(e){return e===0||e===50||!e?null:"has-background-dim-"+10*Math.round(e/10)}function n3(e){return{...e,dimRatio:e.url?e.dimRatio:100}}function Lp(e){return e.tagName||(e={...e,tagName:"div"}),{...e}}var Hd={url:{type:"string"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},dimRatio:{type:"number",default:50},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"}},Pb={url:{type:"string"},id:{type:"number"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},hasParallax:{type:"boolean",default:!1},isRepeated:{type:"boolean",default:!1},dimRatio:{type:"number",default:100},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"},isDark:{type:"boolean",default:!0},allowedBlocks:{type:"array"},templateLock:{type:["string","boolean"],enum:["all","insert",!1]}},xL={...Pb,useFeaturedImage:{type:"boolean",default:!1},tagName:{type:"string",default:"div"}},b5e={...xL,isUserOverlayColor:{type:"boolean"},sizeSlug:{type:"string"},alt:{type:"string",default:""}},Xh={anchor:!0,align:!0,html:!1,spacing:{padding:!0,__experimentalDefaultControls:{padding:!0}},color:{__experimentalDuotone:"> .wp-block-cover__image-background, > .wp-block-cover__video-background",text:!1,background:!1}},kL={...Xh,spacing:{padding:!0,margin:["top","bottom"],blockGap:!0,__experimentalDefaultControls:{padding:!0,blockGap:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},color:{__experimentalDuotone:"> .wp-block-cover__image-background, > .wp-block-cover__video-background",heading:!0,text:!0,background:!1,__experimentalSkipSerialization:["gradients"],enableContrastChecker:!1},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},layout:{allowJustification:!1}},y5e={...kL,shadow:!0,dimensions:{aspectRatio:!0},interactivity:{clientNavigation:!0}},_5e={attributes:b5e,supports:y5e,save({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:o,customGradient:a,customOverlayColor:i,dimRatio:l,focalPoint:s,useFeaturedImage:c,hasParallax:u,isDark:p,isRepeated:m,overlayColor:d,url:f,alt:h,id:g,minHeight:v,minHeightUnit:b,tagName:_,sizeSlug:k}=e,x=(0,Ne.getColorClassName)("background-color",d),w=(0,Ne.__experimentalGetGradientClass)(r),C=v&&b?`${v}${b}`:v,P=Yt===t,B=Er===t,I=!(u||m),D={minHeight:C||void 0},T={backgroundColor:x?void 0:i,background:a||void 0},L=s&&I?on(s):void 0,R=f?`url(${f})`:void 0,z=on(s),j=S({"is-light":!p,"has-parallax":u,"is-repeated":m,"has-custom-content-position":!ua(o)},Ha(o)),G=S("wp-block-cover__image-background",g?`wp-image-${g}`:null,{[`size-${k}`]:k,"has-parallax":u,"is-repeated":m}),W=r||a;return(0,fe.jsxs)(_,{...Ne.useBlockProps.save({className:j,style:D}),children:[(0,fe.jsx)("span",{"aria-hidden":"true",className:S("wp-block-cover__background",x,vl(l),{"has-background-dim":l!==void 0,"wp-block-cover__gradient-background":f&&W&&l!==0,"has-background-gradient":W,[w]:w}),style:T}),!c&&P&&f&&(I?(0,fe.jsx)("img",{className:G,alt:h,src:f,style:{objectPosition:L},"data-object-fit":"cover","data-object-position":L}):(0,fe.jsx)("div",{role:h?"img":void 0,"aria-label":h||void 0,className:G,style:{backgroundPosition:z,backgroundImage:R}})),B&&f&&(0,fe.jsx)("video",{className:S("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:f,style:{objectPosition:L},"data-object-fit":"cover","data-object-position":L}),(0,fe.jsx)("div",{...Ne.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})})]})}},x5e={attributes:xL,supports:kL,save({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:o,customGradient:a,customOverlayColor:i,dimRatio:l,focalPoint:s,useFeaturedImage:c,hasParallax:u,isDark:p,isRepeated:m,overlayColor:d,url:f,alt:h,id:g,minHeight:v,minHeightUnit:b,tagName:_}=e,k=(0,Ne.getColorClassName)("background-color",d),x=(0,Ne.__experimentalGetGradientClass)(r),w=v&&b?`${v}${b}`:v,C=Yt===t,P=Er===t,B=!(u||m),I={minHeight:w||void 0},D={backgroundColor:k?void 0:i,background:a||void 0},T=s&&B?on(s):void 0,L=f?`url(${f})`:void 0,R=on(s),z=S({"is-light":!p,"has-parallax":u,"is-repeated":m,"has-custom-content-position":!ua(o)},Ha(o)),j=S("wp-block-cover__image-background",g?`wp-image-${g}`:null,{"has-parallax":u,"is-repeated":m}),G=r||a;return(0,fe.jsxs)(_,{...Ne.useBlockProps.save({className:z,style:I}),children:[(0,fe.jsx)("span",{"aria-hidden":"true",className:S("wp-block-cover__background",k,vl(l),{"has-background-dim":l!==void 0,"wp-block-cover__gradient-background":f&&G&&l!==0,"has-background-gradient":G,[x]:x}),style:D}),!c&&C&&f&&(B?(0,fe.jsx)("img",{className:j,alt:h,src:f,style:{objectPosition:T},"data-object-fit":"cover","data-object-position":T}):(0,fe.jsx)("div",{role:"img",className:j,style:{backgroundPosition:R,backgroundImage:L}})),P&&f&&(0,fe.jsx)("video",{className:S("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:f,style:{objectPosition:T},"data-object-fit":"cover","data-object-position":T}),(0,fe.jsx)("div",{...Ne.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})})]})}},k5e={attributes:xL,supports:kL,isEligible(e){return(e.customOverlayColor!==void 0||e.overlayColor!==void 0)&&e.isUserOverlayColor===void 0},migrate(e){return{...e,isUserOverlayColor:!0}},save({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:o,customGradient:a,customOverlayColor:i,dimRatio:l,focalPoint:s,useFeaturedImage:c,hasParallax:u,isDark:p,isRepeated:m,overlayColor:d,url:f,alt:h,id:g,minHeight:v,minHeightUnit:b,tagName:_}=e,k=(0,Ne.getColorClassName)("background-color",d),x=(0,Ne.__experimentalGetGradientClass)(r),w=v&&b?`${v}${b}`:v,C=Yt===t,P=Er===t,B=!(u||m),I={minHeight:w||void 0},D={backgroundColor:k?void 0:i,background:a||void 0},T=s&&B?on(s):void 0,L=f?`url(${f})`:void 0,R=on(s),z=S({"is-light":!p,"has-parallax":u,"is-repeated":m,"has-custom-content-position":!ua(o)},Ha(o)),j=S("wp-block-cover__image-background",g?`wp-image-${g}`:null,{"has-parallax":u,"is-repeated":m}),G=r||a;return(0,fe.jsxs)(_,{...Ne.useBlockProps.save({className:z,style:I}),children:[(0,fe.jsx)("span",{"aria-hidden":"true",className:S("wp-block-cover__background",k,vl(l),{"has-background-dim":l!==void 0,"wp-block-cover__gradient-background":f&&G&&l!==0,"has-background-gradient":G,[x]:x}),style:D}),!c&&C&&f&&(B?(0,fe.jsx)("img",{className:j,alt:h,src:f,style:{objectPosition:T},"data-object-fit":"cover","data-object-position":T}):(0,fe.jsx)("div",{role:"img",className:j,style:{backgroundPosition:R,backgroundImage:L}})),P&&f&&(0,fe.jsx)("video",{className:S("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:f,style:{objectPosition:T},"data-object-fit":"cover","data-object-position":T}),(0,fe.jsx)("div",{...Ne.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})})]})}},w5e={attributes:Pb,supports:Xh,save({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:o,customGradient:a,customOverlayColor:i,dimRatio:l,focalPoint:s,useFeaturedImage:c,hasParallax:u,isDark:p,isRepeated:m,overlayColor:d,url:f,alt:h,id:g,minHeight:v,minHeightUnit:b}=e,_=(0,Ne.getColorClassName)("background-color",d),k=(0,Ne.__experimentalGetGradientClass)(r),x=v&&b?`${v}${b}`:v,w=Yt===t,C=Er===t,P=!(u||m),B={minHeight:x||void 0},I={backgroundColor:_?void 0:i,background:a||void 0},D=s&&P?on(s):void 0,T=f?`url(${f})`:void 0,L=on(s),R=S({"is-light":!p,"has-parallax":u,"is-repeated":m,"has-custom-content-position":!ua(o)},Ha(o)),z=S("wp-block-cover__image-background",g?`wp-image-${g}`:null,{"has-parallax":u,"is-repeated":m}),j=r||a;return(0,fe.jsxs)("div",{...Ne.useBlockProps.save({className:R,style:B}),children:[(0,fe.jsx)("span",{"aria-hidden":"true",className:S("wp-block-cover__background",_,vl(l),{"has-background-dim":l!==void 0,"wp-block-cover__gradient-background":f&&j&&l!==0,"has-background-gradient":j,[k]:k}),style:I}),!c&&w&&f&&(P?(0,fe.jsx)("img",{className:z,alt:h,src:f,style:{objectPosition:D},"data-object-fit":"cover","data-object-position":D}):(0,fe.jsx)("div",{role:"img",className:z,style:{backgroundPosition:L,backgroundImage:T}})),C&&f&&(0,fe.jsx)("video",{className:S("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:f,style:{objectPosition:D},"data-object-fit":"cover","data-object-position":D}),(0,fe.jsx)("div",{...Ne.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})})]})},migrate:Lp},C5e={attributes:Pb,supports:Xh,save({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:o,customGradient:a,customOverlayColor:i,dimRatio:l,focalPoint:s,useFeaturedImage:c,hasParallax:u,isDark:p,isRepeated:m,overlayColor:d,url:f,alt:h,id:g,minHeight:v,minHeightUnit:b}=e,_=(0,Ne.getColorClassName)("background-color",d),k=(0,Ne.__experimentalGetGradientClass)(r),x=v&&b?`${v}${b}`:v,w=Yt===t,C=Er===t,P=!(u||m),B={...w&&!P&&!c?lc(f):{},minHeight:x||void 0},I={backgroundColor:_?void 0:i,background:a||void 0},D=s&&P?`${Math.round(s.x*100)}% ${Math.round(s.y*100)}%`:void 0,T=S({"is-light":!p,"has-parallax":u,"is-repeated":m,"has-custom-content-position":!ua(o)},Ha(o)),L=r||a;return(0,fe.jsxs)("div",{...Ne.useBlockProps.save({className:T,style:B}),children:[(0,fe.jsx)("span",{"aria-hidden":"true",className:S("wp-block-cover__background",_,vl(l),{"has-background-dim":l!==void 0,"wp-block-cover__gradient-background":f&&L&&l!==0,"has-background-gradient":L,[k]:k}),style:I}),!c&&w&&P&&f&&(0,fe.jsx)("img",{className:S("wp-block-cover__image-background",g?`wp-image-${g}`:null),alt:h,src:f,style:{objectPosition:D},"data-object-fit":"cover","data-object-position":D}),C&&f&&(0,fe.jsx)("video",{className:S("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:f,style:{objectPosition:D},"data-object-fit":"cover","data-object-position":D}),(0,fe.jsx)("div",{...Ne.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})})]})},migrate:Lp},S5e={attributes:Pb,supports:Xh,save({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:o,customGradient:a,customOverlayColor:i,dimRatio:l,focalPoint:s,hasParallax:c,isDark:u,isRepeated:p,overlayColor:m,url:d,alt:f,id:h,minHeight:g,minHeightUnit:v}=e,b=(0,Ne.getColorClassName)("background-color",m),_=(0,Ne.__experimentalGetGradientClass)(r),k=v?`${g}${v}`:g,x=Yt===t,w=Er===t,C=!(c||p),P={...x&&!C?lc(d):{},minHeight:k||void 0},B={backgroundColor:b?void 0:i,background:a||void 0},I=s&&C?`${Math.round(s.x*100)}% ${Math.round(s.y*100)}%`:void 0,D=S({"is-light":!u,"has-parallax":c,"is-repeated":p,"has-custom-content-position":!ua(o)},Ha(o)),T=r||a;return(0,fe.jsxs)("div",{...Ne.useBlockProps.save({className:D,style:P}),children:[(0,fe.jsx)("span",{"aria-hidden":"true",className:S("wp-block-cover__background",b,vl(l),{"has-background-dim":l!==void 0,"wp-block-cover__gradient-background":d&&T&&l!==0,"has-background-gradient":T,[_]:_}),style:B}),x&&C&&d&&(0,fe.jsx)("img",{className:S("wp-block-cover__image-background",h?`wp-image-${h}`:null),alt:f,src:d,style:{objectPosition:I},"data-object-fit":"cover","data-object-position":I}),w&&d&&(0,fe.jsx)("video",{className:S("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:d,style:{objectPosition:I},"data-object-fit":"cover","data-object-position":I}),(0,fe.jsx)("div",{...Ne.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})})]})},migrate:Lp},T5e={attributes:Pb,supports:Xh,save({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:o,customGradient:a,customOverlayColor:i,dimRatio:l,focalPoint:s,hasParallax:c,isDark:u,isRepeated:p,overlayColor:m,url:d,alt:f,id:h,minHeight:g,minHeightUnit:v}=e,b=(0,Ne.getColorClassName)("background-color",m),_=(0,Ne.__experimentalGetGradientClass)(r),k=v?`${g}${v}`:g,x=Yt===t,w=Er===t,C=!(c||p),P={...x&&!C?lc(d):{},minHeight:k||void 0},B={backgroundColor:b?void 0:i,background:a||void 0},I=s&&C?`${Math.round(s.x*100)}% ${Math.round(s.y*100)}%`:void 0,D=S({"is-light":!u,"has-parallax":c,"is-repeated":p,"has-custom-content-position":!ua(o)},Ha(o));return(0,fe.jsxs)("div",{...Ne.useBlockProps.save({className:D,style:P}),children:[(0,fe.jsx)("span",{"aria-hidden":"true",className:S(b,vl(l),"wp-block-cover__gradient-background",_,{"has-background-dim":l!==void 0,"has-background-gradient":r||a,[_]:!d&&_}),style:B}),x&&C&&d&&(0,fe.jsx)("img",{className:S("wp-block-cover__image-background",h?`wp-image-${h}`:null),alt:f,src:d,style:{objectPosition:I},"data-object-fit":"cover","data-object-position":I}),w&&d&&(0,fe.jsx)("video",{className:S("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:d,style:{objectPosition:I},"data-object-fit":"cover","data-object-position":I}),(0,fe.jsx)("div",{...Ne.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})})]})},migrate:Lp},P5e={attributes:{...Hd,isRepeated:{type:"boolean",default:!1},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""}},supports:Xh,save({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:o,customGradient:a,customOverlayColor:i,dimRatio:l,focalPoint:s,hasParallax:c,isRepeated:u,overlayColor:p,url:m,alt:d,id:f,minHeight:h,minHeightUnit:g}=e,v=(0,Ne.getColorClassName)("background-color",p),b=(0,Ne.__experimentalGetGradientClass)(r),_=g?`${h}${g}`:h,k=Yt===t,x=Er===t,w=!(c||u),C={...k&&!w?lc(m):{},backgroundColor:v?void 0:i,background:a&&!m?a:void 0,minHeight:_||void 0},P=s&&w?`${Math.round(s.x*100)}% ${Math.round(s.y*100)}%`:void 0,B=S(Fd(l),v,{"has-background-dim":l!==0,"has-parallax":c,"is-repeated":u,"has-background-gradient":r||a,[b]:!m&&b,"has-custom-content-position":!ua(o)},Ha(o));return(0,fe.jsxs)("div",{...Ne.useBlockProps.save({className:B,style:C}),children:[m&&(r||a)&&l!==0&&(0,fe.jsx)("span",{"aria-hidden":"true",className:S("wp-block-cover__gradient-background",b),style:a?{background:a}:void 0}),k&&w&&m&&(0,fe.jsx)("img",{className:S("wp-block-cover__image-background",f?`wp-image-${f}`:null),alt:d,src:m,style:{objectPosition:P},"data-object-fit":"cover","data-object-position":P}),x&&m&&(0,fe.jsx)("video",{className:S("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:m,style:{objectPosition:P},"data-object-fit":"cover","data-object-position":P}),(0,fe.jsx)("div",{className:"wp-block-cover__inner-container",children:(0,fe.jsx)(Ne.InnerBlocks.Content,{})})]})},migrate:(0,Tb.compose)(n3,Lp)},E5e={attributes:{...Hd,isRepeated:{type:"boolean",default:!1},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"}},supports:{align:!0},save({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:o,customGradient:a,customOverlayColor:i,dimRatio:l,focalPoint:s,hasParallax:c,isRepeated:u,overlayColor:p,url:m,minHeight:d,minHeightUnit:f}=e,h=(0,Ne.getColorClassName)("background-color",p),g=(0,Ne.__experimentalGetGradientClass)(r),v=f?`${d}${f}`:d,b=Yt===t,_=Er===t,k=b?lc(m):{},x={};h||(k.backgroundColor=i),a&&!m&&(k.background=a),k.minHeight=v||void 0;let w;s&&(w=`${Math.round(s.x*100)}% ${Math.round(s.y*100)}%`,b&&!c&&(k.backgroundPosition=w),_&&(x.objectPosition=w));let C=S(Fd(l),h,{"has-background-dim":l!==0,"has-parallax":c,"is-repeated":u,"has-background-gradient":r||a,[g]:!m&&g,"has-custom-content-position":!ua(o)},Ha(o));return(0,fe.jsxs)("div",{...Ne.useBlockProps.save({className:C,style:k}),children:[m&&(r||a)&&l!==0&&(0,fe.jsx)("span",{"aria-hidden":"true",className:S("wp-block-cover__gradient-background",g),style:a?{background:a}:void 0}),_&&m&&(0,fe.jsx)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:m,style:x}),(0,fe.jsx)("div",{className:"wp-block-cover__inner-container",children:(0,fe.jsx)(Ne.InnerBlocks.Content,{})})]})},migrate:(0,Tb.compose)(n3,Lp)},B5e={attributes:{...Hd,minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}},supports:{align:!0},save({attributes:e}){let{backgroundType:t,gradient:r,customGradient:o,customOverlayColor:a,dimRatio:i,focalPoint:l,hasParallax:s,overlayColor:c,url:u,minHeight:p}=e,m=(0,Ne.getColorClassName)("background-color",c),d=(0,Ne.__experimentalGetGradientClass)(r),f=t===Yt?lc(u):{};m||(f.backgroundColor=a),l&&!s&&(f.backgroundPosition=`${Math.round(l.x*100)}% ${Math.round(l.y*100)}%`),o&&!u&&(f.background=o),f.minHeight=p||void 0;let h=S(Fd(i),m,{"has-background-dim":i!==0,"has-parallax":s,"has-background-gradient":o,[d]:!u&&d});return(0,fe.jsxs)("div",{className:h,style:f,children:[u&&(r||o)&&i!==0&&(0,fe.jsx)("span",{"aria-hidden":"true",className:S("wp-block-cover__gradient-background",d),style:o?{background:o}:void 0}),Er===t&&u&&(0,fe.jsx)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),(0,fe.jsx)("div",{className:"wp-block-cover__inner-container",children:(0,fe.jsx)(Ne.InnerBlocks.Content,{})})]})},migrate:(0,Tb.compose)(n3,Lp)},N5e={attributes:{...Hd,minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}},supports:{align:!0},save({attributes:e}){let{backgroundType:t,gradient:r,customGradient:o,customOverlayColor:a,dimRatio:i,focalPoint:l,hasParallax:s,overlayColor:c,url:u,minHeight:p}=e,m=(0,Ne.getColorClassName)("background-color",c),d=(0,Ne.__experimentalGetGradientClass)(r),f=t===Yt?lc(u):{};m||(f.backgroundColor=a),l&&!s&&(f.backgroundPosition=`${l.x*100}% ${l.y*100}%`),o&&!u&&(f.background=o),f.minHeight=p||void 0;let h=S(Fd(i),m,{"has-background-dim":i!==0,"has-parallax":s,"has-background-gradient":o,[d]:!u&&d});return(0,fe.jsxs)("div",{className:h,style:f,children:[u&&(r||o)&&i!==0&&(0,fe.jsx)("span",{"aria-hidden":"true",className:S("wp-block-cover__gradient-background",d),style:o?{background:o}:void 0}),Er===t&&u&&(0,fe.jsx)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),(0,fe.jsx)("div",{className:"wp-block-cover__inner-container",children:(0,fe.jsx)(Ne.InnerBlocks.Content,{})})]})},migrate:(0,Tb.compose)(n3,Lp)},I5e={attributes:{...Hd,title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"}},supports:{align:!0},save({attributes:e}){let{backgroundType:t,contentAlign:r,customOverlayColor:o,dimRatio:a,focalPoint:i,hasParallax:l,overlayColor:s,title:c,url:u}=e,p=(0,Ne.getColorClassName)("background-color",s),m=t===Yt?lc(u):{};p||(m.backgroundColor=o),i&&!l&&(m.backgroundPosition=`${i.x*100}% ${i.y*100}%`);let d=S(Fd(a),p,{"has-background-dim":a!==0,"has-parallax":l,[`has-${r}-content`]:r!=="center"});return(0,fe.jsxs)("div",{className:d,style:m,children:[Er===t&&u&&(0,fe.jsx)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),!Ne.RichText.isEmpty(c)&&(0,fe.jsx)(Ne.RichText.Content,{tagName:"p",className:"wp-block-cover-text",value:c})]})},migrate(e){let t={...e,dimRatio:e.url?e.dimRatio:100,tagName:e.tagName?e.tagName:"div"},{title:r,contentAlign:o,...a}=t;return[a,[(0,r3.createBlock)("core/paragraph",{content:e.title,style:{typography:{textAlign:e.contentAlign}},fontSize:"large",placeholder:(0,o3.__)("Write title\u2026")})]]}},D5e={attributes:{...Hd,title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},align:{type:"string"}},supports:{className:!1},save({attributes:e}){let{url:t,title:r,hasParallax:o,dimRatio:a,align:i,contentAlign:l,overlayColor:s,customOverlayColor:c}=e,u=(0,Ne.getColorClassName)("background-color",s),p=lc(t);u||(p.backgroundColor=c);let m=S("wp-block-cover-image",Fd(a),u,{"has-background-dim":a!==0,"has-parallax":o,[`has-${l}-content`]:l!=="center"},i?`align${i}`:null);return(0,fe.jsx)("div",{className:m,style:p,children:!Ne.RichText.isEmpty(r)&&(0,fe.jsx)(Ne.RichText.Content,{tagName:"p",className:"wp-block-cover-image-text",value:r})})},migrate(e){let t={...e,dimRatio:e.url?e.dimRatio:100,tagName:e.tagName?e.tagName:"div"},{title:r,contentAlign:o,align:a,...i}=t;return[i,[(0,r3.createBlock)("core/paragraph",{content:e.title,style:{typography:{textAlign:e.contentAlign}},fontSize:"large",placeholder:(0,o3.__)("Write title\u2026")})]]}},L5e={attributes:{...Hd,title:{type:"string",source:"html",selector:"h2"},align:{type:"string"},contentAlign:{type:"string",default:"center"}},supports:{className:!1},save({attributes:e}){let{url:t,title:r,hasParallax:o,dimRatio:a,align:i}=e,l=lc(t),s=S("wp-block-cover-image",Fd(a),{"has-background-dim":a!==0,"has-parallax":o},i?`align${i}`:null);return(0,fe.jsx)("section",{className:s,style:l,children:(0,fe.jsx)(Ne.RichText.Content,{tagName:"h2",value:r})})},migrate(e){let t={...e,dimRatio:e.url?e.dimRatio:100,tagName:e.tagName?e.tagName:"div"},{title:r,contentAlign:o,align:a,...i}=t;return[i,[(0,r3.createBlock)("core/paragraph",{content:e.title,style:{typography:{textAlign:e.contentAlign}},fontSize:"large",placeholder:(0,o3.__)("Write title\u2026")})]]}},yZ=[_5e,x5e,k5e,w5e,C5e,S5e,T5e,P5e,E5e,B5e,N5e,I5e,D5e,L5e];var Ib=n(re(),1),Dn=n(H(),1),Wd=n(O(),1),g3=n(ve(),1),Kr=n(E(),1),ML=n(N(),1),xu=n(F(),1),mK=n(Ar(),1),dK=n(Sr(),1);var EZ=n(H(),1),lr=n(O(),1),BZ=n(ve(),1),nn=n(E(),1),wo=n(N(),1),CL=n(F(),1),NZ=n(re(),1);var _Z=n(E(),1);var{cleanEmptyObject:a3,getStyleForState:R5e,setStyleForState:xZ}=U(_Z.privateApis);function wL(e,t){return R5e(e,t)||{}}function A5e(e,t={}){return Object.fromEntries(Object.entries(e).map(([r,o])=>[t[r]||r,o]))}function M5e(e,t){return t?Object.fromEntries(t.map(r=>[r,e[r]])):e}function Jh(e){return[e?.viewport||"default",e?.pseudo||"default"].join(":")}function z5e(e,t){return wL(e,t)?.dimensions||{}}function wi(e={}){let{attributes:t={},style:r=t?.style,selectedState:o,hasSelectedStyleState:a,attributeKey:i,styleKey:l=i,rootValue:s}=e;return a?z5e(r,o)?.[l]:Object.hasOwn(e,"rootValue")?s:t?.[i]}function V5e(e,t,r){let o=wL(e,t);return xZ(e,t,a3({...o,dimensions:a3({...o?.dimensions,...r})}))}function eg({style:e,selectedState:t,hasSelectedStyleState:r,nextDimensions:o,dimensionKeyMap:a,dimensionKeys:i}){let l=M5e(o,i);return r?{style:V5e(e,t,A5e(l,a))}:l}function kZ(e,t){let r=Object.fromEntries(t.map(o=>[o,void 0]));return a3({...e,dimensions:a3({...e?.dimensions,...r})})}function O5e(e,t,r){return xZ(e,t,kZ(wL(e,t),r))}function tg({attributes:e={},style:t=e?.style,selectedState:r,hasSelectedStyleState:o,keys:a,defaultAttributes:i={}}){return{...o?{}:{...e,...i},style:o?O5e(t,r,a):kZ(t,a)}}var jd="full";var rg=n(E(),1),CZ=n(Sr(),1),pa=n(O(),1),SZ=n(Ar(),1),Ci=n(N(),1),i3=n(H(),1),TZ=n(ve(),1),l3=n(F(),1),In=n(y(),1),wZ=["image"];function PZ({poster:e,onChange:t}){let r=(0,i3.useRef)(),[o,a]=(0,i3.useState)(!1),i=(0,TZ.useInstanceId)(PZ,"block-library-poster-image-description"),{getSettings:l}=(0,l3.useSelect)(rg.store),{createErrorNotice:s}=(0,l3.useDispatch)(CZ.store),c=p=>{l().mediaUpload({allowedTypes:wZ,filesList:p,onFileChange:([m])=>{if((0,SZ.isBlobURL)(m?.url)){a(!0);return}m&&t(m),a(!1)},onError:m=>{s(m,{id:"poster-image-upload-notice",type:"snackbar"}),a(!1)},multiple:!1})},u=()=>!e&&o?(0,In.jsx)(pa.Spinner,{}):e?(0,Ci.__)("Replace"):(0,Ci.__)("Set poster image");return(0,In.jsx)(rg.MediaUploadCheck,{children:(0,In.jsxs)(pa.__experimentalToolsPanelItem,{label:(0,Ci.__)("Poster image"),isShownByDefault:!0,hasValue:()=>!!e,onDeselect:()=>t(void 0),children:[(0,In.jsx)(pa.BaseControl.VisualLabel,{children:(0,Ci.__)("Poster image")}),(0,In.jsx)(rg.MediaUpload,{title:(0,Ci.__)("Select poster image"),onSelect:t,allowedTypes:wZ,render:({open:p})=>(0,In.jsxs)("div",{className:"block-library-poster-image__container",children:[e&&(0,In.jsxs)(pa.Button,{__next40pxDefaultSize:!0,onClick:p,"aria-haspopup":"dialog","aria-label":(0,Ci.__)("Edit or replace the poster image."),className:"block-library-poster-image__preview",disabled:o,accessibleWhenDisabled:!0,children:[(0,In.jsx)("img",{src:e,alt:(0,Ci.__)("Poster image preview"),className:"block-library-poster-image__preview-image"}),o&&(0,In.jsx)(pa.Spinner,{})]}),(0,In.jsxs)(pa.__experimentalHStack,{className:S("block-library-poster-image__actions",{"block-library-poster-image__actions-select":!e}),children:[(0,In.jsx)(pa.Button,{__next40pxDefaultSize:!0,onClick:p,ref:r,className:"block-library-poster-image__action","aria-describedby":i,"aria-haspopup":"dialog",variant:e?void 0:"secondary",disabled:o,accessibleWhenDisabled:!0,children:u()}),(0,In.jsx)("p",{id:i,hidden:!0,children:e?(0,Ci.sprintf)((0,Ci.__)("The current poster image url is %s."),e):(0,Ci.__)("There is no poster image currently selected.")}),!!e&&(0,In.jsx)(pa.Button,{__next40pxDefaultSize:!0,onClick:()=>{t(void 0),r.current.focus()},className:"block-library-poster-image__action",disabled:o,accessibleWhenDisabled:!0,children:(0,Ci.__)("Remove")})]}),(0,In.jsx)(pa.DropZone,{onFilesDrop:c})]})})]})})}var s3=PZ;var _t=n(y(),1),{cleanEmptyObject:F5e,isDefaultBlockStyleState:H5e,ResolutionTool:j5e,HTMLElementControl:U5e}=U(nn.privateApis);function G5e({onChange:e,onUnitChange:t,unit:r="px",value:o=""}){let i=`block-cover-height-input-${(0,BZ.useInstanceId)(lr.__experimentalUnitControl)}`,l=r==="px",[s]=(0,nn.useSettings)("spacing.units"),c=(0,lr.__experimentalUseCustomUnits)({availableUnits:s||["px","em","rem","vw","vh"],defaultValues:{px:430,"%":20,em:20,rem:20,vw:20,vh:50}}),u=d=>{let f=d!==""?parseFloat(d):void 0;isNaN(f)&&f!==void 0||e(f)},p=(0,EZ.useMemo)(()=>{let[d]=(0,lr.__experimentalParseQuantityAndUnitFromRawValue)(o);return[d,r].join("")},[r,o]),m=l?vZ:0;return(0,_t.jsx)(lr.__experimentalUnitControl,{label:(0,wo.__)("Minimum height"),id:i,isResetValueOnUnitChange:!0,min:m,onChange:u,onUnitChange:t,units:c,value:p})}function IZ({attributes:e,setAttributes:t,clientId:r,setOverlayColor:o,coverRef:a,currentSettings:i,updateDimRatio:l,featuredImage:s}){let{useFeaturedImage:c,id:u,dimRatio:p,focalPoint:m,hasParallax:d,isRepeated:f,minHeight:h,minHeightUnit:g,alt:v,tagName:b,poster:_}=e,{isVideoBackground:k,isImageBackground:x,mediaElement:w,url:C,overlayColor:P}=i,B=e.sizeSlug||jd,{gradientValue:I,setGradient:D}=(0,nn.__experimentalUseGradient)(),{imageSizes:T,selectedStyleState:L}=(0,CL.useSelect)(le=>{let{getSettings:Pe,getSelectedBlockStyleState:Ee}=U(le(nn.store));return{imageSizes:Pe()?.imageSizes,selectedStyleState:Ee(r)}},[r]),R=!H5e(L),z=Jh(L),j=wi({attributes:e,selectedState:L,hasSelectedStyleState:R,attributeKey:"minHeight",styleKey:"minHeight",rootValue:void 0}),[G,W]=(0,lr.__experimentalParseQuantityAndUnitFromRawValue)(j||""),$=R?G:h,V=R&&W||g,Q=wi({attributes:e,selectedState:L,hasSelectedStyleState:R,attributeKey:"aspectRatio",rootValue:e?.style?.dimensions?.aspectRatio}),Y=(0,CL.useSelect)(le=>u&&x?le(NZ.store).getEntityRecord("postType","attachment",u,{context:"view"}):null,[u,x]),ee=c?s:Y;function te(le){let Pe=ee?.media_details?.sizes?.[le]?.source_url;if(!Pe)return null;t({url:Pe,sizeSlug:le})}let ae=T?.filter(({slug:le})=>ee?.media_details?.sizes?.[le]?.source_url)?.map(({name:le,slug:Pe})=>({value:Pe,label:le})),J=()=>{t({hasParallax:!d,...d?{}:{focalPoint:void 0}})},ce=()=>{t({isRepeated:!f})},ie=k||x,we=le=>{let[Pe,Ee]=w.current?[w.current.style,"objectPosition"]:[a.current.style,"backgroundPosition"];Pe[Ee]=on(le)},se=(0,nn.__experimentalUseMultipleOriginColorsAndGradients)(),de=se.hasColorsOrGradients&&!R,_e=(le,Pe)=>{if(R){t(eg({style:e.style,selectedState:L,hasSelectedStyleState:R,nextDimensions:{minHeight:le===void 0?void 0:`${le}${Pe||V||"px"}`,aspectRatio:void 0}}));return}t({minHeight:le,style:F5e({...e?.style,dimensions:{...e?.style?.dimensions,aspectRatio:void 0}})})},oe=(le=e)=>tg({style:le.style,selectedState:L,hasSelectedStyleState:R,keys:["minHeight"],defaultAttributes:{minHeight:void 0,minHeightUnit:void 0}}),pe=Z();return(0,_t.jsxs)(_t.Fragment,{children:[(!!C||c)&&(0,_t.jsx)(nn.InspectorControls,{children:(0,_t.jsxs)(lr.__experimentalToolsPanel,{label:(0,wo.__)("Settings"),resetAll:()=>{t({hasParallax:!1,focalPoint:void 0,isRepeated:!1,alt:"",poster:void 0}),te(jd)},dropdownMenuProps:pe,children:[x&&(0,_t.jsxs)(_t.Fragment,{children:[(0,_t.jsx)(lr.__experimentalToolsPanelItem,{label:(0,wo.__)("Fixed background"),isShownByDefault:!0,hasValue:()=>!!d,onDeselect:()=>t({hasParallax:!1,focalPoint:void 0}),children:(0,_t.jsx)(lr.ToggleControl,{label:(0,wo.__)("Fixed background"),checked:!!d,onChange:J})}),(0,_t.jsx)(lr.__experimentalToolsPanelItem,{label:(0,wo.__)("Repeated background"),isShownByDefault:!0,hasValue:()=>f,onDeselect:()=>t({isRepeated:!1}),children:(0,_t.jsx)(lr.ToggleControl,{label:(0,wo.__)("Repeated background"),checked:f,onChange:ce})})]}),ie&&(0,_t.jsx)(lr.__experimentalToolsPanelItem,{label:(0,wo.__)("Focal point"),isShownByDefault:!0,hasValue:()=>!!m,onDeselect:()=>t({focalPoint:void 0}),children:(0,_t.jsx)(lr.FocalPointPicker,{label:(0,wo.__)("Focal point"),url:C,value:m,onDragStart:we,onDrag:we,onChange:le=>t({focalPoint:le})})}),k&&(0,_t.jsx)(s3,{poster:_,onChange:le=>t({poster:le?.url})}),!c&&C&&!k&&(0,_t.jsx)(lr.__experimentalToolsPanelItem,{label:(0,wo.__)("Alternative text"),isShownByDefault:!0,hasValue:()=>!!v,onDeselect:()=>t({alt:""}),children:(0,_t.jsx)(lr.TextareaControl,{label:(0,wo.__)("Alternative text"),value:v,onChange:le=>t({alt:le}),help:(0,_t.jsxs)(_t.Fragment,{children:[(0,_t.jsx)(mu,{openInNewTab:!0,href:(0,wo.__)("https://www.w3.org/WAI/tutorials/images/decision-tree/"),children:(0,wo.__)("Describe the purpose of the image.")}),(0,_t.jsx)("br",{}),(0,wo.__)("Leave empty if decorative.")]})})}),!!ae?.length&&(0,_t.jsx)(j5e,{value:B,onChange:te,options:ae,defaultValue:jd})]})}),de&&(0,_t.jsxs)(nn.InspectorControls,{group:"color",children:[(0,_t.jsx)(nn.__experimentalColorGradientSettingsDropdown,{__experimentalIsRenderedInSidebar:!0,settings:[{colorValue:P.color,gradientValue:I,label:(0,wo.__)("Overlay"),onColorChange:o,onGradientChange:D,isShownByDefault:!0,resetAllFilter:()=>({overlayColor:void 0,customOverlayColor:void 0,gradient:void 0,customGradient:void 0}),clearable:!0}],panelId:r,...se}),(0,_t.jsx)(lr.__experimentalToolsPanelItem,{hasValue:()=>p===void 0?!1:p!==(C?50:100),label:(0,wo.__)("Overlay opacity"),onDeselect:()=>l(C?50:100),resetAllFilter:()=>({dimRatio:C?50:100}),isShownByDefault:!0,panelId:r,children:(0,_t.jsx)(lr.RangeControl,{label:(0,wo.__)("Overlay opacity"),value:p,onChange:le=>l(le),min:0,max:100,step:10,required:!0})})]}),(0,_t.jsx)(nn.InspectorControls,{group:"dimensions",children:(0,_t.jsx)(lr.__experimentalToolsPanelItem,{className:"single-column",hasValue:()=>!!$,label:(0,wo.__)("Minimum height"),onDeselect:()=>t(oe()),resetAllFilter:oe,isShownByDefault:!0,panelId:r,children:(0,_t.jsx)(G5e,{value:Q?"":$,unit:V,onChange:le=>_e(le),onUnitChange:le=>{if(R){$!==void 0&&_e($,le);return}t({minHeightUnit:le})}})},z)}),(0,_t.jsx)(nn.InspectorControls,{group:"advanced",children:(0,_t.jsx)(U5e,{tagName:b,onChange:le=>t({tagName:le}),clientId:r,options:[{label:(0,wo.__)("Default (<div>)"),value:"div"},{label:"<header>",value:"header"},{label:"<main>",value:"main"},{label:"<section>",value:"section"},{label:"<article>",value:"article"},{label:"<aside>",value:"aside"},{label:"<footer>",value:"footer"}]})})]})}var c3=n(H(),1),ms=n(E(),1),ag=n(N(),1),u3=n(O(),1);var SL=n(H(),1),ng=n(O(),1),Ud=n(N(),1);var DZ=n(q(),1);var W5e="core/embed",LZ=["youtube","vimeo","videopress","animoto","tiktok","wordpress-tv"];function RZ(e){return Array.isArray(e)?LZ.filter(t=>e.includes(t)):[]}function AZ(e,t){return e?$5e(e,t)!==null:!1}function $5e(e,t=LZ){let r=(0,DZ.getBlockVariations)(W5e);if(!r)return null;let o=r.find(({patterns:a})=>EI(e,a));return!o||!t.includes(o.name)?null:o}function MZ(e){let t=e?.match(/src=["']([^"']+)["']/);if(!t)return null;let r=t[1],o=Z5e(r);return e.replace(r,o)}function q5e(e){if(!e)return null;let t=e.toLowerCase();return t.includes("youtube.com")||t.includes("youtu.be")?"youtube":t.includes("vimeo.com")?"vimeo":t.includes("videopress.com")?"videopress":t.includes("animoto.com")?"animoto":t.includes("tiktok.com")?"tiktok":t.includes("wordpress.tv")?"wordpress-tv":null}function Z5e(e){if(!e)return e;try{let t=new URL(e);switch(q5e(e)){case"youtube":t.searchParams.set("autoplay","1"),t.searchParams.set("mute","1"),t.searchParams.set("loop","1"),t.searchParams.set("controls","0"),t.searchParams.set("showinfo","0"),t.searchParams.set("modestbranding","1"),t.searchParams.set("playsinline","1"),t.searchParams.set("rel","0");let o=t.pathname.split("/").pop();o&&t.searchParams.set("playlist",o);break;case"vimeo":t.searchParams.set("autoplay","1"),t.searchParams.set("muted","1"),t.searchParams.set("loop","1"),t.searchParams.set("background","1"),t.searchParams.set("controls","0");break;case"videopress":case"wordpress-tv":t.searchParams.set("autoplay","1"),t.searchParams.set("loop","1"),t.searchParams.set("muted","1");break;default:t.searchParams.set("autoplay","1"),t.searchParams.set("muted","1"),t.searchParams.set("loop","1");break}return t.toString()}catch{return e}}var og=n(y(),1);function zZ({onSubmit:e,onClose:t,initialUrl:r="",allowedVideoProviders:o}){let[a,i]=(0,SL.useState)(r),[l,s]=(0,SL.useState)("");return(0,og.jsx)(ng.__experimentalConfirmDialog,{isOpen:!0,onConfirm:()=>{if(!a){s((0,Ud.__)("Please enter a URL."));return}if(!AZ(a,o)){s((0,Ud.__)("This URL is not supported. Please enter a valid video link from a supported provider."));return}e(a),t()},onCancel:t,confirmButtonText:(0,Ud.__)("Add video"),size:"medium",children:(0,og.jsxs)(kp,{direction:"column",gap:"lg",children:[l&&(0,og.jsx)(ng.Notice,{status:"error",isDismissible:!1,children:l}),(0,og.jsx)(ng.TextControl,{type:"url",label:(0,Ud.__)("Video URL"),value:a,onChange:u=>{i(u),s("")},placeholder:(0,Ud.__)("Enter YouTube, Vimeo, or other video URL"),help:(0,Ud.__)("Add a background video to the cover block that will autoplay in a loop.")})]})})}var Si=n(y(),1),{cleanEmptyObject:K5e}=U(ms.privateApis);function VZ({attributes:e,setAttributes:t,onSelectMedia:r,currentSettings:o,toggleUseFeaturedImage:a,onClearMedia:i,onSelectEmbedUrl:l,onEditMedia:s,editMediaButtonRef:c,showEditMediaButton:u,isEditMediaDisabled:p,blockEditingMode:m}){let{contentPosition:d,id:f,useFeaturedImage:h,minHeight:g,minHeightUnit:v,backgroundType:b,allowedVideoProviders:_}=e,{hasInnerBlocks:k,url:x}=o,w=RZ(_),C=w.length>0,[P,B]=(0,c3.useState)(g),[I,D]=(0,c3.useState)(v),[T,L]=(0,c3.useState)(!1),R=v==="vh"&&g===100&&!e?.style?.dimensions?.aspectRatio,z=m==="contentOnly",j=()=>R?t(I==="vh"&&P===100?{minHeight:void 0,minHeightUnit:void 0}:{minHeight:P,minHeightUnit:I}):(B(g),D(v),t({minHeight:100,minHeightUnit:"vh",style:K5e({...e?.style,dimensions:{...e?.style?.dimensions,aspectRatio:void 0}})}));return(0,Si.jsxs)(Si.Fragment,{children:[!z&&(0,Si.jsxs)(ms.BlockControls,{group:"block",children:[(0,Si.jsx)(ms.__experimentalBlockAlignmentMatrixControl,{label:(0,ag.__)("Change content position"),value:d,onChange:G=>t({contentPosition:G}),isDisabled:!k}),(0,Si.jsx)(ms.__experimentalBlockFullHeightAligmentControl,{isActive:R,onToggle:j,isDisabled:!k}),u&&(0,Si.jsx)(u3.ToolbarButton,{ref:c,icon:rd,label:(0,ag.__)("Crop background image"),onClick:s,"aria-haspopup":"dialog",disabled:p})]}),(0,Si.jsx)(ms.BlockControls,{group:"other",children:(0,Si.jsx)(ms.MediaReplaceFlow,{mediaId:f,mediaURL:x,allowedTypes:t3,onSelect:r,onToggleFeaturedImage:a,useFeaturedImage:h,name:x?(0,ag.__)("Replace"):(0,ag.__)("Add media"),onReset:i,variant:"toolbar",children:({onClose:G})=>C?(0,Si.jsx)(u3.MenuItem,{icon:di,onClick:()=>{L(!0),G()},children:(0,ag.__)("Embed video from URL")}):null})}),T&&(0,Si.jsx)(zZ,{onSubmit:G=>{l(G)},onClose:()=>L(!1),initialUrl:b===bu?x:"",allowedVideoProviders:w})]})}var p3=n(E(),1),OZ=n(N(),1);var FZ=n(Ar(),1);var TL=n(y(),1);function PL({disableMediaButtons:e=!1,children:t,onSelectMedia:r,onError:o,style:a,toggleUseFeaturedImage:i}){let l=s=>{s.length===1&&r({url:(0,FZ.createBlobURL)(s[0])})};return(0,TL.jsx)(p3.MediaPlaceholder,{icon:(0,TL.jsx)(p3.BlockIcon,{icon:td}),labels:{title:(0,OZ.__)("Cover")},onSelect:r,allowedTypes:t3,disableMediaButtons:e,onToggleFeaturedImage:i,onFilesPreUpload:l,onError:o,style:a,children:t})}var HZ=n(H(),1),jZ=n(E(),1);var UZ=n(y(),1),Y5e={top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},{ResizableBoxPopover:Q5e}=U(jZ.privateApis);function EL({className:e,height:t,minHeight:r,onResize:o,onResizeStart:a,onResizeStop:i,showHandle:l,size:s,width:c,...u}){let[p,m]=(0,HZ.useState)(!1),d={className:S(e,{"is-resizing":p}),enable:Y5e,onResizeStart:(f,h,g)=>{a(g.clientHeight),o(g.clientHeight)},onResize:(f,h,g)=>{o(g.clientHeight),p||m(!0)},onResizeStop:(f,h,g)=>{i(g.clientHeight),m(!1)},showHandle:l,size:s,__experimentalShowTooltip:!0,__experimentalTooltipProps:{axis:"y",position:"bottom",isVisible:p}};return(0,UZ.jsx)(Q5e,{className:"block-library-cover__resizable-box-popover",resizableBoxProps:d,...u})}var X5e={grad:.9,turn:360,rad:360/(2*Math.PI)},yu=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Mo=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},bl=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},QZ=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},GZ=function(e){return{r:bl(e.r,0,255),g:bl(e.g,0,255),b:bl(e.b,0,255),a:bl(e.a)}},BL=function(e){return{r:Mo(e.r),g:Mo(e.g),b:Mo(e.b),a:Mo(e.a,3)}},J5e=/^#([0-9a-f]{3,8})$/i,m3=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},XZ=function(e){var t=e.r,r=e.g,o=e.b,a=e.a,i=Math.max(t,r,o),l=i-Math.min(t,r,o),s=l?i===t?(r-o)/l:i===r?2+(o-t)/l:4+(t-r)/l:0;return{h:60*(s<0?s+6:s),s:i?l/i*100:0,v:i/255*100,a}},JZ=function(e){var t=e.h,r=e.s,o=e.v,a=e.a;t=t/360*6,r/=100,o/=100;var i=Math.floor(t),l=o*(1-r),s=o*(1-(t-i)*r),c=o*(1-(1-t+i)*r),u=i%6;return{r:255*[o,s,l,l,c,o][u],g:255*[c,o,o,s,l,l][u],b:255*[l,l,c,o,o,s][u],a}},WZ=function(e){return{h:QZ(e.h),s:bl(e.s,0,100),l:bl(e.l,0,100),a:bl(e.a)}},$Z=function(e){return{h:Mo(e.h),s:Mo(e.s),l:Mo(e.l),a:Mo(e.a,3)}},qZ=function(e){return JZ((r=(t=e).s,{h:t.h,s:(r*=((o=t.l)<50?o:100-o)/100)>0?2*r/(o+r)*100:0,v:o+r,a:t.a}));var t,r,o},Eb=function(e){return{h:(t=XZ(e)).h,s:(a=(200-(r=t.s))*(o=t.v)/100)>0&&a<200?r*o/100/(a<=100?a:200-a)*100:0,l:a/2,a:t.a};var t,r,o,a},ewe=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,twe=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,rwe=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,owe=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,DL={string:[[function(e){var t=J5e.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Mo(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?Mo(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=rwe.exec(e)||owe.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:GZ({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=ewe.exec(e)||twe.exec(e);if(!t)return null;var r,o,a=WZ({h:(r=t[1],o=t[2],o===void 0&&(o="deg"),Number(r)*(X5e[o]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return qZ(a)},"hsl"]],object:[[function(e){var t=e.r,r=e.g,o=e.b,a=e.a,i=a===void 0?1:a;return yu(t)&&yu(r)&&yu(o)?GZ({r:Number(t),g:Number(r),b:Number(o),a:Number(i)}):null},"rgb"],[function(e){var t=e.h,r=e.s,o=e.l,a=e.a,i=a===void 0?1:a;if(!yu(t)||!yu(r)||!yu(o))return null;var l=WZ({h:Number(t),s:Number(r),l:Number(o),a:Number(i)});return qZ(l)},"hsl"],[function(e){var t=e.h,r=e.s,o=e.v,a=e.a,i=a===void 0?1:a;if(!yu(t)||!yu(r)||!yu(o))return null;var l=(function(s){return{h:QZ(s.h),s:bl(s.s,0,100),v:bl(s.v,0,100),a:bl(s.a)}})({h:Number(t),s:Number(r),v:Number(o),a:Number(i)});return JZ(l)},"hsv"]]},ZZ=function(e,t){for(var r=0;r<t.length;r++){var o=t[r][0](e);if(o)return[o,t[r][1]]}return[null,void 0]},nwe=function(e){return typeof e=="string"?ZZ(e.trim(),DL.string):typeof e=="object"&&e!==null?ZZ(e,DL.object):[null,void 0]};var NL=function(e,t){var r=Eb(e);return{h:r.h,s:bl(r.s+100*t,0,100),l:r.l,a:r.a}},IL=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},KZ=function(e,t){var r=Eb(e);return{h:r.h,s:r.s,l:bl(r.l+100*t,0,100),a:r.a}},LL=(function(){function e(t){this.parsed=nwe(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return this.parsed!==null},e.prototype.brightness=function(){return Mo(IL(this.rgba),2)},e.prototype.isDark=function(){return IL(this.rgba)<.5},e.prototype.isLight=function(){return IL(this.rgba)>=.5},e.prototype.toHex=function(){return t=BL(this.rgba),r=t.r,o=t.g,a=t.b,l=(i=t.a)<1?m3(Mo(255*i)):"","#"+m3(r)+m3(o)+m3(a)+l;var t,r,o,a,i,l},e.prototype.toRgb=function(){return BL(this.rgba)},e.prototype.toRgbString=function(){return t=BL(this.rgba),r=t.r,o=t.g,a=t.b,(i=t.a)<1?"rgba("+r+", "+o+", "+a+", "+i+")":"rgb("+r+", "+o+", "+a+")";var t,r,o,a,i},e.prototype.toHsl=function(){return $Z(Eb(this.rgba))},e.prototype.toHslString=function(){return t=$Z(Eb(this.rgba)),r=t.h,o=t.s,a=t.l,(i=t.a)<1?"hsla("+r+", "+o+"%, "+a+"%, "+i+")":"hsl("+r+", "+o+"%, "+a+"%)";var t,r,o,a,i},e.prototype.toHsv=function(){return t=XZ(this.rgba),{h:Mo(t.h),s:Mo(t.s),v:Mo(t.v),a:Mo(t.a,3)};var t},e.prototype.invert=function(){return Br({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&&(t=.1),Br(NL(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),Br(NL(this.rgba,-t))},e.prototype.grayscale=function(){return Br(NL(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),Br(KZ(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),Br(KZ(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&&(t=15),this.hue(this.hue()+t)},e.prototype.alpha=function(t){return typeof t=="number"?Br({r:(r=this.rgba).r,g:r.g,b:r.b,a:t}):Mo(this.rgba.a,3);var r},e.prototype.hue=function(t){var r=Eb(this.rgba);return typeof t=="number"?Br({h:t,s:r.s,l:r.l,a:r.a}):Mo(r.h)},e.prototype.isEqual=function(t){return this.toHex()===Br(t).toHex()},e})(),Br=function(e){return e instanceof LL?e:new LL(e)},YZ=[],eK=function(e){e.forEach(function(t){YZ.indexOf(t)<0&&(t(LL,DL),YZ.push(t))})};function tK(e,t){var r={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},o={};for(var a in r)o[r[a]]=a;var i={};e.prototype.toName=function(l){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var s,c,u=o[this.toHex()];if(u)return u;if(l?.closest){var p=this.toRgb(),m=1/0,d="black";if(!i.length)for(var f in r)i[f]=new e(r[f]).toRgb();for(var h in r){var g=(s=p,c=i[h],Math.pow(s.r-c.r,2)+Math.pow(s.g-c.g,2)+Math.pow(s.b-c.b,2));g<m&&(m=g,d=h)}return d}},t.string.push([function(l){var s=l.toLowerCase(),c=s==="transparent"?"#0000":r[s];return c?new e(c).toRgb():null},"name"])}function awe(e){var t=e.toString(16);return t.length===1?"0"+t:t}function rK(e){return"#"+e.map(awe).join("")}function iwe(e){var t=(e[0]*299+e[1]*587+e[2]*114)/1e3;return t<128}function lwe(e){return e?swe(e)?e:[e]:[]}function swe(e){return Array.isArray(e[0])}function AL(e,t,r){for(var o=0;o<r.length;o++)if(cwe(e,t,r[o]))return!0;return!1}function cwe(e,t,r){switch(r.length){case 3:if(uwe(e,t,r))return!0;break;case 4:if(pwe(e,t,r))return!0;break;case 5:if(mwe(e,t,r))return!0;break;default:return!1}}function uwe(e,t,r){return e[t+3]!==255||e[t]===r[0]&&e[t+1]===r[1]&&e[t+2]===r[2]}function pwe(e,t,r){return e[t+3]&&r[3]?e[t]===r[0]&&e[t+1]===r[1]&&e[t+2]===r[2]&&e[t+3]===r[3]:e[t+3]===r[3]}function d3(e,t,r){return e>=t-r&&e<=t+r}function mwe(e,t,r){var o=r[0],a=r[1],i=r[2],l=r[3],s=r[4],c=e[t+3],u=d3(c,l,s);return l?!!(!c&&u||d3(e[t],o,s)&&d3(e[t+1],a,s)&&d3(e[t+2],i,s)&&u):u}function dwe(e,t,r){for(var o={},a=24,i=r.ignoredColor,l=r.step,s=[0,0,0,0,0],c=0;c<t;c+=l){var u=e[c],p=e[c+1],m=e[c+2],d=e[c+3];if(!(i&&AL(e,c,i))){var f=Math.round(u/a)+","+Math.round(p/a)+","+Math.round(m/a);o[f]?o[f]=[o[f][0]+u*d,o[f][1]+p*d,o[f][2]+m*d,o[f][3]+d,o[f][4]+1]:o[f]=[u*d,p*d,m*d,d,1],s[4]<o[f][4]&&(s=o[f])}}var h=s[0],g=s[1],v=s[2],b=s[3],_=s[4];return b?[Math.round(h/b),Math.round(g/b),Math.round(v/b),Math.round(b/_)]:r.defaultColor}function fwe(e,t,r){for(var o=0,a=0,i=0,l=0,s=0,c=r.ignoredColor,u=r.step,p=0;p<t;p+=u){var m=e[p+3],d=e[p]*m,f=e[p+1]*m,h=e[p+2]*m;c&&AL(e,p,c)||(o+=d,a+=f,i+=h,l+=m,s++)}return l?[Math.round(o/l),Math.round(a/l),Math.round(i/l),Math.round(l/s)]:r.defaultColor}function hwe(e,t,r){for(var o=0,a=0,i=0,l=0,s=0,c=r.ignoredColor,u=r.step,p=0;p<t;p+=u){var m=e[p],d=e[p+1],f=e[p+2],h=e[p+3];c&&AL(e,p,c)||(o+=m*m*h,a+=d*d*h,i+=f*f*h,l+=h,s++)}return l?[Math.round(Math.sqrt(o/l)),Math.round(Math.sqrt(a/l)),Math.round(Math.sqrt(i/l)),Math.round(l/s)]:r.defaultColor}function oK(e){return Nb(e,"defaultColor",[0,0,0,0])}function Nb(e,t,r){return e[t]===void 0?r:e[t]}var nK=10,RL=100;function gwe(e){return e.search(/\.svg(\?|$)/i)!==-1}function vwe(e){if(iK(e)){var t=e.naturalWidth,r=e.naturalHeight;return!e.naturalWidth&&gwe(e.src)&&(t=r=RL),{width:t,height:r}}return ywe(e)?{width:e.videoWidth,height:e.videoHeight}:{width:e.width,height:e.height}}function aK(e){return _we(e)?"canvas":bwe(e)?"offscreencanvas":xwe(e)?"imagebitmap":e.src}function iK(e){return typeof HTMLImageElement<"u"&&e instanceof HTMLImageElement}function bwe(e){return typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas}function ywe(e){return typeof HTMLVideoElement<"u"&&e instanceof HTMLVideoElement}function _we(e){return typeof HTMLCanvasElement<"u"&&e instanceof HTMLCanvasElement}function xwe(e){return typeof ImageBitmap<"u"&&e instanceof ImageBitmap}function kwe(e,t){var r=Nb(t,"left",0),o=Nb(t,"top",0),a=Nb(t,"width",e.width),i=Nb(t,"height",e.height),l=a,s=i;if(t.mode==="precision")return{srcLeft:r,srcTop:o,srcWidth:a,srcHeight:i,destWidth:l,destHeight:s};var c;return a>i?(c=a/i,l=RL,s=Math.round(l/c)):(c=i/a,s=RL,l=Math.round(s/c)),(l>a||s>i||l<nK||s<nK)&&(l=a,s=i),{srcLeft:r,srcTop:o,srcWidth:a,srcHeight:i,destWidth:l,destHeight:s}}var wwe=typeof window>"u";function Cwe(){return wwe?new OffscreenCanvas(1,1):document.createElement("canvas")}var lK="FastAverageColor: ";function f3(e,t,r){t||(console.error(lK+e),r&&console.error(r))}function Bb(e){return Error(lK+e)}var sK=(function(){function e(){this.canvas=null,this.ctx=null}return e.prototype.getColorAsync=function(t,r){if(!t)return Promise.reject(Bb("call .getColorAsync() without resource."));if(typeof t=="string"){if(typeof Image>"u")return Promise.reject(Bb("resource as string is not supported in this environment"));var o=new Image;return o.crossOrigin=r&&r.crossOrigin||"",o.src=t,this.bindImageEvents(o,r)}else{if(iK(t)&&!t.complete)return this.bindImageEvents(t,r);var a=this.getColor(t,r);return a.error?Promise.reject(a.error):Promise.resolve(a)}},e.prototype.getColor=function(t,r){r=r||{};var o=oK(r);if(!t)return f3("call .getColor(null) without resource",r.silent),this.prepareResult(o);var a=vwe(t),i=kwe(a,r);if(!i.srcWidth||!i.srcHeight||!i.destWidth||!i.destHeight)return f3('incorrect sizes for resource "'.concat(aK(t),'"'),r.silent),this.prepareResult(o);if(this.canvas||(this.canvas=Cwe()),!this.ctx&&(this.ctx=this.canvas.getContext&&this.canvas.getContext("2d"),!this.ctx))return f3("Canvas Context 2D is not supported in this browser",r.silent),this.prepareResult(o);this.canvas.width=i.destWidth,this.canvas.height=i.destHeight;var l=o;try{this.ctx.clearRect(0,0,i.destWidth,i.destHeight),this.ctx.drawImage(t,i.srcLeft,i.srcTop,i.srcWidth,i.srcHeight,0,0,i.destWidth,i.destHeight);var s=this.ctx.getImageData(0,0,i.destWidth,i.destHeight).data;l=this.getColorFromArray4(s,r)}catch(c){f3("security error (CORS) for resource ".concat(aK(t),`.
Details: https://developer.mozilla.org/en/docs/Web/HTML/CORS_enabled_image`),r.silent,c)}return this.prepareResult(l)},e.prototype.getColorFromArray4=function(t,r){r=r||{};var o=4,a=t.length,i=oK(r);if(a<o)return i;var l=a-a%o,s=(r.step||1)*o,c;switch(r.algorithm||"sqrt"){case"simple":c=fwe;break;case"sqrt":c=hwe;break;case"dominant":c=dwe;break;default:throw Bb("".concat(r.algorithm," is unknown algorithm"))}return c(t,l,{defaultColor:i,ignoredColor:lwe(r.ignoredColor),step:s})},e.prototype.prepareResult=function(t){var r=t.slice(0,3),o=[t[0],t[1],t[2],t[3]/255],a=iwe(t);return{value:[t[0],t[1],t[2],t[3]],rgb:"rgb("+r.join(",")+")",rgba:"rgba("+o.join(",")+")",hex:rK(r),hexa:rK(t),isDark:a,isLight:!a}},e.prototype.destroy=function(){this.canvas&&(this.canvas.width=1,this.canvas.height=1,this.canvas=null),this.ctx=null},e.prototype.bindImageEvents=function(t,r){var o=this;return new Promise(function(a,i){var l=function(){u();var p=o.getColor(t,r);p.error?i(p.error):a(p)},s=function(){u(),i(Bb('Error loading image "'.concat(t.src,'".')))},c=function(){u(),i(Bb('Image "'.concat(t.src,'" loading aborted')))},u=function(){t.removeEventListener("load",l),t.removeEventListener("error",s),t.removeEventListener("abort",c)};t.addEventListener("load",l),t.addEventListener("error",s),t.addEventListener("abort",c)})},e})();var uK=n(_u(),1);eK([tK]);var ig="#FFF",pK="#000";function Swe(e,t){return{r:e.r*e.a+t.r*t.a*(1-e.a),g:e.g*e.a+t.g*t.a*(1-e.a),b:e.b*e.a+t.b*t.a*(1-e.a),a:e.a+t.a*(1-e.a)}}function h3(){return h3.fastAverageColor||(h3.fastAverageColor=new sK),h3.fastAverageColor}var Gd=Th(async e=>{if(!e)return ig;let{r:t,g:r,b:o,a}=Br(ig).toRgb();try{let i=(0,uK.applyFilters)("media.crossOrigin",void 0,e);return(await h3().getColorAsync(e,{defaultColor:[t,r,o,a*255],silent:!0,crossOrigin:i})).hex}catch{return ig}});function Rp(e,t,r){if(t===r||e===100)return Br(t).isDark();let o=Br(t).alpha(e/100).toRgb(),a=Br(r).toRgb(),i=Swe(o,a);return Br(i).isDark()}var Qt=n(y(),1),{openMediaEditorModalKey:Twe}=U(Kr.privateApis);function Pwe(e){return[["core/paragraph",{style:{typography:{textAlign:"center"}},placeholder:(0,ML.__)("Write title\u2026"),...e}]]}var Ewe=(e,t)=>!e&&(0,mK.isBlobURL)(t);function Bwe({attributes:e,clientId:t,isSelected:r,overlayColor:o,setAttributes:a,setOverlayColor:i,toggleSelection:l,context:{postId:s,postType:c}}){let{contentPosition:u,id:p,url:m,backgroundType:d,useFeaturedImage:f,dimRatio:h,focalPoint:g,hasParallax:v,isDark:b,isRepeated:_,minHeight:k,minHeightUnit:x,alt:w,allowedBlocks:C,templateLock:P,tagName:B="div",isUserOverlayColor:I,sizeSlug:D,poster:T}=e,[L]=(0,Ib.useEntityProp)("postType",c,"featured_media",s),{getSettings:R}=(0,xu.useSelect)(Kr.store),z=(0,xu.useSelect)(Se=>Se(Kr.store).getSettings()[Twe],[]),{__unstableMarkNextChangeAsNotPersistent:j}=(0,xu.useDispatch)(Kr.store),G=(0,Dn.useRef)({attributes:e,overlayColor:o});(0,Dn.useLayoutEffect)(()=>{G.current={attributes:e,overlayColor:o}});let{media:W}=(0,xu.useSelect)(Se=>({media:L&&f?Se(Ib.store).getEntityRecord("postType","attachment",L,{context:"view"}):void 0}),[L,f]),$=W?.media_details?.sizes?.[D]?.source_url??W?.source_url;(0,Dn.useEffect)(()=>{(async()=>{if(!f)return;let Se=await Gd($),{attributes:at,overlayColor:hr}=G.current,wr=hr.color;at.isUserOverlayColor||(wr=Se,j(),i(wr));let Zo=Rp(at.dimRatio,wr,Se);j(),a({isDark:Zo,isUserOverlayColor:at.isUserOverlayColor||!1})})()},[$,j,a,i,f]);let V=f?$:m?.replaceAll("&amp;","&"),Q=f?Yt:d,{createErrorNotice:Y}=(0,xu.useDispatch)(dK.store),{gradientClass:ee,gradientValue:te}=(0,Kr.__experimentalUseGradient)(),ae=async Se=>{let at=bZ(Se),hr=[Se?.type,Se?.media_type].includes(Yt),wr=await Gd(hr?Se?.url:void 0),{attributes:Zo,overlayColor:Ul}=G.current,ta=Ul.color;Zo.isUserOverlayColor||(ta=wr,i(ta),j());let ol=Zo.url===void 0&&Zo.dimRatio===100?50:Zo.dimRatio,ui=Rp(ol,ta,wr);if(Q===Yt&&at?.id){let{imageDefaultSize:Gl}=R();D&&(Se?.sizes?.[D]||Se?.media_details?.sizes?.[D])?(at.sizeSlug=D,at.url=Se?.sizes?.[D]?.url||Se?.media_details?.sizes?.[D]?.source_url):Se?.sizes?.[Gl]||Se?.media_details?.sizes?.[Gl]?(at.sizeSlug=Gl,at.url=Se?.sizes?.[Gl]?.url||Se?.media_details?.sizes?.[Gl]?.source_url):at.sizeSlug=jd}a({...at,focalPoint:void 0,useFeaturedImage:void 0,dimRatio:ol,isDark:ui,isUserOverlayColor:Zo.isUserOverlayColor||!1})},J=()=>{let Se=o.color;!I&&o.color&&(Se=pK,i(void 0),j());let at=Rp(h,Se,ig);a({url:void 0,id:void 0,backgroundType:void 0,focalPoint:void 0,hasParallax:void 0,isRepeated:void 0,useFeaturedImage:void 0,isDark:at})},ce=async Se=>{let at=await Gd(V),{attributes:hr}=G.current,wr=Rp(hr.dimRatio,Se,at);i(Se),j(),a({isUserOverlayColor:!0,isDark:wr})},ie=async Se=>{let at=await Gd(V),{overlayColor:hr}=G.current,wr=Rp(Se,hr.color,at);a({dimRatio:Se,isDark:wr})},we=Se=>{Y(Se,{type:"snackbar"})},se=Se=>{a({url:Se,backgroundType:bu,dimRatio:m===void 0&&h===100?50:h,id:void 0,focalPoint:void 0,hasParallax:void 0,isRepeated:void 0,useFeaturedImage:void 0})},{embedPreview:de,isFetchingEmbed:_e}=(0,xu.useSelect)(Se=>{if(Q!==bu||!V)return{embedPreview:void 0,isFetchingEmbed:!1};let{getEmbedPreview:at,isRequestingEmbedPreview:hr}=Se(Ib.store);return{embedPreview:at(V),isFetchingEmbed:hr(V)}},[V,Q]),oe=(0,Dn.useMemo)(()=>Q!==bu||!de?.html?null:MZ(de.html),[de,Q]),[pe,le]=(0,Dn.useState)(!1),Pe=Ewe(p,V),Ee=Yt===Q,X=Er===Q,Ce=bu===Q,me=(0,Kr.useBlockEditingMode)(),Xe=me==="default",[he,{height:Re,width:St}]=(0,g3.useResizeObserver)(),ze=(0,Dn.useMemo)(()=>({height:x==="px"&&k?k:"auto",width:"auto"}),[k,x]),ro=k&&x?`${k}${x}`:k,oo=!(v||_),Lo={minHeight:ro||void 0},no=V?`url(${V})`:void 0,Jn=on(g),La={backgroundColor:o.color},ne={objectPosition:g&&oo?on(g):void 0},Fe=!!(V||o.color||te),rt=(0,xu.useSelect)(Se=>Se(Kr.store).getBlock(t).innerBlocks.length>0,[t]),Tt=(0,Dn.useRef)(),We=(0,Kr.useBlockProps)({ref:Tt}),[ao]=(0,Kr.useSettings)("typography.fontSizes"),ea=ao?.length>0,nu=Pwe({fontSize:ea?"large":void 0}),gt=(0,Kr.useInnerBlocksProps)({className:"wp-block-cover__inner-container"},{template:rt?void 0:nu,templateInsertUpdatesSelection:!0,allowedBlocks:C,templateLock:P,dropZoneElement:Tt.current}),io=(0,Dn.useRef)(),rl=(0,Dn.useRef)(),Ws={isVideoBackground:X,isImageBackground:Ee,mediaElement:io,hasInnerBlocks:rt,url:V,isImgElement:oo,overlayColor:o},N1=(0,Dn.useCallback)(()=>{!p||!z||z({id:p,onClose:()=>{rl.current?.focus()},onUpdate:async({id:Se,url:at})=>{if(typeof Se!="number")return;Se!==p&&at&&le(!0);let hr={id:Se,backgroundType:Yt,...at?{url:at}:{},...Se!==p?{sizeSlug:jd}:{}};if(at){let Ul=await Gd(at),{attributes:ta,overlayColor:ol}=G.current,ui=ol.color;ta.isUserOverlayColor||(ui=Ul,i(ui),j()),hr.isDark=Rp(ta.dimRatio,ui,Ul),hr.isUserOverlayColor=ta.isUserOverlayColor||!1}a(hr);let{hasParallax:wr,isRepeated:Zo}=G.current.attributes;(wr||Zo)&&le(!1)}})},[p,z,a,i,j]),$s=Xe&&!f&&Ee&&!!p&&!!V&&!Pe&&!!z,ci=async()=>{let Se=!f,at=Se?await Gd($):ig,{attributes:hr,overlayColor:wr}=G.current,Zo=hr.isUserOverlayColor?wr.color:at;hr.isUserOverlayColor||(i(Se?Zo:void 0),j());let Ul=hr.dimRatio===100?50:hr.dimRatio,ta=Rp(Ul,Zo,at);a({id:void 0,url:void 0,useFeaturedImage:Se,dimRatio:Ul,backgroundType:f?Yt:void 0,isDark:ta})},jl=(0,Qt.jsx)(VZ,{attributes:e,setAttributes:a,onSelectMedia:ae,onSelectEmbedUrl:se,currentSettings:Ws,toggleUseFeaturedImage:ci,onClearMedia:J,blockEditingMode:me,onEditMedia:N1,editMediaButtonRef:rl,showEditMediaButton:$s,isEditMediaDisabled:pe}),Ra=(0,Qt.jsx)(IZ,{attributes:e,setAttributes:a,clientId:t,setOverlayColor:ce,coverRef:Tt,currentSettings:Ws,toggleUseFeaturedImage:ci,updateDimRatio:ie,onClearMedia:J,featuredImage:W}),qs={className:"block-library-cover__resize-container",clientId:t,height:Re,minHeight:ro,onResizeStart:()=>{a({minHeightUnit:"px"}),l(!1)},onResize:Se=>{a({minHeight:Se})},onResizeStop:Se=>{l(!0),a({minHeight:Se})},showHandle:!e.style?.dimensions?.aspectRatio,size:ze,width:St};if(!f&&!rt&&!Fe)return(0,Qt.jsxs)(Qt.Fragment,{children:[jl,Ra,Xe&&r&&(0,Qt.jsx)(EL,{...qs}),(0,Qt.jsxs)(B,{...We,className:S("is-placeholder",We.className),style:{...We.style,minHeight:ro||void 0},children:[he,(0,Qt.jsx)(PL,{onSelectMedia:ae,onError:we,toggleUseFeaturedImage:ci,children:(0,Qt.jsx)("div",{className:"wp-block-cover__placeholder-background-options",children:(0,Qt.jsx)(Kr.ColorPalette,{disableCustomColors:!0,value:o.color,onChange:ce,clearable:!1,asButtons:!0,"aria-label":(0,ML.__)("Overlay color")})})})]})]});let np=S({"is-dark-theme":b,"is-light":!b,"is-transient":Pe||pe,"has-parallax":v,"is-repeated":_,"has-custom-content-position":!ua(u)},Ha(u)),mh=V||!f||f&&!V;return(0,Qt.jsxs)(Qt.Fragment,{children:[jl,Ra,(0,Qt.jsxs)(B,{...We,className:S(np,We.className),style:{...Lo,...We.style},"data-url":V,children:[he,!V&&f&&(0,Qt.jsx)(Wd.Placeholder,{className:"wp-block-cover__image--placeholder-image",withIllustration:!0}),V&&Ee&&(oo?(0,Qt.jsx)("img",{ref:io,className:"wp-block-cover__image-background",alt:w,src:V,style:ne,onLoad:()=>le(!1),onError:()=>le(!1)}):(0,Qt.jsx)("div",{ref:io,role:w?"img":void 0,"aria-label":w||void 0,className:S(np,"wp-block-cover__image-background"),style:{backgroundImage:no,backgroundPosition:Jn}})),V&&X&&(0,Qt.jsx)("video",{ref:io,className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:V,poster:T,style:ne}),Ce&&oe&&(0,Qt.jsx)("div",{ref:io,className:"wp-block-cover__video-background wp-block-cover__embed-background",style:ne,children:(0,Qt.jsx)(Wd.SandBox,{allowSameOrigin:!0,html:oe,title:"Background video",styles:["iframe{position:fixed;top:0;left:0;width:100%;height:100%;}"]})}),Ce&&!oe&&_e&&(0,Qt.jsx)(Wd.Spinner,{}),mh&&(0,Qt.jsx)("span",{"aria-hidden":"true",className:S("wp-block-cover__background",vl(h),{[o.class]:o.class,"has-background-dim":h!==void 0,"wp-block-cover__gradient-background":V&&te&&h!==0,"has-background-gradient":te,[ee]:ee}),style:{backgroundImage:te,...La}}),(Pe||pe)&&(0,Qt.jsx)(Wd.Spinner,{}),(0,Qt.jsx)(PL,{disableMediaButtons:!0,onSelectMedia:ae,onError:we,toggleUseFeaturedImage:ci}),(0,Qt.jsx)("div",{...gt})]}),Xe&&r&&(0,Qt.jsx)(EL,{...qs})]})}var fK=(0,g3.compose)([(0,Kr.withColors)({overlayColor:"background-color"})])(Bwe);var v3={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/cover",title:"Cover",category:"media",description:"Add an image or video with a text overlay.",textdomain:"default",attributes:{url:{type:"string",role:"content"},useFeaturedImage:{type:"boolean",default:!1},id:{type:"number"},alt:{type:"string",default:""},hasParallax:{type:"boolean",default:!1},isRepeated:{type:"boolean",default:!1},dimRatio:{type:"number",default:100},overlayColor:{type:"string"},customOverlayColor:{type:"string"},isUserOverlayColor:{type:"boolean"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"},isDark:{type:"boolean",default:!0},templateLock:{type:["string","boolean"],enum:["all","insert","contentOnly",!1]},tagName:{type:"string",default:"div"},sizeSlug:{type:"string"},poster:{type:"string",source:"attribute",selector:"video",attribute:"poster"},allowedVideoProviders:{type:"array",default:["youtube","vimeo","videopress","animoto","tiktok","wordpress-tv"]}},usesContext:["postId","postType"],supports:{anchor:!0,align:!0,html:!1,shadow:!0,spacing:{padding:!0,margin:["top","bottom"],blockGap:!0,__experimentalDefaultControls:{padding:!0,blockGap:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},color:{heading:!0,text:!0,background:!1,__experimentalSkipSerialization:["gradients"],enableContrastChecker:!1},dimensions:{aspectRatio:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},layout:{allowJustification:!1},interactivity:{clientNavigation:!0},filter:{duotone:!0},allowedBlocks:!0},selectors:{filter:{duotone:".wp-block-cover > .wp-block-cover__image-background, .wp-block-cover > .wp-block-cover__video-background"}},editorStyle:"wp-block-cover-editor",style:"wp-block-cover"};var Ap=n(E(),1);var sc=n(y(),1);function hK({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:o,customGradient:a,customOverlayColor:i,dimRatio:l,focalPoint:s,useFeaturedImage:c,hasParallax:u,isDark:p,isRepeated:m,overlayColor:d,url:f,alt:h,id:g,minHeight:v,minHeightUnit:b,tagName:_,sizeSlug:k,poster:x}=e,w=(0,Ap.getColorClassName)("background-color",d),C=(0,Ap.__experimentalGetGradientClass)(r),P=v&&b?`${v}${b}`:v,B=Yt===t,I=Er===t,D=bu===t,T=!(u||m),L={minHeight:P||void 0},R={backgroundColor:w?void 0:i,background:a||void 0},z=s&&T?on(s):void 0,j=f?`url(${f})`:void 0,G=on(s),W=S({"is-light":!p,"has-parallax":u,"is-repeated":m,"has-custom-content-position":!ua(o)},Ha(o)),$=S("wp-block-cover__image-background",g?`wp-image-${g}`:null,{[`size-${k}`]:k,"has-parallax":u,"is-repeated":m}),V=r||a;return(0,sc.jsxs)(_,{...Ap.useBlockProps.save({className:W,style:L}),children:[!c&&B&&f&&(T?(0,sc.jsx)("img",{className:$,alt:h,src:f,style:{objectPosition:z},"data-object-fit":"cover","data-object-position":z}):(0,sc.jsx)("div",{role:h?"img":void 0,"aria-label":h||void 0,className:$,style:{backgroundPosition:G,backgroundImage:j}})),I&&f&&(0,sc.jsx)("video",{className:S("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:f,poster:x,style:{objectPosition:z},"data-object-fit":"cover","data-object-position":z}),D&&f&&(0,sc.jsx)("figure",{className:S("wp-block-cover__video-background","wp-block-cover__embed-background","wp-block-embed"),children:(0,sc.jsx)("div",{className:"wp-block-embed__wrapper",children:f})}),(0,sc.jsx)("span",{"aria-hidden":"true",className:S("wp-block-cover__background",w,vl(l),{"has-background-dim":l!==void 0,"wp-block-cover__gradient-background":f&&V&&l!==0,"has-background-gradient":V,[C]:C}),style:R}),(0,sc.jsx)("div",{...Ap.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})})]})}var Ti=n(q(),1),gK=n(E(),1);var{cleanEmptyObject:b3}=U(gK.privateApis),Iwe={from:[{type:"block",blocks:["core/image"],transform:({caption:e,url:t,alt:r,align:o,id:a,anchor:i,style:l})=>(0,Ti.createBlock)("core/cover",{dimRatio:50,url:t,alt:r,align:o,id:a,anchor:i,style:{color:{duotone:l?.color?.duotone}}},[(0,Ti.createBlock)("core/paragraph",{content:e,fontSize:"large",style:{typography:{textAlign:"center"}}})])},{type:"block",blocks:["core/video"],transform:({caption:e,src:t,align:r,id:o,anchor:a})=>(0,Ti.createBlock)("core/cover",{dimRatio:50,url:t,align:r,id:o,backgroundType:Er,anchor:a},[(0,Ti.createBlock)("core/paragraph",{content:e,fontSize:"large",style:{typography:{textAlign:"center"}}})])},{type:"block",blocks:["core/group"],transform:(e,t)=>{let{align:r,anchor:o,backgroundColor:a,gradient:i,style:l}=e;if(t?.length===1&&t[0]?.name==="core/cover")return(0,Ti.createBlock)("core/cover",t[0].attributes,t[0].innerBlocks);let s=a||i||l?.color?.background||l?.color?.gradient?void 0:50,c={align:r,anchor:o,dimRatio:s,overlayColor:a,customOverlayColor:l?.color?.background,gradient:i,customGradient:l?.color?.gradient},u={...e,backgroundColor:void 0,gradient:void 0,style:b3({...e?.style,color:l?.color?{...l?.color,background:void 0,gradient:void 0}:void 0})};return(0,Ti.createBlock)("core/cover",c,[(0,Ti.createBlock)("core/group",u,t)])}}],to:[{type:"block",blocks:["core/image"],isMatch:({backgroundType:e,url:t,overlayColor:r,customOverlayColor:o,gradient:a,customGradient:i})=>t?e===Yt:!r&&!o&&!a&&!i,transform:({title:e,url:t,alt:r,align:o,id:a,anchor:i,style:l})=>(0,Ti.createBlock)("core/image",{caption:e,url:t,alt:r,align:o,id:a,anchor:i,style:{color:{duotone:l?.color?.duotone}}})},{type:"block",blocks:["core/video"],isMatch:({backgroundType:e,url:t,overlayColor:r,customOverlayColor:o,gradient:a,customGradient:i})=>t?e===Er:!r&&!o&&!a&&!i,transform:({title:e,url:t,align:r,id:o,anchor:a})=>(0,Ti.createBlock)("core/video",{caption:e,src:t,id:o,align:r,anchor:a})},{type:"block",blocks:["core/group"],isMatch:({url:e,useFeaturedImage:t})=>!(e||t),transform:(e,t)=>{let r={backgroundColor:e?.overlayColor,gradient:e?.gradient,style:b3({...e?.style,color:e?.customOverlayColor||e?.customGradient||e?.style?.color?{background:e?.customOverlayColor,gradient:e?.customGradient,...e?.style?.color}:void 0})};if(t?.length===1&&t[0]?.name==="core/group"){let o=b3(t[0].attributes||{});return o?.backgroundColor||o?.gradient||o?.style?.color?.background||o?.style?.color?.gradient?(0,Ti.createBlock)("core/group",o,t[0]?.innerBlocks):(0,Ti.createBlock)("core/group",{...r,...o,style:b3({...o?.style,color:r?.style?.color||o?.style?.color?{...r?.style?.color,...o?.style?.color}:void 0})},t[0]?.innerBlocks)}return(0,Ti.createBlock)("core/group",{...e,...r},t)}}]},vK=Iwe;var zL=n(N(),1);var Dwe=[{name:"cover",title:(0,zL.__)("Cover"),description:(0,zL.__)("Add an image or video with a text overlay."),attributes:{layout:{type:"constrained"}},isDefault:!0,icon:td}],bK=Dwe;var{fieldsKey:Lwe,formKey:Rwe}=U(yK.privateApis),{name:_K}=v3,y3={icon:td,example:{attributes:{customOverlayColor:"#065174",dimRatio:40,url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg",style:{typography:{fontSize:48},color:{text:"white"}}},innerBlocks:[{name:"core/paragraph",attributes:{content:`<strong>${(0,VL.__)("Snow Patrol")}</strong>`,style:{typography:{textAlign:"center"}}}}]},transforms:vK,save:hK,edit:fK,deprecated:yZ,variations:bK};window.__experimentalContentOnlyInspectorFields&&(y3[Lwe]=[{id:"background",label:(0,VL.__)("Background"),type:"media",Edit:{control:"media",allowedTypes:["image","video"],multiple:!1,useFeaturedImage:!0},getValue:({item:e})=>({id:e.id,url:e.url,alt:e.alt,mediaType:e.backgroundType,featuredImage:e.useFeaturedImage}),setValue:({value:e})=>({id:e.id,url:e.url,alt:e.alt,mediaType:e.backgroundType,useFeaturedImage:e.featuredImage})}],y3[Rwe]={fields:["background"]});var Awe=()=>A({name:_K,metadata:v3,settings:y3});var FL={};K(FL,{init:()=>jwe,metadata:()=>_3,name:()=>PK,settings:()=>k3});var Mp=n(N(),1),TK=n(q(),1);var _3={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/details",title:"Details",category:"text",description:"Hide and show additional content.",keywords:["summary","toggle","disclosure"],textdomain:"default",attributes:{showContent:{type:"boolean",default:!1},summary:{type:"rich-text",source:"rich-text",selector:"summary",role:"content"},name:{type:"string",source:"attribute",attribute:"name",selector:".wp-block-details"},placeholder:{type:"string"}},supports:{__experimentalOnEnter:!0,align:["wide","full"],anchor:!0,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},__experimentalBorder:{color:!0,width:!0,style:!0},html:!1,spacing:{margin:!0,padding:!0,blockGap:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},layout:{allowEditing:!1},interactivity:{clientNavigation:!0},allowedBlocks:!0},editorStyle:"wp-block-details-editor",style:"wp-block-details"};var ds=n(E(),1),cc=n(O(),1),ku=n(N(),1),xK=n(H(),1),kK=n(F(),1);var ja=n(y(),1),{withIgnoreIMEEvents:zwe}=U(cc.privateApis),Vwe=[["core/paragraph",{placeholder:(0,ku.__)("Type / to add a hidden block")}]];function Owe({attributes:e,setAttributes:t,clientId:r}){let{name:o,showContent:a,summary:i,allowedBlocks:l,placeholder:s}=e,c=(0,ds.useBlockProps)(),u=(0,ds.useInnerBlocksProps)(c,{template:Vwe,__experimentalCaptureToolbars:!0,allowedBlocks:l}),[p,m]=(0,xK.useState)(a),d=Z(),f=(0,kK.useSelect)(v=>v(ds.store).hasSelectedInnerBlock(r,!0),[r]),h=v=>{v.key==="Enter"&&!v.shiftKey&&(m(b=>!b),v.preventDefault())},g=v=>{v.key===" "&&v.preventDefault()};return(0,ja.jsxs)(ja.Fragment,{children:[(0,ja.jsx)(ds.InspectorControls,{children:(0,ja.jsx)(cc.__experimentalToolsPanel,{label:(0,ku.__)("Settings"),resetAll:()=>{t({showContent:!1})},dropdownMenuProps:d,children:(0,ja.jsx)(cc.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,ku.__)("Open by default"),hasValue:()=>a,onDeselect:()=>{t({showContent:!1})},children:(0,ja.jsx)(cc.ToggleControl,{label:(0,ku.__)("Open by default"),checked:a,onChange:()=>t({showContent:!a})})})})}),(0,ja.jsx)(ds.InspectorControls,{group:"advanced",children:(0,ja.jsx)(cc.TextControl,{label:(0,ku.__)("Name attribute"),value:o||"",onChange:v=>t({name:v}),help:(0,ku.__)("Enables multiple Details blocks with the same name attribute to be connected, with only one open at a time.")})}),(0,ja.jsxs)("details",{...u,open:p||f,onToggle:v=>m(v.target.open),name:o||"",children:[(0,ja.jsx)("summary",{onKeyDown:zwe(h),onKeyUp:g,children:(0,ja.jsx)(ds.RichText,{identifier:"summary","aria-label":(0,ku.__)("Write summary. Press Enter to expand or collapse the details."),placeholder:s||(0,ku.__)("Write summary\u2026"),withoutInteractiveFormatting:!0,value:i,onChange:v=>t({summary:v})})}),u.children]})]})}var wK=Owe;var sg=n(E(),1),lg=n(y(),1);function CK({attributes:e}){let{name:t,showContent:r}=e,o=e.summary?e.summary:"Details",a=sg.useBlockProps.save();return(0,lg.jsxs)("details",{...a,name:t||void 0,open:r,children:[(0,lg.jsx)("summary",{children:(0,lg.jsx)(sg.RichText.Content,{value:o})}),(0,lg.jsx)(sg.InnerBlocks.Content,{})]})}var x3=n(q(),1),SK={from:[{type:"block",isMultiBlock:!0,blocks:["*"],isMatch({},e){return!(e.length===1&&e[0].name==="core/details")},__experimentalConvert(e){return(0,x3.createBlock)("core/details",{},e.map(t=>(0,x3.cloneSanitizedBlock)(t)))}}]};var{fieldsKey:Fwe,formKey:Hwe}=U(TK.privateApis),{name:PK}=_3,k3={icon:WP,example:{attributes:{summary:(0,Mp.__)("La Mancha"),showContent:!0},innerBlocks:[{name:"core/paragraph",attributes:{content:(0,Mp.__)("In a village of La Mancha, the name of which I have no desire to call to mind, there lived not long since one of those gentlemen that keep a lance in the lance-rack, an old buckler, a lean hack, and a greyhound for coursing.")}}]},__experimentalLabel(e,{context:t}){let{summary:r}=e,o=e?.metadata?.name,a=r?.trim().length>0;if(t==="list-view"&&(o||a))return o||r;if(t==="breadcrumb"&&o)return o;if(t==="accessibility")return a?(0,Mp.sprintf)((0,Mp.__)("Details. %s"),r):(0,Mp.__)("Details. Empty.")},save:CK,edit:wK,transforms:SK};window.__experimentalContentOnlyInspectorFields&&(k3[Fwe]=[{id:"summary",label:(0,Mp.__)("Summary"),type:"text",Edit:"rich-text"}],k3[Hwe]={fields:["summary"]});var jwe=()=>A({name:PK,metadata:_3,settings:k3});var WL={};K(WL,{init:()=>Xwe,metadata:()=>Xs,name:()=>cY,settings:()=>uY});var qd=n(N(),1),mg=n(H(),1),Db=n(F(),1),P3=n(E(),1),GL=n(re(),1);var $d=n(N(),1),uc=n(O(),1),w3=n(E(),1);var yl=n(y(),1);function Uwe(e){return e?(0,$d.__)("This embed will preserve its aspect ratio when the browser is resized."):(0,$d.__)("This embed may not preserve its aspect ratio when the browser is resized.")}var Gwe=({blockSupportsResponsive:e,showEditButton:t,themeSupportsResponsive:r,allowResponsive:o,toggleResponsive:a,switchBackToURLInput:i})=>{let l=Z();return(0,yl.jsxs)(yl.Fragment,{children:[(0,yl.jsx)(w3.BlockControls,{children:(0,yl.jsx)(uc.ToolbarGroup,{children:t&&(0,yl.jsx)(uc.ToolbarButton,{className:"components-toolbar__control",label:(0,$d.__)("Edit URL"),icon:sd,onClick:i})})}),r&&e&&(0,yl.jsx)(w3.InspectorControls,{children:(0,yl.jsx)(uc.__experimentalToolsPanel,{label:(0,$d.__)("Media settings"),resetAll:()=>{a(!0)},dropdownMenuProps:l,children:(0,yl.jsx)(uc.__experimentalToolsPanelItem,{label:(0,$d.__)("Media settings"),isShownByDefault:!0,hasValue:()=>!o,onDeselect:()=>{a(!o)},children:(0,yl.jsx)(uc.ToggleControl,{label:(0,$d.__)("Resize for smaller devices"),checked:o,help:Uwe,onChange:a})})})})]})},EK=Gwe;var Te=n(O(),1),Ie=n(y(),1),fs=(0,Ie.jsx)(Te.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,Ie.jsx)(Te.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zm-6-9.5L16 12l-2.5 2.8 1.1 1L18 12l-3.5-3.5-1 1zm-3 0l-1-1L6 12l3.5 3.8 1.1-1L8 12l2.5-2.5z"})}),C3=(0,Ie.jsx)(Te.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,Ie.jsx)(Te.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zM13.2 7.7c-.4.4-.7 1.1-.7 1.9v3.7c-.4-.3-.8-.4-1.3-.4-1.2 0-2.2 1-2.2 2.2 0 1.2 1 2.2 2.2 2.2.5 0 1-.2 1.4-.5.9-.6 1.4-1.6 1.4-2.6V9.6c0-.4.1-.6.2-.8.3-.3 1-.3 1.6-.3h.2V7h-.2c-.7 0-1.8 0-2.6.7z"})}),HL=(0,Ie.jsx)(Te.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,Ie.jsx)(Te.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9.2 4.5H19c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V9.8l4.6-5.3zm9.8 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})}),cg=(0,Ie.jsx)(Te.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,Ie.jsx)(Te.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zM10 15l5-3-5-3v6z"})}),BK={foreground:"#000000",src:(0,Ie.jsx)(Te.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Ie.jsx)(Te.Path,{d:"M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245l-7.131-10.378Zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387l-4.745-6.787Z"})})},NK={foreground:"#ff0000",src:(0,Ie.jsx)(Te.SVG,{viewBox:"0 0 24 24",children:(0,Ie.jsx)(Te.Path,{d:"M21.8 8s-.195-1.377-.795-1.984c-.76-.797-1.613-.8-2.004-.847-2.798-.203-6.996-.203-6.996-.203h-.01s-4.197 0-6.996.202c-.39.046-1.242.05-2.003.846C2.395 6.623 2.2 8 2.2 8S2 9.62 2 11.24v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.76.797 1.76.77 2.205.855 1.6.153 6.8.2 6.8.2s4.203-.005 7-.208c.392-.047 1.244-.05 2.005-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517C22 9.62 21.8 8 21.8 8zM9.935 14.595v-5.62l5.403 2.82-5.403 2.8z"})})},IK={foreground:"#3b5998",src:(0,Ie.jsx)(Te.SVG,{viewBox:"0 0 24 24",children:(0,Ie.jsx)(Te.Path,{d:"M20 3H4c-.6 0-1 .4-1 1v16c0 .5.4 1 1 1h8.6v-7h-2.3v-2.7h2.3v-2c0-2.3 1.4-3.6 3.5-3.6 1 0 1.8.1 2.1.1v2.4h-1.4c-1.1 0-1.3.5-1.3 1.3v1.7h2.7l-.4 2.8h-2.3v7H20c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1z"})})},DK=(0,Ie.jsx)(Te.SVG,{viewBox:"0 0 24 24",children:(0,Ie.jsx)(Te.G,{children:(0,Ie.jsx)(Te.Path,{d:"M12 4.622c2.403 0 2.688.01 3.637.052.877.04 1.354.187 1.67.31.42.163.72.358 1.036.673.315.315.51.615.673 1.035.123.317.27.794.31 1.67.043.95.052 1.235.052 3.638s-.01 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.67-.163.42-.358.72-.673 1.036-.315.315-.615.51-1.035.673-.317.123-.794.27-1.67.31-.95.043-1.234.052-3.638.052s-2.688-.01-3.637-.052c-.877-.04-1.354-.187-1.67-.31-.42-.163-.72-.358-1.036-.673-.315-.315-.51-.615-.673-1.035-.123-.317-.27-.794-.31-1.67-.043-.95-.052-1.235-.052-3.638s.01-2.688.052-3.637c.04-.877.187-1.354.31-1.67.163-.42.358-.72.673-1.036.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.67-.31.95-.043 1.235-.052 3.638-.052M12 3c-2.444 0-2.75.01-3.71.054s-1.613.196-2.185.418c-.592.23-1.094.538-1.594 1.04-.5.5-.807 1-1.037 1.593-.223.572-.375 1.226-.42 2.184C3.01 9.25 3 9.555 3 12s.01 2.75.054 3.71.196 1.613.418 2.186c.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.266.054 3.71.054s2.75-.01 3.71-.054 1.613-.196 2.186-.418c.592-.23 1.094-.538 1.594-1.038s.808-1.002 1.038-1.594c.222-.572.375-1.227.418-2.185.044-.96.054-1.266.054-3.71s-.01-2.75-.054-3.71-.196-1.613-.418-2.186c-.23-.592-.538-1.094-1.038-1.594s-1.002-.808-1.594-1.038c-.572-.222-1.227-.375-2.185-.418C14.75 3.01 14.445 3 12 3zm0 4.378c-2.552 0-4.622 2.07-4.622 4.622s2.07 4.622 4.622 4.622 4.622-2.07 4.622-4.622S14.552 7.378 12 7.378zM12 15c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3zm4.804-8.884c-.596 0-1.08.484-1.08 1.08s.484 1.08 1.08 1.08c.596 0 1.08-.484 1.08-1.08s-.483-1.08-1.08-1.08z"})})}),LK={foreground:"#0073AA",src:(0,Ie.jsx)(Te.SVG,{viewBox:"0 0 24 24",children:(0,Ie.jsx)(Te.G,{children:(0,Ie.jsx)(Te.Path,{d:"M12.158 12.786l-2.698 7.84c.806.236 1.657.365 2.54.365 1.047 0 2.05-.18 2.986-.51-.024-.037-.046-.078-.065-.123l-2.762-7.57zM3.008 12c0 3.56 2.07 6.634 5.068 8.092L3.788 8.342c-.5 1.117-.78 2.354-.78 3.658zm15.06-.454c0-1.112-.398-1.88-.74-2.48-.456-.74-.883-1.368-.883-2.11 0-.825.627-1.595 1.51-1.595.04 0 .078.006.116.008-1.598-1.464-3.73-2.36-6.07-2.36-3.14 0-5.904 1.613-7.512 4.053.21.008.41.012.58.012.94 0 2.395-.114 2.395-.114.484-.028.54.684.057.74 0 0-.487.058-1.03.086l3.275 9.74 1.968-5.902-1.4-3.838c-.485-.028-.944-.085-.944-.085-.486-.03-.43-.77.056-.742 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.486-.028.543.684.058.74 0 0-.488.058-1.03.086l3.25 9.665.897-2.997c.456-1.17.684-2.137.684-2.907zm1.82-3.86c.04.286.06.593.06.924 0 .912-.17 1.938-.683 3.22l-2.746 7.94c2.672-1.558 4.47-4.454 4.47-7.77 0-1.564-.4-3.033-1.1-4.314zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"})})})},RK={foreground:"#1db954",src:(0,Ie.jsx)(Te.SVG,{viewBox:"0 0 24 24",children:(0,Ie.jsx)(Te.Path,{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424c-.18.295-.563.387-.857.207-2.35-1.434-5.305-1.76-8.786-.963-.335.077-.67-.133-.746-.47-.077-.334.132-.67.47-.745 3.808-.87 7.076-.496 9.712 1.115.293.18.386.563.206.857M17.81 13.7c-.226.367-.706.482-1.072.257-2.687-1.652-6.785-2.13-9.965-1.166-.413.127-.848-.106-.973-.517-.125-.413.108-.848.52-.973 3.632-1.102 8.147-.568 11.234 1.328.366.226.48.707.256 1.072m.105-2.835C14.692 8.95 9.375 8.775 6.297 9.71c-.493.15-1.016-.13-1.166-.624-.148-.495.13-1.017.625-1.167 3.532-1.073 9.404-.866 13.115 1.337.445.264.59.838.327 1.282-.264.443-.838.59-1.282.325"})})},AK=(0,Ie.jsx)(Te.SVG,{viewBox:"0 0 24 24",children:(0,Ie.jsx)(Te.Path,{d:"m6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"})}),MK={foreground:"#1ab7ea",src:(0,Ie.jsx)(Te.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Ie.jsx)(Te.G,{children:(0,Ie.jsx)(Te.Path,{d:"M22.396 7.164c-.093 2.026-1.507 4.8-4.245 8.32C15.323 19.16 12.93 21 10.97 21c-1.214 0-2.24-1.12-3.08-3.36-.56-2.052-1.118-4.105-1.68-6.158-.622-2.24-1.29-3.36-2.004-3.36-.156 0-.7.328-1.634.98l-.978-1.26c1.027-.903 2.04-1.806 3.037-2.71C6 3.95 7.03 3.328 7.716 3.265c1.62-.156 2.616.95 2.99 3.32.404 2.558.685 4.148.84 4.77.468 2.12.982 3.18 1.543 3.18.435 0 1.09-.687 1.963-2.064.872-1.376 1.34-2.422 1.402-3.142.125-1.187-.343-1.782-1.4-1.782-.5 0-1.013.115-1.542.34 1.023-3.35 2.977-4.976 5.862-4.883 2.14.063 3.148 1.45 3.024 4.16z"})})})},zK=(0,Ie.jsx)(Te.SVG,{viewBox:"0 0 24 24",children:(0,Ie.jsx)(Te.Path,{d:"M22 12.068a2.184 2.184 0 0 0-2.186-2.186c-.592 0-1.13.233-1.524.609-1.505-1.075-3.566-1.774-5.86-1.864l1.004-4.695 3.261.699A1.56 1.56 0 1 0 18.255 3c-.61-.001-1.147.357-1.398.877l-3.638-.77a.382.382 0 0 0-.287.053.348.348 0 0 0-.161.251l-1.112 5.233c-2.33.072-4.426.77-5.95 1.864a2.201 2.201 0 0 0-1.523-.61 2.184 2.184 0 0 0-.896 4.176c-.036.215-.053.43-.053.663 0 3.37 3.924 6.111 8.763 6.111s8.763-2.724 8.763-6.11c0-.216-.017-.449-.053-.664A2.207 2.207 0 0 0 22 12.068Zm-15.018 1.56a1.56 1.56 0 0 1 3.118 0c0 .86-.699 1.558-1.559 1.558-.86.018-1.559-.699-1.559-1.559Zm8.728 4.139c-1.076 1.075-3.119 1.147-3.71 1.147-.61 0-2.652-.09-3.71-1.147a.4.4 0 0 1 0-.573.4.4 0 0 1 .574 0c.68.68 2.114.914 3.136.914 1.022 0 2.473-.233 3.136-.914a.4.4 0 0 1 .574 0 .436.436 0 0 1 0 .573Zm-.287-2.563a1.56 1.56 0 0 1 0-3.118c.86 0 1.56.699 1.56 1.56 0 .841-.7 1.558-1.56 1.558Z"})}),VK={foreground:"#35465c",src:(0,Ie.jsx)(Te.SVG,{viewBox:"0 0 24 24",children:(0,Ie.jsx)(Te.Path,{d:"M19 3H5a2 2 0 00-2 2v14c0 1.1.9 2 2 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-5.69 14.66c-2.72 0-3.1-1.9-3.1-3.16v-3.56H8.49V8.99c1.7-.62 2.54-1.99 2.64-2.87 0-.06.06-.41.06-.58h1.9v3.1h2.17v2.3h-2.18v3.1c0 .47.13 1.3 1.2 1.26h1.1v2.36c-1.01.02-2.07 0-2.07 0z"})})},OK=(0,Ie.jsxs)(Te.SVG,{viewBox:"0 0 24 24",children:[(0,Ie.jsx)(Te.Path,{d:"M18.42 14.58c-.51-.66-1.05-1.23-1.05-2.5V7.87c0-1.8.15-3.45-1.2-4.68-1.05-1.02-2.79-1.35-4.14-1.35-2.6 0-5.52.96-6.12 4.14-.06.36.18.54.4.57l2.66.3c.24-.03.42-.27.48-.5.24-1.12 1.17-1.63 2.2-1.63.56 0 1.22.21 1.55.7.4.56.33 1.31.33 1.97v.36c-1.59.18-3.66.27-5.16.93a4.63 4.63 0 0 0-2.93 4.44c0 2.82 1.8 4.23 4.1 4.23 1.95 0 3.03-.45 4.53-1.98.51.72.66 1.08 1.59 1.83.18.09.45.09.63-.1v.04l2.1-1.8c.24-.21.2-.48.03-.75zm-5.4-1.2c-.45.75-1.14 1.23-1.92 1.23-1.05 0-1.65-.81-1.65-1.98 0-2.31 2.1-2.73 4.08-2.73v.6c0 1.05.03 1.92-.5 2.88z"}),(0,Ie.jsx)(Te.Path,{d:"M21.69 19.2a17.62 17.62 0 0 1-21.6-1.57c-.23-.2 0-.5.28-.33a23.88 23.88 0 0 0 20.93 1.3c.45-.19.84.3.39.6z"}),(0,Ie.jsx)(Te.Path,{d:"M22.8 17.96c-.36-.45-2.22-.2-3.1-.12-.23.03-.3-.18-.05-.36 1.5-1.05 3.96-.75 4.26-.39.3.36-.1 2.82-1.5 4.02-.21.18-.42.1-.3-.15.3-.8 1.02-2.58.69-3z"})]}),FK=(0,Ie.jsxs)(Te.SVG,{viewBox:"0 0 24 24",children:[(0,Ie.jsx)(Te.Path,{d:"m.0206909 21 19.8160091-13.07806 3.5831 6.20826z",fill:"#4bc7ee"}),(0,Ie.jsx)(Te.Path,{d:"m23.7254 19.0205-10.1074-17.18468c-.6421-1.114428-1.7087-1.114428-2.3249 0l-11.2931 19.16418h22.5655c1.279 0 1.8019-.8905 1.1599-1.9795z",fill:"#d4cdcb"}),(0,Ie.jsx)(Te.Path,{d:"m.0206909 21 15.2439091-16.38571 4.3029 7.32271z",fill:"#c3d82e"}),(0,Ie.jsx)(Te.Path,{d:"m13.618 1.83582c-.6421-1.114428-1.7087-1.114428-2.3249 0l-11.2931 19.16418 15.2646-16.38573z",fill:"#e4ecb0"}),(0,Ie.jsx)(Te.Path,{d:"m.0206909 21 19.5468091-9.063 1.6621 2.8344z",fill:"#209dbd"}),(0,Ie.jsx)(Te.Path,{d:"m.0206909 21 17.9209091-11.82623 1.6259 2.76323z",fill:"#7cb3c9"})]}),HK=(0,Ie.jsx)(Te.SVG,{viewBox:"0 0 24 24",children:(0,Ie.jsx)(Te.Path,{d:"M11.903 16.568c-1.82 0-3.124-1.281-3.124-2.967a2.987 2.987 0 0 1 2.989-2.989c1.663 0 2.944 1.304 2.944 3.034 0 1.663-1.281 2.922-2.81 2.922ZM17.997 3l-3.308.73v5.107c-.809-1.034-2.045-1.37-3.505-1.37-1.529 0-2.9.561-4.023 1.662-1.259 1.214-1.933 2.764-1.933 4.495 0 1.888.72 3.506 2.113 4.742 1.056.944 2.314 1.415 3.775 1.415 1.438 0 2.517-.382 3.573-1.415v1.415h3.308V3Z",fill:"#333436"})}),jK=(0,Ie.jsx)(Te.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1",children:(0,Ie.jsx)(Te.Path,{d:"M12.289,2C6.617,2,3.606,5.648,3.606,9.622c0,1.846,1.025,4.146,2.666,4.878c0.25,0.111,0.381,0.063,0.439-0.169 c0.044-0.175,0.267-1.029,0.365-1.428c0.032-0.128,0.017-0.237-0.091-0.362C6.445,11.911,6.01,10.75,6.01,9.668 c0-2.777,2.194-5.464,5.933-5.464c3.23,0,5.49,2.108,5.49,5.122c0,3.407-1.794,5.768-4.13,5.768c-1.291,0-2.257-1.021-1.948-2.277 c0.372-1.495,1.089-3.112,1.089-4.191c0-0.967-0.542-1.775-1.663-1.775c-1.319,0-2.379,1.309-2.379,3.059 c0,1.115,0.394,1.869,0.394,1.869s-1.302,5.279-1.54,6.261c-0.405,1.666,0.053,4.368,0.094,4.604 c0.021,0.126,0.167,0.169,0.25,0.063c0.129-0.165,1.699-2.419,2.142-4.051c0.158-0.59,0.817-2.995,0.817-2.995 c0.43,0.784,1.681,1.446,3.013,1.446c3.963,0,6.822-3.494,6.822-7.833C20.394,5.112,16.849,2,12.289,2"})}),UK=(0,Ie.jsx)(Te.SVG,{viewBox:"0 0 44 44",children:(0,Ie.jsx)(Te.Path,{d:"M32.59521,22.001l4.31885-4.84473-6.34131-1.38379.646-6.459-5.94336,2.61035L22,6.31934l-3.27344,5.60351L12.78418,9.3125l.645,6.458L7.08643,17.15234,11.40479,21.999,7.08594,26.84375l6.34131,1.38379-.64551,6.458,5.94287-2.60938L22,37.68066l3.27344-5.60351,5.94287,2.61035-.64551-6.458,6.34277-1.38183Zm.44385,2.75244L30.772,23.97827l-1.59558-2.07391,1.97888.735Zm-8.82147,6.1579L22.75,33.424V30.88977l1.52228-2.22168ZM18.56226,13.48816,19.819,15.09534l-2.49219-.88642L15.94037,12.337Zm6.87719.00116,2.62043-1.15027-1.38654,1.86981L24.183,15.0946Zm3.59357,2.6029-1.22546,1.7381.07525-2.73486,1.44507-1.94867ZM22,29.33008l-2.16406-3.15686L22,23.23688l2.16406,2.93634Zm-4.25458-9.582-.10528-3.836,3.60986,1.284v3.73242Zm5.00458-2.552,3.60986-1.284-.10528,3.836L22.75,20.92853Zm-7.78174-1.10559-.29352-2.94263,1.44245,1.94739.07519,2.73321Zm2.30982,5.08319,3.50817,1.18164-2.16247,2.9342-3.678-1.08447Zm2.4486,7.49285L21.25,30.88977v2.53485L19.78052,30.91Zm3.48707-6.31121,3.50817-1.18164,2.33228,3.03137-3.678,1.08447Zm10.87219-4.28113-2.714,3.04529L28.16418,19.928l1.92176-2.72565ZM24.06036,12.81769l-2.06012,2.6322-2.059-2.63318L22,9.292ZM9.91455,18.07227l4.00079-.87195,1.921,2.72735-3.20794,1.19019Zm2.93024,4.565,1.9801-.73462L13.228,23.97827l-2.26838.77429Zm-1.55591,3.58819L13.701,25.4021l2.64935.78058-2.14447.67853Zm3.64868,1.977L18.19,27.17334l.08313,3.46332L14.52979,32.2793Zm10.7876,2.43549.08447-3.464,3.25165,1.03052.407,4.07684Zm4.06824-3.77478-2.14545-.68,2.65063-.781,2.41266.825Z"})}),GK={foreground:"#f43e37",src:(0,Ie.jsxs)(Te.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,Ie.jsx)(Te.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M24,12A12,12,0,1,1,12,0,12,12,0,0,1,24,12Z"}),(0,Ie.jsx)(Te.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M2.67,12a9.33,9.33,0,0,1,18.66,0H19a7,7,0,1,0-7,7v2.33A9.33,9.33,0,0,1,2.67,12ZM12,17.6A5.6,5.6,0,1,1,17.6,12h-2A3.56,3.56,0,1,0,12,15.56Z",fill:"#fff"})]})},WK=(0,Ie.jsx)(Te.SVG,{viewBox:"0 0 24 24",children:(0,Ie.jsx)(Te.Path,{fill:"#0a7aff",d:"M6.3,4.2c2.3,1.7,4.8,5.3,5.7,7.2.9-1.9,3.4-5.4,5.7-7.2,1.7-1.3,4.3-2.2,4.3.9s-.4,5.2-.6,5.9c-.7,2.6-3.3,3.2-5.6,2.8,4,.7,5.1,3,2.9,5.3-5,5.2-6.7-2.8-6.7-2.8,0,0-1.7,8-6.7,2.8-2.2-2.3-1.2-4.6,2.9-5.3-2.3.4-4.9-.3-5.6-2.8-.2-.7-.6-5.3-.6-5.9,0-3.1,2.7-2.1,4.3-.9h0Z"})});var $K=n(O(),1),jL=n(y(),1),Wwe=()=>(0,jL.jsx)("div",{className:"wp-block-embed is-loading",children:(0,jL.jsx)($K.Spinner,{})}),qK=Wwe;var pc=n(N(),1),zp=n(O(),1),ZK=n(E(),1);var Ua=n(y(),1);function KK({icon:e,label:t,value:r,onSubmit:o,onChange:a,cannotEmbed:i,fallback:l,tryAgain:s}){return(0,Ua.jsxs)(zp.Placeholder,{icon:(0,Ua.jsx)(ZK.BlockIcon,{icon:e,showColors:!0}),label:t,className:"wp-block-embed",instructions:(0,pc.__)("Paste a link to the content you want to display on your site."),children:[(0,Ua.jsxs)("form",{onSubmit:o,children:[(0,Ua.jsx)(zp.__experimentalInputControl,{type:"url",value:r||"",className:"wp-block-embed__placeholder-input",label:t,hideLabelFromVision:!0,placeholder:(0,pc.__)("Enter URL to embed here\u2026"),onChange:a}),(0,Ua.jsx)(zp.Button,{__next40pxDefaultSize:!0,variant:"primary",type:"submit",children:(0,pc._x)("Embed","button label")})]}),(0,Ua.jsx)("div",{className:"wp-block-embed__learn-more",children:(0,Ua.jsx)(mu,{openInNewTab:!0,href:(0,pc.__)("https://wordpress.org/documentation/article/embeds/"),children:(0,pc.__)("Learn more about embeds")})}),i&&(0,Ua.jsxs)(kp,{direction:"column",gap:"md",className:"components-placeholder__error",children:[(0,Ua.jsx)("div",{className:"components-placeholder__instructions",children:(0,pc.__)("Sorry, this content could not be embedded.")}),(0,Ua.jsxs)(kp,{direction:"row",gap:"md",justify:"flex-start",children:[(0,Ua.jsx)(zp.Button,{__next40pxDefaultSize:!0,variant:"secondary",onClick:s,children:(0,pc._x)("Try again","button label")}),l&&(0,Ua.jsx)(zp.Button,{__next40pxDefaultSize:!0,variant:"secondary",onClick:l,children:(0,pc._x)("Convert to link","button label")})]})]})]})}var pg=n(N(),1),T3=n(O(),1),QK=n(E(),1),XK=n(H(),1),JK=n(ir(),1);var S3=n(ve(),1),ug=n(H(),1),UL=n(y(),1),$we={class:"className",frameborder:"frameBorder",marginheight:"marginHeight",marginwidth:"marginWidth"};function YK({html:e}){let t=(0,ug.useRef)(),r=(0,ug.useMemo)(()=>{let a=new window.DOMParser().parseFromString(e,"text/html").querySelector("iframe"),i={};return a&&Array.from(a.attributes).forEach(({name:l,value:s})=>{l!=="style"&&(i[$we[l]||l]=s)}),i},[e]);return(0,ug.useEffect)(()=>{let{ownerDocument:o}=t.current,{defaultView:a}=o;function i({data:{secret:l,message:s,value:c}={}}){s!=="height"||l!==r["data-secret"]||(t.current.height=c)}return a.addEventListener("message",i),()=>{a.removeEventListener("message",i)}},[]),(0,UL.jsx)("div",{className:"wp-block-embed__wrapper",children:(0,UL.jsx)("iframe",{ref:(0,S3.useMergeRefs)([t,(0,S3.useFocusableIframe)()]),title:r.title,...r})})}var Ga=n(y(),1);function eY({preview:e,previewable:t,url:r,type:o,isSelected:a,className:i,icon:l,label:s}){let[c,u]=(0,XK.useState)(!1);!a&&c&&u(!1);let p=()=>{u(!0)},{scripts:m}=e,d=o==="photo"?Gj(e):e.html,f=(0,JK.getAuthority)(r),h=(0,pg.sprintf)((0,pg.__)("Embedded content from %s"),f),g=S(o,i,"wp-block-embed__wrapper");return(0,Ga.jsx)(Ga.Fragment,{children:t?o==="wp-embed"?(0,Ga.jsx)(YK,{html:d}):(0,Ga.jsxs)("div",{className:"wp-block-embed__wrapper",children:[(0,Ga.jsx)(T3.SandBox,{allowSameOrigin:!0,html:d,scripts:m,title:h,type:g,onFocus:p}),!c&&(0,Ga.jsx)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:p})]}):(0,Ga.jsxs)(T3.Placeholder,{icon:(0,Ga.jsx)(QK.BlockIcon,{icon:l,showColors:!0}),label:s,children:[(0,Ga.jsx)("p",{className:"components-placeholder__error",children:(0,Ga.jsx)("a",{href:r,children:r})}),(0,Ga.jsx)("p",{className:"components-placeholder__error",children:(0,pg.sprintf)((0,pg.__)("Embedded content from %s can't be previewed in the editor."),f)})]})})}var Pi=n(y(),1),qwe=e=>{let{attributes:{providerNameSlug:t,previewable:r,responsive:o,url:a},attributes:i,isSelected:l,onReplace:s,setAttributes:c,insertBlocksAfter:u,onFocus:p}=e,m={title:(0,qd._x)("Embed","block title"),icon:fs},{icon:d,title:f}=jj(t)||m,[h,g]=(0,mg.useState)(a),[v,b]=(0,mg.useState)(!1),{invalidateResolution:_}=(0,Db.useDispatch)(GL.store),{__unstableMarkNextChangeAsNotPersistent:k}=(0,Db.useDispatch)(P3.store),{preview:x,fetching:w,themeSupportsResponsive:C,cannotEmbed:P,hasResolved:B}=(0,Db.useSelect)(V=>{let{getEmbedPreview:Q,isPreviewEmbedFallback:Y,isRequestingEmbedPreview:ee,getThemeSupports:te,hasFinishedResolution:ae}=V(GL.store);if(!a)return{fetching:!1,cannotEmbed:!1};let J=Q(a),ce=Y(a),ie=J?.html===!1&&J?.type===void 0,we=J?.data?.status===404,se=!!J&&!ie&&!we;return{preview:se?J:void 0,fetching:ee(a),themeSupportsResponsive:te()["responsive-embeds"],cannotEmbed:!se||ce,hasResolved:ae("getEmbedPreview",[a])}},[a]),I=()=>$j(i,x,f,o);function D(V){let{className:Q}=i,{html:Y}=x;c({allowResponsive:V,className:BI(Y,Q,o&&V)})}(0,mg.useEffect)(()=>{if(!P||!B||!a)return;let V=a.replace(/\/$/,"");V!==a&&(g(V),b(!1),k(),c({url:V}))},[a,P,B,c,k]),(0,mg.useEffect)(()=>{if(!x||v)return;let V=I();if(s){let Y=vp(e,V);if(Y){k(),c(Y.attributes);return}}Object.keys(V).some(Y=>V[Y]!==i[Y])&&(k(),c(V))},[x,v]);let T=(0,P3.useBlockProps)();if(w)return(0,Pi.jsx)("div",{...T,children:(0,Pi.jsx)(qK,{})});let L=(0,qd.sprintf)((0,qd.__)("%s URL"),f);if(!x||P||v)return(0,Pi.jsx)("div",{...T,children:(0,Pi.jsx)(KK,{icon:d,label:L,onFocus:p,onSubmit:V=>{V&&V.preventDefault();let Q=$v(h),Y=gp(i.className);g(Q),c({url:Q,...Eh(Q)?.attributes,className:Y}),b(!1)},value:h,cannotEmbed:P,onChange:V=>g(V),fallback:s?()=>Wj(h,s):void 0,tryAgain:()=>{_("getEmbedPreview",[h])}})});let{caption:z,type:j,allowResponsive:G,className:W}=I(),$=S(W,e.className);return(0,Pi.jsxs)(Pi.Fragment,{children:[(0,Pi.jsx)(EK,{showEditButton:x&&!P,themeSupportsResponsive:C,blockSupportsResponsive:o,allowResponsive:G,toggleResponsive:D,switchBackToURLInput:()=>b(!0)}),(0,Pi.jsxs)("figure",{...T,className:S(T.className,$,{[`is-type-${j}`]:j,[`is-provider-${t}`]:t,[`wp-block-embed-${t}`]:t}),children:[(0,Pi.jsx)(eY,{preview:x,previewable:r,className:$,url:h,type:j,caption:z,onCaptionChange:V=>c({caption:V}),isSelected:l,icon:d,label:L,insertBlocksAfter:u,attributes:i,setAttributes:c}),(0,Pi.jsx)(Ao,{attributes:i,setAttributes:c,isSelected:l,insertBlocksAfter:u,label:(0,qd.__)("Embed caption text"),showToolbarButton:l})]})]})},tY=qwe;var Zd=n(E(),1),Lb=n(y(),1);function rY({attributes:e}){let{url:t,caption:r,type:o,providerNameSlug:a}=e;if(!t)return null;let i=S("wp-block-embed",{[`is-type-${o}`]:o,[`is-provider-${a}`]:a,[`wp-block-embed-${a}`]:a});return(0,Lb.jsxs)("figure",{...Zd.useBlockProps.save({className:i}),children:[(0,Lb.jsx)("div",{className:"wp-block-embed__wrapper",children:`
${t}
`}),!Zd.RichText.isEmpty(r)&&(0,Lb.jsx)(Zd.RichText.Content,{className:(0,Zd.__experimentalGetElementClassName)("caption"),tagName:"figcaption",value:r})]})}var E3=n(q(),1),B3=n(ir(),1);var{name:oY}=Xs,Zwe={from:[{type:"raw",isMatch:e=>{if(e.nodeName!=="P")return!1;let t=e.textContent.trim();return!(0,B3.isURL)(t)||!/^https:\/\//i.test(t)||t.match(/https:\/\//gi)?.length!==1?!1:!/\.(?!(html?|php)$)[a-z0-9]+$/i.test((0,B3.getFilename)(t)||"")},transform:e=>{let t=$v(e.textContent.trim());return(0,E3.createBlock)(oY,{url:t,...Eh(t)?.attributes})}},{type:"shortcode",tag:"embed",transform:(e,{shortcode:t})=>{let r=$v(t.content?.trim());return(0,E3.createBlock)(oY,{url:r,...Eh(r)?.attributes})}}],to:[{type:"block",blocks:["core/paragraph"],isMatch:({url:e})=>!!e,transform:({url:e,caption:t,className:r})=>{let o=`<a href="${e}">${e}</a>`;return t?.trim()&&(o+=`<br />${t}`),(0,E3.createBlock)("core/paragraph",{content:o,className:gp(r)})}}]},nY=Zwe;var ke=n(N(),1);function xt(e){return(0,ke.sprintf)((0,ke.__)("%s Embed"),e)}var aY=[{name:"twitter",title:xt("X"),icon:BK,keywords:["x","twitter","tweet",(0,ke.__)("social")],description:(0,ke.__)("Embed an X post."),patterns:[/^https?:\/\/(www\.)?twitter\.com\/.+/i],attributes:{providerNameSlug:"twitter",responsive:!0}},{name:"youtube",title:xt("YouTube"),icon:NK,keywords:[(0,ke.__)("music"),(0,ke.__)("video")],description:(0,ke.__)("Embed a YouTube video."),patterns:[/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i,/^https?:\/\/youtu\.be\/.+/i],attributes:{providerNameSlug:"youtube",responsive:!0}},{name:"facebook",title:xt("Facebook"),icon:IK,keywords:[(0,ke.__)("social")],description:(0,ke.__)("Embed a Facebook post."),scope:["block"],patterns:[],attributes:{providerNameSlug:"facebook",previewable:!1,responsive:!0}},{name:"instagram",title:xt("Instagram"),icon:DK,keywords:[(0,ke.__)("image"),(0,ke.__)("social")],description:(0,ke.__)("Embed an Instagram post."),scope:["block"],patterns:[],attributes:{providerNameSlug:"instagram",responsive:!0}},{name:"wordpress",title:xt("WordPress"),icon:LK,keywords:[(0,ke.__)("post"),(0,ke.__)("blog")],description:(0,ke.__)("Embed a WordPress post."),attributes:{providerNameSlug:"wordpress"}},{name:"soundcloud",title:xt("SoundCloud"),icon:C3,keywords:[(0,ke.__)("music"),(0,ke.__)("audio")],description:(0,ke.__)("Embed SoundCloud content."),patterns:[/^https?:\/\/(www\.)?soundcloud\.com\/.+/i],attributes:{providerNameSlug:"soundcloud",responsive:!0}},{name:"spotify",title:xt("Spotify"),icon:RK,keywords:[(0,ke.__)("music"),(0,ke.__)("audio")],description:(0,ke.__)("Embed Spotify content."),patterns:[/^https?:\/\/(open|play)\.spotify\.com\/.+/i],attributes:{providerNameSlug:"spotify",responsive:!0}},{name:"flickr",title:xt("Flickr"),icon:AK,keywords:[(0,ke.__)("image")],description:(0,ke.__)("Embed Flickr content."),patterns:[/^https?:\/\/(www\.)?flickr\.com\/.+/i,/^https?:\/\/flic\.kr\/.+/i],attributes:{providerNameSlug:"flickr",responsive:!0}},{name:"vimeo",title:xt("Vimeo"),icon:MK,keywords:[(0,ke.__)("video")],description:(0,ke.__)("Embed a Vimeo video."),patterns:[/^https?:\/\/(www\.)?vimeo\.com\/.+/i],attributes:{providerNameSlug:"vimeo",responsive:!0}},{name:"animoto",title:xt("Animoto"),icon:FK,description:(0,ke.__)("Embed an Animoto video."),patterns:[/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i],attributes:{providerNameSlug:"animoto",responsive:!0}},{name:"cloudup",title:xt("Cloudup"),icon:fs,description:(0,ke.__)("Embed Cloudup content."),patterns:[/^https?:\/\/cloudup\.com\/.+/i],attributes:{providerNameSlug:"cloudup",responsive:!0}},{name:"collegehumor",title:xt("CollegeHumor"),icon:cg,description:(0,ke.__)("Embed CollegeHumor content."),scope:["block"],patterns:[],attributes:{providerNameSlug:"collegehumor",responsive:!0}},{name:"crowdsignal",title:xt("Crowdsignal"),icon:fs,keywords:["polldaddy",(0,ke.__)("survey")],description:(0,ke.__)("Embed Crowdsignal (formerly Polldaddy) content."),patterns:[/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.crowdsignal\.net|.+\.survey\.fm)\/.+/i],attributes:{providerNameSlug:"crowdsignal",responsive:!0}},{name:"dailymotion",title:xt("Dailymotion"),icon:HK,keywords:[(0,ke.__)("video")],description:(0,ke.__)("Embed a Dailymotion video."),patterns:[/^https?:\/\/(www\.)?dailymotion\.com\/.+/i],attributes:{providerNameSlug:"dailymotion",responsive:!0}},{name:"imgur",title:xt("Imgur"),icon:HL,description:(0,ke.__)("Embed Imgur content."),patterns:[/^https?:\/\/(.+\.)?imgur\.com\/.+/i],attributes:{providerNameSlug:"imgur",responsive:!0}},{name:"issuu",title:xt("Issuu"),icon:fs,description:(0,ke.__)("Embed Issuu content."),patterns:[/^https?:\/\/(www\.)?issuu\.com\/.+/i],attributes:{providerNameSlug:"issuu",responsive:!0}},{name:"kickstarter",title:xt("Kickstarter"),icon:fs,description:(0,ke.__)("Embed Kickstarter content."),patterns:[/^https?:\/\/(www\.)?kickstarter\.com\/.+/i,/^https?:\/\/kck\.st\/.+/i],attributes:{providerNameSlug:"kickstarter",responsive:!0}},{name:"mixcloud",title:xt("Mixcloud"),icon:C3,keywords:[(0,ke.__)("music"),(0,ke.__)("audio")],description:(0,ke.__)("Embed Mixcloud content."),patterns:[/^https?:\/\/(www\.)?mixcloud\.com\/.+/i],attributes:{providerNameSlug:"mixcloud",responsive:!0}},{name:"pocket-casts",title:xt("Pocket Casts"),icon:GK,keywords:[(0,ke.__)("podcast"),(0,ke.__)("audio")],description:(0,ke.__)("Embed a podcast player from Pocket Casts."),patterns:[/^https:\/\/pca.st\/\w+/i],attributes:{providerNameSlug:"pocket-casts",responsive:!0}},{name:"reddit",title:xt("Reddit"),icon:zK,description:(0,ke.__)("Embed a Reddit thread."),patterns:[/^https?:\/\/(www\.)?reddit\.com\/.+/i],attributes:{providerNameSlug:"reddit",responsive:!0}},{name:"reverbnation",title:xt("ReverbNation"),icon:C3,description:(0,ke.__)("Embed ReverbNation content."),patterns:[/^https?:\/\/(www\.)?reverbnation\.com\/.+/i],attributes:{providerNameSlug:"reverbnation",responsive:!0}},{name:"scribd",title:xt("Scribd"),icon:fs,description:(0,ke.__)("Embed Scribd content."),patterns:[/^https?:\/\/(www\.)?scribd\.com\/.+/i],attributes:{providerNameSlug:"scribd",responsive:!0}},{name:"smugmug",title:xt("SmugMug"),icon:HL,description:(0,ke.__)("Embed SmugMug content."),patterns:[/^https?:\/\/(.+\.)?smugmug\.com\/.*/i],attributes:{providerNameSlug:"smugmug",previewable:!1,responsive:!0}},{name:"speaker-deck",title:xt("Speaker Deck"),icon:fs,description:(0,ke.__)("Embed Speaker Deck content."),patterns:[/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i],attributes:{providerNameSlug:"speaker-deck",responsive:!0}},{name:"tiktok",title:xt("TikTok"),icon:cg,keywords:[(0,ke.__)("video")],description:(0,ke.__)("Embed a TikTok video."),patterns:[/^https?:\/\/(www\.)?tiktok\.com\/.+/i],attributes:{providerNameSlug:"tiktok",responsive:!0}},{name:"ted",title:xt("TED"),icon:cg,description:(0,ke.__)("Embed a TED video."),patterns:[/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i],attributes:{providerNameSlug:"ted",responsive:!0}},{name:"tumblr",title:xt("Tumblr"),icon:VK,keywords:[(0,ke.__)("social")],description:(0,ke.__)("Embed a Tumblr post."),patterns:[/^https?:\/\/(.+)\.tumblr\.com\/.+/i],attributes:{providerNameSlug:"tumblr",responsive:!0}},{name:"videopress",title:xt("VideoPress"),icon:cg,keywords:[(0,ke.__)("video")],description:(0,ke.__)("Embed a VideoPress video."),patterns:[/^https?:\/\/videopress\.com\/.+/i],attributes:{providerNameSlug:"videopress",responsive:!0}},{name:"wordpress-tv",title:xt("WordPress.tv"),icon:cg,description:(0,ke.__)("Embed a WordPress.tv video."),patterns:[/^https?:\/\/wordpress\.tv\/.+/i],attributes:{providerNameSlug:"wordpress-tv",responsive:!0}},{name:"amazon-kindle",title:xt("Amazon Kindle"),icon:OK,keywords:[(0,ke.__)("ebook")],description:(0,ke.__)("Embed Amazon Kindle content."),patterns:[/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i,/^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i],attributes:{providerNameSlug:"amazon-kindle"}},{name:"pinterest",title:xt("Pinterest"),icon:jK,keywords:[(0,ke.__)("social"),(0,ke.__)("bookmark")],description:(0,ke.__)("Embed Pinterest pins, boards, and profiles."),patterns:[/^https?:\/\/([a-z]{2}|www)\.pinterest\.com(\.(au|mx))?\/.*/i],attributes:{providerNameSlug:"pinterest"}},{name:"wolfram-cloud",title:xt("Wolfram"),icon:UK,description:(0,ke.__)("Embed Wolfram notebook content."),patterns:[/^https?:\/\/(www\.)?wolframcloud\.com\/obj\/.+/i],attributes:{providerNameSlug:"wolfram-cloud",responsive:!0}},{name:"bluesky",title:xt("Bluesky"),icon:WK,description:(0,ke.__)("Embed a Bluesky post."),patterns:[/^https?:\/\/bsky\.app\/profile\/.+\/post\/.+/i],attributes:{providerNameSlug:"bluesky"}}];aY.forEach(e=>{e.isActive||(e.isActive=(t,r)=>t.providerNameSlug===r.providerNameSlug)});var iY=aY;var Kd=n(E(),1),Yd=n(y(),1),{attributes:lY}=Xs,Kwe={attributes:lY,save({attributes:e}){let{url:t,caption:r,type:o,providerNameSlug:a}=e;if(!t)return null;let i=S("wp-block-embed",{[`is-type-${o}`]:o,[`is-provider-${a}`]:a,[`wp-block-embed-${a}`]:a});return(0,Yd.jsxs)("figure",{...Kd.useBlockProps.save({className:i}),children:[(0,Yd.jsx)("div",{className:"wp-block-embed__wrapper",children:`
${t}
`}),!Kd.RichText.isEmpty(r)&&(0,Yd.jsx)(Kd.RichText.Content,{tagName:"figcaption",value:r})]})}},Ywe={attributes:lY,save({attributes:{url:e,caption:t,type:r,providerNameSlug:o}}){if(!e)return null;let a=S("wp-block-embed",{[`is-type-${r}`]:r,[`is-provider-${o}`]:o});return(0,Yd.jsxs)("figure",{className:a,children:[`
${e}
`,!Kd.RichText.isEmpty(t)&&(0,Yd.jsx)(Kd.RichText.Content,{tagName:"figcaption",value:t})]})}},Qwe=[Kwe,Ywe],sY=Qwe;var{name:cY}=Xs,uY={icon:fs,edit:tY,save:rY,transforms:nY,variations:iY,deprecated:sY},Xwe=()=>A({name:cY,metadata:Xs,settings:uY});var YL={};K(YL,{init:()=>u3e,metadata:()=>I3,name:()=>IY,settings:()=>D3});var hg=n(N(),1);var NY=n(q(),1);var Co=n(E(),1),hs=n(N(),1),Xt=n(y(),1),Jwe={attributes:{id:{type:"number"},href:{type:"string"},fileId:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"id"},fileName:{type:"string",source:"html",selector:"a:not([download])"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"string",source:"html",selector:"a[download]"},displayPreview:{type:"boolean"},previewHeight:{type:"number",default:600}},supports:{anchor:!0,align:!0},save({attributes:e}){let{href:t,fileId:r,fileName:o,textLinkHref:a,textLinkTarget:i,showDownloadButton:l,downloadButtonText:s,displayPreview:c,previewHeight:u}=e,p=Co.RichText.isEmpty(o)?(0,hs.__)("PDF embed"):(0,hs.sprintf)((0,hs.__)("Embed of %s."),o),m=!Co.RichText.isEmpty(o),d=m?r:void 0;return t&&(0,Xt.jsxs)("div",{...Co.useBlockProps.save(),children:[c&&(0,Xt.jsx)(Xt.Fragment,{children:(0,Xt.jsx)("object",{className:"wp-block-file__embed",data:t,type:"application/pdf",style:{width:"100%",height:`${u}px`},"aria-label":p})}),m&&(0,Xt.jsx)("a",{id:d,href:a,target:i,rel:i?"noreferrer noopener":void 0,children:(0,Xt.jsx)(Co.RichText.Content,{value:o})}),l&&(0,Xt.jsx)("a",{href:t,className:S("wp-block-file__button",(0,Co.__experimentalGetElementClassName)("button")),download:!0,"aria-describedby":d,children:(0,Xt.jsx)(Co.RichText.Content,{value:s})})]})}},e3e={attributes:{id:{type:"number"},href:{type:"string"},fileId:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"id"},fileName:{type:"string",source:"html",selector:"a:not([download])"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"string",source:"html",selector:"a[download]"},displayPreview:{type:"boolean"},previewHeight:{type:"number",default:600}},supports:{anchor:!0,align:!0},save({attributes:e}){let{href:t,fileId:r,fileName:o,textLinkHref:a,textLinkTarget:i,showDownloadButton:l,downloadButtonText:s,displayPreview:c,previewHeight:u}=e,p=Co.RichText.isEmpty(o)?(0,hs.__)("PDF embed"):(0,hs.sprintf)((0,hs.__)("Embed of %s."),o),m=!Co.RichText.isEmpty(o),d=m?r:void 0;return t&&(0,Xt.jsxs)("div",{...Co.useBlockProps.save(),children:[c&&(0,Xt.jsx)(Xt.Fragment,{children:(0,Xt.jsx)("object",{className:"wp-block-file__embed",data:t,type:"application/pdf",style:{width:"100%",height:`${u}px`},"aria-label":p})}),m&&(0,Xt.jsx)("a",{id:d,href:a,target:i,rel:i?"noreferrer noopener":void 0,children:(0,Xt.jsx)(Co.RichText.Content,{value:o})}),l&&(0,Xt.jsx)("a",{href:t,className:"wp-block-file__button",download:!0,"aria-describedby":d,children:(0,Xt.jsx)(Co.RichText.Content,{value:s})})]})}},t3e={attributes:{id:{type:"number"},href:{type:"string"},fileName:{type:"string",source:"html",selector:"a:not([download])"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"string",source:"html",selector:"a[download]"},displayPreview:{type:"boolean"},previewHeight:{type:"number",default:600}},supports:{anchor:!0,align:!0},save({attributes:e}){let{href:t,fileName:r,textLinkHref:o,textLinkTarget:a,showDownloadButton:i,downloadButtonText:l,displayPreview:s,previewHeight:c}=e,u=Co.RichText.isEmpty(r)?(0,hs.__)("PDF embed"):(0,hs.sprintf)((0,hs.__)("Embed of %s."),r);return t&&(0,Xt.jsxs)("div",{...Co.useBlockProps.save(),children:[s&&(0,Xt.jsx)(Xt.Fragment,{children:(0,Xt.jsx)("object",{className:"wp-block-file__embed",data:t,type:"application/pdf",style:{width:"100%",height:`${c}px`},"aria-label":u})}),!Co.RichText.isEmpty(r)&&(0,Xt.jsx)("a",{href:o,target:a,rel:a?"noreferrer noopener":void 0,children:(0,Xt.jsx)(Co.RichText.Content,{value:r})}),i&&(0,Xt.jsx)("a",{href:t,className:"wp-block-file__button",download:!0,children:(0,Xt.jsx)(Co.RichText.Content,{value:l})})]})}},r3e=[Jwe,e3e,t3e],pY=r3e;var qL=n(Ar(),1),fg=n(O(),1),dg=n(F(),1),sn=n(E(),1),gY=n(H(),1),vY=n(ve(),1),wu=n(N(),1);var bY=n(re(),1),ZL=n(Sr(),1),yY=n(ir(),1);var an=n(N(),1),ln=n(O(),1),mY=n(E(),1);var zo=n(y(),1);function dY({hrefs:e,openInNewWindow:t,showDownloadButton:r,changeLinkDestinationOption:o,changeOpenInNewWindow:a,changeShowDownloadButton:i,displayPreview:l,changeDisplayPreview:s,previewHeight:c,changePreviewHeight:u}){let{href:p,textLinkHref:m,attachmentPage:d}=e,f=Z(),h=[{value:p,label:(0,an.__)("URL")}];return d&&(h=[{value:p,label:(0,an.__)("Media file")},{value:d,label:(0,an.__)("Attachment page")}]),(0,zo.jsx)(zo.Fragment,{children:(0,zo.jsxs)(mY.InspectorControls,{children:[p.endsWith(".pdf")&&(0,zo.jsxs)(ln.__experimentalToolsPanel,{label:(0,an.__)("PDF settings"),resetAll:()=>{s(!0),u(600)},dropdownMenuProps:f,children:[(0,zo.jsx)(ln.__experimentalToolsPanelItem,{label:(0,an.__)("Show inline embed"),isShownByDefault:!0,hasValue:()=>!l,onDeselect:()=>s(!0),children:(0,zo.jsx)(ln.ToggleControl,{label:(0,an.__)("Show inline embed"),help:l?(0,an.__)("Note: Most phone and tablet browsers won't display embedded PDFs."):null,checked:!!l,onChange:s})}),l&&(0,zo.jsx)(ln.__experimentalToolsPanelItem,{label:(0,an.__)("Height in pixels"),isShownByDefault:!0,hasValue:()=>c!==600,onDeselect:()=>u(600),children:(0,zo.jsx)(ln.RangeControl,{label:(0,an.__)("Height in pixels"),min:N3,max:Math.max($L,c),value:c,onChange:u})})]}),(0,zo.jsxs)(ln.__experimentalToolsPanel,{label:(0,an.__)("Settings"),resetAll:()=>{o(p),a(!1),i(!0)},dropdownMenuProps:f,children:[(0,zo.jsx)(ln.__experimentalToolsPanelItem,{label:(0,an.__)("Link to"),isShownByDefault:!0,hasValue:()=>m!==p,onDeselect:()=>o(p),children:(0,zo.jsx)(ln.SelectControl,{label:(0,an.__)("Link to"),value:m,options:h,onChange:o})}),(0,zo.jsx)(ln.__experimentalToolsPanelItem,{label:(0,an.__)("Open in new tab"),isShownByDefault:!0,hasValue:()=>!!t,onDeselect:()=>a(!1),children:(0,zo.jsx)(ln.ToggleControl,{label:(0,an.__)("Open in new tab"),checked:t,onChange:a})}),(0,zo.jsx)(ln.__experimentalToolsPanelItem,{label:(0,an.__)("Show download button"),isShownByDefault:!0,hasValue:()=>!r,onDeselect:()=>i(!0),children:(0,zo.jsx)(ln.ToggleControl,{label:(0,an.__)("Show download button"),checked:r,onChange:i})})]})]})})}var hY=()=>window.navigator.pdfViewerEnabled?!0:!(window.navigator.userAgent.indexOf("Mobi")>-1||window.navigator.userAgent.indexOf("Android")>-1||window.navigator.userAgent.indexOf("Macintosh")>-1&&window.navigator.maxTouchPoints&&window.navigator.maxTouchPoints>2||(window.ActiveXObject||"ActiveXObject"in window)&&!(fY("AcroPDF.PDF")||fY("PDF.PdfCtrl"))),fY=e=>{let t;try{t=new window.ActiveXObject(e)}catch{t=void 0}return t};var Yr=n(y(),1),N3=200,$L=2e3;function o3e({text:e,disabled:t}){let{createNotice:r}=(0,dg.useDispatch)(ZL.store),o=(0,vY.useCopyToClipboard)(e,()=>{r("info",(0,wu.__)("Copied URL to clipboard."),{isDismissible:!0,type:"snackbar"})});return(0,Yr.jsx)(fg.ToolbarButton,{className:"components-clipboard-toolbar-button",ref:o,disabled:t,children:(0,wu.__)("Copy URL")})}function n3e({attributes:e,isSelected:t,setAttributes:r,clientId:o}){let{id:a,fileName:i,href:l,textLinkHref:s,textLinkTarget:c,showDownloadButton:u,downloadButtonText:p,displayPreview:m,previewHeight:d}=e,[f,h]=(0,gY.useState)(e.blob),{media:g}=(0,dg.useSelect)(R=>({media:a?R(bY.store).getEntityRecord("postType","attachment",a,{context:"view"}):void 0}),[a]),{createErrorNotice:v}=(0,dg.useDispatch)(ZL.store),{toggleSelection:b}=(0,dg.useDispatch)(sn.store);Ys({url:f,onChange:_,onError:k});function _(R){if(!R||!R.url){r({href:void 0,fileName:void 0,textLinkHref:void 0,id:void 0,fileId:void 0,displayPreview:void 0,previewHeight:void 0}),h();return}if((0,qL.isBlobURL)(R.url)){h(R.url);return}let z=(R.mime||R.mime_type)==="application/pdf"||(0,yY.getFilename)(R.url).toLowerCase().endsWith(".pdf"),j={displayPreview:z?e.displayPreview??!0:void 0,previewHeight:z?e.previewHeight??600:void 0};r({href:R.url,fileName:R.title,textLinkHref:R.url,id:R.id,fileId:`wp-block-file--media-${o}`,blob:void 0,...j}),h()}function k(R){r({href:void 0}),v(R,{type:"snackbar"})}function x(R){r({textLinkHref:R})}function w(R){r({textLinkTarget:R?"_blank":!1})}function C(R){r({showDownloadButton:R})}function P(R){r({displayPreview:R})}function B(R,z,j,G){b(!0);let W=parseInt(d+G.height,10);r({previewHeight:W})}function I(R){let z=Math.max(parseInt(R,10),N3);r({previewHeight:z})}let D=g&&g.link,T=(0,sn.useBlockProps)({className:S(!!f&&(0,fg.__unstableGetAnimateClassName)({type:"loading"}),{"is-transient":!!f})}),L=hY()&&m;return!l&&!f?(0,Yr.jsx)("div",{...T,children:(0,Yr.jsx)(sn.MediaPlaceholder,{icon:(0,Yr.jsx)(sn.BlockIcon,{icon:tv}),labels:{title:(0,wu.__)("File"),instructions:(0,wu.__)("Drag and drop a file, upload, or choose from your library.")},onSelect:_,onError:k,accept:"*"})}):(0,Yr.jsxs)(Yr.Fragment,{children:[(0,Yr.jsx)(dY,{hrefs:{href:l||f,textLinkHref:s,attachmentPage:D},openInNewWindow:!!c,showDownloadButton:u,changeLinkDestinationOption:x,changeOpenInNewWindow:w,changeShowDownloadButton:C,displayPreview:m,changeDisplayPreview:P,previewHeight:d,changePreviewHeight:I}),(0,Yr.jsxs)(sn.BlockControls,{group:"other",children:[(0,Yr.jsx)(sn.MediaReplaceFlow,{mediaId:a,mediaURL:l,accept:"*",onSelect:_,onError:k,onReset:()=>_(void 0)}),(0,Yr.jsx)(o3e,{text:l,disabled:(0,qL.isBlobURL)(l)})]}),(0,Yr.jsxs)("div",{...T,children:[L&&(0,Yr.jsxs)(fg.ResizableBox,{size:{height:d,width:"100%"},minHeight:N3,maxHeight:$L,grid:[1,10],enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:()=>b(!1),onResizeStop:B,showHandle:t,children:[(0,Yr.jsx)("object",{className:"wp-block-file__preview",data:l,type:"application/pdf","aria-label":(0,wu.__)("Embed of the selected PDF file.")}),!t&&(0,Yr.jsx)("div",{className:"wp-block-file__preview-overlay"})]}),(0,Yr.jsxs)("div",{className:"wp-block-file__content-wrapper",children:[(0,Yr.jsx)(sn.RichText,{identifier:"fileName",tagName:"a",value:i,placeholder:(0,wu.__)("Write file name\u2026"),withoutInteractiveFormatting:!0,onChange:R=>r({fileName:pb(R)}),href:s}),u&&(0,Yr.jsx)("div",{className:"wp-block-file__button-richtext-wrapper",children:(0,Yr.jsx)(sn.RichText,{identifier:"downloadButtonText",tagName:"div","aria-label":(0,wu.__)("Download button text"),className:S("wp-block-file__button",(0,sn.__experimentalGetElementClassName)("button")),value:p,withoutInteractiveFormatting:!0,placeholder:(0,wu.__)("Add text\u2026"),onChange:R=>r({downloadButtonText:pb(R)})})})]})]})]})}var _Y=n3e;var I3={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/file",title:"File",category:"media",description:"Add a link to a downloadable file.",keywords:["document","pdf","download"],textdomain:"default",attributes:{id:{type:"number"},blob:{type:"string",role:"local"},href:{type:"string",role:"content"},fileId:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"id"},fileName:{type:"rich-text",source:"rich-text",selector:"a:not([download])",role:"content"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href",role:"content"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"rich-text",source:"rich-text",selector:"a[download]",role:"content"},displayPreview:{type:"boolean"},previewHeight:{type:"number",default:600}},supports:{anchor:!0,align:!0,spacing:{margin:!0,padding:!0},color:{gradients:!0,link:!0,text:!1,__experimentalDefaultControls:{background:!0,link:!0}},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}},interactivity:!0},editorStyle:"wp-block-file-editor",style:"wp-block-file"};var Cu=n(E(),1),gs=n(y(),1);function xY({attributes:e}){let{href:t,fileId:r,fileName:o,textLinkHref:a,textLinkTarget:i,showDownloadButton:l,downloadButtonText:s,displayPreview:c,previewHeight:u}=e,p=Cu.RichText.isEmpty(o)?"PDF embed":o.toString(),m=!Cu.RichText.isEmpty(o),d=m?r:void 0;return t&&(0,gs.jsxs)("div",{...Cu.useBlockProps.save(),children:[c&&(0,gs.jsx)(gs.Fragment,{children:(0,gs.jsx)("object",{className:"wp-block-file__embed",data:t,type:"application/pdf",style:{width:"100%",height:`${u}px`},"aria-label":p})}),m&&(0,gs.jsx)("a",{id:d,href:a,target:i,rel:i?"noreferrer noopener":void 0,children:(0,gs.jsx)(Cu.RichText.Content,{value:o})}),l&&(0,gs.jsx)("a",{href:t,className:S("wp-block-file__button",(0,Cu.__experimentalGetElementClassName)("button")),download:!0,"aria-describedby":d,children:(0,gs.jsx)(Cu.RichText.Content,{value:s})})]})}var Rb=n(Ar(),1),Qd=n(q(),1),wY=n(F(),1),CY=n(re(),1),SY=n(N(),1),TY=n(ir(),1),kY=(0,SY._x)("Download","button label"),KL=(e,t,r)=>({type:"block",blocks:[e],isMatch:({id:o})=>{if(!o)return!1;let{getEntityRecord:a}=(0,wY.select)(CY.store),i=a("postType","attachment",o,{context:"view"});return!!i&&i.mime_type.includes(t)},transform:o=>(0,Qd.createBlock)(e,{[r]:o.href,caption:o.fileName,id:o.id,anchor:o.anchor})}),i3e={from:[{type:"files",isMatch(e){return e.length>0},priority:15,transform:e=>{let t=[];return e.forEach(r=>{let o=(0,Rb.createBlobURL)(r);r.type.startsWith("video/")?t.push((0,Qd.createBlock)("core/video",{blob:(0,Rb.createBlobURL)(r)})):r.type.startsWith("image/")?t.push((0,Qd.createBlock)("core/image",{blob:(0,Rb.createBlobURL)(r)})):r.type.startsWith("audio/")?t.push((0,Qd.createBlock)("core/audio",{blob:(0,Rb.createBlobURL)(r)})):t.push((0,Qd.createBlock)("core/file",{blob:o,fileName:r.name,downloadButtonText:kY}))}),t}},{type:"block",blocks:["core/audio","core/video","core/image"],transform:e=>{let t=e.src??e.url;return(0,Qd.createBlock)("core/file",{href:t,fileName:e.caption||(0,TY.getFilename)(t),textLinkHref:t,id:e.id,anchor:e.anchor,downloadButtonText:kY})}}],to:[KL("core/audio","audio","src"),KL("core/video","video","src"),KL("core/image","image","url")]},PY=i3e;var EY=n(N(),1),l3e=[{name:"default",isDefault:!0,attributes:{downloadButtonText:(0,EY._x)("Download","button label")}}],BY=l3e;var{fieldsKey:s3e,formKey:c3e}=U(NY.privateApis),{name:IY}=I3,D3={icon:tv,example:{attributes:{href:"https://upload.wikimedia.org/wikipedia/commons/d/dd/Armstrong_Small_Step.ogg",fileName:(0,hg._x)("Armstrong_Small_Step","Name of the file")}},transforms:PY,deprecated:pY,edit:_Y,save:xY,variations:BY};window.__experimentalContentOnlyInspectorFields&&(D3[s3e]=[{id:"file",label:(0,hg.__)("File"),type:"media",Edit:{control:"media",allowedTypes:[],multiple:!1},getValue:({item:e})=>({id:e.id,url:e.href}),setValue:({value:e})=>({id:e.id,href:e.url})},{id:"fileName",label:(0,hg.__)("Filename"),type:"text",Edit:"rich-text"},{id:"downloadButtonText",label:(0,hg.__)("Button Text"),type:"text",Edit:"rich-text"}],D3[c3e]={fields:["file","fileName","downloadButtonText"]});var u3e=()=>A({name:IY,metadata:I3,settings:D3});var tR={};K(tR,{init:()=>g3e,metadata:()=>A3,name:()=>OY,settings:()=>FY});var VY=n(_u(),1);var Vo=n(N(),1),vs=n(E(),1),bs=n(O(),1),DY=n(F(),1);var QL=n(N(),1),L3=["core/form-submission-notification",{type:"success"},[["core/paragraph",{content:'<mark style="background-color:rgba(0, 0, 0, 0);color:#345C00" class="has-inline-color">'+(0,QL.__)("Your form has been submitted successfully")+"</mark>"}]]],R3=["core/form-submission-notification",{type:"error"},[["core/paragraph",{content:'<mark style="background-color:rgba(0, 0, 0, 0);color:#CF2E2E" class="has-inline-color">'+(0,QL.__)("There was an error submitting your form.")+"</mark>"}]]];var ma=n(y(),1),p3e=[L3,R3,["core/form-input",{type:"text",label:(0,Vo.__)("Name"),required:!0}],["core/form-input",{type:"email",label:(0,Vo.__)("Email"),required:!0}],["core/form-input",{type:"textarea",label:(0,Vo.__)("Comment"),required:!0}],["core/form-submit-button",{}]],m3e=({attributes:e,setAttributes:t,clientId:r})=>{let o=Z(),a=()=>{t({submissionMethod:"email",email:void 0,action:void 0,method:"post"})},{action:i,method:l,email:s,submissionMethod:c}=e,u=(0,vs.useBlockProps)(),{hasInnerBlocks:p}=(0,DY.useSelect)(d=>{let{getBlock:f}=d(vs.store),h=f(r);return{hasInnerBlocks:!!(h&&h.innerBlocks.length)}},[r]),m=(0,vs.useInnerBlocksProps)(u,{template:p3e,renderAppender:p?void 0:vs.InnerBlocks.ButtonBlockAppender});return(0,ma.jsxs)(ma.Fragment,{children:[(0,ma.jsx)(vs.InspectorControls,{children:(0,ma.jsxs)(bs.__experimentalToolsPanel,{dropdownMenuProps:o,label:(0,Vo.__)("Settings"),resetAll:a,children:[(0,ma.jsx)(bs.__experimentalToolsPanelItem,{hasValue:()=>c!=="email",label:(0,Vo.__)("Submissions method"),onDeselect:()=>t({submissionMethod:"email"}),isShownByDefault:!0,children:(0,ma.jsx)(bs.SelectControl,{label:(0,Vo.__)("Submissions method"),options:[{label:(0,Vo.__)("Send email"),value:"email"},{label:(0,Vo.__)("- Custom -"),value:"custom"}],value:c,onChange:d=>t({submissionMethod:d}),help:c==="custom"?(0,Vo.__)('Select the method to use for form submissions. Additional options for the "custom" mode can be found in the "Advanced" section.'):(0,Vo.__)("Select the method to use for form submissions.")})}),c==="email"&&(0,ma.jsx)(bs.__experimentalToolsPanelItem,{hasValue:()=>!!s,label:(0,Vo.__)("Email for form submissions"),onDeselect:()=>t({email:void 0,action:void 0,method:"post"}),isShownByDefault:!0,children:(0,ma.jsx)(bs.TextControl,{autoComplete:"off",label:(0,Vo.__)("Email for form submissions"),value:s||"",required:!0,onChange:d=>{t({email:d}),t({action:`mailto:${d}`}),t({method:"post"})},help:(0,Vo.__)("The email address where form submissions will be sent. Separate multiple email addresses with a comma."),type:"email"})})]})}),c!=="email"&&(0,ma.jsxs)(vs.InspectorControls,{group:"advanced",children:[(0,ma.jsx)(bs.SelectControl,{label:(0,Vo.__)("Method"),options:[{label:"Get",value:"get"},{label:"Post",value:"post"}],value:l,onChange:d=>t({method:d}),help:(0,Vo.__)("Select the method to use for form submissions.")}),(0,ma.jsx)(bs.TextControl,{autoComplete:"off",label:(0,Vo.__)("Form action"),value:i,onChange:d=>{t({action:d})},help:(0,Vo.__)("The URL where the form should be submitted."),type:"url"})]}),(0,ma.jsx)("form",{...m,encType:c==="email"?"text/plain":null})]})},LY=m3e;var A3={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,__experimental:!0,name:"core/form",title:"Form",category:"widgets",allowedBlocks:["core/paragraph","core/heading","core/form-input","core/form-submit-button","core/form-submission-notification","core/group","core/columns"],description:"A form.",keywords:["container","wrapper","row","section"],textdomain:"default",attributes:{submissionMethod:{type:"string",default:"email"},method:{type:"string",default:"post"},action:{type:"string"},email:{type:"string"}},supports:{anchor:!0,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalTextDecoration:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}}}};var M3=n(E(),1),XL=n(y(),1);function RY({attributes:e}){let t=M3.useBlockProps.save(),{submissionMethod:r}=e;return(0,XL.jsx)("form",{...t,encType:r==="email"?"text/plain":null,children:(0,XL.jsx)(M3.InnerBlocks.Content,{})})}var _l=n(N(),1);var f3e=[{name:"comment-form",title:(0,_l.__)("Experimental Comment form"),description:(0,_l.__)("A comment form for posts and pages."),attributes:{submissionMethod:"custom",action:"{SITE_URL}/wp-comments-post.php",method:"post",anchor:"comment-form"},isDefault:!1,innerBlocks:[["core/form-input",{type:"text",name:"author",label:(0,_l.__)("Name"),required:!0,visibilityPermissions:"logged-out"}],["core/form-input",{type:"email",name:"email",label:(0,_l.__)("Email"),required:!0,visibilityPermissions:"logged-out"}],["core/form-input",{type:"textarea",name:"comment",label:(0,_l.__)("Comment"),required:!0,visibilityPermissions:"all"}],["core/form-submit-button",{}]],scope:["inserter","transform"],isActive:e=>!e?.type||e?.type==="text"},{name:"wp-privacy-form",title:(0,_l.__)("Experimental Privacy Request Form"),keywords:["GDPR"],description:(0,_l.__)("A form to request data exports and/or deletion."),attributes:{submissionMethod:"custom",action:"",method:"post",anchor:"gdpr-form"},isDefault:!1,innerBlocks:[L3,R3,["core/paragraph",{content:(0,_l.__)("To request an export or deletion of your personal data on this site, please fill-in the form below. You can define the type of request you wish to perform, and your email address. Once the form is submitted, you will receive a confirmation email with instructions on the next steps.")}],["core/form-input",{type:"email",name:"email",label:(0,_l.__)("Enter your email address."),required:!0,visibilityPermissions:"all"}],["core/form-input",{type:"checkbox",name:"export_personal_data",label:(0,_l.__)("Request data export"),required:!1,visibilityPermissions:"all"}],["core/form-input",{type:"checkbox",name:"remove_personal_data",label:(0,_l.__)("Request data deletion"),required:!1,visibilityPermissions:"all"}],["core/form-submit-button",{}],["core/form-input",{type:"hidden",name:"wp-action",value:"wp_privacy_send_request"}],["core/form-input",{type:"hidden",name:"wp-privacy-request",value:"1"}]],scope:["inserter","transform"],isActive:e=>!e?.type||e?.type==="text"}],AY=f3e;var mc=n(E(),1),JL=n(y(),1),h3e={supports:{},attributes:{submissionMethod:{type:"string",default:"email"},method:{type:"string",default:"post"},action:{type:"string"},email:{type:"string"},anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"},fontFamily:{type:"string"},fontSize:{type:"string"}},save({attributes:e}){let{submissionMethod:t}=e,r=(0,mc.__experimentalGetColorClassesAndStyles)(e),o=(0,mc.getTypographyClassesAndStyles)(e),a=(0,mc.__experimentalGetSpacingClassesAndStyles)(e),i=mc.useBlockProps.save({style:{...r.style,...o.style,...a.style},id:e.anchor});return(0,JL.jsx)("form",{...i,className:"wp-block-form",encType:t==="email"?"text/plain":null,children:(0,JL.jsx)(mc.InnerBlocks.Content,{})})}},MY=[h3e];var z3=n(M(),1),eR=n(y(),1),zY=(0,eR.jsx)(z3.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,eR.jsx)(z3.Path,{d:"M18 16H6c-1.1 0-2 .9-2 2s.9 2 2 2h12c1.1 0 2-.9 2-2s-.9-2-2-2Zm0 2.5H6c-.3 0-.5-.2-.5-.5s.2-.5.5-.5h12c.3 0 .5.2.5.5s-.2.5-.5.5ZM13 13H4v1.5h9V13Zm-7-2h12c1.1 0 2-.9 2-2s-.9-2-2-2H6c-1.1 0-2 .9-2 2s.9 2 2 2Zm0-2.5h12c.3 0 .5.2.5.5s-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5s.2-.5.5-.5ZM13 4H4v1.5h9V4Z"})});var{name:OY}=A3,FY={icon:zY,edit:LY,save:RY,deprecated:MY,variations:AY,example:{}},g3e=()=>{let e=["core/form"];return(0,VY.addFilter)("blockEditor.__unstableCanInsertBlockType","core/block-library/preventInsertingFormIntoAnotherForm",(t,r,o,{getBlock:a,getBlockParentsByBlockName:i})=>{if(r.name!=="core/form")return t;for(let l of e)if(a(o)?.name===l||i(o,l).length)return!1;return!0}),A({name:OY,metadata:A3,settings:FY})};var oR={};K(oR,{init:()=>E3e,metadata:()=>O3,name:()=>tQ,settings:()=>rQ});var GY=n(Ab(),1),ys=n(E(),1),WY=n(Sn(),1),Ei=n(y(),1),$Y=e=>(0,GY.default)((0,WY.__unstableStripHTML)(e)).replace(/[^\p{L}\p{N}]+/gu,"-").toLowerCase().replace(/(^-+)|(-+$)/g,""),x3e={attributes:{type:{type:"string",default:"text"},name:{type:"string"},label:{type:"string",default:"Label",selector:".wp-block-form-input__label-content",source:"html",role:"content"},inlineLabel:{type:"boolean",default:!1},required:{type:"boolean",default:!1,selector:".wp-block-form-input__input",source:"attribute",attribute:"required"},placeholder:{type:"string",selector:".wp-block-form-input__input",source:"attribute",attribute:"placeholder",role:"content"},value:{type:"string",default:"",selector:"input",source:"attribute",attribute:"value"},visibilityPermissions:{type:"string",default:"all"}},supports:{anchor:!0,reusable:!1,spacing:{margin:["top","bottom"]},__experimentalBorder:{radius:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{radius:!0}}},save({attributes:e}){let{type:t,name:r,label:o,inlineLabel:a,required:i,placeholder:l,value:s}=e,c=(0,ys.__experimentalGetBorderClassesAndStyles)(e),u=(0,ys.__experimentalGetColorClassesAndStyles)(e),p={...c.style,...u.style},m=S("wp-block-form-input__input",u.className,c.className),d=t==="textarea"?"textarea":"input",f=ys.useBlockProps.save();return t==="hidden"?(0,Ei.jsx)("input",{type:t,name:r,value:s}):(0,Ei.jsx)("div",{...f,children:(0,Ei.jsxs)("label",{className:S("wp-block-form-input__label",{"is-label-inline":a}),children:[(0,Ei.jsx)("span",{className:"wp-block-form-input__label-content",children:(0,Ei.jsx)(ys.RichText.Content,{value:o})}),(0,Ei.jsx)(d,{className:m,type:t==="textarea"?void 0:t,name:r||$Y(o),required:i,"aria-required":i,placeholder:l||void 0,style:p})]})})}},k3e={attributes:{type:{type:"string",default:"text"},name:{type:"string"},label:{type:"string",default:"Label",selector:".wp-block-form-input__label-content",source:"html",role:"content"},inlineLabel:{type:"boolean",default:!1},required:{type:"boolean",default:!1,selector:".wp-block-form-input__input",source:"attribute",attribute:"required"},placeholder:{type:"string",selector:".wp-block-form-input__input",source:"attribute",attribute:"placeholder",role:"content"},value:{type:"string",default:"",selector:"input",source:"attribute",attribute:"value"},visibilityPermissions:{type:"string",default:"all"}},supports:{className:!1,anchor:!0,reusable:!1,spacing:{margin:["top","bottom"]},__experimentalBorder:{radius:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{radius:!0}}},save({attributes:e}){let{type:t,name:r,label:o,inlineLabel:a,required:i,placeholder:l,value:s}=e,c=(0,ys.__experimentalGetBorderClassesAndStyles)(e),u=(0,ys.__experimentalGetColorClassesAndStyles)(e),p={...c.style,...u.style},m=S("wp-block-form-input__input",u.className,c.className),d=t==="textarea"?"textarea":"input";return t==="hidden"?(0,Ei.jsx)("input",{type:t,name:r,value:s}):(0,Ei.jsxs)("label",{className:S("wp-block-form-input__label",{"is-label-inline":a}),children:[(0,Ei.jsx)("span",{className:"wp-block-form-input__label-content",children:(0,Ei.jsx)(ys.RichText.Content,{value:o})}),(0,Ei.jsx)(d,{className:m,type:t==="textarea"?void 0:t,name:r||$Y(o),required:i,"aria-required":i,placeholder:l||void 0,style:p})]})}},w3e=[x3e,k3e],qY=w3e;var Ln=n(N(),1),_s=n(E(),1),xs=n(O(),1),ZY=n(H(),1);var co=n(y(),1);function C3e({attributes:e,setAttributes:t,className:r}){let{type:o,name:a,label:i,inlineLabel:l,required:s,placeholder:c,value:u}=e,p=(0,_s.useBlockProps)(),m=Z(),d=(0,ZY.useRef)(),f=o==="textarea"?"textarea":"input",h=(0,_s.__experimentalUseBorderProps)(e),g=(0,_s.__experimentalUseColorProps)(e);d.current&&d.current.focus();let v=o==="checkbox"||o==="radio",b=(0,co.jsxs)(co.Fragment,{children:[o!=="hidden"&&(0,co.jsx)(_s.InspectorControls,{children:(0,co.jsxs)(xs.__experimentalToolsPanel,{label:(0,Ln.__)("Settings"),resetAll:()=>{t({inlineLabel:!1,required:!1})},dropdownMenuProps:m,children:[o!=="checkbox"&&(0,co.jsx)(xs.__experimentalToolsPanelItem,{label:(0,Ln.__)("Inline label"),hasValue:()=>!!l,onDeselect:()=>t({inlineLabel:!1}),isShownByDefault:!0,children:(0,co.jsx)(xs.CheckboxControl,{label:(0,Ln.__)("Inline label"),checked:l,onChange:k=>{t({inlineLabel:k})}})}),(0,co.jsx)(xs.__experimentalToolsPanelItem,{label:(0,Ln.__)("Required"),hasValue:()=>!!s,onDeselect:()=>t({required:!1}),isShownByDefault:!0,children:(0,co.jsx)(xs.CheckboxControl,{label:(0,Ln.__)("Required"),checked:s,onChange:k=>{t({required:k})}})})]})}),(0,co.jsxs)(_s.InspectorControls,{group:"advanced",children:[(0,co.jsx)(xs.TextControl,{autoComplete:"off",label:(0,Ln.__)("Name"),value:a,onChange:k=>{t({name:k})},help:(0,Ln.__)('Affects the "name" attribute of the input element, and is used as a name for the form submission results.')}),o==="hidden"&&(0,co.jsx)(xs.TextControl,{autoComplete:"off",label:(0,Ln.__)("Value"),value:u,onChange:k=>t({value:k}),help:(0,Ln.__)("Sets the stored value for this hidden field.")})]})]}),_=(0,co.jsx)(_s.RichText,{tagName:"span",className:"wp-block-form-input__label-content",value:i,onChange:k=>t({label:k}),"aria-label":i?(0,Ln.__)("Label"):(0,Ln.__)("Empty label"),"data-empty":!i,placeholder:(0,Ln.__)("Type the label for this input")});return o==="hidden"?(0,co.jsxs)("div",{...p,children:[b,(0,co.jsx)("span",{className:"wp-block-form-input__label is-input-hidden","data-message":(0,Ln.__)("Hidden field")})]}):(0,co.jsxs)("div",{...p,children:[b,(0,co.jsxs)("span",{className:S("wp-block-form-input__label",{"is-label-inline":l||o==="checkbox"}),children:[!v&&_,(0,co.jsx)(f,{type:o==="textarea"?void 0:o,className:S(r,"wp-block-form-input__input",g.className,h.className),"aria-label":(0,Ln.__)("Optional placeholder text"),placeholder:c?void 0:(0,Ln.__)("Optional placeholder\u2026"),value:c,onChange:k=>t({placeholder:k.target.value}),"aria-required":s,style:{...h.style,...g.style}}),v&&_]})]})}var KY=C3e;var O3={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,__experimental:!0,name:"core/form-input",title:"Input Field",category:"widgets",ancestor:["core/form"],description:"The basic building block for forms.",keywords:["input","form"],textdomain:"default",attributes:{type:{type:"string",default:"text"},name:{type:"string"},label:{type:"rich-text",default:"Label",selector:".wp-block-form-input__label-content",source:"rich-text",role:"content"},inlineLabel:{type:"boolean",default:!1},required:{type:"boolean",default:!1,selector:".wp-block-form-input__input",source:"attribute",attribute:"required"},placeholder:{type:"string",selector:".wp-block-form-input__input",source:"attribute",attribute:"placeholder",role:"content"},value:{type:"string",default:"",selector:"input",source:"attribute",attribute:"value"},visibilityPermissions:{type:"string",default:"all"}},supports:{anchor:!0,reusable:!1,spacing:{margin:["top","bottom"]},__experimentalBorder:{radius:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{radius:!0}}},style:["wp-block-form-input"]};var YY=n(Ab(),1),Su=n(E(),1),QY=n(Sn(),1),dc=n(y(),1),T3e=e=>(0,YY.default)((0,QY.__unstableStripHTML)(e)).replace(/[^\p{L}\p{N}]+/gu,"-").toLowerCase().replace(/(^-+)|(-+$)/g,"");function XY({attributes:e}){let{type:t,name:r,label:o,inlineLabel:a,required:i,placeholder:l,value:s}=e,c=(0,Su.__experimentalGetBorderClassesAndStyles)(e),u=(0,Su.__experimentalGetColorClassesAndStyles)(e),p={...c.style,...u.style},m=S("wp-block-form-input__input",u.className,c.className),d=t==="textarea"?"textarea":"input",f=Su.useBlockProps.save(),h=t==="checkbox"||t==="radio";return t==="hidden"?(0,dc.jsx)("input",{type:t,name:r,value:s}):(0,dc.jsx)("div",{...f,children:(0,dc.jsxs)("label",{className:S("wp-block-form-input__label",{"is-label-inline":a}),children:[!h&&(0,dc.jsx)("span",{className:"wp-block-form-input__label-content",children:(0,dc.jsx)(Su.RichText.Content,{value:o})}),(0,dc.jsx)(d,{className:m,type:t==="textarea"?void 0:t,name:r||T3e(o),required:i,"aria-required":i,placeholder:l||void 0,style:p}),h&&(0,dc.jsx)("span",{className:"wp-block-form-input__label-content",children:(0,dc.jsx)(Su.RichText.Content,{value:o})})]})})}var cn=n(N(),1),P3e=[{name:"text",title:(0,cn.__)("Text Input"),description:(0,cn.__)("A generic text input."),attributes:{type:"text"},isDefault:!0,scope:["inserter","transform"],isActive:e=>!e?.type||e?.type==="text"},{name:"textarea",title:(0,cn.__)("Textarea Input"),description:(0,cn.__)("A textarea input to allow entering multiple lines of text."),attributes:{type:"textarea"},isDefault:!0,scope:["inserter","transform"],isActive:e=>e?.type==="textarea"},{name:"checkbox",title:(0,cn.__)("Checkbox Input"),description:(0,cn.__)("A simple checkbox input."),attributes:{type:"checkbox",inlineLabel:!0},isDefault:!0,scope:["inserter","transform"],isActive:e=>e?.type==="checkbox"},{name:"email",title:(0,cn.__)("Email Input"),description:(0,cn.__)("Used for email addresses."),attributes:{type:"email"},isDefault:!0,scope:["inserter","transform"],isActive:e=>e?.type==="email"},{name:"url",title:(0,cn.__)("URL Input"),description:(0,cn.__)("Used for URLs."),attributes:{type:"url"},isDefault:!0,scope:["inserter","transform"],isActive:e=>e?.type==="url"},{name:"tel",title:(0,cn.__)("Telephone Input"),description:(0,cn.__)("Used for phone numbers."),attributes:{type:"tel"},isDefault:!0,scope:["inserter","transform"],isActive:e=>e?.type==="tel"},{name:"number",title:(0,cn.__)("Number Input"),description:(0,cn.__)("A numeric input."),attributes:{type:"number"},isDefault:!0,scope:["inserter","transform"],isActive:e=>e?.type==="number"},{name:"hidden",title:(0,cn.__)("Hidden Input"),icon:"visibility",description:(0,cn.__)("A hidden input field."),attributes:{type:"hidden"},isDefault:!0,scope:["inserter","transform"],isActive:e=>e?.type==="hidden"}],JY=P3e;var F3=n(M(),1),rR=n(y(),1),eQ=(0,rR.jsx)(F3.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,rR.jsx)(F3.Path,{d:"M5.547 18.892A.99.99 0 0 0 6 19h.72v1H6a1.99 1.99 0 0 1-.908-.22l.455-.888ZM9.12 20H7.68v-1h1.44v1Zm2.4 0h-1.44v-1h1.44v1Zm2.4 0h-1.44v-1h1.44v1Zm2.4 0h-1.44v-1h1.44v1Zm2.587-.22c-.272.14-.58.22-.907.22h-.72v-1H18a.99.99 0 0 0 .453-.108l.454.888ZM5.108 17.547a.99.99 0 0 0 0 .906l-.89.454a1.99 1.99 0 0 1 0-1.815l.89.455Zm14.672-.455a1.99 1.99 0 0 1 0 1.815l-.888-.454a.99.99 0 0 0 0-.906l.888-.455ZM6.72 17H6a.99.99 0 0 0-.453.108l-.455-.89A1.99 1.99 0 0 1 6 16h.72v1ZM18 16c.327 0 .635.08.907.219l-.454.89A.99.99 0 0 0 18 17h-.72v-1H18Zm-8.88 1H7.68v-1h1.44v1Zm2.4 0h-1.44v-1h1.44v1Zm2.4 0h-1.44v-1h1.44v1Zm2.4 0h-1.44v-1h1.44v1ZM5.5 14.28H4.25v-1H5.5v1Zm2.5 0H6.5v-1H8v1Zm2.5 0H9v-1h1.5v1Zm2.25 0H11.5v-1h1.25v1ZM18 7a2 2 0 1 1 0 4H6a2 2 0 1 1 0-4h12ZM6 8.5a.5.5 0 0 0 0 1h12a.5.5 0 0 0 0-1H6Zm7-3H4V4h9v1.5Z"})});var{name:tQ}=O3,rQ={icon:eQ,deprecated:qY,edit:KY,save:XY,variations:JY,example:{}},E3e=()=>A({name:tQ,metadata:O3,settings:rQ});var aR={};K(aR,{init:()=>D3e,metadata:()=>j3,name:()=>lQ,settings:()=>sQ});var oQ=n(N(),1),H3=n(E(),1),nQ=n(y(),1),B3e=[["core/buttons",{},[["core/button",{text:(0,oQ.__)("Submit"),tagName:"button",type:"submit"}]]]],N3e=()=>{let e=(0,H3.useBlockProps)(),t=(0,H3.useInnerBlocksProps)(e,{template:B3e,templateLock:"all"});return(0,nQ.jsx)("div",{className:"wp-block-form-submit-wrapper",...t})},aQ=N3e;var j3={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,__experimental:!0,name:"core/form-submit-button",title:"Form Submit Button",category:"widgets",icon:"button",ancestor:["core/form"],allowedBlocks:["core/buttons","core/button"],description:"A submission button for forms.",keywords:["submit","button","form"],textdomain:"default",style:["wp-block-form-submit-button"]};var U3=n(E(),1),nR=n(y(),1);function iQ(){let e=U3.useBlockProps.save();return(0,nR.jsx)("div",{className:"wp-block-form-submit-wrapper",...e,children:(0,nR.jsx)(U3.InnerBlocks.Content,{})})}var{name:lQ}=j3,sQ={edit:aQ,save:iQ,example:{}},D3e=()=>A({name:lQ,metadata:j3,settings:sQ});var iR={};K(iR,{init:()=>z3e,metadata:()=>W3,name:()=>hQ,settings:()=>gQ});var G3=n(N(),1),Vp=n(E(),1),cQ=n(F(),1);var uQ=n(y(),1),L3e=[["core/paragraph",{content:(0,G3.__)("Enter the message you wish displayed for form submission error/success, and select the type of the message (success/error) from the block's options.")}]],R3e=({attributes:e,clientId:t})=>{let{type:r}=e,o=(0,Vp.useBlockProps)({className:S("wp-block-form-submission-notification",{[`form-notification-type-${r}`]:r})}),{hasInnerBlocks:a}=(0,cQ.useSelect)(l=>{let{getBlock:s}=l(Vp.store),c=s(t);return{hasInnerBlocks:!!(c&&c.innerBlocks.length)}},[t]),i=(0,Vp.useInnerBlocksProps)(o,{template:L3e,renderAppender:a?void 0:Vp.InnerBlocks.ButtonBlockAppender});return(0,uQ.jsx)("div",{...i,"data-message-success":(0,G3.__)("Submission success notification"),"data-message-error":(0,G3.__)("Submission error notification")})},pQ=R3e;var W3={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,__experimental:!0,name:"core/form-submission-notification",title:"Form Submission Notification",category:"widgets",ancestor:["core/form"],description:"Provide a notification message after the form has been submitted.",keywords:["form","feedback","notification","message"],textdomain:"default",icon:"feedback",attributes:{type:{type:"string",default:"success"}}};var $3=n(E(),1);var mQ=n(y(),1);function dQ({attributes:e}){let{type:t}=e;return(0,mQ.jsx)("div",{...$3.useInnerBlocksProps.save($3.useBlockProps.save({className:S("wp-block-form-submission-notification",{[`form-notification-type-${t}`]:t})}))})}var Xd=n(N(),1),M3e=[{name:"form-submission-success",title:(0,Xd.__)("Form Submission Success"),description:(0,Xd.__)("Success message for form submissions."),attributes:{type:"success"},isDefault:!0,innerBlocks:[["core/paragraph",{content:(0,Xd.__)("Your form has been submitted successfully."),backgroundColor:"#00D084",textColor:"#000000",style:{elements:{link:{color:{text:"#000000"}}}}}]],scope:["inserter","transform"],isActive:e=>!e?.type||e?.type==="success"},{name:"form-submission-error",title:(0,Xd.__)("Form Submission Error"),description:(0,Xd.__)("Error/failure message for form submissions."),attributes:{type:"error"},isDefault:!1,innerBlocks:[["core/paragraph",{content:(0,Xd.__)("There was an error submitting your form."),backgroundColor:"#CF2E2E",textColor:"#FFFFFF",style:{elements:{link:{color:{text:"#FFFFFF"}}}}}]],scope:["inserter","transform"],isActive:e=>!e?.type||e?.type==="error"}],fQ=M3e;var{name:hQ}=W3,gQ={icon:nd,edit:pQ,save:dQ,variations:fQ,example:{}},z3e=()=>A({name:hQ,metadata:W3,settings:gQ});var _R={};K(_R,{init:()=>N4e,metadata:()=>n4,name:()=>SX,settings:()=>TX});var Vr=n(E(),1),yQ=n(q(),1);var fc="none",hc="media",gg="lightbox",gc="attachment",vQ="file",bQ="post",Mb="large";var Ue=n(y(),1),_Q="file",xQ="post";function vg(e){return Math.min(3,e?.images?.length)}function V3e(e,t){switch(t){case _Q:return{href:e?.source_url||e?.url,linkDestination:hc};case xQ:return{href:e?.link,linkDestination:gc};case hc:return{href:e?.source_url||e?.url,linkDestination:hc};case gc:return{href:e?.link,linkDestination:gc};case fc:return{href:void 0,linkDestination:fc}}return{}}function bg(e){let t=e.linkTo?e.linkTo:"none";t==="post"?t="attachment":t==="file"&&(t="media");let r=e.images.map(l=>O3e(l,e.sizeSlug,t)),{images:o,ids:a,...i}=e;return[{...i,linkTo:t,allowResize:!1},r]}function O3e(e,t,r){return(0,yQ.createBlock)("core/image",{...e.id&&{id:parseInt(e.id)},url:e.url,alt:e.alt,caption:e.caption,sizeSlug:t,...V3e(e,r)})}var F3e={attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},fullUrl:{type:"string",source:"attribute",selector:"img",attribute:"data-full-url"},link:{type:"string",source:"attribute",selector:"img",attribute:"data-link"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},id:{type:"string",source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",items:{type:"number"},default:[]},shortCodeTransforms:{type:"array",default:[],items:{type:"object"}},columns:{type:"number",minimum:1,maximum:8},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},fixedHeight:{type:"boolean",default:!0},linkTarget:{type:"string"},linkTo:{type:"string"},sizeSlug:{type:"string",default:"large"},allowResize:{type:"boolean",default:!1}},save({attributes:e}){let{caption:t,columns:r,imageCrop:o}=e,a=S("has-nested-images",{[`columns-${r}`]:r!==void 0,"columns-default":r===void 0,"is-cropped":o}),i=Vr.useBlockProps.save({className:a}),l=Vr.useInnerBlocksProps.save(i);return(0,Ue.jsxs)("figure",{...l,children:[l.children,!Vr.RichText.isEmpty(t)&&(0,Ue.jsx)(Vr.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:t})]})}},H3e={attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},fullUrl:{type:"string",source:"attribute",selector:"img",attribute:"data-full-url"},link:{type:"string",source:"attribute",selector:"img",attribute:"data-link"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},id:{type:"string",source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",items:{type:"number"},default:[]},columns:{type:"number",minimum:1,maximum:8},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},fixedHeight:{type:"boolean",default:!0},linkTo:{type:"string"},sizeSlug:{type:"string",default:"large"}},supports:{anchor:!0,align:!0},save({attributes:e}){let{images:t,columns:r=vg(e),imageCrop:o,caption:a,linkTo:i}=e,l=`columns-${r} ${o?"is-cropped":""}`;return(0,Ue.jsxs)("figure",{...Vr.useBlockProps.save({className:l}),children:[(0,Ue.jsx)("ul",{className:"blocks-gallery-grid",children:t.map(s=>{let c;switch(i){case _Q:c=s.fullUrl||s.url;break;case xQ:c=s.link;break}let u=(0,Ue.jsx)("img",{src:s.url,alt:s.alt,"data-id":s.id,"data-full-url":s.fullUrl,"data-link":s.link,className:s.id?`wp-image-${s.id}`:null});return(0,Ue.jsx)("li",{className:"blocks-gallery-item",children:(0,Ue.jsxs)("figure",{children:[c?(0,Ue.jsx)("a",{href:c,children:u}):u,!Vr.RichText.isEmpty(s.caption)&&(0,Ue.jsx)(Vr.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:s.caption})]})},s.id||s.url)})}),!Vr.RichText.isEmpty(a)&&(0,Ue.jsx)(Vr.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:a})]})},migrate(e){return bg(e)}},j3e={attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},fullUrl:{type:"string",source:"attribute",selector:"img",attribute:"data-full-url"},link:{type:"string",source:"attribute",selector:"img",attribute:"data-link"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},id:{type:"string",source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",items:{type:"number"},default:[]},columns:{type:"number",minimum:1,maximum:8},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"},sizeSlug:{type:"string",default:"large"}},supports:{align:!0},isEligible({linkTo:e}){return!e||e==="attachment"||e==="media"},migrate(e){return bg(e)},save({attributes:e}){let{images:t,columns:r=vg(e),imageCrop:o,caption:a,linkTo:i}=e;return(0,Ue.jsxs)("figure",{className:`columns-${r} ${o?"is-cropped":""}`,children:[(0,Ue.jsx)("ul",{className:"blocks-gallery-grid",children:t.map(l=>{let s;switch(i){case"media":s=l.fullUrl||l.url;break;case"attachment":s=l.link;break}let c=(0,Ue.jsx)("img",{src:l.url,alt:l.alt,"data-id":l.id,"data-full-url":l.fullUrl,"data-link":l.link,className:l.id?`wp-image-${l.id}`:null});return(0,Ue.jsx)("li",{className:"blocks-gallery-item",children:(0,Ue.jsxs)("figure",{children:[s?(0,Ue.jsx)("a",{href:s,children:c}):c,!Vr.RichText.isEmpty(l.caption)&&(0,Ue.jsx)(Vr.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:l.caption})]})},l.id||l.url)})}),!Vr.RichText.isEmpty(a)&&(0,Ue.jsx)(Vr.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:a})]})}},U3e={attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},fullUrl:{source:"attribute",selector:"img",attribute:"data-full-url"},link:{source:"attribute",selector:"img",attribute:"data-link"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",default:[]},columns:{type:"number"},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},supports:{align:!0},isEligible({ids:e}){return e&&e.some(t=>typeof t=="string")},migrate(e){return bg(e)},save({attributes:e}){let{images:t,columns:r=vg(e),imageCrop:o,caption:a,linkTo:i}=e;return(0,Ue.jsxs)("figure",{className:`columns-${r} ${o?"is-cropped":""}`,children:[(0,Ue.jsx)("ul",{className:"blocks-gallery-grid",children:t.map(l=>{let s;switch(i){case"media":s=l.fullUrl||l.url;break;case"attachment":s=l.link;break}let c=(0,Ue.jsx)("img",{src:l.url,alt:l.alt,"data-id":l.id,"data-full-url":l.fullUrl,"data-link":l.link,className:l.id?`wp-image-${l.id}`:null});return(0,Ue.jsx)("li",{className:"blocks-gallery-item",children:(0,Ue.jsxs)("figure",{children:[s?(0,Ue.jsx)("a",{href:s,children:c}):c,!Vr.RichText.isEmpty(l.caption)&&(0,Ue.jsx)(Vr.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:l.caption})]})},l.id||l.url)})}),!Vr.RichText.isEmpty(a)&&(0,Ue.jsx)(Vr.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:a})]})}},G3e={attributes:{images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},fullUrl:{source:"attribute",selector:"img",attribute:"data-full-url"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},link:{source:"attribute",selector:"img",attribute:"data-link"},caption:{type:"string",source:"html",selector:"figcaption"}}},ids:{type:"array",default:[]},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},supports:{align:!0},save({attributes:e}){let{images:t,columns:r=vg(e),imageCrop:o,linkTo:a}=e;return(0,Ue.jsx)("ul",{className:`columns-${r} ${o?"is-cropped":""}`,children:t.map(i=>{let l;switch(a){case"media":l=i.fullUrl||i.url;break;case"attachment":l=i.link;break}let s=(0,Ue.jsx)("img",{src:i.url,alt:i.alt,"data-id":i.id,"data-full-url":i.fullUrl,"data-link":i.link,className:i.id?`wp-image-${i.id}`:null});return(0,Ue.jsx)("li",{className:"blocks-gallery-item",children:(0,Ue.jsxs)("figure",{children:[l?(0,Ue.jsx)("a",{href:l,children:s}):s,i.caption&&i.caption.length>0&&(0,Ue.jsx)(Vr.RichText.Content,{tagName:"figcaption",value:i.caption})]})},i.id||i.url)})})},migrate(e){return bg(e)}},W3e={attributes:{images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},link:{source:"attribute",selector:"img",attribute:"data-link"},caption:{type:"string",source:"html",selector:"figcaption"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},isEligible({images:e,ids:t}){return e&&e.length>0&&(!t&&e||t&&e&&t.length!==e.length||e.some((r,o)=>!r&&t[o]!==null?!0:parseInt(r,10)!==t[o]))},migrate(e){return bg(e)},supports:{align:!0},save({attributes:e}){let{images:t,columns:r=vg(e),imageCrop:o,linkTo:a}=e;return(0,Ue.jsx)("ul",{className:`columns-${r} ${o?"is-cropped":""}`,children:t.map(i=>{let l;switch(a){case"media":l=i.url;break;case"attachment":l=i.link;break}let s=(0,Ue.jsx)("img",{src:i.url,alt:i.alt,"data-id":i.id,"data-link":i.link,className:i.id?`wp-image-${i.id}`:null});return(0,Ue.jsx)("li",{className:"blocks-gallery-item",children:(0,Ue.jsxs)("figure",{children:[l?(0,Ue.jsx)("a",{href:l,children:s}):s,i.caption&&i.caption.length>0&&(0,Ue.jsx)(Vr.RichText.Content,{tagName:"figcaption",value:i.caption})]})},i.id||i.url)})})}},$3e={attributes:{images:{type:"array",default:[],source:"query",selector:"div.wp-block-gallery figure.blocks-gallery-image img",query:{url:{source:"attribute",attribute:"src"},alt:{source:"attribute",attribute:"alt",default:""},id:{source:"attribute",attribute:"data-id"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"},align:{type:"string",default:"none"}},supports:{align:!0},save({attributes:e}){let{images:t,columns:r=vg(e),align:o,imageCrop:a,linkTo:i}=e,l=S(`columns-${r}`,{alignnone:o==="none","is-cropped":a});return(0,Ue.jsx)("div",{className:l,children:t.map(s=>{let c;switch(i){case"media":c=s.url;break;case"attachment":c=s.link;break}let u=(0,Ue.jsx)("img",{src:s.url,alt:s.alt,"data-id":s.id});return(0,Ue.jsx)("figure",{className:"blocks-gallery-image",children:c?(0,Ue.jsx)("a",{href:c,children:u}):u},s.id||s.url)})})},migrate(e){return bg(e)}},kQ=[F3e,H3e,j3e,U3e,G3e,W3e,$3e];var Pt=n(O(),1),uo=n(E(),1),Hb=n(H(),1),He=n(N(),1),jb=n(F(),1),vX=n(q(),1),vR=n(Ar(),1),bX=n(Sr(),1);var wQ=n(E(),1);var CQ=n(y(),1),q3=(0,CQ.jsx)(wQ.BlockIcon,{icon:lv});function Z3(e){return e?Math.min(3,e):3}function q3e(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function SQ(e){let t=q3e(e)?e.type:void 0;return typeof t!="string"||t===""||t==="flex"}var K3=(e,t="large")=>{let r=Object.fromEntries(Object.entries(e??{}).filter(([a])=>["alt","id","link"].includes(a)));r.url=e?.sizes?.[t]?.url||e?.media_details?.sizes?.[t]?.source_url||e?.url||e?.source_url;let o=e?.sizes?.full?.url||e?.media_details?.sizes?.full?.source_url;return o&&(r.fullUrl=o),r};var vc=20,Jd="none",Op="media",Fp="attachment",lR="custom",TQ=["noopener"],Hp=["image"];var sR=["flex","grid"],jp="full";function zb(e,t,r,o,a){switch(r||t){case vQ:case hc:return{href:e?.source_url||e?.url,linkDestination:Op,lightbox:a?.enabled?{...o?.lightbox,enabled:!1}:void 0};case bQ:case gc:return{href:e?.link,linkDestination:Fp,lightbox:a?.enabled?{...o?.lightbox,enabled:!1}:void 0};case gg:return{href:void 0,lightbox:a?.enabled?void 0:{...o?.lightbox,enabled:!0},linkDestination:Jd};case fc:return{href:void 0,linkDestination:Jd,lightbox:void 0}}return{}}function PQ(e){let[t,r=1]=e.split("/").map(Number),o=t/r;return o===1/0||o===0?NaN:o}function Z3e(e){let t=e;return e!==void 0&&t&&(TQ.forEach(r=>{let o=new RegExp("\\b"+r+"\\b","gi");t=t.replace(o,"")}),t!==e&&(t=t.trim()),t||(t=void 0)),t}function Vb(e,{rel:t}){let r=e?"_blank":void 0,o;return!r&&!t?o=void 0:o=Z3e(t),{linkTarget:r,rel:o}}function EQ(e,t){let r=e?.media_details?.sizes?.[t]?.source_url;return r?{url:r,width:void 0,height:void 0,sizeSlug:t}:{}}function cR(e){return Hp.some(t=>e.type.indexOf(t)===0)}function ef({x:e,y:t}={x:.5,y:.5}){return`${Math.round(e*100)}% ${Math.round(t*100)}%`}var uR=n(N(),1);var Y3=n(y(),1);function BQ(e){let{attributes:t,isSelected:r,setAttributes:o,insertBlocksAfter:a,blockProps:i,__unstableLayoutClassNames:l,isContentLocked:s,multiGallerySelection:c}=e,{align:u,columns:p,imageCrop:m}=t;return(0,Y3.jsxs)("figure",{...i,className:S(i.className,l,"blocks-gallery-grid",{[`align${u}`]:u,[`columns-${p}`]:p!==void 0,"columns-default":p===void 0,"is-cropped":m}),children:[i.children,(0,Y3.jsx)(Ao,{attributes:t,setAttributes:o,isSelected:r,insertBlocksAfter:a,showToolbarButton:!c&&!s,className:"blocks-gallery-caption",label:(0,uR.__)("Gallery caption text"),placeholder:(0,uR.__)("Add gallery caption")})]})}var NQ=n(H(),1);function IQ(e,t,r){return(0,NQ.useMemo)(()=>o(),[e,t]);function o(){if(!e||e.length===0)return;let{imageSizes:a}=r(),i={};t&&(i=e.reduce((s,c)=>{if(!c.id)return s;let u=a.reduce((p,m)=>{let d=c.sizes?.[m.slug]?.url,f=c.media_details?.sizes?.[m.slug]?.source_url;return{...p,[m.slug]:d||f}},{});return{...s,[parseInt(c.id,10)]:u}},{}));let l=Object.values(i);return a.filter(({slug:s})=>l.some(c=>c[s])).map(({name:s,slug:c})=>({value:c,label:s}))}}var Q3=n(H(),1);function DQ(e,t){let[r,o]=(0,Q3.useState)([]);return(0,Q3.useMemo)(()=>a(),[e,t]);function a(){let i=!1,l=r.filter(c=>e.find(u=>c.clientId===u.clientId));l.length<r.length&&(i=!0),e.forEach(c=>{c.fromSavedContent&&!l.find(u=>u.id===c.id)&&(i=!0,l.push(c))});let s=e.filter(c=>!l.find(u=>c.clientId&&u.clientId===c.clientId)&&t?.find(u=>u.id===c.id)&&!c.fromSavedContent);return(i||s?.length>0)&&o([...l,...s]),s.length>0?s:null}}var RQ=n(F(),1),AQ=n(re(),1),LQ=[];function MQ(e){return(0,RQ.useSelect)(t=>{let r=e.map(o=>o.attributes.id).filter(o=>o!==void 0);return r.length===0?LQ:t(AQ.store).getEntityRecords("postType","attachment",{include:r.join(","),per_page:-1,orderby:"include"})??LQ},[e])}var ks=n(E(),1),nX=n(F(),1);var tf=(e,t,r)=>{let o=Array.isArray(t)?t:t.split("."),a=e;return o.forEach(i=>{a=a?.[i]}),a??r};var OQ=n(VQ(),1);function K3e(e,t){if(!e||!t)return e;if(typeof e=="object"&&"ref"in e&&e?.ref){let r=(0,OQ.getCSSValueFromRawStyle)(tf(t,e.ref));return typeof r=="object"&&r!==null&&"ref"in r&&r?.ref?void 0:r===void 0?e:r}return e}function Y3e(e,t){if(!e||!t||!Array.isArray(t))return e;let r=t.find(o=>o?.name===e);return r?.href?r?.href:e}function FQ(e,t){if(!e||!t)return e;let r=K3e(e,t);return typeof r=="object"&&r!==null&&"url"in r&&r?.url&&(r.url=Y3e(r.url,t?._links?.["wp:theme-file"])),r}var UQ={mobile:"480px",tablet:"782px"},GQ=/^(\d+|\d*\.\d+)(px|em|rem)$/,Q3e=16;function X3e(e){return"mobile"in e||"tablet"in e}function J3e(e){return!e||typeof e!="object"?{}:X3e(e)?e:e.settings?.viewport??{}}function e4e(e){return typeof e=="string"&&GQ.test(e.trim())}function pR(e){if(typeof e=="number")return e;if(typeof e!="string")return;let t=e.trim().match(GQ);if(!t)return;let r=Number.parseFloat(t[1]);return t[2]==="px"?r:r*Q3e}function mR(e){let t=J3e(e),r={},o={};Object.keys(UQ).forEach(s=>{let c=s,u=t[c],p=pR(u);p!==void 0&&e4e(u)&&(r[c]=u.trim(),o[c]=p)});let a=Object.keys(r);if(!a.length)return{...UQ};if(a.length===1)return r;let i=r.mobile,l=r.tablet;return o.mobile>=o.tablet?{mobile:i}:{mobile:i,tablet:l}}function WQ(e){let t=mR(e),r={};return t.mobile&&(r["@mobile"]=`@media (width <= ${t.mobile})`),t.tablet&&(r["@tablet"]=t.mobile?`@media (${t.mobile} < width <= ${t.tablet})`:`@media (width <= ${t.tablet})`),r}function X3(e,t,r,{resolveRefs:o=!0}={}){if(!e?.styles?.blocks?.[t]?.variations?.[r])return;let a=l=>{Object.keys(l).forEach(s=>{let c=l[s];if(typeof c=="object"&&c!==null)if(c.ref!==void 0)if(typeof c.ref!="string"||c.ref.trim()==="")delete l[s];else{let u=tf(e,c.ref);u!=null?l[s]=u:delete l[s]}else a(c),Object.keys(c).length===0&&delete l[s]})},i=JSON.parse(JSON.stringify(e.styles.blocks[t].variations[r]));return o&&a(i),i}var hR="default";function KQ(e){let t=e?.viewport,r=e?.pseudoState;return(!t||t===hR)&&(!r||r===hR)}function t4e(e){return KQ(e)?[]:[e.viewport,e.pseudoState].filter(t=>!!t&&t!==hR)}function r4e(e,t){let r=t4e(t);return r.length?tf(e,r):e}var o4e=new Set(["blocks","variations","css"]),dR=Object.freeze({value:{},sources:{}}),n4e={root:{layer:"root"},element:{layer:"element"},block:{layer:"block"},blockVariation:{layer:"blockVariation"}};function Up(e){let t=n4e[e];return t?{...t}:null}function Gp(e,t){return!e||!t?null:{styles:e,source:t}}function a4e(e){return e.join(".")}function i4e(e){return{...e}}function YQ(e){return e===""||e===null||typeof e=="object"&&!Array.isArray(e)&&Object.keys(e).length===0}function fR(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e.ref=="string"}function Wp(e){if(!e||typeof e!="object"||Array.isArray(e))return null;let t={};for(let r of Object.keys(e))if(!o4e.has(r)){if(r==="elements"){e.elements&&typeof e.elements=="object"&&(t.elements=e.elements);continue}YQ(e[r])||(t[r]=e[r])}return Object.keys(t).length===0?null:t}var $Q=new Set(["backgroundImage"]);function QQ(e,t,r,o,a,i=[]){if(!t||typeof t!="object"||Array.isArray(t))return e;for(let l of Object.keys(t)){let s=t[l];if(YQ(s))continue;if(fR(s)){if(s.ref.trim()==="")continue;let u=tf(r,s.ref);if(u==null||fR(u))continue;s=u}let c=[...i,l];if(!$Q.has(l)&&s!==null&&typeof s=="object"&&!Array.isArray(s)&&!fR(s)){let u=e[l]&&typeof e[l]=="object"&&!Array.isArray(e[l])?e[l]:{};e[l]=QQ({...u},s,r,o,a,c)}else e[l]=$Q.has(l)&&s!==null&&typeof s=="object"&&!Array.isArray(s)?{...s}:s,o&&a&&(a[a4e(c)]=i4e(o))}return e}function J3(e,t){if(!e)return null;let r=r4e(e,t);return r&&typeof r=="object"&&!Array.isArray(r)?r:null}var l4e=["color.background","color.gradient","background","spacing","dimensions","border","shadow","filter"];function s4e(e){return e.startsWith("elements.")?!1:l4e.some(t=>e===t||e.startsWith(`${t}.`))}function XQ(e,t){if(!e||typeof e!="object")return;let[r,...o]=t;if(o.length===0){delete e[r];return}let a=e[r];a&&typeof a=="object"&&(XQ(a,o),Object.keys(a).length===0&&delete e[r])}function c4e(e,t){for(let r of Object.keys(t))t[r].layer==="root"&&s4e(r)&&(XQ(e,r.split(".")),delete t[r])}function u4e(e,t,r){let o=e?.background?.backgroundImage;if(!o)return;let a=FQ(o,{...t,_links:r??void 0});a!==void 0&&(e.background.backgroundImage=a)}function qQ(e,{blockName:t,variationName:r=null,elements:o=null,viewport:a=null,pseudoState:i=null}={}){if(!e||!e.styles||!t)return dR;let l=e.styles,s={viewport:a,pseudoState:i},c=l,u=l.blocks?.[t]??null,p=(o??[]).map(v=>l.elements?.[v]??null).filter(v=>!!v),m=r?X3(e,t,r)??null:null,d=[Gp(Wp(c),Up("root")),...p.map(v=>Gp(Wp(v),Up("element"))),u?Gp(Wp(u),Up("block")):null,m?Gp(Wp(m),Up("blockVariation")):null];KQ(s)||d.push(Gp(Wp(J3(c,s)),Up("root")),...p.map(v=>Gp(Wp(J3(v,s)),Up("element"))),u?Gp(Wp(J3(u,s)),Up("block")):null,m?Gp(Wp(J3(m,s)),Up("blockVariation")):null);let f=d.filter(Boolean);if(f.length===0)return dR;let h={},g=f.reduce((v,b)=>QQ(v,b.styles,e,b.source,h),{});return c4e(g,h),u4e(g,e,e._links??null),{value:g,sources:h}}var p4e={},ZQ=new WeakMap;function JQ(e,t={}){let r=e?.styles;if(!r||typeof r!="object")return qQ(e,t);let o=ZQ.get(r);o||(o=new WeakMap,ZQ.set(r,o));let a=e?._links??p4e,i=o.get(a);i||(i=new Map,o.set(a,i));let l=`${t.elements?.join(",")??""}:${t.viewport??""}:${t.pseudoState??""}`,s=(t.blockName||"")+""+(t.variationName||"")+""+l;if(i.has(s))return i.get(s);let c=qQ(e,t);return i.set(s,c),c}var eX=n(TI(),1),{lock:tX,unlock:Det}=(0,eX.__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/global-styles-engine");var yg={};tX(yg,{getResponsiveMediaQueries:WQ,getViewportBreakpoints:mR,getViewportBreakpointValueInPixels:pR,resolveStyle:JQ,getVariationStyle:X3});var{getResponsiveMediaQueries:m4e}=U(yg),{globalStylesDataKey:d4e}=U(ks.privateApis),f4e="core/gallery",e4="var( --wp--style--gallery-gap-default, var( --gallery-block--gutter-size, var( --wp--style--block-gap, 0.5em ) ) )";function rX(e,t){let r=e4;return t&&(r=typeof t=="string"?(0,ks.__experimentalGetGapCSSValue)(t)||e4:(0,ks.__experimentalGetGapCSSValue)(t?.left)||e4),`${e} {
		--wp--style--unstable-gallery-gap: ${r==="0"?"0px":r}
	}`}function oX(e){if(Object.hasOwn(e?.spacing||{},"blockGap"))return e.spacing.blockGap}function aX({style:e,clientId:t}){let r=`#block-${t}`,[o]=(0,ks.useSettings)("viewport"),i=(0,nX.useSelect)(p=>p(ks.store).getSettings()?.[d4e],[])?.blocks?.[f4e]||{},l=oX(e),s=i?.spacing?.blockGap??e4,u=rX(r,l===void 0?s:l);return Object.entries(m4e(o)).forEach(([p,m])=>{let d=oX(e?.[p]),f=l===void 0?i?.[p]?.spacing?.blockGap:void 0,h=d===void 0?f:d;h!=null&&(u+=`${m}{${rX(r,h)}}`)}),(0,ks.useStyleOverride)({css:u}),null}var Fb=n(H(),1),kg=n(F(),1),cX=n(E(),1),o4=n(re(),1),uX=n(q(),1);var t4=n(N(),1),$p="core/attached-media",_g="date",xg="desc",h4e={[$p]:{title:(0,t4.__)("Use attached images"),description:(0,t4.__)("Images attached to the post."),emptyMessage:(0,t4.__)("Images attached to the post will appear here.")}};function r4(e){return h4e[e]}var Ob=100;function iX(e,{postId:t}){let{source:r,args:o={}}=e??{};return r===$p&&t?{parent:t,per_page:Ob,media_type:"image",orderby:o.orderBy==="date"||o.orderBy==="title"?o.orderBy:_g,order:o.order==="asc"||o.order==="desc"?o.order:xg}:null}var lX=[];function g4e(e,t){let{sizeSlug:r,linkTo:o,linkTarget:a,aspectRatio:i}=t,l=!!i&&i!=="auto";return{id:e.id,...K3(e,r),...zb(e,o),...Vb(a,t),sizeSlug:r,caption:e.caption?.raw||"",alt:e.alt_text||"",aspectRatio:l?i:void 0,scale:l?"cover":void 0}}function sX(e,t){return e.map(r=>(0,uX.createBlock)("core/image",g4e(r,t)))}function pX({attributes:e,setAttributes:t,clientId:r,postId:o,postType:a}){let{dynamicContent:i}=e,l=!!a,s=r4(i?.source),c=i?.args?.orderBy??_g,u=i?.args?.order??xg,p=(0,kg.useRegistry)(),{replaceInnerBlocks:m,__unstableMarkNextChangeAsNotPersistent:d}=(0,kg.useDispatch)(cX.store),f=(0,Fb.useMemo)(()=>i?iX(i,{postId:o}):null,[i,o]),{dynamicMedia:h,dynamicMediaTotal:g,isResolvingDynamic:v}=(0,kg.useSelect)(R=>{if(!f)return{dynamicMedia:lX,dynamicMediaTotal:0,isResolvingDynamic:!1};let z=["postType","attachment",f];return{dynamicMedia:R(o4.store).getEntityRecords(...z)??lX,dynamicMediaTotal:R(o4.store).getEntityRecordsTotalItems(...z)??0,isResolvingDynamic:!R(o4.store).hasFinishedResolution("getEntityRecords",z)}},[f]),b=g>Ob,{sizeSlug:_,linkTo:k,linkTarget:x,aspectRatio:w}=e,C=(0,Fb.useMemo)(()=>({sizeSlug:_,linkTo:k,linkTarget:x,aspectRatio:w}),[_,k,x,w]),P=(0,Fb.useMemo)(()=>sX(h,C),[h,C]),B=(0,Fb.useMemo)(()=>({allowResize:e.allowResize??!1,imageCrop:e.imageCrop,fixedHeight:e.fixedHeight,navigationButtonType:e.navigationButtonType}),[e.allowResize,e.imageCrop,e.fixedHeight,e.navigationButtonType]);function I(){p.batch(()=>{t({dynamicContent:{source:$p}}),d(),m(r,[])})}function D(){p.batch(()=>{m(r,sX(h,C)),d(),t({dynamicContent:void 0})})}function T(R,z){let j={...i?.args};delete j.orderBy,delete j.order,R!==void 0&&(R!==_g||z!==xg)&&(j.orderBy=R,j.order=z);let G={...i};Object.keys(j).length?G.args=j:delete G.args,t({dynamicContent:G})}function L(){t({dynamicContent:{source:i.source}})}return{dynamicContent:i,canUseDynamicSource:l,sourceDescriptor:s,hasMoreImagesThanCap:b,dynamicMediaTotal:g,sourceOrderby:c,sourceOrder:u,dynamicMedia:h,dynamicImageBlocks:P,isResolvingDynamic:v,galleryContext:B,enableDynamicMode:I,convertToStatic:D,setSourceOrder:T,resetSource:L}}var Jt=n(N(),1),wg=n(H(),1),Or=n(O(),1),qp=n(E(),1);var pt=n(y(),1),v4e=[{label:(0,Jt.__)("Newest to oldest"),value:"date/desc"},{label:(0,Jt.__)("Oldest to newest"),value:"date/asc"},{label:(0,Jt.__)("A \u2192 Z"),value:"title/asc"},{label:(0,Jt.__)("Z \u2192 A"),value:"title/desc"}];function b4e({orderby:e,order:t,onChange:r}){return(0,pt.jsx)(Or.SelectControl,{label:(0,Jt.__)("Order by"),value:`${e}/${t}`,options:v4e,onChange:o=>{let[a,i]=o.split("/");r({orderby:a,order:i})}})}function mX({onConfirm:e,onCancel:t}){return(0,pt.jsx)(Or.__experimentalConfirmDialog,{isOpen:!0,title:(0,Jt.__)("Detach Gallery"),__experimentalHideHeader:!1,confirmButtonText:(0,Jt.__)("Detach"),onConfirm:e,onCancel:t,size:"medium",children:(0,Jt.__)("The gallery displays the images attached to the post. Detaching will enable you to add, delete, or reorder images. However, new attachments will no longer be added automatically.")})}function dX({dynamic:e,dropdownMenuProps:t,hasImages:r}){let{dynamicContent:o,canUseDynamicSource:a,sourceDescriptor:i,sourceOrderby:l,sourceOrder:s,setSourceOrder:c,convertToStatic:u,enableDynamicMode:p,resetSource:m,isResolvingDynamic:d,hasMoreImagesThanCap:f,dynamicMediaTotal:h}=e,g=!!o,[v,b]=(0,wg.useState)(!1),[_,k]=(0,wg.useState)(!1);function x(){r?b(!0):p()}return g?(0,pt.jsxs)(pt.Fragment,{children:[(0,pt.jsxs)(Or.__experimentalToolsPanel,{label:(0,Jt.__)("Source"),resetAll:m,dropdownMenuProps:t,children:[(0,pt.jsxs)("div",{className:"wp-block-gallery__source-settings",children:[(0,pt.jsx)("p",{className:"wp-block-gallery__source-description",children:i?.description??(0,Jt.__)("Dynamic images.")}),(0,pt.jsx)(Or.Button,{__next40pxDefaultSize:!0,variant:"secondary",onClick:()=>k(!0),disabled:d,accessibleWhenDisabled:!0,children:(0,Jt.__)("Detach Gallery")})]}),f&&(0,pt.jsx)(Or.Notice,{className:"wp-block-gallery__source-notice",status:"warning",isDismissible:!1,children:(0,Jt.sprintf)((0,Jt.__)("Only the first %1$d of %2$d images will be displayed."),Ob,h)}),(0,pt.jsx)(Or.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,Jt.__)("Order by"),hasValue:()=>l!==_g||s!==xg,onDeselect:()=>c(void 0,void 0),children:(0,pt.jsx)(b4e,{orderby:l,order:s,onChange:({orderby:w,order:C})=>c(w,C)})})]}),_&&(0,pt.jsx)(mX,{onConfirm:()=>{u(),k(!1)},onCancel:()=>k(!1)})]}):a?(0,pt.jsxs)(pt.Fragment,{children:[(0,pt.jsx)(Or.PanelBody,{title:(0,Jt.__)("Source"),children:(0,pt.jsx)("div",{className:"wp-block-gallery__source-settings",children:(0,pt.jsx)(Or.Button,{__next40pxDefaultSize:!0,variant:"secondary",onClick:x,children:(0,Jt.__)("Use images attached to the post")})})}),v&&(0,pt.jsx)(Or.__experimentalConfirmDialog,{isOpen:!0,title:(0,Jt.__)("Use images attached to the post?"),__experimentalHideHeader:!1,confirmButtonText:(0,Jt.__)("Use attached images"),onConfirm:()=>{p(),b(!1)},onCancel:()=>b(!1),size:"medium",children:(0,Jt.__)("The images in this gallery will be replaced, but will remain in the media library.")})]}):null}function y4e({imageBlocks:e,layout:t}){let{children:r,ref:o,className:a}=(0,qp.__experimentalUseBlockPreview)({blocks:e,layout:t});return(0,pt.jsx)("div",{ref:o,className:a,style:{display:"contents"},children:r})}function fX({dynamic:e,blockProps:t,innerBlocksProps:r,attributes:o,setAttributes:a,isSelected:i,insertBlocksAfter:l,isContentLocked:s,multiGallerySelection:c}){let{sourceDescriptor:u,dynamicImageBlocks:p,galleryContext:m,isResolvingDynamic:d,convertToStatic:f}=e,h=(0,qp.useBlockEditingMode)(),[g,v]=(0,wg.useState)(!1),b=(0,wg.useMemo)(()=>SQ(o.layout)?{...o.layout,type:"flex"}:o.layout,[o.layout]),_=d?(0,Jt.__)("Loading images\u2026"):u?.emptyMessage??(0,Jt.__)("Dynamic images will appear here.");return(0,pt.jsxs)(pt.Fragment,{children:[h==="default"&&(0,pt.jsxs)(pt.Fragment,{children:[(0,pt.jsx)(qp.BlockControls,{group:"other",children:(0,pt.jsx)(Or.ToolbarButton,{onClick:()=>v(!0),disabled:d,children:(0,Jt.__)("Detach")})}),g&&(0,pt.jsx)(mX,{onConfirm:()=>{f(),v(!1)},onCancel:()=>v(!1)})]}),(0,pt.jsxs)("figure",{...t,children:[p.length?(0,pt.jsx)(qp.BlockContextProvider,{value:m,children:(0,pt.jsx)(y4e,{imageBlocks:p,layout:b})}):(0,pt.jsx)(Or.Placeholder,{icon:q3,label:(0,Jt.__)("Gallery"),instructions:_,children:d&&(0,pt.jsx)(Or.Spinner,{})}),(0,pt.jsx)(Ao,{attributes:o,setAttributes:a,isSelected:i,insertBlocksAfter:l,showToolbarButton:!c&&!s,className:"blocks-gallery-caption",label:(0,Jt.__)("Gallery caption text"),placeholder:(0,Jt.__)("Add gallery caption")})]}),r.children]})}var ot=n(y(),1),_4e=8,hX=[{icon:Q1,label:(0,He.__)("Link images to attachment pages"),value:gc,noticeText:(0,He.__)("Attachment Pages")},{icon:pp,label:(0,He.__)("Link images to media files"),value:hc,noticeText:(0,He.__)("Media Files")},{icon:od,label:(0,He.__)("Enlarge on click"),value:gg,noticeText:(0,He.__)("Lightbox effect"),infoText:(0,He.__)("Scale images with a lightbox effect")},{icon:sv,label:(0,He._x)("None","Media item link option"),value:fc,noticeText:(0,He.__)("None")}],x4e=[{label:(0,He.__)("Icon"),value:"icon"},{label:(0,He.__)("Text"),value:"text"},{label:(0,He.__)("Both"),value:"both"}],gR=["image"],k4e=(0,He.__)("Drag and drop images, upload, or choose from your library."),w4e={name:"core/image"},gX=[];function yX(e){let{setAttributes:t,attributes:r,className:o,clientId:a,isSelected:i,insertBlocksAfter:l,isContentLocked:s,context:c,__unstableLayoutClassNames:u}=e,p=c?.postId,m=c?.postType,d=(0,uo.useBlockEditingMode)(),[f,h,g,v]=(0,uo.useSettings)("blocks.core/image.lightbox","dimensions.aspectRatios.default","dimensions.aspectRatios.theme","dimensions.defaultAspectRatios"),b=f?.allowEditing?hX:hX.filter(ne=>ne.value!==gg),{align:_,navigationButtonType:k,columns:x,imageCrop:w,randomOrder:C,linkTarget:P,linkTo:B,sizeSlug:I,aspectRatio:D}=r,{__unstableMarkNextChangeAsNotPersistent:T,replaceInnerBlocks:L,updateBlockAttributes:R,selectBlock:z}=(0,jb.useDispatch)(uo.store),{createSuccessNotice:j,createErrorNotice:G}=(0,jb.useDispatch)(bX.store),{getBlock:W,getSettings:$,innerBlockImages:V,multiGallerySelection:Q}=(0,jb.useSelect)(ne=>{let{getBlockName:Fe,getMultiSelectedBlockClientIds:rt,getSettings:Tt,getBlock:We}=ne(uo.store),ao=rt();return{getBlock:We,getSettings:Tt,innerBlockImages:We(a)?.innerBlocks??gX,multiGallerySelection:ao.length&&ao.every(ea=>Fe(ea)==="core/gallery")}},[a]),Y=(0,Hb.useMemo)(()=>V?.map(ne=>({clientId:ne.clientId,id:ne.attributes.id,url:ne.attributes.url,attributes:ne.attributes,fromSavedContent:!!ne.originalContent})),[V]),ee=MQ(V),te=DQ(Y,ee),ae=!!Y.length,J=!!r.dynamicContent,ce=pX({attributes:r,setAttributes:t,clientId:a,postId:p,postType:m}),ie=J?ce.dynamicMedia.length:Y.length,we;J?we=B===gg:f?.enabled?we=Y.filter(ne=>ne.attributes?.lightbox?.enabled===void 0||ne.attributes?.lightbox?.enabled===!0).length>0:we=Y.filter(ne=>ne.attributes.lightbox?.enabled).length>0;let se=g?.map(({name:ne,ratio:Fe})=>({label:ne,value:Fe})),de=h?.map(({name:ne,ratio:Fe})=>({label:ne,value:Fe})),_e=[{label:(0,He._x)("Original","Aspect ratio option for dimensions control"),value:"auto"},...v?de||[]:[],...se||[]];(0,Hb.useEffect)(()=>{te?.forEach(ne=>{T(),R(ne.clientId,{...pe(ne.attributes),id:ne.id,align:void 0})})},[te]);let oe=IQ(J?ce.dynamicMedia:ee,i,$);function pe(ne){let Fe=ne.id?ee.find(({id:We})=>We===ne.id):null,rt;ne.className&&ne.className!==""&&(rt=ne.className);let Tt;return ne.linkTarget||ne.rel?Tt={linkTarget:ne.linkTarget,rel:ne.rel}:Tt=Vb(P,r),{...K3(Fe,I),...zb(Fe,B,ne?.linkDestination),...Tt,className:rt,sizeSlug:I,caption:ne.caption.length>0?ne.caption:Fe.caption?.raw,alt:ne.alt||Fe.alt_text,aspectRatio:D==="auto"?void 0:D}}function le(ne){let Fe=ne.type;return gR.some(rt=>Fe?.indexOf(rt)===0)||ne.blob}function Pe(ne){let Fe=Object.prototype.toString.call(ne)==="[object FileList]",rt=Fe?Array.from(ne).map(gt=>gt.url?gt:{blob:(0,vR.createBlobURL)(gt)}):ne;rt.every(le)||G((0,He.__)("If uploading to a gallery all files need to be image formats"),{id:"gallery-upload-invalid-file",type:"snackbar"});let Tt=rt.filter(gt=>gt.url||le(gt)).map(gt=>gt.url?gt:{blob:gt.blob||(0,vR.createBlobURL)(gt)}),We=Tt.reduce((gt,io,rl)=>(gt[io.id]=rl,gt),{}),ao=Fe?V:V.filter(gt=>Tt.find(io=>io.id===gt.attributes.id)),nu=Tt.filter(gt=>!ao.find(io=>gt.id===io.attributes.id)).map(gt=>(0,vX.createBlock)("core/image",{id:gt.id,blob:gt.blob,url:gt.url,caption:gt.caption,alt:gt.alt}));L(a,ao.concat(nu).sort((gt,io)=>We[gt.attributes.id]-We[io.attributes.id])),nu?.length>0&&z(nu[0].clientId)}function Ee(ne){G(ne,{type:"snackbar"})}function X(ne){t({linkTo:ne});let Fe={},rt=[];W(a).innerBlocks.forEach(We=>{rt.push(We.clientId);let ao=We.attributes.id?ee.find(({id:ea})=>ea===We.attributes.id):null;Fe[We.clientId]=zb(ao,ne,!1,We.attributes,f)}),R(rt,Fe,{uniqueByBlock:!0});let Tt=[...b].find(We=>We.value===ne);j((0,He.sprintf)((0,He.__)("All gallery image links updated to: %s"),Tt.noticeText),{id:"gallery-attributes-linkTo",type:"snackbar"})}function Ce(ne){t({columns:ne})}function me(){t({imageCrop:!w})}function Xe(){t({randomOrder:!C})}function he(ne){let Fe=ne?"_blank":void 0;t({linkTarget:Fe});let rt={},Tt=[];W(a).innerBlocks.forEach(ao=>{Tt.push(ao.clientId),rt[ao.clientId]=Vb(Fe,ao.attributes)}),R(Tt,rt,{uniqueByBlock:!0});let We=ne?(0,He.__)("All gallery images updated to open in new tab"):(0,He.__)("All gallery images updated to not open in new tab");j(We,{id:"gallery-attributes-openInNewTab",type:"snackbar"})}function Re(ne){t({sizeSlug:ne});let Fe={},rt=[];W(a).innerBlocks.forEach(We=>{rt.push(We.clientId);let ao=We.attributes.id?ee.find(({id:ea})=>ea===We.attributes.id):null;Fe[We.clientId]=EQ(ao,ne)}),R(rt,Fe,{uniqueByBlock:!0});let Tt=oe.find(We=>We.value===ne);j((0,He.sprintf)((0,He.__)("All gallery image sizes updated to: %s"),Tt?.label??ne),{id:"gallery-attributes-sizeSlug",type:"snackbar"})}function St(ne){t({aspectRatio:ne});let Fe={},rt=[];W(a).innerBlocks.forEach(We=>{rt.push(We.clientId),Fe[We.clientId]={aspectRatio:ne==="auto"?void 0:ne}}),R(rt,Fe,!0);let Tt=_e.find(We=>We.value===ne);j((0,He.sprintf)((0,He.__)("All gallery images updated to aspect ratio: %s"),Tt?.label||ne),{id:"gallery-attributes-aspectRatio",type:"snackbar"})}(0,Hb.useEffect)(()=>{B||(T(),t({linkTo:window?.wp?.media?.view?.settings?.defaultProps?.link||fc}))},[B]);let ze=ae&&Y.some(ne=>!!ne.id),oo={addToGallery:!1,disableMediaButtons:Y.some(ne=>!ne.id&&ne.url?.indexOf("blob:")===0),value:{}},Lo=(0,uo.useBlockProps)({className:S(o,"has-nested-images",J&&[u,"blocks-gallery-grid",{[`align${_}`]:_,[`columns-${x}`]:x!==void 0,"columns-default":x===void 0,"is-cropped":w}])}),no=(0,uo.useInnerBlocksProps)(Lo,{defaultBlock:w4e,directInsert:!0,orientation:"horizontal",renderAppender:!1,allowedBlocks:J?gX:void 0}),Jn=Z();if(!ae&&!J)return(0,ot.jsxs)("div",{...no,children:[no.children,(0,ot.jsx)(uo.MediaPlaceholder,{handleUpload:!1,icon:q3,labels:{title:(0,He.__)("Gallery"),instructions:k4e},onSelect:Pe,allowedTypes:gR,multiple:!0,onError:Ee,...oo,children:d==="default"&&(0,ot.jsx)(Pt.Button,{__next40pxDefaultSize:!0,variant:"secondary",onClick:ce.enableDynamicMode,children:r4($p).title})})]});let La=B&&B!=="none";return(0,ot.jsxs)(ot.Fragment,{children:[(0,ot.jsxs)(uo.InspectorControls,{children:[(0,ot.jsx)(dX,{dynamic:ce,dropdownMenuProps:Jn,hasImages:ae}),(0,ot.jsxs)(Pt.__experimentalToolsPanel,{label:(0,He.__)("Settings"),resetAll:()=>{t({navigationButtonType:"icon",columns:void 0,imageCrop:!0,randomOrder:!1}),St("auto"),I!==Mb&&Re(Mb),P&&he(!1)},dropdownMenuProps:Jn,children:[ie>1&&(0,ot.jsx)(Pt.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,He.__)("Columns"),hasValue:()=>!!x&&x!==ie,onDeselect:()=>Ce(void 0),children:(0,ot.jsx)(Pt.RangeControl,{label:(0,He.__)("Columns"),value:x||Z3(ie),onChange:Ce,min:1,max:Math.min(_4e,ie),required:!0})}),oe?.length>0&&(0,ot.jsx)(Pt.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,He.__)("Resolution"),hasValue:()=>I!==Mb,onDeselect:()=>Re(Mb),children:(0,ot.jsx)(Pt.SelectControl,{label:(0,He.__)("Resolution"),help:(0,He.__)("Select the size of the source images."),value:I,options:oe,onChange:Re,hideCancelButton:!0})}),(0,ot.jsx)(Pt.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,He.__)("Crop images to fit"),hasValue:()=>!w,onDeselect:()=>t({imageCrop:!0}),children:(0,ot.jsx)(Pt.ToggleControl,{label:(0,He.__)("Crop images to fit"),checked:!!w,onChange:me})}),(0,ot.jsx)(Pt.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,He.__)("Randomize order"),hasValue:()=>!!C,onDeselect:()=>t({randomOrder:!1}),children:(0,ot.jsx)(Pt.ToggleControl,{label:(0,He.__)("Randomize order"),checked:!!C,onChange:Xe})}),La&&(0,ot.jsx)(Pt.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,He.__)("Open images in new tab"),hasValue:()=>!!P,onDeselect:()=>he(!1),children:(0,ot.jsx)(Pt.ToggleControl,{label:(0,He.__)("Open images in new tab"),checked:P==="_blank",onChange:he})}),_e.length>1&&(0,ot.jsx)(Pt.__experimentalToolsPanelItem,{hasValue:()=>!!D&&D!=="auto",label:(0,He.__)("Aspect ratio"),onDeselect:()=>St("auto"),isShownByDefault:!0,children:(0,ot.jsx)(Pt.SelectControl,{label:(0,He.__)("Aspect ratio"),help:(0,He.__)("Set a consistent aspect ratio for all images in the gallery."),value:D,options:_e,onChange:St})}),f?.allowEditing&&we&&(0,ot.jsx)(Pt.__experimentalToolsPanelItem,{label:(0,He.__)("Navigation button type"),isShownByDefault:!0,hasValue:()=>k!=="icon",onDeselect:()=>t({navigationButtonType:"icon"}),children:(0,ot.jsx)(Pt.__experimentalToggleGroupControl,{label:(0,He.__)("Navigation button type"),value:k,onChange:ne=>t({navigationButtonType:ne}),isBlock:!0,help:(0,He.__)("Adjust the appearance of buttons in the lightbox."),children:x4e.map(ne=>(0,ot.jsx)(Pt.__experimentalToggleGroupControlOption,{value:ne.value,label:ne.label},ne.value))})})]})]}),(0,ot.jsx)(uo.BlockControls,{group:"block",children:(0,ot.jsx)(Pt.ToolbarDropdownMenu,{icon:di,label:(0,He.__)("Link"),children:({onClose:ne})=>(0,ot.jsx)(Pt.MenuGroup,{children:b.map(Fe=>{let rt=B===Fe.value;return(0,ot.jsx)(Pt.MenuItem,{isSelected:rt,className:S("components-dropdown-menu__menu-item",{"is-active":rt}),iconPosition:"left",icon:Fe.icon,onClick:()=>{X(Fe.value),ne()},role:"menuitemradio",info:Fe.infoText,children:Fe.label},Fe.value)})})})}),(0,ot.jsxs)(ot.Fragment,{children:[!Q&&!J&&(0,ot.jsx)(uo.BlockControls,{group:"other",children:(0,ot.jsx)(uo.MediaReplaceFlow,{allowedTypes:gR,handleUpload:!1,onSelect:Pe,name:(0,He.__)("Add"),multiple:!0,mediaIds:Y.filter(ne=>ne.id).map(ne=>ne.id),addToGallery:ze,variant:"toolbar"})}),(0,ot.jsx)(aX,{style:r.style,clientId:a})]}),J?(0,ot.jsx)(fX,{...e,dynamic:ce,blockProps:Lo,innerBlocksProps:no,multiGallerySelection:Q}):(0,ot.jsx)(BQ,{...e,isContentLocked:s,images:Y,blockProps:no,insertBlocksAfter:l,multiGallerySelection:Q})]})}var n4={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/gallery",title:"Gallery",category:"media",usesContext:["galleryId","postId","postType"],allowedBlocks:["core/image"],description:"Display multiple images in a rich gallery.",keywords:["images","photos"],textdomain:"default",attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},fullUrl:{type:"string",source:"attribute",selector:"img",attribute:"data-full-url"},link:{type:"string",source:"attribute",selector:"img",attribute:"data-link"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},id:{type:"string",source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"rich-text",source:"rich-text",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",items:{type:"number"},default:[]},dynamicContent:{type:"object"},navigationButtonType:{type:"string",default:"icon",enum:["icon","text","both"]},shortCodeTransforms:{type:"array",items:{type:"object"},default:[]},columns:{type:"number",minimum:1,maximum:8},caption:{type:"rich-text",source:"rich-text",selector:".blocks-gallery-caption",role:"content"},imageCrop:{type:"boolean",default:!0},randomOrder:{type:"boolean",default:!1},fixedHeight:{type:"boolean",default:!0},linkTarget:{type:"string"},linkTo:{type:"string"},sizeSlug:{type:"string",default:"large"},allowResize:{type:"boolean",default:!1},aspectRatio:{type:"string",default:"auto"}},providesContext:{allowResize:"allowResize",imageCrop:"imageCrop",fixedHeight:"fixedHeight",navigationButtonType:"navigationButtonType"},supports:{anchor:!0,align:!0,__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{color:!0,radius:!0}},html:!1,units:["px","em","rem","vh","vw"],spacing:{margin:!0,padding:!0,blockGap:{sides:["horizontal","vertical"],__experimentalDefault:"var( --wp--style--gallery-gap-default, var( --gallery-block--gutter-size, var( --wp--style--block-gap, 0.5em ) ) )"},__experimentalDefaultControls:{blockGap:!0,margin:!1,padding:!1}},color:{text:!1,background:!0,gradients:!0},layout:{allowSwitching:!1,allowInheriting:!1,allowEditing:!1,default:{type:"flex"}},interactivity:{clientNavigation:!0},listView:!0},editorStyle:"wp-block-gallery-editor",style:"wp-block-gallery"};var Tu=n(E(),1),a4=n(y(),1);function _X({attributes:e}){let{caption:t,columns:r,imageCrop:o,dynamicContent:a}=e,i=!Tu.RichText.isEmpty(t)&&(0,a4.jsx)(Tu.RichText.Content,{tagName:"figcaption",className:S("blocks-gallery-caption",(0,Tu.__experimentalGetElementClassName)("caption")),value:t});if(a)return i||null;let l=S("has-nested-images",{[`columns-${r}`]:r!==void 0,"columns-default":r===void 0,"is-cropped":o}),s=Tu.useBlockProps.save({className:l}),c=Tu.useInnerBlocksProps.save(s);return(0,a4.jsxs)("figure",{...c,children:[c.children,i]})}var xl=n(q(),1),xX=n(Ar(),1),bR=n(_u(),1);var S4e=e=>e?e.split(",").map(t=>parseInt(t,10)):[],kX=e=>e.map(t=>(0,xl.createBlock)(t.name,t.attributes,kX(t.innerBlocks||[])));function T4e(e){if(e.name==="core/gallery"&&e.attributes?.images.length>0){let t=e.attributes.images.map(({url:r,id:o,alt:a})=>(0,xl.createBlock)("core/image",{url:r,id:o?parseInt(o,10):null,alt:a,sizeSlug:e.attributes.sizeSlug,linkDestination:e.attributes.linkDestination}));delete e.attributes.ids,delete e.attributes.images,e.innerBlocks=t}return e}(0,bR.addFilter)("blocks.switchToBlockType.transformedBlock","core/gallery/update-third-party-transform-to",T4e);function P4e(e,t){let o=(Array.isArray(t)?t:[t]).find(a=>a.name==="core/gallery"&&a.innerBlocks.length>0&&!a.attributes.images?.length>0&&!e.name.includes("core/"));if(o){let a=o.innerBlocks.map(({attributes:{url:l,id:s,alt:c}})=>({url:l,id:s?parseInt(s,10):null,alt:c})),i=a.map(({id:l})=>l);o.attributes.images=a,o.attributes.ids=i}return e}(0,bR.addFilter)("blocks.switchToBlockType.transformedBlock","core/gallery/update-third-party-transform-from",P4e);var E4e={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:e=>{let{align:t,sizeSlug:r}=e[0];t=e.every(i=>i.align===t)?t:void 0,r=e.every(i=>i.sizeSlug===r)?r:void 0;let a=e.filter(({url:i})=>i).map(i=>(i.width=void 0,i.height=void 0,(0,xl.createBlock)("core/image",i)));return(0,xl.createBlock)("core/gallery",{align:t,sizeSlug:r},a)}},{type:"shortcode",tag:"gallery",transform({named:{ids:e,columns:t=3,link:r,orderby:o,size:a}}){let i=S4e(e).map(c=>parseInt(c,10)),l=fc;return r==="post"?l=gc:r==="file"&&(l=hc),(0,xl.createBlock)("core/gallery",{columns:parseInt(t,10),linkTo:l,randomOrder:o==="rand",...a&&{sizeSlug:a}},i.map(c=>(0,xl.createBlock)("core/image",{id:c,...a&&{sizeSlug:a}})))},isMatch({named:e}){return e.ids!==void 0}},{type:"files",priority:1,isMatch(e){return e.length
Showing 512.00 KB of 1.24 MB. Use Edit/Download for full content.

Directory Contents

Dirs: 3 × Files: 130
Name Size Perms Modified Actions
- drwxr-xr-x 2026-03-18 19:41:00
Edit Download
- drwxr-xr-x 2026-08-20 15:13:45
Edit Download
vendor DIR
- drwxr-xr-x 2026-09-18 11:11:23
Edit Download
5.56 KB lrw-r--r-- 2026-08-20 15:13:32
Edit Download
2.55 KB lrw-r--r-- 2026-08-20 15:13:39
Edit Download
15.58 KB lrw-r--r-- 2026-08-20 15:13:33
Edit Download
5.84 KB lrw-r--r-- 2026-08-20 15:13:33
Edit Download
19.53 KB lrw-r--r-- 2026-08-20 15:13:35
Edit Download
7.33 KB lrw-r--r-- 2026-08-20 15:13:33
Edit Download
9.78 KB lrw-r--r-- 2026-08-20 15:13:34
Edit Download
5.56 KB lrw-r--r-- 2026-08-20 15:13:31
Edit Download
115 B lrw-r--r-- 2026-08-20 15:13:29
Edit Download
142 B lrw-r--r-- 2026-08-20 15:13:34
Edit Download
2.35 KB lrw-r--r-- 2026-08-20 15:13:45
Edit Download
1.21 KB lrw-r--r-- 2026-08-20 15:13:31
Edit Download
372.69 KB lrw-r--r-- 2026-08-20 15:13:29
Edit Download
126.54 KB lrw-r--r-- 2026-08-20 15:13:34
Edit Download
3.60 MB lrwxr-xr-x 2026-09-18 11:11:20
Edit Download
1.35 MB lrwxr-xr-x 2026-09-18 11:11:21
Edit Download
2.89 MB lrwxr-xr-x 2026-09-18 11:11:26
Edit Download
1.24 MB lrwxr-xr-x 2026-09-18 11:11:24
Edit Download
6.68 KB lrwxr-xr-x 2026-10-29 03:11:08
Edit Download
2.54 KB lrwxr-xr-x 2026-10-29 03:11:08
Edit Download
50.59 KB lrwxr-xr-x 2026-10-29 03:11:08
Edit Download
10.48 KB lrwxr-xr-x 2026-10-29 03:11:08
Edit Download
292.88 KB lrw-r--r-- 2026-08-20 15:13:38
Edit Download
142.99 KB lrw-r--r-- 2026-08-20 15:13:36
Edit Download
128.65 KB lrw-r--r-- 2026-08-20 15:13:35
Edit Download
55.89 KB lrw-r--r-- 2026-08-20 15:13:34
Edit Download
3.64 MB lrw-r--r-- 2026-08-20 15:13:31
Edit Download
817.08 KB lrw-r--r-- 2026-08-20 15:13:32
Edit Download
83.74 KB lrw-r--r-- 2026-08-20 15:13:34
Edit Download
29.39 KB lrw-r--r-- 2026-08-20 15:13:38
Edit Download
29.11 KB lrw-r--r-- 2026-08-20 15:13:35
Edit Download
12.20 KB lrw-r--r-- 2026-08-20 15:13:30
Edit Download
660.00 KB lrw-r--r-- 2026-08-20 15:13:33
Edit Download
226.52 KB lrw-r--r-- 2026-08-20 15:13:29
Edit Download
111.55 KB lrw-r--r-- 2026-08-20 15:13:29
Edit Download
43.42 KB lrw-r--r-- 2026-08-20 15:13:32
Edit Download
4.20 KB lrw-r--r-- 2026-08-20 15:13:36
Edit Download
1.84 KB lrw-r--r-- 2026-08-20 15:13:29
Edit Download
83.69 KB lrw-r--r-- 2026-08-20 15:13:32
Edit Download
26.04 KB lrw-r--r-- 2026-08-20 15:13:33
Edit Download
176.69 KB lrw-r--r-- 2026-08-20 15:13:35
Edit Download
141.35 KB lrw-r--r-- 2026-08-20 15:13:34
Edit Download
3.11 KB lrw-r--r-- 2026-08-20 15:13:33
Edit Download
1.35 KB lrw-r--r-- 2026-08-20 15:13:36
Edit Download
1.53 KB lrw-r--r-- 2026-08-20 15:13:33
Edit Download
881 B lrw-r--r-- 2026-08-20 15:13:38
Edit Download
35.12 KB lrw-r--r-- 2026-08-20 15:13:31
Edit Download
12.86 KB lrw-r--r-- 2026-08-20 15:13:39
Edit Download
441.28 KB lrwxr-xr-x 2026-09-18 11:11:22
Edit Download
156.59 KB lrwxr-xr-x 2026-09-18 11:11:25
Edit Download
2.20 MB lrwxr-xr-x 2026-09-18 11:11:23
Edit Download
884.08 KB lrwxr-xr-x 2026-09-18 11:11:22
Edit Download
180.29 KB lrw-r--r-- 2026-08-20 15:13:37
Edit Download
68.81 KB lrw-r--r-- 2026-08-20 15:13:29
Edit Download
3.79 MB lrwxr-xr-x 2026-09-18 11:11:24
Edit Download
1.50 MB lrwxr-xr-x 2026-09-18 11:11:22
Edit Download
27.32 KB lrw-r--r-- 2026-08-20 15:13:38
Edit Download
12.18 KB lrw-r--r-- 2026-08-20 15:13:34
Edit Download
2.36 KB lrw-r--r-- 2026-08-20 15:13:29
Edit Download
1.13 KB lrw-r--r-- 2026-08-20 15:13:31
Edit Download
229.45 KB lrw-r--r-- 2026-08-20 15:13:37
Edit Download
96.19 KB lrw-r--r-- 2026-08-20 15:13:34
Edit Download
12.01 KB lrw-r--r-- 2026-08-20 15:13:32
Edit Download
4.99 KB lrw-r--r-- 2026-08-20 15:13:30
Edit Download
1.71 KB lrw-r--r-- 2026-08-20 15:13:34
Edit Download
950 B lrw-r--r-- 2026-08-20 15:13:37
Edit Download
15.36 KB lrw-r--r-- 2026-08-20 15:13:37
Edit Download
5.66 KB lrw-r--r-- 2026-08-20 15:13:35
Edit Download
2.77 KB lrw-r--r-- 2026-08-20 15:13:34
Edit Download
1.17 KB lrw-r--r-- 2026-08-20 15:13:33
Edit Download
10.26 KB lrw-r--r-- 2026-08-20 15:13:35
Edit Download
3.60 KB lrw-r--r-- 2026-08-20 15:13:31
Edit Download
8.36 KB lrw-r--r-- 2026-08-20 15:13:35
Edit Download
2.97 KB lrw-r--r-- 2026-08-20 15:13:29
Edit Download
13.34 KB lrw-r--r-- 2026-08-20 15:13:36
Edit Download
5.41 KB lrw-r--r-- 2026-08-20 15:13:36
Edit Download
1.02 MB lrwxr-xr-x 2026-09-18 11:11:23
Edit Download
381.85 KB lrwxr-xr-x 2026-09-18 11:11:25
Edit Download
9.55 KB lrw-r--r-- 2026-08-20 15:13:33
Edit Download
3.85 KB lrw-r--r-- 2026-08-20 15:13:34
Edit Download
4.32 KB lrw-r--r-- 2026-08-20 15:13:35
Edit Download
1.71 KB lrw-r--r-- 2026-08-20 15:13:36
Edit Download
88.07 KB lrw-r--r-- 2026-08-20 15:13:38
Edit Download
37.40 KB lrw-r--r-- 2026-08-20 15:13:30
Edit Download
20.72 KB lrw-r--r-- 2026-08-20 15:13:29
Edit Download
7.08 KB lrw-r--r-- 2026-08-20 15:13:35
Edit Download
17.30 KB lrw-r--r-- 2026-08-20 15:13:30
Edit Download
5.58 KB lrw-r--r-- 2026-08-20 15:13:34
Edit Download
21.03 KB lrw-r--r-- 2026-08-20 15:13:38
Edit Download
7.84 KB lrw-r--r-- 2026-08-20 15:13:34
Edit Download
5.15 KB lrw-r--r-- 2026-08-20 15:13:36
Edit Download
2.04 KB lrw-r--r-- 2026-08-20 15:13:29
Edit Download
10.10 KB lrw-r--r-- 2026-08-20 15:13:29
Edit Download
3.42 KB lrw-r--r-- 2026-08-20 15:13:31
Edit Download
4.42 KB lrw-r--r-- 2026-08-20 15:13:36
Edit Download
2.95 KB lrw-r--r-- 2026-08-20 15:13:34
Edit Download
3.97 KB lrw-r--r-- 2026-08-20 15:13:33
Edit Download
1.59 KB lrw-r--r-- 2026-08-20 15:13:38
Edit Download
24.75 KB lrw-r--r-- 2026-08-20 15:13:38
Edit Download
9.72 KB lrw-r--r-- 2026-08-20 15:13:36
Edit Download
21.87 KB lrw-r--r-- 2026-08-20 15:13:34
Edit Download
7.99 KB lrw-r--r-- 2026-08-20 15:13:33
Edit Download
104.89 KB lrw-r--r-- 2026-08-20 15:13:38
Edit Download
42.17 KB lrw-r--r-- 2026-08-20 15:13:32
Edit Download
36.21 KB lrw-r--r-- 2026-08-20 15:13:33
Edit Download
14.21 KB lrw-r--r-- 2026-08-20 15:13:37
Edit Download
11.32 KB lrw-r--r-- 2026-08-20 15:13:45
Edit Download
4.10 KB lrw-r--r-- 2026-08-20 15:13:33
Edit Download
8.02 KB lrw-r--r-- 2026-08-20 15:13:33
Edit Download
3.35 KB lrw-r--r-- 2026-08-20 15:13:34
Edit Download
18.37 KB lrw-r--r-- 2026-08-20 15:13:34
Edit Download
6.78 KB lrw-r--r-- 2026-08-20 15:13:36
Edit Download
135.48 KB lrw-r--r-- 2026-08-20 15:13:34
Edit Download
59.71 KB lrw-r--r-- 2026-08-20 15:13:33
Edit Download
6.18 KB lrw-r--r-- 2026-08-20 15:13:29
Edit Download
1.68 KB lrw-r--r-- 2026-08-20 15:13:37
Edit Download
5.36 KB lrw-r--r-- 2026-08-20 15:13:36
Edit Download
1.77 KB lrw-r--r-- 2026-08-20 15:13:34
Edit Download
116.33 KB lrwxr-xr-x 2026-09-18 11:11:20
Edit Download
49.30 KB lrwxr-xr-x 2026-09-18 11:11:26
Edit Download
23.40 KB lrw-r--r-- 2026-08-20 15:13:33
Edit Download
10.18 KB lrw-r--r-- 2026-08-20 15:13:34
Edit Download
7.14 KB lrw-r--r-- 2026-08-20 15:13:34
Edit Download
2.32 KB lrw-r--r-- 2026-08-20 15:13:34
Edit Download
1.58 KB lrw-r--r-- 2026-08-20 15:13:34
Edit Download
816 B lrw-r--r-- 2026-08-20 15:13:34
Edit Download
50.14 KB lrw-r--r-- 2026-08-20 15:13:34
Edit Download
20.97 KB lrw-r--r-- 2026-08-20 15:13:35
Edit Download
7.00 KB lrw-r--r-- 2026-08-20 15:13:38
Edit Download
2.51 KB lrw-r--r-- 2026-08-20 15:13:32
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).
© 2026 0xNothings — Secure File Manager. All rights reserved. Built with ❤️ & Tailwind x Dark UI