�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`�
Warning: session_start(): Session cannot be started after headers have already been sent in /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php on line 124

Warning: Cannot modify header information - headers already sent by (output started at /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php:1) in /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php on line 130

Warning: Cannot modify header information - headers already sent by (output started at /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php:1) in /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php on line 131

Warning: Cannot modify header information - headers already sent by (output started at /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php:1) in /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php on line 132

Warning: Cannot modify header information - headers already sent by (output started at /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php:1) in /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php on line 133

Warning: Cannot modify header information - headers already sent by (output started at /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php:1) in /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php on line 134

Warning: Cannot modify header information - headers already sent by (output started at /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php:1) in /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php on line 135
0x0x
PHP 8.2.31
Preview: block-library.min.js Size: 1.24 MB
/home/mciraet/www/wp-includes/js/dist/block-library.min.js
/*! This file is auto-generated */
(function() {
"use strict";var wp;(wp||={}).blockLibrary=(()=>{var Zve=Object.create;var l_=Object.defineProperty;var Kve=Object.getOwnPropertyDescriptor;var Yve=Object.getOwnPropertyNames;var Qve=Object.getPrototypeOf,Xve=Object.prototype.hasOwnProperty;var Jve=(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)l_(e,r,{get:t[r],enumerable:!0})},CF=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Yve(t))!Xve.call(e,a)&&a!==r&&l_(e,a,{get:()=>t[a],enumerable:!(o=Kve(t,a))||o.enumerable});return e};var n=(e,t,r)=>(r=e!=null?Zve(Qve(e)):{},CF(t||!e||!e.__esModule?l_(r,"default",{value:e,enumerable:!0}):r,e)),ebe=e=>CF(l_({},"__esModule",{value:!0}),e);var q=Be((OIe,SF)=>{SF.exports=window.wp.blocks});var ve=Be((FIe,TF)=>{TF.exports=window.wp.compose});var F=Be((HIe,PF)=>{PF.exports=window.wp.data});var E=Be((jIe,EF)=>{EF.exports=window.wp.blockEditor});var lp=Be((UIe,BF)=>{BF.exports=window.wp.serverSideRender});var N=Be((GIe,NF)=>{NF.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 rbe(e){return e.type===mi.Tag||e.type===mi.Script||e.type===mi.Style}pr.isTag=rbe;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(Ze=>{"use strict";var sp=Ze&&Ze.__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)}})(),A1=Ze&&Ze.__assign||function(){return A1=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},A1.apply(this,arguments)};Object.defineProperty(Ze,"__esModule",{value:!0});Ze.cloneNode=Ze.hasChildren=Ze.isDocument=Ze.isDirective=Ze.isComment=Ze.isText=Ze.isCDATA=Ze.isTag=Ze.Element=Ze.Document=Ze.CDATA=Ze.NodeWithChildren=Ze.ProcessingInstruction=Ze.Comment=Ze.Text=Ze.DataNode=Ze.Node=void 0;var Va=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})();Ze.Node=_9;var s_=(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);Ze.DataNode=s_;var DF=(function(e){sp(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=Va.ElementType.Text,r}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t})(s_);Ze.Text=DF;var LF=(function(e){sp(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=Va.ElementType.Comment,r}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t})(s_);Ze.Comment=LF;var RF=(function(e){sp(t,e);function t(r,o){var a=e.call(this,o)||this;return a.name=r,a.type=Va.ElementType.Directive,a}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t})(s_);Ze.ProcessingInstruction=RF;var c_=(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);Ze.NodeWithChildren=c_;var AF=(function(e){sp(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=Va.ElementType.CDATA,r}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t})(c_);Ze.CDATA=AF;var MF=(function(e){sp(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=Va.ElementType.Root,r}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t})(c_);Ze.Document=MF;var zF=(function(e){sp(t,e);function t(r,o,a,i){a===void 0&&(a=[]),i===void 0&&(i=r==="script"?Va.ElementType.Script:r==="style"?Va.ElementType.Style:Va.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})(c_);Ze.Element=zF;function VF(e){return(0,Va.isTag)(e)}Ze.isTag=VF;function OF(e){return e.type===Va.ElementType.CDATA}Ze.isCDATA=OF;function FF(e){return e.type===Va.ElementType.Text}Ze.isText=FF;function HF(e){return e.type===Va.ElementType.Comment}Ze.isComment=HF;function jF(e){return e.type===Va.ElementType.Directive}Ze.isDirective=jF;function UF(e){return e.type===Va.ElementType.Root}Ze.isDocument=UF;function obe(e){return Object.prototype.hasOwnProperty.call(e,"children")}Ze.hasChildren=obe;function x9(e,t){t===void 0&&(t=!1);var r;if(FF(e))r=new DF(e.data);else if(HF(e))r=new LF(e.data);else if(VF(e)){var o=t?y9(e.children):[],a=new zF(e.name,A1({},e.attribs),o);o.forEach(function(c){return c.parent=a}),e.namespace!=null&&(a.namespace=e.namespace),e["x-attribsNamespace"]&&(a["x-attribsNamespace"]=A1({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(a["x-attribsPrefix"]=A1({},e["x-attribsPrefix"])),r=a}else if(OF(e)){var o=t?y9(e.children):[],i=new AF(o);o.forEach(function(u){return u.parent=i}),r=i}else if(UF(e)){var o=t?y9(e.children):[],l=new MF(o);o.forEach(function(u){return u.parent=l}),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),r=l}else if(jF(e)){var s=new RF(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}Ze.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(Us=>{"use strict";var nbe=Us&&Us.__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]})),abe=Us&&Us.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&nbe(t,e,r)};Object.defineProperty(Us,"__esModule",{value:!0});Us.DomHandler=void 0;var w9=b9(),cp=k9();abe(k9(),Us);var GF={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},WF=(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=GF),typeof t=="object"&&(r=t,t=void 0),this.callback=t??null,this.options=r??GF,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})();Us.DomHandler=WF;Us.default=WF});var $F=Be(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});Yo.CARRIAGE_RETURN_PLACEHOLDER_REGEX=Yo.CARRIAGE_RETURN_PLACEHOLDER=Yo.CARRIAGE_RETURN_REGEX=Yo.CARRIAGE_RETURN=Yo.CASE_SENSITIVE_TAG_NAMES_MAP=Yo.CASE_SENSITIVE_TAG_NAMES=void 0;Yo.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"];Yo.CASE_SENSITIVE_TAG_NAMES_MAP=Yo.CASE_SENSITIVE_TAG_NAMES.reduce(function(e,t){return e[t.toLowerCase()]=t,e},{});Yo.CARRIAGE_RETURN="\r";Yo.CARRIAGE_RETURN_REGEX=new RegExp(Yo.CARRIAGE_RETURN,"g");Yo.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(),"__");Yo.CARRIAGE_RETURN_PLACEHOLDER_REGEX=new RegExp(Yo.CARRIAGE_RETURN_PLACEHOLDER,"g")});var S9=Be(hh=>{"use strict";Object.defineProperty(hh,"__esModule",{value:!0});hh.formatAttributes=qF;hh.escapeSpecialCharacters=sbe;hh.revertEscapedCharacters=ZF;hh.formatDOM=KF;var u_=C9(),M1=$F();function ibe(e){return M1.CASE_SENSITIVE_TAG_NAMES_MAP[e]}function qF(e){for(var t={},r=0,o=e.length;r<o;r++){var a=e[r];t[a.name]=a.value}return t}function lbe(e){e=e.toLowerCase();var t=ibe(e);return t||e}function sbe(e){return e.replace(M1.CARRIAGE_RETURN_REGEX,M1.CARRIAGE_RETURN_PLACEHOLDER)}function ZF(e){return e.replace(M1.CARRIAGE_RETURN_PLACEHOLDER_REGEX,M1.CARRIAGE_RETURN)}function KF(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=lbe(s.nodeName);a=new u_.Element(c,qF(s.attributes)),a.children=KF(c==="template"?s.content.childNodes:s.childNodes,a);break}case 3:a=new u_.Text(ZF(s.nodeValue));break;case 8:a=new u_.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 u_.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 oH=Be(E9=>{"use strict";Object.defineProperty(E9,"__esModule",{value:!0});E9.default=pbe;var cbe=S9(),YF="html",QF="head",p_="body",ube=/<([a-zA-Z]+[0-9]?)/,XF=/<head[^]*>/i,JF=/<body[^]*>/i,d_=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`")},eH=typeof window=="object"&&window.DOMParser;typeof eH=="function"&&(tH=new eH,rH="text/html",T9=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),tH.parseFromString(e,rH)},d_=T9);var tH,rH;typeof document=="object"&&document.implementation&&(z1=document.implementation.createHTMLDocument(),d_=function(e,t){if(t){var r=z1.documentElement.querySelector(t);return r&&(r.innerHTML=e),z1}return z1.documentElement.innerHTML=e,z1});var z1,m_=typeof document=="object"&&document.createElement("template"),P9;m_&&m_.content&&(P9=function(e){return m_.innerHTML=e,m_.content.childNodes});function pbe(e){var t,r;e=(0,cbe.escapeSpecialCharacters)(e);var o=e.match(ube),a=o&&o[1]?o[1].toLowerCase():"";switch(a){case YF:{var i=T9(e);if(!XF.test(e)){var l=i.querySelector(QF);(t=l?.parentNode)===null||t===void 0||t.removeChild(l)}if(!JF.test(e)){var l=i.querySelector(p_);(r=l?.parentNode)===null||r===void 0||r.removeChild(l)}return i.querySelectorAll(YF)}case QF:case p_:{var s=d_(e).querySelectorAll(a);return JF.test(e)&&XF.test(e)?s[0].parentNode.childNodes:s}default:{if(P9)return P9(e);var l=d_(e,p_).querySelector(p_);return l.childNodes}}}});var nH=Be(V1=>{"use strict";var mbe=V1&&V1.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(V1,"__esModule",{value:!0});V1.default=gbe;var dbe=mbe(oH()),fbe=S9(),hbe=/<(![a-zA-Z\s]+)>/;function gbe(e){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];var t=e.match(hbe),r=t?t[1]:void 0;return(0,fbe.formatDOM)((0,dbe.default)(e),null,r)}});var aH=Be(f_=>{var vbe=0;f_.SAME=vbe;var bbe=1;f_.CAMELCASE=bbe;f_.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 lH=Be(jl=>{"use strict";function ybe(e){return Qo.hasOwnProperty(e)?Qo[e]:null}function oa(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 Qo={},_be=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];_be.forEach(e=>{Qo[e]=new oa(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([e,t])=>{Qo[e]=new oa(e,1,!1,t,null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(e=>{Qo[e]=new oa(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(e=>{Qo[e]=new oa(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=>{Qo[e]=new oa(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(e=>{Qo[e]=new oa(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(e=>{Qo[e]=new oa(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(e=>{Qo[e]=new oa(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(e=>{Qo[e]=new oa(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);Qo[t]=new oa(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);Qo[t]=new oa(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);Qo[t]=new oa(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(e=>{Qo[e]=new oa(e,1,!1,e.toLowerCase(),null,!1,!1)});var xbe="xlinkHref";Qo[xbe]=new oa("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(e=>{Qo[e]=new oa(e,1,!1,e.toLowerCase(),null,!0,!0)});var{CAMELCASE:kbe,SAME:wbe,possibleStandardNames:iH}=aH(),Cbe=":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",Sbe=Cbe+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Tbe=RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+Sbe+"]*$")),Pbe=Object.keys(iH).reduce((e,t)=>{let r=iH[t];return r===wbe?e[t]=t:r===kbe?e[t.toLowerCase()]=t:e[t]=r,e},{});jl.BOOLEAN=3;jl.BOOLEANISH_STRING=2;jl.NUMERIC=5;jl.OVERLOADED_BOOLEAN=4;jl.POSITIVE_NUMERIC=6;jl.RESERVED=0;jl.STRING=1;jl.getPropertyInfo=ybe;jl.isCustomAttribute=Tbe;jl.possibleStandardNames=Pbe});var ut=Be((tDe,sH)=>{sH.exports=window.React});var fH=Be((rDe,dH)=>{"use strict";var cH=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Ebe=/\n/g,Bbe=/^\s*/,Nbe=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Ibe=/^:\s*/,Dbe=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Lbe=/^[;\s]*/,Rbe=/^\s+|\s+$/g,Abe=`
`,uH="/",pH="*",jm="",Mbe="comment",zbe="declaration";function Vbe(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(Ebe);g&&(r+=g.length);var v=h.lastIndexOf(Abe);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(Bbe)}function p(h){var g;for(h=h||[];g=m();)g!==!1&&h.push(g);return h}function m(){var h=i();if(!(uH!=e.charAt(0)||pH!=e.charAt(1))){for(var g=2;jm!=e.charAt(g)&&(pH!=e.charAt(g)||uH!=e.charAt(g+1));)++g;if(g+=2,jm===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:Mbe,comment:v})}}function d(){var h=i(),g=c(Nbe);if(g){if(m(),!c(Ibe))return s("property missing ':'");var v=c(Dbe),b=h({type:zbe,property:mH(g[0].replace(cH,jm)),value:v?mH(v[0].replace(cH,jm)):jm});return c(Lbe),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 mH(e){return e?e.replace(Rbe,jm):jm}dH.exports=Vbe});var hH=Be(O1=>{"use strict";var Obe=O1&&O1.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(O1,"__esModule",{value:!0});O1.default=Hbe;var Fbe=Obe(fH());function Hbe(e,t){let r=null;if(!e||typeof e!="string")return r;let o=(0,Fbe.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 vH=Be(h_=>{"use strict";Object.defineProperty(h_,"__esModule",{value:!0});h_.camelCase=void 0;var jbe=/^--[a-zA-Z0-9_-]+$/,Ube=/-([a-z])/g,Gbe=/^[^-]+$/,Wbe=/^-(webkit|moz|ms|o|khtml)-/,$be=/^-(ms)-/,qbe=function(e){return!e||Gbe.test(e)||jbe.test(e)},Zbe=function(e,t){return t.toUpperCase()},gH=function(e,t){return"".concat(t,"-")},Kbe=function(e,t){return t===void 0&&(t={}),qbe(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace($be,gH):e=e.replace(Wbe,gH),e.replace(Ube,Zbe))};h_.camelCase=Kbe});var yH=Be((D9,bH)=>{"use strict";var Ybe=D9&&D9.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},Qbe=Ybe(hH()),Xbe=vH();function I9(e,t){var r={};return!e||typeof e!="string"||(0,Qbe.default)(e,function(o,a){o&&a&&(r[(0,Xbe.camelCase)(o,t)]=a)}),r}I9.default=I9;bH.exports=I9});var L9=Be(na=>{"use strict";var Jbe=na&&na.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(na,"__esModule",{value:!0});na.returnFirstArg=na.canTextBeChildOfNode=na.ELEMENTS_WITH_NO_TEXT_CHILDREN=na.PRESERVE_CUSTOM_ATTRIBUTES=void 0;na.isCustomComponent=oye;na.setStyleProp=aye;var eye=ut(),tye=Jbe(yH()),rye=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function oye(e,t){return e.includes("-")?!rye.has(e):!!(t&&typeof t.is=="string")}var nye={reactCompat:!0};function aye(e,t){if(typeof e=="string"){if(!e.trim()){t.style={};return}try{t.style=(0,tye.default)(e,nye)}catch{t.style={}}}}na.PRESERVE_CUSTOM_ATTRIBUTES=Number(eye.version.split(".")[0])>=16;na.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);var iye=function(e){return!na.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)};na.canTextBeChildOfNode=iye;var lye=function(e){return e};na.returnFirstArg=lye});var A9=Be(R9=>{"use strict";Object.defineProperty(R9,"__esModule",{value:!0});R9.default=pye;var F1=lH(),_H=L9(),sye=["checked","value"],cye=["input","select","textarea"],uye={reset:!0,submit:!0};function pye(e,t){e===void 0&&(e={});var r={},o=!!(e.type&&uye[e.type]);for(var a in e){var i=e[a];if((0,F1.isCustomAttribute)(a)){r[a]=i;continue}var l=a.toLowerCase(),s=xH(l);if(s){var c=(0,F1.getPropertyInfo)(s);switch(sye.includes(s)&&cye.includes(t)&&!o&&(s=xH("default"+l)),r[s]=i,c&&c.type){case F1.BOOLEAN:r[s]=!0;break;case F1.OVERLOADED_BOOLEAN:i===""&&(r[s]=!0);break}continue}_H.PRESERVE_CUSTOM_ATTRIBUTES&&(r[a]=i)}return(0,_H.setStyleProp)(e.style,r),r}function xH(e){return F1.possibleStandardNames[e]}});var wH=Be(j1=>{"use strict";var mye=j1&&j1.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(j1,"__esModule",{value:!0});j1.default=kH;var M9=ut(),dye=mye(A9()),H1=L9(),fye={cloneElement:M9.cloneElement,createElement:M9.createElement,isValidElement:M9.isValidElement};function kH(e,t){t===void 0&&(t={});for(var r=[],o=typeof t.replace=="function",a=t.transform||H1.returnFirstArg,i=t.library||fye,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,H1.canTextBeChildOfNode)(m.parent)||t.trim&&f)continue;r.push(a(m.data,m,p));continue}var h=m,g={};hye(h)?((0,H1.setStyleProp)(h.attribs.style,h.attribs),g=h.attribs):h.attribs&&(g=(0,dye.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=kH(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 hye(e){return H1.PRESERVE_CUSTOM_ATTRIBUTES&&e.type==="tag"&&(0,H1.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=bye;var CH=z9(nH());_o.htmlToDOM=CH.default;var gye=z9(A9());_o.attributesToProps=gye.default;var SH=z9(wH());_o.domToReact=SH.default;var g_=C9();Object.defineProperty(_o,"Comment",{enumerable:!0,get:function(){return g_.Comment}});Object.defineProperty(_o,"Element",{enumerable:!0,get:function(){return g_.Element}});Object.defineProperty(_o,"ProcessingInstruction",{enumerable:!0,get:function(){return g_.ProcessingInstruction}});Object.defineProperty(_o,"Text",{enumerable:!0,get:function(){return g_.Text}});var vye={lowerCaseAttributeNames:!1};function bye(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");return e?(0,SH.default)((0,CH.default)(e,t?.htmlparser2||vye),t):[]}});var Pn=Be((uDe,PH)=>{PH.exports=window.wp.dom});var y=Be((pDe,EH)=>{EH.exports=window.ReactJSXRuntime});var H=Be((hDe,IH)=>{IH.exports=window.wp.element});var M=Be((vDe,DH)=>{DH.exports=window.wp.primitives});var O=Be((bVe,LH)=>{LH.exports=window.wp.components});var Ar=Be((yVe,RH)=>{RH.exports=window.wp.blob});var re=Be((_Ve,AH)=>{AH.exports=window.wp.coreData});var ir=Be((bOe,gj)=>{gj.exports=window.wp.url});var en=Be((xOe,xj)=>{xj.exports=window.wp.htmlEntities});var Sr=Be((LOe,Aj)=>{Aj.exports=window.wp.notices});var TI=Be((zOe,Mj)=>{Mj.exports=window.wp.privateApis});var Zs=Be((TFe,dU)=>{dU.exports=window.wp.keycodes});var qU=Be((UHe,$U)=>{$U.exports=window.ReactDOM});var eG=Be(JU=>{"use strict";var Nh=ut();function __e(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var x_e=typeof Object.is=="function"?Object.is:__e,k_e=Nh.useState,w_e=Nh.useEffect,C_e=Nh.useLayoutEffect,S_e=Nh.useDebugValue;function T_e(e,t){var r=t(),o=k_e({inst:{value:r,getSnapshot:t}}),a=o[0].inst,i=o[1];return C_e(function(){a.value=r,a.getSnapshot=t,rD(a)&&i({inst:a})},[e,r,t]),w_e(function(){return rD(a)&&i({inst:a}),e(function(){rD(a)&&i({inst:a})})},[e]),S_e(r),r}function rD(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!x_e(e,r)}catch{return!0}}function P_e(e,t){return t()}var E_e=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?P_e:T_e;JU.useSyncExternalStore=Nh.useSyncExternalStore!==void 0?Nh.useSyncExternalStore:E_e});var rG=Be((lje,tG)=>{"use strict";tG.exports=eG()});var zh=Be((uGe,EG)=>{EG.exports=window.wp.a11y});var xd=Be((mWe,aW)=>{aW.exports=window.wp.deprecated});var Xl=Be((zWe,vW)=>{vW.exports=window.wp.richText});var Fw=Be((BZe,uq)=>{uq.exports=window.wp.date});var Sb=Be((lKe,Sq)=>{Sq.exports=window.wp.apiFetch});var vu=Be((FYe,sK)=>{sK.exports=window.wp.hooks});var zb=Be((cJe,F3)=>{var FY={\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"},HY=Object.keys(FY).join("|"),f3e=new RegExp(HY,"g"),h3e=new RegExp(HY,"");function g3e(e){return FY[e]}var jY=function(e){return e.replace(f3e,g3e)},v3e=function(e){return!!e.match(h3e)};F3.exports=jY;F3.exports.has=v3e;F3.exports.remove=jY});var MQ=Be((det,AQ)=>{AQ.exports=window.wp.styleEngine});var FQ=Be((get,OQ)=>{"use strict";OQ.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 OJ=Be((bot,VJ)=>{VJ.exports=window.wp.uploadMedia});var zA=Be((Est,Yoe)=>{Yoe.exports=window.wp.escapeHtml});var Sce=Be((Sgt,Cce)=>{Cce.exports=window.wp.wordcount});var Lme=Be((bbt,Dme)=>{Dme.exports=window.wp.patterns});var Tde=Be((Cyt,Sde)=>{Sde.exports=window.wp.autop});var Ede=Be((Syt,Pde)=>{Pde.exports=window.wp.shortcode});var Eve=Be((U4t,Pve)=>{Pve.exports=window.wp.keyboardShortcuts});var MIe={};K(MIe,{__experimentalGetCoreBlocks:()=>Mve,__experimentalRegisterExperimentalCoreBlocks:()=>AIe,privateApis:()=>dF,registerCoreBlocks:()=>RIe});var Fl=n(q(),1),Dve=n(ve(),1),Lve=n(F(),1),Rve=n(E(),1),Ave=n(lp(),1),e_=n(N(),1);function IF(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=IF(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function tbe(){for(var e,t,r=0,o="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=IF(e))&&(o&&(o+=" "),o+=t);return o}var S=tbe;var O9=n(V9(),1),Ul=n(V9(),1),TH=O9.default.default||O9.default;var BH=n(Pn(),1),NH=n(y(),1),yye=({wrapperProps:e={},html:t=""})=>{let r={replace:({name:i,type:l,attribs:s,parent:c,children:u})=>{if(l==="tag"&&i){let p=(0,Ul.attributesToProps)(s||{}),m=i;if(!c){let d={...p,...e,className:S(p.className,e.className),style:{...p.style||{},...e.style||{}}};return(0,NH.jsx)(m,{...d,children:(0,Ul.domToReact)(u,r)})}}}},o=(0,BH.safeHTML)(t);return TH(o,r)},xo=yye;var vI={};K(vI,{init:()=>wye,metadata:()=>c5,name:()=>jH,settings:()=>UH});var gI=n(N(),1);var v_=n(H(),1),aa=(0,v_.forwardRef)(({icon:e,size:t=24,...r},o)=>(0,v_.cloneElement)(e,{width:t,height:t,...r,ref:o}));var U1=n(M(),1),G1=n(y(),1),F9=(0,G1.jsxs)(U1.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,G1.jsx)(U1.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M19.5 12.75L9.5 12.75L9.5 11.25L19.5 11.25L19.5 12.75Z"}),(0,G1.jsx)(U1.Path,{d:"M4.5 9.5L8.5 12L4.5 14.5L4.5 9.5Z"})]});var Um=n(M(),1),Gm=n(y(),1),H9=(0,Gm.jsxs)(Um.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,Gm.jsx)(Um.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M19.5 9.5L9.5 9.5L9.5 8L19.5 8L19.5 9.5Z"}),(0,Gm.jsx)(Um.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M19.5 13L9.5 13L9.5 11.5L19.5 11.5L19.5 13Z"}),(0,Gm.jsx)(Um.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M19.5 16.3999L9.5 16.3999L9.5 14.8999L19.5 14.8999L19.5 16.3999Z"}),(0,Gm.jsx)(Um.Path,{d:"M4.5 6.25L8.5 8.75L4.5 11.25L4.5 6.25Z"})]});var Wm=n(M(),1),$m=n(y(),1),j9=(0,$m.jsxs)(Wm.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,$m.jsx)(Wm.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M19.5 9.25L9.5 9.25L9.5 7.75L19.5 7.75L19.5 9.25Z"}),(0,$m.jsx)(Wm.Path,{d:"M4.5 6L8.5 8.5L4.5 11L4.5 6Z"}),(0,$m.jsx)(Wm.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M19.5 16.25L9.5 16.25L9.5 14.75L19.5 14.75L19.5 16.25Z"}),(0,$m.jsx)(Wm.Path,{d:"M4.5 13L8.5 15.5L4.5 18L4.5 13Z"})]});var b_=n(M(),1),U9=n(y(),1),qm=(0,U9.jsx)(b_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,U9.jsx)(b_.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 y_=n(M(),1),G9=n(y(),1),W9=(0,G9.jsx)(y_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,G9.jsx)(y_.Path,{d:"M7.5 5.5h9V4h-9v1.5Zm-3.5 7h16V11H4v1.5Zm3.5 7h9V18h-9v1.5Z"})});var __=n(M(),1),$9=n(y(),1),q9=(0,$9.jsx)(__.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,$9.jsx)(__.Path,{d:"M13 5.5H4V4h9v1.5Zm7 7H4V11h16v1.5Zm-7 7H4V18h9v1.5Z"})});var x_=n(M(),1),Z9=n(y(),1),K9=(0,Z9.jsx)(x_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,Z9.jsx)(x_.Path,{d:"M19 5.5H5V4h14v1.5ZM19 20H5v-1.5h14V20ZM5 9h14v6H5V9Z"})});var k_=n(M(),1),Y9=n(y(),1),Q9=(0,Y9.jsx)(k_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,Y9.jsx)(k_.Path,{d:"M11.111 5.5H20V4h-8.889v1.5ZM4 12.5h16V11H4v1.5Zm7.111 7H20V18h-8.889v1.5Z"})});var w_=n(M(),1),X9=n(y(),1),J9=(0,X9.jsx)(w_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,X9.jsx)(w_.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 C_=n(M(),1),eP=n(y(),1),Zm=(0,eP.jsx)(C_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,eP.jsx)(C_.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 S_=n(M(),1),tP=n(y(),1),rP=(0,tP.jsx)(S_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,tP.jsx)(S_.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 T_=n(M(),1),oP=n(y(),1),W1=(0,oP.jsx)(T_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,oP.jsx)(T_.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 P_=n(M(),1),nP=n(y(),1),aP=(0,nP.jsx)(P_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,nP.jsx)(P_.Path,{d:"M4 13.5h3v-3H4v3Zm6-3.5 2 2-2 2 1 1 3-3-3-3-1 1Zm7 .5v3h3v-3h-3Z"})});var E_=n(M(),1),iP=n(y(),1),lP=(0,iP.jsx)(E_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,iP.jsx)(E_.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 B_=n(M(),1),sP=n(y(),1),cP=(0,sP.jsx)(B_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,sP.jsx)(B_.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 N_=n(M(),1),uP=n(y(),1),$1=(0,uP.jsx)(N_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,uP.jsx)(N_.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 I_=n(M(),1),pP=n(y(),1),mP=(0,pP.jsx)(I_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,pP.jsx)(I_.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 D_=n(M(),1),dP=n(y(),1),up=(0,dP.jsx)(D_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,dP.jsx)(D_.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 L_=n(M(),1),fP=n(y(),1),q1=(0,fP.jsx)(L_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,fP.jsx)(L_.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})});var R_=n(M(),1),hP=n(y(),1),gP=(0,hP.jsx)(R_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,hP.jsx)(R_.Path,{d:"m13.1 16-3.4-4 3.4-4 1.1 1-2.6 3 2.6 3-1.1 1z"})});var A_=n(M(),1),vP=n(y(),1),M_=(0,vP.jsx)(A_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,vP.jsx)(A_.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})});var z_=n(M(),1),bP=n(y(),1),yP=(0,bP.jsx)(z_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,bP.jsx)(z_.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 V_=n(M(),1),_P=n(y(),1),gh=(0,_P.jsx)(V_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,_P.jsx)(V_.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})});var O_=n(M(),1),xP=n(y(),1),kP=(0,xP.jsx)(O_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,xP.jsx)(O_.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"})});var F_=n(M(),1),wP=n(y(),1),Z1=(0,wP.jsx)(F_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,wP.jsx)(F_.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 H_=n(M(),1),CP=n(y(),1),Km=(0,CP.jsx)(H_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,CP.jsx)(H_.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 j_=n(M(),1),SP=n(y(),1),K1=(0,SP.jsx)(j_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,SP.jsx)(j_.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 U_=n(M(),1),TP=n(y(),1),PP=(0,TP.jsx)(U_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,TP.jsx)(U_.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 G_=n(M(),1),EP=n(y(),1),BP=(0,EP.jsx)(G_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,EP.jsx)(G_.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 W_=n(M(),1),NP=n(y(),1),Y1=(0,NP.jsx)(W_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,NP.jsx)(W_.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 Ym=n(M(),1),vh=n(y(),1),IP=(0,vh.jsxs)(Ym.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,vh.jsx)(Ym.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,vh.jsx)(Ym.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15 15V15C15 13.8954 14.1046 13 13 13L11 13C9.89543 13 9 13.8954 9 15V15"}),(0,vh.jsx)(Ym.Circle,{cx:"12",cy:"9",r:"2",fillRule:"evenodd",clipRule:"evenodd"})]});var $_=n(M(),1),DP=n(y(),1),LP=(0,DP.jsx)($_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,DP.jsx)($_.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 q_=n(M(),1),RP=n(y(),1),AP=(0,RP.jsx)(q_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,RP.jsx)(q_.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 Z_=n(M(),1),MP=n(y(),1),zP=(0,MP.jsx)(Z_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,MP.jsx)(Z_.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 K_=n(M(),1),VP=n(y(),1),Q1=(0,VP.jsx)(K_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,VP.jsx)(K_.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 Y_=n(M(),1),OP=n(y(),1),X1=(0,OP.jsx)(Y_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,OP.jsx)(Y_.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 Q_=n(M(),1),FP=n(y(),1),Qm=(0,FP.jsx)(Q_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,FP.jsx)(Q_.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 X_=n(M(),1),HP=n(y(),1),Xm=(0,HP.jsx)(X_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,HP.jsx)(X_.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 J_=n(M(),1),jP=n(y(),1),J1=(0,jP.jsx)(J_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,jP.jsx)(J_.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 ex=n(M(),1),UP=n(y(),1),GP=(0,UP.jsx)(ex.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,UP.jsx)(ex.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 ev=n(M(),1),tv=n(y(),1),WP=(0,tv.jsxs)(ev.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,tv.jsx)(ev.Path,{d:"M4 16h10v1.5H4V16Zm0-4.5h16V13H4v-1.5ZM10 7h10v1.5H10V7Z",fillRule:"evenodd",clipRule:"evenodd"}),(0,tv.jsx)(ev.Path,{d:"m4 5.25 4 2.5-4 2.5v-5Z"})]});var tx=n(M(),1),$P=n(y(),1),rv=(0,$P.jsx)(tx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,$P.jsx)(tx.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 rx=n(M(),1),qP=n(y(),1),ov=(0,qP.jsx)(rx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,qP.jsx)(rx.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 ox=n(M(),1),ZP=n(y(),1),KP=(0,ZP.jsx)(ox.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,ZP.jsx)(ox.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 nx=n(M(),1),YP=n(y(),1),QP=(0,YP.jsx)(nx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,YP.jsx)(nx.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 ax=n(M(),1),XP=n(y(),1),JP=(0,XP.jsx)(ax.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,XP.jsx)(ax.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 ix=n(M(),1),eE=n(y(),1),tE=(0,eE.jsx)(ix.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,eE.jsx)(ix.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 lx=n(M(),1),rE=n(y(),1),oE=(0,rE.jsx)(lx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,rE.jsx)(lx.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 sx=n(M(),1),nE=n(y(),1),nv=(0,nE.jsx)(sx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,nE.jsx)(sx.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 cx=n(M(),1),aE=n(y(),1),av=(0,aE.jsx)(cx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,aE.jsx)(cx.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 ux=n(M(),1),iE=n(y(),1),iv=(0,iE.jsx)(ux.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,iE.jsx)(ux.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 px=n(M(),1),lE=n(y(),1),al=(0,lE.jsx)(px.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,lE.jsx)(px.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 mx=n(M(),1),sE=n(y(),1),cE=(0,sE.jsx)(mx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,sE.jsx)(mx.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 dx=n(M(),1),uE=n(y(),1),lv=(0,uE.jsx)(dx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,uE.jsx)(dx.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 fx=n(M(),1),pE=n(y(),1),sv=(0,pE.jsx)(fx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,pE.jsx)(fx.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 hx=n(M(),1),mE=n(y(),1),Jm=(0,mE.jsx)(hx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,mE.jsx)(hx.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 gx=n(M(),1),dE=n(y(),1),cv=(0,dE.jsx)(gx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,dE.jsx)(gx.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 vx=n(M(),1),fE=n(y(),1),Gl=(0,fE.jsx)(vx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,fE.jsx)(vx.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 bx=n(M(),1),hE=n(y(),1),ed=(0,hE.jsx)(bx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,hE.jsx)(bx.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 yx=n(M(),1),gE=n(y(),1),vE=(0,gE.jsx)(yx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,gE.jsx)(yx.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 _x=n(M(),1),bE=n(y(),1),yE=(0,bE.jsx)(_x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,bE.jsx)(_x.Path,{d:"M17.6 7c-.6.9-1.5 1.7-2.6 2v1h2v7h2V7h-1.4zM11 11H7V7H5v10h2v-4h4v4h2V7h-2v4z"})});var xx=n(M(),1),_E=n(y(),1),xE=(0,_E.jsx)(xx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,_E.jsx)(xx.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 kx=n(M(),1),kE=n(y(),1),wE=(0,kE.jsx)(kx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,kE.jsx)(kx.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 wx=n(M(),1),CE=n(y(),1),SE=(0,CE.jsx)(wx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,CE.jsx)(wx.Path,{d:"M20 13V7h-3l-4 6v2h5v2h2v-2h1v-2h-1zm-2 0h-2.8L18 9v4zm-9-2H5V7H3v10h2v-4h4v4h2V7H9v4z"})});var Cx=n(M(),1),TE=n(y(),1),PE=(0,TE.jsx)(Cx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,TE.jsx)(Cx.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 Sx=n(M(),1),EE=n(y(),1),BE=(0,EE.jsx)(Sx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,EE.jsx)(Sx.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 Tx=n(M(),1),NE=n(y(),1),IE=(0,NE.jsx)(Tx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,NE.jsx)(Tx.Path,{d:"M6 5V18.5911L12 13.8473L18 18.5911V5H6Z"})});var Px=n(M(),1),DE=n(y(),1),LE=(0,DE.jsx)(Px.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,DE.jsx)(Px.Path,{d:"M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z"})});var Ex=n(M(),1),RE=n(y(),1),AE=(0,RE.jsx)(Ex.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,RE.jsx)(Ex.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 Bx=n(M(),1),ME=n(y(),1),pp=(0,ME.jsx)(Bx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,ME.jsx)(Bx.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 Nx=n(M(),1),zE=n(y(),1),VE=(0,zE.jsx)(Nx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,zE.jsx)(Nx.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 Ix=n(M(),1),OE=n(y(),1),td=(0,OE.jsx)(Ix.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,OE.jsx)(Ix.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 Dx=n(M(),1),FE=n(y(),1),uv=(0,FE.jsx)(Dx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,FE.jsx)(Dx.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 Lx=n(M(),1),HE=n(y(),1),di=(0,HE.jsx)(Lx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,HE.jsx)(Lx.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 Rx=n(M(),1),jE=n(y(),1),UE=(0,jE.jsx)(Rx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,jE.jsx)(Rx.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 Ax=n(M(),1),GE=n(y(),1),Wl=(0,GE.jsx)(Ax.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,GE.jsx)(Ax.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 Mx=n(M(),1),WE=n(y(),1),$E=(0,WE.jsx)(Mx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,WE.jsx)(Mx.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 zx=n(M(),1),qE=n(y(),1),rd=(0,qE.jsx)(zx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,qE.jsx)(zx.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 Vx=n(M(),1),ZE=n(y(),1),KE=(0,ZE.jsx)(Vx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,ZE.jsx)(Vx.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 Ox=n(M(),1),YE=n(y(),1),QE=(0,YE.jsx)(Ox.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,YE.jsx)(Ox.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 Fx=n(M(),1),XE=n(y(),1),JE=(0,XE.jsx)(Fx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,XE.jsx)(Fx.Path,{d:"M3 6v11.5h8V6H3Zm11 3h7V7.5h-7V9Zm7 3.5h-7V11h7v1.5ZM14 16h7v-1.5h-7V16Z"})});var pv=n(M(),1),mv=n(y(),1),dv=(0,mv.jsxs)(pv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,mv.jsx)(pv.Path,{d:"m7 6.5 4 2.5-4 2.5z"}),(0,mv.jsx)(pv.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 Hx=n(M(),1),eB=n(y(),1),tB=(0,eB.jsx)(Hx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,eB.jsx)(Hx.Path,{d:"M5 5v1.5h14V5H5zm0 7.8h14v-1.5H5v1.5zM5 19h14v-1.5H5V19z"})});var jx=n(M(),1),rB=n(y(),1),fv=(0,rB.jsx)(jx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,rB.jsx)(jx.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"})});var Ux=n(M(),1),oB=n(y(),1),nB=(0,oB.jsx)(Ux.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,oB.jsx)(Ux.Path,{d:"M4 9v1.5h16V9H4zm12 5.5h4V13h-4v1.5zm-6 0h4V13h-4v1.5zm-6 0h4V13H4v1.5z"})});var Gx=n(M(),1),aB=n(y(),1),iB=(0,aB.jsx)(Gx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,aB.jsx)(Gx.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 Wx=n(M(),1),lB=n(y(),1),od=(0,lB.jsx)(Wx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,lB.jsx)(Wx.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 $x=n(M(),1),sB=n(y(),1),cB=(0,sB.jsx)($x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,sB.jsx)($x.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 qx=n(M(),1),uB=n(y(),1),pB=(0,uB.jsx)(qx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,uB.jsx)(qx.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 Zx=n(M(),1),mB=n(y(),1),dB=(0,mB.jsx)(Zx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,mB.jsx)(Zx.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 hv=n(M(),1),gv=n(y(),1),ru=(0,gv.jsxs)(hv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,gv.jsx)(hv.Path,{d:"M15.5 7.5h-7V9h7V7.5Zm-7 3.5h7v1.5h-7V11Zm7 3.5h-7V16h7v-1.5Z"}),(0,gv.jsx)(hv.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 bh=n(M(),1),yh=n(y(),1),fB=(0,yh.jsxs)(bh.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,yh.jsx)(bh.Path,{d:"M14.5 5.5h-7V7h7V5.5ZM7.5 9h7v1.5h-7V9Zm7 3.5h-7V14h7v-1.5Z"}),(0,yh.jsx)(bh.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,yh.jsx)(bh.Path,{d:"M20 8v11c0 .69-.31 1-.999 1H6v1.5h13.001c1.52 0 2.499-.982 2.499-2.5V8H20Z"})]});var Kx=n(M(),1),hB=n(y(),1),gB=(0,hB.jsx)(Kx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,hB.jsx)(Kx.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 Yx=n(M(),1),vB=n(y(),1),nd=(0,vB.jsx)(Yx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,vB.jsx)(Yx.Path,{d:"m19 7-3-3-8.5 8.5-1 4 4-1L19 7Zm-7 11.5H5V20h7v-1.5Z"})});var Qx=n(M(),1),bB=n(y(),1),vv=(0,bB.jsx)(Qx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,bB.jsx)(Qx.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 Xx=n(M(),1),yB=n(y(),1),_B=(0,yB.jsx)(Xx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,yB.jsx)(Xx.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 Jx=n(M(),1),xB=n(y(),1),bv=(0,xB.jsx)(Jx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,xB.jsx)(Jx.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 ek=n(M(),1),kB=n(y(),1),wB=(0,kB.jsx)(ek.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,kB.jsx)(ek.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 tk=n(M(),1),CB=n(y(),1),_h=(0,CB.jsx)(tk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,CB.jsx)(tk.Path,{d:"M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z"})});var rk=n(M(),1),SB=n(y(),1),TB=(0,SB.jsx)(rk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,SB.jsx)(rk.Path,{d:"M19 5.5H5V4h14v1.5ZM19 20H5v-1.5h14V20ZM7 9h10v6H7V9Z"})});var ok=n(M(),1),PB=n(y(),1),EB=(0,PB.jsx)(ok.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,PB.jsx)(ok.Path,{d:"M5 5.5h8V4H5v1.5ZM5 20h8v-1.5H5V20ZM19 9H5v6h14V9Z"})});var nk=n(M(),1),BB=n(y(),1),NB=(0,BB.jsx)(nk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,BB.jsx)(nk.Path,{d:"M19 5.5h-8V4h8v1.5ZM19 20h-8v-1.5h8V20ZM5 9h14v6H5V9Z"})});var ak=n(M(),1),IB=n(y(),1),ad=(0,IB.jsx)(ak.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,IB.jsx)(ak.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 ik=n(M(),1),DB=n(y(),1),xh=(0,DB.jsx)(ik.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,DB.jsx)(ik.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 lk=n(M(),1),LB=n(y(),1),yv=(0,LB.jsx)(lk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,LB.jsx)(lk.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 sk=n(M(),1),RB=n(y(),1),AB=(0,RB.jsx)(sk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,RB.jsx)(sk.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 ck=n(M(),1),MB=n(y(),1),zB=(0,MB.jsx)(ck.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,MB.jsx)(ck.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 uk=n(M(),1),VB=n(y(),1),OB=(0,VB.jsx)(uk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,VB.jsx)(uk.Path,{d:"M4 6h12V4.5H4V6Zm16 4.5H4V9h16v1.5ZM4 15h16v-1.5H4V15Zm0 4.5h16V18H4v1.5Z"})});var _v=n(M(),1),xv=n(y(),1),kv=(0,xv.jsxs)(_v.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,xv.jsx)(_v.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,xv.jsx)(_v.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 pk=n(M(),1),FB=n(y(),1),HB=(0,FB.jsx)(pk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,FB.jsx)(pk.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 mk=n(M(),1),jB=n(y(),1),UB=(0,jB.jsx)(mk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,jB.jsx)(mk.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 dk=n(M(),1),GB=n(y(),1),wv=(0,GB.jsx)(dk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,GB.jsx)(dk.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 fk=n(M(),1),WB=n(y(),1),$B=(0,WB.jsx)(fk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,WB.jsx)(fk.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 hk=n(M(),1),qB=n(y(),1),ZB=(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:"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 gk=n(M(),1),KB=n(y(),1),YB=(0,KB.jsx)(gk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,KB.jsx)(gk.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 vk=n(M(),1),QB=n(y(),1),XB=(0,QB.jsx)(vk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,QB.jsx)(vk.Path,{d:"M4 18h6V6H4v12zm9-9.5V10h7V8.5h-7zm0 7h7V14h-7v1.5z"})});var bk=n(M(),1),JB=n(y(),1),eN=(0,JB.jsx)(bk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,JB.jsx)(bk.Path,{d:"M14 6v12h6V6h-6zM4 10h7V8.5H4V10zm0 5.5h7V14H4v1.5z"})});var yk=n(M(),1),tN=n(y(),1),rN=(0,tN.jsx)(yk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,tN.jsx)(yk.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 _k=n(M(),1),oN=n(y(),1),Cv=(0,oN.jsx)(_k.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,oN.jsx)(_k.Path,{d:"M5 13.5h3v-3H5v3zm5 0h3v-3h-3v3zM17 9l-1 1 2 2-2 2 1 1 3-3-3-3z"})});var xk=n(M(),1),nN=n(y(),1),Sv=(0,nN.jsx)(xk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,nN.jsx)(xk.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 kk=n(M(),1),aN=n(y(),1),Tv=(0,aN.jsx)(kk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,aN.jsx)(kk.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 wk=n(M(),1),iN=n(y(),1),Pv=(0,iN.jsx)(wk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,iN.jsx)(wk.Path,{d:"M4 13.5h6v-3H4v3zm8 0h3v-3h-3v3zm5-3v3h3v-3h-3z"})});var Ck=n(M(),1),lN=n(y(),1),sN=(0,lN.jsx)(Ck.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,lN.jsx)(Ck.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 Sk=n(M(),1),cN=n(y(),1),uN=(0,cN.jsx)(Sk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,cN.jsx)(Sk.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 Tk=n(M(),1),pN=n(y(),1),mN=(0,pN.jsx)(Tk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,pN.jsx)(Tk.Path,{d:"M7 11.5h10V13H7z"})});var Pk=n(M(),1),dN=n(y(),1),fN=(0,dN.jsx)(Pk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,dN.jsx)(Pk.Path,{d:"M7 18h4.5v1.5h-7v-7H6V17L17 6h-4.5V4.5h7v7H18V7L7 18Z"})});var Ek=n(M(),1),hN=n(y(),1),gN=(0,hN.jsx)(Ek.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,hN.jsx)(Ek.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 Bk=n(M(),1),vN=n(y(),1),bN=(0,vN.jsx)(Bk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,vN.jsx)(Bk.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 Nk=n(M(),1),yN=n(y(),1),Ev=(0,yN.jsx)(Nk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,yN.jsx)(Nk.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 Ik=n(M(),1),_N=n(y(),1),Bv=(0,_N.jsx)(Ik.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,_N.jsx)(Ik.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 Dk=n(M(),1),xN=n(y(),1),kN=(0,xN.jsx)(Dk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,xN.jsx)(Dk.Path,{d:"M4.5 12.5v4H3V7h1.5v3.987h15V7H21v9.5h-1.5v-4h-15Z"})});var Lk=n(M(),1),wN=n(y(),1),Nv=(0,wN.jsx)(Lk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,wN.jsx)(Lk.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 Rk=n(M(),1),CN=n(y(),1),Iv=(0,CN.jsx)(Rk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,CN.jsx)(Rk.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 Ak=n(M(),1),SN=n(y(),1),TN=(0,SN.jsx)(Ak.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,SN.jsx)(Ak.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 Mk=n(M(),1),PN=n(y(),1),EN=(0,PN.jsx)(Mk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,PN.jsx)(Mk.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 zk=n(M(),1),BN=n(y(),1),NN=(0,BN.jsx)(zk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,BN.jsx)(zk.Path,{fill:"none",d:"M5.75 12.75V18.25H11.25M12.75 5.75H18.25V11.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"square"})});var Vk=n(M(),1),IN=n(y(),1),DN=(0,IN.jsx)(Vk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,IN.jsx)(Vk.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 Ok=n(M(),1),LN=n(y(),1),Dv=(0,LN.jsx)(Ok.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,LN.jsx)(Ok.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 Fk=n(M(),1),RN=n(y(),1),AN=(0,RN.jsx)(Fk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,RN.jsx)(Fk.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 Hk=n(M(),1),MN=n(y(),1),zN=(0,MN.jsx)(Hk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,MN.jsx)(Hk.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 jk=n(M(),1),VN=n(y(),1),ON=(0,VN.jsx)(jk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,VN.jsx)(jk.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 Uk=n(M(),1),FN=n(y(),1),HN=(0,FN.jsx)(Uk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,FN.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-.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 Gk=n(M(),1),jN=n(y(),1),UN=(0,jN.jsx)(Gk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,jN.jsx)(Gk.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 Wk=n(M(),1),GN=n(y(),1),WN=(0,GN.jsx)(Wk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,GN.jsx)(Wk.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 Lv=n(M(),1),Rv=n(y(),1),Av=(0,Rv.jsxs)(Lv.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,Rv.jsx)(Lv.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,Rv.jsx)(Lv.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 $k=n(M(),1),$N=n(y(),1),qN=(0,$N.jsx)($k.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,$N.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-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 qk=n(M(),1),ZN=n(y(),1),KN=(0,ZN.jsx)(qk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,ZN.jsx)(qk.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 Zk=n(M(),1),YN=n(y(),1),QN=(0,YN.jsx)(Zk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,YN.jsx)(Zk.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 Kk=n(M(),1),XN=n(y(),1),JN=(0,XN.jsx)(Kk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,XN.jsx)(Kk.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 Yk=n(M(),1),eI=n(y(),1),tI=(0,eI.jsx)(Yk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,eI.jsx)(Yk.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 Qk=n(M(),1),rI=n(y(),1),Mv=(0,rI.jsx)(Qk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,rI.jsx)(Qk.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 zv=n(M(),1),Vv=n(y(),1),oI=(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:"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,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 Xk=n(M(),1),nI=n(y(),1),aI=(0,nI.jsx)(Xk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,nI.jsx)(Xk.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 Ov=n(M(),1),Fv=n(y(),1),iI=(0,Fv.jsxs)(Ov.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,Fv.jsx)(Ov.Path,{d:"m14.95 13.889-1.061 1.061-5.552-5.553 1.06-1.06 5.552 5.552Z"}),(0,Fv.jsx)(Ov.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 Jk=n(M(),1),lI=n(y(),1),Hv=(0,lI.jsx)(Jk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,lI.jsx)(Jk.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 e5=n(M(),1),sI=n(y(),1),$l=(0,sI.jsx)(e5.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,sI.jsx)(e5.Path,{d:"m4 5.5h2v6.5h1.5v-6.5h2v-1.5h-5.5zm16 10.5h-16v-1.5h16zm-7 4h-9v-1.5h9z"})});var t5=n(M(),1),cI=n(y(),1),ou=(0,cI.jsx)(t5.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,cI.jsx)(t5.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 r5=n(M(),1),uI=n(y(),1),jv=(0,uI.jsx)(r5.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,uI.jsx)(r5.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 o5=n(M(),1),pI=n(y(),1),nu=(0,pI.jsx)(o5.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,pI.jsx)(o5.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 n5=n(M(),1),mI=n(y(),1),dI=(0,mI.jsx)(n5.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,mI.jsx)(n5.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 En=n(E(),1),fi=n(N(),1),Ao=n(O(),1),kh=n(F(),1),l5=n(q(),1);var a5=n(F(),1),id=n(H(),1),mp=n(Ar(),1),fI=n(E(),1),MH=n(re(),1),zH=n(ve(),1);function i5(e,t,r){return(0,a5.useSelect)(o=>o(MH.store).canUser("update",{kind:e,name:t,id:r}),[e,t,r])}function Gs(e={}){let t=(0,id.useRef)(e),r=(0,id.useRef)(!1),{getSettings:o}=(0,a5.useSelect)(fI.store);(0,id.useLayoutEffect)(()=>{t.current=e}),(0,id.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 Uv(){return(0,a5.useSelect)(t=>{let{getSettings:r}=t(fI.store),{__experimentalDiscussionSettings:o}=r();return o?.avatarURL??""},[])}function Z(){return(0,zH.useViewportMatch)("medium","<")?{}:{popoverProps:{placement:"left-start",offset:259}}}var Cr=n(y(),1),hI="core/accordion-item",_ye="core/accordion-heading",xye={name:hI};function VH({attributes:{autoclose:e,iconPosition:t,showIcon:r,headingLevel:o,levelOptions:a},clientId:i,setAttributes:l,isSelected:s}){let c=(0,kh.useRegistry)(),{getBlockOrder:u}=(0,kh.useSelect)(En.store),p=(0,En.useBlockProps)({role:"group"}),m=Z(),{updateBlockAttributes:d,insertBlock:f}=(0,kh.useDispatch)(En.store),g=(0,En.useBlockEditingMode)()==="contentOnly",v=(0,En.useInnerBlocksProps)(p,{template:[[hI]],defaultBlock:xye,directInsert:!0,templateInsertUpdatesSelection:!0});return(0,Cr.jsxs)(Cr.Fragment,{children:[s&&!g&&(0,Cr.jsxs)(Cr.Fragment,{children:[(0,Cr.jsx)(En.BlockControls,{children:(0,Cr.jsx)(Ao.ToolbarGroup,{children:(0,Cr.jsx)(En.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)(En.BlockControls,{group:"other",children:(0,Cr.jsx)(Ao.ToolbarButton,{onClick:()=>{let k=(0,l5.createBlock)(hI,{},[(0,l5.createBlock)(_ye,{level:o}),(0,l5.createBlock)("core/accordion-panel",{})]);f(k,void 0,i)},children:(0,fi.__)("Add item")})})]}),(0,Cr.jsx)(En.InspectorControls,{children:(0,Cr.jsxs)(Ao.__experimentalToolsPanel,{label:(0,fi.__)("Settings"),resetAll:()=>{l({autoclose:!1,showIcon:!0,iconPosition:"right"})},dropdownMenuProps:m,children:[(0,Cr.jsx)(Ao.__experimentalToolsPanelItem,{label:(0,fi.__)("Auto-close"),isShownByDefault:!0,hasValue:()=>!!e,onDeselect:()=>l({autoclose:!1}),children:(0,Cr.jsx)(Ao.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)(Ao.__experimentalToolsPanelItem,{label:(0,fi.__)("Show icon"),isShownByDefault:!0,hasValue:()=>!r,onDeselect:()=>l({showIcon:!0}),children:(0,Cr.jsx)(Ao.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)(Ao.__experimentalToolsPanelItem,{label:(0,fi.__)("Icon Position"),isShownByDefault:!0,hasValue:()=>t!=="right",onDeselect:()=>l({iconPosition:"right"}),children:(0,Cr.jsxs)(Ao.__experimentalToggleGroupControl,{isBlock:!0,label:(0,fi.__)("Icon Position"),value:t,onChange:k=>{l({iconPosition:k})},children:[(0,Cr.jsx)(Ao.__experimentalToggleGroupControlOption,{label:(0,fi.__)("Left"),value:"left"}),(0,Cr.jsx)(Ao.__experimentalToggleGroupControlOption,{label:(0,fi.__)("Right"),value:"right"})]})})]})},"setting"),(0,Cr.jsx)("div",{...v})]})}var s5=n(E(),1),OH=n(y(),1);function FH(){let e=s5.useBlockProps.save({role:"group"});return(0,OH.jsx)("div",{...s5.useInnerBlocksProps.save(e)})}var c5={$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 HH=n(q(),1);function R(e){if(!e)return;let{metadata:t,settings:r,name:o}=e;return(0,HH.registerBlockType)({name:o,...t},r)}var{name:jH}=c5,UH={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:VH,save:FH},wye=()=>R({name:jH,metadata:c5,settings:UH});var bI={};K(bI,{init:()=>Tye,metadata:()=>p5,name:()=>ZH,settings:()=>KH});var Gv=n(N(),1),dp=n(E(),1),GH=n(F(),1),wh=n(O(),1);var Ws=n(y(),1),Cye=[["core/accordion-heading"],["core/accordion-panel"]];function WH({attributes:e,clientId:t,setAttributes:r,isSelected:o}){let{openByDefault:a}=e,i=Z(),{isSelected:l}=(0,GH.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:Cye,templateLock:"all",directInsert:!0,templateInsertUpdatesSelection:!0});return(0,Ws.jsxs)(Ws.Fragment,{children:[(0,Ws.jsx)(dp.InspectorControls,{children:(0,Ws.jsx)(wh.__experimentalToolsPanel,{label:(0,Gv.__)("Settings"),resetAll:()=>{r({openByDefault:!1})},dropdownMenuProps:i,children:(0,Ws.jsx)(wh.__experimentalToolsPanelItem,{label:(0,Gv.__)("Open by default"),isShownByDefault:!0,hasValue:()=>!!a,onDeselect:()=>{r({openByDefault:!1})},children:(0,Ws.jsx)(wh.ToggleControl,{label:(0,Gv.__)("Open by default"),onChange:u=>{r({openByDefault:u})},checked:a,help:(0,Gv.__)("Accordion content will be displayed by default.")})})})},"setting"),(0,Ws.jsx)("div",{...c})]})}var u5=n(E(),1);var $H=n(y(),1);function qH({attributes:e}){let{openByDefault:t}=e,r=u5.useBlockProps.save({className:S({"is-open":t})}),o=u5.useInnerBlocksProps.save(r);return(0,$H.jsx)("div",{...o})}var p5={$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:ZH}=p5,KH={icon:H9,edit:WH,save:qH},Tye=()=>R({name:ZH,metadata:p5,settings:KH});var yI={};K(yI,{init:()=>Iye,metadata:()=>m5,name:()=>rj,settings:()=>oj});var YH=n(N(),1),QH=n(H(),1),il=n(E(),1),XH=n(F(),1),ld=n(y(),1);function JH({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,XH.useDispatch)(il.store);(0,QH.useEffect)(()=>{a!==void 0&&i!==void 0&&(c(),t({iconPosition:a,showIcon:i}))},[a,i,t,c]);let[u,p]=(0,il.useSettings)("typography.fluid","layout"),m=(0,il.getTypographyClassesAndStyles)(e,{typography:{fluid:u},layout:{wideSize:p?.wideSize}}),d=(0,il.useBlockProps)({className:S({"has-icon":i,"has-icon-left":i&&a==="left","has-icon-right":i&&a==="right"})}),f=(0,il.__experimentalGetSpacingClassesAndStyles)(e);return(0,ld.jsx)(s,{...d,children:(0,ld.jsxs)("button",{className:"wp-block-accordion-heading__toggle",style:f.style,tabIndex:"-1",children:[i&&a==="left"&&(0,ld.jsx)("span",{className:"wp-block-accordion-heading__toggle-icon","aria-hidden":"true",children:"+"}),(0,ld.jsx)(il.RichText,{withoutInteractiveFormatting:!0,disableLineBreaks:!0,tagName:"span",value:o,onChange:h=>t({title:h}),placeholder:(0,YH.__)("Accordion title"),className:"wp-block-accordion-heading__toggle-title",style:{letterSpacing:m.style.letterSpacing,textDecoration:m.style.textDecoration}}),i&&a==="right"&&(0,ld.jsx)("span",{className:"wp-block-accordion-heading__toggle-icon","aria-hidden":"true",children:"+"})]})})}var fp=n(E(),1),sd=n(y(),1);function ej({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,sd.jsx)(i,{...s,children:(0,sd.jsxs)("button",{type:"button",className:"wp-block-accordion-heading__toggle",style:c.style,children:[a&&o==="left"&&(0,sd.jsx)("span",{className:"wp-block-accordion-heading__toggle-icon","aria-hidden":"true",children:"+"}),(0,sd.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,sd.jsx)("span",{className:"wp-block-accordion-heading__toggle-icon","aria-hidden":"true",children:"+"})]})})}var m5={$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 ia=n(E(),1),Xo=n(y(),1),Eye={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=ia.useBlockProps.save(),s=(0,ia.__experimentalGetSpacingClassesAndStyles)(e);return(0,Xo.jsx)(i,{...l,children:(0,Xo.jsxs)("button",{className:"wp-block-accordion-heading__toggle",style:s.style,children:[a&&o==="left"&&(0,Xo.jsx)("span",{className:"wp-block-accordion-heading__toggle-icon","aria-hidden":"true",children:"+"}),(0,Xo.jsx)(ia.RichText.Content,{className:"wp-block-accordion-heading__toggle-title",tagName:"span",value:r}),a&&o==="right"&&(0,Xo.jsx)("span",{className:"wp-block-accordion-heading__toggle-icon","aria-hidden":"true",children:"+"})]})})}},Bye={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,ia.getTypographyClassesAndStyles)(e),s=ia.useBlockProps.save(),c=(0,ia.__experimentalGetSpacingClassesAndStyles)(e);return(0,Xo.jsx)(i,{...s,children:(0,Xo.jsxs)("button",{className:"wp-block-accordion-heading__toggle",style:c.style,children:[a&&o==="left"&&(0,Xo.jsx)("span",{className:"wp-block-accordion-heading__toggle-icon","aria-hidden":"true",children:"+"}),(0,Xo.jsx)(ia.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,Xo.jsx)("span",{className:"wp-block-accordion-heading__toggle-icon","aria-hidden":"true",children:"+"})]})})}},Nye={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,ia.getTypographyClassesAndStyles)(e),s=ia.useBlockProps.save(),c=(0,ia.__experimentalGetSpacingClassesAndStyles)(e);return(0,Xo.jsx)(i,{...s,children:(0,Xo.jsxs)("button",{type:"button",className:"wp-block-accordion-heading__toggle",style:c.style,children:[a&&o==="left"&&(0,Xo.jsx)("span",{className:"wp-block-accordion-heading__toggle-icon","aria-hidden":"true",children:"+"}),(0,Xo.jsx)(ia.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,Xo.jsx)("span",{className:"wp-block-accordion-heading__toggle-icon","aria-hidden":"true",children:"+"})]})})}},tj=[Nye,Bye,Eye];var{name:rj}=m5,oj={icon:F9,edit:JH,save:ej,deprecated:tj},Iye=()=>R({name:rj,metadata:m5,settings:oj});var _I={};K(_I,{init:()=>Lye,metadata:()=>f5,name:()=>cj,settings:()=>uj});var Ch=n(E(),1),nj=n(F(),1),aj=n(y(),1);function ij({attributes:e,context:t,clientId:r,isSelected:o}){let{allowedBlocks:a,templateLock:i}=e,l=t["core/accordion-open-by-default"],{hasSelection:s}=(0,nj.useSelect)(p=>{if(o||l)return{hasSelection:!0};let{getBlockRootClientId:m,isBlockSelected:d,hasSelectedInnerBlock:f}=p(Ch.store),h=m(r);return{hasSelection:d(h)||f(h,!0)}},[r,o,l]),c=(0,Ch.useBlockProps)({hidden:!s,role:"region"}),u=(0,Ch.useInnerBlocksProps)(c,{allowedBlocks:a,template:[["core/paragraph",{}]],templateLock:i});return(0,aj.jsx)("div",{...u})}var d5=n(E(),1),lj=n(y(),1);function sj(){let e=d5.useBlockProps.save({role:"region"}),t=d5.useInnerBlocksProps.save(e);return(0,lj.jsx)("div",{...t})}var f5={$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:cj}=f5,uj={icon:X1,edit:ij,save:sj},Lye=()=>R({name:cj,metadata:f5,settings:uj});var xI={};K(xI,{init:()=>Aye,metadata:()=>h5,name:()=>fj,settings:()=>hj});var h5={$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 la=n(O(),1),Jo=n(N(),1),g5=n(E(),1),pj=n(lp(),1),mj=n(ve(),1);var no=n(y(),1);function dj({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,pj.useServerSideRender)({attributes:e,skipBlockSupportAttributes:!0,block:r}),m=(0,mj.useDisabled)(),d=(0,g5.useBlockProps)({ref:m});return(0,no.jsxs)(no.Fragment,{children:[(0,no.jsx)(g5.InspectorControls,{children:(0,no.jsxs)(la.__experimentalToolsPanel,{label:(0,Jo.__)("Settings"),resetAll:()=>{t({displayAsDropdown:!1,showLabel:!0,showPostCounts:!1,type:"monthly"})},dropdownMenuProps:s,children:[(0,no.jsx)(la.__experimentalToolsPanelItem,{label:(0,Jo.__)("Display as dropdown"),isShownByDefault:!0,hasValue:()=>i,onDeselect:()=>t({displayAsDropdown:!1}),children:(0,no.jsx)(la.ToggleControl,{label:(0,Jo.__)("Display as dropdown"),checked:i,onChange:()=>t({displayAsDropdown:!i})})}),i&&(0,no.jsx)(la.__experimentalToolsPanelItem,{label:(0,Jo.__)("Show label"),isShownByDefault:!0,hasValue:()=>!o,onDeselect:()=>t({showLabel:!0}),children:(0,no.jsx)(la.ToggleControl,{label:(0,Jo.__)("Show label"),checked:o,onChange:()=>t({showLabel:!o})})}),(0,no.jsx)(la.__experimentalToolsPanelItem,{label:(0,Jo.__)("Show post counts"),isShownByDefault:!0,hasValue:()=>a,onDeselect:()=>t({showPostCounts:!1}),children:(0,no.jsx)(la.ToggleControl,{label:(0,Jo.__)("Show post counts"),checked:a,onChange:()=>t({showPostCounts:!a})})}),(0,no.jsx)(la.__experimentalToolsPanelItem,{label:(0,Jo.__)("Group by"),isShownByDefault:!0,hasValue:()=>l!=="monthly",onDeselect:()=>t({type:"monthly"}),children:(0,no.jsx)(la.SelectControl,{label:(0,Jo.__)("Group by"),options:[{label:(0,Jo.__)("Year"),value:"yearly"},{label:(0,Jo.__)("Month"),value:"monthly"},{label:(0,Jo.__)("Week"),value:"weekly"},{label:(0,Jo.__)("Day"),value:"daily"}],value:l,onChange:f=>t({type:f})})})]})}),u==="loading"&&(0,no.jsx)("div",{...d,children:(0,no.jsx)(la.Spinner,{})}),u==="error"&&(0,no.jsx)("div",{...d,children:(0,no.jsx)("p",{children:(0,Jo.sprintf)((0,Jo.__)("Error: %s"),p)})}),u==="success"&&(0,no.jsx)(xo,{wrapperProps:d,html:c})]})}var{name:fj}=h5,hj={icon:J9,example:{},edit:dj},Aye=()=>R({name:fj,metadata:h5,settings:hj});var wI={};K(wI,{init:()=>Hye,metadata:()=>v5,name:()=>Dj,settings:()=>Lj});var v5={$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 cd=n(E(),1),Oa=n(O(),1),ll=n(N(),1),y5=n(ir(),1);var Wv=n(re(),1),hp=n(N(),1),vj=n(F(),1);function bj(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 yj({commentId:e}){let[t]=(0,Wv.useEntityProp)("root","comment","author_avatar_urls",e),[r]=(0,Wv.useEntityProp)("root","comment","author_name",e),o=t?Object.values(t):null,a=t?Object.keys(t):null,{minSize:i,maxSize:l}=bj(a),s=Uv();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 _j({userId:e,postId:t,postType:r}){let{authorDetails:o}=(0,vj.useSelect)(u=>{let{getEditedEntityRecord:p,getUser:m}=u(Wv.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}=bj(i),c=Uv();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),kj=n(O(),1),wj=n(F(),1),Cj=n(re(),1),b5=n(H(),1),Sj=n(ve(),1),Tj=n(en(),1),Pj=n(y(),1),zye={who:"authors",per_page:100,_fields:"id,name",context:"view"};function Ej({value:e,onChange:t}){let[r,o]=(0,b5.useState)(""),{authors:a,isLoading:i}=(0,wj.useSelect)(s=>{let{getUsers:c,isResolving:u}=s(Cj.store),p={...zye};return r&&(p.search=r,p.search_columns=["name"]),{authors:c(p),isLoading:u("getUsers",[p])}},[r]),l=(0,b5.useMemo)(()=>(a??[]).map(s=>({value:s.id,label:(0,Tj.decodeEntities)(s.name)})),[a]);return(0,Pj.jsx)(kj.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,Sj.debounce)(o,300),isLoading:i})}var Ht=n(y(),1),Bj=({setAttributes:e,avatar:t,attributes:r,selectUser:o})=>{let a=Z();return(0,Ht.jsx)(cd.InspectorControls,{children:(0,Ht.jsxs)(Oa.__experimentalToolsPanel,{label:(0,ll.__)("Settings"),resetAll:()=>{e({size:96,isLink:!1,linkTarget:"_self",userId:void 0})},dropdownMenuProps:a,children:[(0,Ht.jsx)(Oa.__experimentalToolsPanelItem,{label:(0,ll.__)("Image size"),isShownByDefault:!0,hasValue:()=>r?.size!==96,onDeselect:()=>e({size:96}),children:(0,Ht.jsx)(Oa.RangeControl,{label:(0,ll.__)("Image size"),onChange:i=>e({size:i}),min:t.minSize,max:t.maxSize,initialPosition:r?.size,value:r?.size})}),(0,Ht.jsx)(Oa.__experimentalToolsPanelItem,{label:(0,ll.__)("Link to user profile"),isShownByDefault:!0,hasValue:()=>r?.isLink,onDeselect:()=>e({isLink:!1}),children:(0,Ht.jsx)(Oa.ToggleControl,{label:(0,ll.__)("Link to user profile"),onChange:()=>e({isLink:!r.isLink}),checked:r.isLink})}),r.isLink&&(0,Ht.jsx)(Oa.__experimentalToolsPanelItem,{label:(0,ll.__)("Open in new tab"),isShownByDefault:!0,hasValue:()=>r?.linkTarget!=="_self",onDeselect:()=>e({linkTarget:"_self"}),children:(0,Ht.jsx)(Oa.ToggleControl,{label:(0,ll.__)("Open in new tab"),onChange:i=>e({linkTarget:i?"_blank":"_self"}),checked:r.linkTarget==="_blank"})}),o&&(0,Ht.jsx)(Oa.__experimentalToolsPanelItem,{label:(0,ll.__)("User"),isShownByDefault:!0,hasValue:()=>!!r?.userId,onDeselect:()=>e({userId:void 0}),children:(0,Ht.jsx)(Ej,{value:r?.userId,onChange:i=>{e({userId:i})}})})]})})},Vye=({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,Nj=({setAttributes:e,attributes:t,avatar:r,blockProps:o,isSelected:a})=>{let i=(0,cd.__experimentalUseBorderProps)(t),l=(0,y5.addQueryArgs)((0,y5.removeQueryArgs)(r?.src,["s"]),{s:t?.size*2});return(0,Ht.jsx)("div",{...o,children:(0,Ht.jsx)(Vye,{isLink:t.isLink,children:(0,Ht.jsx)(Oa.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,ll.isRTL)(),bottom:!0,left:(0,ll.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})})})})},Oye=({attributes:e,context:t,setAttributes:r,isSelected:o})=>{let{commentId:a}=t,i=(0,cd.useBlockProps)(),l=yj({commentId:a});return(0,Ht.jsxs)(Ht.Fragment,{children:[(0,Ht.jsx)(Bj,{avatar:l,setAttributes:r,attributes:e,selectUser:!1}),(0,Ht.jsx)(Nj,{attributes:e,avatar:l,blockProps:i,isSelected:o,setAttributes:r})]})},Fye=({attributes:e,context:t,setAttributes:r,isSelected:o})=>{let{postId:a,postType:i}=t,l=_j({userId:e?.userId,postId:a,postType:i}),s=(0,cd.useBlockProps)();return(0,Ht.jsxs)(Ht.Fragment,{children:[(0,Ht.jsx)(Bj,{selectUser:!0,attributes:e,avatar:l,setAttributes:r}),(0,Ht.jsx)(Nj,{attributes:e,avatar:l,blockProps:s,isSelected:o,setAttributes:r})]})};function Ij(e){return e?.context?.commentId||e?.context?.commentId===null?(0,Ht.jsx)(Oye,{...e}):(0,Ht.jsx)(Fye,{...e})}var{name:Dj}=v5,Lj={icon:Y1,edit:Ij,example:{}},Hye=()=>R({name:Dj,metadata:v5,settings:Lj});var DI={};K(DI,{init:()=>Xye,metadata:()=>k5,name:()=>nU,settings:()=>w5});var II=n(N(),1);var oU=n(q(),1);var CI=n(E(),1),$v=n(y(),1),Rj=[{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,$v.jsxs)("figure",{children:[(0,$v.jsx)("audio",{controls:"controls",src:i,autoPlay:t,loop:o,preload:a}),!CI.RichText.isEmpty(r)&&(0,$v.jsx)(CI.RichText.Content,{tagName:"figcaption",value:r})]})}}];var Zj=n(Ar(),1),hi=n(O(),1),Fa=n(E(),1),sa=n(N(),1),Kj=n(F(),1);var Yj=n(Sr(),1),Qj=n(H(),1);function Sh(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 Oj=n(O(),1),PI=n(H(),1),qs=n(q(),1),Fj=n(ir(),1);var $s={$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 qv=[{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 zj=n(TI(),1),{lock:Vj,unlock:U}=(0,zj.__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 _5=n(y(),1),{name:Th}=$s,{kebabCase:Uye}=U(Oj.privateApis),Hj=e=>(0,qs.getBlockVariations)(Th)?.find(({name:t})=>t===e),EI=(e,t=[])=>t.some(r=>e.match(r)),Ph=e=>(0,qs.getBlockVariations)(Th)?.find(({patterns:t})=>EI(e,t));function Zv(e){if(!e||(0,Fj.getAuthority)(e)!=="x.com")return e;let t=new URL(e);return t.host="twitter.com",t.toString()}var jj=e=>e&&e.includes('class="wp-embedded-content"'),Uj=e=>{let t=e.url||e.thumbnail_url,r=(0,_5.jsx)("p",{children:(0,_5.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,qs.getBlockType)(Th))return;let c=Ph(a),u=i==="wordpress"||l===SI;if(!u&&c&&(c.attributes.providerNameSlug!==i||!i))return(0,qs.createBlock)(Th,{url:a,...s,...c.attributes});let m=(0,qs.getBlockVariations)(Th)?.find(({name:d})=>d==="wordpress");if(!(!m||!r||!jj(r.html)||u))return(0,qs.createBlock)(Th,{url:a,...m.attributes,...t})},Gye=e=>e?qv.some(({className:t})=>e.includes(t)):!1,gp=e=>{if(!e)return e;let t=qv.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 Wye(e){return/padding-(top|bottom)\s*:\s*[\d.]+%/i.test(e)}function BI(e,t,r=!0){if(!r||Wye(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<qv.length;l++){let s=qv[l];if(i>=s.ratio)return i-s.ratio>.1?gp(t):S(gp(t),s.className,"wp-has-aspect-ratio")}}return t}function Gj(e,t){t((0,qs.createBlock)("core/paragraph",{content:(0,PI.renderToString)((0,_5.jsx)("a",{href:e,children:e}))}))}var $ye=Sh((e,t,r,o,a=!0)=>{if(!e)return{};let i={},{type:l="rich"}=e,{html:s,provider_name:c}=e,u=Uye((c||t).toLowerCase());return jj(s)&&(l=SI),(s||l==="photo")&&(i.type=l,i.providerNameSlug=u),Gye(r)||(i.className=BI(s,r,o&&a)),i}),Wj=(e,t,r,o)=>{let{allowResponsive:a,className:i}=e;return{...e,...$ye(t,r,i,o,a)}};var ud=n(H(),1),$j=n(ve(),1),Kv=n(N(),1),au=n(E(),1),qj=n(O(),1);var x5=n(q(),1),bp=n(y(),1);function Mo({attributeKey:e="caption",attributes:t,setAttributes:r,isSelected:o,insertBlocksAfter:a,placeholder:i=(0,Kv.__)("Add caption"),label:l=(0,Kv.__)("Caption text"),showToolbarButton:s=!0,excludeElementClassName:c,className:u,readOnly:p,tagName:m="figcaption",addLabel:d=(0,Kv.__)("Add caption"),removeLabel:f=(0,Kv.__)("Remove caption"),icon:h=mP,...g}){let v=t[e],b=(0,$j.usePrevious)(v),_=au.RichText.isEmpty(v),k=au.RichText.isEmpty(b),[x,w]=(0,ud.useState)(!_);(0,ud.useEffect)(()=>{!_&&k&&w(!0)},[_,k]),(0,ud.useEffect)(()=>{!o&&_&&w(!1)},[o,_]);let C=(0,ud.useCallback)(P=>{P&&_&&P.focus()},[_]);return(0,bp.jsxs)(bp.Fragment,{children:[s&&(0,bp.jsx)(au.BlockControls,{group:"block",children:(0,bp.jsx)(qj.ToolbarButton,{onClick:()=>{w(!x),x&&v&&r({[e]:void 0})},icon:h,isPressed:x,label:x?f:d})}),x&&(!au.RichText.isEmpty(v)||o)&&(0,bp.jsx)(au.RichText,{identifier:e,tagName:m,className:S(u,c?"":(0,au.__experimentalGetElementClassName)("caption")),ref:C,"aria-label":l,placeholder:i,value:v,onChange:P=>r({[e]:P}),inlineToolbar:!0,__unstableOnSplitAtEnd:a?()=>a((0,x5.createBlock)((0,x5.getDefaultBlockName)())):void 0,readOnly:p,...g})]})}var Mr=n(y(),1),NI=["audio"];function qye({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,Qj.useState)(e.blob),h=(0,Fa.useBlockEditingMode)()==="default";Gs({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,Kj.useDispatch)(Yj.store);function _(B){b(B,{type:"snackbar"})}function k(B){return B?(0,sa.__)("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,Zj.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,Fa.useBlockProps)({className:w}),P=Z();return!p&&!m?(0,Mr.jsx)("div",{...C,children:(0,Mr.jsx)(Fa.MediaPlaceholder,{icon:(0,Mr.jsx)(Fa.BlockIcon,{icon:Zm}),onSelect:x,onSelectURL:v,accept:"audio/*",allowedTypes:NI,value:e,onError:_})}):(0,Mr.jsxs)(Mr.Fragment,{children:[a&&(0,Mr.jsx)(Fa.BlockControls,{group:"other",children:(0,Mr.jsx)(Fa.MediaReplaceFlow,{mediaId:l,mediaURL:p,allowedTypes:NI,accept:"audio/*",onSelect:x,onSelectURL:v,onError:_,onReset:()=>x(void 0),variant:"toolbar"})}),(0,Mr.jsx)(Fa.InspectorControls,{children:(0,Mr.jsxs)(hi.__experimentalToolsPanel,{label:(0,sa.__)("Settings"),resetAll:()=>{r({autoplay:!1,loop:!1,preload:void 0})},dropdownMenuProps:P,children:[(0,Mr.jsx)(hi.__experimentalToolsPanelItem,{label:(0,sa.__)("Autoplay"),isShownByDefault:!0,hasValue:()=>!!s,onDeselect:()=>r({autoplay:!1}),children:(0,Mr.jsx)(hi.ToggleControl,{label:(0,sa.__)("Autoplay"),onChange:g("autoplay"),checked:!!s,help:k})}),(0,Mr.jsx)(hi.__experimentalToolsPanelItem,{label:(0,sa.__)("Loop"),isShownByDefault:!0,hasValue:()=>!!c,onDeselect:()=>r({loop:!1}),children:(0,Mr.jsx)(hi.ToggleControl,{label:(0,sa.__)("Loop"),onChange:g("loop"),checked:!!c})}),(0,Mr.jsx)(hi.__experimentalToolsPanelItem,{label:(0,sa.__)("Preload"),isShownByDefault:!0,hasValue:()=>!!u,onDeselect:()=>r({preload:void 0}),children:(0,Mr.jsx)(hi.SelectControl,{label:(0,sa._x)("Preload","noun; Audio block parameter"),value:u||"",onChange:B=>r({preload:B||void 0}),options:[{value:"",label:(0,sa.__)("Browser default")},{value:"auto",label:(0,sa.__)("Auto")},{value:"metadata",label:(0,sa.__)("Metadata")},{value:"none",label:(0,sa._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)(Mo,{attributes:e,setAttributes:r,isSelected:a,insertBlocksAfter:i,label:(0,sa.__)("Audio caption text"),showToolbarButton:a&&h})]})]})}var Xj=qye;var k5={$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 pd=n(E(),1),Yv=n(y(),1);function Jj({attributes:e}){let{autoplay:t,caption:r,loop:o,preload:a,src:i}=e;return i&&(0,Yv.jsxs)("figure",{...pd.useBlockProps.save(),children:[(0,Yv.jsx)("audio",{controls:"controls",src:i,autoPlay:t,loop:o,preload:a}),!pd.RichText.isEmpty(r)&&(0,Yv.jsx)(pd.RichText.Content,{tagName:"figcaption",value:r,className:(0,pd.__experimentalGetElementClassName)("caption")})]})}var eU=n(Ar(),1),tU=n(q(),1),Kye={from:[{type:"files",isMatch(e){return e.length===1&&e[0].type.indexOf("audio/")===0},transform(e){let t=e[0];return(0,tU.createBlock)("core/audio",{blob:(0,eU.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}}}]},rU=Kye;var{fieldsKey:Yye,formKey:Qye}=U(oU.privateApis),{name:nU}=k5,w5={icon:Zm,example:{attributes:{src:"https://upload.wikimedia.org/wikipedia/commons/d/dd/Armstrong_Small_Step.ogg"},viewportWidth:350},transforms:rU,deprecated:Rj,edit:Xj,save:Jj};window.__experimentalContentOnlyInspectorFields&&(w5[Yye]=[{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"}],w5[Qye]={fields:["audio","caption"]});var Xye=()=>R({name:nU,metadata:k5,settings:w5});var LI={};K(LI,{init:()=>e2e,metadata:()=>C5,name:()=>cU,settings:()=>uU});var C5={$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),Qv=n(E(),1),tn=n(O(),1),aU=n(F(),1),T5=n(re(),1),iu=n(H(),1),iU=n(lp(),1),lU=n(ve(),1);var Et=n(y(),1),S5="/";function sU({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,aU.useSelect)(z=>{if(!a)return{};let j=z(T5.store).getEntityRecord("postType",a,o),G=z(T5.store).getPostType(a),W=G&&G.taxonomies.length,$;return W&&($=z(T5.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,iu.useState)(0);(0,iu.useEffect)(()=>{b(z=>z+1)},[m]);let _=Z(),{content:k,status:x,error:w}=(0,iU.useServerSideRender)({attributes:e,skipBlockSupportAttributes:!0,block:r,urlQueryArgs:{post_id:o,invalidationKey:v}}),C=(0,iu.useRef)("");(0,iu.useEffect)(()=>{x==="success"&&(C.current=k)},[k,x]);let[P,B]=(0,iu.useState)(!1);(0,iu.useEffect)(()=>{if(x!=="loading")return;let z=setTimeout(()=>{B(!0)},400);return()=>{clearTimeout(z),B(!1)}},[x]);let I=(0,lU.useDisabled)(),D=(0,Qv.useBlockProps)({ref:I});if(g)return(0,Et.jsx)("div",{...D,children:(0,Et.jsx)(tn.Spinner,{})});let T;!d&&!m?.parent?T=!0:f?T=u:T=!1;let L=null,A=!o||!a||i&&!a||!T&&!d||T&&!h;if(A){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,Et.jsx)("nav",{...D,style:{"--separator":`"${l.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`,...D.style},children:(0,Et.jsxs)("ol",{children:[z.map((j,G)=>(0,Et.jsx)("li",{children:(0,Et.jsx)("a",{href:`#breadcrumbs-pseudo-link-${G}`,children:j})},G)),c&&(0,Et.jsx)("li",{children:(0,Et.jsx)("span",{"aria-current":"page",children:(0,$r.__)("Current")})})]})})}return(0,Et.jsxs)(Et.Fragment,{children:[(0,Et.jsx)(Qv.InspectorControls,{children:(0,Et.jsxs)(tn.__experimentalToolsPanel,{label:(0,$r.__)("Settings"),resetAll:()=>{t({separator:S5,showHomeItem:!0,showCurrentItem:!0})},dropdownMenuProps:_,children:[(0,Et.jsx)(tn.__experimentalToolsPanelItem,{label:(0,$r.__)("Show home breadcrumb"),isShownByDefault:!0,hasValue:()=>!s,onDeselect:()=>t({showHomeItem:!0}),children:(0,Et.jsx)(tn.ToggleControl,{label:(0,$r.__)("Show home breadcrumb"),onChange:z=>t({showHomeItem:z}),checked:s})}),(0,Et.jsx)(tn.__experimentalToolsPanelItem,{label:(0,$r.__)("Show current breadcrumb"),isShownByDefault:!0,hasValue:()=>!c,onDeselect:()=>t({showCurrentItem:!0}),children:(0,Et.jsx)(tn.ToggleControl,{label:(0,$r.__)("Show current breadcrumb"),onChange:z=>t({showCurrentItem:z}),checked:c})}),(0,Et.jsx)(tn.__experimentalToolsPanelItem,{label:(0,$r.__)("Separator"),isShownByDefault:!0,hasValue:()=>l!==S5,onDeselect:()=>t({separator:S5}),children:(0,Et.jsx)(tn.TextControl,{autoComplete:"off",label:(0,$r.__)("Separator"),value:l,onChange:z=>t({separator:z}),onBlur:()=>{l||t({separator:S5})}})})]})}),(0,Et.jsxs)(Qv.InspectorControls,{group:"advanced",children:[(0,Et.jsx)(tn.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,Et.jsx)(tn.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"&&!A&&(C.current?(0,Et.jsx)(xo,{wrapperProps:{...D,style:{...D.style,opacity:P?.3:1}},html:C.current}):(0,Et.jsx)("div",{...D,children:(0,Et.jsx)(tn.Spinner,{})})),x==="error"&&(0,Et.jsx)("div",{...D,children:(0,Et.jsx)("p",{children:(0,$r.sprintf)((0,$r.__)("Error: %s"),w)})}),A&&L,!A&&x==="success"&&(0,Et.jsx)(xo,{wrapperProps:D,html:k})]})}var{name:cU}=C5,uU={icon:aP,example:{},edit:sU},e2e=()=>R({name:cU,metadata:C5,settings:uU});var DD={};K(DD,{init:()=>Pxe,metadata:()=>rw,name:()=>fW,settings:()=>nw});var ow=n(N(),1);var dW=n(q(),1);var ye=n(E(),1),ql=n(ve(),1);var pU=n(E(),1);var{cleanEmptyObject:t2e}=U(pU.privateApis);function Zt(e){if(!e?.style?.typography?.fontFamily)return e;let{fontFamily:t,...r}=e.style.typography;return{...e,style:t2e({...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),sl=e=>{let{width:t,...r}=e;return t?{...r,style:{...r.style,dimensions:{...r.style?.dimensions,width:`${t}%`}}}:r},Eh=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 r2e(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)},lu={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"}},o2e={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:sl},n2e={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,ql.compose)(sl,be)},a2e={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:sl},i2e={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})})}},l2e={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,ql.compose)(sl,Zt),isEligible({style:e,width:t}){return e?.typography?.fontFamily||typeof t=="number"}},s2e=[o2e,n2e,a2e,i2e,l2e,{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:{...lu,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,ql.compose)(sl,Zt,Eh)},{supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0},reusable:!1,__experimentalSelector:".wp-block-button__link"},attributes:{...lu,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,ql.compose)(sl,Zt,Eh)},{supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0},reusable:!1,__experimentalSelector:".wp-block-button__link"},attributes:{...lu,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,ql.compose)(sl,Zt,Eh)},{supports:{align:!0,alignWide:!1,color:{gradients:!0}},attributes:{...lu,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,ql.compose)(sl,Eh)},{supports:{align:!0,alignWide:!1},attributes:{...lu,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,ql.compose)(sl,Eh,AI,r2e),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:{...lu,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()),Eh(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:{...lu,align:{type:"string",default:"none"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"}},migrate:(0,ql.compose)(sl,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:{...lu,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,ql.compose)(sl,RI)},{attributes:{...lu,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,ql.compose)(sl,RI)}],mU=s2e;var ul=n(N(),1),In=n(H(),1),Fh=n(O(),1),pt=n(E(),1),Sp=n(Zs(),1);var uu=n(q(),1),kd=n(ve(),1),fb=n(F(),1);var md=n(ut(),1);function fU({controlled:e,default:t,name:r,state:o="value"}){let{current:a}=md.useRef(e!==void 0),[i,l]=md.useState(t),s=a?e:i,c=md.useCallback(u=>{a||l(u)},[]);return[s,c]}var c2e=n(ut(),1),Xv={...c2e};var gU=n(ut(),1),hU={};function Ks(e,t){let r=gU.useRef(hU);return r.current===hU&&(r.current=e(t)),r}var MI=Xv.useInsertionEffect,u2e=MI&&MI!==Xv.useLayoutEffect?MI:e=>e();function mr(e){let t=Ks(p2e).current;return t.next=e,u2e(t.effect),t.trampoline}function p2e(){let e={next:void 0,callback:m2e,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function m2e(){}var vU=n(ut(),1),d2e=()=>{},Kt=typeof document<"u"?vU.useLayoutEffect:d2e;var yp=n(ut(),1);var P5=n(ut(),1),zI=P5.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},elementsRef:{current:[]},nextIndexRef:{current:0}});function bU(){return P5.useContext(zI)}var yU=n(y(),1);function E5(e){let{children:t,elementsRef:r,labelsRef:o,onMapChange:a}=e,i=mr(a),l=yp.useRef(0),s=Ks(h2e).current,c=Ks(f2e).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(g2e).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,yU.jsx)(zI.Provider,{value:v,children:t})}function f2e(){return new Map}function h2e(){return new Set}function g2e(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 B5=n(ut(),1),v2e=B5.createContext(void 0);function _U(){return B5.useContext(v2e)?.direction??"ltr"}function b2e(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 y2e=b2e("https://base-ui.com/production-error","Base UI"),_p=y2e;var fd=n(ut(),1);function dd(e,t,r,o){let a=Ks(kU).current;return _2e(a,e,t,r,o)&&wU(a,[e,t,r,o]),a.callback}function xU(e){let t=Ks(kU).current;return x2e(t,e)&&wU(t,e),t.callback}function kU(){return{callback:null,cleanup:null,refs:[]}}function _2e(e,t,r,o,a){return e.refs[0]!==t||e.refs[1]!==r||e.refs[2]!==o||e.refs[3]!==a}function x2e(e,t){return e.refs.length!==t.length||e.refs.some((r,o)=>r!==t[o])}function wU(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 SU=n(ut(),1);var CU=n(ut(),1),k2e=parseInt(CU.version,10);function N5(e){return k2e>=e}function VI(e){if(!SU.isValidElement(e))return null;let t=e,r=t.props;return(N5(19)?r?.ref:t.ref)??null}function Jv(e,t){if(e&&!t)return e;if(!e&&t)return t;if(e||t)return{...e,...t}}function OI(){}var eb=Object.freeze([]),Ys=Object.freeze({});function TU(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 PU(e,t){return typeof e=="function"?e(t):e}function EU(e,t){return typeof e=="function"?e(t):e}var FI={};function Zl(e,t,r,o,a){if(!r&&!o&&!a&&!e)return I5(t);let i=I5(e);return t&&(i=tb(i,t)),r&&(i=tb(i,r)),o&&(i=tb(i,o)),a&&(i=tb(i,a)),i}function BU(e){if(e.length===0)return FI;if(e.length===1)return I5(e[0]);let t=I5(e[0]);for(let r=1;r<e.length;r+=1)t=tb(t,e[r]);return t}function I5(e){return HI(e)?{...IU(e,FI)}:w2e(e)}function tb(e,t){return HI(t)?IU(t,e):C2e(e,t)}function w2e(e){let t={...e};for(let r in t){let o=t[r];NU(r,o)&&(t[r]=DU(o))}return t}function C2e(e,t){if(!t)return e;for(let r in t){let o=t[r];switch(r){case"style":{e[r]=Jv(e.style,o);break}case"className":{e[r]=jI(e.className,o);break}default:NU(r,o)?e[r]=S2e(e[r],o):e[r]=o}}return e}function NU(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 IU(e,t){return HI(e)?e(t):e??FI}function S2e(e,t){return t?e?(...r)=>{let o=r[0];if(LU(o)){let i=o;rb(i);let l=t(...r);return i.baseUIHandlerPrevented||e?.(...r),l}let a=t(...r);return e?.(...r),a}:DU(t):e}function DU(e){return e&&((...t)=>{let r=t[0];return LU(r)&&rb(r),e(...t)})}function rb(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function jI(e,t){return t?e?t+" "+e:t:e}function LU(e){return e!=null&&typeof e=="object"&&"nativeEvent"in e}var UI=n(ut(),1);function cl(e,t,r={}){let o=t.render,a=T2e(t,r);if(r.enabled===!1)return null;let i=r.state??Ys;return B2e(e,o,a,i)}function T2e(e,t={}){let{className:r,style:o,render:a}=e,{state:i=Ys,ref:l,props:s,stateAttributesMapping:c,enabled:u=!0}=t,p=u?PU(r,i):void 0,m=u?EU(o,i):void 0,d=u?TU(i,c):Ys,f=u&&s?P2e(s):void 0,h=u?Jv(d,f)??{}:Ys;return typeof document<"u"&&(u?Array.isArray(l)?h.ref=xU([h.ref,VI(a),...l]):h.ref=dd(h.ref,VI(a),l):dd(null,null)),u?(p!==void 0&&(h.className=jI(h.className,p)),m!==void 0&&(h.style=Jv(h.style,m)),h):Ys}function P2e(e){return Array.isArray(e)?BU(e):Zl(void 0,e)}var E2e=Symbol.for("react.lazy");function B2e(e,t,r,o){if(t){if(typeof t=="function")return t(r,o);let a=Zl(r,t.props);a.ref=r.ref;let i=t;return i?.$$typeof===E2e&&(i=fd.Children.toArray(t)[0]),fd.cloneElement(i,a)}if(e&&typeof e=="string")return N2e(e,r);throw new Error(_p(8))}function N2e(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}):fd.createElement(e,t)}var D5=n(ut(),1);var RU=0;function I2e(e,t="mui"){let[r,o]=D5.useState(e),a=e||r;return D5.useEffect(()=>{r==null&&(RU+=1,o(`${t}-${RU}`))},[r,t]),a}var AU=Xv.useId;function MU(e,t){if(AU!==void 0){let r=AU();return e??(t?`${t}-${r}`:r)}return I2e(e,t)}function L5(e){return MU(e,"base-ui")}var Kl={};K(Kl,{cancelOpen:()=>a_e,chipRemovePress:()=>H2e,clearPress:()=>F2e,closePress:()=>V2e,closeWatcher:()=>X2e,decrementPress:()=>G2e,disabled:()=>l_e,drag:()=>r_e,escapeKey:()=>Q2e,focusOut:()=>Y2e,imperativeAction:()=>u_e,incrementPress:()=>U2e,initial:()=>c_e,inputBlur:()=>q2e,inputChange:()=>W2e,inputClear:()=>$2e,inputPaste:()=>Z2e,inputPress:()=>K2e,itemPress:()=>z2e,keyboard:()=>e_e,linkPress:()=>O2e,listNavigation:()=>J2e,missing:()=>s_e,none:()=>D2e,outsidePress:()=>M2e,pointer:()=>t_e,scrub:()=>n_e,siblingOpen:()=>i_e,swipe:()=>p_e,trackPress:()=>j2e,triggerFocus:()=>A2e,triggerHover:()=>R2e,triggerPress:()=>L2e,wheel:()=>o_e,windowResize:()=>m_e});var D2e="none",L2e="trigger-press",R2e="trigger-hover",A2e="trigger-focus",M2e="outside-press",z2e="item-press",V2e="close-press",O2e="link-press",F2e="clear-press",H2e="chip-remove-press",j2e="track-press",U2e="increment-press",G2e="decrement-press",W2e="input-change",$2e="input-clear",q2e="input-blur",Z2e="input-paste",K2e="input-press",Y2e="focus-out",Q2e="escape-key",X2e="close-watcher",J2e="list-navigation",e_e="keyboard",t_e="pointer",r_e="drag",o_e="wheel",n_e="scrub",a_e="cancel-open",i_e="sibling-open",l_e="disabled",s_e="missing",c_e="initial",u_e="imperative-action",p_e="swipe",m_e="window-resize";function ob(e,t,r,o){let a=!1,i=!1,l=o??Ys;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(ut(),1);var zU=n(ut(),1),d_e=[];function VU(e){zU.useEffect(e,d_e)}var R5=null,_He=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)}},A5=new GI,Qs=class e{static create(){return new e}static request(t){return A5.request(t)}static cancel(t){return A5.cancel(t)}currentId=R5;request(t){this.cancel(),this.currentId=A5.request(()=>{this.currentId=R5,t()})}cancel=()=>{this.currentId!==R5&&(A5.cancel(this.currentId),this.currentId=R5)};disposeEffect=()=>this.cancel};function OU(){let e=Ks(Qs.create).current;return VU(e.disposeEffect),e}function FU(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=Qs.request(()=>{a("ending")});return()=>{Qs.cancel(s)}}},[e,i,o,r]),Kt(()=>{if(!e||t)return;let s=Qs.request(()=>{a(void 0)});return()=>{Qs.cancel(s)}},[t,e]),Kt(()=>{if(!e||!t)return;e&&i&&o!=="idle"&&a("starting");let s=Qs.request(()=>{a("idle")});return()=>{Qs.cancel(s)}},[t,e,i,o]),{mounted:i,setMounted:l,transitionStatus:o}}var hd=n(ut(),1);var f_e=(function(e){return e[e.None=0]="None",e[e.GuessFromOrder=1]="GuessFromOrder",e})({});function M5(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}=bU(),d=hd.useRef(-1),[f,h]=hd.useState(i??(a===f_e.GuessFromOrder?()=>{if(d.current===-1){let b=m.current;m.current+=1,d.current=b}return d.current}:-1)),g=hd.useRef(null),v=hd.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 gd=(function(e){return e.startingStyle="data-starting-style",e.endingStyle="data-ending-style",e})({}),h_e={[gd.startingStyle]:""},g_e={[gd.endingStyle]:""},HU={transitionStatus(e){return e==="starting"?h_e:e==="ending"?g_e:null}};var Bh=n(ut(),1);function jU(){return typeof window<"u"}function $I(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function vd(e){return jU()?e instanceof HTMLElement||e instanceof $I(e).HTMLElement:!1}function UU(e){return!jU()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof $I(e).ShadowRoot}function z5(e){return $I(e).getComputedStyle(e)}var V5=n(ut(),1),qI=V5.createContext(void 0);function O5(e=!1){let t=V5.useContext(qI);if(t===void 0&&!e)throw new Error(_p(16));return t}var GU=n(ut(),1);function WU(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:GU.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=Bh.useRef(null),s=O5(!0),c=i??s!==void 0,{props:u}=WU({focusableWhenDisabled:r,disabled:t,composite:c,tabIndex:o,isNativeButton:a}),p=Bh.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=Bh.useCallback((f={})=>{let{onClick:h,onMouseDown:g,onKeyUp:v,onKeyDown:b,onPointerDown:_,...k}=f;return Zl({onClick(x){if(t){x.preventDefault();return}h?.(x)},onMouseDown(x){t||g?.(x)},onKeyDown(x){if(t||(rb(x),b?.(x),x.baseUIHandlerPrevented))return;let w=x.target===x.currentTarget,C=x.currentTarget,P=ZI(C),B=!a&&v_e(C),I=w&&(a?P:!B),D=x.key==="Enter",T=x.key===" ",L=C.getAttribute("role"),A=L?.startsWith("menuitem")||L==="option"||L==="gridcell";if(w&&c&&T){if(x.defaultPrevented&&A)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(rb(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 vd(e)&&e.tagName==="BUTTON"}function v_e(e){return!!(e?.tagName==="A"&&e?.href)}function YI(e){return e?.ownerDocument||document}var QU=n(ut(),1);var KU=n(qU(),1);function ZU(e){return e==null?e:"current"in e?e.current:e}function YU(e,t=!1,r=!0){let o=OU();return mr((a,i=null)=>{o.cancel();let l=ZU(e);if(l==null)return;let s=l,c=()=>{KU.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=gd.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 XU(e){let{enabled:t=!0,open:r,ref:o,onComplete:a}=e,i=mr(a),l=YU(o,r,!1);QU.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&&UU(r)){let o=t;for(;o;){if(e===o)return!0;o=o.parentNode||o.host}}return!1}function F5(e){return"composedPath"in e?e.composedPath()[0]:e.target}var JI=Math.round;function nb(e,t){return t<0||t>=e.length}function eD(e,t){return bd(e.current,{disabledIndices:t})}function tD(e,t){return bd(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function bd(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&&ab(e,i,o));return i}function ab(e,t,r){if(typeof r=="function"?r(t):r?.includes(t)??!1)return!0;let a=e[t];return a?y_e(a)?!r&&(a.hasAttribute("disabled")||a.getAttribute("aria-disabled")==="true"):!0:!1}function b_e(e){return e.visibility==="hidden"||e.visibility==="collapse"}function y_e(e,t=e?z5(e):null){return!e||!e.isConnected||!t||b_e(t)?!1:typeof e.checkVisibility=="function"?e.checkVisibility():t.display!=="none"&&t.display!=="contents"}var H5=n(ut(),1);function oG(){let[,e]=H5.useState({});return H5.useCallback(()=>{e({})},[])}var Ih="ArrowUp",Dh="ArrowDown",ib="ArrowLeft",lb="ArrowRight",sb="Home",cb="End";var oD=new Set([ib,lb]),aG=new Set([ib,lb,sb,cb]),nD=new Set([Ih,Dh]),iG=new Set([Ih,Dh,sb,cb]),aD=new Set([...oD,...nD]),lG=new Set([...aD,sb,cb]),B_e="Shift",N_e="Control",I_e="Alt",D_e="Meta",sG=new Set([B_e,N_e,I_e,D_e]);function L_e(e){return vd(e)&&e.tagName==="INPUT"}function iD(e){return!!(L_e(e)&&e.selectionStart!=null||vd(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=nG(e,t,"left"),u=j5(e),p=j5(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=nG(e,t,"top"),u=j5(e),p=j5(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 nG(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 j5(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 cG(e){return N5(19)?e:e?"true":void 0}var uG=n(ut(),1);function pG(e={}){let{highlightItemOnHover:t,highlightedIndex:r,onHighlightedIndexChange:o}=O5(),{ref:a,index:i}=M5(e),l=r===i,s=uG.useRef(null),c=dd(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=z5(e),r=parseFloat(t.width)||0,o=parseFloat(t.height)||0,a=vd(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 mG(e){return e==null||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true"}var U5=n(ut(),1),R_e=U5.createContext(void 0),A_e={disableStyleElements:!1};function dG(){return U5.useContext(R_e)??A_e}var hG=n(ut(),1);var Lh=n(ut(),1);var G5="data-composite-item-active";var M_e=[];function fG(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=M_e}=e,[f,h]=Lh.useState(0),g=o!=null,v=Lh.useRef(null),b=dd(v,c),_=Lh.useRef([]),k=Lh.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(G5))??null,A=L?T.indexOf(L):-1;if(A!==-1)w(A);else if(ab(T,x,m)){let z=bd(T,{disabledIndices:m});nb(T,z)||w(z)}lD(v.current,L,i,r)});Kt(()=>{if(m==null||l!=null||!k.current)return;let D=_.current;if(ab(D,x,m)){let T=bd(D,{disabledIndices:m});nb(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?lG:aD;if(!T.has(D.key)||z_e(D,d)||!v.current)return;let A=i==="rtl",z=A?ib:lb,j={horizontal:z,vertical:Dh,both:z}[r],G=A?lb:ib,W={horizontal:G,vertical:Ih,both:G}[r],$=F5(D.nativeEvent);if($!=null&&iD($)&&!mG($)){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:A}));let ee={horizontal:[z],vertical:[Dh],both:[z,Dh]}[r],te={horizontal:[G],vertical:[Ih],both:[G,Ih]}[r],ae=g?T:{horizontal:u?aG:oD,vertical:u?iG:nD,both:T}[r];u&&(D.key===sb?V=Q:D.key===cb&&(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=bd(_.current,{startingIndex:V,decrement:te.includes(D.key),disabledIndices:m})),V!==x&&!nb(_.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=F5(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 z_e(e,t){for(let r of sG.values())if(!t.includes(r)&&e.getModifierState(r))return!0;return!1}var cD=n(y(),1);function gG(e){let{render:t,className:r,style:o,refs:a=eb,props:i=eb,state:l=Ys,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=_U(),{props:B,highlightedIndex:I,onHighlightedIndexChange:D,elementsRef:T,onMapChange:L,relayKeyboardEvent:A}=fG({grid:m,loopFocus:d,onLoop:f,orientation:p,highlightedIndex:c,onHighlightedIndexChange:u,rootRef:b,stopEventPropagation:v,enableHomeAndEndKeys:h,direction:P,disabledIndices:_,modifierKeys:k}),z=cl(w,e,{state:l,ref:a,props:[B,...i,C],stateAttributesMapping:s}),j=hG.useMemo(()=>({highlightedIndex:I,onHighlightedIndexChange:D,highlightItemOnHover:x,relayKeyboardEvent:A}),[I,D,x,A]);return(0,cD.jsx)(qI.Provider,{value:j,children:(0,cD.jsx)(E5,{elementsRef:T,onMapChange:G=>{g?.(G),L(G)},children:z})})}var vG=n(rG(),1);function V_e(){return OI}function O_e(){return!1}function F_e(){return!0}function bG(){return(0,vG.useSyncExternalStore)(V_e,O_e,F_e)}var Ql={};K(Ql,{Indicator:()=>CG,List:()=>PG,Panel:()=>TG,Root:()=>xG,Tab:()=>kG});var qr=n(ut(),1);var W5=n(ut(),1),uD=W5.createContext(void 0);function xp(){let e=W5.useContext(uD);if(e===void 0)throw new Error(_p(64));return e}var yG=(function(e){return e.activationDirection="data-activation-direction",e.orientation="data-orientation",e})({});var Xs={tabActivationDirection:e=>({[yG.activationDirection]:e})};var pD=n(y(),1),xG=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]=fU({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,ge]of _.entries())if(ge!=null&&se===(ge.value??ge.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=_G(B,g,l,_),T=B!=null&&g!=null&&w(g)==null);let L=T?B:g,A=B!==L||I!==D;Kt(()=>{A&&P({previousValue:L,tabActivationDirection:D})},[L,A,D]);let z=mr((se,de)=>{let ge=_G(g,se,l,_);de.activationDirection=ge,i?.(se,de),!de.isCanceled&&v(se)}),j=mr((se,de)=>{i?.(se,ob(de,void 0,void 0,{activationDirection:"none"}))}),G=mr((se,de)=>{h(ge=>{if(ge.get(se)===de)return ge;let oe=new Map(ge);return oe.set(se,de),oe})}),W=mr((se,de)=>{h(ge=>{if(!ge.has(se)||ge.get(se)!==de)return ge;let oe=new Map(ge);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(me,le){v(me),P(Pe=>Pe.previousValue===me&&Pe.tabActivationDirection==="none"?Pe:{previousValue:me,tabActivationDirection:"none"}),j(me,le),te.current=!1}if(_.size===0){ce.current&&g!==null&&!x.current?.isConnected&&se(null,Kl.missing);return}ce.current=!0,x.current=_.keys().next().value;let de=Y?.disabled,ge=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||ge){let me=ee??null;if(g===me){te.current=!1;return}let le=Kl.missing;oe?le=Kl.initial:de&&(le=Kl.disabled),se(me,le);return}oe&&Y!=null&&(j(g,Kl.initial),te.current=!1)},[ee,b,j,Y,v,_,g]);let we=cl("div",t,{state:{orientation:l,tabActivationDirection:D},ref:r,props:p,stateAttributesMapping:Xs});return(0,pD.jsx)(uD.Provider,{value:Q,children:(0,pD.jsx)(E5,{elementsRef:d,children:we})})});function _G(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 su=n(ut(),1);var $5=n(ut(),1),mD=$5.createContext(void 0);function q5(){let e=$5.useContext(mD);if(e===void 0)throw new Error(_p(65));return e}var kG=su.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}=q5(),w=L5(s),C=su.useMemo(()=>({disabled:a,id:w,value:l}),[a,w,l]),{compositeProps:P,compositeRef:B,index:I}=pG({metadata:C}),D=l===m,T=su.useRef(!1),L=su.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:A,buttonRef:z}=KI({disabled:a,native:c,focusableWhenDisabled:!0}),j=d(l),G=su.useRef(!1),W=su.useRef(!1);function $(te){D||a||b(l,ob(Kl.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,ob(Kl.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 cl("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,[G5]:D?"":void 0,onKeyDownCapture(){T.current=!0}},p,A],stateAttributesMapping:Xs})});var Rh=n(ut(),1);var wG='!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 yd=(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 Z5=n(y(),1),H_e={...Xs,activeTabPosition:()=>null,activeTabSize:()=>null},CG=Rh.forwardRef(function(t,r){let{className:o,render:a,renderBeforeHydration:i=!1,style:l,...s}=t,{nonce:c}=dG(),{getTabElementBySelectedValue:u,orientation:p,tabActivationDirection:m,value:d}=xp(),{tabsListElement:f,registerIndicatorUpdateListener:h}=q5(),g=bG(),v=oG();Rh.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?{[yd.activeTabLeft]:`${b}px`,[yd.activeTabRight]:`${_}px`,[yd.activeTabTop]:`${k}px`,[yd.activeTabBottom]:`${x}px`,[yd.activeTabWidth]:`${w}px`,[yd.activeTabHeight]:`${C}px`}:void 0,T=P&&w>0&&C>0,A=cl("span",t,{state:{orientation:p,activeTabPosition:B,activeTabSize:I,tabActivationDirection:m},ref:r,props:[{role:"presentation",style:D,hidden:!T},s,{suppressHydrationWarning:!0}],stateAttributesMapping:H_e});return d==null?null:(0,Z5.jsxs)(Rh.Fragment,{children:[A,g&&i&&(0,Z5.jsx)("script",{nonce:c,dangerouslySetInnerHTML:{__html:wG},suppressHydrationWarning:!0})]})});var Ah=n(ut(),1);var SG=(function(e){return e.index="data-index",e.activationDirection="data-activation-direction",e.orientation="data-orientation",e.hidden="data-hidden",e[e.startingStyle=gd.startingStyle]="startingStyle",e[e.endingStyle=gd.endingStyle]="endingStyle",e})({});var j_e={...Xs,...HU},TG=Ah.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=L5(),v=Ah.useMemo(()=>({id:g,value:a}),[g,a]),{ref:b,index:_}=M5({metadata:v}),k=a===u,{mounted:x,transitionStatus:w,setMounted:C}=FU(k),P=!x,B=p(a),I={hidden:P,orientation:m,tabActivationDirection:d,transitionStatus:w},D=Ah.useRef(null),T=cl("div",t,{state:I,ref:[r,b,D],props:[{"aria-labelledby":B,hidden:P,id:g,role:"tabpanel",tabIndex:k?0:-1,inert:cG(!k),[SG.index]:_},c],stateAttributesMapping:j_e});return XU({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 Yl=n(ut(),1);var dD=n(y(),1),PG=Yl.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]=Yl.useState(0),[v,b]=Yl.useState(null),_=Yl.useRef(new Set),k=Yl.useRef(new Set),x=Yl.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=Yl.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)(gG,{render:l,className:a,style:s,state:B,refs:[r,b],props:[I,c],stateAttributesMapping:Xs,highlightedIndex:h,enableHomeAndEndKeys:!0,loopFocus:i,orientation:p,onHighlightedIndexChange:g,onMapChange:d,disabledIndices:eb})})});function Mh(e){return cl(e.defaultTagName??"div",e,e)}var BG=n(H(),1),NG=n(M(),1),IG=n(y(),1),fD=(0,BG.forwardRef)(function({icon:t,size:r=24,...o},a){return(0,IG.jsx)(NG.SVG,{ref:a,...t.props,...o,width:r,height:r})});var DG=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"&&G_e(document)),e.__wpStyleRuntime}function U_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 LG(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(U_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 G_e(e){let t=gD();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[r,o]of t.styles)LG(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 W_e(e,t){let r=gD();r.styles.set(e,t);for(let o of r.documents.keys())LG(o,e,t)}typeof process>"u",W_e("32aba35fe1","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._19ce0419607e1896__stack{display:flex}}}");var $_e={stack:"_19ce0419607e1896__stack"},q_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,DG.forwardRef)(function({direction:t,gap:r,align:o,justify:a,wrap:i,render:l,...s},c){let u={gap:r&&q_e[r],alignItems:o,justifyContent:a,flexDirection:t,flexWrap:i};return Mh({render:l,ref:c,props:Zl(s,{style:u,className:$_e.stack})})});var wp=n(H(),1);function RG(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 AG=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"&&K_e(document)),e.__wpStyleRuntime}function Z_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 MG(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(Z_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 K_e(e){let t=bD();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[r,o]of t.styles)MG(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 Y_e(e,t){let r=bD();r.styles.set(e,t);for(let o of r.documents.keys())MG(o,e,t)}typeof process>"u",Y_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 Q_e={"visually-hidden":"f37b9e2e191ebd66__visually-hidden"},gi=(0,AG.forwardRef)(function({render:t,...r},o){return Mh({render:t,ref:o,props:Zl({className:Q_e["visually-hidden"]},r,{"data-visually-hidden":""})})});var zG=n(H(),1),VG=n(N(),1),Vh=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"&&J_e(document)),e.__wpStyleRuntime}function X_e(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 OG(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(X_e(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 J_e(e){let t=_D();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[r,o]of t.styles)OG(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 Y5(e,t){let r=_D();r.styles.set(e,t);for(let o of r.documents.keys())OG(o,e,t)}typeof process>"u",Y5("10f3806643","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}");var exe={"box-sizing":"_336cd3e4e743482f__box-sizing"};typeof process>"u",Y5("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 txe={"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",Y5("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 K5={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",Y5("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 rxe={button:"_6defc79820e382c6__button",input:"d2cff2e5dea83bd1__input",textarea:"_547d86373d02e108__textarea",div:"_8c15fd0ed9f28ba4__div",p:"_43cec3e1eec1066d__p",heading:"e97669c6d9a38497__heading",a:"_2c0831b0499dbd6e__a"},cu=(0,zG.forwardRef)(function({children:t,variant:r="default",tone:o="brand",openInNewTab:a=!1,render:i,className:l,...s},c){return Mh({render:i,defaultTagName:"a",ref:c,props:Zl(s,{className:S(rxe.a,exe["box-sizing"],txe["outset-ring--focus-except-active"],r!=="unstyled"&&K5.link,r!=="unstyled"&&K5[`is-${o}`],r==="unstyled"&&K5["is-unstyled"],l),target:a?"_blank":void 0,children:(0,Vh.jsxs)(Vh.Fragment,{children:[t,a&&(0,Vh.jsx)("span",{className:K5["link-icon"],role:"img","aria-label":(0,VG.__)("(opens in a new tab)")})]})})})});var Cp={};K(Cp,{List:()=>UG,Panel:()=>QG,Root:()=>JG,Tab:()=>rW});var _d=n(H(),1);var HG=n(ve(),1),Q5=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"&&nxe(document)),e.__wpStyleRuntime}function oxe(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 jG(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(oxe(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 nxe(e){let t=kD();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[r,o]of t.styles)jG(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 axe(e,t){let r=kD();r.styles.set(e,t);for(let o of r.documents.keys())jG(o,e,t)}typeof process>"u",axe("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 ub={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"},FG=1,UG=(0,_d.forwardRef)(function({children:t,variant:r="default",className:o,activateOnFocus:a,...i},l){let[s,c]=(0,_d.useState)(null),[u,p]=(0,_d.useState)({first:!1,last:!1,isScrolling:!1});(0,_d.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>FG,last:P<w-FG,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,HG.useMergeRefs)([l,d=>c(d)]);return(0,Q5.jsxs)(Ql.List,{ref:m,activateOnFocus:a,"data-select-on-move":a?"true":"false",className:S(ub.tablist,u.first&&ub["is-overflowing-first"],u.last&&ub["is-overflowing-last"],ub[`is-${r}-variant`],o),...i,tabIndex:i.tabIndex??(u.isScrolling?-1:void 0),children:[t,(0,Q5.jsx)(Ql.Indicator,{className:ub.indicator})]})});var qG=n(H(),1);var Bn=n(H(),1);var pb=n(y(),1),X5=!1,wD=X5?(0,Bn.createContext)(null):null;function ixe(){let e=(0,Bn.useContext)(wD);(0,Bn.useEffect)(()=>{if(e)return e.registerTab()},[e])}function lxe(){}var GG=X5?ixe:lxe;function sxe(){let e=(0,Bn.useContext)(wD);(0,Bn.useEffect)(()=>{if(e)return e.registerPanel()},[e])}function cxe(){}var WG=X5?sxe:cxe;function uxe({children:e}){let t=(0,Bn.useRef)(0),r=(0,Bn.useRef)(0),o=RG(()=>{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,Bn.useCallback)(()=>(t.current+=1,o(),()=>{t.current-=1,o()}),[o]),i=(0,Bn.useCallback)(()=>(r.current+=1,o(),()=>{r.current-=1,o()}),[o]),l=(0,Bn.useMemo)(()=>({registerTab:a,registerPanel:i}),[a,i]);return(0,pb.jsx)(wD.Provider,{value:l,children:e})}function pxe({children:e}){return(0,pb.jsx)(pb.Fragment,{children:e})}var $G=X5?uxe:pxe;var YG=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"&&dxe(document)),e.__wpStyleRuntime}function mxe(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 ZG(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(mxe(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 dxe(e){let t=SD();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 KG(e,t){let r=SD();r.styles.set(e,t);for(let o of r.documents.keys())ZG(o,e,t)}typeof process>"u",KG("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 fxe={button:"_6defc79820e382c6__button",input:"d2cff2e5dea83bd1__input",textarea:"_547d86373d02e108__textarea",div:"_8c15fd0ed9f28ba4__div",p:"_43cec3e1eec1066d__p",heading:"e97669c6d9a38497__heading",a:"_2c0831b0499dbd6e__a"};typeof process>"u",KG("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 hxe={"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"},QG=(0,qG.forwardRef)(function({className:t,...r},o){return WG(),(0,YG.jsx)(Ql.Panel,{ref:o,className:S(fxe.div,hxe["outset-ring--focus-visible"],t),...r})});var XG=n(H(),1);var TD=n(y(),1),JG=(0,XG.forwardRef)(function({...t},r){return(0,TD.jsx)($G,{children:(0,TD.jsx)(Ql.Root,{ref:r,...t})})});var eW=n(H(),1);var mb=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"&&vxe(document)),e.__wpStyleRuntime}function gxe(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 tW(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(gxe(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 vxe(e){let t=BD();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[r,o]of t.styles)tW(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 bxe(e,t){let r=BD();r.styles.set(e,t);for(let o of r.documents.keys())tW(o,e,t)}typeof process>"u",bxe("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"},rW=(0,eW.forwardRef)(function({className:t,children:r,...o},a){return GG(),(0,mb.jsxs)(Ql.Tab,{ref:a,className:S(PD.tab,t),...o,children:[(0,mb.jsx)("span",{className:PD["tab-children"],children:r}),(0,mb.jsx)(fD,{icon:gh,className:PD["tab-chevron"]})]})});var J5="noopener",ew="_blank",Oh="nofollow";var oW=n(ir(),1);function nW({rel:e="",url:t="",opensInNewTab:r,nofollow:o}){let a,i=e;if(r)a=ew,i=i?.includes(J5)?i:i+` ${J5}`;else{let l=new RegExp(`\\b${J5}\\s*`,"g");i=i?.replace(l,"").trim()}if(o)i=i?.includes(Oh)?i:(i+` ${Oh}`).trim();else{let l=new RegExp(`\\b${Oh}\\s*`,"g");i=i?.replace(l,"").trim()}return{url:(0,oW.prependHTTPS)(t),linkTarget:a,rel:i||void 0}}function db(e){return e.toString().replace(/<\/?a[^>]*>/g,"")}var iW=n(ve(),1),tw=n(H(),1),lW=n(xd(),1),sW=n(F(),1),cW=n(E(),1);function Ct(e){let{name:t,attributes:r,setAttributes:o}=e,{textAlign:a}=r,{__unstableMarkNextChangeAsNotPersistent:i}=(0,sW.useDispatch)(cW.store),l=(0,iW.useEvent)(()=>{(0,lW.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,tw.useRef)();(0,tw.useEffect)(()=>{a!==s.current&&(s.current=a,l())},[a,l])}function ND(e){return typeof e=="string"&&e.endsWith("%")}function uW(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 Nn=n(y(),1),{HTMLElementControl:yxe}=U(pt.privateApis),{subscribeDelegatedListener:_xe}=U(kd.privateApis),xxe=[...pt.LinkControl.DEFAULT_LINK_SETTINGS,{id:"nofollow",title:(0,ul.__)("Mark as nofollow")}];function kxe(e){let{replaceBlocks:t,selectionChange:r}=(0,fb.useDispatch)(pt.store),{getBlock:o,getBlockAttributes:a,getBlockRootClientId:i,getBlockIndex:l}=(0,fb.useSelect)(pt.store);return(0,kd.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,uu.cloneBlock)({...m,innerBlocks:m.innerBlocks.slice(0,d)}),h=(0,uu.createBlock)((0,uu.getDefaultBlockName)()),g=m.innerBlocks.slice(d+1),v=g.length?[(0,uu.cloneBlock)({...m,innerBlocks:g})]:[];t(m.clientId,[f,h,...v],1),r(h.clientId)}return _xe(s,"keydown",c,!0)},[])}function wxe(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(fe){Sp.isKeyboardEvent.primary(fe,"k")?ce(fe):Sp.isKeyboardEvent.primaryShift(fe,"k")&&(ie(),L.current?.focus())}let[x,w]=(0,In.useState)(null),C=(0,pt.__experimentalUseBorderProps)(t),P=(0,pt.__experimentalUseColorProps)(t),B=(0,pt.__experimentalGetSpacingClassesAndStyles)(t),I=(0,pt.__experimentalGetShadowClassesAndStyles)(t),D=(0,pt.__experimentalGetDimensionsClassesAndStyles)(t),T=(0,In.useRef)(),L=(0,In.useRef)(),A=(0,pt.useBlockProps)({ref:(0,kd.useMergeRefs)([w,T]),onKeyDown:k}),z=(0,pt.useBlockEditingMode)(),[j,G]=(0,In.useState)(!1),W=!!g,$=p===ew,V=!!d?.includes(Oh),Q=_==="a",{createPageEntity:Y,userCanCreatePages:ee,lockUrlControls:te=!1}=(0,fb.useSelect)(fe=>{if(!a)return{};let Ae=fe(pt.store).getSettings(),Ft=(0,uu.getBlockBindingsSource)(v?.bindings?.url?.source);return{createPageEntity:Ae.__experimentalCreatePageEntity,userCanCreatePages:Ae.__experimentalUserCanCreatePages,lockUrlControls:!!v?.bindings?.url&&!Ft?.canUserEditValue?.({select:fe,context:c,args:v?.bindings?.url?.args})}},[c,a,v?.bindings?.url]);async function ae(fe){let Ae=await Y({title:fe,status:"draft"});return{id:Ae.id,type:Ae.type,title:Ae.title.rendered,url:Ae.link,kind:"post-type"}}function J(fe){return(0,In.createInterpolateElement)((0,ul.sprintf)((0,ul.__)("Create page: <mark>%s</mark>"),fe),{mark:(0,Nn.jsx)("mark",{})})}function ce(fe){fe.preventDefault(),G(!0)}function ie(){r({url:void 0,linkTarget:void 0,rel:void 0}),G(!1)}(0,In.useEffect)(()=>{a||G(!1)},[a]);let we=(0,In.useMemo)(()=>({url:g,opensInNewTab:$,nofollow:V}),[g,$,V]),se=kxe(s),de=(0,kd.useMergeRefs)([se,L]),[ge,oe,me]=(0,pt.useSettings)("typography.fluid","layout","dimensions.dimensionSizes"),le=(0,In.useMemo)(()=>me?[...me?.custom??[],...me?.theme??[],...me?.default??[]]:[],[me]),Pe=(0,pt.getTypographyClassesAndStyles)(t,{typography:{fluid:ge},layout:{wideSize:oe?.wideSize}}),Ee=(0,In.useMemo)(()=>{if(!b)return;let fe="var:preset|dimension|";if(b.startsWith(fe)){let Ae=b.slice(fe.length);return le?.find(ze=>ze.slug===Ae)?.size??b}return b},[b,le]),Ce=z==="default"||Q&&!te,pe=S(A.className,uW(Ee)),$e=(0,In.useMemo)(()=>b?ND(Ee)?{"--wp--block-button--width":parseFloat(Ee)}:D.style:{},[b,Ee,D.style]);return(0,Nn.jsxs)(Nn.Fragment,{children:[(0,Nn.jsx)("div",{...A,className:pe,style:{...A.style,...$e},children:(0,Nn.jsx)(pt.RichText,{ref:de,"aria-label":(0,ul.__)("Button text"),placeholder:m||(0,ul.__)("Add text\u2026"),value:h,onChange:fe=>r({text:db(fe)}),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":A.style.fontSize},(0,pt.__experimentalGetElementClassName)("button")),style:{...C.style,...P.style,...B.style,...I.style,...Pe.style,writingMode:void 0},onReplace:i,onMerge:l,identifier:"text"})}),Ce&&(0,Nn.jsx)(pt.BlockControls,{group:"block",children:Q&&!te&&(0,Nn.jsx)(Fh.ToolbarButton,{name:"link",icon:W?uv:di,title:W?(0,ul.__)("Unlink"):(0,ul.__)("Link"),shortcut:W?Sp.displayShortcut.primaryShift("k"):Sp.displayShortcut.primary("k"),onClick:W?ie:ce,isActive:W})}),Q&&a&&(j||W)&&!te&&(0,Nn.jsx)(Fh.Popover,{placement:"bottom",onClose:()=>{G(!1),L.current?.focus()},anchor:x,focusOnMount:j?"firstElement":!1,__unstableSlotName:"__unstable-block-tools-after",shift:!0,children:(0,Nn.jsx)(pt.LinkControl,{value:we,onChange:({url:fe,opensInNewTab:Ae,nofollow:Ft})=>r(nW({rel:d,url:fe,opensInNewTab:Ae,nofollow:Ft})),onRemove:()=>{ie(),L.current?.focus()},forceIsEditingLink:j,settings:xxe,createSuggestion:Y&&ae,withCreateSuggestion:ee,createSuggestionButtonText:J})}),(0,Nn.jsxs)(pt.InspectorControls,{group:"advanced",children:[(0,Nn.jsx)(yxe,{tagName:u,onChange:fe=>r({tagName:fe}),options:[{label:(0,ul.__)("Default (<a>)"),value:"a"},{label:"<button>",value:"button"}]}),Q&&(0,Nn.jsx)(Fh.TextControl,{label:(0,ul.__)("Link relation"),help:(0,In.createInterpolateElement)((0,ul.__)("The <a>Link Relation</a> attribute defines the relationship between a linked resource and the current document."),{a:(0,Nn.jsx)(cu,{openInNewTab:!0,href:"https://developer.mozilla.org/docs/Web/HTML/Attributes/rel"})}),value:d||"",onChange:fe=>r({rel:fe})})]})]})}var pW=wxe;var rw={$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 Dn=n(E(),1),ID=n(y(),1);function mW({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,Dn.__experimentalGetBorderClassesAndStyles)(e),h=(0,Dn.__experimentalGetColorClassesAndStyles)(e),g=(0,Dn.__experimentalGetSpacingClassesAndStyles)(e),v=(0,Dn.__experimentalGetShadowClassesAndStyles)(e),b=(0,Dn.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,Dn.__experimentalGetElementClassName)("button")),k={...f.style,...h.style,...g.style,...v.style,...b.style,writingMode:void 0};return(0,ID.jsx)("div",{...Dn.useBlockProps.save(),children:(0,ID.jsx)(Dn.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:Sxe,formKey:Txe}=U(dW.privateApis),{name:fW}=rw,nw={icon:lP,example:{attributes:{className:"is-style-fill",text:(0,ow.__)("Call to action")}},edit:pW,save:mW,deprecated:mU,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&&(nw[Sxe]=[{id:"text",label:(0,ow.__)("Content"),type:"text",Edit:"rich-text"},{id:"link",label:(0,ow.__)("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})}],nw[Txe]={fields:["text","link"]});var Pxe=()=>R({name:fW,metadata:rw,settings:nw});var AD={};K(AD,{init:()=>Lxe,metadata:()=>iw,name:()=>wW,settings:()=>CW});var RD=n(N(),1);var gb=n(E(),1),hb=n(y(),1),hW=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},Exe=[{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:hW,save({attributes:{contentJustification:e,orientation:t}}){return(0,hb.jsx)("div",{...gb.useBlockProps.save({className:S({[`is-content-justification-${e}`]:e,"is-vertical":t==="vertical"})}),children:(0,hb.jsx)(gb.InnerBlocks.Content,{})})}},{supports:{align:["center","left","right"],anchor:!0},save(){return(0,hb.jsx)("div",{children:(0,hb.jsx)(gb.InnerBlocks.Content,{})})},isEligible({align:e}){return e&&["center","left","right"].includes(e)},migrate(e){return hW({...e,align:void 0,contentJustification:e.align})}}],gW=Exe;var bb=n(q(),1),LD=n(Xl(),1);var vb=n(q(),1);function pu(e,t,r=null){if(!e)return;let o=(0,vb.getBlockType)(t);if(!o)return;let a={};if((0,vb.hasBlockSupport)(o,"anchor")&&e.anchor&&(a.anchor=e.anchor),(0,vb.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 Bxe={from:[{type:"block",isMultiBlock:!0,blocks:["core/button"],transform:e=>(0,bb.createBlock)("core/buttons",{},e.map(t=>(0,bb.createBlock)("core/button",t)))},{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>(0,bb.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,bb.createBlock)("core/button",{...t,...pu(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})}]},bW=Bxe;var aw=n(E(),1),yW=n(y(),1),Nxe={name:"core/button",attributesToCopy:["backgroundColor","border","className","fontFamily","fontSize","gradient","style","textColor","width"]};function Ixe({attributes:e,className:t}){let{fontSize:r,layout:o,style:a}=e,i=(0,aw.useBlockProps)({className:S(t,{"has-custom-font-size":r||a?.typography?.fontSize})}),l=(0,aw.useInnerBlocksProps)(i,{defaultBlock:Nxe,template:[["core/button"]],templateInsertUpdatesSelection:!0,orientation:o?.orientation??"horizontal"});return(0,yW.jsx)("div",{...l})}var _W=Ixe;var iw={$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 lw=n(E(),1),xW=n(y(),1);function kW({attributes:e,className:t}){let{fontSize:r,style:o}=e,a=lw.useBlockProps.save({className:S(t,{"has-custom-font-size":r||o?.typography?.fontSize})}),i=lw.useInnerBlocksProps.save(a);return(0,xW.jsx)("div",{...i})}var{name:wW}=iw,CW={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:gW,transforms:bW,edit:_W,save:kW},Lxe=()=>R({name:wW,metadata:iw,settings:CW});var zD={};K(zD,{init:()=>zxe,metadata:()=>sw,name:()=>DW,settings:()=>LW});var sw={$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 yb=n(O(),1),SW=n(F(),1),TW=n(lp(),1),PW=n(E(),1),EW=n(re(),1),Hh=n(N(),1),BW=n(ve(),1);var vi=n(y(),1),Axe=Sh(e=>{if(!e)return{};let t=new Date(e);return{year:t.getFullYear(),month:t.getMonth()+1}});function NW({attributes:e,name:t}){let{date:r,hasPosts:o,hasPostsResolved:a}=(0,SW.useSelect)(p=>{let{getEntityRecords:m,hasFinishedResolution:d}=p(EW.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,TW.useServerSideRender)({attributes:{...e,...Axe(r)},block:t}),c=(0,BW.useDisabled)(),u=(0,PW.useBlockProps)({ref:c});return o?(0,vi.jsxs)(vi.Fragment,{children:[l==="loading"&&(0,vi.jsx)("div",{...u,children:(0,vi.jsx)(yb.Spinner,{})}),l==="error"&&(0,vi.jsx)("div",{...u,children:(0,vi.jsx)("p",{children:(0,Hh.sprintf)((0,Hh.__)("Error: %s"),s)})}),l==="success"&&(0,vi.jsx)(xo,{wrapperProps:u,html:i})]}):(0,vi.jsx)("div",{...u,children:(0,vi.jsx)(yb.Placeholder,{icon:$1,label:(0,Hh.__)("Calendar"),children:a?(0,Hh.__)("No published posts found."):(0,vi.jsx)(yb.Spinner,{})})})}var MD=n(q(),1),Mxe={from:[{type:"block",blocks:["core/archives"],transform:()=>(0,MD.createBlock)("core/calendar")}],to:[{type:"block",blocks:["core/archives"],transform:()=>(0,MD.createBlock)("core/archives")}]},IW=Mxe;var{name:DW}=sw,LW={icon:$1,example:{},edit:NW,transforms:IW},zxe=()=>R({name:DW,metadata:sw,settings:LW});var FD={};K(FD,{init:()=>Fxe,metadata:()=>cw,name:()=>OW,settings:()=>FW});var cw={$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),RW=n(ve(),1),jh=n(E(),1),AW=n(en(),1),Tr=n(N(),1);var VD=n(re(),1),MW=n(F(),1);var zW=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,RW.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,MW.useDispatch)(zW.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,AW.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)(jh.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))]},A=_?.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,jh.useBlockProps)({className:z}),G=Z();return(0,vt.jsxs)(A,{...j,children:[(0,vt.jsx)(jh.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:vv,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 uw=n(N(),1);var Oxe=[{name:"terms",title:(0,uw.__)("Terms List"),icon:up,attributes:{taxonomy:"post_tag"},isActive:e=>e.taxonomy!=="category"},{name:"categories",title:(0,uw.__)("Categories List"),description:(0,uw.__)("Display a list of all categories."),icon:up,attributes:{taxonomy:"category"},isActive:["taxonomy"],isDefault:!0}],VW=Oxe;var{name:OW}=cw,FW={icon:up,example:{},edit:OD,variations:VW},Fxe=()=>R({name:OW,metadata:cw,settings:FW});var jD={};K(jD,{init:()=>Wxe,metadata:()=>fw,name:()=>xb,settings:()=>e$});var mu=n(E(),1),KW=n(F(),1),du=n(O(),1),Gh=n(H(),1),_b=n(N(),1);var HW=n(N(),1),jW=n(O(),1),pw=n(F(),1),mw=n(q(),1),HD=n(E(),1),UW=n(y(),1),Hxe=({clientId:e})=>{let{replaceBlocks:t}=(0,pw.useDispatch)(HD.store),r=(0,pw.useSelect)(o=>o(HD.store).getBlock(e),[e]);return(0,UW.jsx)(jW.ToolbarButton,{onClick:()=>t(r.clientId,(0,mw.rawHandler)({HTML:(0,mw.serialize)(r)})),children:(0,HW.__)("Convert to blocks")})},GW=Hxe;var WW=n(E(),1),Jl=n(O(),1),dw=n(H(),1),Uh=n(N(),1),$W=n(F(),1);var qW=n(ve(),1),pl=n(y(),1);function jxe({onClick:e,isModalFullScreen:t}){return(0,qW.useViewportMatch)("small","<")?null:(0,pl.jsx)(Jl.Button,{size:"compact",onClick:e,icon:Jm,isPressed:t,label:t?(0,Uh.__)("Exit fullscreen"):(0,Uh.__)("Enter fullscreen")})}function Uxe(e){let t=(0,$W.useSelect)(r=>r(WW.store).getSettings().styles);return(0,dw.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,pl.jsx)("textarea",{...e})}function ZW({clientId:e,content:t,onClose:r,onChange:o}){let[a,i]=(0,dw.useState)(!1),l=`editor-${e}`;return(0,pl.jsxs)(Jl.Modal,{title:(0,Uh.__)("Classic Editor"),onRequestClose:r,shouldCloseOnClickOutside:!1,overlayClassName:"block-editor-freeform-modal",isFullScreen:a,className:"block-editor-freeform-modal__content",headerActions:(0,pl.jsx)(jxe,{onClick:()=>i(!a),isModalFullScreen:a}),children:[(0,pl.jsx)(Uxe,{id:l,defaultValue:t}),(0,pl.jsxs)(Jl.Flex,{className:"block-editor-freeform-modal__actions",justify:"flex-end",expanded:!1,children:[(0,pl.jsx)(Jl.FlexItem,{children:(0,pl.jsx)(Jl.Button,{__next40pxDefaultSize:!0,variant:"tertiary",onClick:r,children:(0,Uh.__)("Cancel")})}),(0,pl.jsx)(Jl.FlexItem,{children:(0,pl.jsx)(Jl.Button,{__next40pxDefaultSize:!0,variant:"primary",onClick:()=>{o(window.wp.oldEditor.getContent(l)),r()},children:(0,Uh.__)("Save")})})]})]})}var rn=n(y(),1);function YW({attributes:e,setAttributes:t,clientId:r}){let{content:o}=e,[a,i]=(0,Gh.useState)(!1),l=(0,Gh.useRef)(null),s=(0,KW.useSelect)(c=>c(mu.store).canRemoveBlock(r),[r]);return(0,rn.jsxs)(rn.Fragment,{children:[s&&(0,rn.jsx)(mu.BlockControls,{children:(0,rn.jsx)(du.ToolbarGroup,{children:(0,rn.jsx)(GW,{clientId:r})})}),(0,rn.jsx)(mu.BlockControls,{children:(0,rn.jsx)(du.ToolbarGroup,{children:(0,rn.jsx)(du.ToolbarButton,{ref:l,onClick:()=>i(!0),children:(0,_b.__)("Edit")})})}),(0,rn.jsxs)("div",{...(0,mu.useBlockProps)(),children:[o?(0,rn.jsx)(Gh.RawHTML,{children:o}):(0,rn.jsx)(du.Placeholder,{icon:(0,rn.jsx)(mu.BlockIcon,{icon:Z1}),label:(0,_b.__)("Classic"),instructions:(0,_b.__)("Use the classic editor to add content."),children:(0,rn.jsx)(du.Button,{__next40pxDefaultSize:!0,variant:"primary",onClick:()=>i(!0),children:(0,_b.__)("Edit contents")})}),a&&(0,rn.jsx)(ZW,{clientId:r,content:o,onClose:()=>{i(!1),l.current&&l.current.focus()},onChange:c=>t({content:c})})]})]})}var fw={$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 QW=n(H(),1),XW=n(y(),1);function JW({attributes:e}){let{content:t}=e;return(0,XW.jsx)(QW.RawHTML,{children:t})}var{name:xb}=fw,e$={icon:Z1,edit:YW,save:JW},Wxe=()=>R({name:xb,metadata:fw,settings:e$});var qD={};K(qD,{init:()=>Xxe,metadata:()=>vw,name:()=>l$,settings:()=>_w});var $D=n(N(),1);var i$=n(q(),1);var UD=n(N(),1),hw=n(E(),1),gw=n(q(),1),GD=n(y(),1);function t$({attributes:e,setAttributes:t,onRemove:r,insertBlocksAfter:o,mergeBlocks:a}){let i=(0,hw.useBlockProps)();return(0,GD.jsx)("pre",{...i,children:(0,GD.jsx)(hw.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,gw.createBlock)((0,gw.getDefaultBlockName)())):void 0,style:{whiteSpace:"break-spaces"}})})}var vw={$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 bw=n(E(),1);var r$=n(ve(),1);function o$(e){return(0,r$.pipe)(qxe,Zxe)(e||"")}function qxe(e){return e.replace(/\[/g,"&#91;")}function Zxe(e){return e.replace(/^(\s*https?:)\/\/([^\s<>"]+\s*)$/m,"$1&#47;&#47;$2")}var WD=n(y(),1);function n$({attributes:e}){return(0,WD.jsx)("pre",{...bw.useBlockProps.save(),children:(0,WD.jsx)(bw.RichText.Content,{tagName:"code",value:o$(typeof e.content=="string"?e.content:e.content.toHTMLString({preserveWhiteSpace:!0}))})})}var wd=n(q(),1),yw=n(Xl(),1);var Kxe={from:[{type:"input",regExp:/^```$/,transform:()=>(0,wd.createBlock)("core/code")},{type:"block",blocks:["core/paragraph"],transform:e=>{let{content:t}=e;return(0,wd.createBlock)("core/code",{...e,...pu(e,"core/code"),content:t})}},{type:"block",blocks:["core/html"],__experimentalConvert(e){let{attributes:t}=e;return(0,wd.createBlock)("core/code",{...t,...pu(t,"core/code"),content:(0,yw.toHTMLString)({value:(0,yw.create)({text:(0,wd.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,wd.createBlock)("core/paragraph",{...pu(e,"core/paragraph"),content:t})}}]},a$=Kxe;var{fieldsKey:Yxe,formKey:Qxe}=U(i$.privateApis),{name:l$}=vw,_w={icon:K1,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:a$,edit:t$,save:n$};window.__experimentalContentOnlyInspectorFields&&(_w[Yxe]=[{id:"content",label:(0,$D.__)("Code"),type:"text",Edit:"rich-text"}],_w[Qxe]={fields:["content"]});var Xxe=()=>R({name:l$,metadata:vw,settings:_w});var KD={};K(KD,{init:()=>oke,metadata:()=>kw,name:()=>d$,settings:()=>f$});var s$=n(E(),1),ZD=n(y(),1),Jxe=[{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)(s$.InnerBlocks.Content,{})})}}],c$=Jxe;var on=n(E(),1),Tp=n(O(),1),xw=n(F(),1),Cd=n(N(),1);var bi=n(y(),1);function eke({width:e,setAttributes:t}){let[r]=(0,on.useSettings)("spacing.units"),o=(0,Tp.__experimentalUseCustomUnits)({availableUnits:r||["%","px","em","rem","vw"]}),a=Z();return(0,bi.jsx)(Tp.__experimentalToolsPanel,{label:(0,Cd.__)("Settings"),resetAll:()=>{t({width:void 0})},dropdownMenuProps:a,children:(0,bi.jsx)(Tp.__experimentalToolsPanelItem,{hasValue:()=>e!==void 0,label:(0,Cd.__)("Width"),onDeselect:()=>t({width:void 0}),isShownByDefault:!0,children:(0,bi.jsx)(Tp.__experimentalUnitControl,{label:(0,Cd.__)("Width"),__unstableInputWidth:"calc(50% - 8px)",value:e||"",onChange:i=>{i=0>parseFloat(i)?"0":i,t({width:i})},units:o})})})}function tke({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,xw.useSelect)(_=>{let{getBlockOrder:k,getBlockRootClientId:x}=_(on.store),w=x(i);return{hasChildBlocks:k(i).length>0,rootClientId:w,columnsIds:k(w)}},[i]),{updateBlockAttributes:p}=(0,xw.useDispatch)(on.store),m=_=>{a({verticalAlignment:_}),p(u,{verticalAlignment:null})},d=Number.isFinite(t)?t+"%":t,f=(0,on.useBlockProps)({className:l,style:d?{flexBasis:d}:void 0}),h=s.length,g=s.indexOf(i)+1,v=(0,Cd.sprintf)((0,Cd.__)("%1$s (%2$d of %3$d)"),f["aria-label"],g,h),b=(0,on.useInnerBlocksProps)({...f,"aria-label":v},{templateLock:r,allowedBlocks:o,renderAppender:c?void 0:on.InnerBlocks.ButtonBlockAppender});return(0,bi.jsxs)(bi.Fragment,{children:[(0,bi.jsx)(on.BlockControls,{children:(0,bi.jsx)(on.BlockVerticalAlignmentToolbar,{onChange:m,value:e,controls:["top","center","bottom","stretch"]})}),(0,bi.jsx)(on.InspectorControls,{children:(0,bi.jsx)(eke,{width:t,setAttributes:a})}),(0,bi.jsx)("div",{...b})]})}var u$=tke;var kw={$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 ww=n(E(),1),p$=n(y(),1);function m$({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=ww.useBlockProps.save({className:o,style:a}),l=ww.useInnerBlocksProps.save(i);return(0,p$.jsx)("div",{...l})}var{name:d$}=kw,f$={icon:PP,edit:u$,save:m$,deprecated:c$},oke=()=>R({name:d$,metadata:kw,settings:f$});var XD={};K(XD,{init:()=>bke,metadata:()=>Tw,name:()=>C$,settings:()=>S$});var kb=n(N(),1);var h$=n(q(),1),Td=n(E(),1),Sd=n(y(),1);function Cw(e){let{doc:t}=Cw;t||(t=document.implementation.createHTMLDocument(""),Cw.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 nke=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}},g$=[{attributes:{verticalAlignment:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},textColor:{type:"string"}},migrate:nke,save({attributes:e}){let{verticalAlignment:t,backgroundColor:r,customBackgroundColor:o,textColor:a,customTextColor:i}=e,l=(0,Td.getColorClassName)("background-color",r),s=(0,Td.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,Sd.jsx)("div",{className:c||void 0,style:{backgroundColor:l?void 0:o,color:s?void 0:i},children:(0,Sd.jsx)(Td.InnerBlocks.Content,{})})}},{attributes:{columns:{type:"number",default:2}},isEligible(e,t){return t.some(o=>/layout-column-\d+/.test(o.originalContent))?t.some(o=>Cw(o.originalContent)!==void 0):!1},migrate(e,t){let o=t.reduce((l,s)=>{let{originalContent:c}=s,u=Cw(c);return u===void 0&&(u=0),l[u]||(l[u]=[]),l[u].push(s),l},[]).map(l=>(0,h$.createBlock)("core/column",{},l)),{columns:a,...i}=e;return[{...i,isStackedOnMobile:!0},o]},save({attributes:e}){let{columns:t}=e;return(0,Sd.jsx)("div",{className:`has-${t}-columns`,children:(0,Sd.jsx)(Td.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,Sd.jsx)("div",{className:o,children:(0,Sd.jsx)(Td.InnerBlocks.Content,{})})}}];var Pd=n(N(),1),dl=n(O(),1),Zr=n(E(),1),ml=n(F(),1),Ed=n(q(),1);var Sw=e=>{let t=parseFloat(e);return Number.isFinite(t)?parseFloat(t.toFixed(2)):void 0};function v$(e,t){let{width:r=100/t}=e.attributes;return Sw(r)}function ake(e,t=e.length){return e.reduce((r,o)=>r+v$(o,t),0)}function ike(e,t=e.length){return e.reduce((r,o)=>{let a=v$(o,t);return Object.assign(r,{[o.clientId]:a})},{})}function YD(e,t,r=e.length){let o=ake(e,r);return Object.fromEntries(Object.entries(ike(e,r)).map(([a,i])=>{let l=t*i/o;return[a,Sw(l)]}))}function b$(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),lke={name:"core/column"};function ske({clientId:e,setAttributes:t,isStackedOnMobile:r}){let{count:o,canInsertColumnBlock:a,minCount:i}=(0,ml.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,ml.useSelect)(Zr.store),{replaceInnerBlocks:s}=(0,ml.useDispatch)(Zr.store);function c(p,m){let d=l(e),f=b$(d),h=m>p;if(h&&f){let g=Sw(100/m),v=m-p,b=YD(d,100-g*v);d=[...QD(d,b),...Array.from({length:v}).map(()=>(0,Ed.createBlock)("core/column",{width:`${g}%`}))]}else if(h)d=[...d,...Array.from({length:m-p}).map(()=>(0,Ed.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)(dl.__experimentalToolsPanel,{label:(0,Pd.__)("Settings"),resetAll:()=>{t({isStackedOnMobile:!0})},dropdownMenuProps:u,children:[a&&(0,ko.jsxs)(dl.__experimentalVStack,{spacing:4,style:{gridColumn:"1 / -1"},children:[(0,ko.jsx)(dl.RangeControl,{label:(0,Pd.__)("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)(dl.Notice,{status:"warning",isDismissible:!1,children:(0,Pd.__)("This column count exceeds the recommended amount and may cause visual breakage.")})]}),(0,ko.jsx)(dl.__experimentalToolsPanelItem,{label:(0,Pd.__)("Stack on mobile"),isShownByDefault:!0,hasValue:()=>r!==!0,onDeselect:()=>t({isStackedOnMobile:!0}),children:(0,ko.jsx)(dl.ToggleControl,{label:(0,Pd.__)("Stack on mobile"),checked:r,onChange:()=>t({isStackedOnMobile:!r})})})]})}function cke({attributes:e,setAttributes:t,clientId:r}){let{isStackedOnMobile:o,verticalAlignment:a,templateLock:i}=e,l=(0,ml.useRegistry)(),{getBlockOrder:s}=(0,ml.useSelect)(Zr.store),{updateBlockAttributes:c}=(0,ml.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:lke,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)(ske,{clientId:r,setAttributes:t,isStackedOnMobile:o})}),(0,ko.jsx)("div",{...m})]})}function uke({clientId:e,name:t,setAttributes:r}){let{blockType:o,variations:a}=(0,ml.useSelect)(s=>{let{getBlockVariations:c,getBlockType:u}=s(Ed.store);return{blockType:u(t),variations:c(t,"block")}},[t]),{replaceInnerBlocks:i}=(0,ml.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,Pd.__)("Divide into columns. Select a layout:"),onSelect:s=>{s.attributes&&r(s.attributes),s.innerBlocks&&i(e,(0,Ed.createBlocksFromInnerBlocksTemplate)(s.innerBlocks),!0)}})})}var pke=e=>{let{clientId:t}=e,o=(0,ml.useSelect)(a=>a(Zr.store).getBlocks(t).length>0,[t])?cke:uke;return(0,ko.jsx)(o,{...e})},y$=pke;var Tw={$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 Pw=n(E(),1),_$=n(y(),1);function x$({attributes:e}){let{isStackedOnMobile:t,verticalAlignment:r}=e,o=S({[`are-vertically-aligned-${r}`]:r,"is-not-stacked-on-mobile":!t}),a=Pw.useBlockProps.save({className:o}),i=Pw.useInnerBlocksProps.save(a);return(0,_$.jsx)("div",{...i})}var Ha=n(O(),1),yi=n(N(),1),_i=n(y(),1),dke=[{name:"one-column-full",title:(0,yi.__)("100"),description:(0,yi.__)("One column"),icon:(0,_i.jsx)(Ha.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,_i.jsx)(Ha.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)(Ha.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,_i.jsx)(Ha.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)(Ha.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,_i.jsx)(Ha.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)(Ha.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,_i.jsx)(Ha.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)(Ha.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,_i.jsx)(Ha.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)(Ha.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,_i.jsx)(Ha.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"]}],k$=dke;var Js=n(q(),1),fke=6,hke=(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,Js.createBlocksFromInnerBlocksTemplate)(o)},gke=e=>e.flatMap(t=>{let r=t.innerBlocks||[];return r.length>1?[(0,Js.createBlock)("core/group",{layout:{type:"constrained"}},r)]:r}),vke={from:[{type:"block",blocks:["core/group"],priority:1,transform:(e,t)=>{let{layout:r,...o}=e,{columnCount:a}=r;return(0,Js.createBlock)("core/columns",o,hke(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,Js.createBlock)("core/columns",{},(0,Js.createBlocksFromInnerBlocksTemplate)(r))},isMatch:({length:e},t)=>t.length===1&&t[0].name==="core/columns"?!1:e&&e<=fke},{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,Js.createBlock)("core/columns",{align:r,backgroundColor:o,textColor:a,style:i,verticalAlignment:f},(0,Js.createBlocksFromInnerBlocksTemplate)(g))}}],to:[{type:"block",blocks:["core/group"],variationName:"group-grid",transform:(e,t)=>{let r=t.length;return(0,Js.createBlock)("core/group",{...e,isStackedOnMobile:void 0,verticalAlignment:void 0,layout:{type:"grid",...r&&{columnCount:r}}},gke(t))}}],ungroup:(e,t)=>t.flatMap(r=>r.innerBlocks)},w$=vke;var{name:C$}=Tw,S$={icon:BP,variations:k$,example:{viewportWidth:782,innerBlocks:[{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:(0,kb.__)("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,kb.__)("Suspendisse commodo neque lacus, a dictum orci interdum et.")}}]},{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:(0,kb.__)("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,kb.__)("Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.")}}]}]},deprecated:g$,edit:y$,save:x$,transforms:w$},bke=()=>R({name:C$,metadata:Tw,settings:S$});var rL={};K(rL,{init:()=>Cke,metadata:()=>Ew,name:()=>U$,settings:()=>G$});var Ew={$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 Bw=n(E(),1),JD=n(y(),1),_ke={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=Bw.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)(Bw.InnerBlocks.Content,{})})}},T$=[_ke];var Lw=n(E(),1);var P$=n(N(),1),wb=n(E(),1);var Nw=n(y(),1),{HTMLElementControl:xke}=U(wb.privateApis);function E$({attributes:{tagName:e},setAttributes:t}){return(0,Nw.jsx)(wb.InspectorControls,{children:(0,Nw.jsx)(wb.InspectorControls,{group:"advanced",children:(0,Nw.jsx)(xke,{tagName:e,onChange:r=>t({tagName:r}),options:[{label:(0,P$.__)("Default (<div>)"),value:"div"},{label:"<section>",value:"section"},{label:"<aside>",value:"aside"}]})})})}var Ep=n(E(),1),tL=n(N(),1),z$=n(O(),1);var D$=n(E(),1),ao=n(N(),1),L$=n(F(),1),R$=n(re(),1),A$=n(H(),1);var fl=n(N(),1),Pp=n(E(),1),B$=n(O(),1),N$=n(ve(),1),Iw=n(re(),1),eL=n(F(),1),ca=n(y(),1),I$=()=>{let e=(0,N$.useInstanceId)(I$);return(0,ca.jsxs)("div",{className:"comment-respond",children:[(0,ca.jsx)("h3",{className:"comment-reply-title",children:(0,fl.__)("Leave a Reply")}),(0,ca.jsxs)("form",{noValidate:!0,className:"comment-form",onSubmit:t=>t.preventDefault(),children:[(0,ca.jsxs)("p",{children:[(0,ca.jsx)("label",{htmlFor:`comment-${e}`,children:(0,fl.__)("Comment")}),(0,ca.jsx)("textarea",{id:`comment-${e}`,name:"comment",cols:"45",rows:"8",readOnly:!0})]}),(0,ca.jsx)("p",{className:"form-submit wp-block-button",children:(0,ca.jsx)("input",{name:"submit",type:"submit",className:S("wp-block-button__link",(0,Pp.__experimentalGetElementClassName)("button")),label:(0,fl.__)("Post Comment"),value:(0,fl.__)("Post Comment"),"aria-disabled":"true"})})]})]})},kke=({postId:e,postType:t})=>{let[r,o]=(0,Iw.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(Iw.store).getPostType(t)?.supports.comments:!1);if(!a&&r!=="open")if(r==="closed"){let s=[(0,ca.jsx)(B$.Button,{__next40pxDefaultSize:!0,onClick:()=>o("open"),variant:"primary",children:(0,fl._x)("Enable comments","action that affects the current post")},"enableComments")];return(0,ca.jsx)(Pp.Warning,{actions:s,children:(0,fl.__)("Post Comments Form block: Comments are not enabled for this item.")})}else if(l){if(i!=="open")return(0,ca.jsx)(Pp.Warning,{children:(0,fl.__)("Post Comments Form block: Comments are not enabled.")})}else return(0,ca.jsx)(Pp.Warning,{children:(0,fl.sprintf)((0,fl.__)("Post Comments Form block: Comments are not enabled for this post type (%s)."),t)});return(0,ca.jsx)(I$,{})},Dw=kke;var lt=n(y(),1);function M$({postType:e,postId:t}){let[r]=(0,R$.useEntityProp)("postType",e,"title",t);r=r||(0,ao.__)("Post Title");let o=(0,L$.useSelect)(a=>a(D$.store).getSettings().__experimentalDiscussionSettings?.avatarURL,[]);return(0,lt.jsxs)("div",{className:"wp-block-comments__legacy-placeholder",inert:"true",children:[(0,lt.jsx)("h3",{children:(0,ao.sprintf)((0,ao.__)("One response to %s"),r)}),(0,lt.jsxs)("div",{className:"navigation",children:[(0,lt.jsx)("div",{className:"alignleft",children:(0,lt.jsxs)("a",{href:"#top",children:["\xAB ",(0,ao.__)("Older Comments")]})}),(0,lt.jsx)("div",{className:"alignright",children:(0,lt.jsxs)("a",{href:"#top",children:[(0,ao.__)("Newer Comments")," \xBB"]})})]}),(0,lt.jsx)("ol",{className:"commentlist",children:(0,lt.jsx)("li",{className:"comment even thread-even depth-1",children:(0,lt.jsxs)("article",{className:"comment-body",children:[(0,lt.jsxs)("footer",{className:"comment-meta",children:[(0,lt.jsxs)("div",{className:"comment-author vcard",children:[(0,lt.jsx)("img",{alt:(0,ao.__)("Commenter Avatar"),src:o,className:"avatar avatar-32 photo",height:"32",width:"32",loading:"lazy"}),(0,lt.jsx)("b",{className:"fn",children:(0,lt.jsx)("a",{href:"#top",className:"url",children:(0,ao.__)("A WordPress Commenter")})})," ",(0,lt.jsxs)("span",{className:"says",children:[(0,ao.__)("says"),":"]})]}),(0,lt.jsxs)("div",{className:"comment-metadata",children:[(0,lt.jsx)("a",{href:"#top",children:(0,lt.jsx)("time",{dateTime:"2000-01-01T00:00:00+00:00",children:(0,ao.__)("January 1, 2000 at 00:00 am")})})," ",(0,lt.jsx)("span",{className:"edit-link",children:(0,lt.jsx)("a",{className:"comment-edit-link",href:"#top",children:(0,ao.__)("Edit")})})]})]}),(0,lt.jsx)("div",{className:"comment-content",children:(0,lt.jsxs)("p",{children:[(0,ao.__)("Hi, this is a comment."),(0,lt.jsx)("br",{}),(0,ao.__)("To get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard."),(0,lt.jsx)("br",{}),(0,A$.createInterpolateElement)((0,ao.__)("Commenter avatars come from <a>Gravatar</a>."),{a:(0,lt.jsx)("a",{href:"https://gravatar.com/"})})]})}),(0,lt.jsx)("div",{className:"reply",children:(0,lt.jsx)("a",{className:"comment-reply-link",href:"#top","aria-label":(0,ao.__)("Reply to A WordPress Commenter"),children:(0,ao._x)("Reply","verb")})})]})})}),(0,lt.jsxs)("div",{className:"navigation",children:[(0,lt.jsx)("div",{className:"alignleft",children:(0,lt.jsxs)("a",{href:"#top",children:["\xAB ",(0,ao.__)("Older Comments")]})}),(0,lt.jsx)("div",{className:"alignright",children:(0,lt.jsxs)("a",{href:"#top",children:[(0,ao.__)("Newer Comments")," \xBB"]})})]}),(0,lt.jsx)(Dw,{postId:t,postType:e})]})}var es=n(y(),1);function V$({attributes:e,setAttributes:t,context:{postType:r,postId:o}}){let{textAlign:a}=e,i=[(0,es.jsx)(z$.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,es.jsxs)(es.Fragment,{children:[(0,es.jsx)(Ep.BlockControls,{group:"block",children:(0,es.jsx)(Ep.AlignmentControl,{value:a,onChange:s=>{t({textAlign:s})}})}),(0,es.jsxs)("div",{...l,children:[(0,es.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,es.jsx)(M$,{postId:o,postType:r})]})]})}var wke=[["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"]],O$=wke;var Bp=n(y(),1);function F$(e){let{attributes:t,setAttributes:r,clientId:o}=e,{tagName:a,legacy:i}=t,l=(0,Lw.useBlockProps)(),s=(0,Lw.useInnerBlocksProps)(l,{template:O$});return i?(0,Bp.jsx)(V$,{...e}):(0,Bp.jsxs)(Bp.Fragment,{children:[(0,Bp.jsx)(E$,{attributes:t,setAttributes:r,clientId:o}),(0,Bp.jsx)(a,{...s})]})}var Rw=n(E(),1),H$=n(y(),1);function j$({attributes:{tagName:e,legacy:t}}){let r=Rw.useBlockProps.save(),o=Rw.useInnerBlocksProps.save(r);return t?null:(0,H$.jsx)(e,{...o})}var{name:U$}=Ew,G$={icon:zB,example:{},edit:F$,save:j$,deprecated:T$},Cke=()=>R({name:U$,metadata:Ew,settings:G$});var nL={};K(nL,{init:()=>Tke,metadata:()=>Aw,name:()=>q$,settings:()=>Z$});var Aw={$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),Wh=n(O(),1),oL=n(re(),1),W$=n(F(),1),Bd=n(N(),1),ts=n(y(),1);function $$({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,W$.useSelect)(_=>{let{__experimentalDiscussionSettings:k}=_(Np.store).getSettings();return k?.avatarURL},[]),v=(0,ts.jsx)(Np.InspectorControls,{children:(0,ts.jsx)(Wh.PanelBody,{title:(0,Bd.__)("Settings"),children:(0,ts.jsx)(Wh.RangeControl,{label:(0,Bd.__)("Image size"),onChange:_=>r({width:_,height:_}),min:p,max:h,initialPosition:i,value:i})})}),b=(0,ts.jsx)(Wh.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,Bd.isRTL)(),bottom:!0,left:(0,Bd.isRTL)()},minWidth:p,maxWidth:h,children:(0,ts.jsx)("img",{src:c?c[c.length-1]:g,alt:`${s} ${(0,Bd.__)("Avatar")}`,...d})});return(0,ts.jsxs)(ts.Fragment,{children:[v,(0,ts.jsx)("div",{...f,children:b})]})}var{name:q$}=Aw,Z$={icon:Y1,edit:$$},Tke=()=>R({name:q$,metadata:Aw,settings:Z$});var aL={};K(aL,{init:()=>Nke,metadata:()=>Mw,name:()=>J$,settings:()=>eq});var Mw={$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 fu=n(N(),1),K$=n(F(),1),zw=n(E(),1),Y$=n(re(),1),Ip=n(O(),1);var xi=n(y(),1);function Q$(e){let{attributes:{isLink:t,linkTarget:r},context:{commentId:o},setAttributes:a}=e;Ct(e);let i=Z(),l=(0,zw.useBlockProps)(),s=(0,K$.useSelect)(p=>{let{getEntityRecord:m}=p(Y$.store),d=m("root","comment",o),f=d?.author_name;return d&&!f?m("root","user",d.author)?.name??(0,fu.__)("Anonymous"):f??""},[o]),c=(0,xi.jsx)(zw.InspectorControls,{children:(0,xi.jsxs)(Ip.__experimentalToolsPanel,{label:(0,fu.__)("Settings"),resetAll:()=>{a({isLink:!0,linkTarget:"_self"})},dropdownMenuProps:i,children:[(0,xi.jsx)(Ip.__experimentalToolsPanelItem,{label:(0,fu.__)("Link to authors URL"),isShownByDefault:!0,hasValue:()=>!t,onDeselect:()=>a({isLink:!0}),children:(0,xi.jsx)(Ip.ToggleControl,{label:(0,fu.__)("Link to authors URL"),onChange:()=>a({isLink:!t}),checked:t})}),t&&(0,xi.jsx)(Ip.__experimentalToolsPanelItem,{label:(0,fu.__)("Open in new tab"),isShownByDefault:!0,hasValue:()=>r!=="_self",onDeselect:()=>a({linkTarget:"_self"}),children:(0,xi.jsx)(Ip.ToggleControl,{label:(0,fu.__)("Open in new tab"),onChange:p=>a({linkTarget:p?"_blank":"_self"}),checked:r==="_blank"})})]})});return(!o||!s)&&(s=(0,fu._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 Eke={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/)}},Bke={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}},X$=[Eke,Bke];var{name:J$}=Mw,eq={icon:IP,edit:Q$,deprecated:X$,example:{}},Nke=()=>R({name:J$,metadata:Mw,settings:eq});var iL={};K(iL,{init:()=>Lke,metadata:()=>Vw,name:()=>sq,settings:()=>cq});var Vw={$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 tq=n(N(),1),rq=n(H(),1),oq=n(O(),1),nq=n(re(),1),aq=n(E(),1);var rs=n(y(),1);function iq(e){let{context:{commentId:t}}=e;Ct(e);let r=(0,aq.useBlockProps)(),[o]=(0,nq.useEntityProp)("root","comment","content",t);return!t||!o?(0,rs.jsx)(rs.Fragment,{children:(0,rs.jsx)("div",{...r,children:(0,rs.jsx)("p",{children:(0,tq._x)("Comment Content","block title")})})}):(0,rs.jsx)(rs.Fragment,{children:(0,rs.jsx)("div",{...r,children:(0,rs.jsx)(oq.Disabled,{children:(0,rs.jsx)(rq.RawHTML,{children:o.rendered},"html")})})})}var Dke={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/)}},lq=[Dke];var{name:sq}=Vw,cq={icon:LP,edit:iq,deprecated:lq,example:{}},Lke=()=>R({name:sq,metadata:Vw,settings:cq});var sL={};K(sL,{init:()=>Mke,metadata:()=>Ow,name:()=>dq,settings:()=>fq});var Ow={$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),Id=n(Fw(),1),$h=n(E(),1),Dd=n(O(),1),Nd=n(N(),1);var ua=n(y(),1);function pq({attributes:{format:e,isLink:t},context:{commentId:r},setAttributes:o}){let a=(0,$h.useBlockProps)(),i=Z(),[l]=(0,lL.useEntityProp)("root","comment","date",r),[s=(0,Id.getSettings)().formats.date]=(0,lL.useEntityProp)("root","site","date_format"),c=(0,ua.jsx)($h.InspectorControls,{children:(0,ua.jsxs)(Dd.__experimentalToolsPanel,{label:(0,Nd.__)("Settings"),resetAll:()=>{o({format:void 0,isLink:!0})},dropdownMenuProps:i,children:[(0,ua.jsx)(Dd.__experimentalToolsPanelItem,{label:(0,Nd.__)("Date format"),hasValue:()=>e!==void 0,onDeselect:()=>o({format:void 0}),isShownByDefault:!0,children:(0,ua.jsx)($h.__experimentalDateFormatPicker,{format:e,defaultFormat:s,onChange:p=>o({format:p})})}),(0,ua.jsx)(Dd.__experimentalToolsPanelItem,{label:(0,Nd.__)("Link to comment"),hasValue:()=>!t,onDeselect:()=>o({isLink:!0}),isShownByDefault:!0,children:(0,ua.jsx)(Dd.ToggleControl,{label:(0,Nd.__)("Link to comment"),onChange:()=>o({isLink:!t}),checked:t})})]})});(!r||!l)&&(l=(0,Nd._x)("Comment Date","block title"));let u=l instanceof Date?(0,ua.jsx)("time",{dateTime:(0,Id.dateI18n)("c",l),children:e==="human-diff"?(0,Id.humanTimeDiff)(l):(0,Id.dateI18n)(e||s,l)}):(0,ua.jsx)("time",{children:l});return t&&(u=(0,ua.jsx)("a",{href:"#comment-date-pseudo-link",onClick:p=>p.preventDefault(),children:u})),(0,ua.jsxs)(ua.Fragment,{children:[c,(0,ua.jsx)("div",{...a,children:u})]})}var Ake={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}},mq=[Ake];var{name:dq}=Ow,fq={icon:kv,edit:pq,deprecated:mq,example:{}},Mke=()=>R({name:dq,metadata:Ow,settings:fq});var cL={};K(cL,{init:()=>Oke,metadata:()=>Hw,name:()=>vq,settings:()=>bq});var Hw={$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 jw=n(E(),1),qh=n(O(),1),Cb=n(N(),1);var os=n(y(),1);function hq(e){let{attributes:t,setAttributes:r}=e,{linkTarget:o}=t;Ct(e);let a=(0,jw.useBlockProps)(),i=Z(),l=(0,os.jsx)(jw.InspectorControls,{children:(0,os.jsx)(qh.__experimentalToolsPanel,{label:(0,Cb.__)("Settings"),resetAll:()=>{r({linkTarget:"_self"})},dropdownMenuProps:i,children:(0,os.jsx)(qh.__experimentalToolsPanelItem,{label:(0,Cb.__)("Open in new tab"),isShownByDefault:!0,hasValue:()=>o==="_blank",onDeselect:()=>r({linkTarget:"_self"}),children:(0,os.jsx)(qh.ToggleControl,{label:(0,Cb.__)("Open in new tab"),onChange:s=>r({linkTarget:s?"_blank":"_self"}),checked:o==="_blank"})})})});return(0,os.jsxs)(os.Fragment,{children:[l,(0,os.jsx)("div",{...a,children:(0,os.jsx)("a",{href:"#edit-comment-pseudo-link",onClick:s=>s.preventDefault(),children:(0,Cb.__)("Edit")})})]})}var Vke={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/)}},gq=[Vke];var{name:vq}=Hw,bq={icon:AP,edit:hq,deprecated:gq,example:{}},Oke=()=>R({name:vq,metadata:Hw,settings:bq});var uL={};K(uL,{init:()=>Uke,metadata:()=>Uw,name:()=>wq,settings:()=>Cq});var Uw={$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 yq=n(N(),1),_q=n(E(),1);var Zh=n(y(),1);function Hke(e){Ct(e);let t=(0,_q.useBlockProps)();return(0,Zh.jsx)(Zh.Fragment,{children:(0,Zh.jsx)("div",{...t,children:(0,Zh.jsx)("a",{href:"#comment-reply-pseudo-link",onClick:r=>r.preventDefault(),children:(0,yq._x)("Reply","verb")})})})}var xq=Hke;var jke={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/)}},kq=[jke];var{name:wq}=Uw,Cq={edit:xq,icon:zP,deprecated:kq,example:{}},Uke=()=>R({name:wq,metadata:Uw,settings:Cq});var mL={};K(mL,{init:()=>Qke,metadata:()=>Gw,name:()=>Hq,settings:()=>jq});var Gw={$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 Ww=n(H(),1),pL=n(F(),1),Lq=n(N(),1),ns=n(E(),1),Rq=n(O(),1),Aq=n(re(),1);var Ld=n(H(),1),Pq=n(F(),1),Eq=n(E(),1),Bq=n(ir(),1),Nq=n(Sb(),1),Tq=100,Iq=({postId:e})=>{let t={status:"approve",order:"asc",context:"embed",parent:0,_embed:"children"},{pageComments:r,commentsPerPage:o,defaultCommentsPage:a}=(0,Pq.useSelect)(s=>{let{getSettings:c}=s(Eq.store),{__experimentalDiscussionSettings:u}=c();return u??{}},[]),i=r?Math.min(o,Tq):Tq,l=Wke({defaultPage:a,postId:e,perPage:i,queryArgs:t});return(0,Ld.useMemo)(()=>l?{...t,post:e,per_page:i,page:l}:null,[e,i,l])},Wke=({defaultPage:e,postId:t,perPage:r,queryArgs:o})=>{let[a,i]=(0,Ld.useState)({}),l=`${t}_${r}`,s=a[l]||0;return(0,Ld.useEffect)(()=>{s||e!=="newest"||(0,Nq.default)({path:(0,Bq.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},Dq=e=>(0,Ld.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),$ke=[["core/avatar"],["core/comment-author-name"],["core/comment-date"],["core/comment-content"],["core/comment-reply-link"],["core/comment-edit-link"]],qke=({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 Zke({comment:e,activeCommentId:t,setActiveCommentId:r,firstCommentId:o,blocks:a}){let{children:i,...l}=(0,ns.useInnerBlocksProps)({},{template:$ke});return(0,ki.jsxs)("li",{...l,children:[e.commentId===(t||o)?i:null,(0,ki.jsx)(Yke,{blocks:a,commentId:e.commentId,setActiveCommentId:r,isHidden:e.commentId===(t||o)}),e?.children?.length>0?(0,ki.jsx)(Mq,{comments:e.children,activeCommentId:t,setActiveCommentId:r,blocks:a,firstCommentId:o}):null]})}var Kke=({blocks:e,commentId:t,setActiveCommentId:r,isHidden:o})=>{let a=(0,ns.__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})},Yke=(0,Ww.memo)(Kke),Mq=({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)(ns.BlockContextProvider,{value:{commentId:l<0?null:l},children:(0,ki.jsx)(Zke,{comment:{commentId:l,...s},activeCommentId:r,setActiveCommentId:o,blocks:a,firstCommentId:i})},s.commentId||c))});function zq({clientId:e,context:{postId:t}}){let r=(0,ns.useBlockProps)(),[o,a]=(0,Ww.useState)(),{commentOrder:i,threadCommentsDepth:l,threadComments:s,commentsPerPage:c,pageComments:u}=(0,pL.useSelect)(h=>{let{getSettings:g}=h(ns.store);return g().__experimentalDiscussionSettings??{}},[]),p=Iq({postId:t}),{topLevelComments:m,blocks:d}=(0,pL.useSelect)(h=>{let{getEntityRecords:g}=h(Aq.store),{getBlocks:v}=h(ns.store);return{topLevelComments:p?g("root","comment",p):null,blocks:v(e)}},[e,p]),f=Dq(i==="desc"&&m?[...m].reverse():m);return m?(t||(f=qke({perPage:c,pageComments:u,threadComments:s,threadCommentsDepth:l})),f.length?(0,ki.jsx)(Mq,{comments:f,blockProps:r,blocks:d,activeCommentId:o,setActiveCommentId:a,firstCommentId:f[0]?.commentId}):(0,ki.jsx)("p",{...r,children:(0,Lq.__)("No results found.")})):(0,ki.jsx)("p",{...r,children:(0,ki.jsx)(Rq.Spinner,{})})}var Vq=n(E(),1),Oq=n(y(),1);function Fq(){return(0,Oq.jsx)(Vq.InnerBlocks.Content,{})}var{name:Hq}=Gw,jq={icon:td,edit:zq,save:Fq},Qke=()=>R({name:Hq,metadata:Gw,settings:jq});var fL={};K(fL,{init:()=>e5e,metadata:()=>$w,name:()=>Wq,settings:()=>$q});var Gq=n(N(),1);var $w={$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),qw=n(E(),1),Tb=n(y(),1),Jke={none:"",arrow:"\u2190",chevron:"\xAB"};function Uq({attributes:{label:e},setAttributes:t,context:{"comments/paginationArrow":r}}){let o=Jke[r];return(0,Tb.jsxs)("a",{href:"#comments-pagination-previous-pseudo-link",onClick:a=>a.preventDefault(),...(0,qw.useBlockProps)(),children:[o&&(0,Tb.jsx)("span",{className:`wp-block-comments-pagination-previous-arrow is-arrow-${r}`,children:o}),(0,Tb.jsx)(qw.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:Wq}=$w,$q={icon:Tv,edit:Uq,example:{attributes:{label:(0,Gq.__)("Older Comments")}}},e5e=()=>R({name:Wq,metadata:$w,settings:$q});var gL={};K(gL,{init:()=>o5e,metadata:()=>Zw,name:()=>Xq,settings:()=>Jq});var Zw={$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 Kw=n(N(),1),is=n(E(),1),hL=n(F(),1),Yw=n(O(),1);var Rd=n(N(),1),Kh=n(O(),1),Yh=n(y(),1);function qq({value:e,onChange:t}){return(0,Yh.jsxs)(Kh.__experimentalToggleGroupControl,{label:(0,Rd.__)("Arrow"),value:e,onChange:t,help:(0,Rd.__)("A decorative arrow appended to the next and previous comments link."),isBlock:!0,children:[(0,Yh.jsx)(Kh.__experimentalToggleGroupControlOption,{value:"none",label:(0,Rd._x)("None","Arrow option for Comments Pagination Next/Previous blocks")}),(0,Yh.jsx)(Kh.__experimentalToggleGroupControlOption,{value:"arrow",label:(0,Rd._x)("Arrow","Arrow option for Comments Pagination Next/Previous blocks")}),(0,Yh.jsx)(Kh.__experimentalToggleGroupControlOption,{value:"chevron",label:(0,Rd._x)("Chevron","Arrow option for Comments Pagination Next/Previous blocks")})]})}var as=n(y(),1),r5e=[["core/comments-pagination-previous"],["core/comments-pagination-numbers"],["core/comments-pagination-next"]];function Zq({attributes:{paginationArrow:e},setAttributes:t,clientId:r}){let o=(0,hL.useSelect)(c=>{let{getBlocks:u}=c(is.store);return u(r)?.find(m=>["core/comments-pagination-previous","core/comments-pagination-next"].includes(m.name))},[]),a=(0,is.useBlockProps)(),i=Z(),l=(0,is.useInnerBlocksProps)(a,{template:r5e});return(0,hL.useSelect)(c=>{let{getSettings:u}=c(is.store),{__experimentalDiscussionSettings:p}=u();return p?.pageComments},[])?(0,as.jsxs)(as.Fragment,{children:[o&&(0,as.jsx)(is.InspectorControls,{children:(0,as.jsx)(Yw.__experimentalToolsPanel,{label:(0,Kw.__)("Settings"),dropdownMenuProps:i,resetAll:()=>t({paginationArrow:"none"}),children:(0,as.jsx)(Yw.__experimentalToolsPanelItem,{label:(0,Kw.__)("Arrow"),hasValue:()=>e!=="none",onDeselect:()=>t({paginationArrow:"none"}),isShownByDefault:!0,children:(0,as.jsx)(qq,{value:e,onChange:c=>{t({paginationArrow:c})}})})})}),(0,as.jsx)("div",{...l})]}):(0,as.jsx)(is.Warning,{children:(0,Kw.__)("Comments Pagination block: paging comments is disabled in the Discussion Settings")})}var Kq=n(E(),1),Yq=n(y(),1);function Qq(){return(0,Yq.jsx)(Kq.InnerBlocks.Content,{})}var{name:Xq}=Zw,Jq={icon:Pv,edit:Zq,save:Qq},o5e=()=>R({name:Xq,metadata:Zw,settings:Jq});var bL={};K(bL,{init:()=>i5e,metadata:()=>Qw,name:()=>rZ,settings:()=>oZ});var tZ=n(N(),1);var Qw={$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),Xw=n(E(),1),Pb=n(y(),1),a5e={none:"",arrow:"\u2192",chevron:"\xBB"};function eZ({attributes:{label:e},setAttributes:t,context:{"comments/paginationArrow":r}}){let o=a5e[r];return(0,Pb.jsxs)("a",{href:"#comments-pagination-next-pseudo-link",onClick:a=>a.preventDefault(),...(0,Xw.useBlockProps)(),children:[(0,Pb.jsx)(Xw.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,Pb.jsx)("span",{className:`wp-block-comments-pagination-next-arrow is-arrow-${r}`,children:o})]})}var{name:rZ}=Qw,oZ={icon:Cv,edit:eZ,example:{attributes:{label:(0,tZ.__)("Newer Comments")}}},i5e=()=>R({name:rZ,metadata:Qw,settings:oZ});var yL={};K(yL,{init:()=>s5e,metadata:()=>Jw,name:()=>iZ,settings:()=>lZ});var Jw={$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 nZ=n(E(),1),hl=n(y(),1),Ad=({content:e,tag:t="a",extraClass:r=""})=>t==="a"?(0,hl.jsx)(t,{className:`page-numbers ${r}`,href:"#comments-pagination-numbers-pseudo-link",onClick:o=>o.preventDefault(),children:e}):(0,hl.jsx)(t,{className:`page-numbers ${r}`,children:e});function aZ(){return(0,hl.jsxs)("div",{...(0,nZ.useBlockProps)(),children:[(0,hl.jsx)(Ad,{content:"1"}),(0,hl.jsx)(Ad,{content:"2"}),(0,hl.jsx)(Ad,{content:"3",tag:"span",extraClass:"current"}),(0,hl.jsx)(Ad,{content:"4"}),(0,hl.jsx)(Ad,{content:"5"}),(0,hl.jsx)(Ad,{content:"...",tag:"span",extraClass:"dots"}),(0,hl.jsx)(Ad,{content:"8"})]})}var{name:iZ}=Jw,lZ={icon:Sv,edit:aZ,example:{}},s5e=()=>R({name:iZ,metadata:Jw,settings:lZ});var _L={};K(_L,{init:()=>m5e,metadata:()=>e3,name:()=>fZ,settings:()=>hZ});var e3={$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 ec=n(E(),1),zr=n(N(),1),sZ=n(re(),1),Dp=n(O(),1),t3=n(H(),1),cZ=n(F(),1),uZ=n(Sb(),1),pZ=n(ir(),1);var ja=n(y(),1);function mZ(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,t3.useState)(),[f]=(0,sZ.useEntityProp)("postType",u,"title",c),h=typeof c>"u",g=(0,ec.useBlockProps)(),{threadCommentsDepth:v,threadComments:b,commentsPerPage:_,pageComments:k}=(0,cZ.useSelect)(I=>{let{getSettings:D}=I(ec.store);return D().__experimentalDiscussionSettings??{}},[]),x=Z();(0,t3.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,uZ.default)({path:(0,pZ.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,ja.jsx)(ec.BlockControls,{group:"block",children:(0,ja.jsx)(ec.HeadingLevelDropdown,{value:l,options:s,onChange:I=>r({level:I})})}),C=(0,ja.jsx)(ec.InspectorControls,{children:(0,ja.jsxs)(Dp.__experimentalToolsPanel,{label:(0,zr.__)("Settings"),resetAll:()=>{r({showPostTitle:!0,showCommentsCount:!0})},dropdownMenuProps:x,children:[(0,ja.jsx)(Dp.__experimentalToolsPanelItem,{label:(0,zr.__)("Show post title"),isShownByDefault:!0,hasValue:()=>!a,onDeselect:()=>r({showPostTitle:!0}),children:(0,ja.jsx)(Dp.ToggleControl,{label:(0,zr.__)("Show post title"),checked:a,onChange:I=>r({showPostTitle:I})})}),(0,ja.jsx)(Dp.__experimentalToolsPanelItem,{label:(0,zr.__)("Show comments count"),isShownByDefault:!0,hasValue:()=>!i,onDeselect:()=>r({showCommentsCount:!0}),children:(0,ja.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,ja.jsxs)(ja.Fragment,{children:[w,C,(0,ja.jsx)(p,{...g,children:B})]})}var u5e={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},p5e={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},dZ=[u5e,p5e];var{name:fZ}=e3,hZ={icon:$l,edit:mZ,deprecated:dZ,example:{}},m5e=()=>R({name:fZ,metadata:e3,settings:hZ});var OL={};K(OL,{init:()=>Dwe,metadata:()=>y3,name:()=>yK,settings:()=>x3});var VL=n(N(),1);var bK=n(q(),1);var n3=n(q(),1),Ne=n(E(),1),a3=n(N(),1),Eb=n(ve(),1);var r3=n(Ar(),1),d5e={"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",hu="embed-video",gZ=50;var f5e={x:.5,y:.5},o3=["image","video"];function nn({x:e,y:t}=f5e){return`${Math.round(e*100)}% ${Math.round(t*100)}%`}function gl(e){return e===50||e===void 0?null:"has-background-dim-"+10*Math.round(e/10)}function vZ(e){if(!e||!e.url&&!e.src)return{url:void 0,id:void 0};(0,r3.isBlobURL)(e.url)&&(e.type=(0,r3.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 pa(e){return!e||e==="center center"||e==="center"}function Ua(e){return pa(e)?"":d5e[e]}var he=n(y(),1);function tc(e){return e?{backgroundImage:`url(${e})`}:{}}function Md(e){return e===0||e===50||!e?null:"has-background-dim-"+10*Math.round(e/10)}function i3(e){return{...e,dimRatio:e.url?e.dimRatio:100}}function Lp(e){return e.tagName||(e={...e,tagName:"div"}),{...e}}var zd={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"}},Bb={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={...Bb,useFeaturedImage:{type:"boolean",default:!1},tagName:{type:"string",default:"div"}},h5e={...xL,isUserOverlayColor:{type:"boolean"},sizeSlug:{type:"string"},alt:{type:"string",default:""}},Qh={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={...Qh,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}},g5e={...kL,shadow:!0,dimensions:{aspectRatio:!0},interactivity:{clientNavigation:!0}},v5e={attributes:h5e,supports:g5e,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?nn(s):void 0,A=f?`url(${f})`:void 0,z=nn(s),j=S({"is-light":!p,"has-parallax":u,"is-repeated":m,"has-custom-content-position":!pa(o)},Ua(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,he.jsxs)(_,{...Ne.useBlockProps.save({className:j,style:D}),children:[(0,he.jsx)("span",{"aria-hidden":"true",className:S("wp-block-cover__background",x,gl(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,he.jsx)("img",{className:G,alt:h,src:f,style:{objectPosition:L},"data-object-fit":"cover","data-object-position":L}):(0,he.jsx)("div",{role:h?"img":void 0,"aria-label":h||void 0,className:G,style:{backgroundPosition:z,backgroundImage:A}})),B&&f&&(0,he.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,he.jsx)("div",{...Ne.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})})]})}},b5e={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?nn(s):void 0,L=f?`url(${f})`:void 0,A=nn(s),z=S({"is-light":!p,"has-parallax":u,"is-repeated":m,"has-custom-content-position":!pa(o)},Ua(o)),j=S("wp-block-cover__image-background",g?`wp-image-${g}`:null,{"has-parallax":u,"is-repeated":m}),G=r||a;return(0,he.jsxs)(_,{...Ne.useBlockProps.save({className:z,style:I}),children:[(0,he.jsx)("span",{"aria-hidden":"true",className:S("wp-block-cover__background",k,gl(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,he.jsx)("img",{className:j,alt:h,src:f,style:{objectPosition:T},"data-object-fit":"cover","data-object-position":T}):(0,he.jsx)("div",{role:"img",className:j,style:{backgroundPosition:A,backgroundImage:L}})),P&&f&&(0,he.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,he.jsx)("div",{...Ne.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})})]})}},y5e={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?nn(s):void 0,L=f?`url(${f})`:void 0,A=nn(s),z=S({"is-light":!p,"has-parallax":u,"is-repeated":m,"has-custom-content-position":!pa(o)},Ua(o)),j=S("wp-block-cover__image-background",g?`wp-image-${g}`:null,{"has-parallax":u,"is-repeated":m}),G=r||a;return(0,he.jsxs)(_,{...Ne.useBlockProps.save({className:z,style:I}),children:[(0,he.jsx)("span",{"aria-hidden":"true",className:S("wp-block-cover__background",k,gl(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,he.jsx)("img",{className:j,alt:h,src:f,style:{objectPosition:T},"data-object-fit":"cover","data-object-position":T}):(0,he.jsx)("div",{role:"img",className:j,style:{backgroundPosition:A,backgroundImage:L}})),P&&f&&(0,he.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,he.jsx)("div",{...Ne.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})})]})}},_5e={attributes:Bb,supports:Qh,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?nn(s):void 0,T=f?`url(${f})`:void 0,L=nn(s),A=S({"is-light":!p,"has-parallax":u,"is-repeated":m,"has-custom-content-position":!pa(o)},Ua(o)),z=S("wp-block-cover__image-background",g?`wp-image-${g}`:null,{"has-parallax":u,"is-repeated":m}),j=r||a;return(0,he.jsxs)("div",{...Ne.useBlockProps.save({className:A,style:B}),children:[(0,he.jsx)("span",{"aria-hidden":"true",className:S("wp-block-cover__background",_,gl(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,he.jsx)("img",{className:z,alt:h,src:f,style:{objectPosition:D},"data-object-fit":"cover","data-object-position":D}):(0,he.jsx)("div",{role:"img",className:z,style:{backgroundPosition:L,backgroundImage:T}})),C&&f&&(0,he.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,he.jsx)("div",{...Ne.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})})]})},migrate:Lp},x5e={attributes:Bb,supports:Qh,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?tc(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":!pa(o)},Ua(o)),L=r||a;return(0,he.jsxs)("div",{...Ne.useBlockProps.save({className:T,style:B}),children:[(0,he.jsx)("span",{"aria-hidden":"true",className:S("wp-block-cover__background",_,gl(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,he.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,he.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,he.jsx)("div",{...Ne.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})})]})},migrate:Lp},k5e={attributes:Bb,supports:Qh,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?tc(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":!pa(o)},Ua(o)),T=r||a;return(0,he.jsxs)("div",{...Ne.useBlockProps.save({className:D,style:P}),children:[(0,he.jsx)("span",{"aria-hidden":"true",className:S("wp-block-cover__background",b,gl(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,he.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,he.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,he.jsx)("div",{...Ne.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})})]})},migrate:Lp},w5e={attributes:Bb,supports:Qh,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?tc(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":!pa(o)},Ua(o));return(0,he.jsxs)("div",{...Ne.useBlockProps.save({className:D,style:P}),children:[(0,he.jsx)("span",{"aria-hidden":"true",className:S(b,gl(l),"wp-block-cover__gradient-background",_,{"has-background-dim":l!==void 0,"has-background-gradient":r||a,[_]:!d&&_}),style:B}),x&&C&&d&&(0,he.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,he.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,he.jsx)("div",{...Ne.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})})]})},migrate:Lp},C5e={attributes:{...zd,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:Qh,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?tc(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(Md(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":!pa(o)},Ua(o));return(0,he.jsxs)("div",{...Ne.useBlockProps.save({className:B,style:C}),children:[m&&(r||a)&&l!==0&&(0,he.jsx)("span",{"aria-hidden":"true",className:S("wp-block-cover__gradient-background",b),style:a?{background:a}:void 0}),k&&w&&m&&(0,he.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,he.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,he.jsx)("div",{className:"wp-block-cover__inner-container",children:(0,he.jsx)(Ne.InnerBlocks.Content,{})})]})},migrate:(0,Eb.compose)(i3,Lp)},S5e={attributes:{...zd,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?tc(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(Md(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":!pa(o)},Ua(o));return(0,he.jsxs)("div",{...Ne.useBlockProps.save({className:C,style:k}),children:[m&&(r||a)&&l!==0&&(0,he.jsx)("span",{"aria-hidden":"true",className:S("wp-block-cover__gradient-background",g),style:a?{background:a}:void 0}),_&&m&&(0,he.jsx)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:m,style:x}),(0,he.jsx)("div",{className:"wp-block-cover__inner-container",children:(0,he.jsx)(Ne.InnerBlocks.Content,{})})]})},migrate:(0,Eb.compose)(i3,Lp)},T5e={attributes:{...zd,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?tc(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(Md(i),m,{"has-background-dim":i!==0,"has-parallax":s,"has-background-gradient":o,[d]:!u&&d});return(0,he.jsxs)("div",{className:h,style:f,children:[u&&(r||o)&&i!==0&&(0,he.jsx)("span",{"aria-hidden":"true",className:S("wp-block-cover__gradient-background",d),style:o?{background:o}:void 0}),Er===t&&u&&(0,he.jsx)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),(0,he.jsx)("div",{className:"wp-block-cover__inner-container",children:(0,he.jsx)(Ne.InnerBlocks.Content,{})})]})},migrate:(0,Eb.compose)(i3,Lp)},P5e={attributes:{...zd,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?tc(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(Md(i),m,{"has-background-dim":i!==0,"has-parallax":s,"has-background-gradient":o,[d]:!u&&d});return(0,he.jsxs)("div",{className:h,style:f,children:[u&&(r||o)&&i!==0&&(0,he.jsx)("span",{"aria-hidden":"true",className:S("wp-block-cover__gradient-background",d),style:o?{background:o}:void 0}),Er===t&&u&&(0,he.jsx)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),(0,he.jsx)("div",{className:"wp-block-cover__inner-container",children:(0,he.jsx)(Ne.InnerBlocks.Content,{})})]})},migrate:(0,Eb.compose)(i3,Lp)},E5e={attributes:{...zd,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?tc(u):{};p||(m.backgroundColor=o),i&&!l&&(m.backgroundPosition=`${i.x*100}% ${i.y*100}%`);let d=S(Md(a),p,{"has-background-dim":a!==0,"has-parallax":l,[`has-${r}-content`]:r!=="center"});return(0,he.jsxs)("div",{className:d,style:m,children:[Er===t&&u&&(0,he.jsx)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),!Ne.RichText.isEmpty(c)&&(0,he.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,n3.createBlock)("core/paragraph",{content:e.title,style:{typography:{textAlign:e.contentAlign}},fontSize:"large",placeholder:(0,a3.__)("Write title\u2026")})]]}},B5e={attributes:{...zd,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=tc(t);u||(p.backgroundColor=c);let m=S("wp-block-cover-image",Md(a),u,{"has-background-dim":a!==0,"has-parallax":o,[`has-${l}-content`]:l!=="center"},i?`align${i}`:null);return(0,he.jsx)("div",{className:m,style:p,children:!Ne.RichText.isEmpty(r)&&(0,he.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,n3.createBlock)("core/paragraph",{content:e.title,style:{typography:{textAlign:e.contentAlign}},fontSize:"large",placeholder:(0,a3.__)("Write title\u2026")})]]}},N5e={attributes:{...zd,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=tc(t),s=S("wp-block-cover-image",Md(a),{"has-background-dim":a!==0,"has-parallax":o},i?`align${i}`:null);return(0,he.jsx)("section",{className:s,style:l,children:(0,he.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,n3.createBlock)("core/paragraph",{content:e.title,style:{typography:{textAlign:e.contentAlign}},fontSize:"large",placeholder:(0,a3.__)("Write title\u2026")})]]}},bZ=[v5e,b5e,y5e,_5e,x5e,k5e,w5e,C5e,S5e,T5e,P5e,E5e,B5e,N5e];var Lb=n(re(),1),Rn=n(H(),1),Hd=n(O(),1),b3=n(ve(),1),Kr=n(E(),1),ML=n(N(),1),bu=n(F(),1),pK=n(Ar(),1),mK=n(Sr(),1);var PZ=n(H(),1),lr=n(O(),1),EZ=n(ve(),1),an=n(E(),1),wo=n(N(),1),CL=n(F(),1),BZ=n(re(),1);var yZ=n(E(),1);var{cleanEmptyObject:l3,getStyleForState:I5e,setStyleForState:_Z}=U(yZ.privateApis);function wL(e,t){return I5e(e,t)||{}}function D5e(e,t={}){return Object.fromEntries(Object.entries(e).map(([r,o])=>[t[r]||r,o]))}function L5e(e,t){return t?Object.fromEntries(t.map(r=>[r,e[r]])):e}function Xh(e){return[e?.viewport||"default",e?.pseudo||"default"].join(":")}function R5e(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?R5e(r,o)?.[l]:Object.hasOwn(e,"rootValue")?s:t?.[i]}function A5e(e,t,r){let o=wL(e,t);return _Z(e,t,l3({...o,dimensions:l3({...o?.dimensions,...r})}))}function Jh({style:e,selectedState:t,hasSelectedStyleState:r,nextDimensions:o,dimensionKeyMap:a,dimensionKeys:i}){let l=L5e(o,i);return r?{style:A5e(e,t,D5e(l,a))}:l}function xZ(e,t){let r=Object.fromEntries(t.map(o=>[o,void 0]));return l3({...e,dimensions:l3({...e?.dimensions,...r})})}function M5e(e,t,r){return _Z(e,t,xZ(wL(e,t),r))}function eg({attributes:e={},style:t=e?.style,selectedState:r,hasSelectedStyleState:o,keys:a,defaultAttributes:i={}}){return{...o?{}:{...e,...i},style:o?M5e(t,r,a):xZ(t,a)}}var Vd="full";var tg=n(E(),1),wZ=n(Sr(),1),ma=n(O(),1),CZ=n(Ar(),1),Ci=n(N(),1),s3=n(H(),1),SZ=n(ve(),1),c3=n(F(),1),Ln=n(y(),1),kZ=["image"];function TZ({poster:e,onChange:t}){let r=(0,s3.useRef)(),[o,a]=(0,s3.useState)(!1),i=(0,SZ.useInstanceId)(TZ,"block-library-poster-image-description"),{getSettings:l}=(0,c3.useSelect)(tg.store),{createErrorNotice:s}=(0,c3.useDispatch)(wZ.store),c=p=>{l().mediaUpload({allowedTypes:kZ,filesList:p,onFileChange:([m])=>{if((0,CZ.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,Ln.jsx)(ma.Spinner,{}):e?(0,Ci.__)("Replace"):(0,Ci.__)("Set poster image");return(0,Ln.jsx)(tg.MediaUploadCheck,{children:(0,Ln.jsxs)(ma.__experimentalToolsPanelItem,{label:(0,Ci.__)("Poster image"),isShownByDefault:!0,hasValue:()=>!!e,onDeselect:()=>t(void 0),children:[(0,Ln.jsx)(ma.BaseControl.VisualLabel,{children:(0,Ci.__)("Poster image")}),(0,Ln.jsx)(tg.MediaUpload,{title:(0,Ci.__)("Select poster image"),onSelect:t,allowedTypes:kZ,render:({open:p})=>(0,Ln.jsxs)("div",{className:"block-library-poster-image__container",children:[e&&(0,Ln.jsxs)(ma.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,Ln.jsx)("img",{src:e,alt:(0,Ci.__)("Poster image preview"),className:"block-library-poster-image__preview-image"}),o&&(0,Ln.jsx)(ma.Spinner,{})]}),(0,Ln.jsxs)(ma.__experimentalHStack,{className:S("block-library-poster-image__actions",{"block-library-poster-image__actions-select":!e}),children:[(0,Ln.jsx)(ma.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,Ln.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,Ln.jsx)(ma.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,Ln.jsx)(ma.DropZone,{onFilesDrop:c})]})})]})})}var u3=TZ;var _t=n(y(),1),{cleanEmptyObject:z5e,isDefaultBlockStyleState:V5e,ResolutionTool:O5e,HTMLElementControl:F5e}=U(an.privateApis);function H5e({onChange:e,onUnitChange:t,unit:r="px",value:o=""}){let i=`block-cover-height-input-${(0,EZ.useInstanceId)(lr.__experimentalUnitControl)}`,l=r==="px",[s]=(0,an.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,PZ.useMemo)(()=>{let[d]=(0,lr.__experimentalParseQuantityAndUnitFromRawValue)(o);return[d,r].join("")},[r,o]),m=l?gZ: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 NZ({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||Vd,{gradientValue:I,setGradient:D}=(0,an.__experimentalUseGradient)(),{imageSizes:T,selectedStyleState:L}=(0,CL.useSelect)(le=>{let{getSettings:Pe,getSelectedBlockStyleState:Ee}=U(le(an.store));return{imageSizes:Pe()?.imageSizes,selectedStyleState:Ee(r)}},[r]),A=!V5e(L),z=Xh(L),j=wi({attributes:e,selectedState:L,hasSelectedStyleState:A,attributeKey:"minHeight",styleKey:"minHeight",rootValue:void 0}),[G,W]=(0,lr.__experimentalParseQuantityAndUnitFromRawValue)(j||""),$=A?G:h,V=A&&W||g,Q=wi({attributes:e,selectedState:L,hasSelectedStyleState:A,attributeKey:"aspectRatio",rootValue:e?.style?.dimensions?.aspectRatio}),Y=(0,CL.useSelect)(le=>u&&x?le(BZ.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]=nn(le)},se=(0,an.__experimentalUseMultipleOriginColorsAndGradients)(),de=se.hasColorsOrGradients&&!A,ge=(le,Pe)=>{if(A){t(Jh({style:e.style,selectedState:L,hasSelectedStyleState:A,nextDimensions:{minHeight:le===void 0?void 0:`${le}${Pe||V||"px"}`,aspectRatio:void 0}}));return}t({minHeight:le,style:z5e({...e?.style,dimensions:{...e?.style?.dimensions,aspectRatio:void 0}})})},oe=(le=e)=>eg({style:le.style,selectedState:L,hasSelectedStyleState:A,keys:["minHeight"],defaultAttributes:{minHeight:void 0,minHeightUnit:void 0}}),me=Z();return(0,_t.jsxs)(_t.Fragment,{children:[(!!C||c)&&(0,_t.jsx)(an.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(Vd)},dropdownMenuProps:me,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)(u3,{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)(cu,{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)(O5e,{value:B,onChange:te,options:ae,defaultValue:Vd})]})}),de&&(0,_t.jsxs)(an.InspectorControls,{group:"color",children:[(0,_t.jsx)(an.__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)(an.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)(H5e,{value:Q?"":$,unit:V,onChange:le=>ge(le),onUnitChange:le=>{if(A){$!==void 0&&ge($,le);return}t({minHeightUnit:le})}})},z)}),(0,_t.jsx)(an.InspectorControls,{group:"advanced",children:(0,_t.jsx)(F5e,{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 p3=n(H(),1),ls=n(E(),1),ng=n(N(),1),m3=n(O(),1);var SL=n(H(),1),og=n(O(),1),Od=n(N(),1);var IZ=n(q(),1);var j5e="core/embed",DZ=["youtube","vimeo","videopress","animoto","tiktok","wordpress-tv"];function LZ(e){return Array.isArray(e)?DZ.filter(t=>e.includes(t)):[]}function RZ(e,t){return e?U5e(e,t)!==null:!1}function U5e(e,t=DZ){let r=(0,IZ.getBlockVariations)(j5e);if(!r)return null;let o=r.find(({patterns:a})=>EI(e,a));return!o||!t.includes(o.name)?null:o}function AZ(e){let t=e?.match(/src=["']([^"']+)["']/);if(!t)return null;let r=t[1],o=W5e(r);return e.replace(r,o)}function G5e(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 W5e(e){if(!e)return e;try{let t=new URL(e);switch(G5e(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 rg=n(y(),1);function MZ({onSubmit:e,onClose:t,initialUrl:r="",allowedVideoProviders:o}){let[a,i]=(0,SL.useState)(r),[l,s]=(0,SL.useState)("");return(0,rg.jsx)(og.__experimentalConfirmDialog,{isOpen:!0,onConfirm:()=>{if(!a){s((0,Od.__)("Please enter a URL."));return}if(!RZ(a,o)){s((0,Od.__)("This URL is not supported. Please enter a valid video link from a supported provider."));return}e(a),t()},onCancel:t,confirmButtonText:(0,Od.__)("Add video"),size:"medium",children:(0,rg.jsxs)(kp,{direction:"column",gap:"lg",children:[l&&(0,rg.jsx)(og.Notice,{status:"error",isDismissible:!1,children:l}),(0,rg.jsx)(og.TextControl,{type:"url",label:(0,Od.__)("Video URL"),value:a,onChange:u=>{i(u),s("")},placeholder:(0,Od.__)("Enter YouTube, Vimeo, or other video URL"),help:(0,Od.__)("Add a background video to the cover block that will autoplay in a loop.")})]})})}var Si=n(y(),1),{cleanEmptyObject:$5e}=U(ls.privateApis);function zZ({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=LZ(_),C=w.length>0,[P,B]=(0,p3.useState)(g),[I,D]=(0,p3.useState)(v),[T,L]=(0,p3.useState)(!1),A=v==="vh"&&g===100&&!e?.style?.dimensions?.aspectRatio,z=m==="contentOnly",j=()=>A?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:$5e({...e?.style,dimensions:{...e?.style?.dimensions,aspectRatio:void 0}})}));return(0,Si.jsxs)(Si.Fragment,{children:[!z&&(0,Si.jsxs)(ls.BlockControls,{group:"block",children:[(0,Si.jsx)(ls.__experimentalBlockAlignmentMatrixControl,{label:(0,ng.__)("Change content position"),value:d,onChange:G=>t({contentPosition:G}),isDisabled:!k}),(0,Si.jsx)(ls.__experimentalBlockFullHeightAligmentControl,{isActive:A,onToggle:j,isDisabled:!k}),u&&(0,Si.jsx)(m3.ToolbarButton,{ref:c,icon:Xm,label:(0,ng.__)("Crop background image"),onClick:s,"aria-haspopup":"dialog",disabled:p})]}),(0,Si.jsx)(ls.BlockControls,{group:"other",children:(0,Si.jsx)(ls.MediaReplaceFlow,{mediaId:f,mediaURL:x,allowedTypes:o3,onSelect:r,onToggleFeaturedImage:a,useFeaturedImage:h,name:x?(0,ng.__)("Replace"):(0,ng.__)("Add media"),onReset:i,variant:"toolbar",children:({onClose:G})=>C?(0,Si.jsx)(m3.MenuItem,{icon:di,onClick:()=>{L(!0),G()},children:(0,ng.__)("Embed video from URL")}):null})}),T&&(0,Si.jsx)(MZ,{onSubmit:G=>{l(G)},onClose:()=>L(!1),initialUrl:b===hu?x:"",allowedVideoProviders:w})]})}var d3=n(E(),1),VZ=n(N(),1);var OZ=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,OZ.createBlobURL)(s[0])})};return(0,TL.jsx)(d3.MediaPlaceholder,{icon:(0,TL.jsx)(d3.BlockIcon,{icon:Qm}),labels:{title:(0,VZ.__)("Cover")},onSelect:r,allowedTypes:o3,disableMediaButtons:e,onToggleFeaturedImage:i,onFilesPreUpload:l,onError:o,style:a,children:t})}var FZ=n(H(),1),HZ=n(E(),1);var jZ=n(y(),1),q5e={top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},{ResizableBoxPopover:Z5e}=U(HZ.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,FZ.useState)(!1),d={className:S(e,{"is-resizing":p}),enable:q5e,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,jZ.jsx)(Z5e,{className:"block-library-cover__resizable-box-popover",resizableBoxProps:d,...u})}var K5e={grad:.9,turn:360,rad:360/(2*Math.PI)},gu=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},zo=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},vl=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},YZ=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},UZ=function(e){return{r:vl(e.r,0,255),g:vl(e.g,0,255),b:vl(e.b,0,255),a:vl(e.a)}},BL=function(e){return{r:zo(e.r),g:zo(e.g),b:zo(e.b),a:zo(e.a,3)}},Y5e=/^#([0-9a-f]{3,8})$/i,f3=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},QZ=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}},XZ=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}},GZ=function(e){return{h:YZ(e.h),s:vl(e.s,0,100),l:vl(e.l,0,100),a:vl(e.a)}},WZ=function(e){return{h:zo(e.h),s:zo(e.s),l:zo(e.l),a:zo(e.a,3)}},$Z=function(e){return XZ((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},Nb=function(e){return{h:(t=QZ(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},Q5e=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,X5e=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,J5e=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,ewe=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,DL={string:[[function(e){var t=Y5e.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?zo(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?zo(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=J5e.exec(e)||ewe.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:UZ({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=Q5e.exec(e)||X5e.exec(e);if(!t)return null;var r,o,a=GZ({h:(r=t[1],o=t[2],o===void 0&&(o="deg"),Number(r)*(K5e[o]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return $Z(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 gu(t)&&gu(r)&&gu(o)?UZ({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(!gu(t)||!gu(r)||!gu(o))return null;var l=GZ({h:Number(t),s:Number(r),l:Number(o),a:Number(i)});return $Z(l)},"hsl"],[function(e){var t=e.h,r=e.s,o=e.v,a=e.a,i=a===void 0?1:a;if(!gu(t)||!gu(r)||!gu(o))return null;var l=(function(s){return{h:YZ(s.h),s:vl(s.s,0,100),v:vl(s.v,0,100),a:vl(s.a)}})({h:Number(t),s:Number(r),v:Number(o),a:Number(i)});return XZ(l)},"hsv"]]},qZ=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]},twe=function(e){return typeof e=="string"?qZ(e.trim(),DL.string):typeof e=="object"&&e!==null?qZ(e,DL.object):[null,void 0]};var NL=function(e,t){var r=Nb(e);return{h:r.h,s:vl(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},ZZ=function(e,t){var r=Nb(e);return{h:r.h,s:r.s,l:vl(r.l+100*t,0,100),a:r.a}},LL=(function(){function e(t){this.parsed=twe(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 zo(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?f3(zo(255*i)):"","#"+f3(r)+f3(o)+f3(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 WZ(Nb(this.rgba))},e.prototype.toHslString=function(){return t=WZ(Nb(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=QZ(this.rgba),{h:zo(t.h),s:zo(t.s),v:zo(t.v),a:zo(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(ZZ(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),Br(ZZ(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}):zo(this.rgba.a,3);var r},e.prototype.hue=function(t){var r=Nb(this.rgba);return typeof t=="number"?Br({h:t,s:r.s,l:r.l,a:r.a}):zo(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)},KZ=[],JZ=function(e){e.forEach(function(t){KZ.indexOf(t)<0&&(t(LL,DL),KZ.push(t))})};function eK(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 rwe(e){var t=e.toString(16);return t.length===1?"0"+t:t}function tK(e){return"#"+e.map(rwe).join("")}function owe(e){var t=(e[0]*299+e[1]*587+e[2]*114)/1e3;return t<128}function nwe(e){return e?awe(e)?e:[e]:[]}function awe(e){return Array.isArray(e[0])}function AL(e,t,r){for(var o=0;o<r.length;o++)if(iwe(e,t,r[o]))return!0;return!1}function iwe(e,t,r){switch(r.length){case 3:if(lwe(e,t,r))return!0;break;case 4:if(swe(e,t,r))return!0;break;case 5:if(cwe(e,t,r))return!0;break;default:return!1}}function lwe(e,t,r){return e[t+3]!==255||e[t]===r[0]&&e[t+1]===r[1]&&e[t+2]===r[2]}function swe(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 h3(e,t,r){return e>=t-r&&e<=t+r}function cwe(e,t,r){var o=r[0],a=r[1],i=r[2],l=r[3],s=r[4],c=e[t+3],u=h3(c,l,s);return l?!!(!c&&u||h3(e[t],o,s)&&h3(e[t+1],a,s)&&h3(e[t+2],i,s)&&u):u}function uwe(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 pwe(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 mwe(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 rK(e){return Db(e,"defaultColor",[0,0,0,0])}function Db(e,t,r){return e[t]===void 0?r:e[t]}var oK=10,RL=100;function dwe(e){return e.search(/\.svg(\?|$)/i)!==-1}function fwe(e){if(aK(e)){var t=e.naturalWidth,r=e.naturalHeight;return!e.naturalWidth&&dwe(e.src)&&(t=r=RL),{width:t,height:r}}return gwe(e)?{width:e.videoWidth,height:e.videoHeight}:{width:e.width,height:e.height}}function nK(e){return vwe(e)?"canvas":hwe(e)?"offscreencanvas":bwe(e)?"imagebitmap":e.src}function aK(e){return typeof HTMLImageElement<"u"&&e instanceof HTMLImageElement}function hwe(e){return typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas}function gwe(e){return typeof HTMLVideoElement<"u"&&e instanceof HTMLVideoElement}function vwe(e){return typeof HTMLCanvasElement<"u"&&e instanceof HTMLCanvasElement}function bwe(e){return typeof ImageBitmap<"u"&&e instanceof ImageBitmap}function ywe(e,t){var r=Db(t,"left",0),o=Db(t,"top",0),a=Db(t,"width",e.width),i=Db(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<oK||s<oK)&&(l=a,s=i),{srcLeft:r,srcTop:o,srcWidth:a,srcHeight:i,destWidth:l,destHeight:s}}var _we=typeof window>"u";function xwe(){return _we?new OffscreenCanvas(1,1):document.createElement("canvas")}var iK="FastAverageColor: ";function g3(e,t,r){t||(console.error(iK+e),r&&console.error(r))}function Ib(e){return Error(iK+e)}var lK=(function(){function e(){this.canvas=null,this.ctx=null}return e.prototype.getColorAsync=function(t,r){if(!t)return Promise.reject(Ib("call .getColorAsync() without resource."));if(typeof t=="string"){if(typeof Image>"u")return Promise.reject(Ib("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(aK(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=rK(r);if(!t)return g3("call .getColor(null) without resource",r.silent),this.prepareResult(o);var a=fwe(t),i=ywe(a,r);if(!i.srcWidth||!i.srcHeight||!i.destWidth||!i.destHeight)return g3('incorrect sizes for resource "'.concat(nK(t),'"'),r.silent),this.prepareResult(o);if(this.canvas||(this.canvas=xwe()),!this.ctx&&(this.ctx=this.canvas.getContext&&this.canvas.getContext("2d"),!this.ctx))return g3("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){g3("security error (CORS) for resource ".concat(nK(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=rK(r);if(a<o)return i;var l=a-a%o,s=(r.step||1)*o,c;switch(r.algorithm||"sqrt"){case"simple":c=pwe;break;case"sqrt":c=mwe;break;case"dominant":c=uwe;break;default:throw Ib("".concat(r.algorithm," is unknown algorithm"))}return c(t,l,{defaultColor:i,ignoredColor:nwe(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=owe(t);return{value:[t[0],t[1],t[2],t[3]],rgb:"rgb("+r.join(",")+")",rgba:"rgba("+o.join(",")+")",hex:tK(r),hexa:tK(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(Ib('Error loading image "'.concat(t.src,'".')))},c=function(){u(),i(Ib('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 cK=n(vu(),1);JZ([eK]);var ag="#FFF",uK="#000";function kwe(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 v3(){return v3.fastAverageColor||(v3.fastAverageColor=new lK),v3.fastAverageColor}var Fd=Sh(async e=>{if(!e)return ag;let{r:t,g:r,b:o,a}=Br(ag).toRgb();try{let i=(0,cK.applyFilters)("media.crossOrigin",void 0,e);return(await v3().getColorAsync(e,{defaultColor:[t,r,o,a*255],silent:!0,crossOrigin:i})).hex}catch{return ag}});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=kwe(o,a);return Br(i).isDark()}var Qt=n(y(),1),{openMediaEditorModalKey:wwe}=U(Kr.privateApis);function Cwe(e){return[["core/paragraph",{style:{typography:{textAlign:"center"}},placeholder:(0,ML.__)("Write title\u2026"),...e}]]}var Swe=(e,t)=>!e&&(0,pK.isBlobURL)(t);function Twe({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,Lb.useEntityProp)("postType",c,"featured_media",s),{getSettings:A}=(0,bu.useSelect)(Kr.store),z=(0,bu.useSelect)(Se=>Se(Kr.store).getSettings()[wwe],[]),{__unstableMarkNextChangeAsNotPersistent:j}=(0,bu.useDispatch)(Kr.store),G=(0,Rn.useRef)({attributes:e,overlayColor:o});(0,Rn.useLayoutEffect)(()=>{G.current={attributes:e,overlayColor:o}});let{media:W}=(0,bu.useSelect)(Se=>({media:L&&f?Se(Lb.store).getEntityRecord("postType","attachment",L,{context:"view"}):void 0}),[L,f]),$=W?.media_details?.sizes?.[D]?.source_url??W?.source_url;(0,Rn.useEffect)(()=>{(async()=>{if(!f)return;let Se=await Fd($),{attributes:it,overlayColor:hr}=G.current,wr=hr.color;it.isUserOverlayColor||(wr=Se,j(),i(wr));let Ro=Rp(it.dimRatio,wr,Se);j(),a({isDark:Ro,isUserOverlayColor:it.isUserOverlayColor||!1})})()},[$,j,a,i,f]);let V=f?$:m?.replaceAll("&amp;","&"),Q=f?Yt:d,{createErrorNotice:Y}=(0,bu.useDispatch)(mK.store),{gradientClass:ee,gradientValue:te}=(0,Kr.__experimentalUseGradient)(),ae=async Se=>{let it=vZ(Se),hr=[Se?.type,Se?.media_type].includes(Yt),wr=await Fd(hr?Se?.url:void 0),{attributes:Ro,overlayColor:rl}=G.current,Aa=rl.color;Ro.isUserOverlayColor||(Aa=wr,i(Aa),j());let Fs=Ro.url===void 0&&Ro.dimRatio===100?50:Ro.dimRatio,Ma=Rp(Fs,Aa,wr);if(Q===Yt&&it?.id){let{imageDefaultSize:ol}=A();D&&(Se?.sizes?.[D]||Se?.media_details?.sizes?.[D])?(it.sizeSlug=D,it.url=Se?.sizes?.[D]?.url||Se?.media_details?.sizes?.[D]?.source_url):Se?.sizes?.[ol]||Se?.media_details?.sizes?.[ol]?(it.sizeSlug=ol,it.url=Se?.sizes?.[ol]?.url||Se?.media_details?.sizes?.[ol]?.source_url):it.sizeSlug=Vd}a({...it,focalPoint:void 0,useFeaturedImage:void 0,dimRatio:Fs,isDark:Ma,isUserOverlayColor:Ro.isUserOverlayColor||!1})},J=()=>{let Se=o.color;!I&&o.color&&(Se=uK,i(void 0),j());let it=Rp(h,Se,ag);a({url:void 0,id:void 0,backgroundType:void 0,focalPoint:void 0,hasParallax:void 0,isRepeated:void 0,useFeaturedImage:void 0,isDark:it})},ce=async Se=>{let it=await Fd(V),{attributes:hr}=G.current,wr=Rp(hr.dimRatio,Se,it);i(Se),j(),a({isUserOverlayColor:!0,isDark:wr})},ie=async Se=>{let it=await Fd(V),{overlayColor:hr}=G.current,wr=Rp(Se,hr.color,it);a({dimRatio:Se,isDark:wr})},we=Se=>{Y(Se,{type:"snackbar"})},se=Se=>{a({url:Se,backgroundType:hu,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:ge}=(0,bu.useSelect)(Se=>{if(Q!==hu||!V)return{embedPreview:void 0,isFetchingEmbed:!1};let{getEmbedPreview:it,isRequestingEmbedPreview:hr}=Se(Lb.store);return{embedPreview:it(V),isFetchingEmbed:hr(V)}},[V,Q]),oe=(0,Rn.useMemo)(()=>Q!==hu||!de?.html?null:AZ(de.html),[de,Q]),[me,le]=(0,Rn.useState)(!1),Pe=Swe(p,V),Ee=Yt===Q,X=Er===Q,Ce=hu===Q,pe=(0,Kr.useBlockEditingMode)(),$e=pe==="default",[fe,{height:Ae,width:Ft}]=(0,b3.useResizeObserver)(),ze=(0,Rn.useMemo)(()=>({height:x==="px"&&k?k:"auto",width:"auto"}),[k,x]),ro=k&&x?`${k}${x}`:k,oo=!(v||_),vo={minHeight:ro||void 0},bo=V?`url(${V})`:void 0,ta=nn(g),Ra={backgroundColor:o.color},ne={objectPosition:g&&oo?nn(g):void 0},Ve=!!(V||o.color||te),Je=(0,bu.useSelect)(Se=>Se(Kr.store).getBlock(t).innerBlocks.length>0,[t]),St=(0,Rn.useRef)(),qe=(0,Kr.useBlockProps)({ref:St}),[yo]=(0,Kr.useSettings)("typography.fontSizes"),Tn=yo?.length>0,Hl=Cwe({fontSize:Tn?"large":void 0}),ot=(0,Kr.useInnerBlocksProps)({className:"wp-block-cover__inner-container"},{template:Je?void 0:Hl,templateInsertUpdatesSelection:!0,allowedBlocks:C,templateLock:P,dropZoneElement:St.current}),Lo=(0,Rn.useRef)(),tp=(0,Rn.useRef)(),pi={isVideoBackground:X,isImageBackground:Ee,mediaElement:Lo,hasInnerBlocks:Je,url:V,isImgElement:oo,overlayColor:o},sh=(0,Rn.useCallback)(()=>{!p||!z||z({id:p,onClose:()=>{tp.current?.focus()},onUpdate:async({id:Se,url:it})=>{if(typeof Se!="number")return;Se!==p&&it&&le(!0);let hr={id:Se,backgroundType:Yt,...it?{url:it}:{},...Se!==p?{sizeSlug:Vd}:{}};if(it){let rl=await Fd(it),{attributes:Aa,overlayColor:Fs}=G.current,Ma=Fs.color;Aa.isUserOverlayColor||(Ma=rl,i(Ma),j()),hr.isDark=Rp(Aa.dimRatio,Ma,rl),hr.isUserOverlayColor=Aa.isUserOverlayColor||!1}a(hr);let{hasParallax:wr,isRepeated:Ro}=G.current.attributes;(wr||Ro)&&le(!1)}})},[p,z,a,i,j]),Fm=$e&&!f&&Ee&&!!p&&!!V&&!Pe&&!!z,Ko=async()=>{let Se=!f,it=Se?await Fd($):ag,{attributes:hr,overlayColor:wr}=G.current,Ro=hr.isUserOverlayColor?wr.color:it;hr.isUserOverlayColor||(i(Se?Ro:void 0),j());let rl=hr.dimRatio===100?50:hr.dimRatio,Aa=Rp(rl,Ro,it);a({id:void 0,url:void 0,useFeaturedImage:Se,dimRatio:rl,backgroundType:f?Yt:void 0,isDark:Aa})},ra=(0,Qt.jsx)(zZ,{attributes:e,setAttributes:a,onSelectMedia:ae,onSelectEmbedUrl:se,currentSettings:pi,toggleUseFeaturedImage:Ko,onClearMedia:J,blockEditingMode:pe,onEditMedia:sh,editMediaButtonRef:tp,showEditMediaButton:Fm,isEditMediaDisabled:me}),Xc=(0,Qt.jsx)(NZ,{attributes:e,setAttributes:a,clientId:t,setOverlayColor:ce,coverRef:St,currentSettings:pi,toggleUseFeaturedImage:Ko,updateDimRatio:ie,onClearMedia:J,featuredImage:W}),ch={className:"block-library-cover__resize-container",clientId:t,height:Ae,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:Ft};if(!f&&!Je&&!Ve)return(0,Qt.jsxs)(Qt.Fragment,{children:[ra,Xc,$e&&r&&(0,Qt.jsx)(EL,{...ch}),(0,Qt.jsxs)(B,{...qe,className:S("is-placeholder",qe.className),style:{...qe.style,minHeight:ro||void 0},children:[fe,(0,Qt.jsx)(PL,{onSelectMedia:ae,onError:we,toggleUseFeaturedImage:Ko,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 rp=S({"is-dark-theme":b,"is-light":!b,"is-transient":Pe||me,"has-parallax":v,"is-repeated":_,"has-custom-content-position":!pa(u)},Ua(u)),uh=V||!f||f&&!V;return(0,Qt.jsxs)(Qt.Fragment,{children:[ra,Xc,(0,Qt.jsxs)(B,{...qe,className:S(rp,qe.className),style:{...vo,...qe.style},"data-url":V,children:[fe,!V&&f&&(0,Qt.jsx)(Hd.Placeholder,{className:"wp-block-cover__image--placeholder-image",withIllustration:!0}),V&&Ee&&(oo?(0,Qt.jsx)("img",{ref:Lo,className:"wp-block-cover__image-background",alt:w,src:V,style:ne,onLoad:()=>le(!1),onError:()=>le(!1)}):(0,Qt.jsx)("div",{ref:Lo,role:w?"img":void 0,"aria-label":w||void 0,className:S(rp,"wp-block-cover__image-background"),style:{backgroundImage:bo,backgroundPosition:ta}})),V&&X&&(0,Qt.jsx)("video",{ref:Lo,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:Lo,className:"wp-block-cover__video-background wp-block-cover__embed-background",style:ne,children:(0,Qt.jsx)(Hd.SandBox,{allowSameOrigin:!0,html:oe,title:"Background video",styles:["iframe{position:fixed;top:0;left:0;width:100%;height:100%;}"]})}),Ce&&!oe&&ge&&(0,Qt.jsx)(Hd.Spinner,{}),uh&&(0,Qt.jsx)("span",{"aria-hidden":"true",className:S("wp-block-cover__background",gl(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,...Ra}}),(Pe||me)&&(0,Qt.jsx)(Hd.Spinner,{}),(0,Qt.jsx)(PL,{disableMediaButtons:!0,onSelectMedia:ae,onError:we,toggleUseFeaturedImage:Ko}),(0,Qt.jsx)("div",{...ot})]}),$e&&r&&(0,Qt.jsx)(EL,{...ch})]})}var dK=(0,b3.compose)([(0,Kr.withColors)({overlayColor:"background-color"})])(Twe);var y3={$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 rc=n(y(),1);function fK({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=hu===t,T=!(u||m),L={minHeight:P||void 0},A={backgroundColor:w?void 0:i,background:a||void 0},z=s&&T?nn(s):void 0,j=f?`url(${f})`:void 0,G=nn(s),W=S({"is-light":!p,"has-parallax":u,"is-repeated":m,"has-custom-content-position":!pa(o)},Ua(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,rc.jsxs)(_,{...Ap.useBlockProps.save({className:W,style:L}),children:[!c&&B&&f&&(T?(0,rc.jsx)("img",{className:$,alt:h,src:f,style:{objectPosition:z},"data-object-fit":"cover","data-object-position":z}):(0,rc.jsx)("div",{role:h?"img":void 0,"aria-label":h||void 0,className:$,style:{backgroundPosition:G,backgroundImage:j}})),I&&f&&(0,rc.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,rc.jsx)("figure",{className:S("wp-block-cover__video-background","wp-block-cover__embed-background","wp-block-embed"),children:(0,rc.jsx)("div",{className:"wp-block-embed__wrapper",children:f})}),(0,rc.jsx)("span",{"aria-hidden":"true",className:S("wp-block-cover__background",w,gl(l),{"has-background-dim":l!==void 0,"wp-block-cover__gradient-background":f&&V&&l!==0,"has-background-gradient":V,[C]:C}),style:A}),(0,rc.jsx)("div",{...Ap.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})})]})}var Ti=n(q(),1),hK=n(E(),1);var{cleanEmptyObject:_3}=U(hK.privateApis),Ewe={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:_3({...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:_3({...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=_3(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:_3({...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)}}]},gK=Ewe;var zL=n(N(),1);var Bwe=[{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:Qm}],vK=Bwe;var{fieldsKey:Nwe,formKey:Iwe}=U(bK.privateApis),{name:yK}=y3,x3={icon:Qm,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:gK,save:fK,edit:dK,deprecated:bZ,variations:vK};window.__experimentalContentOnlyInspectorFields&&(x3[Nwe]=[{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})}],x3[Iwe]={fields:["background"]});var Dwe=()=>R({name:yK,metadata:y3,settings:x3});var FL={};K(FL,{init:()=>Owe,metadata:()=>k3,name:()=>TK,settings:()=>C3});var Mp=n(N(),1),SK=n(q(),1);var k3={$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 ss=n(E(),1),oc=n(O(),1),yu=n(N(),1),_K=n(H(),1),xK=n(F(),1);var Ga=n(y(),1),{withIgnoreIMEEvents:Rwe}=U(oc.privateApis),Awe=[["core/paragraph",{placeholder:(0,yu.__)("Type / to add a hidden block")}]];function Mwe({attributes:e,setAttributes:t,clientId:r}){let{name:o,showContent:a,summary:i,allowedBlocks:l,placeholder:s}=e,c=(0,ss.useBlockProps)(),u=(0,ss.useInnerBlocksProps)(c,{template:Awe,__experimentalCaptureToolbars:!0,allowedBlocks:l}),[p,m]=(0,_K.useState)(a),d=Z(),f=(0,xK.useSelect)(v=>v(ss.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,Ga.jsxs)(Ga.Fragment,{children:[(0,Ga.jsx)(ss.InspectorControls,{children:(0,Ga.jsx)(oc.__experimentalToolsPanel,{label:(0,yu.__)("Settings"),resetAll:()=>{t({showContent:!1})},dropdownMenuProps:d,children:(0,Ga.jsx)(oc.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,yu.__)("Open by default"),hasValue:()=>a,onDeselect:()=>{t({showContent:!1})},children:(0,Ga.jsx)(oc.ToggleControl,{label:(0,yu.__)("Open by default"),checked:a,onChange:()=>t({showContent:!a})})})})}),(0,Ga.jsx)(ss.InspectorControls,{group:"advanced",children:(0,Ga.jsx)(oc.TextControl,{label:(0,yu.__)("Name attribute"),value:o||"",onChange:v=>t({name:v}),help:(0,yu.__)("Enables multiple Details blocks with the same name attribute to be connected, with only one open at a time.")})}),(0,Ga.jsxs)("details",{...u,open:p||f,onToggle:v=>m(v.target.open),name:o||"",children:[(0,Ga.jsx)("summary",{onKeyDown:Rwe(h),onKeyUp:g,children:(0,Ga.jsx)(ss.RichText,{identifier:"summary","aria-label":(0,yu.__)("Write summary. Press Enter to expand or collapse the details."),placeholder:s||(0,yu.__)("Write summary\u2026"),withoutInteractiveFormatting:!0,value:i,onChange:v=>t({summary:v})})}),u.children]})]})}var kK=Mwe;var lg=n(E(),1),ig=n(y(),1);function wK({attributes:e}){let{name:t,showContent:r}=e,o=e.summary?e.summary:"Details",a=lg.useBlockProps.save();return(0,ig.jsxs)("details",{...a,name:t||void 0,open:r,children:[(0,ig.jsx)("summary",{children:(0,ig.jsx)(lg.RichText.Content,{value:o})}),(0,ig.jsx)(lg.InnerBlocks.Content,{})]})}var w3=n(q(),1),CK={from:[{type:"block",isMultiBlock:!0,blocks:["*"],isMatch({},e){return!(e.length===1&&e[0].name==="core/details")},__experimentalConvert(e){return(0,w3.createBlock)("core/details",{},e.map(t=>(0,w3.cloneSanitizedBlock)(t)))}}]};var{fieldsKey:zwe,formKey:Vwe}=U(SK.privateApis),{name:TK}=k3,C3={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:wK,edit:kK,transforms:CK};window.__experimentalContentOnlyInspectorFields&&(C3[zwe]=[{id:"summary",label:(0,Mp.__)("Summary"),type:"text",Edit:"rich-text"}],C3[Vwe]={fields:["summary"]});var Owe=()=>R({name:TK,metadata:k3,settings:C3});var WL={};K(WL,{init:()=>Kwe,metadata:()=>$s,name:()=>sY,settings:()=>cY});var Ud=n(N(),1),pg=n(H(),1),Rb=n(F(),1),B3=n(E(),1),GL=n(re(),1);var jd=n(N(),1),nc=n(O(),1),S3=n(E(),1);var bl=n(y(),1);function Fwe(e){return e?(0,jd.__)("This embed will preserve its aspect ratio when the browser is resized."):(0,jd.__)("This embed may not preserve its aspect ratio when the browser is resized.")}var Hwe=({blockSupportsResponsive:e,showEditButton:t,themeSupportsResponsive:r,allowResponsive:o,toggleResponsive:a,switchBackToURLInput:i})=>{let l=Z();return(0,bl.jsxs)(bl.Fragment,{children:[(0,bl.jsx)(S3.BlockControls,{children:(0,bl.jsx)(nc.ToolbarGroup,{children:t&&(0,bl.jsx)(nc.ToolbarButton,{className:"components-toolbar__control",label:(0,jd.__)("Edit URL"),icon:nd,onClick:i})})}),r&&e&&(0,bl.jsx)(S3.InspectorControls,{children:(0,bl.jsx)(nc.__experimentalToolsPanel,{label:(0,jd.__)("Media settings"),resetAll:()=>{a(!0)},dropdownMenuProps:l,children:(0,bl.jsx)(nc.__experimentalToolsPanelItem,{label:(0,jd.__)("Media settings"),isShownByDefault:!0,hasValue:()=>!o,onDeselect:()=>{a(!o)},children:(0,bl.jsx)(nc.ToggleControl,{label:(0,jd.__)("Resize for smaller devices"),checked:o,help:Fwe,onChange:a})})})})]})},PK=Hwe;var Te=n(O(),1),Ie=n(y(),1),cs=(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"})}),T3=(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"})}),sg=(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"})}),EK={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"})})},BK={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"})})},NK={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"})})},IK=(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"})})}),DK={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"})})})},LK={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"})})},RK=(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"})}),AK={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"})})})},MK=(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"})}),zK={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"})})},VK=(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"})]}),OK=(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"})]}),FK=(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"})}),HK=(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"})}),jK=(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"})}),UK={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"})]})},GK=(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 WK=n(O(),1),jL=n(y(),1),jwe=()=>(0,jL.jsx)("div",{className:"wp-block-embed is-loading",children:(0,jL.jsx)(WK.Spinner,{})}),$K=jwe;var ac=n(N(),1),zp=n(O(),1),qK=n(E(),1);var Wa=n(y(),1);function ZK({icon:e,label:t,value:r,onSubmit:o,onChange:a,cannotEmbed:i,fallback:l,tryAgain:s}){return(0,Wa.jsxs)(zp.Placeholder,{icon:(0,Wa.jsx)(qK.BlockIcon,{icon:e,showColors:!0}),label:t,className:"wp-block-embed",instructions:(0,ac.__)("Paste a link to the content you want to display on your site."),children:[(0,Wa.jsxs)("form",{onSubmit:o,children:[(0,Wa.jsx)(zp.__experimentalInputControl,{type:"url",value:r||"",className:"wp-block-embed__placeholder-input",label:t,hideLabelFromVision:!0,placeholder:(0,ac.__)("Enter URL to embed here\u2026"),onChange:a}),(0,Wa.jsx)(zp.Button,{__next40pxDefaultSize:!0,variant:"primary",type:"submit",children:(0,ac._x)("Embed","button label")})]}),(0,Wa.jsx)("div",{className:"wp-block-embed__learn-more",children:(0,Wa.jsx)(cu,{openInNewTab:!0,href:(0,ac.__)("https://wordpress.org/documentation/article/embeds/"),children:(0,ac.__)("Learn more about embeds")})}),i&&(0,Wa.jsxs)(kp,{direction:"column",gap:"md",className:"components-placeholder__error",children:[(0,Wa.jsx)("div",{className:"components-placeholder__instructions",children:(0,ac.__)("Sorry, this content could not be embedded.")}),(0,Wa.jsxs)(kp,{direction:"row",gap:"md",justify:"flex-start",children:[(0,Wa.jsx)(zp.Button,{__next40pxDefaultSize:!0,variant:"secondary",onClick:s,children:(0,ac._x)("Try again","button label")}),l&&(0,Wa.jsx)(zp.Button,{__next40pxDefaultSize:!0,variant:"secondary",onClick:l,children:(0,ac._x)("Convert to link","button label")})]})]})]})}var ug=n(N(),1),E3=n(O(),1),YK=n(E(),1),QK=n(H(),1),XK=n(ir(),1);var P3=n(ve(),1),cg=n(H(),1),UL=n(y(),1),Uwe={class:"className",frameborder:"frameBorder",marginheight:"marginHeight",marginwidth:"marginWidth"};function KK({html:e}){let t=(0,cg.useRef)(),r=(0,cg.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[Uwe[l]||l]=s)}),i},[e]);return(0,cg.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,P3.useMergeRefs)([t,(0,P3.useFocusableIframe)()]),title:r.title,...r})})}var $a=n(y(),1);function JK({preview:e,previewable:t,url:r,type:o,isSelected:a,className:i,icon:l,label:s}){let[c,u]=(0,QK.useState)(!1);!a&&c&&u(!1);let p=()=>{u(!0)},{scripts:m}=e,d=o==="photo"?Uj(e):e.html,f=(0,XK.getAuthority)(r),h=(0,ug.sprintf)((0,ug.__)("Embedded content from %s"),f),g=S(o,i,"wp-block-embed__wrapper");return(0,$a.jsx)($a.Fragment,{children:t?o==="wp-embed"?(0,$a.jsx)(KK,{html:d}):(0,$a.jsxs)("div",{className:"wp-block-embed__wrapper",children:[(0,$a.jsx)(E3.SandBox,{allowSameOrigin:!0,html:d,scripts:m,title:h,type:g,onFocus:p}),!c&&(0,$a.jsx)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:p})]}):(0,$a.jsxs)(E3.Placeholder,{icon:(0,$a.jsx)(YK.BlockIcon,{icon:l,showColors:!0}),label:s,children:[(0,$a.jsx)("p",{className:"components-placeholder__error",children:(0,$a.jsx)("a",{href:r,children:r})}),(0,$a.jsx)("p",{className:"components-placeholder__error",children:(0,ug.sprintf)((0,ug.__)("Embedded content from %s can't be previewed in the editor."),f)})]})})}var Pi=n(y(),1),Gwe=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,Ud._x)("Embed","block title"),icon:cs},{icon:d,title:f}=Hj(t)||m,[h,g]=(0,pg.useState)(a),[v,b]=(0,pg.useState)(!1),{invalidateResolution:_}=(0,Rb.useDispatch)(GL.store),{__unstableMarkNextChangeAsNotPersistent:k}=(0,Rb.useDispatch)(B3.store),{preview:x,fetching:w,themeSupportsResponsive:C,cannotEmbed:P,hasResolved:B}=(0,Rb.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=()=>Wj(i,x,f,o);function D(V){let{className:Q}=i,{html:Y}=x;c({allowResponsive:V,className:BI(Y,Q,o&&V)})}(0,pg.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,pg.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,B3.useBlockProps)();if(w)return(0,Pi.jsx)("div",{...T,children:(0,Pi.jsx)($K,{})});let L=(0,Ud.sprintf)((0,Ud.__)("%s URL"),f);if(!x||P||v)return(0,Pi.jsx)("div",{...T,children:(0,Pi.jsx)(ZK,{icon:d,label:L,onFocus:p,onSubmit:V=>{V&&V.preventDefault();let Q=Zv(h),Y=gp(i.className);g(Q),c({url:Q,...Ph(Q)?.attributes,className:Y}),b(!1)},value:h,cannotEmbed:P,onChange:V=>g(V),fallback:s?()=>Gj(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)(PK,{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)(JK,{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)(Mo,{attributes:i,setAttributes:c,isSelected:l,insertBlocksAfter:u,label:(0,Ud.__)("Embed caption text"),showToolbarButton:l})]})]})},eY=Gwe;var Gd=n(E(),1),Ab=n(y(),1);function tY({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,Ab.jsxs)("figure",{...Gd.useBlockProps.save({className:i}),children:[(0,Ab.jsx)("div",{className:"wp-block-embed__wrapper",children:`
${t}
`}),!Gd.RichText.isEmpty(r)&&(0,Ab.jsx)(Gd.RichText.Content,{className:(0,Gd.__experimentalGetElementClassName)("caption"),tagName:"figcaption",value:r})]})}var N3=n(q(),1),I3=n(ir(),1);var{name:rY}=$s,Wwe={from:[{type:"raw",isMatch:e=>{if(e.nodeName!=="P")return!1;let t=e.textContent.trim();return!(0,I3.isURL)(t)||!/^https:\/\//i.test(t)||t.match(/https:\/\//gi)?.length!==1?!1:!/\.(?!(html?|php)$)[a-z0-9]+$/i.test((0,I3.getFilename)(t)||"")},transform:e=>{let t=Zv(e.textContent.trim());return(0,N3.createBlock)(rY,{url:t,...Ph(t)?.attributes})}},{type:"shortcode",tag:"embed",transform:(e,{shortcode:t})=>{let r=Zv(t.content?.trim());return(0,N3.createBlock)(rY,{url:r,...Ph(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,N3.createBlock)("core/paragraph",{content:o,className:gp(r)})}}]},oY=Wwe;var ke=n(N(),1);function xt(e){return(0,ke.sprintf)((0,ke.__)("%s Embed"),e)}var nY=[{name:"twitter",title:xt("X"),icon:EK,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:BK,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:NK,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:IK,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:DK,keywords:[(0,ke.__)("post"),(0,ke.__)("blog")],description:(0,ke.__)("Embed a WordPress post."),attributes:{providerNameSlug:"wordpress"}},{name:"soundcloud",title:xt("SoundCloud"),icon:T3,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:LK,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:RK,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:AK,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:OK,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:cs,description:(0,ke.__)("Embed Cloudup content."),patterns:[/^https?:\/\/cloudup\.com\/.+/i],attributes:{providerNameSlug:"cloudup",responsive:!0}},{name:"collegehumor",title:xt("CollegeHumor"),icon:sg,description:(0,ke.__)("Embed CollegeHumor content."),scope:["block"],patterns:[],attributes:{providerNameSlug:"collegehumor",responsive:!0}},{name:"crowdsignal",title:xt("Crowdsignal"),icon:cs,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:FK,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:cs,description:(0,ke.__)("Embed Issuu content."),patterns:[/^https?:\/\/(www\.)?issuu\.com\/.+/i],attributes:{providerNameSlug:"issuu",responsive:!0}},{name:"kickstarter",title:xt("Kickstarter"),icon:cs,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:T3,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:UK,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:MK,description:(0,ke.__)("Embed a Reddit thread."),patterns:[/^https?:\/\/(www\.)?reddit\.com\/.+/i],attributes:{providerNameSlug:"reddit",responsive:!0}},{name:"reverbnation",title:xt("ReverbNation"),icon:T3,description:(0,ke.__)("Embed ReverbNation content."),patterns:[/^https?:\/\/(www\.)?reverbnation\.com\/.+/i],attributes:{providerNameSlug:"reverbnation",responsive:!0}},{name:"scribd",title:xt("Scribd"),icon:cs,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:cs,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:sg,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:sg,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:zK,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:sg,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:sg,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:VK,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:HK,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:jK,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:GK,description:(0,ke.__)("Embed a Bluesky post."),patterns:[/^https?:\/\/bsky\.app\/profile\/.+\/post\/.+/i],attributes:{providerNameSlug:"bluesky"}}];nY.forEach(e=>{e.isActive||(e.isActive=(t,r)=>t.providerNameSlug===r.providerNameSlug)});var aY=nY;var Wd=n(E(),1),$d=n(y(),1),{attributes:iY}=$s,$we={attributes:iY,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,$d.jsxs)("figure",{...Wd.useBlockProps.save({className:i}),children:[(0,$d.jsx)("div",{className:"wp-block-embed__wrapper",children:`
${t}
`}),!Wd.RichText.isEmpty(r)&&(0,$d.jsx)(Wd.RichText.Content,{tagName:"figcaption",value:r})]})}},qwe={attributes:iY,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,$d.jsxs)("figure",{className:a,children:[`
${e}
`,!Wd.RichText.isEmpty(t)&&(0,$d.jsx)(Wd.RichText.Content,{tagName:"figcaption",value:t})]})}},Zwe=[$we,qwe],lY=Zwe;var{name:sY}=$s,cY={icon:cs,edit:eY,save:tY,transforms:oY,variations:aY,deprecated:lY},Kwe=()=>R({name:sY,metadata:$s,settings:cY});var YL={};K(YL,{init:()=>l3e,metadata:()=>L3,name:()=>NY,settings:()=>R3});var fg=n(N(),1);var BY=n(q(),1);var Co=n(E(),1),us=n(N(),1),Xt=n(y(),1),Ywe={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,us.__)("PDF embed"):(0,us.sprintf)((0,us.__)("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})})]})}},Qwe={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,us.__)("PDF embed"):(0,us.sprintf)((0,us.__)("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})})]})}},Xwe={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,us.__)("PDF embed"):(0,us.sprintf)((0,us.__)("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})})]})}},Jwe=[Ywe,Qwe,Xwe],uY=Jwe;var qL=n(Ar(),1),dg=n(O(),1),mg=n(F(),1),cn=n(E(),1),hY=n(H(),1),gY=n(ve(),1),_u=n(N(),1);var vY=n(re(),1),ZL=n(Sr(),1),bY=n(ir(),1);var ln=n(N(),1),sn=n(O(),1),pY=n(E(),1);var Vo=n(y(),1);function mY({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,ln.__)("URL")}];return d&&(h=[{value:p,label:(0,ln.__)("Media file")},{value:d,label:(0,ln.__)("Attachment page")}]),(0,Vo.jsx)(Vo.Fragment,{children:(0,Vo.jsxs)(pY.InspectorControls,{children:[p.endsWith(".pdf")&&(0,Vo.jsxs)(sn.__experimentalToolsPanel,{label:(0,ln.__)("PDF settings"),resetAll:()=>{s(!0),u(600)},dropdownMenuProps:f,children:[(0,Vo.jsx)(sn.__experimentalToolsPanelItem,{label:(0,ln.__)("Show inline embed"),isShownByDefault:!0,hasValue:()=>!l,onDeselect:()=>s(!0),children:(0,Vo.jsx)(sn.ToggleControl,{label:(0,ln.__)("Show inline embed"),help:l?(0,ln.__)("Note: Most phone and tablet browsers won't display embedded PDFs."):null,checked:!!l,onChange:s})}),l&&(0,Vo.jsx)(sn.__experimentalToolsPanelItem,{label:(0,ln.__)("Height in pixels"),isShownByDefault:!0,hasValue:()=>c!==600,onDeselect:()=>u(600),children:(0,Vo.jsx)(sn.RangeControl,{label:(0,ln.__)("Height in pixels"),min:D3,max:Math.max($L,c),value:c,onChange:u})})]}),(0,Vo.jsxs)(sn.__experimentalToolsPanel,{label:(0,ln.__)("Settings"),resetAll:()=>{o(p),a(!1),i(!0)},dropdownMenuProps:f,children:[(0,Vo.jsx)(sn.__experimentalToolsPanelItem,{label:(0,ln.__)("Link to"),isShownByDefault:!0,hasValue:()=>m!==p,onDeselect:()=>o(p),children:(0,Vo.jsx)(sn.SelectControl,{label:(0,ln.__)("Link to"),value:m,options:h,onChange:o})}),(0,Vo.jsx)(sn.__experimentalToolsPanelItem,{label:(0,ln.__)("Open in new tab"),isShownByDefault:!0,hasValue:()=>!!t,onDeselect:()=>a(!1),children:(0,Vo.jsx)(sn.ToggleControl,{label:(0,ln.__)("Open in new tab"),checked:t,onChange:a})}),(0,Vo.jsx)(sn.__experimentalToolsPanelItem,{label:(0,ln.__)("Show download button"),isShownByDefault:!0,hasValue:()=>!r,onDeselect:()=>i(!0),children:(0,Vo.jsx)(sn.ToggleControl,{label:(0,ln.__)("Show download button"),checked:r,onChange:i})})]})]})})}var fY=()=>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)&&!(dY("AcroPDF.PDF")||dY("PDF.PdfCtrl"))),dY=e=>{let t;try{t=new window.ActiveXObject(e)}catch{t=void 0}return t};var Yr=n(y(),1),D3=200,$L=2e3;function e3e({text:e,disabled:t}){let{createNotice:r}=(0,mg.useDispatch)(ZL.store),o=(0,gY.useCopyToClipboard)(e,()=>{r("info",(0,_u.__)("Copied URL to clipboard."),{isDismissible:!0,type:"snackbar"})});return(0,Yr.jsx)(dg.ToolbarButton,{className:"components-clipboard-toolbar-button",ref:o,disabled:t,children:(0,_u.__)("Copy URL")})}function t3e({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,hY.useState)(e.blob),{media:g}=(0,mg.useSelect)(A=>({media:a?A(vY.store).getEntityRecord("postType","attachment",a,{context:"view"}):void 0}),[a]),{createErrorNotice:v}=(0,mg.useDispatch)(ZL.store),{toggleSelection:b}=(0,mg.useDispatch)(cn.store);Gs({url:f,onChange:_,onError:k});function _(A){if(!A||!A.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)(A.url)){h(A.url);return}let z=(A.mime||A.mime_type)==="application/pdf"||(0,bY.getFilename)(A.url).toLowerCase().endsWith(".pdf"),j={displayPreview:z?e.displayPreview??!0:void 0,previewHeight:z?e.previewHeight??600:void 0};r({href:A.url,fileName:A.title,textLinkHref:A.url,id:A.id,fileId:`wp-block-file--media-${o}`,blob:void 0,...j}),h()}function k(A){r({href:void 0}),v(A,{type:"snackbar"})}function x(A){r({textLinkHref:A})}function w(A){r({textLinkTarget:A?"_blank":!1})}function C(A){r({showDownloadButton:A})}function P(A){r({displayPreview:A})}function B(A,z,j,G){b(!0);let W=parseInt(d+G.height,10);r({previewHeight:W})}function I(A){let z=Math.max(parseInt(A,10),D3);r({previewHeight:z})}let D=g&&g.link,T=(0,cn.useBlockProps)({className:S(!!f&&(0,dg.__unstableGetAnimateClassName)({type:"loading"}),{"is-transient":!!f})}),L=fY()&&m;return!l&&!f?(0,Yr.jsx)("div",{...T,children:(0,Yr.jsx)(cn.MediaPlaceholder,{icon:(0,Yr.jsx)(cn.BlockIcon,{icon:ov}),labels:{title:(0,_u.__)("File"),instructions:(0,_u.__)("Drag and drop a file, upload, or choose from your library.")},onSelect:_,onError:k,accept:"*"})}):(0,Yr.jsxs)(Yr.Fragment,{children:[(0,Yr.jsx)(mY,{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)(cn.BlockControls,{group:"other",children:[(0,Yr.jsx)(cn.MediaReplaceFlow,{mediaId:a,mediaURL:l,accept:"*",onSelect:_,onError:k,onReset:()=>_(void 0)}),(0,Yr.jsx)(e3e,{text:l,disabled:(0,qL.isBlobURL)(l)})]}),(0,Yr.jsxs)("div",{...T,children:[L&&(0,Yr.jsxs)(dg.ResizableBox,{size:{height:d,width:"100%"},minHeight:D3,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,_u.__)("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)(cn.RichText,{identifier:"fileName",tagName:"a",value:i,placeholder:(0,_u.__)("Write file name\u2026"),withoutInteractiveFormatting:!0,onChange:A=>r({fileName:db(A)}),href:s}),u&&(0,Yr.jsx)("div",{className:"wp-block-file__button-richtext-wrapper",children:(0,Yr.jsx)(cn.RichText,{identifier:"downloadButtonText",tagName:"div","aria-label":(0,_u.__)("Download button text"),className:S("wp-block-file__button",(0,cn.__experimentalGetElementClassName)("button")),value:p,withoutInteractiveFormatting:!0,placeholder:(0,_u.__)("Add text\u2026"),onChange:A=>r({downloadButtonText:db(A)})})})]})]})]})}var yY=t3e;var L3={$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 xu=n(E(),1),ps=n(y(),1);function _Y({attributes:e}){let{href:t,fileId:r,fileName:o,textLinkHref:a,textLinkTarget:i,showDownloadButton:l,downloadButtonText:s,displayPreview:c,previewHeight:u}=e,p=xu.RichText.isEmpty(o)?"PDF embed":o.toString(),m=!xu.RichText.isEmpty(o),d=m?r:void 0;return t&&(0,ps.jsxs)("div",{...xu.useBlockProps.save(),children:[c&&(0,ps.jsx)(ps.Fragment,{children:(0,ps.jsx)("object",{className:"wp-block-file__embed",data:t,type:"application/pdf",style:{width:"100%",height:`${u}px`},"aria-label":p})}),m&&(0,ps.jsx)("a",{id:d,href:a,target:i,rel:i?"noreferrer noopener":void 0,children:(0,ps.jsx)(xu.RichText.Content,{value:o})}),l&&(0,ps.jsx)("a",{href:t,className:S("wp-block-file__button",(0,xu.__experimentalGetElementClassName)("button")),download:!0,"aria-describedby":d,children:(0,ps.jsx)(xu.RichText.Content,{value:s})})]})}var Mb=n(Ar(),1),qd=n(q(),1),kY=n(F(),1),wY=n(re(),1),CY=n(N(),1),SY=n(ir(),1),xY=(0,CY._x)("Download","button label"),KL=(e,t,r)=>({type:"block",blocks:[e],isMatch:({id:o})=>{if(!o)return!1;let{getEntityRecord:a}=(0,kY.select)(wY.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})}),o3e={from:[{type:"files",isMatch(e){return e.length>0},priority:15,transform:e=>{let t=[];return e.forEach(r=>{let o=(0,Mb.createBlobURL)(r);r.type.startsWith("video/")?t.push((0,qd.createBlock)("core/video",{blob:(0,Mb.createBlobURL)(r)})):r.type.startsWith("image/")?t.push((0,qd.createBlock)("core/image",{blob:(0,Mb.createBlobURL)(r)})):r.type.startsWith("audio/")?t.push((0,qd.createBlock)("core/audio",{blob:(0,Mb.createBlobURL)(r)})):t.push((0,qd.createBlock)("core/file",{blob:o,fileName:r.name,downloadButtonText:xY}))}),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,SY.getFilename)(t),textLinkHref:t,id:e.id,anchor:e.anchor,downloadButtonText:xY})}}],to:[KL("core/audio","audio","src"),KL("core/video","video","src"),KL("core/image","image","url")]},TY=o3e;var PY=n(N(),1),n3e=[{name:"default",isDefault:!0,attributes:{downloadButtonText:(0,PY._x)("Download","button label")}}],EY=n3e;var{fieldsKey:a3e,formKey:i3e}=U(BY.privateApis),{name:NY}=L3,R3={icon:ov,example:{attributes:{href:"https://upload.wikimedia.org/wikipedia/commons/d/dd/Armstrong_Small_Step.ogg",fileName:(0,fg._x)("Armstrong_Small_Step","Name of the file")}},transforms:TY,deprecated:uY,edit:yY,save:_Y,variations:EY};window.__experimentalContentOnlyInspectorFields&&(R3[a3e]=[{id:"file",label:(0,fg.__)("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,fg.__)("Filename"),type:"text",Edit:"rich-text"},{id:"downloadButtonText",label:(0,fg.__)("Button Text"),type:"text",Edit:"rich-text"}],R3[i3e]={fields:["file","fileName","downloadButtonText"]});var l3e=()=>R({name:NY,metadata:L3,settings:R3});var tR={};K(tR,{init:()=>d3e,metadata:()=>z3,name:()=>VY,settings:()=>OY});var zY=n(vu(),1);var Oo=n(N(),1),ms=n(E(),1),ds=n(O(),1),IY=n(F(),1);var QL=n(N(),1),A3=["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>"}]]],M3=["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 da=n(y(),1),s3e=[A3,M3,["core/form-input",{type:"text",label:(0,Oo.__)("Name"),required:!0}],["core/form-input",{type:"email",label:(0,Oo.__)("Email"),required:!0}],["core/form-input",{type:"textarea",label:(0,Oo.__)("Comment"),required:!0}],["core/form-submit-button",{}]],c3e=({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,ms.useBlockProps)(),{hasInnerBlocks:p}=(0,IY.useSelect)(d=>{let{getBlock:f}=d(ms.store),h=f(r);return{hasInnerBlocks:!!(h&&h.innerBlocks.length)}},[r]),m=(0,ms.useInnerBlocksProps)(u,{template:s3e,renderAppender:p?void 0:ms.InnerBlocks.ButtonBlockAppender});return(0,da.jsxs)(da.Fragment,{children:[(0,da.jsx)(ms.InspectorControls,{children:(0,da.jsxs)(ds.__experimentalToolsPanel,{dropdownMenuProps:o,label:(0,Oo.__)("Settings"),resetAll:a,children:[(0,da.jsx)(ds.__experimentalToolsPanelItem,{hasValue:()=>c!=="email",label:(0,Oo.__)("Submissions method"),onDeselect:()=>t({submissionMethod:"email"}),isShownByDefault:!0,children:(0,da.jsx)(ds.SelectControl,{label:(0,Oo.__)("Submissions method"),options:[{label:(0,Oo.__)("Send email"),value:"email"},{label:(0,Oo.__)("- Custom -"),value:"custom"}],value:c,onChange:d=>t({submissionMethod:d}),help:c==="custom"?(0,Oo.__)('Select the method to use for form submissions. Additional options for the "custom" mode can be found in the "Advanced" section.'):(0,Oo.__)("Select the method to use for form submissions.")})}),c==="email"&&(0,da.jsx)(ds.__experimentalToolsPanelItem,{hasValue:()=>!!s,label:(0,Oo.__)("Email for form submissions"),onDeselect:()=>t({email:void 0,action:void 0,method:"post"}),isShownByDefault:!0,children:(0,da.jsx)(ds.TextControl,{autoComplete:"off",label:(0,Oo.__)("Email for form submissions"),value:s||"",required:!0,onChange:d=>{t({email:d}),t({action:`mailto:${d}`}),t({method:"post"})},help:(0,Oo.__)("The email address where form submissions will be sent. Separate multiple email addresses with a comma."),type:"email"})})]})}),c!=="email"&&(0,da.jsxs)(ms.InspectorControls,{group:"advanced",children:[(0,da.jsx)(ds.SelectControl,{label:(0,Oo.__)("Method"),options:[{label:"Get",value:"get"},{label:"Post",value:"post"}],value:l,onChange:d=>t({method:d}),help:(0,Oo.__)("Select the method to use for form submissions.")}),(0,da.jsx)(ds.TextControl,{autoComplete:"off",label:(0,Oo.__)("Form action"),value:i,onChange:d=>{t({action:d})},help:(0,Oo.__)("The URL where the form should be submitted."),type:"url"})]}),(0,da.jsx)("form",{...m,encType:c==="email"?"text/plain":null})]})},DY=c3e;var z3={$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 V3=n(E(),1),XL=n(y(),1);function LY({attributes:e}){let t=V3.useBlockProps.save(),{submissionMethod:r}=e;return(0,XL.jsx)("form",{...t,encType:r==="email"?"text/plain":null,children:(0,XL.jsx)(V3.InnerBlocks.Content,{})})}var yl=n(N(),1);var p3e=[{name:"comment-form",title:(0,yl.__)("Experimental Comment form"),description:(0,yl.__)("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,yl.__)("Name"),required:!0,visibilityPermissions:"logged-out"}],["core/form-input",{type:"email",name:"email",label:(0,yl.__)("Email"),required:!0,visibilityPermissions:"logged-out"}],["core/form-input",{type:"textarea",name:"comment",label:(0,yl.__)("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,yl.__)("Experimental Privacy Request Form"),keywords:["GDPR"],description:(0,yl.__)("A form to request data exports and/or deletion."),attributes:{submissionMethod:"custom",action:"",method:"post",anchor:"gdpr-form"},isDefault:!1,innerBlocks:[A3,M3,["core/paragraph",{content:(0,yl.__)("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,yl.__)("Enter your email address."),required:!0,visibilityPermissions:"all"}],["core/form-input",{type:"checkbox",name:"export_personal_data",label:(0,yl.__)("Request data export"),required:!1,visibilityPermissions:"all"}],["core/form-input",{type:"checkbox",name:"remove_personal_data",label:(0,yl.__)("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"}],RY=p3e;var ic=n(E(),1),JL=n(y(),1),m3e={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,ic.__experimentalGetColorClassesAndStyles)(e),o=(0,ic.getTypographyClassesAndStyles)(e),a=(0,ic.__experimentalGetSpacingClassesAndStyles)(e),i=ic.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)(ic.InnerBlocks.Content,{})})}},AY=[m3e];var O3=n(M(),1),eR=n(y(),1),MY=(0,eR.jsx)(O3.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,eR.jsx)(O3.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:VY}=z3,OY={icon:MY,edit:DY,save:LY,deprecated:AY,variations:RY,example:{}},d3e=()=>{let e=["core/form"];return(0,zY.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}),R({name:VY,metadata:z3,settings:OY})};var oR={};K(oR,{init:()=>S3e,metadata:()=>H3,name:()=>eQ,settings:()=>tQ});var UY=n(zb(),1),fs=n(E(),1),GY=n(Pn(),1),Ei=n(y(),1),WY=e=>(0,UY.default)((0,GY.__unstableStripHTML)(e)).replace(/[^\p{L}\p{N}]+/gu,"-").toLowerCase().replace(/(^-+)|(-+$)/g,""),b3e={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,fs.__experimentalGetBorderClassesAndStyles)(e),u=(0,fs.__experimentalGetColorClassesAndStyles)(e),p={...c.style,...u.style},m=S("wp-block-form-input__input",u.className,c.className),d=t==="textarea"?"textarea":"input",f=fs.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)(fs.RichText.Content,{value:o})}),(0,Ei.jsx)(d,{className:m,type:t==="textarea"?void 0:t,name:r||WY(o),required:i,"aria-required":i,placeholder:l||void 0,style:p})]})})}},y3e={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,fs.__experimentalGetBorderClassesAndStyles)(e),u=(0,fs.__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)(fs.RichText.Content,{value:o})}),(0,Ei.jsx)(d,{className:m,type:t==="textarea"?void 0:t,name:r||WY(o),required:i,"aria-required":i,placeholder:l||void 0,style:p})]})}},_3e=[b3e,y3e],$Y=_3e;var An=n(N(),1),hs=n(E(),1),gs=n(O(),1),qY=n(H(),1);var io=n(y(),1);function x3e({attributes:e,setAttributes:t,className:r}){let{type:o,name:a,label:i,inlineLabel:l,required:s,placeholder:c,value:u}=e,p=(0,hs.useBlockProps)(),m=Z(),d=(0,qY.useRef)(),f=o==="textarea"?"textarea":"input",h=(0,hs.__experimentalUseBorderProps)(e),g=(0,hs.__experimentalUseColorProps)(e);d.current&&d.current.focus();let v=o==="checkbox"||o==="radio",b=(0,io.jsxs)(io.Fragment,{children:[o!=="hidden"&&(0,io.jsx)(hs.InspectorControls,{children:(0,io.jsxs)(gs.__experimentalToolsPanel,{label:(0,An.__)("Settings"),resetAll:()=>{t({inlineLabel:!1,required:!1})},dropdownMenuProps:m,children:[o!=="checkbox"&&(0,io.jsx)(gs.__experimentalToolsPanelItem,{label:(0,An.__)("Inline label"),hasValue:()=>!!l,onDeselect:()=>t({inlineLabel:!1}),isShownByDefault:!0,children:(0,io.jsx)(gs.CheckboxControl,{label:(0,An.__)("Inline label"),checked:l,onChange:k=>{t({inlineLabel:k})}})}),(0,io.jsx)(gs.__experimentalToolsPanelItem,{label:(0,An.__)("Required"),hasValue:()=>!!s,onDeselect:()=>t({required:!1}),isShownByDefault:!0,children:(0,io.jsx)(gs.CheckboxControl,{label:(0,An.__)("Required"),checked:s,onChange:k=>{t({required:k})}})})]})}),(0,io.jsxs)(hs.InspectorControls,{group:"advanced",children:[(0,io.jsx)(gs.TextControl,{autoComplete:"off",label:(0,An.__)("Name"),value:a,onChange:k=>{t({name:k})},help:(0,An.__)('Affects the "name" attribute of the input element, and is used as a name for the form submission results.')}),o==="hidden"&&(0,io.jsx)(gs.TextControl,{autoComplete:"off",label:(0,An.__)("Value"),value:u,onChange:k=>t({value:k}),help:(0,An.__)("Sets the stored value for this hidden field.")})]})]}),_=(0,io.jsx)(hs.RichText,{tagName:"span",className:"wp-block-form-input__label-content",value:i,onChange:k=>t({label:k}),"aria-label":i?(0,An.__)("Label"):(0,An.__)("Empty label"),"data-empty":!i,placeholder:(0,An.__)("Type the label for this input")});return o==="hidden"?(0,io.jsxs)("div",{...p,children:[b,(0,io.jsx)("span",{className:"wp-block-form-input__label is-input-hidden","data-message":(0,An.__)("Hidden field")})]}):(0,io.jsxs)("div",{...p,children:[b,(0,io.jsxs)("span",{className:S("wp-block-form-input__label",{"is-label-inline":l||o==="checkbox"}),children:[!v&&_,(0,io.jsx)(f,{type:o==="textarea"?void 0:o,className:S(r,"wp-block-form-input__input",g.className,h.className),"aria-label":(0,An.__)("Optional placeholder text"),placeholder:c?void 0:(0,An.__)("Optional placeholder\u2026"),value:c,onChange:k=>t({placeholder:k.target.value}),"aria-required":s,style:{...h.style,...g.style}}),v&&_]})]})}var ZY=x3e;var H3={$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 KY=n(zb(),1),ku=n(E(),1),YY=n(Pn(),1),lc=n(y(),1),w3e=e=>(0,KY.default)((0,YY.__unstableStripHTML)(e)).replace(/[^\p{L}\p{N}]+/gu,"-").toLowerCase().replace(/(^-+)|(-+$)/g,"");function QY({attributes:e}){let{type:t,name:r,label:o,inlineLabel:a,required:i,placeholder:l,value:s}=e,c=(0,ku.__experimentalGetBorderClassesAndStyles)(e),u=(0,ku.__experimentalGetColorClassesAndStyles)(e),p={...c.style,...u.style},m=S("wp-block-form-input__input",u.className,c.className),d=t==="textarea"?"textarea":"input",f=ku.useBlockProps.save(),h=t==="checkbox"||t==="radio";return t==="hidden"?(0,lc.jsx)("input",{type:t,name:r,value:s}):(0,lc.jsx)("div",{...f,children:(0,lc.jsxs)("label",{className:S("wp-block-form-input__label",{"is-label-inline":a}),children:[!h&&(0,lc.jsx)("span",{className:"wp-block-form-input__label-content",children:(0,lc.jsx)(ku.RichText.Content,{value:o})}),(0,lc.jsx)(d,{className:m,type:t==="textarea"?void 0:t,name:r||w3e(o),required:i,"aria-required":i,placeholder:l||void 0,style:p}),h&&(0,lc.jsx)("span",{className:"wp-block-form-input__label-content",children:(0,lc.jsx)(ku.RichText.Content,{value:o})})]})})}var un=n(N(),1),C3e=[{name:"text",title:(0,un.__)("Text Input"),description:(0,un.__)("A generic text input."),attributes:{type:"text"},isDefault:!0,scope:["inserter","transform"],isActive:e=>!e?.type||e?.type==="text"},{name:"textarea",title:(0,un.__)("Textarea Input"),description:(0,un.__)("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,un.__)("Checkbox Input"),description:(0,un.__)("A simple checkbox input."),attributes:{type:"checkbox",inlineLabel:!0},isDefault:!0,scope:["inserter","transform"],isActive:e=>e?.type==="checkbox"},{name:"email",title:(0,un.__)("Email Input"),description:(0,un.__)("Used for email addresses."),attributes:{type:"email"},isDefault:!0,scope:["inserter","transform"],isActive:e=>e?.type==="email"},{name:"url",title:(0,un.__)("URL Input"),description:(0,un.__)("Used for URLs."),attributes:{type:"url"},isDefault:!0,scope:["inserter","transform"],isActive:e=>e?.type==="url"},{name:"tel",title:(0,un.__)("Telephone Input"),description:(0,un.__)("Used for phone numbers."),attributes:{type:"tel"},isDefault:!0,scope:["inserter","transform"],isActive:e=>e?.type==="tel"},{name:"number",title:(0,un.__)("Number Input"),description:(0,un.__)("A numeric input."),attributes:{type:"number"},isDefault:!0,scope:["inserter","transform"],isActive:e=>e?.type==="number"},{name:"hidden",title:(0,un.__)("Hidden Input"),icon:"visibility",description:(0,un.__)("A hidden input field."),attributes:{type:"hidden"},isDefault:!0,scope:["inserter","transform"],isActive:e=>e?.type==="hidden"}],XY=C3e;var j3=n(M(),1),rR=n(y(),1),JY=(0,rR.jsx)(j3.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,rR.jsx)(j3.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:eQ}=H3,tQ={icon:JY,deprecated:$Y,edit:ZY,save:QY,variations:XY,example:{}},S3e=()=>R({name:eQ,metadata:H3,settings:tQ});var aR={};K(aR,{init:()=>B3e,metadata:()=>G3,name:()=>iQ,settings:()=>lQ});var rQ=n(N(),1),U3=n(E(),1),oQ=n(y(),1),T3e=[["core/buttons",{},[["core/button",{text:(0,rQ.__)("Submit"),tagName:"button",type:"submit"}]]]],P3e=()=>{let e=(0,U3.useBlockProps)(),t=(0,U3.useInnerBlocksProps)(e,{template:T3e,templateLock:"all"});return(0,oQ.jsx)("div",{className:"wp-block-form-submit-wrapper",...t})},nQ=P3e;var G3={$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 W3=n(E(),1),nR=n(y(),1);function aQ(){let e=W3.useBlockProps.save();return(0,nR.jsx)("div",{className:"wp-block-form-submit-wrapper",...e,children:(0,nR.jsx)(W3.InnerBlocks.Content,{})})}var{name:iQ}=G3,lQ={edit:nQ,save:aQ,example:{}},B3e=()=>R({name:iQ,metadata:G3,settings:lQ});var iR={};K(iR,{init:()=>R3e,metadata:()=>q3,name:()=>fQ,settings:()=>hQ});var $3=n(N(),1),Vp=n(E(),1),sQ=n(F(),1);var cQ=n(y(),1),N3e=[["core/paragraph",{content:(0,$3.__)("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.")}]],I3e=({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,sQ.useSelect)(l=>{let{getBlock:s}=l(Vp.store),c=s(t);return{hasInnerBlocks:!!(c&&c.innerBlocks.length)}},[t]),i=(0,Vp.useInnerBlocksProps)(o,{template:N3e,renderAppender:a?void 0:Vp.InnerBlocks.ButtonBlockAppender});return(0,cQ.jsx)("div",{...i,"data-message-success":(0,$3.__)("Submission success notification"),"data-message-error":(0,$3.__)("Submission error notification")})},uQ=I3e;var q3={$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 Z3=n(E(),1);var pQ=n(y(),1);function mQ({attributes:e}){let{type:t}=e;return(0,pQ.jsx)("div",{...Z3.useInnerBlocksProps.save(Z3.useBlockProps.save({className:S("wp-block-form-submission-notification",{[`form-notification-type-${t}`]:t})}))})}var Zd=n(N(),1),L3e=[{name:"form-submission-success",title:(0,Zd.__)("Form Submission Success"),description:(0,Zd.__)("Success message for form submissions."),attributes:{type:"success"},isDefault:!0,innerBlocks:[["core/paragraph",{content:(0,Zd.__)("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,Zd.__)("Form Submission Error"),description:(0,Zd.__)("Error/failure message for form submissions."),attributes:{type:"error"},isDefault:!1,innerBlocks:[["core/paragraph",{content:(0,Zd.__)("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"}],dQ=L3e;var{name:fQ}=q3,hQ={icon:ed,edit:uQ,save:mQ,variations:dQ,example:{}},R3e=()=>R({name:fQ,metadata:q3,settings:hQ});var _R={};K(_R,{init:()=>T4e,metadata:()=>l4,name:()=>wX,settings:()=>CX});var Vr=n(E(),1),bQ=n(q(),1);var sc="none",cc="media",hg="lightbox",uc="attachment",gQ="file",vQ="post",Vb="large";var Ue=n(y(),1),yQ="file",_Q="post";function gg(e){return Math.min(3,e?.images?.length)}function A3e(e,t){switch(t){case yQ:return{href:e?.source_url||e?.url,linkDestination:cc};case _Q:return{href:e?.link,linkDestination:uc};case cc:return{href:e?.source_url||e?.url,linkDestination:cc};case uc:return{href:e?.link,linkDestination:uc};case sc:return{href:void 0,linkDestination:sc}}return{}}function vg(e){let t=e.linkTo?e.linkTo:"none";t==="post"?t="attachment":t==="file"&&(t="media");let r=e.images.map(l=>M3e(l,e.sizeSlug,t)),{images:o,ids:a,...i}=e;return[{...i,linkTo:t,allowResize:!1},r]}function M3e(e,t,r){return(0,bQ.createBlock)("core/image",{...e.id&&{id:parseInt(e.id)},url:e.url,alt:e.alt,caption:e.caption,sizeSlug:t,...A3e(e,r)})}var z3e={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})]})}},V3e={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=gg(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 yQ:c=s.fullUrl||s.url;break;case _Q: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 vg(e)}},O3e={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 vg(e)},save({attributes:e}){let{images:t,columns:r=gg(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})]})}},F3e={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 vg(e)},save({attributes:e}){let{images:t,columns:r=gg(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})]})}},H3e={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=gg(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 vg(e)}},j3e={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 vg(e)},supports:{align:!0},save({attributes:e}){let{images:t,columns:r=gg(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)})})}},U3e={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=gg(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 vg(e)}},xQ=[z3e,V3e,O3e,F3e,H3e,j3e,U3e];var Tt=n(O(),1),lo=n(E(),1),Gb=n(H(),1),He=n(N(),1),Wb=n(F(),1),hX=n(q(),1),vR=n(Ar(),1),gX=n(Sr(),1);var kQ=n(E(),1);var wQ=n(y(),1),K3=(0,wQ.jsx)(kQ.BlockIcon,{icon:cv});function Y3(e){return e?Math.min(3,e):3}var Q3=(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 pc=20,Kd="none",bg="media",yg="attachment",lR="custom",CQ=["noopener"],Op=["image"];var sR=["flex","grid"],Ob="full";function Fb(e,t,r,o,a){switch(r||t){case gQ:case cc:return{href:e?.source_url||e?.url,linkDestination:bg,lightbox:a?.enabled?{...o?.lightbox,enabled:!1}:void 0};case vQ:case uc:return{href:e?.link,linkDestination:yg,lightbox:a?.enabled?{...o?.lightbox,enabled:!1}:void 0};case hg:return{href:void 0,lightbox:a?.enabled?void 0:{...o?.lightbox,enabled:!0},linkDestination:Kd};case sc:return{href:void 0,linkDestination:Kd,lightbox:void 0}}return{}}function SQ(e){let[t,r=1]=e.split("/").map(Number),o=t/r;return o===1/0||o===0?NaN:o}function G3e(e){let t=e;return e!==void 0&&t&&(CQ.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 Hb(e,{rel:t}){let r=e?"_blank":void 0,o;return!r&&!t?o=void 0:o=G3e(t),{linkTarget:r,rel:o}}function TQ(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 Op.some(t=>e.type.indexOf(t)===0)}function Yd({x:e,y:t}={x:.5,y:.5}){return`${Math.round(e*100)}% ${Math.round(t*100)}%`}var uR=n(N(),1);var X3=n(y(),1);function PQ(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,X3.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,X3.jsx)(Mo,{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 EQ=n(H(),1);function BQ(e,t,r){return(0,EQ.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 J3=n(H(),1);function NQ(e,t){let[r,o]=(0,J3.useState)([]);return(0,J3.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 DQ=n(F(),1),LQ=n(re(),1),IQ=[];function RQ(e){return(0,DQ.useSelect)(t=>{let r=e.map(o=>o.attributes.id).filter(o=>o!==void 0);return r.length===0?IQ:t(LQ.store).getEntityRecords("postType","attachment",{include:r.join(","),per_page:-1,orderby:"include"})??IQ},[e])}var vs=n(E(),1),rX=n(F(),1);var Qd=(e,t,r)=>{let o=Array.isArray(t)?t:t.split("."),a=e;return o.forEach(i=>{a=a?.[i]}),a??r};var zQ=n(MQ(),1);function W3e(e,t){if(!e||!t)return e;if(typeof e=="object"&&"ref"in e&&e?.ref){let r=(0,zQ.getCSSValueFromRawStyle)(Qd(t,e.ref));return typeof r=="object"&&r!==null&&"ref"in r&&r?.ref?void 0:r===void 0?e:r}return e}function $3e(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 VQ(e,t){if(!e||!t)return e;let r=W3e(e,t);return typeof r=="object"&&r!==null&&"url"in r&&r?.url&&(r.url=$3e(r.url,t?._links?.["wp:theme-file"])),r}var HQ={mobile:"480px",tablet:"782px"},jQ=/^(\d+|\d*\.\d+)(px|em|rem)$/,q3e=16;function Z3e(e){return"mobile"in e||"tablet"in e}function K3e(e){return!e||typeof e!="object"?{}:Z3e(e)?e:e.settings?.viewport??{}}function Y3e(e){return typeof e=="string"&&jQ.test(e.trim())}function pR(e){if(typeof e=="number")return e;if(typeof e!="string")return;let t=e.trim().match(jQ);if(!t)return;let r=Number.parseFloat(t[1]);return t[2]==="px"?r:r*q3e}function mR(e){let t=K3e(e),r={},o={};Object.keys(HQ).forEach(s=>{let c=s,u=t[c],p=pR(u);p!==void 0&&Y3e(u)&&(r[c]=u.trim(),o[c]=p)});let a=Object.keys(r);if(!a.length)return{...HQ};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 UQ(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 e4(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=Qd(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 qQ(e){let t=e?.viewport,r=e?.pseudoState;return(!t||t===hR)&&(!r||r===hR)}function Q3e(e){return qQ(e)?[]:[e.viewport,e.pseudoState].filter(t=>!!t&&t!==hR)}function X3e(e,t){let r=Q3e(t);return r.length?Qd(e,r):e}var J3e=new Set(["blocks","variations","css"]),dR=Object.freeze({value:{},sources:{}}),e4e={root:{layer:"root"},element:{layer:"element"},block:{layer:"block"},blockVariation:{layer:"blockVariation"}};function Fp(e){let t=e4e[e];return t?{...t}:null}function Hp(e,t){return!e||!t?null:{styles:e,source:t}}function t4e(e){return e.join(".")}function r4e(e){return{...e}}function ZQ(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 jp(e){if(!e||typeof e!="object"||Array.isArray(e))return null;let t={};for(let r of Object.keys(e))if(!J3e.has(r)){if(r==="elements"){e.elements&&typeof e.elements=="object"&&(t.elements=e.elements);continue}ZQ(e[r])||(t[r]=e[r])}return Object.keys(t).length===0?null:t}var GQ=new Set(["backgroundImage"]);function KQ(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(ZQ(s))continue;if(fR(s)){if(s.ref.trim()==="")continue;let u=Qd(r,s.ref);if(u==null||fR(u))continue;s=u}let c=[...i,l];if(!GQ.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]=KQ({...u},s,r,o,a,c)}else e[l]=GQ.has(l)&&s!==null&&typeof s=="object"&&!Array.isArray(s)?{...s}:s,o&&a&&(a[t4e(c)]=r4e(o))}return e}function t4(e,t){if(!e)return null;let r=X3e(e,t);return r&&typeof r=="object"&&!Array.isArray(r)?r:null}var o4e=["color.background","color.gradient","background","spacing","dimensions","border","shadow","filter"];function n4e(e){return e.startsWith("elements.")?!1:o4e.some(t=>e===t||e.startsWith(`${t}.`))}function YQ(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"&&(YQ(a,o),Object.keys(a).length===0&&delete e[r])}function a4e(e,t){for(let r of Object.keys(t))t[r].layer==="root"&&n4e(r)&&(YQ(e,r.split(".")),delete t[r])}function i4e(e,t,r){let o=e?.background?.backgroundImage;if(!o)return;let a=VQ(o,{...t,_links:r??void 0});a!==void 0&&(e.background.backgroundImage=a)}function WQ(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?e4(e,t,r)??null:null,d=[Hp(jp(c),Fp("root")),...p.map(v=>Hp(jp(v),Fp("element"))),u?Hp(jp(u),Fp("block")):null,m?Hp(jp(m),Fp("blockVariation")):null];qQ(s)||d.push(Hp(jp(t4(c,s)),Fp("root")),...p.map(v=>Hp(jp(t4(v,s)),Fp("element"))),u?Hp(jp(t4(u,s)),Fp("block")):null,m?Hp(jp(t4(m,s)),Fp("blockVariation")):null);let f=d.filter(Boolean);if(f.length===0)return dR;let h={},g=f.reduce((v,b)=>KQ(v,b.styles,e,b.source,h),{});return a4e(g,h),i4e(g,e,e._links??null),{value:g,sources:h}}var l4e={},$Q=new WeakMap;function QQ(e,t={}){let r=e?.styles;if(!r||typeof r!="object")return WQ(e,t);let o=$Q.get(r);o||(o=new WeakMap,$Q.set(r,o));let a=e?._links??l4e,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=WQ(e,t);return i.set(s,c),c}var XQ=n(TI(),1),{lock:JQ,unlock:Cet}=(0,XQ.__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 _g={};JQ(_g,{getResponsiveMediaQueries:UQ,getViewportBreakpoints:mR,getViewportBreakpointValueInPixels:pR,resolveStyle:QQ,getVariationStyle:e4});var{getResponsiveMediaQueries:s4e}=U(_g),{globalStylesDataKey:c4e}=U(vs.privateApis),u4e="core/gallery",r4="var( --wp--style--gallery-gap-default, var( --gallery-block--gutter-size, var( --wp--style--block-gap, 0.5em ) ) )";function eX(e,t){let r=r4;return t&&(r=typeof t=="string"?(0,vs.__experimentalGetGapCSSValue)(t)||r4:(0,vs.__experimentalGetGapCSSValue)(t?.left)||r4),`${e} {
		--wp--style--unstable-gallery-gap: ${r==="0"?"0px":r}
	}`}function tX(e){if(Object.hasOwn(e?.spacing||{},"blockGap"))return e.spacing.blockGap}function oX({style:e,clientId:t}){let r=`#block-${t}`,[o]=(0,vs.useSettings)("viewport"),i=(0,rX.useSelect)(p=>p(vs.store).getSettings()?.[c4e],[])?.blocks?.[u4e]||{},l=tX(e),s=i?.spacing?.blockGap??r4,u=eX(r,l===void 0?s:l);return Object.entries(s4e(o)).forEach(([p,m])=>{let d=tX(e?.[p]),f=l===void 0?i?.[p]?.spacing?.blockGap:void 0,h=d===void 0?f:d;h!=null&&(u+=`${m}{${eX(r,h)}}`)}),(0,vs.useStyleOverride)({css:u}),null}var Ub=n(H(),1),wg=n(F(),1),lX=n(E(),1),a4=n(re(),1),sX=n(q(),1);var o4=n(N(),1),Up="core/attached-media",xg="date",kg="desc",p4e={[Up]:{title:(0,o4.__)("Use attached images"),description:(0,o4.__)("Images attached to the post."),emptyMessage:(0,o4.__)("Images attached to the post will appear here.")}};function n4(e){return p4e[e]}var jb=100;function nX(e,{postId:t}){let{source:r,args:o={}}=e??{};return r===Up&&t?{parent:t,per_page:jb,media_type:"image",orderby:o.orderBy==="date"||o.orderBy==="title"?o.orderBy:xg,order:o.order==="asc"||o.order==="desc"?o.order:kg}:null}var aX=[];function m4e(e,t){let{sizeSlug:r,linkTo:o,linkTarget:a,aspectRatio:i}=t,l=!!i&&i!=="auto";return{id:e.id,...Q3(e,r),...Fb(e,o),...Hb(a,t),sizeSlug:r,caption:e.caption?.raw||"",alt:e.alt_text||"",aspectRatio:l?i:void 0,scale:l?"cover":void 0}}function iX(e,t){return e.map(r=>(0,sX.createBlock)("core/image",m4e(r,t)))}function cX({attributes:e,setAttributes:t,clientId:r,postId:o,postType:a}){let{dynamicContent:i}=e,l=!!a,s=n4(i?.source),c=i?.args?.orderBy??xg,u=i?.args?.order??kg,p=(0,wg.useRegistry)(),{replaceInnerBlocks:m,__unstableMarkNextChangeAsNotPersistent:d}=(0,wg.useDispatch)(lX.store),f=(0,Ub.useMemo)(()=>i?nX(i,{postId:o}):null,[i,o]),{dynamicMedia:h,dynamicMediaTotal:g,isResolvingDynamic:v}=(0,wg.useSelect)(A=>{if(!f)return{dynamicMedia:aX,dynamicMediaTotal:0,isResolvingDynamic:!1};let z=["postType","attachment",f];return{dynamicMedia:A(a4.store).getEntityRecords(...z)??aX,dynamicMediaTotal:A(a4.store).getEntityRecordsTotalItems(...z)??0,isResolvingDynamic:!A(a4.store).hasFinishedResolution("getEntityRecords",z)}},[f]),b=g>jb,{sizeSlug:_,linkTo:k,linkTarget:x,aspectRatio:w}=e,C=(0,Ub.useMemo)(()=>({sizeSlug:_,linkTo:k,linkTarget:x,aspectRatio:w}),[_,k,x,w]),P=(0,Ub.useMemo)(()=>iX(h,C),[h,C]),B=(0,Ub.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:Up}}),d(),m(r,[])})}function D(){p.batch(()=>{m(r,iX(h,C)),d(),t({dynamicContent:void 0})})}function T(A,z){let j={...i?.args};delete j.orderBy,delete j.order,A!==void 0&&(A!==xg||z!==kg)&&(j.orderBy=A,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),i4=n(H(),1),Or=n(O(),1),Gp=n(E(),1);var mt=n(y(),1),d4e=[{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 f4e({orderby:e,order:t,onChange:r}){return(0,mt.jsx)(Or.SelectControl,{label:(0,Jt.__)("Order by"),value:`${e}/${t}`,options:d4e,onChange:o=>{let[a,i]=o.split("/");r({orderby:a,order:i})}})}function uX({onConfirm:e,onCancel:t}){return(0,mt.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 pX({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,i4.useState)(!1),[_,k]=(0,i4.useState)(!1);function x(){r?b(!0):p()}return g?(0,mt.jsxs)(mt.Fragment,{children:[(0,mt.jsxs)(Or.__experimentalToolsPanel,{label:(0,Jt.__)("Source"),resetAll:m,dropdownMenuProps:t,children:[(0,mt.jsxs)("div",{className:"wp-block-gallery__source-settings",children:[(0,mt.jsx)("p",{className:"wp-block-gallery__source-description",children:i?.description??(0,Jt.__)("Dynamic images.")}),(0,mt.jsx)(Or.Button,{__next40pxDefaultSize:!0,variant:"secondary",onClick:()=>k(!0),disabled:d,accessibleWhenDisabled:!0,children:(0,Jt.__)("Detach Gallery")})]}),f&&(0,mt.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."),jb,h)}),(0,mt.jsx)(Or.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,Jt.__)("Order by"),hasValue:()=>l!==xg||s!==kg,onDeselect:()=>c(void 0,void 0),children:(0,mt.jsx)(f4e,{orderby:l,order:s,onChange:({orderby:w,order:C})=>c(w,C)})})]}),_&&(0,mt.jsx)(uX,{onConfirm:()=>{u(),k(!1)},onCancel:()=>k(!1)})]}):a?(0,mt.jsxs)(mt.Fragment,{children:[(0,mt.jsx)(Or.PanelBody,{title:(0,Jt.__)("Source"),children:(0,mt.jsx)("div",{className:"wp-block-gallery__source-settings",children:(0,mt.jsx)(Or.Button,{__next40pxDefaultSize:!0,variant:"secondary",onClick:x,children:(0,Jt.__)("Use images attached to the post")})})}),v&&(0,mt.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 h4e({imageBlocks:e}){let{children:t,ref:r,className:o}=(0,Gp.__experimentalUseBlockPreview)({blocks:e});return(0,mt.jsx)("div",{ref:r,className:o,style:{display:"contents"},children:t})}function mX({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,Gp.useBlockEditingMode)(),[g,v]=(0,i4.useState)(!1),b=d?(0,Jt.__)("Loading images\u2026"):u?.emptyMessage??(0,Jt.__)("Dynamic images will appear here.");return(0,mt.jsxs)(mt.Fragment,{children:[h==="default"&&(0,mt.jsxs)(mt.Fragment,{children:[(0,mt.jsx)(Gp.BlockControls,{group:"other",children:(0,mt.jsx)(Or.ToolbarButton,{onClick:()=>v(!0),disabled:d,children:(0,Jt.__)("Detach")})}),g&&(0,mt.jsx)(uX,{onConfirm:()=>{f(),v(!1)},onCancel:()=>v(!1)})]}),(0,mt.jsxs)("figure",{...t,children:[p.length?(0,mt.jsx)(Gp.BlockContextProvider,{value:m,children:(0,mt.jsx)(h4e,{imageBlocks:p})}):(0,mt.jsx)(Or.Placeholder,{icon:K3,label:(0,Jt.__)("Gallery"),instructions:b,children:d&&(0,mt.jsx)(Or.Spinner,{})}),(0,mt.jsx)(Mo,{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 nt=n(y(),1),g4e=8,dX=[{icon:J1,label:(0,He.__)("Link images to attachment pages"),value:uc,noticeText:(0,He.__)("Attachment Pages")},{icon:pp,label:(0,He.__)("Link images to media files"),value:cc,noticeText:(0,He.__)("Media Files")},{icon:Jm,label:(0,He.__)("Enlarge on click"),value:hg,noticeText:(0,He.__)("Lightbox effect"),infoText:(0,He.__)("Scale images with a lightbox effect")},{icon:uv,label:(0,He._x)("None","Media item link option"),value:sc,noticeText:(0,He.__)("None")}],v4e=[{label:(0,He.__)("Icon"),value:"icon"},{label:(0,He.__)("Text"),value:"text"},{label:(0,He.__)("Both"),value:"both"}],gR=["image"],b4e=(0,He.__)("Drag and drop images, upload, or choose from your library."),y4e={name:"core/image"},fX=[];function vX(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,lo.useBlockEditingMode)(),[f,h,g,v]=(0,lo.useSettings)("blocks.core/image.lightbox","dimensions.aspectRatios.default","dimensions.aspectRatios.theme","dimensions.defaultAspectRatios"),b=f?.allowEditing?dX:dX.filter(ne=>ne.value!==hg),{align:_,navigationButtonType:k,columns:x,imageCrop:w,randomOrder:C,linkTarget:P,linkTo:B,sizeSlug:I,aspectRatio:D}=r,{__unstableMarkNextChangeAsNotPersistent:T,replaceInnerBlocks:L,updateBlockAttributes:A,selectBlock:z}=(0,Wb.useDispatch)(lo.store),{createSuccessNotice:j,createErrorNotice:G}=(0,Wb.useDispatch)(gX.store),{getBlock:W,getSettings:$,innerBlockImages:V,multiGallerySelection:Q}=(0,Wb.useSelect)(ne=>{let{getBlockName:Ve,getMultiSelectedBlockClientIds:Je,getSettings:St,getBlock:qe}=ne(lo.store),yo=Je();return{getBlock:qe,getSettings:St,innerBlockImages:qe(a)?.innerBlocks??fX,multiGallerySelection:yo.length&&yo.every(Tn=>Ve(Tn)==="core/gallery")}},[a]),Y=(0,Gb.useMemo)(()=>V?.map(ne=>({clientId:ne.clientId,id:ne.attributes.id,url:ne.attributes.url,attributes:ne.attributes,fromSavedContent:!!ne.originalContent})),[V]),ee=RQ(V),te=NQ(Y,ee),ae=!!Y.length,J=!!r.dynamicContent,ce=cX({attributes:r,setAttributes:t,clientId:a,postId:p,postType:m}),ie=J?ce.dynamicMedia.length:Y.length,we;J?we=B===hg: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:Ve})=>({label:ne,value:Ve})),de=h?.map(({name:ne,ratio:Ve})=>({label:ne,value:Ve})),ge=[{label:(0,He._x)("Original","Aspect ratio option for dimensions control"),value:"auto"},...v?de||[]:[],...se||[]];(0,Gb.useEffect)(()=>{te?.forEach(ne=>{T(),A(ne.clientId,{...me(ne.attributes),id:ne.id,align:void 0})})},[te]);let oe=BQ(J?ce.dynamicMedia:ee,i,$);function me(ne){let Ve=ne.id?ee.find(({id:qe})=>qe===ne.id):null,Je;ne.className&&ne.className!==""&&(Je=ne.className);let St;return ne.linkTarget||ne.rel?St={linkTarget:ne.linkTarget,rel:ne.rel}:St=Hb(P,r),{...Q3(Ve,I),...Fb(Ve,B,ne?.linkDestination),...St,className:Je,sizeSlug:I,caption:ne.caption.length>0?ne.caption:Ve.caption?.raw,alt:ne.alt||Ve.alt_text,aspectRatio:D==="auto"?void 0:D}}function le(ne){let Ve=ne.type;return gR.some(Je=>Ve?.indexOf(Je)===0)||ne.blob}function Pe(ne){let Ve=Object.prototype.toString.call(ne)==="[object FileList]",Je=Ve?Array.from(ne).map(ot=>ot.url?ot:{blob:(0,vR.createBlobURL)(ot)}):ne;Je.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 St=Je.filter(ot=>ot.url||le(ot)).map(ot=>ot.url?ot:{blob:ot.blob||(0,vR.createBlobURL)(ot)}),qe=St.reduce((ot,Lo,tp)=>(ot[Lo.id]=tp,ot),{}),yo=Ve?V:V.filter(ot=>St.find(Lo=>Lo.id===ot.attributes.id)),Hl=St.filter(ot=>!yo.find(Lo=>ot.id===Lo.attributes.id)).map(ot=>(0,hX.createBlock)("core/image",{id:ot.id,blob:ot.blob,url:ot.url,caption:ot.caption,alt:ot.alt}));L(a,yo.concat(Hl).sort((ot,Lo)=>qe[ot.attributes.id]-qe[Lo.attributes.id])),Hl?.length>0&&z(Hl[0].clientId)}function Ee(ne){G(ne,{type:"snackbar"})}function X(ne){t({linkTo:ne});let Ve={},Je=[];W(a).innerBlocks.forEach(qe=>{Je.push(qe.clientId);let yo=qe.attributes.id?ee.find(({id:Tn})=>Tn===qe.attributes.id):null;Ve[qe.clientId]=Fb(yo,ne,!1,qe.attributes,f)}),A(Je,Ve,{uniqueByBlock:!0});let St=[...b].find(qe=>qe.value===ne);j((0,He.sprintf)((0,He.__)("All gallery image links updated to: %s"),St.noticeText),{id:"gallery-attributes-linkTo",type:"snackbar"})}function Ce(ne){t({columns:ne})}function pe(){t({imageCrop:!w})}function $e(){t({randomOrder:!C})}function fe(ne){let Ve=ne?"_blank":void 0;t({linkTarget:Ve});let Je={},St=[];W(a).innerBlocks.forEach(yo=>{St.push(yo.clientId),Je[yo.clientId]=Hb(Ve,yo.attributes)}),A(St,Je,{uniqueByBlock:!0});let qe=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(qe,{id:"gallery-attributes-openInNewTab",type:"snackbar"})}function Ae(ne){t({sizeSlug:ne});let Ve={},Je=[];W(a).innerBlocks.forEach(qe=>{Je.push(qe.clientId);let yo=qe.attributes.id?ee.find(({id:Tn})=>Tn===qe.attributes.id):null;Ve[qe.clientId]=TQ(yo,ne)}),A(Je,Ve,{uniqueByBlock:!0});let St=oe.find(qe=>qe.value===ne);j((0,He.sprintf)((0,He.__)("All gallery image sizes updated to: %s"),St?.label??ne),{id:"gallery-attributes-sizeSlug",type:"snackbar"})}function Ft(ne){t({aspectRatio:ne});let Ve={},Je=[];W(a).innerBlocks.forEach(qe=>{Je.push(qe.clientId),Ve[qe.clientId]={aspectRatio:ne==="auto"?void 0:ne}}),A(Je,Ve,!0);let St=ge.find(qe=>qe.value===ne);j((0,He.sprintf)((0,He.__)("All gallery images updated to aspect ratio: %s"),St?.label||ne),{id:"gallery-attributes-aspectRatio",type:"snackbar"})}(0,Gb.useEffect)(()=>{B||(T(),t({linkTo:window?.wp?.media?.view?.settings?.defaultProps?.link||sc}))},[B]);let ze=ae&&Y.some(ne=>!!ne.id),oo={addToGallery:!1,disableMediaButtons:Y.some(ne=>!ne.id&&ne.url?.indexOf("blob:")===0),value:{}},vo=(0,lo.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}])}),bo=(0,lo.useInnerBlocksProps)(vo,{defaultBlock:y4e,directInsert:!0,orientation:"horizontal",renderAppender:!1,allowedBlocks:J?fX:void 0}),ta=Z();if(!ae&&!J)return(0,nt.jsxs)("div",{...bo,children:[bo.children,(0,nt.jsx)(lo.MediaPlaceholder,{handleUpload:!1,icon:K3,labels:{title:(0,He.__)("Gallery"),instructions:b4e},onSelect:Pe,allowedTypes:gR,multiple:!0,onError:Ee,...oo,children:d==="default"&&(0,nt.jsx)(Tt.Button,{__next40pxDefaultSize:!0,variant:"secondary",onClick:ce.enableDynamicMode,children:n4(Up).title})})]});let Ra=B&&B!=="none";return(0,nt.jsxs)(nt.Fragment,{children:[(0,nt.jsxs)(lo.InspectorControls,{children:[(0,nt.jsx)(pX,{dynamic:ce,dropdownMenuProps:ta,hasImages:ae}),(0,nt.jsxs)(Tt.__experimentalToolsPanel,{label:(0,He.__)("Settings"),resetAll:()=>{t({navigationButtonType:"icon",columns:void 0,imageCrop:!0,randomOrder:!1}),Ft("auto"),I!==Vb&&Ae(Vb),P&&fe(!1)},dropdownMenuProps:ta,children:[ie>1&&(0,nt.jsx)(Tt.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,He.__)("Columns"),hasValue:()=>!!x&&x!==ie,onDeselect:()=>Ce(void 0),children:(0,nt.jsx)(Tt.RangeControl,{label:(0,He.__)("Columns"),value:x||Y3(ie),onChange:Ce,min:1,max:Math.min(g4e,ie),required:!0})}),oe?.length>0&&(0,nt.jsx)(Tt.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,He.__)("Resolution"),hasValue:()=>I!==Vb,onDeselect:()=>Ae(Vb),children:(0,nt.jsx)(Tt.SelectControl,{label:(0,He.__)("Resolution"),help:(0,He.__)("Select the size of the source images."),value:I,options:oe,onChange:Ae,hideCancelButton:!0})}),(0,nt.jsx)(Tt.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,He.__)("Crop images to fit"),hasValue:()=>!w,onDeselect:()=>t({imageCrop:!0}),children:(0,nt.jsx)(Tt.ToggleControl,{label:(0,He.__)("Crop images to fit"),checked:!!w,onChange:pe})}),(0,nt.jsx)(Tt.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,He.__)("Randomize order"),hasValue:()=>!!C,onDeselect:()=>t({randomOrder:!1}),children:(0,nt.jsx)(Tt.ToggleControl,{label:(0,He.__)("Randomize order"),checked:!!C,onChange:$e})}),Ra&&(0,nt.jsx)(Tt.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,He.__)("Open images in new tab"),hasValue:()=>!!P,onDeselect:()=>fe(!1),children:(0,nt.jsx)(Tt.ToggleControl,{label:(0,He.__)("Open images in new tab"),checked:P==="_blank",onChange:fe})}),ge.length>1&&(0,nt.jsx)(Tt.__experimentalToolsPanelItem,{hasValue:()=>!!D&&D!=="auto",label:(0,He.__)("Aspect ratio"),onDeselect:()=>Ft("auto"),isShownByDefault:!0,children:(0,nt.jsx)(Tt.SelectControl,{label:(0,He.__)("Aspect ratio"),help:(0,He.__)("Set a consistent aspect ratio for all images in the gallery."),value:D,options:ge,onChange:Ft})}),f?.allowEditing&&we&&(0,nt.jsx)(Tt.__experimentalToolsPanelItem,{label:(0,He.__)("Navigation button type"),isShownByDefault:!0,hasValue:()=>k!=="icon",onDeselect:()=>t({navigationButtonType:"icon"}),children:(0,nt.jsx)(Tt.__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:v4e.map(ne=>(0,nt.jsx)(Tt.__experimentalToggleGroupControlOption,{value:ne.value,label:ne.label},ne.value))})})]})]}),(0,nt.jsx)(lo.BlockControls,{group:"block",children:(0,nt.jsx)(Tt.ToolbarDropdownMenu,{icon:di,label:(0,He.__)("Link"),children:({onClose:ne})=>(0,nt.jsx)(Tt.MenuGroup,{children:b.map(Ve=>{let Je=B===Ve.value;return(0,nt.jsx)(Tt.MenuItem,{isSelected:Je,className:S("components-dropdown-menu__menu-item",{"is-active":Je}),iconPosition:"left",icon:Ve.icon,onClick:()=>{X(Ve.value),ne()},role:"menuitemradio",info:Ve.infoText,children:Ve.label},Ve.value)})})})}),(0,nt.jsxs)(nt.Fragment,{children:[!Q&&!J&&(0,nt.jsx)(lo.BlockControls,{group:"other",children:(0,nt.jsx)(lo.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,nt.jsx)(oX,{style:r.style,clientId:a})]}),J?(0,nt.jsx)(mX,{...e,dynamic:ce,blockProps:vo,innerBlocksProps:bo,multiGallerySelection:Q}):(0,nt.jsx)(PQ,{...e,isContentLocked:s,images:Y,blockProps:bo,insertBlocksAfter:l,multiGallerySelection:Q})]})}var l4={$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 wu=n(E(),1),s4=n(y(),1);function bX({attributes:e}){let{caption:t,columns:r,imageCrop:o,dynamicContent:a}=e,i=!wu.RichText.isEmpty(t)&&(0,s4.jsx)(wu.RichText.Content,{tagName:"figcaption",className:S("blocks-gallery-caption",(0,wu.__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=wu.useBlockProps.save({className:l}),c=wu.useInnerBlocksProps.save(s);return(0,s4.jsxs)("figure",{...c,children:[c.children,i]})}var _l=n(q(),1),yX=n(Ar(),1),bR=n(vu(),1);var x4e=e=>e?e.split(",").map(t=>parseInt(t,10)):[],_X=e=>e.map(t=>(0,_l.createBlock)(t.name,t.attributes,_X(t.innerBlocks||[])));function k4e(e){if(e.name==="core/gallery"&&e.attributes?.images.length>0){let t=e.attributes.images.map(({url:r,id:o,alt:a})=>(0,_l.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",k4e);function w4e(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",w4e);var C4e={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,_l.createBlock)("core/image",i)));return(0,_l.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=x4e(e).map(c=>parseInt(c,10)),l=sc;return r==="post"?l=uc:r==="file"&&(l=cc),(0,_l.createBlock)("core/gallery",{columns:parseInt(t,10),linkTo:l,randomOrder:o==="rand",...a&&{sizeSlug:a}},i.map(c=>(0,_l.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!==1&&e.every(t=>t.type.indexOf("image/")===0)},transform(e){let t=e.map(r=>(0,_l.createBlock)("core/image",{blob:(0,yX.createBlobURL)(r)}));return(0,_l.createBlock)("core/gallery",{},t)}}],to:[{type:"block",blocks:["core/image"],transform:({align:e},t)=>t.leng
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
- drwx---r-x 2026-08-16 07:30:04
Edit Download
- drwxr-xr-x 2026-08-20 10:06:11
Edit Download
vendor DIR
- drwx---r-x 2026-08-20 10:06:11
Edit Download
5.56 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
2.55 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
15.58 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
5.84 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
19.53 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
7.33 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
9.78 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
5.56 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
115 B lrw----r-- 2026-08-20 10:06:11
Edit Download
142 B lrw----r-- 2026-08-20 10:06:11
Edit Download
2.35 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
1.21 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
372.69 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
126.54 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
3.60 MB lrw----r-- 2026-08-20 10:06:11
Edit Download
1.35 MB lrw----r-- 2026-08-20 10:06:11
Edit Download
2.88 MB lrw----r-- 2026-08-20 10:06:11
Edit Download
1.24 MB lrw----r-- 2026-08-20 10:06:11
Edit Download
6.64 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
2.50 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
50.58 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
10.48 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
292.88 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
142.99 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
128.65 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
55.89 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
3.64 MB lrw----r-- 2026-08-20 10:06:11
Edit Download
817.08 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
83.74 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
29.39 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
29.11 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
12.20 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
660.00 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
226.52 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
111.55 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
43.42 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
4.20 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
1.84 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
83.69 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
26.04 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
176.69 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
141.35 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
3.11 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
1.35 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
1.53 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
881 B lrw----r-- 2026-08-20 10:06:11
Edit Download
35.12 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
12.86 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
440.78 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
156.40 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
2.20 MB lrw----r-- 2026-08-20 10:06:11
Edit Download
884.07 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
180.29 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
68.81 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
3.78 MB lrw----r-- 2026-08-20 10:06:11
Edit Download
1.50 MB lrw----r-- 2026-08-20 10:06:11
Edit Download
27.32 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
12.18 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
2.36 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
1.13 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
229.45 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
96.19 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
12.01 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
4.99 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
1.71 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
950 B lrw----r-- 2026-08-20 10:06:11
Edit Download
15.36 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
5.66 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
2.77 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
1.17 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
10.26 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
3.60 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
8.36 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
2.97 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
13.34 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
5.41 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
1.02 MB lrw----r-- 2026-08-20 10:06:11
Edit Download
381.83 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
9.55 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
3.85 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
4.32 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
1.71 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
88.07 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
37.40 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
20.72 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
7.08 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
17.30 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
5.58 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
21.03 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
7.84 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
5.15 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
2.04 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
10.10 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
3.42 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
4.42 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
2.95 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
3.97 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
1.59 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
24.75 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
9.72 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
21.87 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
7.99 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
104.89 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
42.17 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
36.21 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
14.21 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
11.32 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
4.10 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
8.02 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
3.35 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
18.37 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
6.78 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
135.48 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
59.71 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
6.18 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
1.68 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
5.36 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
1.77 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
115.27 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
48.71 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
23.40 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
10.18 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
7.14 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
2.32 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
1.58 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
816 B lrw----r-- 2026-08-20 10:06:11
Edit Download
50.14 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
20.97 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
7.00 KB lrw----r-- 2026-08-20 10:06:11
Edit Download
2.51 KB lrw----r-- 2026-08-20 10:06:11
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