�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: index.js Size: 414.21 KB
/home/m/c/i/mciraet/www/wp-content/plugins/woocommerce/assets/client/admin/settings-ui/index.js
/*! For license information please see index.js.LICENSE.txt */
(()=>{"use strict";var e,t,n={94931:(e,t,n)=>{var r=n(51609),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function d(e,t,n){var r,i={},d=null,l=null;for(r in void 0!==n&&(d=""+n),void 0!==t.key&&(d=""+t.key),void 0!==t.ref&&(l=t.ref),t)a.call(t,r)&&!c.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:d,ref:l,props:i,_owner:s.current}}t.Fragment=i,t.jsx=d,t.jsxs=d},39793:(e,t,n)=>{e.exports=n(94931)},63133:(e,t,n)=>{var r=n(51609),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,c=r.useDebugValue;function d(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,l=r[1];return s(function(){o.value=n,o.getSnapshot=t,d(o)&&l({inst:o})},[e,n,t]),a(function(){return d(o)&&l({inst:o}),e(function(){d(o)&&l({inst:o})})},[e]),c(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:l},23378:(e,t,n)=>{var r=n(51609),o=n(89104),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=o.useSyncExternalStore,s=r.useRef,c=r.useEffect,d=r.useMemo,l=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var u=s(null);if(null===u.current){var p={hasValue:!1,value:null};u.current=p}else p=u.current;u=d(function(){function e(e){if(!c){if(c=!0,a=e,e=r(e),void 0!==o&&p.hasValue){var t=p.value;if(o(t,e))return s=t}return s=e}if(t=s,i(a,e))return t;var n=r(e);return void 0!==o&&o(t,n)?(a=e,t):(a=e,s=n)}var a,s,c=!1,d=void 0===n?null:n;return[function(){return e(t())},null===d?void 0:function(){return e(d())}]},[t,n,r,o]);var f=a(e,u[0],u[1]);return c(function(){p.hasValue=!0,p.value=f},[f]),l(f),f}},89104:(e,t,n)=>{e.exports=n(63133)},93754:(e,t,n)=>{e.exports=n(23378)},51609:e=>{e.exports=window.React}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return n[e](i,i.exports,o),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach(e=>a[e]=()=>n[e]);return a.default=()=>n,o.d(i,a),i},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};o.r(i),o.d(i,{HiddenInputs:()=>Ep,NativeSettingsField:()=>Dm,SettingsUIErrorBoundary:()=>ah,SettingsUIPage:()=>ch,getHiddenInputs:()=>Cp,registerSettingsExtension:()=>Um,resolveFieldComponent:()=>qm,resolveFieldVisibilityPredicate:()=>Gm,resolveGroupVisibilityPredicate:()=>Ym,resolveRegionComponent:()=>Km,resolveSaveHandler:()=>Xm});var a={};o.r(a),o.d(a,{ThemeProvider:()=>wc,privateApis:()=>_c});var s=o(39793);function c(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=c(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const d=function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=c(e))&&(r&&(r+=" "),r+=t);return r},l=window.wp.element,u=(0,l.forwardRef)(({children:e,className:t,ariaLabel:n,as:r="div",...o},i)=>(0,s.jsx)(r,{ref:i,className:d("admin-ui-navigable-region",t),"aria-label":n,role:"region",tabIndex:"-1",...o,children:e}));u.displayName="NavigableRegion";var p=u;const f=window.wp.components,g=window.wp.i18n;var m=o(51609),h=o.t(m,2);const b=function(e,...t){const n=new URL("https://base-ui.com/production-error");return n.searchParams.set("code",e.toString()),t.forEach(e=>n.searchParams.append("args[]",e)),`Base UI error #${e}; visit ${n} for the full message.`},v=m.createContext(!1),w=m.createContext(void 0);function y(e){const t=m.useContext(w);if(!1===e&&void 0===t)throw new Error(b(27));return t}function _(e){const t=m.useRef(!0);t.current&&(t.current=!1,e())}function x(){return"undefined"!=typeof window}function k(e){return C(e)?(e.nodeName||"").toLowerCase():"#document"}function S(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function R(e){var t;return null==(t=(C(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function C(e){return!!x()&&(e instanceof Node||e instanceof S(e).Node)}function E(e){return!!x()&&(e instanceof Element||e instanceof S(e).Element)}function M(e){return!!x()&&(e instanceof HTMLElement||e instanceof S(e).HTMLElement)}function T(e){return!(!x()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof S(e).ShadowRoot)}function z(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=V(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==o&&"contents"!==o}function j(e){return/^(table|td|th)$/.test(k(e))}function I(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}const A=/transform|translate|scale|rotate|perspective|filter/,O=/paint|layout|strict|content/,P=e=>!!e&&"none"!==e;let N;function D(e){const t=E(e)?V(e):e;return P(t.transform)||P(t.translate)||P(t.scale)||P(t.rotate)||P(t.perspective)||!$()&&(P(t.backdropFilter)||P(t.filter))||A.test(t.willChange||"")||O.test(t.contain||"")}function $(){return null==N&&(N="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),N}function F(e){return/^(html|body|#document)$/.test(k(e))}function V(e){return S(e).getComputedStyle(e)}function L(e){return E(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function B(e){if("html"===k(e))return e;const t=e.assignedSlot||e.parentNode||T(e)&&e.host||R(e);return T(t)?t.host:t}function H(e){const t=B(e);return F(t)?e.ownerDocument?e.ownerDocument.body:e.body:M(t)&&z(t)?t:H(t)}function W(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=H(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=S(o);if(i){const e=U(a);return t.concat(a,a.visualViewport||[],z(o)?o:[],e&&n?W(e):[])}return t.concat(o,W(o,[],n))}function U(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function q(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}const G="undefined"!=typeof navigator,Y=function(){if(!G)return{platform:"",maxTouchPoints:-1};const e=navigator.userAgentData;return e?.platform?{platform:e.platform,maxTouchPoints:navigator.maxTouchPoints}:{platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??-1}}(),X=function(){if(!G)return"";const e=navigator.userAgentData;return e?.platform?e.platform:navigator.platform??""}(),K=function(){if(!G)return"";const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(({brand:e,version:t})=>`${e}/${t}`).join(" "):navigator.userAgent}(),Z=!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter:none"),J="MacIntel"===Y.platform&&Y.maxTouchPoints>1||/iP(hone|ad|od)|iOS/.test(Y.platform),Q=(G&&/firefox/i.test(K),G&&/apple/i.test(navigator.vendor)),ee=(G&&/Edg/i.test(K),G&&/android/i.test(X)||/android/i.test(K)),te=G&&X.toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints,ne=K.includes("jsdom/");function re(e){return e?.ownerDocument||document}const oe="undefined"!=typeof document?m.useLayoutEffect:()=>{},ie={};function ae(e,t){const n=m.useRef(ie);return n.current===ie&&(n.current=e(t)),n}const se=[];function ce(e){m.useEffect(e,se)}class de{static create(){return new de}currentId=0;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=0,t()},e)}isStarted(){return 0!==this.currentId}clear=()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)};disposeEffect=()=>this.clear}function le(){const e=ae(de.create).current;return ce(e.disposeEffect),e}const ue=null;globalThis.requestAnimationFrame;const pe=new class{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;const t=this.callbacks,n=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,n>0)for(let n=0;n<t.length;n+=1)t[n]?.(e)};request(e){const t=this.nextId;return this.nextId+=1,this.callbacks.push(e),this.callbacksCount+=1,this.isScheduled||(requestAnimationFrame(this.tick),this.isScheduled=!0),t}cancel(e){const t=e-this.startId;t<0||t>=this.callbacks.length||(this.callbacks[t]=null,this.callbacksCount-=1)}};class fe{static create(){return new fe}static request(e){return pe.request(e)}static cancel(e){return pe.cancel(e)}currentId=ue;request(e){this.cancel(),this.currentId=pe.request(()=>{this.currentId=ue,e()})}cancel=()=>{this.currentId!==ue&&(pe.cancel(this.currentId),this.currentId=ue)};disposeEffect=()=>this.cancel}function ge(){const e=ae(fe.create).current;return ce(e.disposeEffect),e}function me(){}const he=Object.freeze([]),be=Object.freeze({});let ve={},we={},ye="";const _e=new class{lockCount=0;restore=null;timeoutLock=de.create();timeoutUnlock=de.create();acquire(e){return this.lockCount+=1,1===this.lockCount&&null===this.restore&&this.timeoutLock.start(0,()=>this.lock(e)),this.release}release=()=>{this.lockCount-=1,0===this.lockCount&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{0===this.lockCount&&this.restore&&(this.restore?.(),this.restore=null)};lock(e){if(0===this.lockCount||null!==this.restore)return;const t=re(e).documentElement,n=S(t).getComputedStyle(t).overflowY;if("hidden"===n||"clip"===n)return void(this.restore=me);const r=J||!function(e){if("undefined"==typeof document)return!1;const t=re(e);return S(t).innerWidth-t.documentElement.clientWidth>0}(e);this.restore=r?function(e){const t=re(e),n=t.documentElement,r=t.body,o=z(n)?n:r,i={overflowY:o.style.overflowY,overflowX:o.style.overflowX};return Object.assign(o.style,{overflowY:"hidden",overflowX:"hidden"}),()=>{Object.assign(o.style,i)}}(e):function(e){const t=re(e),n=t.documentElement,r=t.body,o=S(n);let i=0,a=0,s=!1;const c=fe.create();if(Z&&1!==(o.visualViewport?.scale??1))return()=>{};function d(){const t=o.getComputedStyle(n),c=o.getComputedStyle(r),d=(t.scrollbarGutter||"").includes("both-edges")?"stable both-edges":"stable";i=n.scrollTop,a=n.scrollLeft,ve={scrollbarGutter:n.style.scrollbarGutter,overflowY:n.style.overflowY,overflowX:n.style.overflowX},ye=n.style.scrollBehavior,we={position:r.style.position,height:r.style.height,width:r.style.width,boxSizing:r.style.boxSizing,overflowY:r.style.overflowY,overflowX:r.style.overflowX,scrollBehavior:r.style.scrollBehavior};const l=n.scrollHeight>n.clientHeight,u=n.scrollWidth>n.clientWidth,p="scroll"===t.overflowY||"scroll"===c.overflowY,f="scroll"===t.overflowX||"scroll"===c.overflowX,g=Math.max(0,o.innerWidth-r.clientWidth),m=Math.max(0,o.innerHeight-r.clientHeight),h=parseFloat(c.marginTop)+parseFloat(c.marginBottom),b=parseFloat(c.marginLeft)+parseFloat(c.marginRight),v=z(n)?n:r;if(s=function(e){if("undefined"==typeof CSS||!CSS.supports||!CSS.supports("scrollbar-gutter","stable")||"undefined"==typeof document)return!1;const t=re(e),n=t.documentElement,r=t.body,o=z(n)?n:r,i=o.style.overflowY,a=n.style.scrollbarGutter;n.style.scrollbarGutter="stable",o.style.overflowY="scroll";const s=o.offsetWidth;o.style.overflowY="hidden";const c=o.offsetWidth;return o.style.overflowY=i,n.style.scrollbarGutter=a,s===c}(e),s)return n.style.scrollbarGutter=d,v.style.overflowY="hidden",void(v.style.overflowX="hidden");Object.assign(n.style,{scrollbarGutter:d,overflowY:"hidden",overflowX:"hidden"}),(l||p)&&(n.style.overflowY="scroll"),(u||f)&&(n.style.overflowX="scroll"),Object.assign(r.style,{position:"relative",height:h||m?`calc(100dvh - ${h+m}px)`:"100dvh",width:b||g?`calc(100vw - ${b+g}px)`:"100vw",boxSizing:"border-box",overflow:"hidden",scrollBehavior:"unset"}),r.scrollTop=i,r.scrollLeft=a,n.setAttribute("data-base-ui-scroll-locked",""),n.style.scrollBehavior="unset"}function l(){Object.assign(n.style,ve),Object.assign(r.style,we),s||(n.scrollTop=i,n.scrollLeft=a,n.removeAttribute("data-base-ui-scroll-locked"),n.style.scrollBehavior=ye)}d();const u=q(o,"resize",function(){l(),c.request(d)});return()=>{c.cancel(),l(),"function"==typeof o.removeEventListener&&u()}}(e)}};function xe(e=!0,t=null){oe(()=>{if(e)return _e.acquire(t)},[e,t])}function ke(e,t){return e&&!t?e:!e&&t?t:e||t?{...e,...t}:void 0}const Se={};function Re(e,t,n,r,o){if(!(n||r||o||e))return Ce(t);let i=Ce(e);return t&&(i=Ee(i,t)),n&&(i=Ee(i,n)),r&&(i=Ee(i,r)),o&&(i=Ee(i,o)),i}function Ce(e){return Te(e)?{...ze(e,Se)}:function(e){const t={...e};for(const e in t){const n=t[e];Me(e,n)&&(t[e]=Ie(n))}return t}(e)}function Ee(e,t){return Te(t)?ze(t,e):function(e,t){if(!t)return e;for(const n in t){const r=t[n];switch(n){case"style":e[n]=ke(e.style,r);break;case"className":e[n]=Oe(e.className,r);break;default:Me(n,r)?e[n]=je(e[n],r):e[n]=r}}return e}(e,t)}function Me(e,t){const n=e.charCodeAt(0),r=e.charCodeAt(1),o=e.charCodeAt(2);return 111===n&&110===r&&o>=65&&o<=90&&("function"==typeof t||void 0===t)}function Te(e){return"function"==typeof e}function ze(e,t){return Te(e)?e(t):e??Se}function je(e,t){return t?e?(...n)=>{const r=n[0];if(Pe(r)){const o=r;Ae(o);const i=t(...n);return o.baseUIHandlerPrevented||e?.(...n),i}const o=t(...n);return e?.(...n),o}:Ie(t):e}function Ie(e){return e?(...t)=>{const n=t[0];return Pe(n)&&Ae(n),e(...t)}:e}function Ae(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function Oe(e,t){return t?e?t+" "+e:t:e}function Pe(e){return null!=e&&"object"==typeof e&&"nativeEvent"in e}function Ne(...e){return()=>{for(let t=0;t<e.length;t+=1){const n=e[t];n&&n()}}}const De={...h},$e=De.useInsertionEffect,Fe=$e&&$e!==De.useLayoutEffect?$e:e=>e();function Ve(e){const t=ae(Le).current;return t.next=e,Fe(t.effect),t.trampoline}function Le(){const e={next:void 0,callback:Be,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function Be(){}const He=m.createContext(null),We=m.createContext(null),Ue=()=>m.useContext(He)?.id||null,qe=e=>{const t=m.useContext(We);return e??t};function Ge(e,t,n,r){let o=!1,i=!1;const a=r??be;return{reason:e,event:t??new Event("base-ui"),cancel(){o=!0},allowPropagation(){i=!0},get isCanceled(){return o},get isPropagationAllowed(){return i},trigger:n,...a}}const Ye="none",Xe="trigger-press",Ke="trigger-hover",Ze="trigger-focus",Je="outside-press",Qe="item-press",et="focus-out",tt="escape-key",nt="list-navigation",rt="imperative-action";function ot(e){return`data-base-ui-${e}`}const it="data-base-ui-focusable",at="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])",st="ArrowLeft",ct="ArrowRight",dt="ArrowUp",lt="ArrowDown";function ut(e){let t=e.activeElement;for(;null!=t?.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t}function pt(e,t){if(!e||!t)return!1;const n=t.getRootNode?.();if(e.contains(t))return!0;if(n&&T(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function ft(e){return"composedPath"in e?e.composedPath()[0]:e.target}function gt(e,t){if(!E(e))return!1;const n=e;if(t.hasElement(n))return!n.hasAttribute("data-trigger-disabled");for(const[,e]of t.entries())if(pt(e,n))return!e.hasAttribute("data-trigger-disabled");return!1}function mt(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return null!=n.target&&t.contains(n.target)}function ht(e){return M(e)&&e.matches(at)}function bt(e){return!!e&&"combobox"===e.getAttribute("role")&&ht(e)}function vt(e){return e?e.hasAttribute(it)?e:e.querySelector(`[${it}]`)||e:null}function wt(e){e.preventDefault(),e.stopPropagation()}function yt(e){return!(""!==e.pointerType||!e.isTrusted)||(ee&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function _t(e){return!ne&&(!ee&&0===e.width&&0===e.height||ee&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function xt(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function kt(e,t,n=!0){return e.filter(e=>e.parentId===t).flatMap(t=>[...!n||t.context?.open?[t]:[],...kt(e,t.id,n)])}function St(e,t){let n=[],r=e.find(e=>e.id===t)?.parentId;for(;r;){const t=e.find(e=>e.id===r);r=t?.parentId,t&&(n=n.concat(t))}return n}const Rt={intentional:"onClick",sloppy:"onPointerDown"};function Ct(){return!1}function Et(e,t={}){const{enabled:n=!0,escapeKey:r=!0,outsidePress:o=!0,outsidePressEvent:i="sloppy",referencePress:a=Ct,referencePressEvent:s="sloppy",bubbles:c,externalTree:d}=t,l="rootStore"in e?e.rootStore:e,u=l.useState("open"),p=l.useState("floatingElement"),{dataRef:f}=l.context,g=qe(d),h=Ve("function"==typeof o?o:()=>!1),b="function"==typeof o?h:o,v=!1!==b,w=Ve(()=>i),{escapeKey:y,outsidePress:_}={escapeKey:"boolean"==typeof(x=c)?x:x?.escapeKey??!1,outsidePress:"boolean"==typeof x?x:x?.outsidePress??!0};var x;const k=m.useRef(!1),S=m.useRef(!1),R=m.useRef(!1),C=m.useRef(!1),z=m.useRef(""),j=m.useRef(null),I=le(),A=le(),O=Ve(()=>{A.clear(),f.current.insideReactTree=!1}),P=Ve(e=>{const t=f.current.floatingContext?.nodeId;return(g?kt(g.nodesRef.current,t):[]).some(t=>t.context?.open&&!t.context.dataRef.current[e])}),N=Ve(e=>mt(e,l.select("floatingElement"))||mt(e,l.select("domReferenceElement"))),D=Ve(e=>{a()&&l.setOpen(!1,Ge(Xe,e.nativeEvent))}),L=Ve(e=>{if(!u||!n||!r||"Escape"!==e.key)return;if(C.current)return;if(!y&&P("__escapeKeyBubbles"))return;const t=function(e){return"nativeEvent"in e}(e)?e.nativeEvent:e,o=Ge(tt,t);l.setOpen(!1,o),o.isCanceled||e.preventDefault(),y||o.isPropagationAllowed||e.stopPropagation()}),H=Ve(()=>{f.current.insideReactTree=!0,A.start(0,O)}),W=Ve(e=>{if(!u||!n||0!==e.button)return;const t=ft(e.nativeEvent);pt(l.select("floatingElement"),t)&&(k.current||(k.current=!0,S.current=!1))}),U=Ve(e=>{u&&n&&(e.defaultPrevented||e.nativeEvent.defaultPrevented)&&k.current&&(S.current=!0)});m.useEffect(()=>{if(!u||!n)return;f.current.__escapeKeyBubbles=y,f.current.__outsidePressBubbles=_;const e=new de,t=new de;function o(){R.current=!0,t.start(0,()=>{R.current=!1})}function i(){k.current=!1,S.current=!1}function a(){const e=z.current,t="pen"!==e&&e?e:"mouse",n=w(),r="function"==typeof n?n():n;return"string"==typeof r?r:r[t]}function s(e){const t=f.current.floatingContext?.nodeId,n=g&&kt(g.nodesRef.current,t).some(t=>mt(e,t.context?.elements.floating));return N(e)||n}function c(e){if(function(e){const t=a();return"intentional"===t&&"click"!==e.type||"sloppy"===t&&"click"===e.type}(e))return"click"===e.type||N(e)||(t.clear(),R.current=!1),void O();if(f.current.insideReactTree)return void O();const n=ft(e),r=`[${ot("inert")}]`,o=E(n)?n.getRootNode():null,i=Array.from((T(o)?o:re(l.select("floatingElement"))).querySelectorAll(r)),c=l.context.triggerElements;if(n&&(c.hasElement(n)||c.hasMatchingElement(e=>pt(e,n))))return;let d=E(n)?n:null;for(;d&&!F(d);){const e=B(d);if(F(e)||!E(e))break;d=e}if(!i.length||!E(n)||n.matches("html,body")||pt(n,l.select("floatingElement"))||!i.every(e=>!pt(d,e))){if(M(n)&&!("touches"in e)){const t=F(n),r=V(n),o=/auto|scroll/,i=t||o.test(r.overflowX),a=t||o.test(r.overflowY),s=i&&n.clientWidth>0&&n.scrollWidth>n.clientWidth,c=a&&n.clientHeight>0&&n.scrollHeight>n.clientHeight,d="rtl"===r.direction,l=c&&(d?e.offsetX<=n.offsetWidth-n.clientWidth:e.offsetX>n.clientWidth),u=s&&e.offsetY>n.clientHeight;if(l||u)return}if(!s(e))return"intentional"===a()&&R.current?(t.clear(),void(R.current=!1)):void(("function"!=typeof b||b(e))&&(P("__outsidePressBubbles")||(l.setOpen(!1,Ge(Je,e)),O())))}}function d(e){if("sloppy"!==a()||!l.select("open")||!n||N(e))return;const t=e.touches[0];t&&(j.current={startTime:Date.now(),startX:t.clientX,startY:t.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},I.start(1e3,()=>{j.current&&(j.current.dismissOnTouchEnd=!1,j.current.dismissOnMouseDown=!1)}))}function m(e,t){const n=ft(e);if(!n)return;const r=q(n,e.type,()=>{t(e),r()})}function h(e){I.clear(),"pointerdown"===e.type&&(z.current=e.pointerType),"mousedown"===e.type&&j.current&&!j.current.dismissOnMouseDown||m(e,e=>{"pointerdown"===e.type?function(e){"sloppy"===a()&&"touch"!==e.pointerType&&l.select("open")&&n&&!N(e)&&c(e)}(e):c(e)})}function x(e){if(!k.current)return;const n=S.current;i(),"intentional"===a()&&("pointercancel"!==e.type?s(e)||(n?o():("function"!=typeof b||b(e))&&(t.clear(),R.current=!0,O())):n&&o())}function A(e){if("sloppy"!==a()||!j.current||N(e))return;const t=e.touches[0];if(!t)return;const n=Math.abs(t.clientX-j.current.startX),r=Math.abs(t.clientY-j.current.startY),o=Math.sqrt(n*n+r*r);o>5&&(j.current.dismissOnTouchEnd=!0),o>10&&(c(e),I.clear(),j.current=null)}function D(e){"sloppy"===a()&&j.current&&!N(e)&&(j.current.dismissOnTouchEnd&&c(e),I.clear(),j.current=null)}const H=re(p),W=Ne(r&&Ne(q(H,"keydown",L),q(H,"compositionstart",function(){e.clear(),C.current=!0}),q(H,"compositionend",function(){e.start($()?5:0,()=>{C.current=!1})})),v&&Ne(q(H,"click",h,!0),q(H,"pointerdown",h,!0),q(H,"pointerup",x,!0),q(H,"pointercancel",x,!0),q(H,"mousedown",h,!0),q(H,"mouseup",x,!0),q(H,"touchstart",function(e){z.current="touch",m(e,d)},!0),q(H,"touchmove",function(e){m(e,A)},!0),q(H,"touchend",function(e){m(e,D)},!0)));return()=>{W(),e.clear(),t.clear(),i(),R.current=!1}},[f,p,r,v,b,u,n,y,_,L,O,w,P,N,g,l,I]),m.useEffect(O,[b,O]);const G=m.useMemo(()=>({onKeyDown:L,[Rt[s]]:D,..."intentional"!==s&&{onClick:D}}),[L,D,s]),Y=m.useMemo(()=>({onKeyDown:L,onPointerDown:U,onMouseDown:U,onClickCapture:H,onMouseDownCapture(e){H(),W(e)},onPointerDownCapture(e){H(),W(e)},onMouseUpCapture:H,onTouchEndCapture:H,onTouchMoveCapture:H}),[L,H,W,U]);return m.useMemo(()=>n?{reference:G,floating:Y,trigger:G}:{},[n,G,Y])}let Mt=0;const Tt=De.useId;function zt(e,t){if(void 0!==Tt){const n=Tt();return e??(t?`${t}-${n}`:n)}return function(e,t="mui"){const[n,r]=m.useState(e),o=e||n;return m.useEffect(()=>{null==n&&(Mt+=1,r(`${t}-${Mt}`))},[n,t]),o}(e,t)}const jt=(e,t,n,r,o,i,...a)=>{if(a.length>0)throw new Error(b(1));let s;if(e&&t&&n&&r&&o&&i)s=(a,s,c,d)=>{const l=e(a,s,c,d),u=t(a,s,c,d),p=n(a,s,c,d),f=r(a,s,c,d),g=o(a,s,c,d);return i(l,u,p,f,g,s,c,d)};else if(e&&t&&n&&r&&o)s=(i,a,s,c)=>{const d=e(i,a,s,c),l=t(i,a,s,c),u=n(i,a,s,c),p=r(i,a,s,c);return o(d,l,u,p,a,s,c)};else if(e&&t&&n&&r)s=(o,i,a,s)=>{const c=e(o,i,a,s),d=t(o,i,a,s),l=n(o,i,a,s);return r(c,d,l,i,a,s)};else if(e&&t&&n)s=(r,o,i,a)=>{const s=e(r,o,i,a),c=t(r,o,i,a);return n(s,c,o,i,a)};else if(e&&t)s=(n,r,o,i)=>{const a=e(n,r,o,i);return t(a,r,o,i)};else{if(!e)throw new Error("Missing arguments");s=e}return s};var It=o(89104),At=o(93754);const Ot=parseInt(m.version,10);function Pt(e){return Ot>=e}const Nt=[];let Dt;function $t(e){const t=(t,n)=>{const r=ae(Ft).current;let o;try{Dt=r;for(const e of Nt)e.before(r);o=e(t,n);for(const e of Nt)e.after(r);r.didInitialize=!0}finally{Dt=void 0}return o};return t.displayName=e.displayName||e.name,t}function Ft(){return{didInitialize:!1}}const Vt=Pt(19)?function(e,t,n,r,o){const i=Dt;if(!i)return function(e,t,n,r,o){const i=m.useCallback(()=>t(e.getSnapshot(),n,r,o),[e,t,n,r,o]);return(0,It.useSyncExternalStore)(e.subscribe,i,i)}(e,t,n,r,o);const a=i.syncIndex;let s;return i.syncIndex+=1,i.didInitialize?(s=i.syncHooks[a],s.store===e&&s.selector===t&&Object.is(s.a1,n)&&Object.is(s.a2,r)&&Object.is(s.a3,o)||(s.store!==e&&(i.didChangeStore=!0),s.store=e,s.selector=t,s.a1=n,s.a2=r,s.a3=o,s.didChange=!0)):(s={store:e,selector:t,a1:n,a2:r,a3:o,value:t(e.getSnapshot(),n,r,o),didChange:!1},i.syncHooks.push(s)),s.value}:function(e,t,n,r,o){return(0,At.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,e=>t(e,n,r,o))};function Lt(e,t,n,r,o){return Vt(e,t,n,r,o)}var Bt;Bt={before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let n=0;n<e.syncHooks.length;n+=1){const r=e.syncHooks[n],o=r.selector(r.store.state,r.a1,r.a2,r.a3);!r.didChange&&Object.is(r.value,o)||(t=!0,r.value=o,r.didChange=!1)}return t&&(e.syncTick+=1),e.syncTick})},after(e){e.syncHooks.length>0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{const n=new Set;for(const t of e.syncHooks)n.add(t.store);const r=[];for(const e of n)r.push(e.subscribe(t));return()=>{for(const e of r)e()}}),(0,It.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot))}},Nt.push(Bt);class Ht{constructor(e){this.state=e,this.listeners=new Set,this.updateTick=0}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.state;setState(e){if(this.state===e)return;this.state=e,this.updateTick+=1;const t=this.updateTick;for(const n of this.listeners){if(t!==this.updateTick)return;n(e)}}update(e){for(const t in e)if(!Object.is(this.state[t],e[t]))return void this.setState({...this.state,...e})}set(e,t){Object.is(this.state[e],t)||this.setState({...this.state,[e]:t})}notifyAll(){const e={...this.state};this.setState(e)}use(e,t,n,r){return Lt(this,e,t,n,r)}}class Wt extends Ht{constructor(e,t={},n){super(e),this.context=t,this.selectors=n}useSyncedValue(e,t){m.useDebugValue(e);const n=this;oe(()=>{n.state[e]!==t&&n.set(e,t)},[n,e,t])}useSyncedValueWithCleanup(e,t){const n=this;oe(()=>(n.state[e]!==t&&n.set(e,t),()=>{n.set(e,void 0)}),[n,e,t])}useSyncedValues(e){const t=this,n=Object.values(e);oe(()=>{t.update(e)},[t,...n])}useControlledProp(e,t){m.useDebugValue(e);const n=this,r=void 0!==t;oe(()=>{r&&!Object.is(n.state[e],t)&&n.setState({...n.state,[e]:t})},[n,e,t,r])}select(e,t,n,r){return(0,this.selectors[e])(this.state,t,n,r)}useState(e,t,n,r){return m.useDebugValue(e),Lt(this,this.selectors[e],t,n,r)}useContextCallback(e,t){m.useDebugValue(e);const n=Ve(t??me);this.context[e]=n}useStateSetter(e){const t=m.useRef(void 0);return void 0===t.current&&(t.current=t=>{this.set(e,t)}),t.current}observe(e,t){let n;n="function"==typeof e?e:this.selectors[e];let r=n(this.state);return t(r,r,this),this.subscribe(e=>{const o=n(e);if(!Object.is(r,o)){const e=r;r=o,t(o,e,this)}})}}function Ut(){const e=new Map;return{emit(t,n){e.get(t)?.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){e.get(t)?.delete(n)}}}const qt={open:jt(e=>e.open),transitionStatus:jt(e=>e.transitionStatus),domReferenceElement:jt(e=>e.domReferenceElement),referenceElement:jt(e=>e.positionReference??e.referenceElement),floatingElement:jt(e=>e.floatingElement),floatingId:jt(e=>e.floatingId)};class Gt extends Wt{constructor(e){const{syncOnly:t,nested:n,onOpenChange:r,triggerElements:o,...i}=e;super({...i,positionReference:i.referenceElement,domReferenceElement:i.referenceElement},{onOpenChange:r,dataRef:{current:{}},events:Ut(),nested:n,triggerElements:o},qt),this.syncOnly=t}syncOpenEvent=(e,t)=>{(!e||!this.state.open||null!=t&&function(e){const t=e.type;return"click"===t||"mousedown"===t||"keydown"===t||"keyup"===t}(t))&&(this.context.dataRef.current.openEvent=e?t:void 0)};dispatchOpenChange=(e,t)=>{this.syncOpenEvent(e,t.event);const n={open:e,reason:t.reason,nativeEvent:t.event,nested:this.context.nested,triggerElement:t.trigger};this.context.events.emit("openchange",n)};setOpen=(e,t)=>{this.syncOnly||this.dispatchOpenChange(e,t),this.context.onOpenChange?.(e,t)}}function Yt(e,t=!1,n=!1){const[r,o]=m.useState(e&&t?"idle":void 0),[i,a]=m.useState(e);return e&&!i&&(a(!0),o("starting")),e||!i||"ending"===r||n||o("ending"),e||i||"ending"!==r||o(void 0),oe(()=>{if(!e&&i&&"ending"!==r&&n){const e=fe.request(()=>{o("ending")});return()=>{fe.cancel(e)}}},[e,i,r,n]),oe(()=>{if(!e||t)return;const n=fe.request(()=>{o(void 0)});return()=>{fe.cancel(n)}},[t,e]),oe(()=>{if(!e||!t)return;e&&i&&"idle"!==r&&o("starting");const n=fe.request(()=>{o("idle")});return()=>{fe.cancel(n)}},[t,e,i,r]),{mounted:i,setMounted:a,transitionStatus:r}}const Xt=window.ReactDOM;function Kt(e){return null==e?e:"current"in e?e.current:e}let Zt=function(e){return e.startingStyle="data-starting-style",e.endingStyle="data-ending-style",e}({});const Jt={[Zt.startingStyle]:""},Qt={[Zt.endingStyle]:""},en={transitionStatus:e=>"starting"===e?Jt:"ending"===e?Qt:null};function tn(e){const{enabled:t=!0,open:n,ref:r,onComplete:o}=e,i=Ve(o),a=function(e,t=!1,n=!0){const r=ge();return Ve((o,i=null)=>{r.cancel();const a=Kt(e);if(null==a)return;const s=a,c=()=>{Xt.flushSync(o)};if("function"!=typeof s.getAnimations||globalThis.BASE_UI_ANIMATIONS_DISABLED)o();else{if(t){const e=Zt.startingStyle;if(!s.hasAttribute(e))return void r.request(d);const t=new MutationObserver(()=>{s.hasAttribute(e)||(t.disconnect(),d())});return t.observe(s,{attributes:!0,attributeFilter:[e]}),void i?.addEventListener("abort",()=>t.disconnect(),{once:!0})}r.request(d)}function d(){Promise.all(s.getAnimations().map(e=>e.finished)).then(()=>{i?.aborted||c()}).catch(()=>{if(n)return void(i?.aborted||c());const e=s.getAnimations();!i?.aborted&&e.length>0&&e.some(e=>e.pending||"finished"!==e.playState)&&d()})}})}(r,n,!1);m.useEffect(()=>{if(!t)return;const e=new AbortController;return a(i,e.signal),()=>{e.abort()}},[t,n,i,a])}const nn={tabIndex:-1,[it]:""};function rn(e,t,n=!1){const r=zt(),o=null!=Ue(),i=m.useRef(null);void 0===e&&null===i.current&&(i.current=t(r,o));const a=e??i.current;return function(e){const{popupStore:t,treatPopupAsFloatingElement:n=!1,floatingRootContext:r,floatingId:o,nested:i,onOpenChange:a}=e,s=t.useState("open"),c=t.useState("activeTriggerElement"),d=t.useState(n?"popupElement":"positionerElement"),l=t.context.triggerElements,u=a,p=m.useRef(null);void 0===r&&null===p.current&&(p.current=new Gt({open:s,transitionStatus:void 0,referenceElement:c,floatingElement:d,triggerElements:l,onOpenChange:u,floatingId:o,syncOnly:!0,nested:i}));const f=r??p.current;t.useSyncedValue("floatingId",o),oe(()=>{const e={open:s,floatingId:o,referenceElement:c,floatingElement:d};E(c)&&(e.domReferenceElement=c),f.state.positionReference===f.state.referenceElement&&(e.positionReference=c),f.update(e)},[s,o,c,d,f]),f.context.onOpenChange=u,f.context.nested=i}({popupStore:a,treatPopupAsFloatingElement:n,floatingRootContext:a.state.floatingRootContext,floatingId:r,nested:o,onOpenChange:a.setOpen}),{store:a,internalStore:i.current}}function on(e,t,n){const r=n?.id??null;(r||t)&&(e.activeTriggerId=r,e.activeTriggerElement=n??null)}function an(e){const t=e.useState("open"),n=e.useState("triggerCount");oe(()=>{if(!t)return void(0!==e.state.triggerCount&&e.set("triggerCount",0));const n=e.context.triggerElements.size,r={};if(e.state.triggerCount!==n&&(r.triggerCount=n),!e.select("activeTriggerId")&&1===n){const t=e.context.triggerElements.entries().next();if(!t.done){const[e,n]=t.value;r.activeTriggerId=e,r.activeTriggerElement=n}}void 0===r.triggerCount&&void 0===r.activeTriggerId||e.update(r)},[t,e,n])}function sn(e,t,n){const{mounted:r,setMounted:o,transitionStatus:i}=Yt(e);t.useSyncedValues({mounted:r,transitionStatus:i});const a=Ve(()=>{o(!1),t.update({activeTriggerId:null,activeTriggerElement:null,mounted:!1,preventUnmountingOnClose:!1}),n?.(),t.context.onOpenChangeComplete?.(!1)}),s=t.useState("preventUnmountingOnClose");return tn({enabled:r&&!e&&!s,open:e,ref:t.context.popupRef,onComplete(){e||a()}}),{forceUnmount:a,transitionStatus:i}}function cn(e,t){e.useSyncedValues(t),oe(()=>()=>{e.update({activeTriggerProps:be,inactiveTriggerProps:be,popupProps:be})},[e])}function dn({store:e,dialogRoot:t}){const{parentContext:n,isDrawer:r}=t,o=e.useState("open"),i=e.useState("disablePointerDismissal"),a=e.useState("modal"),s=e.useState("popupElement"),c=e.useState("floatingRootContext"),[d,l]=m.useState(0),[u,p]=m.useState(0),f=0===d,g=Et(c,{outsidePressEvent:()=>e.context.internalBackdropRef.current||e.context.backdropRef.current?"intentional":{mouse:"trap-focus"===a?"sloppy":"intentional",touch:"sloppy"},outsidePress(t){if(!e.context.outsidePressEnabledRef.current)return!1;if("button"in t&&0!==t.button)return!1;if("touches"in t&&1!==t.touches.length)return!1;const n=ft(t);if(f&&!i){const t=n;return!a||!e.context.internalBackdropRef.current&&!e.context.backdropRef.current||e.context.internalBackdropRef.current===t||e.context.backdropRef.current===t||pt(t,s)&&!t?.hasAttribute("data-base-ui-portal")}return!1},escapeKey:f});xe(o&&!0===a,s),e.useContextCallback("onNestedDialogOpen",(e,t)=>{l(e),p(t)}),e.useContextCallback("onNestedDialogClose",()=>{l(0),p(0)}),m.useEffect(()=>(n?.onNestedDialogOpen&&o&&n.onNestedDialogOpen(d+1,u+(r?1:0)),n?.onNestedDialogClose&&!o&&n.onNestedDialogClose(),()=>{n?.onNestedDialogClose&&o&&n.onNestedDialogClose()}),[r,o,d,u,n]);const h=g.reference??be,b=g.trigger??be,v=m.useMemo(()=>Re(nn,g.floating),[g.floating]);return cn(e,{activeTriggerProps:h,inactiveTriggerProps:b,popupProps:v,nestedOpenDialogCount:d,nestedOpenDrawerCount:u}),null}class ln{constructor(){this.elementsSet=new Set,this.idMap=new Map}add(e,t){const n=this.idMap.get(e);n!==t&&(void 0!==n&&this.elementsSet.delete(n),this.elementsSet.add(t),this.idMap.set(e,t))}delete(e){const t=this.idMap.get(e);t&&(this.elementsSet.delete(t),this.idMap.delete(e))}hasElement(e){return this.elementsSet.has(e)}hasMatchingElement(e){for(const t of this.elementsSet)if(e(t))return!0;return!1}getById(e){return this.idMap.get(e)}entries(){return this.idMap.entries()}elements(){return this.elementsSet.values()}get size(){return this.idMap.size}}function un(){return{open:!1,openProp:void 0,mounted:!1,transitionStatus:void 0,floatingRootContext:new Gt({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:new ln,floatingId:void 0,syncOnly:!1,nested:!1,onOpenChange:void 0}),floatingId:void 0,triggerCount:0,preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,triggerIdProp:void 0,popupElement:null,positionerElement:null,activeTriggerProps:be,inactiveTriggerProps:be,popupProps:be}}function pn(e,t,n=!1){return new Gt({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:e,floatingId:t,syncOnly:!0,nested:n,onOpenChange:void 0})}const fn=jt(e=>e.triggerIdProp??e.activeTriggerId),gn=jt(e=>e.openProp??e.open),mn=jt(e=>(e.popupElement?.id??e.floatingId)||void 0);function hn(e,t){return void 0!==t&&gn(e)&&fn(e)===t}const bn={open:gn,mounted:jt(e=>e.mounted),transitionStatus:jt(e=>e.transitionStatus),floatingRootContext:jt(e=>e.floatingRootContext),triggerCount:jt(e=>e.triggerCount),preventUnmountingOnClose:jt(e=>e.preventUnmountingOnClose),payload:jt(e=>e.payload),activeTriggerId:fn,activeTriggerElement:jt(e=>e.mounted?e.activeTriggerElement:null),popupId:mn,isTriggerActive:jt((e,t)=>void 0!==t&&fn(e)===t),isOpenedByTrigger:jt((e,t)=>hn(e,t)),isMountedByTrigger:jt((e,t)=>void 0!==t&&fn(e)===t&&e.mounted),triggerProps:jt((e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps),triggerPopupId:jt((e,t)=>function(e,t){return!!hn(e,t)||void 0!==t&&gn(e)&&null==fn(e)&&1===e.triggerCount}(e,t)?mn(e):void 0),popupProps:jt(e=>e.popupProps),popupElement:jt(e=>e.popupElement),positionerElement:jt(e=>e.positionerElement)},vn={...bn,modal:jt(e=>e.modal),nested:jt(e=>e.nested),nestedOpenDialogCount:jt(e=>e.nestedOpenDialogCount),nestedOpenDrawerCount:jt(e=>e.nestedOpenDrawerCount),disablePointerDismissal:jt(e=>e.disablePointerDismissal),openMethod:jt(e=>e.openMethod),descriptionElementId:jt(e=>e.descriptionElementId),titleElementId:jt(e=>e.titleElementId),viewportElement:jt(e=>e.viewportElement),role:jt(e=>e.role)};class wn extends Wt{constructor(e,t,n=!1){const r=new ln,o=function(e={}){return{...un(),modal:!0,disablePointerDismissal:!1,popupElement:null,viewportElement:null,descriptionElementId:void 0,titleElementId:void 0,openMethod:null,nested:!1,nestedOpenDialogCount:0,nestedOpenDrawerCount:0,role:"dialog",...e}}(e);o.floatingRootContext=pn(r,t,n),super(o,{popupRef:m.createRef(),backdropRef:m.createRef(),internalBackdropRef:m.createRef(),outsidePressEnabledRef:{current:!0},triggerElements:r,onOpenChange:void 0,onOpenChangeComplete:void 0},vn)}setOpen=(e,t)=>{if(t.preventUnmountOnClose=()=>{this.set("preventUnmountingOnClose",!0)},e||null!=t.trigger||null==this.state.activeTriggerId||(t.trigger=this.state.activeTriggerElement??void 0),this.context.onOpenChange?.(e,t),t.isCanceled)return;this.state.floatingRootContext.dispatchOpenChange(e,t);const n={open:e};on(n,e,t.trigger),this.update(n)};static useStore(e,t){return rn(e,(e,n)=>new wn(t,e,n),!0).store}}function yn(e){return function(e,t="dialog"){const{children:n,open:r,defaultOpen:o=!1,onOpenChange:i,onOpenChangeComplete:a,disablePointerDismissal:c=!1,modal:d=!0,actionsRef:l,handle:u,triggerId:p,defaultTriggerId:f=null}=e,g="drawer"===t,h="alert-dialog"===t,b=!!h||d,x=h||c,k=h?"alertdialog":"dialog",S=y(!0),R={modal:b,disablePointerDismissal:x,nested:Boolean(S),role:k},C=wn.useStore(u?.store,{open:o,openProp:r,activeTriggerId:f,triggerIdProp:p,...R});_(()=>{const e=void 0===r&&!1===C.state.open&&!0===o?{open:!0,activeTriggerId:f}:null;h?C.update(e?{...R,...e}:R):e&&C.update(e)}),C.useControlledProp("openProp",r),C.useControlledProp("triggerIdProp",p),C.useSyncedValues(R),C.useContextCallback("onOpenChange",i),C.useContextCallback("onOpenChangeComplete",a);const E=C.useState("open"),M=C.useState("mounted"),T=C.useState("payload"),z=function(e){const{store:t,parentContext:n,actionsRef:r,isDrawer:o}=e,i=t.useState("open");!function(e,t){oe(()=>{t||null===e.state.openMethod||e.set("openMethod",null)},[t,e]),oe(()=>()=>{null!==e.state.openMethod&&e.set("openMethod",null)},[e])}(t,i),an(t);const{forceUnmount:a}=sn(i,t),s=m.useCallback(()=>{t.setOpen(!1,Ge(rt))},[t]);return m.useImperativeHandle(r,()=>({unmount:a,close:s}),[a,s]),{parentContext:n,isDrawer:o}}({store:C,actionsRef:l,parentContext:S?.store.context,isDrawer:g}),j=E||M,I=m.useMemo(()=>({store:C}),[C]);return(0,s.jsx)(v.Provider,{value:!1,children:(0,s.jsxs)(w.Provider,{value:I,children:[j&&(0,s.jsx)(dn,{store:C,dialogRoot:z}),"function"==typeof n?n({payload:T}):n]})})}(e,m.useContext(v)?"drawer":"dialog")}var _n=function(){const e=(0,l.createContext)(!0);return{Provider:function({modal:t,children:n}){return(0,s.jsx)(e.Provider,{value:t,children:n})},useModal:function(){return(0,l.useContext)(e)}}}(),xn=_n.Provider,kn=_n.useModal,Sn=("Dialog".toLowerCase(),{ValidationProvider:function({children:e}){return(0,s.jsx)(s.Fragment,{children:e})},useValidationContext:function(){return null}}),Rn=Sn.useValidationContext,Cn=Sn.ValidationProvider;function En({modal:e=!0,children:t,...n}){return(0,s.jsx)(yn,{modal:e,...n,children:(0,s.jsx)(xn,{modal:e,children:t})})}function Mn(e,t,n,r){const o=ae(Tn).current;return function(e,t,n,r,o){return e.refs[0]!==t||e.refs[1]!==n||e.refs[2]!==r||e.refs[3]!==o}(o,e,t,n,r)&&zn(o,[e,t,n,r]),o.callback}function Tn(){return{callback:null,cleanup:null,refs:[]}}function zn(e,t){e.refs=t,t.every(e=>null==e)?e.callback=null:e.callback=n=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),null!=n){const r=Array(t.length).fill(null);for(let e=0;e<t.length;e+=1){const o=t[e];if(null!=o)switch(typeof o){case"function":{const t=o(n);"function"==typeof t&&(r[e]=t);break}case"object":o.current=n}}e.cleanup=()=>{for(let e=0;e<t.length;e+=1){const n=t[e];if(null!=n)switch(typeof n){case"function":{const t=r[e];"function"==typeof t?t():n(null);break}case"object":n.current=null}}}}}}function jn(e){if(!m.isValidElement(e))return null;const t=e,n=t.props;return(Pt(19)?n?.ref:t.ref)??null}function In(e,t,n={}){const r=t.render,o=function(e,t={}){const{className:n,style:r,render:o}=e,{state:i=be,ref:a,props:s,stateAttributesMapping:c,enabled:d=!0}=t,l=d?function(e,t){return"function"==typeof e?e(t):e}(n,i):void 0,u=d?function(e,t){return"function"==typeof e?e(t):e}(r,i):void 0,p=d?function(e,t){const n={};for(const r in e){const o=e[r];if(t?.hasOwnProperty(r)){const e=t[r](o);null!=e&&Object.assign(n,e);continue}!0===o?n[`data-${r.toLowerCase()}`]="":o&&(n[`data-${r.toLowerCase()}`]=o.toString())}return n}(i,c):be,f=d&&s?function(e){return Array.isArray(e)?function(e){if(0===e.length)return Se;if(1===e.length)return Ce(e[0]);let t=Ce(e[0]);for(let n=1;n<e.length;n+=1)t=Ee(t,e[n]);return t}(e):Re(void 0,e)}(s):void 0,g=d?ke(p,f)??{}:be;return"undefined"!=typeof document&&(d?Array.isArray(a)?g.ref=function(e){const t=ae(Tn).current;return function(e,t){return e.refs.length!==t.length||e.refs.some((e,n)=>e!==t[n])}(t,e)&&zn(t,e),t.callback}([g.ref,jn(o),...a]):g.ref=Mn(g.ref,jn(o),a):Mn(null,null)),d?(void 0!==l&&(g.className=Oe(g.className,l)),void 0!==u&&(g.style=ke(g.style,u)),g):be}(t,n);return!1===n.enabled?null:function(e,t,n,r){if(t){if("function"==typeof t)return t(n,r);const e=Re(n,t.props);e.ref=n.ref;let o=t;return o?.$$typeof===An&&(o=m.Children.toArray(t)[0]),m.cloneElement(o,e)}if(e&&"string"==typeof e)return function(e,t){return"button"===e?(0,m.createElement)("button",{type:"button",...t,key:t.key}):"img"===e?(0,m.createElement)("img",{alt:"",...t,key:t.key}):m.createElement(e,t)}(e,n);throw new Error(b(8))}(e,r,o,n.state??be)}const An=Symbol.for("react.lazy");let On=function(e){return e.open="data-open",e.closed="data-closed",e[e.startingStyle=Zt.startingStyle]="startingStyle",e[e.endingStyle=Zt.endingStyle]="endingStyle",e.anchorHidden="data-anchor-hidden",e.side="data-side",e.align="data-align",e}({}),Pn=function(e){return e.popupOpen="data-popup-open",e.pressed="data-pressed",e}({});const Nn={[Pn.popupOpen]:""},Dn={[Pn.popupOpen]:"",[Pn.pressed]:""},$n={[On.open]:""},Fn={[On.closed]:""},Vn={[On.anchorHidden]:""},Ln={open:e=>e?Nn:null},Bn={open:e=>e?Dn:null},Hn={open:e=>e?$n:Fn,anchorHidden:e=>e?Vn:null},Wn={...Hn,...en},Un=m.forwardRef(function(e,t){const{render:n,className:r,style:o,forceRender:i=!1,...a}=e,{store:s}=y(),c=s.useState("open"),d=s.useState("nested"),l=s.useState("mounted");return In("div",e,{state:{open:c,transitionStatus:s.useState("transitionStatus")},ref:[s.context.backdropRef,t],stateAttributesMapping:Wn,props:[{role:"presentation",hidden:!l,style:{userSelect:"none",WebkitUserSelect:"none"}},a],enabled:i||!d})});function qn(e){const t=ae(Gn,e).current;return t.next=e,oe(t.effect),t}function Gn(e){const t={current:e,next:e,effect:()=>{t.current=t.next}};return t}const Yn={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},Xn={...Yn,position:"fixed",top:0,left:0},Kn={...Yn,position:"absolute"},Zn=m.forwardRef(function(e,t){const[n,r]=m.useState();oe(()=>{Q&&r("button")},[]);const o={tabIndex:0,role:n};return(0,s.jsx)("span",{...e,ref:t,style:Xn,"aria-hidden":!n||void 0,...o,"data-base-ui-focus-guard":""})}),Jn=["top","right","bottom","left"],Qn=Math.min,er=Math.max,tr=Math.round,nr=Math.floor,rr=e=>({x:e,y:e}),or={left:"right",right:"left",bottom:"top",top:"bottom"};function ir(e,t,n){return er(e,Qn(t,n))}function ar(e,t){return"function"==typeof e?e(t):e}function sr(e){return e.split("-")[0]}function cr(e){return e.split("-")[1]}function dr(e){return"x"===e?"y":"x"}function lr(e){return"y"===e?"height":"width"}function ur(e){const t=e[0];return"t"===t||"b"===t?"y":"x"}function pr(e){return dr(ur(e))}function fr(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const gr=["left","right"],mr=["right","left"],hr=["top","bottom"],br=["bottom","top"];function vr(e){const t=sr(e);return or[t]+e.slice(t.length)}function wr(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function yr(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function _r(e,t,n){return Math.floor(e/t)!==n}function xr(e,t){return t<0||t>=e.length}function kr(e,t){return Rr(e.current,{disabledIndices:t})}function Sr(e,t){return Rr(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function Rr(e,{startingIndex:t=-1,decrement:n=!1,disabledIndices:r,amount:o=1}={}){let i=t;do{i+=n?-o:o}while(i>=0&&i<=e.length-1&&Mr(e,i,r));return i}function Cr(e,t,n,r,o){if(-1===e)return-1;const i=n.indexOf(e),a=t[e];switch(o){case"tl":return i;case"tr":return a?i+a.width-1:i;case"bl":return a?i+(a.height-1)*r:i;case"br":return n.lastIndexOf(e);default:return-1}}function Er(e,t){return t.flatMap((t,n)=>e.includes(t)?[n]:[])}function Mr(e,t,n){if("function"==typeof n?n(t):n?.includes(t))return!0;const r=e[t];return!!r&&(!Tr(r)||!n&&(r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")))}function Tr(e,t=(e?V(e):null)){return!(!(e&&e.isConnected&&t)||function(e){return"hidden"===e.visibility||"collapse"===e.visibility}(t))&&("function"==typeof e.checkVisibility?e.checkVisibility():"none"!==t.display&&"contents"!==t.display)}function zr(e){const t=e.assignedSlot;if(t)return t;if(e.parentElement)return e.parentElement;const n=e.getRootNode();return T(n)?n.host:null}function jr(e){for(const t of Array.from(e.children))if("summary"===k(t))return t;return null}function Ir(e,t){const n=jr(t);return!!n&&(e===n||pt(n,e))}function Ar(e){const t=e?k(e):"";return null!=e&&e.matches('a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]')&&("summary"!==t||null!=e.parentElement&&"details"===k(e.parentElement)&&jr(e.parentElement)===e)&&("details"!==t||null==jr(e))&&("input"!==t||"hidden"!==e.type)}function Or(e){if(!Ar(e)||!e.isConnected||e.matches(":disabled"))return!1;for(let t=e;t;t=zr(t)){const n=t!==e,r="slot"===k(t);if(t.hasAttribute("inert"))return!1;if(n&&"details"===k(t)&&!t.open&&!Ir(e,t)||t.hasAttribute("hidden")||!r&&!Pr(t,n))return!1}return!0}function Pr(e,t){const n=V(e);return t?"none"!==n.display:Tr(e,n)}function Nr(e){const t=e.tabIndex;if(t<0){const t=k(e);if("details"===t||"audio"===t||"video"===t||M(e)&&e.isContentEditable)return 0}return t}function Dr(e){if("input"!==k(e))return null;const t=e;return"radio"===t.type&&""!==t.name?t:null}function $r(e){if(M(e)&&"slot"===k(e)){const t=e.assignedElements({flatten:!0});if(t.length>0)return t}return M(e)&&e.shadowRoot?Array.from(e.shadowRoot.children):Array.from(e.children)}function Fr(e,t){$r(e).forEach(e=>{Ar(e)&&t.push(e),Fr(e,t)})}function Vr(e,t,n){$r(e).forEach(e=>{M(e)&&e.matches(t)&&n.push(e),Vr(e,t,n)})}function Lr(e){return Or(e)&&Nr(e)>=0}function Br(e){const t=[];return Fr(e,t),t.filter(Or)}function Hr(e){const t=Br(e);return t.filter(e=>Nr(e)>=0&&function(e,t){const n=Dr(e);if(!n)return!0;const r=t.find(e=>{const t=Dr(e);return t?.name===n.name&&t.form===n.form&&t.checked});return r?r===n:t.find(e=>{const t=Dr(e);return t?.name===n.name&&t.form===n.form})===n}(e,t))}function Wr(e,t){const n=Hr(e),r=n.length;if(0===r)return;const o=ut(re(e)),i=n.indexOf(o);return n[-1===i?1===t?0:r-1:i+t]}function Ur(e){return Wr(re(e).body,1)||e}function qr(e){return Wr(re(e).body,-1)||e}function Gr(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!pt(n,r)}function Yr(e){const t=[];Vr(e,"[data-tabindex]",t),t.forEach(e=>{const t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})}let Xr=0;function Kr(e,t={}){const{preventScroll:n=!1,sync:r=!1,shouldFocus:o}=t;function i(){o&&!o()||e?.focus({preventScroll:n})}if(cancelAnimationFrame(Xr),r)return i(),me;const a=requestAnimationFrame(i);return Xr=a,()=>{Xr===a&&(cancelAnimationFrame(a),Xr=0)}}const Zr={inert:new WeakMap,"aria-hidden":new WeakMap},Jr="data-base-ui-inert",Qr={inert:new WeakSet,"aria-hidden":new WeakSet};let eo=new WeakMap,to=0;function no(e){return e?T(e)?e.host:no(e.parentNode):null}const ro=(e,t)=>t.map(t=>{if(e.contains(t))return t;const n=no(t);return e.contains(n)?n:null}).filter(e=>null!=e),oo=e=>{const t=new Set;return e.forEach(e=>{let n=e;for(;n&&!t.has(n);)t.add(n),n=n.parentNode}),t},io=(e,t,n)=>{const r=[],o=e=>{e&&!n.has(e)&&Array.from(e.children).forEach(e=>{"script"!==k(e)&&(t.has(e)?o(e):r.push(e))})};return o(e),r};function ao(e,t={}){const{ariaHidden:n=!1,inert:r=!1,mark:o=!0,markerIgnoreElements:i=[]}=t;return function(e,t,n,r,{mark:o=!0,markerIgnoreElements:i=[]}){const a=r?"inert":n?"aria-hidden":null;let s=null,c=null;const d=ro(t,e),l=o?ro(t,i):[],u=new Set(l),p=o?io(t,oo(d),new Set(d)).filter(e=>!u.has(e)):[],f=[],g=[];if(a){const e=Zr[a],n=function(e){return Qr[e]}(a);c=n,s=e;const r=ro(t,Array.from(t.querySelectorAll("[aria-live]"))),o=d.concat(r);io(t,oo(o),new Set(o)).forEach(t=>{const r=t.getAttribute(a),o=null!==r&&"false"!==r,i=(e.get(t)||0)+1;e.set(t,i),f.push(t),1===i&&o&&n.add(t),o||t.setAttribute(a,"inert"===a?"":"true")})}return o&&p.forEach(e=>{const t=(eo.get(e)||0)+1;eo.set(e,t),g.push(e),1===t&&e.setAttribute(Jr,"")}),to+=1,()=>{s&&f.forEach(e=>{const t=(s.get(e)||0)-1;s.set(e,t),t||(!c?.has(e)&&a&&e.removeAttribute(a),c?.delete(e))}),o&&g.forEach(e=>{const t=(eo.get(e)||0)-1;eo.set(e,t),t||e.removeAttribute(Jr)}),to-=1,to||(Zr.inert=new WeakMap,Zr["aria-hidden"]=new WeakMap,Qr.inert=new WeakSet,Qr["aria-hidden"]=new WeakSet,eo=new WeakMap)}}(e,re(e[0]).body,n,r,{mark:o,markerIgnoreElements:i})}const so={style:{transition:"none"}},co={fallbackAxisSide:"none"},lo={fallbackAxisSide:"end"},uo={clipPath:"inset(50%)",position:"fixed",top:0,left:0},po=m.createContext(null),fo=()=>m.useContext(po),go=ot("portal");function mo(e={}){const{ref:t,container:n,componentProps:r=be,elementProps:o}=e,i=zt(),a=fo(),s=a?.portalNode,[c,d]=m.useState(null),[l,u]=m.useState(null),p=Ve(e=>{null!==e&&u(e)}),f=m.useRef(null);oe(()=>{if(null===n)return void(f.current&&(f.current=null,u(null),d(null)));if(null==i)return;const e=(n&&(C(n)?n:n.current))??s??document.body;null!=e?f.current!==e&&(f.current=e,u(null),d(e)):f.current&&(f.current=null,u(null),d(null))},[n,s,i]);const g=In("div",r,{ref:[t,p],props:[{id:i,[go]:""},o]});return{portalNode:l,portalSubtree:c&&g?Xt.createPortal(g,c):null}}const ho=m.forwardRef(function(e,t){const{render:n,className:r,style:o,children:i,container:a,renderGuards:c,...d}=e,{portalNode:l,portalSubtree:u}=mo({container:a,ref:t,componentProps:e,elementProps:d}),p=m.useRef(null),f=m.useRef(null),g=m.useRef(null),h=m.useRef(null),[b,v]=m.useState(null),w=m.useRef(!1),y=b?.modal,_=b?.open,x="boolean"==typeof c?c:!!b&&!b.modal&&b.open&&!!l;m.useEffect(()=>{if(l&&!y)return Ne(q(l,"focusin",e,!0),q(l,"focusout",e,!0));function e(e){l&&e.relatedTarget&&Gr(e)&&("focusin"===e.type?w.current&&(Yr(l),w.current=!1):(function(e){Hr(e).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})}(l),w.current=!0))}},[l,y]),m.useEffect(()=>{l&&!1===_&&(Yr(l),w.current=!1)},[_,l]);const k=m.useMemo(()=>({beforeOutsideRef:p,afterOutsideRef:f,beforeInsideRef:g,afterInsideRef:h,portalNode:l,setFocusManagerState:v}),[l]);return(0,s.jsxs)(m.Fragment,{children:[u,(0,s.jsxs)(po.Provider,{value:k,children:[x&&l&&(0,s.jsx)(Zn,{"data-type":"outside",ref:p,onFocus:e=>{if(Gr(e,l))g.current?.focus();else{const e=qr(b?b.domReference:null);e?.focus()}}}),x&&l&&(0,s.jsx)("span",{"aria-owns":l.id,style:uo}),l&&Xt.createPortal(i,l),x&&l&&(0,s.jsx)(Zn,{"data-type":"outside",ref:f,onFocus:e=>{if(Gr(e,l))h.current?.focus();else{const t=Ur(b?b.domReference:null);t?.focus(),b?.closeOnFocusOut&&b?.onOpenChange(!1,Ge(et,e.nativeEvent))}}})]})]})});let bo=[];function vo(){bo=bo.filter(e=>e.deref()?.isConnected)}function wo(){return vo(),bo[bo.length-1]?.deref()}function yo(e,t){if(e.hasAttribute("tabindex")&&!e.hasAttribute("data-tabindex"))return;if(!t.current.includes("floating")&&!e.getAttribute("role")?.includes("dialog"))return;const n=Br(e).filter(e=>{const t=e.getAttribute("data-tabindex")||"";return Lr(e)||e.hasAttribute("data-tabindex")&&!t.startsWith("-")}),r=e.getAttribute("tabindex");t.current.includes("floating")||0===n.length?"0"!==r&&e.setAttribute("tabindex","0"):("-1"!==r||e.hasAttribute("data-tabindex")&&"-1"!==e.getAttribute("data-tabindex"))&&(e.setAttribute("tabindex","-1"),e.setAttribute("data-tabindex","-1"))}function _o(e){const{context:t,children:n,disabled:r=!1,initialFocus:o=!0,returnFocus:i=!0,restoreFocus:a=!1,modal:c=!0,closeOnFocusOut:d=!0,openInteractionType:l="",nextFocusableElement:u,previousFocusableElement:p,beforeContentFocusGuardRef:f,externalTree:g,getInsideElements:h}=e,b="rootStore"in t?t.rootStore:t,v=b.useState("open"),w=b.useState("domReferenceElement"),y=b.useState("floatingElement"),{events:_,dataRef:x}=b.context,R=Ve(()=>x.current.floatingContext?.nodeId),C=!1===o,E=bt(w)&&C,T=m.useRef(["content"]),z=qn(o),j=qn(i),I=qn(l),A=qe(g),O=fo(),P=m.useRef(!1),N=m.useRef(!1),D=m.useRef(!1),$=m.useRef(null),F=m.useRef(""),V=m.useRef(""),L=m.useRef(null),B=m.useRef(null),H=Mn(L,f,O?.beforeInsideRef),W=Mn(B,O?.afterInsideRef),U=le(),G=le(),Y=ge(),X=null!=O,K=vt(y),J=Ve((e=K)=>e?Hr(e):[]),Q=Ve(()=>h?.().filter(e=>null!=e)??[]);m.useEffect(()=>{if(!r&&c)return q(re(K),"keydown",function(e){"Tab"===e.key&&pt(K,ut(re(K)))&&0===J().length&&!E&&wt(e)})},[r,K,c,E,J]),m.useEffect(()=>{if(r||!v)return;const e=re(K);function t(){D.current=!1}return Ne(q(e,"pointerdown",function(e){const t=ft(e),n=Q(),r=pt(y,t)||pt(w,t)||pt(O?.portalNode,t)||n.some(e=>e===t||pt(e,t));D.current=!r,V.current=e.pointerType||"keyboard",t?.closest("[data-base-ui-click-trigger]")&&(N.current=!0)},!0),q(e,"pointerup",t,!0),q(e,"pointercancel",t,!0),q(e,"keydown",function(){V.current="keyboard"},!0))},[r,y,w,K,v,O,Q]),m.useEffect(()=>{if(r||!d)return;const e=re(K);function t(t){const n=t.relatedTarget,r=t.currentTarget,o=ft(t);queueMicrotask(()=>{const i=R(),s=b.context.triggerElements,d=Q(),l=n?.hasAttribute(ot("focus-guard"))&&[L.current,B.current,O?.beforeInsideRef.current,O?.afterInsideRef.current,O?.beforeOutsideRef.current,O?.afterOutsideRef.current,Kt(p),Kt(u)].includes(n),f=!(pt(w,n)||pt(y,n)||pt(n,y)||pt(O?.portalNode,n)||d.some(e=>e===n||pt(e,n))||null!=n&&s.hasElement(n)||s.hasMatchingElement(e=>pt(e,n))||l||A&&(kt(A.nodesRef.current,i).find(e=>pt(e.context?.elements.floating,n)||pt(e.context?.elements.domReference,n))||St(A.nodesRef.current,i).find(e=>[e.context?.elements.floating,vt(e.context?.elements.floating)].includes(n)||e.context?.elements.domReference===n)));if(r===w&&K&&yo(K,T),a&&r!==w&&!Tr(o)&&ut(e)===e.body){if(M(K)&&(K.focus(),"popup"===a))return void Y.request(()=>{K.focus()});const e=J(),t=$.current,n=(t&&e.includes(t)?t:null)||e[e.length-1]||K;M(n)&&n.focus()}x.current.insideReactTree?x.current.insideReactTree=!1:!E&&c||!n||!f||N.current||!E&&n===wo()||(P.current=!0,b.setOpen(!1,Ge(et,t)))})}const n=M(w)?w:null;return y||n?Ne(n&&q(n,"focusout",t),n&&q(n,"pointerdown",function(){N.current=!0,G.start(0,()=>{N.current=!1})}),y&&q(y,"focusin",function(e){const t=ft(e);Lr(t)&&($.current=t)}),y&&q(y,"focusout",t),y&&O&&q(y,"focusout",function(){D.current||(x.current.insideReactTree=!0,U.start(0,()=>{x.current.insideReactTree=!1}))},!0)):void 0},[r,w,y,K,c,A,O,b,d,a,J,E,R,T,x,U,G,Y,u,p,Q]),m.useEffect(()=>{if(r||!y||!v)return;const e=Array.from(O?.portalNode?.querySelectorAll(`[${ot("portal")}]`)||[]),t=A?St(A.nodesRef.current,R()):[],n=t.find(e=>bt(e.context?.elements.domReference||null))?.context?.elements.domReference,o=ao([y,...e,L.current,B.current,O?.beforeOutsideRef.current,O?.afterOutsideRef.current,...Q(),n,Kt(p),Kt(u),E?w:null].filter(e=>null!=e),{ariaHidden:c||E,mark:!1}),i=ao([y,...e].filter(e=>null!=e));return()=>{i(),o()}},[v,r,w,y,c,O,E,A,R,u,p,Q]),oe(()=>{if(!v||r||!M(K))return;const e=re(K),t=ut(e);queueMicrotask(()=>{const n=z.current,r="function"==typeof n?n(I.current||""):n;if(void 0===r||!1===r)return;if(pt(K,t))return;let o=null;const i=()=>(null==o&&(o=J(K)),o[0]||K);let a;a=!0===r||null===r?i():Kt(r),a=a||i();const s=pt(K,ut(e));Kr(a,{preventScroll:a===K,shouldFocus(){if(s)return!0;const t=ut(e);return!(t!==a&&pt(K,t))}})})},[r,v,K,J,z,I]),oe(()=>{if(r||!K)return;const e=re(K);var t;function n(e){if(e.open||(F.current=function(e,t){const n=S(ft(e));return e instanceof n.KeyboardEvent?"keyboard":e instanceof n.FocusEvent?t||"keyboard":"pointerType"in e?e.pointerType||"keyboard":"touches"in e?"touch":e instanceof n.MouseEvent?t||(0===e.detail?"keyboard":"mouse"):""}(e.nativeEvent,V.current)),e.reason===Ke&&"mouseleave"===e.nativeEvent.type&&(P.current=!0),e.reason===Je)if(e.nested)P.current=!1;else if(yt(e.nativeEvent)||_t(e.nativeEvent))P.current=!1;else{let e=!1;re(K).createElement("div").focus({get preventScroll(){return e=!0,!1}}),P.current=!e}}return t=ut(e),vo(),t&&"body"!==k(t)&&(bo.push(new WeakRef(t)),bo.length>20&&(bo=bo.slice(-20))),_.on("openchange",n),()=>{_.off("openchange",n);const t=ut(e),r=Q(),o=pt(y,t)||r.some(e=>e===t||pt(e,t))||A&&kt(A.nodesRef.current,R(),!1).some(e=>pt(e.context?.elements.floating,t)),i=j.current,a=function(){const e=j.current;let t="function"==typeof e?e(F.current):e;if(void 0===t||!1===t)return null;if(null===t&&(t=!0),"boolean"==typeof t)return w?.isConnected?w:wo()||null;const n=w?.isConnected?w:wo();return Kt(t)||n||null}();queueMicrotask(()=>{const n=(r=a)?Lr(r)?r:Hr(r)[0]||r:null;var r;const s="boolean"!=typeof i;i&&!P.current&&M(n)&&(s||n===t||t===e.body||o)&&n.focus({preventScroll:!0}),P.current=!1})}},[r,y,K,j,_,A,w,R,Q]),oe(()=>{if(!Z||v||!y)return;const e=ut(re(y));M(e)&&ht(e)&&pt(y,e)&&e.blur()},[v,y]),oe(()=>{if(!r&&O)return O.setFocusManagerState({modal:c,closeOnFocusOut:d,open:v,onOpenChange:b.setOpen,domReference:w}),()=>{O.setFocusManagerState(null)}},[r,O,c,v,b,d,w]),oe(()=>{if(!r&&K)return yo(K,T),()=>{queueMicrotask(vo)}},[r,K,T]);const ee=!r&&(!c||!E)&&(X||c);return(0,s.jsxs)(m.Fragment,{children:[ee&&(0,s.jsx)(Zn,{"data-type":"inside",ref:H,onFocus:e=>{if(c){const e=J();Kr(e[e.length-1])}else if(O?.portalNode)if(P.current=!1,Gr(e,O.portalNode)){const e=Ur(w);e?.focus()}else Kt(p??O.beforeOutsideRef)?.focus()}}),n,ee&&(0,s.jsx)(Zn,{"data-type":"inside",ref:W,onFocus:e=>{if(c)Kr(J()[0]);else if(O?.portalNode)if(d&&(P.current=!0),Gr(e,O.portalNode)){const e=qr(w);e?.focus()}else Kt(u??O.afterOutsideRef)?.focus()}})]})}let xo=function(e){return e.nestedDialogs="--nested-dialogs",e}({}),ko=function(e){return e[e.open=On.open]="open",e[e.closed=On.closed]="closed",e[e.startingStyle=On.startingStyle]="startingStyle",e[e.endingStyle=On.endingStyle]="endingStyle",e.nested="data-nested",e.nestedDialogOpen="data-nested-dialog-open",e}({});const So=m.createContext(void 0),Ro="ArrowUp",Co="ArrowDown",Eo="ArrowLeft",Mo="ArrowRight",To="Home",zo="End",jo=new Set([Eo,Mo]),Io=(new Set([Eo,Mo,To,zo]),new Set([Ro,Co])),Ao=(new Set([Ro,Co,To,zo]),new Set([...jo,...Io])),Oo=new Set([...Ao,To,zo]);new Set(["Shift","Control","Alt","Meta"]);const Po={...Hn,...en,nestedDialogOpen:e=>e?{[ko.nestedDialogOpen]:""}:null},No=m.forwardRef(function(e,t){const{render:n,className:r,style:o,finalFocus:i,initialFocus:a,...c}=e,{store:d}=y(),l=d.useState("descriptionElementId"),u=d.useState("disablePointerDismissal"),p=d.useState("floatingRootContext"),f=d.useState("popupProps"),g=d.useState("modal"),h=d.useState("mounted"),v=d.useState("nested"),w=d.useState("nestedOpenDialogCount"),_=d.useState("open"),x=d.useState("openMethod"),k=d.useState("titleElementId"),S=d.useState("transitionStatus"),R=d.useState("role"),C=p.useState("floatingId"),E=c.id??C;!function(){if(void 0===m.useContext(So))throw new Error(b(26))}(),tn({open:_,ref:d.context.popupRef,onComplete(){_&&d.context.onOpenChangeComplete?.(!0)}});const M=void 0===a?function(e){return"touch"!==e||d.context.popupRef.current}:a,T=w>0,z=d.useStateSetter("popupElement"),j=In("div",e,{state:{open:_,nested:v,transitionStatus:S,nestedDialogOpen:T},props:[f,{id:E,"aria-labelledby":k??void 0,"aria-describedby":l??void 0,role:R,...nn,hidden:!h,onKeyDown(e){Oo.has(e.key)&&e.stopPropagation()},style:{[xo.nestedDialogs]:w}},c],ref:[t,d.context.popupRef,z],stateAttributesMapping:Po});return(0,s.jsx)(_o,{context:p,openInteractionType:x,disabled:!h,closeOnFocusOut:!u,initialFocus:M,returnFocus:i,modal:!1!==g,restoreFocus:"popup",children:j})}),Do=window.wp.compose;var $o=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"].join(","),Fo="undefined"==typeof Element,Vo=Fo?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Lo=!Fo&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},Bo=function(e,t){var n;void 0===t&&(t=!0);var r=null==e||null===(n=e.getAttribute)||void 0===n?void 0:n.call(e,"inert");return""===r||"true"===r||t&&e&&("function"==typeof e.closest?e.closest("[inert]"):Bo(e.parentNode))},Ho=function(e,t,n){for(var r=[],o=Array.from(e);o.length;){var i=o.shift();if(!Bo(i,!1))if("SLOT"===i.tagName){var a=i.assignedElements(),s=a.length?a:i.children,c=Ho(s,!0,n);n.flatten?r.push.apply(r,c):r.push({scopeParent:i,candidates:c})}else{Vo.call(i,$o)&&n.filter(i)&&(t||!e.includes(i))&&r.push(i);var d=i.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(i),l=!Bo(d,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(i));if(d&&l){var u=Ho(!0===d?i.children:d.children,!0,n);n.flatten?r.push.apply(r,u):r.push({scopeParent:i,candidates:u})}else o.unshift.apply(o,i.children)}}return r},Wo=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},Uo=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!Wo(e)?0:e.tabIndex},qo=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},Go=function(e){return"INPUT"===e.tagName},Yo=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},Xo=function(e,t){return!(t.disabled||function(e){return Go(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("full-native"===n&&"checkVisibility"in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});if("hidden"===getComputedStyle(e).visibility)return!0;var o=Vo.call(e,"details>summary:first-of-type")?e.parentElement:e;if(Vo.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return Yo(e)}else{if("function"==typeof r){for(var i=e;e;){var a=e.parentElement,s=Lo(e);if(a&&!a.shadowRoot&&!0===r(a))return Yo(e);e=e.assignedSlot?e.assignedSlot:a||s===e.ownerDocument?a:s.host}e=i}if(function(e){var t,n,r,o,i=e&&Lo(e),a=null===(t=i)||void 0===t?void 0:t.host,s=!1;if(i&&i!==e)for(s=!!(null!==(n=a)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(a)||null!=e&&null!==(o=e.ownerDocument)&&void 0!==o&&o.contains(e));!s&&a;){var c,d,l;s=!(null===(d=a=null===(c=i=Lo(a))||void 0===c?void 0:c.host)||void 0===d||null===(l=d.ownerDocument)||void 0===l||!l.contains(a))}return s}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some(function(e){return"SUMMARY"===e.tagName})}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!Vo.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},Ko=function(e,t){return!(function(e){return function(e){return Go(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||Lo(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!o||o===e}(e)}(t)||Uo(t)<0||!Xo(e,t))},Zo=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Jo=function(e){var t=[],n=[];return e.forEach(function(e,r){var o=!!e.scopeParent,i=o?e.scopeParent:e,a=function(e,t){var n=Uo(e);return n<0&&t&&!Wo(e)?0:n}(i,o),s=o?Jo(e.candidates):i;0===a?o?t.push.apply(t,s):t.push(i):n.push({documentOrder:r,tabIndex:a,item:e,isScope:o,content:s})}),n.sort(qo).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)};function Qo({initialFocus:e,deprioritizedAttributes:t}){const n=(0,l.useRef)(null);let r=e;return void 0!==e&&!0!==e||(r=e=>{if("touch"===e)return n.current??!0;const r=n.current;if(!r)return!0;const o=(i=r,s=(a=(a={getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"})||{}).getShadowRoot?Ho([i],a.includeContainer,{filter:Ko.bind(null,a),flatten:!1,getShadowRoot:a.getShadowRoot,shadowRootFilter:Zo}):function(e,t,n){if(Bo(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll($o));return t&&Vo.call(e,$o)&&r.unshift(e),r.filter(n)}(i,a.includeContainer,Ko.bind(null,a)),Jo(s));var i,a,s;for(const e of o)if(e instanceof HTMLElement&&!t.some(t=>e.hasAttribute(t)))return e;return!0}),{resolvedInitialFocus:r,popupRef:n}}var ei="data-wp-ui-overlay-scroll-container",ti="data-wp-ui-overlay-scrolled-from-top",ni="data-wp-ui-overlay-scrolled-from-bottom",ri="data-wp-ui-overlay-scroll-tabbable";function oi(e){e.hasAttribute(ri)&&"0"!==e.getAttribute("tabindex")&&e.removeAttribute(ri)}function ii(e){const{scrollTop:t,clientHeight:n,scrollHeight:r}=e,o=r-n>1;e.toggleAttribute(ti,t>0),e.toggleAttribute(ni,t+n<r-1),oi(e),o?e.hasAttribute(ri)||null!==e.getAttribute("tabindex")||(e.setAttribute("tabindex","0"),e.setAttribute(ri,"")):e.hasAttribute(ri)&&(e.removeAttribute("tabindex"),e.removeAttribute(ri))}var ai=[ei,ti,ni];function si(e){for(const t of ai)e.removeAttribute(t);oi(e),e.hasAttribute(ri)&&(e.removeAttribute("tabindex"),e.removeAttribute(ri))}function ci(e,t,n){return(0,l.cloneElement)(e??t,{children:n})}const di=window.wp.deprecated,li=window.wp.privateApis;var{lock:ui,unlock:pi}=(0,li.__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/theme"),fi=(0,l.createContext)({resolvedSettings:{color:{},cursor:void 0,cornerRadius:void 0}});function gi(e){return"string"===mi(e)}function mi(e){return(Object.prototype.toString.call(e).match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function hi(e,{precision:t=16,unit:n}){return bi(e)?"none":(e=+vi(e,t))+(n??"")}function bi(e){return null===e}function vi(e,t){if(0===e)return 0;let n=~~e,r=0;n&&t&&(r=1+~~Math.log10(Math.abs(n)));const o=10**(t-r);return Math.floor(e*o+.5)/o}function wi(e,t,n){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*n}function yi(e,t,n){return!e||!t||e===t||e[0]===t[0]&&e[1]===t[1]||isNaN(n)||null===n?n:wi(t[0],t[1],function(e,t,n){return(n-e)/(t-e)}(e[0],e[1],n))}function _i(e,t,n){return Math.max(Math.min(n,t),e)}function xi(e,t){return Math.sign(e)===Math.sign(t)?e:-e}function ki(e,t){return xi(Math.abs(e)**t,e)}function Si(e,t){return 0===t?0:e/t}function Ri(e,t){if(e instanceof t)return!0;const n=t.name;for(;e;){const t=Object.getPrototypeOf(e),r=t?.constructor?.name;if(r===n)return!0;if(!r||"Object"===r)return!1;e=t}return!1}class Ci{type;coordMeta;coordRange;range;constructor(e,t){if("object"==typeof e&&(this.coordMeta=e),t&&(this.coordMeta=t,this.coordRange=t.range??t.refRange),"string"==typeof e){let t=e.trim().match(/^(?<type><[a-z]+>)(\[(?<min>-?[.\d]+),\s*(?<max>-?[.\d]+)\])?$/);if(!t)throw new TypeError(`Cannot parse ${e} as a type definition.`);this.type=t.groups.type;let{min:n,max:r}=t.groups;(n||r)&&(this.range=[+n,+r])}}get computedRange(){return this.range?this.range:"<percentage>"===this.type?this.percentageRange():"<angle>"===this.type?[0,360]:null}get unit(){return"<percentage>"===this.type?"%":"<angle>"===this.type?"deg":""}resolve(e){if("<angle>"===this.type)return e;let t=this.computedRange,n=this.coordRange;return"<percentage>"===this.type&&(n??=this.percentageRange()),yi(t,n,e)}serialize(e,t){let n="<percentage>"===this.type?this.percentageRange(100):this.computedRange,r=this.unit;return hi(e=yi(this.coordRange,n,e),{unit:r,precision:t})}toString(){let e=this.type;if(this.range){let[t="",n=""]=this.range;e+=`[${t},${n}]`}return e}percentageRange(e=1){let t;return t=this.coordMeta&&this.coordMeta.range||this.coordRange&&this.coordRange[0]>=0?[0,1]:[-1,1],[t[0]*e,t[1]*e]}static get(e,t){return Ri(e,this)?e:new this(e,t)}}const Ei=Symbol("instance");class Mi{type;name;spaceCoords;coords;id;alpha;constructor(e,t=e.space){e[Ei]=this,this.type="function",this.name="color",Object.assign(this,e),this.space=t,"custom"!==this.type&&(this.spaceCoords=Object.values(t.coords),this.coords||(this.coords=this.spaceCoords.map(e=>{let t=["<number>","<percentage>"];return"angle"===e.type&&t.push("<angle>"),t})),this.coords=this.coords.map((e,t)=>{let n=this.spaceCoords[t];return"string"==typeof e&&(e=e.trim().split(/\s*\|\s*/)),e.map(e=>Ci.get(e,n))}))}serializeCoords(e,t,n){return n=e.map((e,t)=>Ci.get(n?.[t]??this.coords[t][0],this.spaceCoords[t])),e.map((e,r)=>n[r].serialize(e,t))}coerceCoords(e,t){return Object.entries(this.space.coords).map(([n,r],o)=>{let i=e[o];if(bi(i)||isNaN(i))return i;let a=t[o],s=this.coords[o].find(e=>e.type==a);if(!s){let e=r.name||n;throw new TypeError(`${a??i?.raw??i} not allowed for ${e} in ${this.name}()`)}return i=s.resolve(i),s.range&&(t[o]=s.toString()),i})}canSerialize(){return"function"===this.type||this.serialize}parse(e){return null}static get(e,...t){return!e||Ri(e,this)?e:e[Ei]?e[Ei]:new Mi(e,...t)}}const Ti=new class{add(e,t,n){if("string"==typeof arguments[0])(Array.isArray(e)?e:[e]).forEach(function(e){this[e]=this[e]||[],t&&this[e][n?"unshift":"push"](t)},this);else for(var e in arguments[0])this.add(e,arguments[0][e],arguments[1])}run(e,t){this[e]=this[e]||[],this[e].forEach(function(e){e.call(t&&t.context?t.context:t,t)})}};function zi(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function ji(e,t,n=[0,0,0]){const r=zi(e,t[0]),o=zi(e,t[1]),i=zi(e,t[2]);return n[0]=r,n[1]=o,n[2]=i,n}const Ii={D50:[.3457/.3585,1,.2958/.3585],D65:[.3127/.329,1,.3583/.329]};function Ai(e){return Array.isArray(e)?e:Ii[e]}function Oi(e,t,n,r={}){if(e=Ai(e),t=Ai(t),!e||!t)throw new TypeError(`Missing white point to convert ${e?"":"from"}${e||t?"":"/"}${t?"":"to"}`);if(e===t)return n;let o={W1:e,W2:t,XYZ:n,options:r};if(Ti.run("chromatic-adaptation-start",o),o.M||(o.W1===Ii.D65&&o.W2===Ii.D50?o.M=[[1.0479297925449969,.022946870601609652,-.05019226628920524],[.02962780877005599,.9904344267538799,-.017073799063418826],[-.009243040646204504,.015055191490298152,.7518742814281371]]:o.W1===Ii.D50&&o.W2===Ii.D65&&(o.M=[[.955473421488075,-.02309845494876471,.06325924320057072],[-.0283697093338637,1.0099953980813041,.021041441191917323],[.012314014864481998,-.020507649298898964,1.330365926242124]])),Ti.run("chromatic-adaptation-end",o),o.M)return ji(o.XYZ,o.M);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}class Pi{constructor(e){this.id=e.id,this.name=e.name,this.base=e.base?Pi.get(e.base):null,this.aliases=e.aliases,this.base&&(this.fromBase=e.fromBase,this.toBase=e.toBase);let t=e.coords??this.base.coords;for(let e in t)"name"in t[e]||(t[e].name=e);this.coords=t;let n=e.white??this.base.white??"D65";this.white=Ai(n),this.formats=e.formats??{};for(let e in this.formats){let t=this.formats[e];t.type||="function",t.name||=e}this.formats.color?.id||(this.formats.color={...this.formats.color??{},id:e.cssId||this.id}),e.gamutSpace?this.gamutSpace="self"===e.gamutSpace?this:Pi.get(e.gamutSpace):this.isPolar?this.gamutSpace=this.base:this.gamutSpace=this,this.gamutSpace.isUnbounded&&(this.inGamut=(e,t)=>!0),this.referred=e.referred,Object.defineProperty(this,"path",{value:Ni(this).reverse(),writable:!1,enumerable:!0,configurable:!0}),Ti.run("colorspace-init-end",this)}inGamut(e,{epsilon:t=75e-6}={}){if(!this.equals(this.gamutSpace))return e=this.to(this.gamutSpace,e),this.gamutSpace.inGamut(e,{epsilon:t});let n=Object.values(this.coords);return e.every((e,r)=>{let o=n[r];if("angle"!==o.type&&o.range){if(bi(e))return!0;let[n,r]=o.range;return(void 0===n||e>=n-t)&&(void 0===r||e<=r+t)}return!0})}get isUnbounded(){return Object.values(this.coords).every(e=>!("range"in e))}get cssId(){return this.formats?.color?.id||this.id}get isPolar(){for(let e in this.coords)if("angle"===this.coords[e].type)return!0;return!1}getFormat(e){if(!e)return null;"default"===e?e=Object.values(this.formats)[0]:"string"==typeof e&&(e=this.formats[e]);let t=Mi.get(e,this);return t!==e&&e.name in this.formats&&(this.formats[e.name]=t),t}equals(e){return!!e&&(this===e||this.id===e||this.id===e.id)}to(e,t){if(1===arguments.length){const n=Li(e);[e,t]=[n.space,n.coords]}if(e=Pi.get(e),this.equals(e))return t;t=t.map(e=>bi(e)?0:e);let n,r,o=this.path,i=e.path;for(let e=0;e<o.length&&o[e].equals(i[e]);e++)n=o[e],r=e;if(!n)throw new Error(`Cannot convert between color spaces ${this} and ${e}: no connection space was found`);for(let e=o.length-1;e>r;e--)t=o[e].toBase(t);for(let e=r+1;e<i.length;e++)t=i[e].fromBase(t);return t}from(e,t){if(1===arguments.length){const n=Li(e);[e,t]=[n.space,n.coords]}return(e=Pi.get(e)).to(this,t)}toString(){return`${this.name} (${this.id})`}getMinCoords(){let e=[];for(let t in this.coords){let n=this.coords[t],r=n.range||n.refRange;e.push(r?.min??0)}return e}static registry={};static get all(){return[...new Set(Object.values(Pi.registry))]}static register(e,t){if(1===arguments.length&&(e=(t=arguments[0]).id),t=this.get(t),this.registry[e]&&this.registry[e]!==t)throw new Error(`Duplicate color space registration: '${e}'`);if(this.registry[e]=t,1===arguments.length&&t.aliases)for(let e of t.aliases)this.register(e,t);return t}static get(e,...t){if(!e||Ri(e,this))return e;if("string"===mi(e)){let t=Pi.registry[e.toLowerCase()];if(!t)throw new TypeError(`No color space found with id = "${e}"`);return t}if(t.length)return Pi.get(...t);throw new TypeError(`${e} is not a valid color space`)}static findFormat(e,t=Pi.all){if(!e)return null;"string"==typeof e&&(e={name:e});for(let n of t)for(let[t,r]of Object.entries(n.formats)){r.name??=t,r.type??="function";let o=!(e.name&&r.name!==e.name||e.type&&r.type!==e.type);if(e.id){let t=r.ids||[r.id],n=Array.isArray(e.id)?e.id:[e.id];o&&=n.some(e=>t.includes(e))}if(o){let e=Mi.get(r,n);return e!==r&&(n.formats[r.name]=e),e}}return null}static resolveCoord(e,t){let n,r,o=mi(e);if("string"===o?e.includes(".")?[n,r]=e.split("."):[n,r]=[,e]:Array.isArray(e)?[n,r]=e:(n=e.space,r=e.coordId),n=Pi.get(n),n||(n=t),!n)throw new TypeError(`Cannot resolve coordinate reference ${e}: No color space specified and relative references are not allowed here`);if(o=mi(r),"number"===o||"string"===o&&r>=0){let e=Object.entries(n.coords)[r];if(e)return{space:n,id:e[0],index:r,...e[1]}}n=Pi.get(n);let i=r.toLowerCase(),a=0;for(let e in n.coords){let t=n.coords[e];if(e.toLowerCase()===i||t.name?.toLowerCase()===i)return{space:n,id:e,index:a,...t};a++}throw new TypeError(`No "${r}" coordinate found in ${n.name}. Its coordinates are: ${Object.keys(n.coords).join(", ")}`)}static DEFAULT_FORMAT={type:"functions",name:"color"}}function Ni(e){let t=[e];for(let n=e;n=n.base;)t.push(n);return t}const Di={gamut_mapping:"css",precision:5,deltaE:"76",verbose:"test"!==globalThis?.process?.env?.NODE_ENV?.toLowerCase(),warn:function(e){this.verbose&&globalThis?.console?.warn?.(e)}};function $i(e,t){let n,r={str:String(e)?.trim(),options:t};if(Ti.run("parse-start",r),r.color)return r.color;r.parsed=function(e){if(!e)return;let t=(e=e.trim()).match(Vi.function);if(t){let e=[],n=[],r=!1,o=t[1].toLowerCase(),i=t[2].replace(Vi.singleArgument,(t,i)=>{let{value:a,meta:s}=function(e){let t={},n=e.match(Vi.unitValue)?.[0],r=t.raw=e;return n?(t.type="%"===n?"<percentage>":"<angle>",t.unit=n,t.unitless=Number(r.slice(0,-n.length)),r=t.unitless*Fi[n]):Vi.number.test(r)?(r=Number(r),t.type="<number>"):"none"===r?r=null:"NaN"===r||"calc(NaN)"===r?(r=NaN,t.type="<number>"):t.type="<ident>",{value:r,meta:t}}(i);return(t.startsWith("/")||"color"!==o&&3===e.length)&&(r=!0),e.push(a),n.push(s),""});return{name:o,args:e,argMeta:n,lastAlpha:r,commas:i.includes(","),rawName:t[1],rawArgs:t[2]}}}(r.str);let o=r.options?r.options.parseMeta??r.options.meta:null;if(r.parsed){let t,i,a=r.parsed.name,s=r.parsed.args,c=s.map((e,t)=>r.parsed.argMeta[t]?.type);if("color"===a){let n=s.shift();c.shift();let o=n.startsWith("--")?n.substring(2):`--${n}`,d=[n,o];if(t=Pi.findFormat({name:a,id:d,type:"function"}),!t){let t,i=n in Pi.registry?n:o;if(i in Pi.registry){let r=Pi.registry[i].formats?.color?.id;r&&(t=`Did you mean ${e.replace("color("+n,"color("+r)}?`)}throw new TypeError(`Cannot parse ${r.str}. `+(t??"Missing a plugin?"))}i=t.space,t.id.startsWith("--")&&!n.startsWith("--")&&Di.warn(`${i.name} is a non-standard space and not currently supported in the CSS spec. Use prefixed color(${t.id}) instead of color(${n}).`),n.startsWith("--")&&!t.id.startsWith("--")&&Di.warn(`${i.name} is a standard space and supported in the CSS spec. Use color(${t.id}) instead of prefixed color(${n}).`)}else t=Pi.findFormat({name:a,type:"function"}),i=t.space;o&&Object.assign(o,{format:t,formatId:t.name,types:c,commas:r.parsed.commas});let d=1;r.parsed.lastAlpha&&(d=r.parsed.args.pop(),o&&(o.alphaType=c.pop()));let l=t.coords.length;if(s.length!==l)throw new TypeError(`Expected ${l} coordinates for ${i.id} in ${r.str}), got ${s.length}`);s=t.coerceCoords(s,c),n={spaceId:i.id,coords:s,alpha:d}}else e:for(let e of Pi.all)for(let t in e.formats){let i=e.formats[t];if("custom"!==i.type)continue;if(i.test&&!i.test(r.str))continue;let a=e.getFormat(i),s=a.parse(r.str);if(s){o&&Object.assign(o,{format:a,formatId:t}),n=s;break e}}if(!n)throw new TypeError(`Could not parse ${e} as a color. Missing a plugin?`);return n.alpha=bi(n.alpha)?n.alpha:void 0===n.alpha?1:_i(0,n.alpha,1),n}const Fi={"%":.01,deg:1,grad:.9,rad:180/Math.PI,turn:360},Vi={function:/^([a-z]+)\(((?:calc\(NaN\)|.)+?)\)$/i,number:/^([-+]?(?:[0-9]*\.)?[0-9]+(e[-+]?[0-9]+)?)$/i,unitValue:RegExp(`(${Object.keys(Fi).join("|")})$`),singleArgument:/\/?\s*(none|NaN|calc\(NaN\)|[-+\w.]+(?:%|deg|g?rad|turn)?)/g};function Li(e,t){if(Array.isArray(e))return e.map(e=>Li(e,t));if(!e)throw new TypeError("Empty color reference");gi(e)&&(e=$i(e,t));let n=e.space||e.spaceId;return"string"==typeof n&&(e.space=Pi.get(n)),void 0===e.alpha&&(e.alpha=1),e}const Bi=new Pi({id:"xyz-d65",name:"XYZ D65",coords:{x:{refRange:[0,1],name:"X"},y:{refRange:[0,1],name:"Y"},z:{refRange:[0,1],name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]}),Hi=new Pi({id:"xyz-d50",name:"XYZ D50",white:"D50",base:Bi,fromBase:e=>Oi(Bi.white,"D50",e),toBase:e=>Oi("D50",Bi.white,e)}),Wi=216/24389,Ui=24/116,qi=24389/27;let Gi=Ii.D50;const Yi=new Pi({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"Lightness"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Gi,base:Hi,fromBase(e){let t=e.map((e,t)=>e/Gi[t]).map(e=>e>Wi?Math.cbrt(e):(qi*e+16)/116);return[116*t[1]-16,500*(t[0]-t[1]),200*(t[1]-t[2])]},toBase(e){let[t,n,r]=e,o=[];return o[1]=(t+16)/116,o[0]=n/500+o[1],o[2]=o[1]-r/200,[o[0]>Ui?Math.pow(o[0],3):(116*o[0]-16)/qi,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/qi,o[2]>Ui?Math.pow(o[2],3):(116*o[2]-16)/qi].map((e,t)=>e*Gi[t])},formats:{lab:{coords:["<percentage> | <number>","<number> | <percentage>","<number> | <percentage>"]}}});function Xi(e){return"number"!=typeof e?e:(e%360+360)%360}const Ki=new Pi({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:Yi,fromBase(e){if(void 0===this.ε){let e=Object.values(this.base.coords)[1].refRange,t=e[1]-e[0];this.ε=t/1e5}let[t,n,r]=e,o=Math.abs(n)<this.ε&&Math.abs(r)<this.ε,i=o?null:Xi(180*Math.atan2(r,n)/Math.PI);return[t,o?0:Math.sqrt(n**2+r**2),i]},toBase(e){let[t,n,r]=e,o=null,i=null;return bi(r)||(n=n<0?0:n,o=n*Math.cos(r*Math.PI/180),i=n*Math.sin(r*Math.PI/180)),[t,o,i]},formats:{lch:{coords:["<percentage> | <number>","<number> | <percentage>","<number> | <angle>"]}}}),Zi=25**7,Ji=Math.PI,Qi=180/Ji,ea=Ji/180;function ta(e){const t=e*e;return t*t*t*e}function na(e,t,{kL:n=1,kC:r=1,kH:o=1}={}){[e,t]=Li([e,t]);let[i,a,s]=Yi.from(e),c=Ki.from(Yi,[i,a,s])[1],[d,l,u]=Yi.from(t),p=Ki.from(Yi,[d,l,u])[1];c<0&&(c=0),p<0&&(p=0);let f=ta((c+p)/2),g=.5*(1-Math.sqrt(f/(f+Zi))),m=(1+g)*a,h=(1+g)*l,b=Math.sqrt(m**2+s**2),v=Math.sqrt(h**2+u**2),w=0===m&&0===s?0:Math.atan2(s,m),y=0===h&&0===u?0:Math.atan2(u,h);w<0&&(w+=2*Ji),y<0&&(y+=2*Ji),w*=Qi,y*=Qi;let _,x=d-i,k=v-b,S=y-w,R=w+y,C=Math.abs(S);b*v===0?_=0:C<=180?_=S:S>180?_=S-360:S<-180?_=S+360:Di.warn("the unthinkable has happened");let E,M=2*Math.sqrt(v*b)*Math.sin(_*ea/2),T=(i+d)/2,z=(b+v)/2,j=ta(z);E=b*v===0?R:C<=180?R/2:R<360?(R+360)/2:(R-360)/2;let I=(T-50)**2,A=1+.015*I/Math.sqrt(20+I),O=1+.045*z,P=1;P-=.17*Math.cos((E-30)*ea),P+=.24*Math.cos(2*E*ea),P+=.32*Math.cos((3*E+6)*ea),P-=.2*Math.cos((4*E-63)*ea);let N=1+.015*z*P,D=30*Math.exp(-1*((E-275)/25)**2),$=2*Math.sqrt(j/(j+Zi)),F=(x/(n*A))**2;return F+=(k/(r*O))**2,F+=(M/(o*N))**2,F+=-1*Math.sin(2*D*ea)*$*(k/(r*O))*(M/(o*N)),Math.sqrt(F)}const ra=[[.819022437996703,.3619062600528904,-.1288737815209879],[.0329836539323885,.9292868615863434,.0361446663506424],[.0481771893596242,.2642395317527308,.6335478284694309]],oa=[[1.2268798758459243,-.5578149944602171,.2813910456659647],[-.0405757452148008,1.112286803280317,-.0717110580655164],[-.0763729366746601,-.4214933324022432,1.5869240198367816]],ia=[[.210454268309314,.7936177747023054,-.0040720430116193],[1.9779985324311684,-2.42859224204858,.450593709617411],[.0259040424655478,.7827717124575296,-.8086757549230774]],aa=[[1,.3963377773761749,.2158037573099136],[1,-.1055613458156586,-.0638541728258133],[1,-.0894841775298119,-1.2914855480194092]],sa=new Pi({id:"oklab",name:"Oklab",coords:{l:{refRange:[0,1],name:"Lightness"},a:{refRange:[-.4,.4]},b:{refRange:[-.4,.4]}},white:"D65",base:Bi,fromBase(e){let t=ji(e,ra);return t[0]=Math.cbrt(t[0]),t[1]=Math.cbrt(t[1]),t[2]=Math.cbrt(t[2]),ji(t,ia,t)},toBase(e){let t=ji(e,aa);return t[0]=t[0]**3,t[1]=t[1]**3,t[2]=t[2]**3,ji(t,oa,t)},formats:{oklab:{coords:["<percentage> | <number>","<number> | <percentage>","<number> | <percentage>"]}}});function ca(e,t){[e,t]=Li([e,t]);let[n,r,o]=sa.from(e),[i,a,s]=sa.from(t),c=n-i,d=r-a,l=o-s;return Math.sqrt(c**2+d**2+l**2)}function da(e,t,{epsilon:n=75e-6}={}){e=Li(e),t||(t=e.space),t=Pi.get(t);let r=e.coords;return t!==e.space&&(r=t.from(e)),t.inGamut(r,{epsilon:n})}function la(e,t){e=Li(e);let n,r=Pi.get(t,t?.space),o=t?.precision;return n=!r||e.space.equals(r)?e.coords.slice():r.from(e),void 0===o?n:n.map(e=>vi(e,o))}function ua(e,t){if(e=Li(e),"alpha"===t)return e.alpha??1;let{space:n,index:r}=Pi.resolveCoord(t,e.space);return la(e,n)[r]}function pa(e,t,n,r){return e=Li(e),Array.isArray(t)&&([t,n,r]=[e.space,t,n]),t=Pi.get(t),e.coords=t===e.space?n.slice():t.to(e.space,n),void 0!==r&&(e.alpha=r),e}function fa(e,t,n){if(e=Li(e),2===arguments.length&&"object"===mi(arguments[1])){let t=arguments[1];for(let n in t)fa(e,n,t[n])}else if("function"==typeof n&&(n=n(ua(e,t))),"alpha"===t)e.alpha=n;else{let{space:r,index:o}=Pi.resolveCoord(t,e.space),i=la(e,r);i[o]=n,pa(e,r,i)}return e}function ga(e){return{space:e.space,coords:e.coords.slice(),alpha:e.alpha}}pa.returns="color",fa.returns="color";const ma=Math.PI/180,ha=new Pi({id:"xyz-abs-d65",cssId:"--xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:Bi,fromBase:e=>e.map(e=>203*e),toBase:e=>e.map(e=>e/203)}),ba=1.15,va=.66,wa=2610/16384,ya=16384/2610,_a=.8359375,xa=2413/128,ka=18.6875,Sa=1.7*2523/32,Ra=32/(1.7*2523),Ca=-.56,Ea=16295499532821565e-27,Ma=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],Ta=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],za=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],ja=[[1,.13860504327153927,.05804731615611883],[1,-.1386050432715393,-.058047316156118904],[1,-.09601924202631895,-.811891896056039]],Ia=new Pi({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.21,.21]},bz:{refRange:[-.21,.21]}},base:ha,fromBase(e){let[t,n,r]=e,o=ji([ba*t-(ba-1)*r,va*n-(va-1)*t,r],Ma).map(function(e){let t=_a+xa*ki(e/1e4,wa),n=1+ka*ki(e/1e4,wa);return ki(t/n,Sa)}),[i,a,s]=ji(o,za);return[(1+Ca)*i/(1+Ca*i)-Ea,a,s]},toBase(e){let[t,n,r]=e,o=ji([(t+Ea)/(1+Ca-Ca*(t+Ea)),n,r],ja).map(function(e){let t=_a-ki(e,Ra),n=ka*ki(e,Ra)-xa;return 1e4*ki(t/n,ya)}),[i,a,s]=ji(o,Ta),c=(i+(ba-1)*s)/ba;return[c,(a+(va-1)*c)/va,s]},formats:{jzazbz:{coords:["<percentage> | <number>","<number> | <percentage>","<number> | <percentage>"]}}}),Aa=new Pi({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,.26],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:Ia,fromBase:Ki.fromBase,toBase:Ki.toBase,formats:{jzczhz:{coords:["<percentage> | <number>","<number> | <percentage>","<number> | <angle>"]}}}),Oa=.8359375,Pa=2413/128,Na=18.6875,Da=2610/16384,$a=16384/2610,Fa=32/2523,Va=[[.3592832590121217,.6976051147779502,-.035891593232029],[-.1920808463704993,1.100476797037432,.0753748658519118],[.0070797844607479,.0748396662186362,.8433265453898765]],La=[[.5,.5,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],Ba=[[.9999999999999998,.0086090370379328,.111029625003026],[.9999999999999998,-.0086090370379328,-.1110296250030259],[.9999999999999998,.5600313357106791,-.3206271749873188]],Ha=[[2.0701522183894223,-1.3263473389671563,.2066510476294053],[.3647385209748072,.6805660249472273,-.0453045459220347],[-.0497472075358123,-.0492609666966131,1.1880659249923042]],Wa=new Pi({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-.5,.5],name:"CT"},cp:{refRange:[-.5,.5],name:"CP"}},base:ha,fromBase:e=>{return t=ji(e,Va),ji(t.map(function(e){return((Oa+Pa*(e/1e4)**Da)/(1+Na*(e/1e4)**Da))**78.84375}),La);var t},toBase(e){let t=function(e){return ji(e,Ba).map(function(e){return 1e4*(Math.max(e**Fa-Oa,0)/(Pa-Na*e**Fa))**$a})}(e);return ji(t,Ha)},formats:{ictcp:{coords:["<percentage> | <number>","<number> | <percentage>","<number> | <percentage>"]}}}),Ua=Ii.D65,qa=1/.42,Ga=2*Math.PI,Ya=[[.401288,.650173,-.051461],[-.250268,1.204414,.045854],[-.002079,.048952,.953127]],Xa=[[1.8620678550872327,-1.0112546305316843,.14918677544445175],[.38752654323613717,.6214474419314753,-.008973985167612518],[-.015841498849333856,-.03412293802851557,1.0499644368778496]],Ka=[[460,451,288],[460,-891,-261],[460,-220,-6300]],Za={dark:[.8,.525,.8],dim:[.9,.59,.9],average:[1,.69,1]},Ja={h:[20.14,90,164.25,237.53,380.14],e:[.8,.7,1,1.2,.8],H:[0,100,200,300,400]},Qa=180/Math.PI,es=Math.PI/180;function ts(e,t){return e.map(e=>{const n=ki(t*Math.abs(e)*.01,.42);return 400*xi(n,e)/(n+27.13)})}function ns(e,t,n,r,o){const i={};i.discounting=o,i.refWhite=e,i.surround=r;const a=e.map(e=>100*e);i.la=t,i.yb=n;const s=a[1],c=ji(a,Ya);let d=Za[i.surround];const l=d[0];i.c=d[1],i.nc=d[2];const u=(1/(5*i.la+1))**4;i.fl=u*i.la+.1*(1-u)*(1-u)*Math.cbrt(5*i.la),i.flRoot=i.fl**.25,i.n=i.yb/s,i.z=1.48+Math.sqrt(i.n),i.nbb=.725*i.n**-.2,i.ncb=i.nbb;const p=o?1:Math.max(Math.min(l*(1-1/3.6*Math.exp((-i.la-42)/92)),1),0);i.dRgb=c.map(e=>wi(1,s/e,p)),i.dRgbInv=i.dRgb.map(e=>1/e);const f=ts(c.map((e,t)=>e*i.dRgb[t]),i.fl);return i.aW=i.nbb*(2*f[0]+f[1]+.05*f[2]),i}const rs=ns(Ua,64/Math.PI*.2,20,"average",!1);function os(e,t){if(!(void 0!==e.J^void 0!==e.Q))throw new Error("Conversion requires one and only one: 'J' or 'Q'");if(!(void 0!==e.C^void 0!==e.M^void 0!==e.s))throw new Error("Conversion requires one and only one: 'C', 'M' or 's'");if(!(void 0!==e.h^void 0!==e.H))throw new Error("Conversion requires one and only one: 'h' or 'H'");if(0===e.J||0===e.Q)return[0,0,0];let n=0;n=void 0!==e.h?Xi(e.h)*es:function(e){let t=(e%400+400)%400;const n=Math.floor(.01*t);t%=100;const[r,o]=Ja.h.slice(n,n+2),[i,a]=Ja.e.slice(n,n+2);return Xi((t*(a*r-i*o)-100*r*a)/(t*(a-i)-100*a))}(e.H)*es;const r=Math.cos(n),o=Math.sin(n);let i=0;void 0!==e.J?i=.1*ki(e.J,.5):void 0!==e.Q&&(i=.25*t.c*e.Q/((t.aW+4)*t.flRoot));let a=0;void 0!==e.C?a=e.C/i:void 0!==e.M?a=e.M/t.flRoot/i:void 0!==e.s&&(a=4e-4*e.s**2*(t.aW+4)/t.c);const s=ki(a*Math.pow(1.64-Math.pow(.29,t.n),-.73),10/9),c=.25*(Math.cos(n+2)+3.8),d=t.aW*ki(i,2/t.c/t.z),l=5e4/13*t.nc*t.ncb*c,u=d/t.nbb,p=23*(u+.305)*Si(s,23*l+s*(11*r+108*o)),f=function(e,t){const n=100/t*2588.068098016295;return e.map(e=>{const t=Math.abs(e);return xi(n*ki(t/(400-t),qa),e)})}(ji([u,p*r,p*o],Ka).map(e=>1*e/1403),t.fl);return ji(f.map((e,n)=>e*t.dRgbInv[n]),Xa).map(e=>e/100)}function is(e,t){const n=ts(ji(e.map(e=>100*e),Ya).map((e,n)=>e*t.dRgb[n]),t.fl),r=n[0]+(-12*n[1]+n[2])/11,o=(n[0]+n[1]-2*n[2])/9,i=(Math.atan2(o,r)%Ga+Ga)%Ga,a=.25*(Math.cos(i+2)+3.8),s=ki(5e4/13*t.nc*t.ncb*Si(a*Math.sqrt(r**2+o**2),n[0]+n[1]+1.05*n[2]+.305),.9)*Math.pow(1.64-Math.pow(.29,t.n),.73),c=ki(t.nbb*(2*n[0]+n[1]+.05*n[2])/t.aW,.5*t.c*t.z),d=100*ki(c,2),l=4/t.c*c*(t.aW+4)*t.flRoot,u=s*c,p=u*t.flRoot,f=Xi(i*Qa),g=function(e){let t=Xi(e);t<=Ja.h[0]&&(t+=360);const n=function(e,t,n=0,r=e.length){for(;n<r;){const o=n+r>>1;e[o]<t?n=o+1:r=o}return n}(Ja.h,t)-1,[r,o]=Ja.h.slice(n,n+2),[i,a]=Ja.e.slice(n,n+2),s=(t-r)/i;return Ja.H[n]+100*s/(s+(o-t)/a)}(f);return{J:d,C:u,h:f,s:50*ki(t.c*s/(t.aW+4),.5),Q:l,M:p,H:g}}new Pi({id:"cam16-jmh",cssId:"--cam16-jmh",name:"CAM16-JMh",coords:{j:{refRange:[0,100],name:"J"},m:{refRange:[0,105],name:"Colorfulness"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:Bi,fromBase(e){void 0===this.ε&&(this.ε=Object.values(this.coords)[1].refRange[1]/1e5);const t=is(e,rs),n=Math.abs(t.M)<this.ε;return[t.J,n?0:t.M,n?null:t.h]},toBase:e=>os({J:e[0],M:e[1],h:e[2]},rs)});const as=216/24389,ss=24389/27;function cs(e){return e>8?Math.pow((e+16)/116,3):e/ss}const ds=ns(Ii.D65,200/Math.PI*cs(50),100*cs(50),"average",!1),ls=new Pi({id:"hct",name:"HCT",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},c:{refRange:[0,145],name:"Colorfulness"},t:{refRange:[0,100],name:"Tone"}},base:Bi,fromBase(e){void 0===this.ε&&(this.ε=Object.values(this.coords)[1].refRange[1]/1e5);let t=function(e){const t=116*((n=e[1])>as?Math.cbrt(n):(ss*n+16)/116)-16;var n;if(0===t)return[0,0,0];const r=is(e,ds);return[Xi(r.h),r.C,t]}(e);return t[1]<this.ε&&(t[1]=0,t[0]=null),t},toBase:e=>function(e,t){let[n,r,o]=e,i=[],a=0;if(0===o)return[0,0,0];let s=cs(o);a=o>0?.00379058511492914*o**2+.608983189401032*o+.9155088574762233:9514440756550361e-21*o**2+.08693057439788597*o-21.928975842194614;let c=0,d=1/0,l=a;for(;c<=15;){i=os({J:a,C:r,h:n},t);const e=Math.abs(i[1]-s);if(e<d){if(e<=2e-12)return i;l=a,d=e}a-=(i[1]-s)*a/(2*i[1]),c+=1}return os({J:a,C:r,h:n},t)}(e,ds),formats:{color:{id:"--hct",coords:["<number> | <angle>","<percentage> | <number>","<percentage> | <number>"]}}}),us=(Math.PI,Math.PI/180),ps=[1,.007,.0228];function fs(e){e[1]<0&&(e=ls.fromBase(ls.toBase(e)));const t=Math.log(Math.max(1+ps[2]*e[1]*ds.flRoot,1))/ps[2],n=e[0]*us,r=t*Math.cos(n),o=t*Math.sin(n);return[e[2],r,o]}const gs={deltaE76:function(e,t){return function(e,t,n="lab"){let r=(n=Pi.get(n)).from(e),o=n.from(t);return Math.sqrt(r.reduce((e,t,n)=>{let r=o[n];return bi(t)||bi(r)?e:e+(r-t)**2},0))}(e,t,"lab")},deltaECMC:function(e,t,{l:n=2,c:r=1}={}){[e,t]=Li([e,t]);let[o,i,a]=Yi.from(e),[,s,c]=Ki.from(Yi,[o,i,a]),[d,l,u]=Yi.from(t),p=Ki.from(Yi,[d,l,u])[1];s<0&&(s=0),p<0&&(p=0);let f=o-d,g=s-p,m=(i-l)**2+(a-u)**2-g**2,h=.511;o>=16&&(h=.040975*o/(1+.01765*o));let b,v=.0638*s/(1+.0131*s)+.638;bi(c)&&(c=0),b=c>=164&&c<=345?.56+Math.abs(.2*Math.cos((c+168)*ma)):.36+Math.abs(.4*Math.cos((c+35)*ma));let w=Math.pow(s,4),y=Math.sqrt(w/(w+1900)),_=(f/(n*h))**2;return _+=(g/(r*v))**2,_+=m/(v*(y*b+1-y))**2,Math.sqrt(_)},deltaE2000:na,deltaEJz:function(e,t){[e,t]=Li([e,t]);let[n,r,o]=Aa.from(e),[i,a,s]=Aa.from(t),c=n-i,d=r-a;bi(o)&&bi(s)?(o=0,s=0):bi(o)?o=s:bi(s)&&(s=o);let l=o-s,u=2*Math.sqrt(r*a)*Math.sin(l/2*(Math.PI/180));return Math.sqrt(c**2+d**2+u**2)},deltaEITP:function(e,t){[e,t]=Li([e,t]);let[n,r,o]=Wa.from(e),[i,a,s]=Wa.from(t);return 720*Math.sqrt((n-i)**2+.25*(r-a)**2+(o-s)**2)},deltaEOK:ca,deltaEOK2:function(e,t){[e,t]=Li([e,t]);let[n,r,o]=sa.from(e),[i,a,s]=sa.from(t),c=n-i,d=2*(r-a),l=2*(o-s);return Math.sqrt(c**2+d**2+l**2)},deltaEHCT:function(e,t){[e,t]=Li([e,t]);let[n,r,o]=fs(ls.from(e)),[i,a,s]=fs(ls.from(t));return Math.sqrt((n-i)**2+(r-a)**2+(o-s)**2)}},ms={hct:{method:"hct.c",jnd:2,deltaEMethod:"hct",blackWhiteClamp:{}},"hct-tonal":{method:"hct.c",jnd:0,deltaEMethod:"hct",blackWhiteClamp:{channel:"hct.t",min:0,max:100}}};function hs(e,{method:t=Di.gamut_mapping,space:n,deltaEMethod:r="",jnd:o=2,blackWhiteClamp:i}={}){if(e=Li(e),gi(arguments[1])?n=arguments[1]:n||(n=e.space),da(e,n=Pi.get(n),{epsilon:0}))return e;let a;if("css"===t)a=function(e,{space:t}={}){const n=.02,r=1e-4;e=Li(e),t||(t=e.space),t=Pi.get(t);const o=Pi.get("oklch");if(t.isUnbounded)return vs(e,t);const i=vs(e,o);let a=i.coords[0];if(a>=1){const n=vs(bs.WHITE,t);return n.alpha=e.alpha,vs(n,t)}if(a<=0){const n=vs(bs.BLACK,t);return n.alpha=e.alpha,vs(n,t)}if(da(i,t,{epsilon:0}))return vs(i,t);function s(e){const n=vs(e,t),r=Object.values(t.coords);return n.coords=n.coords.map((e,t)=>{if("range"in r[t]){const[n,o]=r[t].range;return _i(n,e,o)}return e}),n}let c=0,d=i.coords[1],l=!0,u=ga(i),p=s(u),f=ca(p,u);if(f<n)return p;for(;d-c>r;){const e=(c+d)/2;if(u.coords[1]=e,l&&da(u,t,{epsilon:0}))c=e;else if(p=s(u),f=ca(p,u),f<n){if(n-f<r)break;l=!1,c=e}else d=e}return p}(e,{space:n});else{if("clip"===t||da(e,n))a=vs(e,n);else{Object.prototype.hasOwnProperty.call(ms,t)&&({method:t,jnd:o,deltaEMethod:r,blackWhiteClamp:i}=ms[t]);let s=na;if(""!==r)for(let e in gs)if("deltae"+r.toLowerCase()===e.toLowerCase()){s=gs[e];break}0===o&&(o=1e-16);let c=hs(vs(e,n),{method:"clip",space:n});if(s(e,c)>o){if(i&&3===Object.keys(i).length){let t=Pi.resolveCoord(i.channel),n=ua(vs(e,t.space),t.id);if(bi(n)&&(n=0),n>=i.max)return vs({space:"xyz-d65",coords:Ii.D65},e.space);if(n<=i.min)return vs({space:"xyz-d65",coords:[0,0,0]},e.space)}let r=Pi.resolveCoord(t),c=r.space,d=r.id,l=vs(e,c);l.coords.forEach((e,t)=>{bi(e)&&(l.coords[t]=0)});let u=(r.range||r.refRange)[0],p=function(e){const t=e?Math.floor(Math.log10(Math.abs(e))):0;return Math.max(parseFloat("1e"+(t-2)),1e-6)}(o),f=u,g=ua(l,d);for(;g-f>p;){let e=ga(l);e=hs(e,{space:n,method:"clip"}),s(l,e)-o<p?f=ua(l,d):g=ua(l,d),fa(l,d,(f+g)/2)}a=vs(l,n)}else a=c}if("clip"===t||!da(a,n,{epsilon:0})){let e=Object.values(n.coords).map(e=>e.range||[]);a.coords=a.coords.map((t,n)=>{let[r,o]=e[n];return void 0!==r&&(t=Math.max(r,t)),void 0!==o&&(t=Math.min(t,o)),t})}}return n!==e.space&&(a=vs(a,e.space)),e.coords=a.coords,e}hs.returns="color";const bs={WHITE:{space:sa,coords:[1,0,0],alpha:1},BLACK:{space:sa,coords:[0,0,0],alpha:1}};function vs(e,t,{inGamut:n}={}){e=Li(e);let r=(t=Pi.get(t)).from(e),o={space:t,coords:r,alpha:e.alpha};return n&&(o=hs(o,!0===n?void 0:n)),o}vs.returns="color";class ws extends Pi{constructor(e){e.coords||(e.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),e.base||(e.base=Bi),e.toXYZ_M&&e.fromXYZ_M&&(e.toBase??=t=>{let n=ji(t,e.toXYZ_M);return this.white!==this.base.white&&(n=Oi(this.white,this.base.white,n)),n},e.fromBase??=t=>ji(t=Oi(this.base.white,this.white,t),e.fromXYZ_M)),e.referred??="display",super(e)}}const ys=new ws({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],fromXYZ_M:[[3.2409699419045226,-1.537383177570094,-.4986107602930034],[-.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-.20397695888897652,1.0569715142428786]]}),_s={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[.6,50/255,.8],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,.6],lightslategrey:[119/255,136/255,.6],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[.4,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,.8],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[.4,.2,.6],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]};let xs=Array(3).fill("<percentage> | <number>[0, 255]"),ks=Array(3).fill("<number>[0, 255]");const Ss=new ws({id:"srgb",name:"sRGB",base:ys,fromBase:e=>e.map(e=>{let t=e<0?-1:1,n=e*t;return n>.0031308?t*(1.055*n**(1/2.4)-.055):12.92*e}),toBase:e=>e.map(e=>{let t=e<0?-1:1,n=e*t;return n<=.04045?e/12.92:t*((n+.055)/1.055)**2.4}),formats:{rgb:{coords:xs},rgb_number:{name:"rgb",commas:!0,coords:ks,alpha:!1},color:{},rgba:{coords:xs,commas:!0,alpha:!0},rgba_number:{name:"rgba",commas:!0,coords:ks},hex:{type:"custom",toGamut:!0,test:e=>/^#(([a-f0-9]{2}){3,4}|[a-f0-9]{3,4})$/i.test(e),parse(e){e.length<=5&&(e=e.replace(/[a-f0-9]/gi,"$&$&"));let t=[];return e.replace(/[a-f0-9]{2}/gi,e=>{t.push(parseInt(e,16)/255)}),{spaceId:"srgb",coords:t.slice(0,3),alpha:t.slice(3)[0]}},serialize:(e,t,{collapse:n=!0,alpha:r}={})=>{(!1!==r&&t<1||!0===r)&&e.push(t),e=e.map(e=>Math.round(255*e));let o=n&&e.every(e=>e%17==0);return"#"+e.map(e=>o?(e/17).toString(16):e.toString(16).padStart(2,"0")).join("")}},keyword:{type:"custom",test:e=>/^[a-z]+$/i.test(e),parse(e){let t={spaceId:"srgb",coords:null,alpha:1};if("transparent"===(e=e.toLowerCase())?(t.coords=_s.black,t.alpha=0):t.coords=_s[e],t.coords)return t}}}}),Rs=new Pi({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:Ss,fromBase:e=>{let t=Math.max(...e),n=Math.min(...e),[r,o,i]=e,[a,s,c]=[null,0,(n+t)/2],d=t-n;if(0!==d){switch(s=0===c||1===c?0:(t-c)/Math.min(c,1-c),t){case r:a=(o-i)/d+(o<i?6:0);break;case o:a=(i-r)/d+2;break;case i:a=(r-o)/d+4}a*=60}return s<0&&(a+=180,s=Math.abs(s)),a>=360&&(a-=360),[a,100*s,100*c]},toBase:e=>{let[t,n,r]=e;function o(e){let o=(e+t/30)%12,i=n*Math.min(r,1-r);return r-i*Math.max(-1,Math.min(o-3,9-o,1))}return t%=360,t<0&&(t+=360),n/=100,r/=100,[o(0),o(8),o(4)]},formats:{hsl:{coords:["<number> | <angle>","<percentage> | <number>","<percentage> | <number>"]},hsla:{coords:["<number> | <angle>","<percentage> | <number>","<percentage> | <number>"],commas:!0,alpha:!0}}});function Cs(e,t){var n,r,o=0;function i(){var i,a,s=n,c=arguments.length;e:for(;s;){if(s.args.length===arguments.length){for(a=0;a<c;a++)if(s.args[a]!==arguments[a]){s=s.next;continue e}return s!==n&&(s===r&&(r=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=n,s.prev=null,n.prev=s,n=s),s.val}s=s.next}for(i=new Array(c),a=0;a<c;a++)i[a]=arguments[a];return s={args:i,val:e.apply(null,i)},n?(n.prev=s,s.next=n):r=s,o===t.maxSize?(r=r.prev).next=null:o++,n=s,s.val}return t=t||{},i.clear=function(){n=null,r=null,o=0},i}var Es={transparent:["background-interactive-brand-weak","background-interactive-brand-weak-disabled","background-interactive-error","background-interactive-error-disabled","background-interactive-error-weak","background-interactive-error-weak-disabled","background-interactive-neutral-weak","background-interactive-neutral-weak-disabled"],"primary-bgFill1":["background-interactive-brand-strong"],"primary-fgFill":["foreground-interactive-brand-strong","foreground-interactive-brand-strong-active"],"primary-bgFill2":["background-interactive-brand-strong-active"],"primary-surface4":["background-interactive-brand-weak-active"],"primary-fgSurface4":["foreground-interactive-brand-active"],"primary-fgSurface3":["foreground-interactive-brand"],"primary-stroke3":["background-thumb-brand","background-thumb-brand-active","stroke-focus","stroke-interactive-brand","stroke-surface-brand-strong"],"primary-stroke4":["stroke-interactive-brand-active"],"primary-stroke1":["stroke-surface-brand"],"primary-surface1":["background-surface-brand"],"info-surface2":["background-surface-info-weak"],"info-surface4":["background-surface-info"],"info-fgSurface4":["foreground-content-info"],"info-fgSurface3":["foreground-content-info-weak"],"info-stroke3":["stroke-surface-info-strong"],"info-stroke1":["stroke-surface-info"],"success-surface2":["background-surface-success-weak"],"success-surface4":["background-surface-success"],"success-fgSurface4":["foreground-content-success"],"success-fgSurface3":["foreground-content-success-weak"],"success-stroke3":["stroke-surface-success-strong"],"success-stroke1":["stroke-surface-success"],"warning-surface2":["background-surface-warning-weak"],"warning-surface4":["background-surface-warning"],"warning-fgSurface4":["foreground-content-warning"],"warning-fgSurface3":["foreground-content-warning-weak"],"warning-stroke3":["stroke-surface-warning-strong"],"warning-stroke1":["stroke-surface-warning"],"error-bgFill1":["background-interactive-error-strong"],"error-fgFill":["foreground-interactive-error-strong","foreground-interactive-error-strong-active"],"error-bgFill2":["background-interactive-error-strong-active"],"error-surface2":["background-interactive-error-active","background-surface-error-weak"],"error-surface4":["background-interactive-error-weak-active","background-surface-error"],"error-fgSurface4":["foreground-content-error","foreground-interactive-error-active"],"error-fgSurface3":["foreground-content-error-weak","foreground-interactive-error"],"error-stroke3":["stroke-interactive-error","stroke-interactive-error-strong","stroke-surface-error-strong"],"error-stroke4":["stroke-interactive-error-active"],"error-stroke1":["stroke-surface-error"],"bg-surface2":["background-surface-neutral"],"bg-surface5":["background-interactive-brand-strong-disabled","background-interactive-error-strong-disabled","background-interactive-neutral-strong-disabled"],"bg-surface4":["background-interactive-neutral-weak-active"],"bg-surface3":["background-surface-neutral-strong"],"bg-fgSurface4":["foreground-content-neutral","foreground-interactive-neutral","foreground-interactive-neutral-active"],"bg-fgSurface3":["foreground-content-neutral-weak","foreground-interactive-neutral-weak"],"bg-fgSurface2":["foreground-interactive-brand-disabled","foreground-interactive-brand-strong-disabled","foreground-interactive-error-disabled","foreground-interactive-error-strong-disabled","foreground-interactive-neutral-disabled","foreground-interactive-neutral-strong-disabled","foreground-interactive-neutral-weak-disabled"],"bg-stroke3":["background-thumb-neutral-weak","stroke-interactive-neutral","stroke-surface-neutral-strong"],"bg-stroke4":["background-thumb-neutral-weak-active","stroke-interactive-neutral-active","stroke-interactive-neutral-strong"],"bg-stroke2":["background-thumb-neutral-disabled","background-track-neutral","stroke-interactive-brand-disabled","stroke-interactive-error-disabled","stroke-interactive-neutral-disabled","stroke-surface-neutral"],"bg-stroke1":["background-track-neutral-weak","stroke-surface-neutral-weak"],"bg-bgFillInverted2":["background-interactive-neutral-strong-active"],"bg-bgFillInverted1":["background-interactive-neutral-strong"],"bg-fgFillInverted":["foreground-interactive-neutral-strong","foreground-interactive-neutral-strong-active"],"bg-surface1":["background-surface-neutral-weak"],"caution-surface2":["background-surface-caution-weak"],"caution-surface4":["background-surface-caution"],"caution-fgSurface4":["foreground-content-caution"],"caution-fgSurface3":["foreground-content-caution-weak"],"caution-stroke3":["stroke-surface-caution-strong"],"caution-stroke1":["stroke-surface-caution"]};const Ms=new Pi({id:"oklch",name:"OkLCh",coords:{l:{refRange:[0,1],name:"Lightness"},c:{refRange:[0,.4],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},white:"D65",base:sa,fromBase:Ki.fromBase,toBase:Ki.toBase,formats:{oklch:{coords:["<percentage> | <number>","<number> | <percentage>","<number> | <angle>"]}}});function Ts(e,t={}){let n,{precision:r=Di.precision,format:o,inGamut:i=!0,coords:a,alpha:s,commas:c}=t,d=Li(e),l=o,u=d.parseMeta;u&&!o&&(u.format.canSerialize()&&(o=u.format,l=u.formatId),a??=u.types,s??=u.alphaType,c??=u.commas),l&&(o=d.space.getFormat(o)??Pi.findFormat(l)),o||(o=d.space.getFormat("default")??Pi.DEFAULT_FORMAT,l=o.name),o&&o.space&&o.space!==d.space&&(d=vs(d,o.space));let p=d.coords.slice();if(i||=o.toGamut,i&&!da(d)&&(p=hs(ga(d),!0===i?void 0:i).coords),"custom"===o.type){if(!o.serialize)throw new TypeError(`format ${l} can only be used to parse colors, not for serialization`);n=o.serialize(p,d.alpha,t)}else{let e=o.name||"color",t=o.serializeCoords(p,r,a);if("color"===e){let e=o.id||o.ids?.[0]||d.space.cssId||d.space.id;t.unshift(e)}let i=d.alpha;void 0!==s&&"object"!=typeof s&&(s="string"==typeof s?{type:s}:{include:s});let l=s?.type??"<number>",u=!0===s?.include||!0===o.alpha||!1!==s?.include&&!1!==o.alpha&&i<1,f="";if(c??=o.commas,u){if(null!==r){let e;"<percentage>"===l&&(e="%",i*=100),i=hi(i,{precision:r,unit:e})}f=`${c?",":" /"} ${i}`}n=`${e}(${t.join(c?", ":" ")}${f})`}return n}function zs(e){return ua(e,[Bi,"y"])}var js=[Ss];function Is(e){Pi.register(Ss);const t=Ts(vs(e,Ss));return Ts(t,{format:"hex"})}function As(e,t){return Pi.register(Ss),function(e,t){e=Li(e),t=Li(t);let n=Math.max(zs(e),0),r=Math.max(zs(t),0);return r>n&&([n,r]=[r,n]),(n+.05)/(r+.05)}(e,t)}function Os(e){return Pi.register(Ss),Pi.register(Ms),vs(hs(e,{space:Ss,method:"css"}),Ms)}var Ps={space:Ms,coords:[1,0,0],alpha:1},Ns={space:Ms,coords:[0,0,0],alpha:1},Ds={lighter:{min:.2,max:.4},darker:{min:.75,max:.98}},$s=.004,Fs={background:"#fcfcfc",primary:"#3858e9",info:"#0090ff",success:"#4ab866",caution:"#f0d149",warning:"#f0b849",error:"#cc1818"};function Vs(e,t){return As(e,Ns)>As(e,Ps)+(t?3.1:0)?{better:"darker",worse:"lighter"}:{better:"lighter",worse:"darker"}}function Ls(e){return 1===e?1:e+.02}function Bs(e,t){const n=Ds[t];return Math.max(n.min,Math.min(n.max,e))}function Hs(e,t,n,r,o,i){let a,s,c=n,d=r,l=!1,u=o,p=i,f=!1,g=0;for(;;){g++;const n=(c*p-u*d)/(p-d);if(a=e(n),s=t(a),Math.abs(s)<=$s||g>=10)break;s<=0?(c=n,d=s,l&&(p/=2),l=!0,f=!1):(u=n,p=s,f&&(d/=2),f=!0,l=!1)}return a}function Ws(e){return e<0?0:e>1?1:e}function Us(e){let t=e%360;return t<0&&(t+=360),t}function qs(e){const t=Ws(e);return.5-.5*Math.cos(Math.PI*t)}var Gs=new Map;function Ys(e,t){return Math.round(e/t)*t}function Xs(e,t,n,r){const o=function(e,t,n,r){return`${n}|L:${Ys(e,.05)}|H:${Ys(Us(t),10)}|cap:${Ys(r,.05)}`}(e,t,n.id,r),i=Gs.get(o);if("number"==typeof i)return i;const a=function(e,t,n,r){return ua(hs({space:Ms,coords:[e,r,t],alpha:1},{space:n,method:"css"}),[Ms,"c"])}(e,t,n,r);return Gs.set(o,a),a}function Ks(e,t){return Math.log(e/t)}function Zs(e,t,n,r,{lightnessConstraint:o,taperChromaOptions:i}={}){if(n<=1)return{color:e,reached:!0,achieved:1};function a(e){let n=e,r=ua(t,[Ms,"c"]);if(i){const e=function(e,t,n={}){Pi.register(Ms);const r=n.gamut??Ss,o=n.alpha??.65,i=n.carry??.5,a=n.cUpperBound??.45,s=n.radiusLight??.2,c=n.radiusDark??.2,d=n.kLight??.85,l=n.kDark??.85,u=n.achromaEpsilon??.005,p=Math.max(0,ua(e,[Ms,"c"]));let f=ua(e,[Ms,"h"]);const g=p<u,m=null===f||!Number.isFinite(f);if(g||m){if("number"!=typeof n.hueFallback)return{space:Ms,coords:[Ws(t),0,0],alpha:1};f=Us(n.hueFallback)}const h=Ws(ua(e,[Ms,"l"])),b=Xs(h,f,r,a),v=Xs(Ws(t),f,r,a);let w=0;w=Ws(p/(b>0?b:1e-6));const y=o*v*Math.pow(w,Ws(i)),_=function(e,t,n){const r=t-e;if(r>=0){const e=n.radiusLight>0?Math.abs(r)/n.radiusLight:1,t=qs(e>1?1:e);return 1-(1-n.kLight)*t}const o=n.radiusDark>0?Math.abs(r)/n.radiusDark:1,i=qs(o>1?1:o);return 1-(1-n.kDark)*i}(h,t,{radiusLight:s,radiusDark:c,kLight:d,kDark:l}),x=y*_;return{l:Ws(t),c:x}}(t,n,i);if(!("l"in e)||!("c"in e))return e;n=e.l,r=e.c}return Os({space:Ms,coords:[n,r,ua(t,[Ms,"h"])],alpha:t.alpha})}const s="lighter"===r?1:0,c="lighter"===r?Ps:Ns,d=As(e,c);if(o){const t=a(o.value),r=As(e,t),i=Ks(r,n)>=-.004;if(i||"force"===o.type)return{color:t,reached:i,achieved:r,deficit:i?Ks(r,d):Ks(n,r)}}return Ks(d,n)<=$s?{color:c,reached:Ks(d,n)>=-.004,achieved:d,deficit:Ks(n,d)}:{color:Hs(a,t=>Ks(As(e,t),n),ua(e,[Ms,"l"]),Ks(1,n),s,Ks(d,n)),reached:!0,achieved:n,deficit:Ks(n,d)}}function Js({seed:e,sortedSteps:t,config:n,mainDir:r,oppDir:o,pinLightness:i}){const a={};let s,c,d=-1/0,l="lighter";const u=new Map;u.set("seed",e);for(const p of t){let t=function(e,t){return"main"===t?r:"opposite"===t?o:"best"===t?Vs(e,f.preferLighter).better:t};const{contrast:f,lightness:g,taperChromaOptions:m,sameAsIfPossible:h}=n[p],b=u.get(f.reference);if(!b)throw new Error(`Reference color for step ${p} not found: ${f.reference}`);if(h){const e=u.get(h);if(!e)throw new Error(`Same-as color for step ${p} not found: ${h}`);if(As(b,e)>=Ls(f.target)){u.set(p,e),a[p]=Is(e);continue}}const v=t(b,f.followDirection),w=Ls(f.target);let y;i?.stepName===p?y={value:i.value,type:"force"}:g&&(y={value:g(v),type:"onlyIfSucceeds"});const _=Zs(b,e,w,v,{lightnessConstraint:y,taperChromaOptions:m});!f.ignoreWhenAdjustingSeed&&_.deficit&&_.deficit>d&&(d=_.deficit,l=v,c=p),u.set(p,_.color),a[p]=Is(_.color),_.reached||f.ignoreWhenAdjustingSeed||(s??=[],s.push(p))}return{rampResults:a,warnings:s,maxDeficit:d,maxDeficitDirection:l,maxDeficitStep:c}}function Qs(e,t,{mainDirection:n,pinLightness:r,rescaleToFitContrastTargets:o=!0}={}){let i;!function(e){let t;js.forEach(e=>Pi.register(e));try{({spaceId:t}=$i(e))}catch{throw new Error(`Unsupported seed color "${e}": expected a hex value, an \`rgb()\`/\`rgba()\` string, or a CSS named color.`)}if(!js.some(e=>e.id===t))throw new Error(`Unsupported seed color "${e}": expected a hex value, an \`rgb()\`/\`rgba()\` string, or a CSS named color, but received a \`${t}\` color.`)}(e);try{i=Os(e)}catch(t){throw new Error(`Invalid seed color "${e}": ${t instanceof Error?t.message:"Unknown error"}`)}let a="lighter",s="darker";if(n)a=n,s="darker"===n?"lighter":"darker";else{const{better:e,worse:t}=Vs(i);a=e,s=t}const c=function(e){const{dependents:t}=function(e){const t=new Map,n=new Map;return Object.keys(e).forEach(e=>{t.set(e,[])}),n.set("seed",[]),Object.keys(e).forEach(e=>{n.set(e,[])}),Object.entries(e).forEach(([e,r])=>{const o=e,i=r.contrast.reference;t.get(o).push(i),n.get(i).push(o),r.sameAsIfPossible&&(t.get(o).push(r.sameAsIfPossible),n.get(r.sameAsIfPossible).push(o))}),{dependencies:t,dependents:n}}(e),n=[],r=new Set,o=new Set;return function e(i){if(o.has(i))throw new Error(`Circular dependency detected involving step: ${String(i)}`);r.has(i)||(o.add(i),(t.get(i)||[]).forEach(t=>{e(t)}),o.delete(i),r.add(i),"seed"!==i&&n.unshift(i))}("seed"),n}(t),{rampResults:d,warnings:l,maxDeficit:u,maxDeficitDirection:p,maxDeficitStep:f}=Js({seed:i,sortedSteps:c,config:t,mainDir:a,oppDir:s,pinLightness:r});let g=d;if(u>$s&&o){let e=function(e){return Os(fa(ga(i),[Ms,"l"],e))},n=function(e){const n=Js({seed:e,sortedSteps:o,config:t,mainDir:a,oppDir:s,pinLightness:r});return n.maxDeficitDirection===p?n.maxDeficit:-u};const o=function(e,t){const n=new Set;return function e(r){if("seed"===r||n.has(r))return;const o=t[r];o&&(e(o.contrast.reference),o.sameAsIfPossible&&e(o.sameAsIfPossible),n.add(r))}(e),Array.from(n)}(f,t);g=Js({seed:Hs(e,n,"lighter"===p?0:1,-u,ua(i,[Ms,"l"]),u),sortedSteps:c,config:t,mainDir:a,oppDir:s,pinLightness:r}).rampResults}if("darker"===a){const e=g.surface1;g.surface1=g.surface3,g.surface3=e}return{ramp:g,warnings:l,direction:a}}var ec=e=>"lighter"===e?.9551:.235,tc={alpha:.7},nc={alpha:.6,kLight:.2,kDark:.2},rc={alpha:.6,radiusDark:.01,radiusLight:.01,kLight:.8,kDark:.8},oc={alpha:.75,radiusDark:.01,radiusLight:.01},ic={contrast:{reference:"surface3",followDirection:"main",target:7,preferLighter:!0},lightness:ec,taperChromaOptions:nc},ac={surface1:{contrast:{reference:"surface2",followDirection:"opposite",target:1.06,ignoreWhenAdjustingSeed:!0},taperChromaOptions:tc},surface2:{contrast:{reference:"seed",followDirection:"main",target:1}},surface3:{contrast:{reference:"surface2",followDirection:"main",target:1.06},taperChromaOptions:tc},surface4:{contrast:{reference:"surface2",followDirection:"main",target:1.12},taperChromaOptions:tc},surface5:{contrast:{reference:"surface2",followDirection:"main",target:1.2},taperChromaOptions:tc},surface6:{contrast:{reference:"surface2",followDirection:"main",target:1.4},taperChromaOptions:tc},bgFill1:{contrast:{reference:"surface2",followDirection:"main",target:4},lightness:e=>"lighter"===e?.67:.45},bgFill2:{contrast:{reference:"bgFill1",followDirection:"main",target:1.2}},bgFillInverted1:{contrast:{reference:"bgFillInverted2",followDirection:"opposite",target:1.2}},bgFillInverted2:ic,bgFillDark:{contrast:{reference:"surface3",followDirection:"darker",target:7,ignoreWhenAdjustingSeed:!0},lightness:ec,taperChromaOptions:nc},stroke1:{contrast:{reference:"stroke3",followDirection:"opposite",target:2.9},taperChromaOptions:rc},stroke2:{contrast:{reference:"stroke3",followDirection:"opposite",target:2.4},taperChromaOptions:rc},stroke3:{contrast:{reference:"surface3",followDirection:"main",target:3},taperChromaOptions:rc},stroke4:{contrast:{reference:"stroke3",followDirection:"main",target:1.5},taperChromaOptions:rc},fgSurface1:{contrast:{reference:"surface3",followDirection:"main",target:2,preferLighter:!0},taperChromaOptions:nc},fgSurface2:{contrast:{reference:"surface3",followDirection:"main",target:3,preferLighter:!0},taperChromaOptions:nc},fgSurface3:{contrast:{reference:"surface3",followDirection:"main",target:4.5,preferLighter:!0},lightness:e=>"lighter"===e?.77:.56,taperChromaOptions:nc},fgSurface4:ic,fgFill:{contrast:{reference:"bgFill1",followDirection:"best",target:4.5,preferLighter:!0},lightness:ec,taperChromaOptions:nc},fgFillInverted:{contrast:{reference:"bgFillInverted1",followDirection:"best",target:4.5,preferLighter:!0},lightness:ec,taperChromaOptions:nc},fgFillDark:{contrast:{reference:"bgFillDark",followDirection:"best",target:4.5,preferLighter:!0},lightness:ec,taperChromaOptions:nc}},sc={...ac,surface1:{...ac.surface1,taperChromaOptions:oc},surface2:{contrast:{reference:"bgFill1",followDirection:"opposite",target:ac.bgFill1.contrast.target,ignoreWhenAdjustingSeed:!0},taperChromaOptions:oc},surface3:{...ac.surface3,taperChromaOptions:oc},surface4:{...ac.surface4,taperChromaOptions:oc},surface5:{...ac.surface5,taperChromaOptions:oc},surface6:{...ac.surface6,taperChromaOptions:oc},bgFill1:{contrast:{reference:"seed",followDirection:"main",target:1}},stroke1:{...ac.stroke1},stroke2:{...ac.stroke2},stroke3:{...ac.stroke3,sameAsIfPossible:"fgSurface3",taperChromaOptions:void 0},stroke4:{...ac.stroke4,taperChromaOptions:void 0},fgSurface1:{...ac.fgSurface1,taperChromaOptions:void 0},fgSurface2:{...ac.fgSurface2,taperChromaOptions:void 0},fgSurface3:{...ac.fgSurface3,taperChromaOptions:void 0,sameAsIfPossible:"bgFill1"},fgSurface4:{...ac.fgSurface4,taperChromaOptions:void 0}},cc="surface2",dc=Cs(function(e){if("string"!=typeof e||""===e.trim())throw new Error("Seed color must be a non-empty string");return Qs(e,ac)},{maxSize:10}),lc=Cs(function(e,t){if("string"!=typeof e||""===e.trim())throw new Error("Seed color must be a non-empty string");const n=t?{mainDirection:(r=t).direction,pinLightness:{stepName:cc,value:Bs(ua(r.ramp[cc],[Ms,"l"]),r.direction)}}:void 0;var r;return Qs(e,sc,n)},{maxSize:10}),uc=[["--wp-components-color-accent","var(--wp-admin-theme-color)"],["--wp-components-color-accent-darker-10","var(--wp-admin-theme-color-darker-10)"],["--wp-components-color-accent-darker-20","var(--wp-admin-theme-color-darker-20)"],["--wp-components-color-accent-inverted","var(--wpds-color-foreground-interactive-brand-strong, #fff)"],["--wp-components-color-background","var(--wpds-color-background-surface-neutral-strong, #fff)"],["--wp-components-color-foreground","var(--wpds-color-foreground-content-neutral, #1e1e1e)"],["--wp-components-color-foreground-inverted","var(--wpds-color-background-surface-neutral, #fcfcfc)"],["--wp-components-color-gray-100","var(--wpds-color-background-surface-neutral, #fcfcfc)"],["--wp-components-color-gray-200","var(--wpds-color-stroke-surface-neutral, #dbdbdb)"],["--wp-components-color-gray-300","var(--wpds-color-stroke-surface-neutral, #dbdbdb)"],["--wp-components-color-gray-400","var(--wpds-color-stroke-interactive-neutral, #8d8d8d)"],["--wp-components-color-gray-600","var(--wpds-color-stroke-interactive-neutral, #8d8d8d)"],["--wp-components-color-gray-700","var(--wpds-color-foreground-content-neutral-weak, #707070)"],["--wp-components-color-gray-800","var(--wpds-color-foreground-content-neutral, #1e1e1e)"]];function pc(e){return vs(e,Ss).coords.map(e=>Math.round(255*(e??0))).join(", ")}function fc(e){Pi.register(Ss);const t=vs(e,Rs),n=t.coords[2]??0,r=fa(ga(t),[Rs,"l"],Math.max(0,n-5)),o=fa(ga(t),[Rs,"l"],Math.max(0,n-10));return[["--wp-admin-theme-color",Is(t)],["--wp-admin-theme-color--rgb",pc(t)],["--wp-admin-theme-color-darker-10",Is(r)],["--wp-admin-theme-color-darker-10--rgb",pc(r)],["--wp-admin-theme-color-darker-20",Is(o)],["--wp-admin-theme-color-darker-20--rgb",pc(o)]]}function gc(e){const t=[];for(const[n,{ramp:r}]of e)for(const[e,o]of Object.entries(r)){const r=Es[`${n}-${e}`]??[];for(const e of r)t.push([`--wpds-color-${e}`,o])}return t}function mc({color:e={},cursor:t,cornerRadius:n}={}){const{resolvedSettings:r}=(0,l.useContext)(fi),o=e.primary??r.color?.primary??Fs.primary,i=e.background??r.color?.background??Fs.background,a=t?.control??r.cursor?.control,s=n??r.cornerRadius??"subtle",c=(0,l.useMemo)(()=>({color:{primary:o,background:i},cursor:a?{control:a}:void 0,cornerRadius:s}),[o,i,a,s]),d=(0,l.useMemo)(()=>{const e={...Fs,background:i,primary:o},t=new Map,n=dc(e.background);return Object.entries(e).forEach(([e,r])=>{"background"===e?t.set("bg",n):t.set(e,lc(r,n))}),function({primary:e,computedColorRamps:t}){return Object.fromEntries([gc(t),fc(e),uc].flat())}({primary:e.primary,computedColorRamps:t})},[o,i]);return{resolvedSettings:c,themeProviderStyles:(0,l.useMemo)(()=>({...d,...a&&{"--wpds-cursor-control":a}}),[d,a])}}var hc="data-wp-hash";function bc(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=bc();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)vc(e,n,r)}(document)),e.__wpStyleRuntime}function vc(e,t,n){if(!e.head)return;const r=bc();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${hc}]`))if(n.getAttribute(hc)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(hc,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}!function(e,t){const n=bc();n.styles.set(e,t);for(const r of n.documents.keys())vc(r,e,t)}("f4e6e06c6a",".dba930ea7a9438fd__root{display:contents}");var wc=({children:e,color:t={},cursor:n,cornerRadius:r,isRoot:o=!1})=>{const{themeProviderStyles:i,resolvedSettings:a}=mc({color:t,cursor:n,cornerRadius:r}),c=a.cornerRadius??"subtle",d=(0,l.useMemo)(()=>({resolvedSettings:a}),[a]),u=(0,l.useRef)(null);return(0,Do.useIsomorphicLayoutEffect)(()=>{if(!o)return;const e=u.current?.ownerDocument;if(!e)return;const t=e.documentElement,n=new Map,r=[];for(const[e,o]of Object.entries(i))e.startsWith("--")&&null!=o&&(n.set(e,t.style.getPropertyValue(e)),t.style.setProperty(e,String(o)),r.push(e));return()=>{for(const e of r){const r=n.get(e);r?t.style.setProperty(e,r):t.style.removeProperty(e)}}},[o,i]),(0,s.jsx)("div",{ref:u,"data-wpds-root-provider":o||void 0,"data-wpds-corner-radius":c,className:"dba930ea7a9438fd__root",style:i,children:(0,s.jsx)(fi.Provider,{value:d,children:e})})};function yc(e,t={}){di(`\`privateApis.${e}\` from \`@wordpress/theme\``,{since:"7.1",version:"7.3",...t})}var _c={};ui(_c,{get ThemeProvider(){return yc("ThemeProvider",{alternative:"`ThemeProvider` from `@wordpress/theme`"}),wc},get useThemeProviderStyles(){return yc("useThemeProviderStyles",{alternative:"`ThemeProvider` from `@wordpress/theme` for supported theming use cases",hint:"`useThemeProviderStyles` has no public replacement."}),mc}});var{lock:xc,unlock:kc}=(0,li.__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/ui"),Sc=function(){const e=a;if(e.ThemeProvider)return e.ThemeProvider;if(!e.privateApis)throw new Error("@wordpress/ui: @wordpress/theme must expose `ThemeProvider` or `privateApis.ThemeProvider`.");return kc(e.privateApis).ThemeProvider}();function Rc(e){return Pt(19)?e:e?"true":void 0}const Cc=m.forwardRef(function(e,t){const{cutout:n,...r}=e;let o;if(n){const e=n.getBoundingClientRect();o=`polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,${e.left}px ${e.top}px,${e.left}px ${e.bottom}px,${e.right}px ${e.bottom}px,${e.right}px ${e.top}px,${e.left}px ${e.top}px)`}return(0,s.jsx)("div",{ref:t,role:"presentation","data-base-ui-inert":"",...r,style:{position:"fixed",inset:0,userSelect:"none",WebkitUserSelect:"none",clipPath:o}})}),Ec=m.forwardRef(function(e,t){const{keepMounted:n=!1,...r}=e,{store:o}=y(),i=o.useState("mounted"),a=o.useState("modal"),c=o.useState("open");return i||n?(0,s.jsx)(So.Provider,{value:n,children:(0,s.jsxs)(ho,{ref:t,...r,children:[i&&!0===a&&(0,s.jsx)(Cc,{ref:o.context.internalBackdropRef,inert:Rc(!c)}),e.children]})}):null});var Mc=(0,l.forwardRef)(function(e,t){return(0,s.jsx)(Ec,{ref:t,...e})}),Tc="data-wp-hash";function zc(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=zc();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)jc(e,n,r)}(document)),e.__wpStyleRuntime}function jc(e,t,n){if(!e.head)return;const r=zc();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${Tc}]`))if(n.getAttribute(Tc)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(Tc,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}!function(e,t){const n=zc();n.styles.set(e,t);for(const r of n.documents.keys())jc(r,e,t)}("1cf98dcc6c",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.f1c50237c4787636__header{min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-2xl,24px) var(--wpds-dimension-gap-lg,16px)}._579f95efdec92a66__footer,.f1c50237c4787636__header{align-items:center;display:flex;gap:var(--wpds-dimension-gap-sm,8px);padding-inline:var(--wpds-dimension-padding-2xl,24px)}._579f95efdec92a66__footer{justify-content:flex-end;padding-block:var(--wpds-dimension-gap-lg,16px) var(--wpds-dimension-padding-2xl,24px)}._5371cc08aad82574__title{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral,#1e1e1e);--_gcd-heading-margin:0 auto 0 0;color:var(--wpds-color-foreground-content-neutral,#1e1e1e);margin-inline-end:auto;&:dir(rtl){--_gcd-heading-margin:0 0 0 auto}}._766d9011d37ce2d9__content{flex:1 1 auto;min-block-size:0;overflow-block:auto;overflow-inline:hidden;padding:var(--wpds-dimension-padding-2xl,24px);&:focus-visible{outline-offset:calc(var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px))*-1)}}.f1c50237c4787636__header:has(~._766d9011d37ce2d9__content){border-block-end:1px solid transparent;padding-block-end:calc(var(--wpds-dimension-gap-lg, 16px) - 1px)}.f1c50237c4787636__header~._766d9011d37ce2d9__content{padding-block-start:0}._766d9011d37ce2d9__content~._579f95efdec92a66__footer{border-block-start:1px solid transparent;padding-block-start:calc(var(--wpds-dimension-gap-lg, 16px) - 1px)}._766d9011d37ce2d9__content:has(~._579f95efdec92a66__footer){padding-block-end:0}._766d9011d37ce2d9__content>.f1c50237c4787636__header,._766d9011d37ce2d9__content>[data-drawer-content]>.f1c50237c4787636__header{padding-inline:0}._766d9011d37ce2d9__content>.f1c50237c4787636__header:first-child,._766d9011d37ce2d9__content>[data-drawer-content]>.f1c50237c4787636__header:first-child{padding-block-start:0}._766d9011d37ce2d9__content>._579f95efdec92a66__footer,._766d9011d37ce2d9__content>[data-drawer-content]>._579f95efdec92a66__footer{padding-inline:0}._766d9011d37ce2d9__content>._579f95efdec92a66__footer:last-child,._766d9011d37ce2d9__content>[data-drawer-content]>._579f95efdec92a66__footer:last-child{padding-block-end:0}.f1c50237c4787636__header:has(~[data-wp-ui-overlay-scroll-container][data-wp-ui-overlay-scrolled-from-top]){border-block-end-color:var(--wpds-color-stroke-surface-neutral,#dbdbdb)}[data-wp-ui-overlay-scroll-container][data-wp-ui-overlay-scrolled-from-bottom]~._579f95efdec92a66__footer{border-block-start-color:var(--wpds-color-stroke-surface-neutral,#dbdbdb)}[data-wp-ui-overlay-modal] [data-wp-ui-overlay-scroll-container]{overscroll-behavior:contain}}}@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._074affe4c56b4f2f__backdrop{background-color:rgba(0,0,0,.35);inset:0;position:fixed;z-index:var(--wp-ui-dialog-z-index,initial);&[data-ending-style],&[data-starting-style]{opacity:0}&[data-open]{opacity:1}@media not (prefers-reduced-motion){transition:opacity var(--wpds-motion-duration-md,.2s) var(--wpds-motion-easing-subtle,cubic-bezier(.15,0,.15,1))}}._8acaa98861620d4d__popup{--viewport-inset:var(--wpds-dimension-padding-2xl,24px);background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb);border-radius:var(--wpds-border-radius-lg,8px);box-shadow:var(--wpds-elevation-lg,0 5px 15px 0 #00000014,0 15px 27px 0 #00000012,0 30px 36px 0 #0000000a,0 50px 43px 0 #00000005);box-sizing:border-box;color:var(--wpds-color-foreground-content-neutral,#1e1e1e);display:flex;flex-direction:column;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);left:50%;line-height:var(--wpds-typography-line-height-md,24px);max-height:calc(100dvh - var(--viewport-inset)*2);min-width:var(--wpds-dimension-surface-width-sm,320px);overflow:hidden;position:fixed;top:50%;transform:translate(-50%,-50%);width:calc(100vw - var(--viewport-inset)*2);z-index:var(--wp-ui-dialog-z-index,initial);&[data-ending-style],&[data-starting-style]{opacity:0;transform:translate(-50%,-50%) scale(.9)}@media not (prefers-reduced-motion){transition:opacity var(--wpds-motion-duration-md,.2s) var(--wpds-motion-easing-expressive,cubic-bezier(.25,0,0,1)),transform var(--wpds-motion-duration-md,.2s) var(--wpds-motion-easing-expressive,cubic-bezier(.25,0,0,1))}@media (min-width:480px){min-width:var(--wpds-dimension-surface-width-md,400px)}&._7acfa67ebf092988__is-small{max-width:var(--wpds-dimension-surface-width-md,400px)}&._1eeeed880cb5769d__is-medium{max-width:var(--wpds-dimension-surface-width-lg,560px)}&._99f900b2267e22d0__is-large{max-width:var(--wpds-dimension-surface-width-2xl,960px)}&.b49f7ff9c06fe387__is-stretch{max-width:none}&.dcd4c2f5036cbf1a__is-full{height:100dvh}}._074affe4c56b4f2f__backdrop~* ._8acaa98861620d4d__popup{border-color:transparent}@media (forced-colors:active){._074affe4c56b4f2f__backdrop~* ._8acaa98861620d4d__popup,._8acaa98861620d4d__popup{border-color:CanvasText}}._76fb3b28fcbd45fc__header [data-wp-ui-dialog-close-icon]{margin-inline-start:auto}.d9d6da914ef0a77c__description{margin-bottom:var(--wpds-dimension-gap-lg,16px)}}}');var Ic={backdrop:"_074affe4c56b4f2f__backdrop",popup:"_8acaa98861620d4d__popup","is-small":"_7acfa67ebf092988__is-small","is-medium":"_1eeeed880cb5769d__is-medium","is-large":"_99f900b2267e22d0__is-large","is-stretch":"b49f7ff9c06fe387__is-stretch","is-full":"dcd4c2f5036cbf1a__is-full",header:"_76fb3b28fcbd45fc__header f1c50237c4787636__header",footer:"_00eeb4f220cddae3__footer _579f95efdec92a66__footer",title:"f636832002af749e__title _5371cc08aad82574__title",content:"_101038da9af7162f__content _766d9011d37ce2d9__content",description:"d9d6da914ef0a77c__description"},Ac=(0,l.forwardRef)(function({className:e,portal:t,children:n,size:r="medium",initialFocus:o,finalFocus:i,...a},c){const{resolvedInitialFocus:l,popupRef:u}=Qo({initialFocus:o,deprioritizedAttributes:["data-wp-ui-dialog-close-icon",ei]}),p=(0,Do.useMergeRefs)([c,u]),f=kn(),g=(0,s.jsxs)(s.Fragment,{children:[!0===f&&(0,s.jsx)(Un,{className:Ic.backdrop,"data-testid":"dialog-backdrop"}),(0,s.jsx)(Sc,{children:(0,s.jsx)(No,{ref:p,className:d(Ic.popup,e,Ic[`is-${r}`]),initialFocus:l,finalFocus:i,...a,"data-wp-ui-overlay-modal":!0===f?"":void 0,children:(0,s.jsx)(Cn,{children:n})})})]});return ci(t,(0,s.jsx)(Mc,{}),g)});function Oc(e){return In(e.defaultTagName??"div",e,e)}var Pc="data-wp-hash";function Nc(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=Nc();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)Dc(e,n,r)}(document)),e.__wpStyleRuntime}function Dc(e,t,n){if(!e.head)return;const r=Nc();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${Pc}]`))if(n.getAttribute(Pc)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(Pc,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}!function(e,t){const n=Nc();n.styles.set(e,t);for(const r of n.documents.keys())Dc(r,e,t)}("1cf98dcc6c",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.f1c50237c4787636__header{min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-2xl,24px) var(--wpds-dimension-gap-lg,16px)}._579f95efdec92a66__footer,.f1c50237c4787636__header{align-items:center;display:flex;gap:var(--wpds-dimension-gap-sm,8px);padding-inline:var(--wpds-dimension-padding-2xl,24px)}._579f95efdec92a66__footer{justify-content:flex-end;padding-block:var(--wpds-dimension-gap-lg,16px) var(--wpds-dimension-padding-2xl,24px)}._5371cc08aad82574__title{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral,#1e1e1e);--_gcd-heading-margin:0 auto 0 0;color:var(--wpds-color-foreground-content-neutral,#1e1e1e);margin-inline-end:auto;&:dir(rtl){--_gcd-heading-margin:0 0 0 auto}}._766d9011d37ce2d9__content{flex:1 1 auto;min-block-size:0;overflow-block:auto;overflow-inline:hidden;padding:var(--wpds-dimension-padding-2xl,24px);&:focus-visible{outline-offset:calc(var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px))*-1)}}.f1c50237c4787636__header:has(~._766d9011d37ce2d9__content){border-block-end:1px solid transparent;padding-block-end:calc(var(--wpds-dimension-gap-lg, 16px) - 1px)}.f1c50237c4787636__header~._766d9011d37ce2d9__content{padding-block-start:0}._766d9011d37ce2d9__content~._579f95efdec92a66__footer{border-block-start:1px solid transparent;padding-block-start:calc(var(--wpds-dimension-gap-lg, 16px) - 1px)}._766d9011d37ce2d9__content:has(~._579f95efdec92a66__footer){padding-block-end:0}._766d9011d37ce2d9__content>.f1c50237c4787636__header,._766d9011d37ce2d9__content>[data-drawer-content]>.f1c50237c4787636__header{padding-inline:0}._766d9011d37ce2d9__content>.f1c50237c4787636__header:first-child,._766d9011d37ce2d9__content>[data-drawer-content]>.f1c50237c4787636__header:first-child{padding-block-start:0}._766d9011d37ce2d9__content>._579f95efdec92a66__footer,._766d9011d37ce2d9__content>[data-drawer-content]>._579f95efdec92a66__footer{padding-inline:0}._766d9011d37ce2d9__content>._579f95efdec92a66__footer:last-child,._766d9011d37ce2d9__content>[data-drawer-content]>._579f95efdec92a66__footer:last-child{padding-block-end:0}.f1c50237c4787636__header:has(~[data-wp-ui-overlay-scroll-container][data-wp-ui-overlay-scrolled-from-top]){border-block-end-color:var(--wpds-color-stroke-surface-neutral,#dbdbdb)}[data-wp-ui-overlay-scroll-container][data-wp-ui-overlay-scrolled-from-bottom]~._579f95efdec92a66__footer{border-block-start-color:var(--wpds-color-stroke-surface-neutral,#dbdbdb)}[data-wp-ui-overlay-modal] [data-wp-ui-overlay-scroll-container]{overscroll-behavior:contain}}}@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._074affe4c56b4f2f__backdrop{background-color:rgba(0,0,0,.35);inset:0;position:fixed;z-index:var(--wp-ui-dialog-z-index,initial);&[data-ending-style],&[data-starting-style]{opacity:0}&[data-open]{opacity:1}@media not (prefers-reduced-motion){transition:opacity var(--wpds-motion-duration-md,.2s) var(--wpds-motion-easing-subtle,cubic-bezier(.15,0,.15,1))}}._8acaa98861620d4d__popup{--viewport-inset:var(--wpds-dimension-padding-2xl,24px);background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb);border-radius:var(--wpds-border-radius-lg,8px);box-shadow:var(--wpds-elevation-lg,0 5px 15px 0 #00000014,0 15px 27px 0 #00000012,0 30px 36px 0 #0000000a,0 50px 43px 0 #00000005);box-sizing:border-box;color:var(--wpds-color-foreground-content-neutral,#1e1e1e);display:flex;flex-direction:column;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);left:50%;line-height:var(--wpds-typography-line-height-md,24px);max-height:calc(100dvh - var(--viewport-inset)*2);min-width:var(--wpds-dimension-surface-width-sm,320px);overflow:hidden;position:fixed;top:50%;transform:translate(-50%,-50%);width:calc(100vw - var(--viewport-inset)*2);z-index:var(--wp-ui-dialog-z-index,initial);&[data-ending-style],&[data-starting-style]{opacity:0;transform:translate(-50%,-50%) scale(.9)}@media not (prefers-reduced-motion){transition:opacity var(--wpds-motion-duration-md,.2s) var(--wpds-motion-easing-expressive,cubic-bezier(.25,0,0,1)),transform var(--wpds-motion-duration-md,.2s) var(--wpds-motion-easing-expressive,cubic-bezier(.25,0,0,1))}@media (min-width:480px){min-width:var(--wpds-dimension-surface-width-md,400px)}&._7acfa67ebf092988__is-small{max-width:var(--wpds-dimension-surface-width-md,400px)}&._1eeeed880cb5769d__is-medium{max-width:var(--wpds-dimension-surface-width-lg,560px)}&._99f900b2267e22d0__is-large{max-width:var(--wpds-dimension-surface-width-2xl,960px)}&.b49f7ff9c06fe387__is-stretch{max-width:none}&.dcd4c2f5036cbf1a__is-full{height:100dvh}}._074affe4c56b4f2f__backdrop~* ._8acaa98861620d4d__popup{border-color:transparent}@media (forced-colors:active){._074affe4c56b4f2f__backdrop~* ._8acaa98861620d4d__popup,._8acaa98861620d4d__popup{border-color:CanvasText}}._76fb3b28fcbd45fc__header [data-wp-ui-dialog-close-icon]{margin-inline-start:auto}.d9d6da914ef0a77c__description{margin-bottom:var(--wpds-dimension-gap-lg,16px)}}}');var $c=(0,l.forwardRef)(function({className:e,render:t,...n},r){return Oc({defaultTagName:"header",render:t,ref:r,props:Re(n,{className:d("_76fb3b28fcbd45fc__header f1c50237c4787636__header",e)})})});function Fc(e){return zt(e,"base-ui")}const Vc=m.forwardRef(function(e,t){const{render:n,className:r,style:o,id:i,...a}=e,{store:s}=y(),c=Fc(i);return s.useSyncedValueWithCleanup("titleElementId",c),In("h2",e,{ref:t,props:[{id:c},a]})});var Lc="data-wp-hash";function Bc(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=Bc();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)Hc(e,n,r)}(document)),e.__wpStyleRuntime}function Hc(e,t,n){if(!e.head)return;const r=Bc();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${Lc}]`))if(n.getAttribute(Lc)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(Lc,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}function Wc(e,t){const n=Bc();n.styles.set(e,t);for(const r of n.documents.keys())Hc(r,e,t)}Wc("0c5702ddca",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._83ed8a8da5dd50ea__text{margin:0}._14437cfb77831647__heading-2xl{--_gcd-heading-font-size:var(--wpds-typography-font-size-2xl,32px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-medium,499);--_gcd-p-font-size:var(--wpds-typography-font-size-2xl,32px);--_gcd-p-line-height:var(--wpds-typography-line-height-2xl,40px);font-size:var(--wpds-typography-font-size-2xl,32px);line-height:var(--wpds-typography-line-height-2xl,40px)}._14437cfb77831647__heading-2xl,._3c78b7fa9b4072dd__heading-xl{font-family:var(--wpds-typography-font-family-heading,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-weight:var(--wpds-typography-font-weight-medium,499)}._3c78b7fa9b4072dd__heading-xl{--_gcd-heading-font-size:var(--wpds-typography-font-size-xl,20px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-medium,499);--_gcd-p-font-size:var(--wpds-typography-font-size-xl,20px);--_gcd-p-line-height:var(--wpds-typography-line-height-md,24px);font-size:var(--wpds-typography-font-size-xl,20px);line-height:var(--wpds-typography-line-height-md,24px)}.aa58f227716bcde2__heading-lg{--_gcd-heading-font-size:var(--wpds-typography-font-size-lg,15px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-medium,499);--_gcd-p-font-size:var(--wpds-typography-font-size-lg,15px);--_gcd-p-line-height:var(--wpds-typography-line-height-sm,20px);font-size:var(--wpds-typography-font-size-lg,15px)}.aa58f227716bcde2__heading-lg,.fc4da56d8dfe52c4__heading-md{font-family:var(--wpds-typography-font-family-heading,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-weight:var(--wpds-typography-font-weight-medium,499);line-height:var(--wpds-typography-line-height-sm,20px)}.fc4da56d8dfe52c4__heading-md{--_gcd-heading-font-size:var(--wpds-typography-font-size-md,13px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-medium,499);--_gcd-p-font-size:var(--wpds-typography-font-size-md,13px);--_gcd-p-line-height:var(--wpds-typography-line-height-sm,20px);font-size:var(--wpds-typography-font-size-md,13px)}.a9b78c7c82e8dff7__heading-sm{--_gcd-heading-font-size:var(--wpds-typography-font-size-xs,11px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-medium,499);--_gcd-p-font-size:var(--wpds-typography-font-size-xs,11px);--_gcd-p-line-height:var(--wpds-typography-line-height-xs,16px);font-family:var(--wpds-typography-font-family-heading,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-medium,499);line-height:var(--wpds-typography-line-height-xs,16px);text-transform:uppercase}._305ff559e52180d5__body-xl{--_gcd-heading-font-size:var(--wpds-typography-font-size-xl,20px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-regular,400);--_gcd-p-font-size:var(--wpds-typography-font-size-xl,20px);--_gcd-p-line-height:var(--wpds-typography-line-height-xl,32px);font-size:var(--wpds-typography-font-size-xl,20px);line-height:var(--wpds-typography-line-height-xl,32px)}._305ff559e52180d5__body-xl,.ca1aa3fc2029e958__body-lg{font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-weight:var(--wpds-typography-font-weight-regular,400)}.ca1aa3fc2029e958__body-lg{--_gcd-heading-font-size:var(--wpds-typography-font-size-lg,15px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-regular,400);--_gcd-p-font-size:var(--wpds-typography-font-size-lg,15px);--_gcd-p-line-height:var(--wpds-typography-line-height-md,24px);font-size:var(--wpds-typography-font-size-lg,15px);line-height:var(--wpds-typography-line-height-md,24px)}._131101940be12424__body-md{--_gcd-heading-font-size:var(--wpds-typography-font-size-md,13px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-regular,400);--_gcd-p-font-size:var(--wpds-typography-font-size-md,13px);--_gcd-p-line-height:var(--wpds-typography-line-height-sm,20px);font-size:var(--wpds-typography-font-size-md,13px);line-height:var(--wpds-typography-line-height-sm,20px)}._0e8d87a42c1f75fa__body-sm,._131101940be12424__body-md{font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-weight:var(--wpds-typography-font-weight-regular,400)}._0e8d87a42c1f75fa__body-sm{--_gcd-heading-font-size:var(--wpds-typography-font-size-sm,12px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-regular,400);--_gcd-p-font-size:var(--wpds-typography-font-size-sm,12px);--_gcd-p-line-height:var(--wpds-typography-line-height-xs,16px);font-size:var(--wpds-typography-font-size-sm,12px);line-height:var(--wpds-typography-line-height-xs,16px)}}}');var Uc={text:"_83ed8a8da5dd50ea__text","heading-2xl":"_14437cfb77831647__heading-2xl","heading-xl":"_3c78b7fa9b4072dd__heading-xl","heading-lg":"aa58f227716bcde2__heading-lg","heading-md":"fc4da56d8dfe52c4__heading-md","heading-sm":"a9b78c7c82e8dff7__heading-sm","body-xl":"_305ff559e52180d5__body-xl","body-lg":"ca1aa3fc2029e958__body-lg","body-md":"_131101940be12424__body-md","body-sm":"_0e8d87a42c1f75fa__body-sm"};Wc("d390e935a7","._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-medium,499));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 qc=(0,l.forwardRef)(function({variant:e="body-md",render:t,className:n,...r},o){return Oc({render:t,defaultTagName:"span",ref:o,props:Re(r,{className:d(Uc.text,"e97669c6d9a38497__heading","_43cec3e1eec1066d__p",Uc[e],n)})})}),Gc="data-wp-hash";function Yc(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=Yc();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)Xc(e,n,r)}(document)),e.__wpStyleRuntime}function Xc(e,t,n){if(!e.head)return;const r=Yc();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${Gc}]`))if(n.getAttribute(Gc)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(Gc,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}!function(e,t){const n=Yc();n.styles.set(e,t);for(const r of n.documents.keys())Xc(r,e,t)}("1cf98dcc6c",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.f1c50237c4787636__header{min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-2xl,24px) var(--wpds-dimension-gap-lg,16px)}._579f95efdec92a66__footer,.f1c50237c4787636__header{align-items:center;display:flex;gap:var(--wpds-dimension-gap-sm,8px);padding-inline:var(--wpds-dimension-padding-2xl,24px)}._579f95efdec92a66__footer{justify-content:flex-end;padding-block:var(--wpds-dimension-gap-lg,16px) var(--wpds-dimension-padding-2xl,24px)}._5371cc08aad82574__title{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral,#1e1e1e);--_gcd-heading-margin:0 auto 0 0;color:var(--wpds-color-foreground-content-neutral,#1e1e1e);margin-inline-end:auto;&:dir(rtl){--_gcd-heading-margin:0 0 0 auto}}._766d9011d37ce2d9__content{flex:1 1 auto;min-block-size:0;overflow-block:auto;overflow-inline:hidden;padding:var(--wpds-dimension-padding-2xl,24px);&:focus-visible{outline-offset:calc(var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px))*-1)}}.f1c50237c4787636__header:has(~._766d9011d37ce2d9__content){border-block-end:1px solid transparent;padding-block-end:calc(var(--wpds-dimension-gap-lg, 16px) - 1px)}.f1c50237c4787636__header~._766d9011d37ce2d9__content{padding-block-start:0}._766d9011d37ce2d9__content~._579f95efdec92a66__footer{border-block-start:1px solid transparent;padding-block-start:calc(var(--wpds-dimension-gap-lg, 16px) - 1px)}._766d9011d37ce2d9__content:has(~._579f95efdec92a66__footer){padding-block-end:0}._766d9011d37ce2d9__content>.f1c50237c4787636__header,._766d9011d37ce2d9__content>[data-drawer-content]>.f1c50237c4787636__header{padding-inline:0}._766d9011d37ce2d9__content>.f1c50237c4787636__header:first-child,._766d9011d37ce2d9__content>[data-drawer-content]>.f1c50237c4787636__header:first-child{padding-block-start:0}._766d9011d37ce2d9__content>._579f95efdec92a66__footer,._766d9011d37ce2d9__content>[data-drawer-content]>._579f95efdec92a66__footer{padding-inline:0}._766d9011d37ce2d9__content>._579f95efdec92a66__footer:last-child,._766d9011d37ce2d9__content>[data-drawer-content]>._579f95efdec92a66__footer:last-child{padding-block-end:0}.f1c50237c4787636__header:has(~[data-wp-ui-overlay-scroll-container][data-wp-ui-overlay-scrolled-from-top]){border-block-end-color:var(--wpds-color-stroke-surface-neutral,#dbdbdb)}[data-wp-ui-overlay-scroll-container][data-wp-ui-overlay-scrolled-from-bottom]~._579f95efdec92a66__footer{border-block-start-color:var(--wpds-color-stroke-surface-neutral,#dbdbdb)}[data-wp-ui-overlay-modal] [data-wp-ui-overlay-scroll-container]{overscroll-behavior:contain}}}@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._074affe4c56b4f2f__backdrop{background-color:rgba(0,0,0,.35);inset:0;position:fixed;z-index:var(--wp-ui-dialog-z-index,initial);&[data-ending-style],&[data-starting-style]{opacity:0}&[data-open]{opacity:1}@media not (prefers-reduced-motion){transition:opacity var(--wpds-motion-duration-md,.2s) var(--wpds-motion-easing-subtle,cubic-bezier(.15,0,.15,1))}}._8acaa98861620d4d__popup{--viewport-inset:var(--wpds-dimension-padding-2xl,24px);background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb);border-radius:var(--wpds-border-radius-lg,8px);box-shadow:var(--wpds-elevation-lg,0 5px 15px 0 #00000014,0 15px 27px 0 #00000012,0 30px 36px 0 #0000000a,0 50px 43px 0 #00000005);box-sizing:border-box;color:var(--wpds-color-foreground-content-neutral,#1e1e1e);display:flex;flex-direction:column;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);left:50%;line-height:var(--wpds-typography-line-height-md,24px);max-height:calc(100dvh - var(--viewport-inset)*2);min-width:var(--wpds-dimension-surface-width-sm,320px);overflow:hidden;position:fixed;top:50%;transform:translate(-50%,-50%);width:calc(100vw - var(--viewport-inset)*2);z-index:var(--wp-ui-dialog-z-index,initial);&[data-ending-style],&[data-starting-style]{opacity:0;transform:translate(-50%,-50%) scale(.9)}@media not (prefers-reduced-motion){transition:opacity var(--wpds-motion-duration-md,.2s) var(--wpds-motion-easing-expressive,cubic-bezier(.25,0,0,1)),transform var(--wpds-motion-duration-md,.2s) var(--wpds-motion-easing-expressive,cubic-bezier(.25,0,0,1))}@media (min-width:480px){min-width:var(--wpds-dimension-surface-width-md,400px)}&._7acfa67ebf092988__is-small{max-width:var(--wpds-dimension-surface-width-md,400px)}&._1eeeed880cb5769d__is-medium{max-width:var(--wpds-dimension-surface-width-lg,560px)}&._99f900b2267e22d0__is-large{max-width:var(--wpds-dimension-surface-width-2xl,960px)}&.b49f7ff9c06fe387__is-stretch{max-width:none}&.dcd4c2f5036cbf1a__is-full{height:100dvh}}._074affe4c56b4f2f__backdrop~* ._8acaa98861620d4d__popup{border-color:transparent}@media (forced-colors:active){._074affe4c56b4f2f__backdrop~* ._8acaa98861620d4d__popup,._8acaa98861620d4d__popup{border-color:CanvasText}}._76fb3b28fcbd45fc__header [data-wp-ui-dialog-close-icon]{margin-inline-start:auto}.d9d6da914ef0a77c__description{margin-bottom:var(--wpds-dimension-gap-lg,16px)}}}');var Kc=(0,l.forwardRef)(function({children:e,...t},n){const r=Rn(),o=(0,l.useRef)(null),i=(0,Do.useMergeRefs)([o,n]);return(0,l.useEffect)(()=>{if(r)return r.registerTitle(o.current)},[r]),(0,s.jsx)(qc,{ref:i,variant:"heading-xl",render:(0,s.jsx)(Vc,{...t}),className:"f636832002af749e__title _5371cc08aad82574__title",children:e})});const Zc=m.createContext(void 0);function Jc(e={}){const{disabled:t=!1,focusableWhenDisabled:n,tabIndex:r=0,native:o=!0,composite:i}=e,a=m.useRef(null),s=function(e=!1){const t=m.useContext(Zc);if(void 0===t&&!e)throw new Error(b(16));return t}(!0),c=i??void 0!==s,{props:d}=function(e){const{focusableWhenDisabled:t,disabled:n,composite:r=!1,tabIndex:o=0,isNativeButton:i}=e,a=r&&!1!==t,s=r&&!1===t;return{props:m.useMemo(()=>{const e={onKeyDown(e){n&&t&&"Tab"!==e.key&&e.preventDefault()}};return r||(e.tabIndex=o,!i&&n&&(e.tabIndex=t?o:-1)),(i&&(t||a)||!i&&n)&&(e["aria-disabled"]=n),!i||t&&!s||(e.disabled=n),e},[r,n,t,a,s,i,o])}}({focusableWhenDisabled:n,disabled:t,composite:c,tabIndex:r,isNativeButton:o}),l=m.useCallback(()=>{const e=a.current;Qc(e)&&c&&t&&void 0===d.disabled&&e.disabled&&(e.disabled=!1)},[t,d.disabled,c]);return oe(l,[l]),{getButtonProps:m.useCallback((e={})=>{const{onClick:n,onMouseDown:r,onKeyUp:i,onKeyDown:a,onPointerDown:s,...l}=e;return Re({onClick(e){t?e.preventDefault():n?.(e)},onMouseDown(e){t||r?.(e)},onKeyDown(e){if(t)return;if(Ae(e),a?.(e),e.baseUIHandlerPrevented)return;const r=e.target===e.currentTarget,i=e.currentTarget,s=Qc(i),d=!o&&(l=i,Boolean("A"===l?.tagName&&l?.href));var l;const u=r&&(o?s:!d),p="Enter"===e.key,f=" "===e.key,g=i.getAttribute("role"),m=g?.startsWith("menuitem")||"option"===g||"gridcell"===g;if(r&&c&&f){if(e.defaultPrevented&&m)return;return e.preventDefault(),void(d||o&&s?(i.click(),e.preventBaseUIHandler()):u&&(n?.(e),e.preventBaseUIHandler()))}u&&(o||!f&&!p||e.preventDefault(),!o&&p&&n?.(e))},onKeyUp(e){t||(Ae(e),i?.(e),e.target===e.currentTarget&&o&&c&&Qc(e.currentTarget)&&" "===e.key?e.preventDefault():e.baseUIHandlerPrevented||e.target!==e.currentTarget||o||c||" "!==e.key||n?.(e))},onPointerDown(e){t?e.preventDefault():s?.(e)}},o?{type:"button"}:{role:"button"},d,l)},[t,d,c,o]),buttonRef:Ve(e=>{a.current=e,l()})}}function Qc(e){return M(e)&&"BUTTON"===e.tagName}const ed=m.forwardRef(function(e,t){const{render:n,className:r,style:o,disabled:i=!1,nativeButton:a=!0,...s}=e,{store:c}=y(),d=c.useState("open"),{getButtonProps:l,buttonRef:u}=Jc({disabled:i,native:a});return In("button",e,{state:{disabled:i},ref:[t,u],props:[{onClick:function(e){d&&c.setOpen(!1,Ge("close-press",e.nativeEvent))}},s,l]})}),td=window.wp.primitives;var nd=(0,s.jsx)(td.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,s.jsx)(td.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"})});const rd=m.forwardRef(function(e,t){const{render:n,className:r,disabled:o=!1,focusableWhenDisabled:i=!1,nativeButton:a=!0,style:s,...c}=e,{getButtonProps:d,buttonRef:l}=Jc({disabled:o,focusableWhenDisabled:i,native:a});return In("button",e,{state:{disabled:o},ref:[t,l],props:[c,d]})}),od=window.wp.a11y;var id="data-wp-hash";function ad(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=ad();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)sd(e,n,r)}(document)),e.__wpStyleRuntime}function sd(e,t,n){if(!e.head)return;const r=ad();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${id}]`))if(n.getAttribute(id)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(id,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}function cd(e,t){const n=ad();n.styles.set(e,t);for(const r of n.documents.keys())sd(r,e,t)}cd("4c317b0736",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._97b0fc33c028be1a__button,.abbb272e2ce49bd6__is-unstyled{appearance:none;padding:0}._97b0fc33c028be1a__button{--wp-ui-button-font-weight:var(--wpds-typography-font-weight-medium,499);--wp-ui-button-background-color:var(--wpds-color-background-interactive-brand-strong,var(--wp-admin-theme-color,#3858e9));--wp-ui-button-background-color-active:var(--wpds-color-background-interactive-brand-strong-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 93%,#000));--wp-ui-button-background-color-disabled:var(--wpds-color-background-interactive-brand-strong-disabled,#e6e6e6);--wp-ui-button-foreground-color:var(--wpds-color-foreground-interactive-brand-strong,#fff);--wp-ui-button-foreground-color-active:var(--wpds-color-foreground-interactive-brand-strong-active,#fff);--wp-ui-button-foreground-color-disabled:var(--wpds-color-foreground-interactive-brand-strong-disabled,#8d8d8d);--wp-ui-button-padding-block:var(--wpds-dimension-padding-xs,4px);--wp-ui-button-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-button-height:var(--wpds-dimension-size-lg,40px);--wp-ui-button-aspect-ratio:auto;--wp-ui-button-font-size:var(--wpds-typography-font-size-md,13px);--wp-ui-button-min-width:calc(4ch + var(--wp-ui-button-padding-inline)*2);--wp-ui-button-icon-margin:calc((var(--wpds-dimension-size-2xs, 16px) - var(--wpds-dimension-size-sm, 24px))/2);--wp-ui-button-border-color:var(--wp-ui-button-background-color);--wp-ui-button-border-color-active:var(--wp-ui-button-background-color-active);--wp-ui-button-border-color-disabled:var(--wp-ui-button-background-color-disabled);--_gcd-button-font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);--_gcd-button-font-size:var(--wp-ui-button-font-size);--_gcd-button-font-weight:var(--wp-ui-button-font-weight);align-items:center;aspect-ratio:var(--wp-ui-button-aspect-ratio);background-clip:padding-box;background-color:var(--wp-ui-button-background-color);border-color:var(--wp-ui-button-border-color);border-radius:var(--wpds-border-radius-sm,2px);border-style:solid;border-width:1px;color:var(--wp-ui-button-foreground-color);display:inline-flex;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(--wp-ui-button-font-size);font-weight:var(--wp-ui-button-font-weight);gap:var(--wpds-dimension-gap-sm,8px);justify-content:center;line-height:var(--wpds-typography-line-height-sm,20px);max-width:100%;min-height:var(--wp-ui-button-height);min-width:var(--wp-ui-button-min-width);overflow-wrap:anywhere;padding-block:var(--wp-ui-button-padding-block);padding-inline:var(--wp-ui-button-padding-inline);position:relative;text-align:center;text-decoration:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}@media not (prefers-reduced-motion){transition:color .1s ease-out;*{transition:opacity .1s ease-out}}&[href]{cursor:pointer}[href]{color:inherit;text-decoration:inherit}&:not([data-disabled]):is(:hover,:active,:focus){background-color:var(--wp-ui-button-background-color-active);border-color:var(--wp-ui-button-border-color-active);color:var(--wp-ui-button-foreground-color-active)}&[data-disabled]:not(._914b42f315c0e580__is-loading){background-color:var(--wp-ui-button-background-color-disabled);border-color:var(--wp-ui-button-border-color-disabled);color:var(--wp-ui-button-foreground-color-disabled);@media (forced-colors:active){border-bottom-color:GrayText;border-left-color:GrayText;border-right-color:GrayText;border-top-color:GrayText;color:GrayText}}&:before{aspect-ratio:1;border:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid;border-block-end-color:transparent;border-block-start-color:var(--wp-ui-button-foreground-color);border-inline-end-color:var(--wp-ui-button-foreground-color);border-inline-start-color:transparent;border-radius:50%;box-sizing:border-box;content:"";display:block;height:var(--wp-ui-button-font-size);inset-inline-start:50%;opacity:0;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%);@media not (prefers-reduced-motion){transition:opacity .1s ease-out}@media (forced-colors:active){border-block-end-style:none;border-bottom-color:ButtonText;border-inline-start-style:none;border-left-color:ButtonText;border-right-color:ButtonText;border-top-color:ButtonText}}}._908205475f9f2a92__is-small{--wp-ui-button-padding-block:0;--wp-ui-button-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-button-height:var(--wpds-dimension-size-sm,24px)}._9f6fc6553aeb36fe__icon{margin:var(--wp-ui-button-icon-margin)}.dd460c965226cc77__is-brand{&._62d5a778b7b258ee__is-outline,&.ad0619a3217c6a5b__is-minimal{--wp-ui-button-foreground-color:var(--wpds-color-foreground-interactive-brand,var(--wp-admin-theme-color,#3858e9));--wp-ui-button-foreground-color-active:var(--wpds-color-foreground-interactive-brand-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 52%,#000));--wp-ui-button-foreground-color-disabled:var(--wpds-color-foreground-interactive-brand-disabled,#8d8d8d)}&._62d5a778b7b258ee__is-outline{--wp-ui-button-background-color:var(--wpds-color-background-interactive-brand-weak,#0000);--wp-ui-button-background-color-active:var(--wpds-color-background-interactive-brand-weak-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 12%,#fff));--wp-ui-button-background-color-disabled:var(--wpds-color-background-interactive-brand-weak-disabled,#0000);--wp-ui-button-border-color:var(--wpds-color-stroke-interactive-brand,var(--wp-admin-theme-color,#3858e9));--wp-ui-button-border-color-active:var(--wpds-color-stroke-interactive-brand-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 85%,#000));--wp-ui-button-border-color-disabled:var(--wpds-color-stroke-interactive-brand-disabled,#dbdbdb)}&.ad0619a3217c6a5b__is-minimal{--wp-ui-button-background-color:var(--wpds-color-background-interactive-brand-weak,#0000);--wp-ui-button-background-color-active:var(--wpds-color-background-interactive-brand-weak-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 12%,#fff));--wp-ui-button-background-color-disabled:var(--wpds-color-background-interactive-brand-weak-disabled,#0000)}}.e722a8f96726aa99__is-neutral{&.ad0619a3217c6a5b__is-minimal[aria-pressed=true],&.b50b3358c5fb4d0b__is-solid{--wp-ui-button-background-color:var(--wpds-color-background-interactive-neutral-strong,#2d2d2d);--wp-ui-button-background-color-active:var(--wpds-color-background-interactive-neutral-strong-active,#1e1e1e);--wp-ui-button-background-color-disabled:var(--wpds-color-background-interactive-neutral-strong-disabled,#e6e6e6);--wp-ui-button-foreground-color:var(--wpds-color-foreground-interactive-neutral-strong,#f0f0f0);--wp-ui-button-foreground-color-active:var(--wpds-color-foreground-interactive-neutral-strong-active,#f0f0f0);--wp-ui-button-foreground-color-disabled:var(--wpds-color-foreground-interactive-neutral-strong-disabled,#8d8d8d)}&._62d5a778b7b258ee__is-outline,&.ad0619a3217c6a5b__is-minimal:not([aria-pressed=true]){--wp-ui-button-foreground-color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);--wp-ui-button-foreground-color-active:var(--wpds-color-foreground-interactive-neutral-active,#1e1e1e);--wp-ui-button-foreground-color-disabled:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d)}&._62d5a778b7b258ee__is-outline{--wp-ui-button-background-color:var(--wpds-color-background-interactive-neutral-weak,#0000);--wp-ui-button-background-color-active:var(--wpds-color-background-interactive-neutral-weak-active,#ededed);--wp-ui-button-background-color-disabled:var(--wpds-color-background-interactive-neutral-weak-disabled,#0000);--wp-ui-button-border-color:var(--wpds-color-stroke-interactive-neutral,#8d8d8d);--wp-ui-button-border-color-active:var(--wpds-color-stroke-interactive-neutral-active,#6e6e6e);--wp-ui-button-border-color-disabled:var(--wpds-color-stroke-interactive-neutral-disabled,#dbdbdb)}&.ad0619a3217c6a5b__is-minimal:not([aria-pressed=true]){--wp-ui-button-background-color:var(--wpds-color-background-interactive-neutral-weak,#0000);--wp-ui-button-background-color-active:var(--wpds-color-background-interactive-neutral-weak-active,#ededed);--wp-ui-button-background-color-disabled:var(--wpds-color-background-interactive-neutral-weak-disabled,#0000)}}.abbb272e2ce49bd6__is-unstyled{background:none;border:none;min-width:unset}.cf59cf1b69629838__is-compact{--wp-ui-button-height:var(--wpds-dimension-size-md,32px)}._914b42f315c0e580__is-loading:not(.abbb272e2ce49bd6__is-unstyled){color:transparent;&:not([data-disabled]):is(:hover,:active,:focus){color:transparent}@media (forced-colors:active){color:ButtonFace}*{opacity:0}&:before{opacity:1;transition-delay:.05s;@media not (prefers-reduced-motion){animation:_5a1d53da6f830c8d__loading-animation 1s linear infinite}}}}@keyframes _5a1d53da6f830c8d__loading-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}}');var dd={button:"_97b0fc33c028be1a__button","is-unstyled":"abbb272e2ce49bd6__is-unstyled","is-loading":"_914b42f315c0e580__is-loading","is-small":"_908205475f9f2a92__is-small",icon:"_9f6fc6553aeb36fe__icon","is-brand":"dd460c965226cc77__is-brand","is-outline":"_62d5a778b7b258ee__is-outline","is-minimal":"ad0619a3217c6a5b__is-minimal","is-neutral":"e722a8f96726aa99__is-neutral","is-solid":"b50b3358c5fb4d0b__is-solid","is-compact":"cf59cf1b69629838__is-compact","loading-animation":"_5a1d53da6f830c8d__loading-animation"};cd("10f3806643","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}");cd("5f8e7aa0bc","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._08e8a2e44959f892__outset-ring--focus:focus,._970d04df7376df67__outset-ring--focus-within-except-active:focus-within:not(:has(:active)),.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,.e25b2bdd7aa21721__outset-ring--focus-except-active:focus:not(:active),: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))}}}");cd("d390e935a7","._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-medium,499));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 ld=(0,l.forwardRef)(function({tone:e="brand",variant:t="solid",size:n="default",className:r,focusableWhenDisabled:o=!0,disabled:i,loading:a,loadingAnnouncement:c=(0,g.__)("Loading"),children:u,...p},f){const m=d("_6defc79820e382c6__button","_336cd3e4e743482f__box-sizing","e25b2bdd7aa21721__outset-ring--focus-except-active","unstyled"!==t&&dd.button,dd[`is-${e}`],dd[`is-${t}`],dd[`is-${n}`],a&&dd["is-loading"],r);return(0,l.useEffect)(()=>{a&&c&&(0,od.speak)(c)},[a,c]),(0,s.jsx)(rd,{ref:f,className:m,focusableWhenDisabled:o,disabled:i??a,...p,children:u})}),ud=(0,l.forwardRef)(function({icon:e,size:t=24,...n},r){return(0,s.jsx)(td.SVG,{ref:r,...e.props,...n,width:t,height:t})}),pd="data-wp-hash";function fd(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=fd();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)gd(e,n,r)}(document)),e.__wpStyleRuntime}function gd(e,t,n){if(!e.head)return;const r=fd();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${pd}]`))if(n.getAttribute(pd)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(pd,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}!function(e,t){const n=fd();n.styles.set(e,t);for(const r of n.documents.keys())gd(r,e,t)}("4c317b0736",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._97b0fc33c028be1a__button,.abbb272e2ce49bd6__is-unstyled{appearance:none;padding:0}._97b0fc33c028be1a__button{--wp-ui-button-font-weight:var(--wpds-typography-font-weight-medium,499);--wp-ui-button-background-color:var(--wpds-color-background-interactive-brand-strong,var(--wp-admin-theme-color,#3858e9));--wp-ui-button-background-color-active:var(--wpds-color-background-interactive-brand-strong-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 93%,#000));--wp-ui-button-background-color-disabled:var(--wpds-color-background-interactive-brand-strong-disabled,#e6e6e6);--wp-ui-button-foreground-color:var(--wpds-color-foreground-interactive-brand-strong,#fff);--wp-ui-button-foreground-color-active:var(--wpds-color-foreground-interactive-brand-strong-active,#fff);--wp-ui-button-foreground-color-disabled:var(--wpds-color-foreground-interactive-brand-strong-disabled,#8d8d8d);--wp-ui-button-padding-block:var(--wpds-dimension-padding-xs,4px);--wp-ui-button-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-button-height:var(--wpds-dimension-size-lg,40px);--wp-ui-button-aspect-ratio:auto;--wp-ui-button-font-size:var(--wpds-typography-font-size-md,13px);--wp-ui-button-min-width:calc(4ch + var(--wp-ui-button-padding-inline)*2);--wp-ui-button-icon-margin:calc((var(--wpds-dimension-size-2xs, 16px) - var(--wpds-dimension-size-sm, 24px))/2);--wp-ui-button-border-color:var(--wp-ui-button-background-color);--wp-ui-button-border-color-active:var(--wp-ui-button-background-color-active);--wp-ui-button-border-color-disabled:var(--wp-ui-button-background-color-disabled);--_gcd-button-font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);--_gcd-button-font-size:var(--wp-ui-button-font-size);--_gcd-button-font-weight:var(--wp-ui-button-font-weight);align-items:center;aspect-ratio:var(--wp-ui-button-aspect-ratio);background-clip:padding-box;background-color:var(--wp-ui-button-background-color);border-color:var(--wp-ui-button-border-color);border-radius:var(--wpds-border-radius-sm,2px);border-style:solid;border-width:1px;color:var(--wp-ui-button-foreground-color);display:inline-flex;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(--wp-ui-button-font-size);font-weight:var(--wp-ui-button-font-weight);gap:var(--wpds-dimension-gap-sm,8px);justify-content:center;line-height:var(--wpds-typography-line-height-sm,20px);max-width:100%;min-height:var(--wp-ui-button-height);min-width:var(--wp-ui-button-min-width);overflow-wrap:anywhere;padding-block:var(--wp-ui-button-padding-block);padding-inline:var(--wp-ui-button-padding-inline);position:relative;text-align:center;text-decoration:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}@media not (prefers-reduced-motion){transition:color .1s ease-out;*{transition:opacity .1s ease-out}}&[href]{cursor:pointer}[href]{color:inherit;text-decoration:inherit}&:not([data-disabled]):is(:hover,:active,:focus){background-color:var(--wp-ui-button-background-color-active);border-color:var(--wp-ui-button-border-color-active);color:var(--wp-ui-button-foreground-color-active)}&[data-disabled]:not(._914b42f315c0e580__is-loading){background-color:var(--wp-ui-button-background-color-disabled);border-color:var(--wp-ui-button-border-color-disabled);color:var(--wp-ui-button-foreground-color-disabled);@media (forced-colors:active){border-bottom-color:GrayText;border-left-color:GrayText;border-right-color:GrayText;border-top-color:GrayText;color:GrayText}}&:before{aspect-ratio:1;border:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid;border-block-end-color:transparent;border-block-start-color:var(--wp-ui-button-foreground-color);border-inline-end-color:var(--wp-ui-button-foreground-color);border-inline-start-color:transparent;border-radius:50%;box-sizing:border-box;content:"";display:block;height:var(--wp-ui-button-font-size);inset-inline-start:50%;opacity:0;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%);@media not (prefers-reduced-motion){transition:opacity .1s ease-out}@media (forced-colors:active){border-block-end-style:none;border-bottom-color:ButtonText;border-inline-start-style:none;border-left-color:ButtonText;border-right-color:ButtonText;border-top-color:ButtonText}}}._908205475f9f2a92__is-small{--wp-ui-button-padding-block:0;--wp-ui-button-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-button-height:var(--wpds-dimension-size-sm,24px)}._9f6fc6553aeb36fe__icon{margin:var(--wp-ui-button-icon-margin)}.dd460c965226cc77__is-brand{&._62d5a778b7b258ee__is-outline,&.ad0619a3217c6a5b__is-minimal{--wp-ui-button-foreground-color:var(--wpds-color-foreground-interactive-brand,var(--wp-admin-theme-color,#3858e9));--wp-ui-button-foreground-color-active:var(--wpds-color-foreground-interactive-brand-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 52%,#000));--wp-ui-button-foreground-color-disabled:var(--wpds-color-foreground-interactive-brand-disabled,#8d8d8d)}&._62d5a778b7b258ee__is-outline{--wp-ui-button-background-color:var(--wpds-color-background-interactive-brand-weak,#0000);--wp-ui-button-background-color-active:var(--wpds-color-background-interactive-brand-weak-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 12%,#fff));--wp-ui-button-background-color-disabled:var(--wpds-color-background-interactive-brand-weak-disabled,#0000);--wp-ui-button-border-color:var(--wpds-color-stroke-interactive-brand,var(--wp-admin-theme-color,#3858e9));--wp-ui-button-border-color-active:var(--wpds-color-stroke-interactive-brand-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 85%,#000));--wp-ui-button-border-color-disabled:var(--wpds-color-stroke-interactive-brand-disabled,#dbdbdb)}&.ad0619a3217c6a5b__is-minimal{--wp-ui-button-background-color:var(--wpds-color-background-interactive-brand-weak,#0000);--wp-ui-button-background-color-active:var(--wpds-color-background-interactive-brand-weak-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 12%,#fff));--wp-ui-button-background-color-disabled:var(--wpds-color-background-interactive-brand-weak-disabled,#0000)}}.e722a8f96726aa99__is-neutral{&.ad0619a3217c6a5b__is-minimal[aria-pressed=true],&.b50b3358c5fb4d0b__is-solid{--wp-ui-button-background-color:var(--wpds-color-background-interactive-neutral-strong,#2d2d2d);--wp-ui-button-background-color-active:var(--wpds-color-background-interactive-neutral-strong-active,#1e1e1e);--wp-ui-button-background-color-disabled:var(--wpds-color-background-interactive-neutral-strong-disabled,#e6e6e6);--wp-ui-button-foreground-color:var(--wpds-color-foreground-interactive-neutral-strong,#f0f0f0);--wp-ui-button-foreground-color-active:var(--wpds-color-foreground-interactive-neutral-strong-active,#f0f0f0);--wp-ui-button-foreground-color-disabled:var(--wpds-color-foreground-interactive-neutral-strong-disabled,#8d8d8d)}&._62d5a778b7b258ee__is-outline,&.ad0619a3217c6a5b__is-minimal:not([aria-pressed=true]){--wp-ui-button-foreground-color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);--wp-ui-button-foreground-color-active:var(--wpds-color-foreground-interactive-neutral-active,#1e1e1e);--wp-ui-button-foreground-color-disabled:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d)}&._62d5a778b7b258ee__is-outline{--wp-ui-button-background-color:var(--wpds-color-background-interactive-neutral-weak,#0000);--wp-ui-button-background-color-active:var(--wpds-color-background-interactive-neutral-weak-active,#ededed);--wp-ui-button-background-color-disabled:var(--wpds-color-background-interactive-neutral-weak-disabled,#0000);--wp-ui-button-border-color:var(--wpds-color-stroke-interactive-neutral,#8d8d8d);--wp-ui-button-border-color-active:var(--wpds-color-stroke-interactive-neutral-active,#6e6e6e);--wp-ui-button-border-color-disabled:var(--wpds-color-stroke-interactive-neutral-disabled,#dbdbdb)}&.ad0619a3217c6a5b__is-minimal:not([aria-pressed=true]){--wp-ui-button-background-color:var(--wpds-color-background-interactive-neutral-weak,#0000);--wp-ui-button-background-color-active:var(--wpds-color-background-interactive-neutral-weak-active,#ededed);--wp-ui-button-background-color-disabled:var(--wpds-color-background-interactive-neutral-weak-disabled,#0000)}}.abbb272e2ce49bd6__is-unstyled{background:none;border:none;min-width:unset}.cf59cf1b69629838__is-compact{--wp-ui-button-height:var(--wpds-dimension-size-md,32px)}._914b42f315c0e580__is-loading:not(.abbb272e2ce49bd6__is-unstyled){color:transparent;&:not([data-disabled]):is(:hover,:active,:focus){color:transparent}@media (forced-colors:active){color:ButtonFace}*{opacity:0}&:before{opacity:1;transition-delay:.05s;@media not (prefers-reduced-motion){animation:_5a1d53da6f830c8d__loading-animation 1s linear infinite}}}}@keyframes _5a1d53da6f830c8d__loading-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}}');var md=(0,l.forwardRef)(function({className:e,icon:t,...n},r){return(0,s.jsx)(ud,{ref:r,icon:t,className:d("_9f6fc6553aeb36fe__icon",e),size:24,...n})});md.displayName="Button.Icon";var hd=Object.assign(ld,{Icon:md});function bd(e,t,n){const r=function(e,t){return null==t||xt(t)?"function"==typeof e?e():e:0}(e,n);return"number"==typeof r?r:r?.[t]}function vd(e){return"function"==typeof e?e():e}function wd(e,t){return t||"click"===e||"mousedown"===e}const yd=m.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new de,currentIdRef:{current:null},currentContextRef:{current:null}});function _d(e){const{children:t,delay:n,timeoutMs:r=0}=e,o=m.useRef(n),i=m.useRef(n),a=m.useRef(null),c=m.useRef(null),d=le();return(0,s.jsx)(yd.Provider,{value:m.useMemo(()=>({hasProvider:!0,delayRef:o,initialDelayRef:i,currentIdRef:a,timeoutMs:r,currentContextRef:c,timeout:d}),[r,d]),children:t})}const xd=m.createContext(void 0),kd=function(e){const{delay:t,closeDelay:n,timeout:r=400}=e,o=m.useMemo(()=>({delay:t,closeDelay:n}),[t,n]),i=m.useMemo(()=>({open:t,close:n}),[t,n]);return(0,s.jsx)(xd.Provider,{value:o,children:(0,s.jsx)(_d,{delay:i,timeoutMs:r,children:e.children})})};function Sd({...e}){return(0,s.jsx)(kd,{...e})}const Rd=m.createContext(void 0);function Cd(e){const t=m.useContext(Rd);if(void 0===t&&!e)throw new Error(b(72));return t}function Ed(e){return null!=e&&null!=e.clientX}const Md={...bn,disabled:jt(e=>e.disabled),instantType:jt(e=>e.instantType),isInstantPhase:jt(e=>e.isInstantPhase),trackCursorAxis:jt(e=>e.trackCursorAxis),disableHoverablePopup:jt(e=>e.disableHoverablePopup),lastOpenChangeReason:jt(e=>e.openChangeReason),closeOnClick:jt(e=>e.closeOnClick),closeDelay:jt(e=>e.closeDelay),hasViewport:jt(e=>e.hasViewport)};class Td extends Wt{constructor(e,t,n=!1){const r=new ln,o={...{...un(),disabled:!1,instantType:void 0,isInstantPhase:!1,trackCursorAxis:"none",disableHoverablePopup:!1,openChangeReason:null,closeOnClick:!0,closeDelay:0,hasViewport:!1},...e};o.floatingRootContext=pn(r,t,n),super(o,{popupRef:m.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerElements:r},Md)}setOpen=(e,t)=>{const n=t.reason,r=n===Ke,o=e&&n===Ze,i=!e&&(n===Xe||n===tt);if(t.preventUnmountOnClose=()=>{this.set("preventUnmountingOnClose",!0)},this.context.onOpenChange?.(e,t),t.isCanceled)return;this.state.floatingRootContext.dispatchOpenChange(e,t);const a=()=>{const r={open:e,openChangeReason:n};o?r.instantType="focus":i?r.instantType="dismiss":n===Ke&&(r.instantType=void 0),on(r,e,t.trigger),this.update(r)};r?Xt.flushSync(a):a()};cancelPendingOpen(e){this.state.floatingRootContext.dispatchOpenChange(!1,Ge(Xe,e))}static useStore(e,t){return rn(e,(e,n)=>new Td(t,e,n)).store}}const zd=$t(function(e){const{disabled:t=!1,defaultOpen:n=!1,open:r,disableHoverablePopup:o=!1,trackCursorAxis:i="none",actionsRef:a,onOpenChange:c,onOpenChangeComplete:d,handle:l,triggerId:u,defaultTriggerId:p=null,children:f}=e,g=Td.useStore(l?.store,{open:n,openProp:r,activeTriggerId:p,triggerIdProp:u});_(()=>{void 0===r&&!1===g.state.open&&!0===n&&g.update({open:!0,activeTriggerId:p})}),g.useControlledProp("openProp",r),g.useControlledProp("triggerIdProp",u),g.useContextCallback("onOpenChange",c),g.useContextCallback("onOpenChangeComplete",d);const h=g.useState("open"),b=!t&&h,v=g.useState("activeTriggerId"),w=g.useState("mounted"),y=g.useState("payload");g.useSyncedValues({trackCursorAxis:i,disableHoverablePopup:o}),g.useSyncedValue("disabled",t),an(g);const{forceUnmount:x,transitionStatus:k}=sn(b,g),S=g.useState("isInstantPhase"),R=g.useState("instantType"),C=g.useState("lastOpenChangeReason"),E=m.useRef(null);oe(()=>{h&&t&&g.setOpen(!1,Ge("disabled"))},[h,t,g]),oe(()=>{"ending"===k&&C===Ye||"ending"!==k&&S?("delay"!==R&&(E.current=R),g.set("instantType","delay")):null!==E.current&&(g.set("instantType",E.current),E.current=null)},[k,S,C,R,g]),oe(()=>{b&&null==v&&g.set("payload",void 0)},[g,v,b]);const M=m.useCallback(()=>{g.setOpen(!1,Ge(rt))},[g]);m.useImperativeHandle(a,()=>({unmount:x,close:M}),[x,M]);const T=b||w||!t&&"none"!==i;return(0,s.jsxs)(Rd.Provider,{value:g,children:[T&&(0,s.jsx)(jd,{store:g,disabled:t,trackCursorAxis:i}),"function"==typeof f?f({payload:y}):f]})});function jd({store:e,disabled:t,trackCursorAxis:n}){const r=e.useState("floatingRootContext"),o=Et(r,{enabled:!t,referencePress:()=>e.select("closeOnClick")}),i=function(e,t={}){const{enabled:n=!0,axis:r="both"}=t,o="rootStore"in e?e.rootStore:e,i=o.useState("open"),a=o.useState("floatingElement"),s=o.useState("domReferenceElement"),c=o.context.dataRef,d=m.useRef(!1),l=m.useRef(null),[u,p]=m.useState(),[f,g]=m.useState([]),h=Ve(e=>{o.set("positionReference",e)}),b=Ve((e,t,n)=>{d.current||c.current.openEvent&&!Ed(c.current.openEvent)||o.set("positionReference",function(e,t){let n=null,r=null,o=!1;return{contextElement:e||void 0,getBoundingClientRect(){const i=e?.getBoundingClientRect()||{width:0,height:0,x:0,y:0},a="x"===t.axis||"both"===t.axis,s="y"===t.axis||"both"===t.axis,c=["mouseenter","mousemove"].includes(t.dataRef.current.openEvent?.type||"")&&"touch"!==t.pointerType;let d=i.width,l=i.height,u=i.x,p=i.y;return null==n&&t.x&&a&&(n=i.x-t.x),null==r&&t.y&&s&&(r=i.y-t.y),u-=n||0,p-=r||0,d=0,l=0,!o||c?(d="y"===t.axis?i.width:0,l="x"===t.axis?i.height:0,u=a&&null!=t.x?t.x:u,p=s&&null!=t.y?t.y:p):o&&!c&&(l="x"===t.axis?i.height:l,d="y"===t.axis?i.width:d),o=!0,{width:d,height:l,x:u,y:p,top:p,right:u+d,bottom:p+l,left:u}}}}(n??s,{x:e,y:t,axis:r,dataRef:c,pointerType:u}))}),v=Ve(e=>{i?l.current||(b(e.clientX,e.clientY,e.currentTarget),g([])):b(e.clientX,e.clientY,e.currentTarget)}),w=xt(u)?a:i;m.useEffect(()=>{if(!n)return void h(s);if(!w)return;function e(){l.current?.(),l.current=null}const t=S(a);return!c.current.openEvent||Ed(c.current.openEvent)?l.current=q(t,"mousemove",function(t){const n=ft(t);pt(a,n)?e():b(t.clientX,t.clientY)}):h(s),e},[w,n,a,c,s,o,b,h,f]),m.useEffect(()=>()=>{o.set("positionReference",null)},[o]),m.useEffect(()=>{n&&!a&&(d.current=!1)},[n,a]),m.useEffect(()=>{!n&&i&&(d.current=!0)},[n,i]);const y=m.useMemo(()=>{function e(e){p(e.pointerType)}return{onPointerDown:e,onPointerEnter:e,onMouseMove:v,onMouseEnter:v}},[v]);return m.useMemo(()=>n?{reference:y,trigger:y}:{},[n,y])}(r,{enabled:!t&&"none"!==n,axis:"none"===n?void 0:n}),a=m.useMemo(()=>Re(i.reference,o.reference),[i.reference,o.reference]),s=m.useMemo(()=>Re(i.trigger,o.trigger),[i.trigger,o.trigger]),c=m.useMemo(()=>Re(nn,i.floating,o.floating),[i.floating,o.floating]);return cn(e,{activeTriggerProps:a,inactiveTriggerProps:s,popupProps:c}),null}function Id(e){return(0,s.jsx)(zd,{...e})}class Ad{constructor(){this.pointerType=void 0,this.interactedInside=!1,this.handler=void 0,this.blockMouseMove=!0,this.performedPointerEventsMutation=!1,this.pointerEventsScopeElement=null,this.pointerEventsReferenceElement=null,this.pointerEventsFloatingElement=null,this.restTimeoutPending=!1,this.openChangeTimeout=new de,this.restTimeout=new de,this.handleCloseOptions=void 0}static create(){return new Ad}dispose=()=>{this.openChangeTimeout.clear(),this.restTimeout.clear()};disposeEffect=()=>this.dispose}const Od=new WeakMap;function Pd(e){if(!e.performedPointerEventsMutation)return;const t=e.pointerEventsScopeElement;t&&Od.get(t)===e&&(e.pointerEventsScopeElement?.style.removeProperty("pointer-events"),e.pointerEventsReferenceElement?.style.removeProperty("pointer-events"),e.pointerEventsFloatingElement?.style.removeProperty("pointer-events"),Od.delete(t)),e.performedPointerEventsMutation=!1,e.pointerEventsScopeElement=null,e.pointerEventsReferenceElement=null,e.pointerEventsFloatingElement=null}function Nd(e,t){const{scopeElement:n,referenceElement:r,floatingElement:o}=t,i=Od.get(n);i&&i!==e&&Pd(i),Pd(e),e.performedPointerEventsMutation=!0,e.pointerEventsScopeElement=n,e.pointerEventsReferenceElement=r,e.pointerEventsFloatingElement=o,Od.set(n,e),n.style.pointerEvents="none",r.style.pointerEvents="auto",o.style.pointerEvents="auto"}function Dd(e){const t=e.context.dataRef.current,n=ae(()=>t.hoverInteractionState??Ad.create()).current;return t.hoverInteractionState||(t.hoverInteractionState=n),ce(t.hoverInteractionState.disposeEffect),t.hoverInteractionState}const $d={current:null},Fd=.1*.1,Vd=.5;function Ld(e,t,n,r,o,i){return r>=t!=i>=t&&e<=(o-n)*(t-r)/(i-r)+n}function Bd(e,t,n,r,o,i,a,s,c,d){let l=!1;return Ld(e,t,n,r,o,i)&&(l=!l),Ld(e,t,o,i,a,s)&&(l=!l),Ld(e,t,a,s,c,d)&&(l=!l),Ld(e,t,c,d,n,r)&&(l=!l),l}function Hd(e,t,n,r,o,i){const a=Math.min(n,o),s=Math.max(n,o),c=Math.min(r,i),d=Math.max(r,i);return e>=a&&e<=s&&t>=c&&t<=d}function Wd(e={}){const{blockPointerEvents:t=!1}=e,n=new de,r=({x:e,y:t,placement:r,elements:o,onClose:i,nodeId:a,tree:s})=>{const c=r?.split("-")[0];let d=!1,l=null,u=null,p="undefined"!=typeof performance?performance.now():0;return function(r){n.clear();const f=o.domReference,g=o.floating;if(!f||!g||null==c||null==e||null==t)return;const{clientX:m,clientY:h}=r,b=ft(r),v="mouseleave"===r.type,w=pt(g,b),y=pt(f,b);if(w&&(d=!0,!v))return;if(y&&(d=!1,!v))return void(d=!0);if(v&&E(r.relatedTarget)&&pt(g,r.relatedTarget))return;function _(){return Boolean(s&&kt(s.nodesRef.current,a).length>0)}function x(){_()||(n.clear(),i())}if(_())return;const k=f.getBoundingClientRect(),S=g.getBoundingClientRect(),R=e>S.right-S.width/2,C=t>S.bottom-S.height/2,M=S.width>k.width,T=S.height>k.height,z=(M?k:S).left,j=(M?k:S).right,I=(T?k:S).top,A=(T?k:S).bottom;if("top"===c&&t>=k.bottom-1||"bottom"===c&&t<=k.top+1||"left"===c&&e>=k.right-1||"right"===c&&e<=k.left+1)return void x();let O=!1;switch(c){case"top":O=Hd(m,h,z,k.top+1,j,S.bottom-1);break;case"bottom":O=Hd(m,h,z,S.top+1,j,k.bottom-1);break;case"left":O=Hd(m,h,S.right-1,A,k.left+1,I);break;case"right":O=Hd(m,h,k.right-1,A,S.left+1,I)}if(O)return;if(d&&!function(e,t,n){return e>=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height}(m,h,k))return void x();if(!v&&function(e,t){const n=performance.now(),r=n-p;if(null===l||null===u||0===r)return l=e,u=t,p=n,!1;const o=e-l,i=t-u;return l=e,u=t,p=n,o*o+i*i<r*r*Fd}(m,h))return void x();let P=!1;switch(c){case"top":{const n=M?.25:2,r=M||R?e+n:e-n,o=M?e-n:R?e+n:e-n,i=t+Vd+1,a=R||M?S.bottom-Vd:S.top,s=R?M?S.bottom-Vd:S.top:S.bottom-Vd;P=Bd(m,h,r,i,o,i,S.left,a,S.right,s);break}case"bottom":{const n=M?.25:2,r=M||R?e+n:e-n,o=M?e-n:R?e+n:e-n,i=t-Vd,a=R||M?S.top+Vd:S.bottom,s=R?M?S.top+Vd:S.bottom:S.top+Vd;P=Bd(m,h,r,i,o,i,S.left,a,S.right,s);break}case"left":{const n=T?.25:2,r=T||C?t+n:t-n,o=T?t-n:C?t+n:t-n,i=e+Vd+1,a=C||T?S.right-Vd:S.left,s=C?T?S.right-Vd:S.left:S.right-Vd;P=Bd(m,h,a,S.top,s,S.bottom,i,r,i,o);break}case"right":{const n=T?.25:2,r=T||C?t+n:t-n,o=T?t-n:C?t+n:t-n,i=e-Vd,a=C||T?S.left+Vd:S.right,s=C?T?S.left+Vd:S.right:S.left+Vd;P=Bd(m,h,i,r,i,o,a,S.top,s,S.bottom);break}}P?d||n.start(40,x):x()}};return r.__options={...e,blockPointerEvents:t},r}const Ud=te&&Q;let qd=function(e){return e[e.popupOpen=Pn.popupOpen]="popupOpen",e.triggerDisabled="data-trigger-disabled",e}({});const Gd="data-base-ui-tooltip-trigger";function Yd(e){if("composedPath"in e){const t=e.composedPath();for(let e=0;e<t.length;e+=1){const n=t[e];if(E(n))return n}}const t=e.target;return E(t)?t:null}const Xd=(Kd=function(e,t){const{render:n,className:r,style:o,handle:i,payload:a,disabled:s,delay:c,closeOnClick:d=!0,closeDelay:l,id:u,...p}=e,f=Cd(!0),g=i?.store??f;if(!g)throw new Error(b(82));const h=Fc(u),v=g.useState("isTriggerActive",h),w=g.useState("isOpenedByTrigger",h),y=g.useState("floatingRootContext"),_=m.useRef(null),x=c??600,k=l??0,{registerTrigger:R,isMountedByThisTrigger:C}=function(e,t,n,r){const o=n.useState("isMountedByTrigger",e),i=function(e,t){const n=m.useRef(null),r=m.useRef(null);return m.useCallback(o=>{if(void 0===e)return;let i=!1;if(null!==n.current){const e=n.current,o=r.current,a=t.context.triggerElements.getById(e);o&&a===o&&(t.context.triggerElements.delete(e),i=!0),n.current=null,r.current=null}if(null!==o&&(n.current=e,r.current=o,t.context.triggerElements.add(e,o),i=!0),i){const e=t.context.triggerElements.size;t.select("open")&&t.state.triggerCount!==e&&t.set("triggerCount",e)}},[t,e])}(e,n),a=Ve(t=>{if(i(t),!t)return;const o=n.select("open"),a=n.select("activeTriggerId");a!==e?null==a&&o&&n.update({activeTriggerId:e,activeTriggerElement:t,...r}):n.update({activeTriggerElement:t,...o?r:null})});return oe(()=>{o&&n.update({activeTriggerElement:t.current,...r})},[o,n,t,...Object.values(r)]),{registerTrigger:a,isMountedByThisTrigger:o}}(h,_,g,{payload:a,closeOnClick:d,closeDelay:k}),T=m.useContext(xd),{delayRef:z,isInstantPhase:j,hasProvider:I}=function(e,t={open:!1}){const{open:n}=t,r="rootStore"in e?e.rootStore:e,o=r.useState("floatingId"),i=m.useContext(yd),{currentIdRef:a,delayRef:s,timeoutMs:c,initialDelayRef:d,currentContextRef:l,hasProvider:u,timeout:p}=i,[f,g]=m.useState(!1);return oe(()=>{function e(){g(!1),l.current?.setIsInstantPhase(!1),a.current=null,l.current=null,s.current=d.current}if(a.current&&!n&&a.current===o){if(g(!1),c){const t=o;return p.start(c,()=>{r.select("open")||a.current&&a.current!==t||e()}),()=>{p.clear()}}e()}},[n,o,a,s,c,d,l,p,r]),oe(()=>{if(!n)return;const e=l.current,t=a.current;p.clear(),l.current={onOpenChange:r.setOpen,setIsInstantPhase:g},a.current=o,s.current={open:0,close:bd(d.current,"close")},null!==t&&t!==o?(g(!0),e?.setIsInstantPhase(!0),e?.onOpenChange(!1,Ge(Ye))):(g(!1),e?.setIsInstantPhase(!1))},[n,o,r,a,s,d,l,p]),oe(()=>()=>{l.current=null},[l]),m.useMemo(()=>({hasProvider:u,delayRef:s,isInstantPhase:f}),[u,s,f])}(y,{open:w}),A=Dd(y);g.useSyncedValue("isInstantPhase",j);const O=g.useState("disabled"),P=s??O,N=qn(P),D=g.useState("trackCursorAxis"),$=g.useState("disableHoverablePopup"),F=m.useRef(!1),V=le(),L=m.useRef(void 0);function B(){const e=T?.delay,t="object"==typeof z.current?z.current.open:void 0;let n=x;return I&&(n=0!==t?c??e??x:0),n}function H(e){const t=_.current;if(!t||!e)return!1;const n=function(e){let t=e;for(;t;){if(t.hasAttribute(Gd))return t;const e=t.parentElement;if(e){t=e;continue}const n=t.getRootNode();t="host"in n&&E(n.host)?n.host:null}return null}(e);return null!==n&&n!==t&&pt(t,n)}const W=function(e,t={}){const{enabled:n=!0,delay:r=0,handleClose:o=null,mouseOnly:i=!1,restMs:a=0,move:s=!0,triggerElementRef:c=$d,externalTree:d,isActiveTrigger:l=!0,getHandleCloseContext:u,isClosing:p,shouldOpen:f}=t,g="rootStore"in e?e.rootStore:e,{dataRef:h,events:b}=g.context,v=qe(d),w=Dd(g),y=m.useRef(!1),_=qn(o),x=qn(r),k=qn(a),S=qn(n),R=qn(f),C=qn(p),M=Ve(()=>wd(h.current.openEvent?.type,w.interactedInside)),T=Ve(()=>!1!==R.current?.()),z=Ve((e,t,n)=>{const r=g.context.triggerElements;if(r.hasElement(t))return!e||!pt(e,t);if(!E(n))return!1;const o=n;return r.hasMatchingElement(e=>pt(e,o))&&(!e||!pt(e,o))}),j=Ve(()=>{w.handler&&(re(g.select("domReferenceElement")).removeEventListener("mousemove",w.handler),w.handler=void 0)}),I=Ve(()=>{Pd(w)});return l&&(w.handleCloseOptions=_.current?.__options),m.useEffect(()=>j,[j]),m.useEffect(()=>{if(n)return b.on("openchange",e),()=>{b.off("openchange",e)};function e(e){e.open?y.current=!1:(y.current=e.reason===Ke,j(),w.openChangeTimeout.clear(),w.restTimeout.clear(),w.blockMouseMove=!0,w.restTimeoutPending=!1)}},[n,b,w,j]),m.useEffect(()=>{if(!n)return;function e(e,t=!0){const n=bd(x.current,"close",w.pointerType);n?w.openChangeTimeout.start(n,()=>{g.setOpen(!1,Ge(Ke,e)),v?.events.emit("floating.closed",e)}):t&&(w.openChangeTimeout.clear(),g.setOpen(!1,Ge(Ke,e)),v?.events.emit("floating.closed",e))}const t=c.current??(l?g.select("domReferenceElement"):null);if(E(t))return s?Ne(q(t,"mousemove",r,{once:!0}),q(t,"mouseenter",r),q(t,"mouseleave",o)):Ne(q(t,"mouseenter",r),q(t,"mouseleave",o));function r(e){if(w.openChangeTimeout.clear(),w.blockMouseMove=!1,i&&!xt(w.pointerType))return;const t=vd(k.current),n=bd(x.current,"open",w.pointerType),r=ft(e),o=e.currentTarget??null,a=g.select("domReferenceElement");let s=o;if(E(r)&&!g.context.triggerElements.hasElement(r))for(const e of g.context.triggerElements.elements())if(pt(e,r)){s=e;break}E(o)&&E(a)&&!g.context.triggerElements.hasElement(o)&&pt(o,a)&&(s=a);const c=null!=s&&z(a,s,r),d=g.select("open"),l=C.current?.()??"ending"===g.select("transitionStatus"),u=!d&&l&&y.current,p=!c&&E(s)&&E(a)&&pt(a,s)&&u,f=t>0&&!n,m=!d||c;c&&(d||u)||p?T()&&g.setOpen(!0,Ge(Ke,e,s)):f||(n?w.openChangeTimeout.start(n,()=>{m&&T()&&g.setOpen(!0,Ge(Ke,e,s))}):m&&T()&&g.setOpen(!0,Ge(Ke,e,s)))}function o(t){if(M())return void I();j();const n=re(g.select("domReferenceElement"));w.restTimeout.clear(),w.restTimeoutPending=!1;const r=h.current.floatingContext??u?.();if(!gt(t.relatedTarget,g.context.triggerElements)){if(_.current&&r){g.select("open")||w.openChangeTimeout.clear();const o=c.current;return w.handler=_.current({...r,tree:v,x:t.clientX,y:t.clientY,onClose(){I(),j(),S.current&&!M()&&o===g.select("domReferenceElement")&&e(t,!0)}}),n.addEventListener("mousemove",w.handler),void w.handler(t)}("touch"!==w.pointerType||!pt(g.select("floatingElement"),t.relatedTarget))&&e(t)}}},[j,I,h,x,g,n,_,w,l,z,M,i,s,k,c,v,S,u,C,T]),m.useMemo(()=>{if(n)return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){const{nativeEvent:t}=e,n=e.currentTarget,r=g.select("domReferenceElement"),o=g.select("open"),a=z(r,n,e.target);if(i&&!xt(w.pointerType))return;if(o&&a&&w.handleCloseOptions?.blockPointerEvents){const e=g.select("floatingElement");if(e){const t=w.handleCloseOptions?.getScope?.()??n.ownerDocument.body;Nd(w,{scopeElement:t,referenceElement:n,floatingElement:e})}}const s=vd(k.current);function c(){if(w.restTimeoutPending=!1,M())return;const e=g.select("open");w.blockMouseMove||e&&!a||!T()||g.setOpen(!0,Ge(Ke,t,n))}o&&!a||0===s||!a&&w.restTimeoutPending&&e.movementX**2+e.movementY**2<2||(w.restTimeout.clear(),"touch"===w.pointerType?Xt.flushSync(()=>{c()}):a&&o?c():(w.restTimeoutPending=!0,w.restTimeout.start(s,c)))}};function e(e){w.pointerType=e.pointerType}},[n,w,M,z,i,g,k,T])}(y,{enabled:!P,mouseOnly:!0,move:!1,handleClose:$||"both"===D?null:Wd(),restMs:B,delay(){const e="object"==typeof z.current?z.current.close:void 0;let t=k;return null==l&&I&&(t=e),{close:t}},triggerElementRef:_,isActiveTrigger:v,isClosing:()=>"ending"===g.select("transitionStatus"),shouldOpen:()=>!F.current}),U=function(e,t={}){const{enabled:n=!0,delay:r}=t,o="rootStore"in e?e.rootStore:e,{events:i,dataRef:a}=o.context,s=m.useRef(!1),c=m.useRef(null),d=m.useRef(!0),l=le();m.useEffect(()=>{const e=o.select("domReferenceElement");if(!n)return;const t=S(e);return Ne(q(t,"blur",function(){const e=o.select("domReferenceElement");!o.select("open")&&M(e)&&e===ut(re(e))&&(s.current=!0)}),Ud&&q(t,"keydown",function(){d.current=!0},!0),Ud&&q(t,"pointerdown",function(){d.current=!1},!0))},[o,n]),m.useEffect(()=>{if(n)return i.on("openchange",e),()=>{i.off("openchange",e)};function e(e){if(e.reason===Xe||e.reason===tt){const e=o.select("domReferenceElement");E(e)&&(c.current=e,s.current=!0)}}},[i,n,o]);const u=m.useMemo(()=>{function e(){s.current=!1,c.current=null}return{onMouseLeave(){e()},onFocus(t){const n=t.currentTarget;if(s.current){if(c.current===n)return;e()}const i=ft(t.nativeEvent);if(E(i))if(Ud&&!t.relatedTarget){if(!d.current&&!ht(i))return}else if(!function(e){if(!e||ne)return!0;try{return e.matches(":focus-visible")}catch(e){return!0}}(i))return;const a=gt(t.relatedTarget,o.context.triggerElements),{nativeEvent:u,currentTarget:p}=t,f="function"==typeof r?r():r;o.select("open")&&a||0===f||void 0===f?o.setOpen(!0,Ge(Ze,u,p)):l.start(f,()=>{s.current||o.setOpen(!0,Ge(Ze,u,p))})},onBlur(t){e();const n=t.relatedTarget,r=t.nativeEvent,i=E(n)&&n.hasAttribute(ot("focus-guard"))&&"outside"===n.getAttribute("data-type");l.start(0,()=>{const e=o.select("domReferenceElement"),t=ut(re(e));(n||t!==e)&&(pt(a.current.floatingContext?.refs.floating.current,t)||pt(e,t)||i||gt(n??t,o.context.triggerElements)||o.setOpen(!1,Ge(Ze,r)))})}}},[a,r,o,l]);return m.useMemo(()=>n?{reference:u,trigger:u}:{},[n,u])}(y,{enabled:!P}).reference,G=g.useState("triggerProps",C);return In("button",e,{state:{open:w},ref:[t,R,_],props:[W,U,C||"none"!==D?G:void 0,{onMouseOver(e){(e=>{const t=F.current,n=Yd(e),r=function(e){const t=H(e);return F.current=t,t&&(A.openChangeTimeout.clear(),A.restTimeout.clear(),A.restTimeoutPending=!1,V.clear()),t}(n),o=_.current,i=o&&n&&pt(o,n);if(r&&g.select("open")&&g.select("lastOpenChangeReason")===Ke)g.setOpen(!1,Ge(Ke,e));else if(t&&!r&&i&&!N.current&&!g.select("open")&&o&&xt(L.current)){const t=()=>{F.current||N.current||g.select("open")||g.setOpen(!0,Ge(Ke,e,o))},n=B();0===n?(V.clear(),t()):V.start(n,t)}})(e.nativeEvent)},onFocus(e){H(Yd(e.nativeEvent))&&e.preventBaseUIHandler()},onMouseLeave(){F.current=!1,V.clear(),L.current=void 0},onPointerEnter(e){L.current=e.pointerType},onPointerDown(e){L.current=e.pointerType,g.set("closeOnClick",d),d&&!g.select("open")&&g.cancelPendingOpen(e.nativeEvent)},onClick(e){d&&!g.select("open")&&g.cancelPendingOpen(e.nativeEvent)},id:h,[qd.triggerDisabled]:P?"":void 0,[Gd]:P?void 0:""},p],stateAttributesMapping:Ln})},m.forwardRef($t(Kd)));var Kd,Zd=(0,l.forwardRef)(function(e,t){return(0,s.jsx)(Xd,{ref:t,...e})});const Jd=m.createContext(void 0);function Qd(e){return"starting"===e?so:be}const el={...Hn,...en},tl=m.forwardRef(function(e,t){const{render:n,className:r,style:o,...i}=e,a=Cd(),{side:s,align:c}=function(){const e=m.useContext(Jd);if(void 0===e)throw new Error(b(71));return e}(),d=a.useState("open"),l=a.useState("instantType"),u=a.useState("transitionStatus"),p=a.useState("popupProps"),f=a.useState("floatingRootContext"),g=a.useState("disabled"),h=a.useState("closeDelay");tn({open:d,ref:a.context.popupRef,onComplete(){d&&a.context.onOpenChangeComplete?.(!0)}}),function(e,t={}){const{enabled:n=!0,closeDelay:r=0,nodeId:o}=t,i="rootStore"in e?e.rootStore:e,a=i.useState("open"),s=i.useState("floatingElement"),c=i.useState("domReferenceElement"),{dataRef:d}=i.context,l=qe(),u=Ue(),p=Dd(i),f=le(),g=Ve(()=>wd(d.current.openEvent?.type,p.interactedInside)),h=Ve(()=>{return e=d.current.openEvent?.type,e?.includes("mouse")&&"mousedown"!==e;var e}),b=Ve(()=>{Pd(p)});oe(()=>{a||(p.pointerType=void 0,p.restTimeoutPending=!1,p.interactedInside=!1,b())},[a,p,b]),m.useEffect(()=>b,[b]),oe(()=>{if(n&&a&&p.handleCloseOptions?.blockPointerEvents&&h()&&E(c)&&s){const e=c,t=s,n=re(s),r=l?.nodesRef.current.find(e=>e.id===u)?.context?.elements.floating;r&&(r.style.pointerEvents="");const o=p.pointerEventsScopeElement!==t?p.pointerEventsScopeElement:null,i=r!==t?r:null,a=p.handleCloseOptions?.getScope?.()??o??i??e.closest("[data-rootownerid]")??n.body;return Nd(p,{scopeElement:a,referenceElement:e,floatingElement:t}),()=>{b()}}},[n,a,c,s,p,h,l,u,b]),m.useEffect(()=>{if(!n)return;function e(){return!!(l&&u&&kt(l.nodesRef.current,u).length>0)}function t(n){l&&u&&!e()&&f.start(0,()=>{l.events.off("floating.closed",t),i.setOpen(!1,Ge(Ke,n)),l.events.emit("floating.closed",n)})}const a=s;return Ne(a&&q(a,"mouseenter",function(){p.openChangeTimeout.clear(),f.clear(),l?.events.off("floating.closed",t),b()}),a&&q(a,"mouseleave",function(n){if(e()&&l)return void l.events.on("floating.closed",t);if(gt(n.relatedTarget,i.context.triggerElements))return;const a=d.current.floatingContext?.nodeId??o,s=n.relatedTarget;l&&a&&E(s)&&kt(l.nodesRef.current,a,!1).some(e=>pt(e.context?.elements.floating,s))||(p.handler?p.handler(n):(b(),g()||function(e){const t=bd(r,"close",p.pointerType),n=()=>{i.setOpen(!1,Ge(Ke,e)),l?.events.emit("floating.closed",e)};t?p.openChangeTimeout.start(t,n):(p.openChangeTimeout.clear(),n())}(n)))}),a&&q(a,"pointerdown",function(e){const t=ft(e);var n;n=t,null!=n?.closest(`button,a[href],[role="button"],select,[tabindex]:not([tabindex="-1"]),${at}`)?p.interactedInside=null!=t?.closest("[aria-haspopup]"):p.interactedInside=!1},!0),()=>{l?.events.off("floating.closed",t)})},[n,s,i,d,r,o,g,b,p,l,u,f])}(f,{enabled:!g,closeDelay:h});const v=a.useStateSetter("popupElement");return In("div",e,{state:{open:d,side:s,align:c,instant:l,transitionStatus:u},ref:[t,a.context.popupRef,v],props:[p,Qd(u),i],stateAttributesMapping:el})}),nl=m.createContext(void 0),rl=m.forwardRef(function(e,t){const{children:n,container:r,className:o,render:i,style:a,...c}=e,{portalNode:d,portalSubtree:l}=mo({container:r,ref:t,componentProps:e,elementProps:c});return l||d?(0,s.jsxs)(m.Fragment,{children:[l,d&&Xt.createPortal(n,d)]}):null}),ol=m.forwardRef(function(e,t){const{keepMounted:n=!1,...r}=e;return Cd().useState("mounted")||n?(0,s.jsx)(nl.Provider,{value:n,children:(0,s.jsx)(rl,{ref:t,...r})}):null});var il="data-wp-hash";function al(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=al();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)sl(e,n,r)}(document)),e.__wpStyleRuntime}function sl(e,t,n){if(!e.head)return;const r=al();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${il}]`))if(n.getAttribute(il)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(il,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}!function(e,t){const n=al();n.styles.set(e,t);for(const r of n.documents.keys())sl(r,e,t)}("be37f31c1e","._11fc52b637ff8a7e__slot{inset:0;isolation:isolate;pointer-events:none;position:fixed;z-index:1000000003}@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._11fc52b637ff8a7e__slot>*{pointer-events:auto}}}");var cl="_11fc52b637ff8a7e__slot",dl="data-wp-compat-overlay-slot",ll=null;function ul(){if("undefined"==typeof window)return;if(!function(){let e;try{e=window.top?.wp}catch{}const t=e??window.wp;return"object"==typeof t?.components&&null!==t.components}()&&!0!==window.__wpUiCompatOverlaySlotEnabled)return;const e="undefined"==typeof document?null:document;if(!e||!e.body)return;if(ll&&ll.ownerDocument===e&&ll.isConnected)return ll;const t=e.querySelector(`[${dl}]`);return t instanceof HTMLDivElement?(ll=t,t):(ll?.isConnected&&ll.remove(),ll=function(e){const t=e.createElement("div");return t.setAttribute(dl,""),cl&&t.classList.add(cl),e.body.appendChild(t),t}(e),ll)}var pl=(0,l.forwardRef)(function({container:e,...t},n){return(0,s.jsx)(ol,{container:e??ul(),...t,ref:n})});function fl(e,t,n){let{reference:r,floating:o}=e;const i=ur(t),a=pr(t),s=lr(a),c=sr(t),d="y"===i,l=r.x+r.width/2-o.width/2,u=r.y+r.height/2-o.height/2,p=r[s]/2-o[s]/2;let f;switch(c){case"top":f={x:l,y:r.y-o.height};break;case"bottom":f={x:l,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:u};break;case"left":f={x:r.x-o.width,y:u};break;default:f={x:r.x,y:r.y}}switch(cr(t)){case"start":f[a]-=p*(n&&d?-1:1);break;case"end":f[a]+=p*(n&&d?-1:1)}return f}async function gl(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:c}=e,{boundary:d="clippingAncestors",rootBoundary:l="viewport",elementContext:u="floating",altBoundary:p=!1,padding:f=0}=ar(t,e),g=wr(f),m=s[p?"floating"===u?"reference":"floating":u],h=yr(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:d,rootBoundary:l,strategy:c})),b="floating"===u?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,v=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),w=await(null==i.isElement?void 0:i.isElement(v))&&await(null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},y=yr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:b,offsetParent:v,strategy:c}):b);return{top:(h.top-y.top+g.top)/w.y,bottom:(y.bottom-h.bottom+g.bottom)/w.y,left:(h.left-y.left+g.left)/w.x,right:(y.right-h.right+g.right)/w.x}}function ml(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function hl(e){return Jn.some(t=>e[t]>=0)}const bl=new Set(["left","top"]);function vl(e){const t=V(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=M(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=tr(n)!==i||tr(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function wl(e){return E(e)?e:e.contextElement}function yl(e){const t=wl(e);if(!M(t))return rr(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=vl(t);let a=(i?tr(n.width):n.width)/r,s=(i?tr(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const _l=rr(0);function xl(e){const t=S(e);return $()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:_l}function kl(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=wl(e);let a=rr(1);t&&(r?E(r)&&(a=yl(r)):a=yl(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==S(e))&&t}(i,n,r)?xl(i):rr(0);let c=(o.left+s.x)/a.x,d=(o.top+s.y)/a.y,l=o.width/a.x,u=o.height/a.y;if(i){const e=S(i),t=r&&E(r)?S(r):r;let n=e,o=U(n);for(;o&&r&&t!==n;){const e=yl(o),t=o.getBoundingClientRect(),r=V(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,d*=e.y,l*=e.x,u*=e.y,c+=i,d+=a,n=S(o),o=U(n)}}return yr({width:l,height:u,x:c,y:d})}function Sl(e,t){const n=L(e).scrollLeft;return t?t.left+n:kl(R(e)).left+n}function Rl(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Sl(e,n),y:n.top+t.scrollTop}}function Cl(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=S(e),r=R(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;const e=$();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,c=o.offsetTop)}const d=Sl(r);if(d<=0){const e=r.ownerDocument,t=e.body,n=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,a=Math.abs(r.clientWidth-t.clientWidth-o);a<=25&&(i-=a)}else d<=25&&(i+=d);return{width:i,height:a,x:s,y:c}}(e,n);else if("document"===t)r=function(e){const t=R(e),n=L(e),r=e.ownerDocument.body,o=er(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=er(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Sl(e);const s=-n.scrollTop;return"rtl"===V(r).direction&&(a+=er(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}(R(e));else if(E(t))r=function(e,t){const n=kl(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=M(e)?yl(e):rr(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=xl(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return yr(r)}function El(e,t){const n=B(e);return!(n===t||!E(n)||F(n))&&("fixed"===V(n).position||El(n,t))}function Ml(e,t,n){const r=M(t),o=R(t),i="fixed"===n,a=kl(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const c=rr(0);function d(){c.x=Sl(o)}if(r||!r&&!i)if(("body"!==k(t)||z(o))&&(s=L(t)),r){const e=kl(t,!0,i,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else o&&d();i&&!r&&o&&d();const l=!o||r||i?rr(0):Rl(o,s);return{x:a.left+s.scrollLeft-c.x-l.x,y:a.top+s.scrollTop-c.y-l.y,width:a.width,height:a.height}}function Tl(e){return"static"===V(e).position}function zl(e,t){if(!M(e)||"fixed"===V(e).position)return null;if(t)return t(e);let n=e.offsetParent;return R(e)===n&&(n=n.ownerDocument.body),n}function jl(e,t){const n=S(e);if(I(e))return n;if(!M(e)){let t=B(e);for(;t&&!F(t);){if(E(t)&&!Tl(t))return t;t=B(t)}return n}let r=zl(e,t);for(;r&&j(r)&&Tl(r);)r=zl(r,t);return r&&F(r)&&Tl(r)&&!D(r)?n:r||function(e){let t=B(e);for(;M(t)&&!F(t);){if(D(t))return t;if(I(t))return null;t=B(t)}return null}(e)||n}const Il={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,a=R(r),s=!!t&&I(t.floating);if(r===a||s&&i)return n;let c={scrollLeft:0,scrollTop:0},d=rr(1);const l=rr(0),u=M(r);if((u||!u&&!i)&&(("body"!==k(r)||z(a))&&(c=L(r)),u)){const e=kl(r);d=yl(r),l.x=e.x+r.clientLeft,l.y=e.y+r.clientTop}const p=!a||u||i?rr(0):Rl(a,c);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-c.scrollLeft*d.x+l.x+p.x,y:n.y*d.y-c.scrollTop*d.y+l.y+p.y}},getDocumentElement:R,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?I(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=W(e,[],!1).filter(e=>E(e)&&"body"!==k(e)),o=null;const i="fixed"===V(e).position;let a=i?B(e):e;for(;E(a)&&!F(a);){const t=V(a),n=D(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&("absolute"===o.position||"fixed"===o.position)||z(a)&&!n&&El(e,a))?r=r.filter(e=>e!==a):o=t,a=B(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=Cl(t,i[0],o);let s=a.top,c=a.right,d=a.bottom,l=a.left;for(let e=1;e<i.length;e++){const n=Cl(t,i[e],o);s=er(n.top,s),c=Qn(n.right,c),d=Qn(n.bottom,d),l=er(n.left,l)}return{width:c-l,height:d-s,x:l,y:s}},getOffsetParent:jl,getElementRects:async function(e){const t=this.getOffsetParent||jl,n=this.getDimensions,r=await n(e.floating);return{reference:Ml(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=vl(e);return{width:t,height:n}},getScale:yl,isElement:E,isRTL:function(e){return"rtl"===V(e).direction}};function Al(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ol(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:c=!1}=r,d=wl(e),l=o||i?[...d?W(d):[],...t?W(t):[]]:[];l.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});const u=d&&s?function(e,t){let n,r=null;const o=R(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,c){void 0===s&&(s=!1),void 0===c&&(c=1),i();const d=e.getBoundingClientRect(),{left:l,top:u,width:p,height:f}=d;if(s||t(),!p||!f)return;const g={rootMargin:-nr(u)+"px "+-nr(o.clientWidth-(l+p))+"px "+-nr(o.clientHeight-(u+f))+"px "+-nr(l)+"px",threshold:er(0,Qn(1,c))||1};let m=!0;function h(t){const r=t[0].intersectionRatio;if(r!==c){if(!m)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||Al(d,e.getBoundingClientRect())||a(),m=!1}try{r=new IntersectionObserver(h,{...g,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(h,g)}r.observe(e)}(!0),i}(d,n):null;let p,f=-1,g=null;a&&(g=new ResizeObserver(e=>{let[r]=e;r&&r.target===d&&g&&t&&(g.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),n()}),d&&!c&&g.observe(d),t&&g.observe(t));let m=c?kl(e):null;return c&&function t(){const r=kl(e);m&&!Al(m,r)&&n(),m=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;l.forEach(e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null==u||u(),null==(e=g)||e.disconnect(),g=null,c&&cancelAnimationFrame(p)}}const Pl=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:c,elements:d}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:m=!0,...h}=ar(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const b=sr(o),v=ur(s),w=sr(s)===s,y=await(null==c.isRTL?void 0:c.isRTL(d.floating)),_=p||(w||!m?[vr(s)]:function(e){const t=vr(e);return[fr(e),t,fr(t)]}(s)),x="none"!==g;!p&&x&&_.push(...function(e,t,n,r){const o=cr(e);let i=function(e,t,n){switch(e){case"top":case"bottom":return n?t?mr:gr:t?gr:mr;case"left":case"right":return t?hr:br;default:return[]}}(sr(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(fr)))),i}(s,m,g,y));const k=[s,..._],S=await c.detectOverflow(t,h),R=[];let C=(null==(r=i.flip)?void 0:r.overflows)||[];if(l&&R.push(S[b]),u){const e=function(e,t,n){void 0===n&&(n=!1);const r=cr(e),o=pr(e),i=lr(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=vr(a)),[a,vr(a)]}(o,a,y);R.push(S[e[0]],S[e[1]])}if(C=[...C,{placement:o,overflows:R}],!R.every(e=>e<=0)){var E,M;const e=((null==(E=i.flip)?void 0:E.index)||0)+1,t=k[e];if(t&&("alignment"!==u||v===ur(t)||C.every(e=>ur(e.placement)!==v||e.overflows[0]>0)))return{data:{index:e,overflows:C},reset:{placement:t}};let n=null==(M=C.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:M.placement;if(!n)switch(f){case"bestFit":{var T;const e=null==(T=C.filter(e=>{if(x){const t=ur(e.placement);return t===v||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:T[0];e&&(n=e);break}case"initialPlacement":n=s}if(o!==n)return{reset:{placement:n}}}return{}}}},Nl=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:c=!0,crossAxis:d=!0}=ar(e,t),l={x:n,y:r},u=ur(o),p=dr(u);let f=l[p],g=l[u];const m=ar(s,t),h="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(c){const e="y"===p?"height":"width",t=i.reference[p]-i.floating[e]+h.mainAxis,n=i.reference[p]+i.reference[e]-h.mainAxis;f<t?f=t:f>n&&(f=n)}if(d){var b,v;const e="y"===p?"width":"height",t=bl.has(sr(o)),n=i.reference[u]-i.floating[e]+(t&&(null==(b=a.offset)?void 0:b[u])||0)+(t?0:h.crossAxis),r=i.reference[u]+i.reference[e]+(t?0:(null==(v=a.offset)?void 0:v[u])||0)-(t?h.crossAxis:0);g<n?g=n:g>r&&(g=r)}return{[p]:f,[u]:g}}}};var Dl="undefined"!=typeof document?m.useLayoutEffect:function(){};function $l(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!==r--;)if(!$l(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!==r--;){const n=o[r];if(!("_owner"===n&&e.$$typeof||$l(e[n],t[n])))return!1}return!0}return e!=e&&t!=t}function Fl(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Vl(e,t){const n=Fl(e);return Math.round(t*n)/n}function Ll(e){const t=m.useRef(e);return Dl(()=>{t.current=e}),t}function Bl(e){const{open:t=!1,onOpenChange:n,elements:r={}}=e,o=zt(),i=null!=Ue(),a=ae(()=>new Gt({open:t,transitionStatus:void 0,onOpenChange:n,referenceElement:r.reference??null,floatingElement:r.floating??null,triggerElements:new ln,floatingId:o,syncOnly:!1,nested:i})).current;return oe(()=>{const e={open:t,floatingId:o};void 0!==r.reference&&(e.referenceElement=r.reference,e.domReferenceElement=E(r.reference)?r.reference:null),void 0!==r.floating&&(e.floatingElement=r.floating),a.update(e)},[t,o,r.reference,r.floating,a]),a.context.onOpenChange=n,a.context.nested=i,a}function Hl(e={}){const{nodeId:t,externalTree:n}=e,r=Bl(e),o=e.rootContext||r,i=o.useState("referenceElement"),a=o.useState("floatingElement"),s=o.useState("domReferenceElement"),c=o.useState("open"),d=o.useState("floatingId"),[l,u]=m.useState(null),[p,f]=m.useState(void 0),[g,h]=m.useState(void 0),b=m.useRef(null),v=qe(n),w=m.useMemo(()=>({reference:i,floating:a,domReference:s}),[i,a,s]),y=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:c,open:d}=e,[l,u]=m.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,f]=m.useState(r);$l(p,r)||f(r);const[g,h]=m.useState(null),[b,v]=m.useState(null),w=m.useCallback(e=>{e!==k.current&&(k.current=e,h(e))},[]),y=m.useCallback(e=>{e!==S.current&&(S.current=e,v(e))},[]),_=i||g,x=a||b,k=m.useRef(null),S=m.useRef(null),R=m.useRef(l),C=null!=c,E=Ll(c),M=Ll(o),T=Ll(d),z=m.useCallback(()=>{if(!k.current||!S.current)return;const e={placement:t,strategy:n,middleware:p};M.current&&(e.platform=M.current),((e,t,n)=>{const r=new Map,o={platform:Il,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=a.detectOverflow?a:{...a,detectOverflow:gl},c=await(null==a.isRTL?void 0:a.isRTL(t));let d=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:l,y:u}=fl(d,r,c),p=r,f=0;const g={};for(let n=0;n<i.length;n++){const m=i[n];if(!m)continue;const{name:h,fn:b}=m,{x:v,y:w,data:y,reset:_}=await b({x:l,y:u,initialPlacement:r,placement:p,strategy:o,middlewareData:g,rects:d,platform:s,elements:{reference:e,floating:t}});l=null!=v?v:l,u=null!=w?w:u,g[h]={...g[h],...y},_&&f<50&&(f++,"object"==typeof _&&(_.placement&&(p=_.placement),_.rects&&(d=!0===_.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):_.rects),({x:l,y:u}=fl(d,p,c))),n=-1)}return{x:l,y:u,placement:p,strategy:o,middlewareData:g}})(e,t,{...o,platform:i})})(k.current,S.current,e).then(e=>{const t={...e,isPositioned:!1!==T.current};j.current&&!$l(R.current,t)&&(R.current=t,Xt.flushSync(()=>{u(t)}))})},[p,t,n,M,T]);Dl(()=>{!1===d&&R.current.isPositioned&&(R.current.isPositioned=!1,u(e=>({...e,isPositioned:!1})))},[d]);const j=m.useRef(!1);Dl(()=>(j.current=!0,()=>{j.current=!1}),[]),Dl(()=>{if(_&&(k.current=_),x&&(S.current=x),_&&x){if(E.current)return E.current(_,x,z);z()}},[_,x,z,E,C]);const I=m.useMemo(()=>({reference:k,floating:S,setReference:w,setFloating:y}),[w,y]),A=m.useMemo(()=>({reference:_,floating:x}),[_,x]),O=m.useMemo(()=>{const e={position:n,left:0,top:0};if(!A.floating)return e;const t=Vl(A.floating,l.x),r=Vl(A.floating,l.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...Fl(A.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,s,A.floating,l.x,l.y]);return m.useMemo(()=>({...l,update:z,refs:I,elements:A,floatingStyles:O}),[l,z,I,A,O])}({...e,elements:{...w,...l&&{reference:l}}}),_=E(p)?p:null,x=void 0===g?o.state.floatingElement:g;o.useSyncedValue("referenceElement",p??null),o.useSyncedValue("domReferenceElement",void 0===p?s:_),o.useSyncedValue("floatingElement",x);const k=m.useCallback(e=>{const t=E(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;u(t),y.refs.setReference(t)},[y.refs]),S=m.useCallback(e=>{(E(e)||null===e)&&(b.current=e,f(e)),(E(y.refs.reference.current)||null===y.refs.reference.current||null!==e&&!E(e))&&y.refs.setReference(e)},[y.refs,f]),R=m.useCallback(e=>{h(e),y.refs.setFloating(e)},[y.refs]),C=m.useMemo(()=>({...y.refs,setReference:S,setFloating:R,setPositionReference:k,domReference:b}),[y.refs,S,R,k]),M=m.useMemo(()=>({...y.elements,domReference:s}),[y.elements,s]),T=m.useMemo(()=>({...y,dataRef:o.context.dataRef,open:c,onOpenChange:o.setOpen,events:o.context.events,floatingId:d,refs:C,elements:M,nodeId:t,rootStore:o}),[y,C,M,t,o,c,d]);return oe(()=>{s&&(b.current=s)},[s]),oe(()=>{o.context.dataRef.current.floatingContext=T;const e=v?.nodesRef.current.find(e=>e.id===t);e&&(e.context=T)}),m.useMemo(()=>({...y,context:T,refs:C,elements:M,rootStore:o}),[y,C,M,T,o])}const Wl=m.createContext(void 0);function Ul(){const e=m.useContext(Wl);return e?.direction??"ltr"}const ql=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:c}=t,{element:d,padding:l=0,offsetParent:u="real"}=ar(e,t)||{};if(null==d)return{};const p=wr(l),f={x:n,y:r},g=pr(o),m=lr(g),h=await a.getDimensions(d),b="y"===g,v=b?"top":"left",w=b?"bottom":"right",y=b?"clientHeight":"clientWidth",_=i.reference[m]+i.reference[g]-f[g]-i.floating[m],x=f[g]-i.reference[g],k="real"===u?await(a.getOffsetParent?.(d)):s.floating;let S=s.floating[y]||i.floating[m];S&&await(a.isElement?.(k))||(S=s.floating[y]||i.floating[m]);const R=_/2-x/2,C=S/2-h[m]/2-1,E=Math.min(p[v],C),M=Math.min(p[w],C),T=E,z=S-h[m]-M,j=S/2-h[m]/2+R,I=ir(T,j,z),A=!c.arrow&&null!=cr(o)&&j!==I&&i.reference[m]/2-(j<T?E:M)-h[m]/2<0,O=A?j<T?j-T:j-z:0;return{[g]:f[g]+O,data:{[g]:I,centerOffset:j-I-O,...A&&{alignmentOffset:O}},reset:A}}}),Gl={name:"hide",async fn(e){const{width:t,height:n,x:r,y:o}=e.rects.reference,i=0===t&&0===n&&0===r&&0===o,a=await(e=>{const t=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:o="referenceHidden",...i}=ar(e,t);switch(o){case"referenceHidden":{const e=ml(await r.detectOverflow(t,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:hl(e)}}}case"escaped":{const e=ml(await r.detectOverflow(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:hl(e)}}}default:return{}}}}}(e);return{name:t.name,fn:t.fn,options:[e,void 0]}})().fn(e);return{data:{referenceHidden:a.data?.referenceHidden||i}}}},Yl={sideX:"left",sideY:"top"},Xl={name:"adaptiveOrigin",async fn(e){const{x:t,y:n,rects:{floating:r},elements:{floating:o},platform:i,strategy:a,placement:s}=e,c=S(o),d=c.getComputedStyle(o);if("0s"===d.transitionDuration||""===d.transitionDuration)return{x:t,y:n,data:Yl};const l=await(i.getOffsetParent?.(o));let u={width:0,height:0};if("fixed"===a&&c?.visualViewport)u={width:c.visualViewport.width,height:c.visualViewport.height};else if(l===c){const e=re(o);u={width:e.documentElement.clientWidth,height:e.documentElement.clientHeight}}else await(i.isElement?.(l))&&(u=await i.getDimensions(l));const p=sr(s);let f=t,g=n;return"left"===p&&(f=u.width-(t+r.width)),"top"===p&&(g=u.height-(n+r.height)),{x:f,y:g,data:{sideX:"left"===p?"right":Yl.sideX,sideY:"top"===p?"bottom":Yl.sideY}}}};function Kl(e,t,n){const r="inline-start"===e||"inline-end"===e;return{top:"top",right:r?n?"inline-start":"inline-end":"right",bottom:"bottom",left:r?n?"inline-end":"inline-start":"left"}[t]}function Zl(e,t,n){const{rects:r,placement:o}=e;return{side:Kl(t,sr(o),n),align:cr(o)||"center",anchor:{width:r.reference.width,height:r.reference.height},positioner:{width:r.floating.width,height:r.floating.height}}}function Jl(e){const{anchor:t,positionMethod:n="absolute",side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:a=0,collisionBoundary:s,collisionPadding:c=5,sticky:d=!1,arrowPadding:l=5,disableAnchorTracking:u=!1,inline:p,keepMounted:f=!1,floatingRootContext:g,mounted:h,collisionAvoidance:b,shiftCrossAxis:v=!1,nodeId:w,adaptiveOrigin:y,lazyFlip:_=!1,externalTree:x}=e,[k,R]=m.useState(null);h||null===k||R(null);const C=b.side||"flip",E=b.align||"flip",M=b.fallbackAxisSide||"end",T="function"==typeof t?t:void 0,z=Ve(T),j=T?z:t,I=qn(t),A=qn(h),O="rtl"===Ul(),P=k||{top:"top",right:"right",bottom:"bottom",left:"left","inline-end":O?"left":"right","inline-start":O?"right":"left"}[r],N="center"===i?P:`${P}-${i}`;let D=c;const $="bottom"===r?1:0,F="top"===r?1:0,V="right"===r?1:0,L="left"===r?1:0;"number"==typeof D?D={top:D+$,right:D+L,bottom:D+F,left:D+V}:D&&(D={top:(D.top||0)+$,right:(D.right||0)+L,bottom:(D.bottom||0)+F,left:(D.left||0)+V});const B={boundary:"clipping-ancestors"===s?"clippingAncestors":s,padding:D},H=m.useRef(null),W=qn(o),U=qn(a),q="function"!=typeof o?o:0,G="function"!=typeof a?a:0,Y=[];p&&Y.push(p),Y.push(((e,t)=>{const n=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=t,c=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=sr(n),s=cr(n),c="y"===ur(n),d=bl.has(a)?-1:1,l=i&&c?-1:1,u=ar(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:g}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return s&&"number"==typeof g&&(f="end"===s?-1*g:g),c?{x:f*l,y:p*d}:{x:p*d,y:f*l}}(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:a}}}}}(e);return{name:n.name,fn:n.fn,options:[e,t]}})(e=>{const t=Zl(e,r,O),n="function"==typeof W.current?W.current(t):W.current,o="function"==typeof U.current?U.current(t):U.current;return{mainAxis:n,crossAxis:o,alignmentAxis:o}},[q,G,O,r]));const X="none"===E&&"shift"!==C,K=!X&&(d||v||"shift"===C),Z="none"===C?null:(e=>{const t=Pl(e);return{name:t.name,fn:t.fn,options:[e,void 0]}})({...B,padding:{top:D.top+1,right:D.right+1,bottom:D.bottom+1,left:D.left+1},mainAxis:!v&&"flip"===C,crossAxis:"flip"===E&&"alignment",fallbackAxisSideDirection:M}),J=X?null:((e,t)=>{const n=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o,platform:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...d}=ar(e,t),l={x:n,y:r},u=await i.detectOverflow(t,d),p=ur(sr(o)),f=dr(p);let g=l[f],m=l[p];if(a){const e="y"===f?"bottom":"right";g=ir(g+u["y"===f?"top":"left"],g,g-u[e])}if(s){const e="y"===p?"bottom":"right";m=ir(m+u["y"===p?"top":"left"],m,m-u[e])}const h=c.fn({...t,[f]:g,[p]:m});return{...h,data:{x:h.x-n,y:h.y-r,enabled:{[f]:a,[p]:s}}}}}}(e);return{name:n.name,fn:n.fn,options:[e,t]}})(e=>{const t=re(e.elements.floating).documentElement;return{...B,rootBoundary:v?{x:0,y:0,width:t.clientWidth,height:t.clientHeight}:void 0,mainAxis:"none"!==E,crossAxis:K,limiter:d||v?void 0:(n=e=>{if(!H.current)return{};const{width:t,height:n}=H.current.getBoundingClientRect(),r=ur(sr(e.placement));return{offset:("y"===r?t:n)/2+("y"===r?D.left+D.right:D.top+D.bottom)/2}},{fn:Nl(n).fn,options:[n,void 0]})};var n},[B,d,v,D,E]);var Q,ee;"shift"===C||"shift"===E||"center"===i?Y.push(J,Z):Y.push(Z,J),Y.push((e=>{const t=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:a,elements:s}=t,{apply:c=()=>{},...d}=ar(e,t),l=await a.detectOverflow(t,d),u=sr(o),p=cr(o),f="y"===ur(o),{width:g,height:m}=i.floating;let h,b;"top"===u||"bottom"===u?(h=u,b=p===(await(null==a.isRTL?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(b=u,h="end"===p?"top":"bottom");const v=m-l.top-l.bottom,w=g-l.left-l.right,y=Qn(m-l[h],v),_=Qn(g-l[b],w),x=!t.middlewareData.shift;let k=y,S=_;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(S=w),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(k=v),x&&!p){const e=er(l.left,0),t=er(l.right,0),n=er(l.top,0),r=er(l.bottom,0);f?S=g-2*(0!==e||0!==t?e+t:er(l.left,l.right)):k=m-2*(0!==n||0!==r?n+r:er(l.top,l.bottom))}await c({...t,availableWidth:S,availableHeight:k});const R=await a.getDimensions(s.floating);return g!==R.width||m!==R.height?{reset:{rects:!0}}:{}}}}(e);return{name:t.name,fn:t.fn,options:[e,void 0]}})({...B,apply({elements:{floating:e},availableWidth:t,availableHeight:n,rects:r}){if(!A.current)return;const o=e.style;o.setProperty("--available-width",`${t}px`),o.setProperty("--available-height",`${n}px`);const i=S(e).devicePixelRatio||1,{x:a,y:s,width:c,height:d}=r.reference,l=(Math.round((a+c)*i)-Math.round(a*i))/i,u=(Math.round((s+d)*i)-Math.round(s*i))/i;o.setProperty("--anchor-width",`${l}px`),o.setProperty("--anchor-height",`${u}px`)}}),(ee=[l],{...ql(Q=e=>({element:H.current||re(e.elements.floating).createElement("div"),padding:l,offsetParent:"floating"})),options:[Q,ee]}),{name:"transformOrigin",fn(e){const{elements:t,middlewareData:n,placement:i,rects:a,y:s}=e,c=sr(i),d=ur(c),l=H.current,u=n.arrow?.x||0,p=n.arrow?.y||0,f=u+(l?.clientWidth||0)/2,g=p+(l?.clientHeight||0)/2,m=Math.abs(n.shift?.y||0),h=a.reference.height/2,b="function"==typeof o?o(Zl(e,r,O)):o,v=m>b,w={top:`${f}px calc(100% + ${b}px)`,bottom:`${f}px ${-b}px`,left:`calc(100% + ${b}px) ${g}px`,right:`${-b}px ${g}px`}[c],y=`${f}px ${a.reference.y+h-s}px`;return t.floating.style.setProperty("--transform-origin",K&&"y"===d&&v?y:w),{}}},Gl,y),oe(()=>{!h&&g&&g.update({referenceElement:null,floatingElement:null,domReferenceElement:null,positionReference:null})},[h,g]);const te=m.useMemo(()=>({elementResize:!u&&"undefined"!=typeof ResizeObserver,layoutShift:!u&&"undefined"!=typeof IntersectionObserver}),[u]),{refs:ne,elements:ie,x:ae,y:se,middlewareData:ce,update:de,placement:le,context:ue,isPositioned:pe,floatingStyles:fe}=Hl({rootContext:g,open:f?h:void 0,placement:N,middleware:Y,strategy:n,whileElementsMounted:f?void 0:(...e)=>Ol(...e,te),nodeId:w,externalTree:x}),{sideX:ge,sideY:me}=ce.adaptiveOrigin||Yl,he=pe?n:"fixed",be=m.useMemo(()=>{const e=y?{position:he,[ge]:ae,[me]:se}:{position:he,...fe};return pe||(e.opacity=0),e},[y,he,ge,ae,me,se,fe,pe]),ve=m.useRef(null);oe(()=>{if(!h)return;const e=I.current,t="function"==typeof e?e():e,n=(Ql(t)?t.current:t)||null;n!==ve.current&&(ne.setPositionReference(n),ve.current=n)},[h,ne,j,I]),m.useEffect(()=>{if(!h)return;const e=I.current;"function"!=typeof e&&Ql(e)&&e.current!==ve.current&&(ne.setPositionReference(e.current),ve.current=e.current)},[h,ne,j,I]),m.useEffect(()=>{if(f&&h&&ie.domReference&&ie.floating)return Ol(ie.domReference,ie.floating,de,te)},[f,h,ie,de,te]);const we=sr(le),ye=Kl(r,we,O),_e=cr(le)||"center",xe=Boolean(ce.hide?.referenceHidden);oe(()=>{_&&h&&pe&&R(we)},[_,h,pe,we]);const ke=m.useMemo(()=>({position:"absolute",top:ce.arrow?.y,left:ce.arrow?.x}),[ce.arrow]),Se=0!==ce.arrow?.centerOffset;return m.useMemo(()=>({positionerStyles:be,arrowStyles:ke,arrowRef:H,arrowUncentered:Se,side:ye,align:_e,physicalSide:we,anchorHidden:xe,refs:ne,context:ue,isPositioned:pe,update:de}),[be,ke,H,Se,ye,_e,we,xe,ne,ue,pe,de])}function Ql(e){return null!=e&&"current"in e}function eu(e,t,{styles:n,transitionStatus:r,props:o,refs:i,hidden:a,inert:s=!1}){const c={...n};return s&&(c.pointerEvents="none"),In("div",e,{state:t,ref:i,props:[{role:"presentation",hidden:a,style:c},Qd(r),o],stateAttributesMapping:Hn})}const tu=m.forwardRef(function(e,t){const{render:n,className:r,anchor:o,positionMethod:i="absolute",side:a="top",align:c="center",sideOffset:d=0,alignOffset:l=0,collisionBoundary:u="clipping-ancestors",collisionPadding:p=5,arrowPadding:f=5,sticky:g=!1,disableAnchorTracking:h=!1,collisionAvoidance:v=lo,style:w,...y}=e,_=Cd(),x=function(){const e=m.useContext(nl);if(void 0===e)throw new Error(b(70));return e}(),k=_.useState("open"),S=_.useState("mounted"),R=_.useState("trackCursorAxis"),C=_.useState("disableHoverablePopup"),E=_.useState("floatingRootContext"),M=_.useState("instantType"),T=_.useState("transitionStatus"),z=Jl({anchor:o,positionMethod:i,floatingRootContext:E,mounted:S,side:a,sideOffset:d,align:c,alignOffset:l,collisionBoundary:u,collisionPadding:p,sticky:g,arrowPadding:f,disableAnchorTracking:h,keepMounted:x,collisionAvoidance:v,adaptiveOrigin:_.useState("hasViewport")?Xl:void 0}),j=eu(e,m.useMemo(()=>({open:k,side:z.side,align:z.align,anchorHidden:z.anchorHidden,instant:"none"!==R?"tracking-cursor":M}),[k,z.side,z.align,z.anchorHidden,R,M]),{styles:z.positionerStyles,transitionStatus:T,props:y,refs:[t,_.useStateSetter("positionerElement")],hidden:!S,inert:!k||"both"===R||C});return(0,s.jsx)(Jd.Provider,{value:z,children:j})});var nu="data-wp-hash";function ru(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=ru();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)ou(e,n,r)}(document)),e.__wpStyleRuntime}function ou(e,t,n){if(!e.head)return;const r=ru();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${nu}]`))if(n.getAttribute(nu)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(nu,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}function iu(e,t){const n=ru();n.styles.set(e,t);for(const r of n.documents.keys())ou(r,e,t)}iu("10f3806643","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}");iu("789467362f",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._480b748dd3510e64__positioner{z-index:var(--wp-ui-tooltip-z-index,initial)}._50096b232db7709d__popup{background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border-radius:var(--wpds-border-radius-md,4px);box-shadow:var(--wpds-elevation-sm,0 1px 2px 0 #0000000d,0 2px 3px 0 #0000000a,0 6px 6px 0 #00000008,0 8px 8px 0 #00000005);color:var(--wpds-color-foreground-content-neutral,#1e1e1e);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-sm,12px);line-height:1.4;padding:var(--wpds-dimension-padding-xs,4px) var(--wpds-dimension-padding-sm,8px);@media (forced-colors:active){border-bottom-color:CanvasText;border-bottom-style:solid;border-bottom-width:1px;border-left-color:CanvasText;border-left-style:solid;border-left-width:1px;border-right-color:CanvasText;border-right-style:solid;border-right-width:1px;border-top-color:CanvasText;border-top-style:solid;border-top-width:1px}}}}');var au=(0,l.forwardRef)(function({align:e="center",className:t,side:n="top",sideOffset:r=4,...o},i){return(0,s.jsx)(tu,{ref:i,align:e,side:n,sideOffset:r,...o,className:d("_336cd3e4e743482f__box-sizing","_480b748dd3510e64__positioner",t)})}),su="data-wp-hash";function cu(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=cu();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)du(e,n,r)}(document)),e.__wpStyleRuntime}function du(e,t,n){if(!e.head)return;const r=cu();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${su}]`))if(n.getAttribute(su)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(su,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}!function(e,t){const n=cu();n.styles.set(e,t);for(const r of n.documents.keys())du(r,e,t)}("789467362f",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._480b748dd3510e64__positioner{z-index:var(--wp-ui-tooltip-z-index,initial)}._50096b232db7709d__popup{background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border-radius:var(--wpds-border-radius-md,4px);box-shadow:var(--wpds-elevation-sm,0 1px 2px 0 #0000000d,0 2px 3px 0 #0000000a,0 6px 6px 0 #00000008,0 8px 8px 0 #00000005);color:var(--wpds-color-foreground-content-neutral,#1e1e1e);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-sm,12px);line-height:1.4;padding:var(--wpds-dimension-padding-xs,4px) var(--wpds-dimension-padding-sm,8px);@media (forced-colors:active){border-bottom-color:CanvasText;border-bottom-style:solid;border-bottom-width:1px;border-left-color:CanvasText;border-left-style:solid;border-left-width:1px;border-right-color:CanvasText;border-right-style:solid;border-right-width:1px;border-top-color:CanvasText;border-top-style:solid;border-top-width:1px}}}}');var lu={background:"#1e1e1e"},uu=(0,l.forwardRef)(function({portal:e,positioner:t,children:n,className:r,...o},i){const a=(0,s.jsx)(Sc,{color:lu,children:(0,s.jsx)(tl,{ref:i,className:d("_50096b232db7709d__popup",r),...o,children:n})}),c=ci(t,(0,s.jsx)(au,{}),a);return ci(e,(0,s.jsx)(pl,{}),c)}),pu="data-wp-hash";function fu(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=fu();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)gu(e,n,r)}(document)),e.__wpStyleRuntime}function gu(e,t,n){if(!e.head)return;const r=fu();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${pu}]`))if(n.getAttribute(pu)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(pu,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}!function(e,t){const n=fu();n.styles.set(e,t);for(const r of n.documents.keys())gu(r,e,t)}("65cec4cf71","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer compositions{._28cfdc260e755391__icon-button{--wp-ui-button-aspect-ratio:1;--wp-ui-button-padding-inline:0;--wp-ui-button-min-width:unset}.f1c70d719989a85a__icon{margin:-1px}}}");var mu=(0,l.forwardRef)(function({label:e,className:t,children:n,disabled:r,focusableWhenDisabled:o=!0,icon:i,size:a,shortcut:c,positioner:l,...u},p){const f=d("_28cfdc260e755391__icon-button",t);return(0,s.jsx)(Sd,{delay:0,children:(0,s.jsxs)(Id,{children:[(0,s.jsx)(Zd,{ref:p,disabled:r&&!o,render:(0,s.jsx)(hd,{...u,size:a,"aria-label":e,"aria-keyshortcuts":c?.ariaKeyShortcut,disabled:r,focusableWhenDisabled:o}),className:f,children:(0,s.jsx)(ud,{icon:i,size:24,className:"f1c70d719989a85a__icon"})}),(0,s.jsxs)(uu,{positioner:l,children:[e,c&&(0,s.jsxs)(s.Fragment,{children:[" ",(0,s.jsx)("span",{"aria-hidden":"true",children:c.displayShortcut})]})]})]})})}),hu=(0,l.forwardRef)(function({icon:e,label:t,...n},r){return(0,s.jsx)(ed,{ref:r,render:(0,s.jsx)(mu,{variant:"minimal",size:"compact",tone:"neutral",...n,icon:e??nd,label:t??(0,g.__)("Close"),"data-wp-ui-dialog-close-icon":""})})}),bu="data-wp-hash";function vu(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=vu();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)wu(e,n,r)}(document)),e.__wpStyleRuntime}function wu(e,t,n){if(!e.head)return;const r=vu();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${bu}]`))if(n.getAttribute(bu)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(bu,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}function yu(e,t){const n=vu();n.styles.set(e,t);for(const r of n.documents.keys())wu(r,e,t)}yu("5f8e7aa0bc","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._08e8a2e44959f892__outset-ring--focus:focus,._970d04df7376df67__outset-ring--focus-within-except-active:focus-within:not(:has(:active)),.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,.e25b2bdd7aa21721__outset-ring--focus-except-active:focus:not(:active),: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))}}}");yu("1cf98dcc6c",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.f1c50237c4787636__header{min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-2xl,24px) var(--wpds-dimension-gap-lg,16px)}._579f95efdec92a66__footer,.f1c50237c4787636__header{align-items:center;display:flex;gap:var(--wpds-dimension-gap-sm,8px);padding-inline:var(--wpds-dimension-padding-2xl,24px)}._579f95efdec92a66__footer{justify-content:flex-end;padding-block:var(--wpds-dimension-gap-lg,16px) var(--wpds-dimension-padding-2xl,24px)}._5371cc08aad82574__title{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral,#1e1e1e);--_gcd-heading-margin:0 auto 0 0;color:var(--wpds-color-foreground-content-neutral,#1e1e1e);margin-inline-end:auto;&:dir(rtl){--_gcd-heading-margin:0 0 0 auto}}._766d9011d37ce2d9__content{flex:1 1 auto;min-block-size:0;overflow-block:auto;overflow-inline:hidden;padding:var(--wpds-dimension-padding-2xl,24px);&:focus-visible{outline-offset:calc(var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px))*-1)}}.f1c50237c4787636__header:has(~._766d9011d37ce2d9__content){border-block-end:1px solid transparent;padding-block-end:calc(var(--wpds-dimension-gap-lg, 16px) - 1px)}.f1c50237c4787636__header~._766d9011d37ce2d9__content{padding-block-start:0}._766d9011d37ce2d9__content~._579f95efdec92a66__footer{border-block-start:1px solid transparent;padding-block-start:calc(var(--wpds-dimension-gap-lg, 16px) - 1px)}._766d9011d37ce2d9__content:has(~._579f95efdec92a66__footer){padding-block-end:0}._766d9011d37ce2d9__content>.f1c50237c4787636__header,._766d9011d37ce2d9__content>[data-drawer-content]>.f1c50237c4787636__header{padding-inline:0}._766d9011d37ce2d9__content>.f1c50237c4787636__header:first-child,._766d9011d37ce2d9__content>[data-drawer-content]>.f1c50237c4787636__header:first-child{padding-block-start:0}._766d9011d37ce2d9__content>._579f95efdec92a66__footer,._766d9011d37ce2d9__content>[data-drawer-content]>._579f95efdec92a66__footer{padding-inline:0}._766d9011d37ce2d9__content>._579f95efdec92a66__footer:last-child,._766d9011d37ce2d9__content>[data-drawer-content]>._579f95efdec92a66__footer:last-child{padding-block-end:0}.f1c50237c4787636__header:has(~[data-wp-ui-overlay-scroll-container][data-wp-ui-overlay-scrolled-from-top]){border-block-end-color:var(--wpds-color-stroke-surface-neutral,#dbdbdb)}[data-wp-ui-overlay-scroll-container][data-wp-ui-overlay-scrolled-from-bottom]~._579f95efdec92a66__footer{border-block-start-color:var(--wpds-color-stroke-surface-neutral,#dbdbdb)}[data-wp-ui-overlay-modal] [data-wp-ui-overlay-scroll-container]{overscroll-behavior:contain}}}@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._074affe4c56b4f2f__backdrop{background-color:rgba(0,0,0,.35);inset:0;position:fixed;z-index:var(--wp-ui-dialog-z-index,initial);&[data-ending-style],&[data-starting-style]{opacity:0}&[data-open]{opacity:1}@media not (prefers-reduced-motion){transition:opacity var(--wpds-motion-duration-md,.2s) var(--wpds-motion-easing-subtle,cubic-bezier(.15,0,.15,1))}}._8acaa98861620d4d__popup{--viewport-inset:var(--wpds-dimension-padding-2xl,24px);background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb);border-radius:var(--wpds-border-radius-lg,8px);box-shadow:var(--wpds-elevation-lg,0 5px 15px 0 #00000014,0 15px 27px 0 #00000012,0 30px 36px 0 #0000000a,0 50px 43px 0 #00000005);box-sizing:border-box;color:var(--wpds-color-foreground-content-neutral,#1e1e1e);display:flex;flex-direction:column;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);left:50%;line-height:var(--wpds-typography-line-height-md,24px);max-height:calc(100dvh - var(--viewport-inset)*2);min-width:var(--wpds-dimension-surface-width-sm,320px);overflow:hidden;position:fixed;top:50%;transform:translate(-50%,-50%);width:calc(100vw - var(--viewport-inset)*2);z-index:var(--wp-ui-dialog-z-index,initial);&[data-ending-style],&[data-starting-style]{opacity:0;transform:translate(-50%,-50%) scale(.9)}@media not (prefers-reduced-motion){transition:opacity var(--wpds-motion-duration-md,.2s) var(--wpds-motion-easing-expressive,cubic-bezier(.25,0,0,1)),transform var(--wpds-motion-duration-md,.2s) var(--wpds-motion-easing-expressive,cubic-bezier(.25,0,0,1))}@media (min-width:480px){min-width:var(--wpds-dimension-surface-width-md,400px)}&._7acfa67ebf092988__is-small{max-width:var(--wpds-dimension-surface-width-md,400px)}&._1eeeed880cb5769d__is-medium{max-width:var(--wpds-dimension-surface-width-lg,560px)}&._99f900b2267e22d0__is-large{max-width:var(--wpds-dimension-surface-width-2xl,960px)}&.b49f7ff9c06fe387__is-stretch{max-width:none}&.dcd4c2f5036cbf1a__is-full{height:100dvh}}._074affe4c56b4f2f__backdrop~* ._8acaa98861620d4d__popup{border-color:transparent}@media (forced-colors:active){._074affe4c56b4f2f__backdrop~* ._8acaa98861620d4d__popup,._8acaa98861620d4d__popup{border-color:CanvasText}}._76fb3b28fcbd45fc__header [data-wp-ui-dialog-close-icon]{margin-inline-start:auto}.d9d6da914ef0a77c__description{margin-bottom:var(--wpds-dimension-gap-lg,16px)}}}');var _u=(0,l.forwardRef)(function({className:e,render:t,onScroll:n,...r},o){const{ref:i,onScroll:a}=function(e){const[t,n]=(0,l.useState)(null),r=(0,l.useCallback)(e=>{n(e)},[]);return(0,Do.useIsomorphicLayoutEffect)(()=>{if(!t)return;if(t.setAttribute(ei,""),ii(t),"undefined"==typeof ResizeObserver)return()=>{si(t)};const e=new ResizeObserver(()=>{ii(t)});e.observe(t);for(const n of Array.from(t.children))e.observe(n);let n;return"undefined"!=typeof MutationObserver&&(n=new MutationObserver(n=>{for(const r of n)if(r.target===t){for(const t of Array.from(r.addedNodes))t instanceof Element&&e.observe(t);for(const t of Array.from(r.removedNodes))t instanceof Element&&e.unobserve(t)}ii(t)}),n.observe(t,{childList:!0})),()=>{e.disconnect(),n?.disconnect(),si(t)}},[t]),{ref:r,onScroll:(0,l.useCallback)(t=>{ii(t.currentTarget),e?.(t)},[e])}}(n);return Oc({defaultTagName:"div",render:t,ref:(0,Do.useMergeRefs)([o,i]),props:Re(r,{className:d("_101038da9af7162f__content _766d9011d37ce2d9__content","d0541bc9dd9dc7b6__outset-ring--focus-visible",e),onScroll:a})})});const xu=m.forwardRef(function(e,t){const{render:n,className:r,style:o,id:i,...a}=e,{store:s}=y(),c=Fc(i);return s.useSyncedValueWithCleanup("descriptionElementId",c),In("p",e,{ref:t,props:[{id:c},a]})});var ku="data-wp-hash";function Su(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=Su();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)Ru(e,n,r)}(document)),e.__wpStyleRuntime}function Ru(e,t,n){if(!e.head)return;const r=Su();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${ku}]`))if(n.getAttribute(ku)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(ku,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}!function(e,t){const n=Su();n.styles.set(e,t);for(const r of n.documents.keys())Ru(r,e,t)}("1cf98dcc6c",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.f1c50237c4787636__header{min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-2xl,24px) var(--wpds-dimension-gap-lg,16px)}._579f95efdec92a66__footer,.f1c50237c4787636__header{align-items:center;display:flex;gap:var(--wpds-dimension-gap-sm,8px);padding-inline:var(--wpds-dimension-padding-2xl,24px)}._579f95efdec92a66__footer{justify-content:flex-end;padding-block:var(--wpds-dimension-gap-lg,16px) var(--wpds-dimension-padding-2xl,24px)}._5371cc08aad82574__title{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral,#1e1e1e);--_gcd-heading-margin:0 auto 0 0;color:var(--wpds-color-foreground-content-neutral,#1e1e1e);margin-inline-end:auto;&:dir(rtl){--_gcd-heading-margin:0 0 0 auto}}._766d9011d37ce2d9__content{flex:1 1 auto;min-block-size:0;overflow-block:auto;overflow-inline:hidden;padding:var(--wpds-dimension-padding-2xl,24px);&:focus-visible{outline-offset:calc(var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px))*-1)}}.f1c50237c4787636__header:has(~._766d9011d37ce2d9__content){border-block-end:1px solid transparent;padding-block-end:calc(var(--wpds-dimension-gap-lg, 16px) - 1px)}.f1c50237c4787636__header~._766d9011d37ce2d9__content{padding-block-start:0}._766d9011d37ce2d9__content~._579f95efdec92a66__footer{border-block-start:1px solid transparent;padding-block-start:calc(var(--wpds-dimension-gap-lg, 16px) - 1px)}._766d9011d37ce2d9__content:has(~._579f95efdec92a66__footer){padding-block-end:0}._766d9011d37ce2d9__content>.f1c50237c4787636__header,._766d9011d37ce2d9__content>[data-drawer-content]>.f1c50237c4787636__header{padding-inline:0}._766d9011d37ce2d9__content>.f1c50237c4787636__header:first-child,._766d9011d37ce2d9__content>[data-drawer-content]>.f1c50237c4787636__header:first-child{padding-block-start:0}._766d9011d37ce2d9__content>._579f95efdec92a66__footer,._766d9011d37ce2d9__content>[data-drawer-content]>._579f95efdec92a66__footer{padding-inline:0}._766d9011d37ce2d9__content>._579f95efdec92a66__footer:last-child,._766d9011d37ce2d9__content>[data-drawer-content]>._579f95efdec92a66__footer:last-child{padding-block-end:0}.f1c50237c4787636__header:has(~[data-wp-ui-overlay-scroll-container][data-wp-ui-overlay-scrolled-from-top]){border-block-end-color:var(--wpds-color-stroke-surface-neutral,#dbdbdb)}[data-wp-ui-overlay-scroll-container][data-wp-ui-overlay-scrolled-from-bottom]~._579f95efdec92a66__footer{border-block-start-color:var(--wpds-color-stroke-surface-neutral,#dbdbdb)}[data-wp-ui-overlay-modal] [data-wp-ui-overlay-scroll-container]{overscroll-behavior:contain}}}@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._074affe4c56b4f2f__backdrop{background-color:rgba(0,0,0,.35);inset:0;position:fixed;z-index:var(--wp-ui-dialog-z-index,initial);&[data-ending-style],&[data-starting-style]{opacity:0}&[data-open]{opacity:1}@media not (prefers-reduced-motion){transition:opacity var(--wpds-motion-duration-md,.2s) var(--wpds-motion-easing-subtle,cubic-bezier(.15,0,.15,1))}}._8acaa98861620d4d__popup{--viewport-inset:var(--wpds-dimension-padding-2xl,24px);background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb);border-radius:var(--wpds-border-radius-lg,8px);box-shadow:var(--wpds-elevation-lg,0 5px 15px 0 #00000014,0 15px 27px 0 #00000012,0 30px 36px 0 #0000000a,0 50px 43px 0 #00000005);box-sizing:border-box;color:var(--wpds-color-foreground-content-neutral,#1e1e1e);display:flex;flex-direction:column;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);left:50%;line-height:var(--wpds-typography-line-height-md,24px);max-height:calc(100dvh - var(--viewport-inset)*2);min-width:var(--wpds-dimension-surface-width-sm,320px);overflow:hidden;position:fixed;top:50%;transform:translate(-50%,-50%);width:calc(100vw - var(--viewport-inset)*2);z-index:var(--wp-ui-dialog-z-index,initial);&[data-ending-style],&[data-starting-style]{opacity:0;transform:translate(-50%,-50%) scale(.9)}@media not (prefers-reduced-motion){transition:opacity var(--wpds-motion-duration-md,.2s) var(--wpds-motion-easing-expressive,cubic-bezier(.25,0,0,1)),transform var(--wpds-motion-duration-md,.2s) var(--wpds-motion-easing-expressive,cubic-bezier(.25,0,0,1))}@media (min-width:480px){min-width:var(--wpds-dimension-surface-width-md,400px)}&._7acfa67ebf092988__is-small{max-width:var(--wpds-dimension-surface-width-md,400px)}&._1eeeed880cb5769d__is-medium{max-width:var(--wpds-dimension-surface-width-lg,560px)}&._99f900b2267e22d0__is-large{max-width:var(--wpds-dimension-surface-width-2xl,960px)}&.b49f7ff9c06fe387__is-stretch{max-width:none}&.dcd4c2f5036cbf1a__is-full{height:100dvh}}._074affe4c56b4f2f__backdrop~* ._8acaa98861620d4d__popup{border-color:transparent}@media (forced-colors:active){._074affe4c56b4f2f__backdrop~* ._8acaa98861620d4d__popup,._8acaa98861620d4d__popup{border-color:CanvasText}}._76fb3b28fcbd45fc__header [data-wp-ui-dialog-close-icon]{margin-inline-start:auto}.d9d6da914ef0a77c__description{margin-bottom:var(--wpds-dimension-gap-lg,16px)}}}');var Cu=(0,l.forwardRef)(function({children:e,...t},n){return(0,s.jsx)(qc,{ref:n,variant:"body-md",render:(0,s.jsx)(xu,{...t}),className:"d9d6da914ef0a77c__description",children:e})}),Eu="data-wp-hash";function Mu(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=Mu();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)Tu(e,n,r)}(document)),e.__wpStyleRuntime}function Tu(e,t,n){if(!e.head)return;const r=Mu();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${Eu}]`))if(n.getAttribute(Eu)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(Eu,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}!function(e,t){const n=Mu();n.styles.set(e,t);for(const r of n.documents.keys())Tu(r,e,t)}("1cf98dcc6c",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.f1c50237c4787636__header{min-height:var(--wpds-dimension-size-md,32px);padding-block:var(--wpds-dimension-padding-2xl,24px) var(--wpds-dimension-gap-lg,16px)}._579f95efdec92a66__footer,.f1c50237c4787636__header{align-items:center;display:flex;gap:var(--wpds-dimension-gap-sm,8px);padding-inline:var(--wpds-dimension-padding-2xl,24px)}._579f95efdec92a66__footer{justify-content:flex-end;padding-block:var(--wpds-dimension-gap-lg,16px) var(--wpds-dimension-padding-2xl,24px)}._5371cc08aad82574__title{--_gcd-heading-color:var(--wpds-color-foreground-content-neutral,#1e1e1e);--_gcd-heading-margin:0 auto 0 0;color:var(--wpds-color-foreground-content-neutral,#1e1e1e);margin-inline-end:auto;&:dir(rtl){--_gcd-heading-margin:0 0 0 auto}}._766d9011d37ce2d9__content{flex:1 1 auto;min-block-size:0;overflow-block:auto;overflow-inline:hidden;padding:var(--wpds-dimension-padding-2xl,24px);&:focus-visible{outline-offset:calc(var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px))*-1)}}.f1c50237c4787636__header:has(~._766d9011d37ce2d9__content){border-block-end:1px solid transparent;padding-block-end:calc(var(--wpds-dimension-gap-lg, 16px) - 1px)}.f1c50237c4787636__header~._766d9011d37ce2d9__content{padding-block-start:0}._766d9011d37ce2d9__content~._579f95efdec92a66__footer{border-block-start:1px solid transparent;padding-block-start:calc(var(--wpds-dimension-gap-lg, 16px) - 1px)}._766d9011d37ce2d9__content:has(~._579f95efdec92a66__footer){padding-block-end:0}._766d9011d37ce2d9__content>.f1c50237c4787636__header,._766d9011d37ce2d9__content>[data-drawer-content]>.f1c50237c4787636__header{padding-inline:0}._766d9011d37ce2d9__content>.f1c50237c4787636__header:first-child,._766d9011d37ce2d9__content>[data-drawer-content]>.f1c50237c4787636__header:first-child{padding-block-start:0}._766d9011d37ce2d9__content>._579f95efdec92a66__footer,._766d9011d37ce2d9__content>[data-drawer-content]>._579f95efdec92a66__footer{padding-inline:0}._766d9011d37ce2d9__content>._579f95efdec92a66__footer:last-child,._766d9011d37ce2d9__content>[data-drawer-content]>._579f95efdec92a66__footer:last-child{padding-block-end:0}.f1c50237c4787636__header:has(~[data-wp-ui-overlay-scroll-container][data-wp-ui-overlay-scrolled-from-top]){border-block-end-color:var(--wpds-color-stroke-surface-neutral,#dbdbdb)}[data-wp-ui-overlay-scroll-container][data-wp-ui-overlay-scrolled-from-bottom]~._579f95efdec92a66__footer{border-block-start-color:var(--wpds-color-stroke-surface-neutral,#dbdbdb)}[data-wp-ui-overlay-modal] [data-wp-ui-overlay-scroll-container]{overscroll-behavior:contain}}}@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._074affe4c56b4f2f__backdrop{background-color:rgba(0,0,0,.35);inset:0;position:fixed;z-index:var(--wp-ui-dialog-z-index,initial);&[data-ending-style],&[data-starting-style]{opacity:0}&[data-open]{opacity:1}@media not (prefers-reduced-motion){transition:opacity var(--wpds-motion-duration-md,.2s) var(--wpds-motion-easing-subtle,cubic-bezier(.15,0,.15,1))}}._8acaa98861620d4d__popup{--viewport-inset:var(--wpds-dimension-padding-2xl,24px);background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb);border-radius:var(--wpds-border-radius-lg,8px);box-shadow:var(--wpds-elevation-lg,0 5px 15px 0 #00000014,0 15px 27px 0 #00000012,0 30px 36px 0 #0000000a,0 50px 43px 0 #00000005);box-sizing:border-box;color:var(--wpds-color-foreground-content-neutral,#1e1e1e);display:flex;flex-direction:column;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);left:50%;line-height:var(--wpds-typography-line-height-md,24px);max-height:calc(100dvh - var(--viewport-inset)*2);min-width:var(--wpds-dimension-surface-width-sm,320px);overflow:hidden;position:fixed;top:50%;transform:translate(-50%,-50%);width:calc(100vw - var(--viewport-inset)*2);z-index:var(--wp-ui-dialog-z-index,initial);&[data-ending-style],&[data-starting-style]{opacity:0;transform:translate(-50%,-50%) scale(.9)}@media not (prefers-reduced-motion){transition:opacity var(--wpds-motion-duration-md,.2s) var(--wpds-motion-easing-expressive,cubic-bezier(.25,0,0,1)),transform var(--wpds-motion-duration-md,.2s) var(--wpds-motion-easing-expressive,cubic-bezier(.25,0,0,1))}@media (min-width:480px){min-width:var(--wpds-dimension-surface-width-md,400px)}&._7acfa67ebf092988__is-small{max-width:var(--wpds-dimension-surface-width-md,400px)}&._1eeeed880cb5769d__is-medium{max-width:var(--wpds-dimension-surface-width-lg,560px)}&._99f900b2267e22d0__is-large{max-width:var(--wpds-dimension-surface-width-2xl,960px)}&.b49f7ff9c06fe387__is-stretch{max-width:none}&.dcd4c2f5036cbf1a__is-full{height:100dvh}}._074affe4c56b4f2f__backdrop~* ._8acaa98861620d4d__popup{border-color:transparent}@media (forced-colors:active){._074affe4c56b4f2f__backdrop~* ._8acaa98861620d4d__popup,._8acaa98861620d4d__popup{border-color:CanvasText}}._76fb3b28fcbd45fc__header [data-wp-ui-dialog-close-icon]{margin-inline-start:auto}.d9d6da914ef0a77c__description{margin-bottom:var(--wpds-dimension-gap-lg,16px)}}}');var zu=(0,l.forwardRef)(function({className:e,render:t,...n},r){return Oc({defaultTagName:"footer",render:t,ref:r,props:Re(n,{className:d("_00eeb4f220cddae3__footer _579f95efdec92a66__footer",e)})})}),ju="data-wp-hash";function Iu(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=Iu();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)Au(e,n,r)}(document)),e.__wpStyleRuntime}function Au(e,t,n){if(!e.head)return;const r=Iu();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${ju}]`))if(n.getAttribute(ju)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(ju,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}!function(e,t){const n=Iu();n.styles.set(e,t);for(const r of n.documents.keys())Au(r,e,t)}("5d38cbdd27","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._02872bf298eadc43__root{--wp-ui-card-padding:var(--wpds-dimension-padding-2xl,24px);--wp-ui-card-header-content-gap:var(--wpds-dimension-gap-xl,24px);--wp-ui-card-header-content-margin:calc(var(--wp-ui-card-header-content-gap) - var(--wp-ui-card-padding));background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border:1px solid var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);border-radius:var(--wpds-border-radius-lg,8px);color:var(--wpds-color-foreground-content-neutral,#1e1e1e);display:flex;flex-direction:column;overflow:clip}._5dffdaf2a6e669ac__content,.bbccc92e6ba5662d__header{padding:var(--wp-ui-card-padding);&:not(:first-child):not(:last-child){padding-block-end:0}}.bbccc92e6ba5662d__header+._5dffdaf2a6e669ac__content{margin-block-start:var(--wp-ui-card-header-content-margin);padding-block-start:0}.c1fa192587e1b4a6__fullbleed{margin-inline:calc(var(--wp-ui-card-padding)*-1);width:calc(100% + var(--wp-ui-card-padding)*2)}._02872bf298eadc43__root>:is(.bbccc92e6ba5662d__header,._5dffdaf2a6e669ac__content):first-child>.c1fa192587e1b4a6__fullbleed:first-child{margin-block-start:calc(var(--wp-ui-card-padding)*-1)}:is(.bbccc92e6ba5662d__header,._5dffdaf2a6e669ac__content):last-child>.c1fa192587e1b4a6__fullbleed:last-child{margin-block-end:calc(var(--wp-ui-card-padding)*-1)}}}");var Ou=(0,l.forwardRef)(function({render:e,...t},n){return Oc({defaultTagName:"div",render:e,ref:n,props:Re({className:"bbccc92e6ba5662d__header"},t)})}),Pu="data-wp-hash";function Nu(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=Nu();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)Du(e,n,r)}(document)),e.__wpStyleRuntime}function Du(e,t,n){if(!e.head)return;const r=Nu();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${Pu}]`))if(n.getAttribute(Pu)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(Pu,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}!function(e,t){const n=Nu();n.styles.set(e,t);for(const r of n.documents.keys())Du(r,e,t)}("32aba35fe1","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._19ce0419607e1896__stack{display:flex}}}");var $u={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)"},Fu=(0,l.forwardRef)(function({direction:e,gap:t,align:n,justify:r,wrap:o,render:i,...a},s){return Oc({render:i,ref:s,props:Re(a,{style:{gap:t&&$u[t],alignItems:n,justifyContent:r,flexDirection:e,flexWrap:o},className:"_19ce0419607e1896__stack"})})}),Vu=(0,s.jsx)("div",{}),Lu=(0,l.forwardRef)(function({render:e=Vu,children:t,...n},r){return(0,s.jsx)(qc,{ref:r,variant:"heading-lg",render:e,...n,children:t})}),Bu=(0,s.jsx)(td.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,s.jsx)(td.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5 12a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0ZM12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm.75 4v1.5h-1.5V8h1.5Zm0 8v-5h-1.5v5h1.5Z"})}),Hu=(0,s.jsx)(td.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,s.jsx)(td.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5 12a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0ZM12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm-.75 12v-1.5h1.5V16h-1.5Zm0-8v5h1.5V8h-1.5Z"})}),Wu=(0,s.jsx)(td.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,s.jsx)(td.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 18.5a6.5 6.5 0 1 1 0-13 6.5 6.5 0 0 1 0 13ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm11.53-1.47-1.06-1.06L11 12.94l-1.47-1.47-1.06 1.06L11 15.06l4.53-4.53Z"})}),Uu=(0,s.jsx)(td.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,s.jsx)(td.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12.218 5.377a.25.25 0 0 0-.436 0l-7.29 12.96a.25.25 0 0 0 .218.373h14.58a.25.25 0 0 0 .218-.372l-7.29-12.96Zm-1.743-.735c.669-1.19 2.381-1.19 3.05 0l7.29 12.96a1.75 1.75 0 0 1-1.525 2.608H4.71a1.75 1.75 0 0 1-1.525-2.608l7.29-12.96ZM12.75 17.46h-1.5v-1.5h1.5v1.5Zm-1.5-3h1.5v-5h-1.5v5Z"})}),qu="data-wp-hash";function Gu(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=Gu();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)Yu(e,n,r)}(document)),e.__wpStyleRuntime}function Yu(e,t,n){if(!e.head)return;const r=Gu();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${qu}]`))if(n.getAttribute(qu)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(qu,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}function Xu(e,t){const n=Gu();n.styles.set(e,t);for(const r of n.documents.keys())Yu(r,e,t)}Xu("10f3806643","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}");Xu("726c480820","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._4145abab73d17514__notice{--icon-height:var(--wpds-dimension-size-sm,24px);--text-vertical-padding:calc((var(--icon-height) - var(--wpds-typography-line-height-sm, 20px))/2);--wp-ui-notice-background-color:var(--wpds-color-background-surface-neutral-weak,#f4f4f4);--wp-ui-notice-border-color:var(--wpds-color-stroke-surface-neutral,#dbdbdb);--wp-ui-notice-text-color:var(--wpds-color-foreground-content-neutral,#1e1e1e);--wp-ui-notice-decorative-icon-color:var(--wpds-color-foreground-content-neutral,#1e1e1e);align-items:start;background-color:var(--wp-ui-notice-background-color);border:1px solid var(--wp-ui-notice-border-color);border-radius:var(--wpds-border-radius-lg,8px);container-type:inline-size;display:grid;grid-template-columns:auto 1fr auto;padding:var(--wpds-dimension-padding-md,12px)}.d0a25570cb528528__icon{color:var(--wp-ui-notice-decorative-icon-color);grid-column:1;grid-row:1;margin-inline-end:var(--wpds-dimension-gap-xs,4px)}._1904b570a89bb815__description,.b5397fb9d05389e3__title{color:var(--wp-ui-notice-text-color);grid-column:2;padding-block:var(--text-vertical-padding)}._1904b570a89bb815__description{text-wrap:pretty}._0a1270dcdd79c031__actions{display:flex;flex-wrap:wrap;gap:var(--wpds-dimension-gap-md,12px);grid-column:2}._4145abab73d17514__notice:has(._1904b570a89bb815__description) ._0a1270dcdd79c031__actions,._4145abab73d17514__notice:has(.b5397fb9d05389e3__title) ._0a1270dcdd79c031__actions{margin-block-start:var(--wpds-dimension-gap-sm,8px)}._983740ab855c4e09__action-button{flex-shrink:0}.d329e7416d368d31__action-link{flex-shrink:0;&:not(:first-child){margin-inline-start:var(--wpds-dimension-gap-xs,4px)}&:not(:last-child){margin-inline-end:var(--wpds-dimension-gap-xs,4px)}}._487e6a5c1375f7dc__close-icon{grid-column:3;grid-row:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px)}._531c140826094795__is-info{--wp-ui-notice-background-color:var(--wpds-color-background-surface-info-weak,#f3f9ff);--wp-ui-notice-border-color:var(--wpds-color-stroke-surface-info,#a9c6e7);--wp-ui-notice-text-color:var(--wpds-color-foreground-content-info,#001b4f);--wp-ui-notice-decorative-icon-color:var(--wpds-color-foreground-content-info-weak,#006bd7)}.ae2e1004697cce95__is-warning{--wp-ui-notice-background-color:var(--wpds-color-background-surface-warning-weak,#fff7e1);--wp-ui-notice-border-color:var(--wpds-color-stroke-surface-warning,#e1bc7c);--wp-ui-notice-text-color:var(--wpds-color-foreground-content-warning,#2e1900);--wp-ui-notice-decorative-icon-color:var(--wpds-color-foreground-content-warning-weak,#926300)}._2e614a76af494837__is-success{--wp-ui-notice-background-color:var(--wpds-color-background-surface-success-weak,#ebffed);--wp-ui-notice-border-color:var(--wpds-color-stroke-surface-success,#94d29e);--wp-ui-notice-text-color:var(--wpds-color-foreground-content-success,#002900);--wp-ui-notice-decorative-icon-color:var(--wpds-color-foreground-content-success-weak,#008030)}.af00331ae17a0065__is-error{--wp-ui-notice-background-color:var(--wpds-color-background-surface-error-weak,#fff6f5);--wp-ui-notice-border-color:var(--wpds-color-stroke-surface-error,#dab1aa);--wp-ui-notice-text-color:var(--wpds-color-foreground-content-error,#470000);--wp-ui-notice-decorative-icon-color:var(--wpds-color-foreground-content-error-weak,#cc1818)}@container (max-width: 320px){._4145abab73d17514__notice:has(.b5397fb9d05389e3__title) ._0a1270dcdd79c031__actions,._4145abab73d17514__notice:has(.b5397fb9d05389e3__title) ._1904b570a89bb815__description{grid-column:1/3}}}@layer compositions{.d329e7416d368d31__action-link{margin-block:auto}._487e6a5c1375f7dc__close-icon,._983740ab855c4e09__action-button:is(._8ddb8fb33fbf3d38__is-action-button-outline,._77bbde495a8a0af3__is-action-button-minimal){--wp-ui-button-background-color-active:color-mix(in srgb,transparent 50%,var(--wpds-color-background-interactive-neutral-weak-active,#ededed))}}}");var Ku={notice:"_4145abab73d17514__notice",icon:"d0a25570cb528528__icon",title:"b5397fb9d05389e3__title",description:"_1904b570a89bb815__description",actions:"_0a1270dcdd79c031__actions","action-button":"_983740ab855c4e09__action-button","action-link":"d329e7416d368d31__action-link","close-icon":"_487e6a5c1375f7dc__close-icon","is-info":"_531c140826094795__is-info","is-warning":"ae2e1004697cce95__is-warning","is-success":"_2e614a76af494837__is-success","is-error":"af00331ae17a0065__is-error","is-action-button-outline":"_8ddb8fb33fbf3d38__is-action-button-outline","is-action-button-minimal":"_77bbde495a8a0af3__is-action-button-minimal"},Zu={neutral:null,info:Bu,warning:Hu,success:Wu,error:Uu};function Ju(e){return"error"===e?"assertive":"polite"}var Qu=(0,l.forwardRef)(function({intent:e="neutral",children:t,icon:n,spokenMessage:r=t,politeness:o=Ju(e),render:i,...a},c){!function(e,t){const n=function(e){if(e){if("string"==typeof e)return e;try{return(0,l.renderToString)(e)}catch{return}}}(e);(0,l.useEffect)(()=>{n&&(0,od.speak)(n,t)},[n,t])}(r,o);const u=null===n?null:n??Zu[e];return Oc({defaultTagName:"div",render:i,ref:c,props:Re({className:d(Ku.notice,Ku[`is-${e}`],"_336cd3e4e743482f__box-sizing"),children:(0,s.jsxs)(s.Fragment,{children:[t,u&&(0,s.jsx)(ud,{className:Ku.icon,icon:u})]})},a)})}),ep="data-wp-hash";function tp(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=tp();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)np(e,n,r)}(document)),e.__wpStyleRuntime}function np(e,t,n){if(!e.head)return;const r=tp();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${ep}]`))if(n.getAttribute(ep)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(ep,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}!function(e,t){const n=tp();n.styles.set(e,t);for(const r of n.documents.keys())np(r,e,t)}("726c480820","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._4145abab73d17514__notice{--icon-height:var(--wpds-dimension-size-sm,24px);--text-vertical-padding:calc((var(--icon-height) - var(--wpds-typography-line-height-sm, 20px))/2);--wp-ui-notice-background-color:var(--wpds-color-background-surface-neutral-weak,#f4f4f4);--wp-ui-notice-border-color:var(--wpds-color-stroke-surface-neutral,#dbdbdb);--wp-ui-notice-text-color:var(--wpds-color-foreground-content-neutral,#1e1e1e);--wp-ui-notice-decorative-icon-color:var(--wpds-color-foreground-content-neutral,#1e1e1e);align-items:start;background-color:var(--wp-ui-notice-background-color);border:1px solid var(--wp-ui-notice-border-color);border-radius:var(--wpds-border-radius-lg,8px);container-type:inline-size;display:grid;grid-template-columns:auto 1fr auto;padding:var(--wpds-dimension-padding-md,12px)}.d0a25570cb528528__icon{color:var(--wp-ui-notice-decorative-icon-color);grid-column:1;grid-row:1;margin-inline-end:var(--wpds-dimension-gap-xs,4px)}._1904b570a89bb815__description,.b5397fb9d05389e3__title{color:var(--wp-ui-notice-text-color);grid-column:2;padding-block:var(--text-vertical-padding)}._1904b570a89bb815__description{text-wrap:pretty}._0a1270dcdd79c031__actions{display:flex;flex-wrap:wrap;gap:var(--wpds-dimension-gap-md,12px);grid-column:2}._4145abab73d17514__notice:has(._1904b570a89bb815__description) ._0a1270dcdd79c031__actions,._4145abab73d17514__notice:has(.b5397fb9d05389e3__title) ._0a1270dcdd79c031__actions{margin-block-start:var(--wpds-dimension-gap-sm,8px)}._983740ab855c4e09__action-button{flex-shrink:0}.d329e7416d368d31__action-link{flex-shrink:0;&:not(:first-child){margin-inline-start:var(--wpds-dimension-gap-xs,4px)}&:not(:last-child){margin-inline-end:var(--wpds-dimension-gap-xs,4px)}}._487e6a5c1375f7dc__close-icon{grid-column:3;grid-row:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px)}._531c140826094795__is-info{--wp-ui-notice-background-color:var(--wpds-color-background-surface-info-weak,#f3f9ff);--wp-ui-notice-border-color:var(--wpds-color-stroke-surface-info,#a9c6e7);--wp-ui-notice-text-color:var(--wpds-color-foreground-content-info,#001b4f);--wp-ui-notice-decorative-icon-color:var(--wpds-color-foreground-content-info-weak,#006bd7)}.ae2e1004697cce95__is-warning{--wp-ui-notice-background-color:var(--wpds-color-background-surface-warning-weak,#fff7e1);--wp-ui-notice-border-color:var(--wpds-color-stroke-surface-warning,#e1bc7c);--wp-ui-notice-text-color:var(--wpds-color-foreground-content-warning,#2e1900);--wp-ui-notice-decorative-icon-color:var(--wpds-color-foreground-content-warning-weak,#926300)}._2e614a76af494837__is-success{--wp-ui-notice-background-color:var(--wpds-color-background-surface-success-weak,#ebffed);--wp-ui-notice-border-color:var(--wpds-color-stroke-surface-success,#94d29e);--wp-ui-notice-text-color:var(--wpds-color-foreground-content-success,#002900);--wp-ui-notice-decorative-icon-color:var(--wpds-color-foreground-content-success-weak,#008030)}.af00331ae17a0065__is-error{--wp-ui-notice-background-color:var(--wpds-color-background-surface-error-weak,#fff6f5);--wp-ui-notice-border-color:var(--wpds-color-stroke-surface-error,#dab1aa);--wp-ui-notice-text-color:var(--wpds-color-foreground-content-error,#470000);--wp-ui-notice-decorative-icon-color:var(--wpds-color-foreground-content-error-weak,#cc1818)}@container (max-width: 320px){._4145abab73d17514__notice:has(.b5397fb9d05389e3__title) ._0a1270dcdd79c031__actions,._4145abab73d17514__notice:has(.b5397fb9d05389e3__title) ._1904b570a89bb815__description{grid-column:1/3}}}@layer compositions{.d329e7416d368d31__action-link{margin-block:auto}._487e6a5c1375f7dc__close-icon,._983740ab855c4e09__action-button:is(._8ddb8fb33fbf3d38__is-action-button-outline,._77bbde495a8a0af3__is-action-button-minimal){--wp-ui-button-background-color-active:color-mix(in srgb,transparent 50%,var(--wpds-color-background-interactive-neutral-weak-active,#ededed))}}}");var rp=(0,l.forwardRef)(function({className:e,...t},n){return(0,s.jsx)(qc,{ref:n,variant:"body-md",className:d("_1904b570a89bb815__description",e),...t})}),op="data-wp-hash";function ip(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=ip();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)ap(e,n,r)}(document)),e.__wpStyleRuntime}function ap(e,t,n){if(!e.head)return;const r=ip();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${op}]`))if(n.getAttribute(op)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(op,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}!function(e,t){const n=ip();n.styles.set(e,t);for(const r of n.documents.keys())ap(r,e,t)}("9db2873e7f","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._96e6251aad1a6136__badge{border-radius:var(--wpds-border-radius-lg,8px);padding-block:var(--wpds-dimension-padding-xs,4px);padding-inline:var(--wpds-dimension-padding-sm,8px)}._99f7158cb520f750__is-high-intent{background-color:var(--wpds-color-background-surface-error,#f6e6e3);color:var(--wpds-color-foreground-content-error,#470000)}.c20ebef2365bc8b7__is-medium-intent{background-color:var(--wpds-color-background-surface-warning,#fde6be);color:var(--wpds-color-foreground-content-warning,#2e1900)}._365e1626c6202e52__is-low-intent{background-color:var(--wpds-color-background-surface-caution,#fee995);color:var(--wpds-color-foreground-content-caution,#281d00)}._33f8198127ddf4ef__is-stable-intent{background-color:var(--wpds-color-background-surface-success,#c6f7cd);color:var(--wpds-color-foreground-content-success,#002900)}._04c1aca8fc449412__is-informational-intent{background-color:var(--wpds-color-background-surface-info,#deebfa);color:var(--wpds-color-foreground-content-info,#001b4f)}._90726e69d495ec19__is-draft-intent{background-color:var(--wpds-color-background-surface-neutral-weak,#f4f4f4);color:var(--wpds-color-foreground-content-neutral,#1e1e1e)}._898f4a544993bd39__is-none-intent{background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb);color:var(--wpds-color-foreground-content-neutral,#1e1e1e);padding-block:calc(var(--wpds-dimension-padding-xs, 4px) - var(--wpds-border-width-xs, 1px));padding-inline:calc(var(--wpds-dimension-padding-sm, 8px) - var(--wpds-border-width-xs, 1px))}}}");var sp={badge:"_96e6251aad1a6136__badge","is-high-intent":"_99f7158cb520f750__is-high-intent","is-medium-intent":"c20ebef2365bc8b7__is-medium-intent","is-low-intent":"_365e1626c6202e52__is-low-intent","is-stable-intent":"_33f8198127ddf4ef__is-stable-intent","is-informational-intent":"_04c1aca8fc449412__is-informational-intent","is-draft-intent":"_90726e69d495ec19__is-draft-intent","is-none-intent":"_898f4a544993bd39__is-none-intent"},cp=(0,l.forwardRef)(function({intent:e="none",className:t,...n},r){return(0,s.jsx)(qc,{ref:r,className:d(sp.badge,sp[`is-${e}-intent`],t),...n,variant:"body-sm"})}),dp=(0,s.jsx)(td.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,s.jsx)(td.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})}),lp="data-wp-hash";function up(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=up();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)pp(e,n,r)}(document)),e.__wpStyleRuntime}function pp(e,t,n){if(!e.head)return;const r=up();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${lp}]`))if(n.getAttribute(lp)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(lp,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}!function(e,t){const n=up();n.styles.set(e,t);for(const r of n.documents.keys())pp(r,e,t)}("726c480820","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._4145abab73d17514__notice{--icon-height:var(--wpds-dimension-size-sm,24px);--text-vertical-padding:calc((var(--icon-height) - var(--wpds-typography-line-height-sm, 20px))/2);--wp-ui-notice-background-color:var(--wpds-color-background-surface-neutral-weak,#f4f4f4);--wp-ui-notice-border-color:var(--wpds-color-stroke-surface-neutral,#dbdbdb);--wp-ui-notice-text-color:var(--wpds-color-foreground-content-neutral,#1e1e1e);--wp-ui-notice-decorative-icon-color:var(--wpds-color-foreground-content-neutral,#1e1e1e);align-items:start;background-color:var(--wp-ui-notice-background-color);border:1px solid var(--wp-ui-notice-border-color);border-radius:var(--wpds-border-radius-lg,8px);container-type:inline-size;display:grid;grid-template-columns:auto 1fr auto;padding:var(--wpds-dimension-padding-md,12px)}.d0a25570cb528528__icon{color:var(--wp-ui-notice-decorative-icon-color);grid-column:1;grid-row:1;margin-inline-end:var(--wpds-dimension-gap-xs,4px)}._1904b570a89bb815__description,.b5397fb9d05389e3__title{color:var(--wp-ui-notice-text-color);grid-column:2;padding-block:var(--text-vertical-padding)}._1904b570a89bb815__description{text-wrap:pretty}._0a1270dcdd79c031__actions{display:flex;flex-wrap:wrap;gap:var(--wpds-dimension-gap-md,12px);grid-column:2}._4145abab73d17514__notice:has(._1904b570a89bb815__description) ._0a1270dcdd79c031__actions,._4145abab73d17514__notice:has(.b5397fb9d05389e3__title) ._0a1270dcdd79c031__actions{margin-block-start:var(--wpds-dimension-gap-sm,8px)}._983740ab855c4e09__action-button{flex-shrink:0}.d329e7416d368d31__action-link{flex-shrink:0;&:not(:first-child){margin-inline-start:var(--wpds-dimension-gap-xs,4px)}&:not(:last-child){margin-inline-end:var(--wpds-dimension-gap-xs,4px)}}._487e6a5c1375f7dc__close-icon{grid-column:3;grid-row:1;margin-inline-start:var(--wpds-dimension-gap-xs,4px)}._531c140826094795__is-info{--wp-ui-notice-background-color:var(--wpds-color-background-surface-info-weak,#f3f9ff);--wp-ui-notice-border-color:var(--wpds-color-stroke-surface-info,#a9c6e7);--wp-ui-notice-text-color:var(--wpds-color-foreground-content-info,#001b4f);--wp-ui-notice-decorative-icon-color:var(--wpds-color-foreground-content-info-weak,#006bd7)}.ae2e1004697cce95__is-warning{--wp-ui-notice-background-color:var(--wpds-color-background-surface-warning-weak,#fff7e1);--wp-ui-notice-border-color:var(--wpds-color-stroke-surface-warning,#e1bc7c);--wp-ui-notice-text-color:var(--wpds-color-foreground-content-warning,#2e1900);--wp-ui-notice-decorative-icon-color:var(--wpds-color-foreground-content-warning-weak,#926300)}._2e614a76af494837__is-success{--wp-ui-notice-background-color:var(--wpds-color-background-surface-success-weak,#ebffed);--wp-ui-notice-border-color:var(--wpds-color-stroke-surface-success,#94d29e);--wp-ui-notice-text-color:var(--wpds-color-foreground-content-success,#002900);--wp-ui-notice-decorative-icon-color:var(--wpds-color-foreground-content-success-weak,#008030)}.af00331ae17a0065__is-error{--wp-ui-notice-background-color:var(--wpds-color-background-surface-error-weak,#fff6f5);--wp-ui-notice-border-color:var(--wpds-color-stroke-surface-error,#dab1aa);--wp-ui-notice-text-color:var(--wpds-color-foreground-content-error,#470000);--wp-ui-notice-decorative-icon-color:var(--wpds-color-foreground-content-error-weak,#cc1818)}@container (max-width: 320px){._4145abab73d17514__notice:has(.b5397fb9d05389e3__title) ._0a1270dcdd79c031__actions,._4145abab73d17514__notice:has(.b5397fb9d05389e3__title) ._1904b570a89bb815__description{grid-column:1/3}}}@layer compositions{.d329e7416d368d31__action-link{margin-block:auto}._487e6a5c1375f7dc__close-icon,._983740ab855c4e09__action-button:is(._8ddb8fb33fbf3d38__is-action-button-outline,._77bbde495a8a0af3__is-action-button-minimal){--wp-ui-button-background-color-active:color-mix(in srgb,transparent 50%,var(--wpds-color-background-interactive-neutral-weak-active,#ededed))}}}");var fp=(0,l.forwardRef)(function({className:e,icon:t=dp,label:n=(0,g.__)("Dismiss"),...r},o){return(0,s.jsx)(mu,{...r,ref:o,className:d("_487e6a5c1375f7dc__close-icon",e),variant:"minimal",size:"small",tone:"neutral",icon:t,label:n})}),gp="data-wp-hash";function mp(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=mp();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)hp(e,n,r)}(document)),e.__wpStyleRuntime}function hp(e,t,n){if(!e.head)return;const r=mp();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${gp}]`))if(n.getAttribute(gp)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(gp,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}function bp(e,t){const n=mp();n.styles.set(e,t);for(const r of n.documents.keys())hp(r,e,t)}bp("10f3806643","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}");bp("5d38cbdd27","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._02872bf298eadc43__root{--wp-ui-card-padding:var(--wpds-dimension-padding-2xl,24px);--wp-ui-card-header-content-gap:var(--wpds-dimension-gap-xl,24px);--wp-ui-card-header-content-margin:calc(var(--wp-ui-card-header-content-gap) - var(--wp-ui-card-padding));background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border:1px solid var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);border-radius:var(--wpds-border-radius-lg,8px);color:var(--wpds-color-foreground-content-neutral,#1e1e1e);display:flex;flex-direction:column;overflow:clip}._5dffdaf2a6e669ac__content,.bbccc92e6ba5662d__header{padding:var(--wp-ui-card-padding);&:not(:first-child):not(:last-child){padding-block-end:0}}.bbccc92e6ba5662d__header+._5dffdaf2a6e669ac__content{margin-block-start:var(--wp-ui-card-header-content-margin);padding-block-start:0}.c1fa192587e1b4a6__fullbleed{margin-inline:calc(var(--wp-ui-card-padding)*-1);width:calc(100% + var(--wp-ui-card-padding)*2)}._02872bf298eadc43__root>:is(.bbccc92e6ba5662d__header,._5dffdaf2a6e669ac__content):first-child>.c1fa192587e1b4a6__fullbleed:first-child{margin-block-start:calc(var(--wp-ui-card-padding)*-1)}:is(.bbccc92e6ba5662d__header,._5dffdaf2a6e669ac__content):last-child>.c1fa192587e1b4a6__fullbleed:last-child{margin-block-end:calc(var(--wp-ui-card-padding)*-1)}}}");var vp=(0,l.forwardRef)(function({render:e,...t},n){return Oc({defaultTagName:"div",render:e,ref:n,props:Re({className:d("_02872bf298eadc43__root","_336cd3e4e743482f__box-sizing")},t)})}),wp="data-wp-hash";function yp(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=yp();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)_p(e,n,r)}(document)),e.__wpStyleRuntime}function _p(e,t,n){if(!e.head)return;const r=yp();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${wp}]`))if(n.getAttribute(wp)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(wp,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}!function(e,t){const n=yp();n.styles.set(e,t);for(const r of n.documents.keys())_p(r,e,t)}("5d38cbdd27","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._02872bf298eadc43__root{--wp-ui-card-padding:var(--wpds-dimension-padding-2xl,24px);--wp-ui-card-header-content-gap:var(--wpds-dimension-gap-xl,24px);--wp-ui-card-header-content-margin:calc(var(--wp-ui-card-header-content-gap) - var(--wp-ui-card-padding));background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border:1px solid var(--wpds-color-stroke-surface-neutral-weak,#f0f0f0);border-radius:var(--wpds-border-radius-lg,8px);color:var(--wpds-color-foreground-content-neutral,#1e1e1e);display:flex;flex-direction:column;overflow:clip}._5dffdaf2a6e669ac__content,.bbccc92e6ba5662d__header{padding:var(--wp-ui-card-padding);&:not(:first-child):not(:last-child){padding-block-end:0}}.bbccc92e6ba5662d__header+._5dffdaf2a6e669ac__content{margin-block-start:var(--wp-ui-card-header-content-margin);padding-block-start:0}.c1fa192587e1b4a6__fullbleed{margin-inline:calc(var(--wp-ui-card-padding)*-1);width:calc(100% + var(--wp-ui-card-padding)*2)}._02872bf298eadc43__root>:is(.bbccc92e6ba5662d__header,._5dffdaf2a6e669ac__content):first-child>.c1fa192587e1b4a6__fullbleed:first-child{margin-block-start:calc(var(--wp-ui-card-padding)*-1)}:is(.bbccc92e6ba5662d__header,._5dffdaf2a6e669ac__content):last-child>.c1fa192587e1b4a6__fullbleed:last-child{margin-block-end:calc(var(--wp-ui-card-padding)*-1)}}}");var xp=(0,l.forwardRef)(function({render:e,...t},n){return Oc({defaultTagName:"div",render:e,ref:n,props:Re({className:"_5dffdaf2a6e669ac__content"},t)})});const kp=(e,t)=>{"undefined"==typeof process&&(t?console.warn(`[WooCommerce settings UI] ${e}`,t):console.warn(`[WooCommerce settings UI] ${e}`))},Sp=(e,t)=>{t?console.error(`[WooCommerce settings UI] ${e}`,t):console.error(`[WooCommerce settings UI] ${e}`)},Rp=e=>e.endsWith("[]")?e:`${e}[]`,Cp=(e,t)=>{const n=e.save?.adapter||"form_post";if("none"===n)return[];if("form_post"!==n)return Sp(`Save adapter "${n}" is not supported.`,{field:e}),[];const r=(e=>e.save?.name||e.id)(e);return"checkbox"===e.type?[{name:r,value:!0===t||"yes"===t||"1"===t?"yes":"no"}]:"array"===e.type?(Array.isArray(t)?t:[]).map(e=>({name:Rp(r),value:String(e)})):[{name:r,value:null==t?"":String(t)}]},Ep=({field:e,value:t})=>(0,s.jsx)(s.Fragment,{children:Cp(e,t).map((e,t)=>(0,s.jsx)("input",{type:"hidden",name:e.name,value:e.value},`${e.name}-${t}`))}),Mp=window.wc.sanitize,Tp=e=>(0,Mp.sanitizeHTML)(e);let zp=function(e){return e.disabled="data-disabled",e.valid="data-valid",e.invalid="data-invalid",e.touched="data-touched",e.dirty="data-dirty",e.filled="data-filled",e.focused="data-focused",e}({});const jp={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},Ip={valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},Ap={disabled:!1,...Ip},Op={valid:e=>null===e?null:e?{[zp.valid]:""}:{[zp.invalid]:""}},Pp={invalid:void 0,name:void 0,validityData:{state:jp,errors:[],error:"",value:"",initialValue:null},setValidityData:me,disabled:void 0,touched:Ip.touched,setTouched:me,dirty:Ip.dirty,setDirty:me,filled:Ip.filled,setFilled:me,focused:Ip.focused,setFocused:me,validate:()=>null,validationMode:"onSubmit",validationDebounceTime:0,shouldValidateOnChange:()=>!1,state:Ap,markedDirtyRef:{current:!1},registerFieldControl:me,validation:{getValidationProps:(e=be)=>e,getInputValidationProps:(e=be)=>e,inputRef:{current:null},commit:async()=>{}}},Np=m.createContext(Pp);function Dp(e=!0){const t=m.useContext(Np);if(t.setValidityData===me&&!e)throw new Error(b(28));return t}const $p=m.createContext({legendId:void 0,setLegendId:()=>{},disabled:void 0}),Fp=m.createContext({formRef:{current:{fields:new Map}},errors:{},clearErrors:me,validationMode:"onSubmit",submitAttemptedRef:{current:!1}});function Vp(){return m.useContext(Fp)}const Lp=m.createContext({controlId:void 0,registerControlId:me,labelId:void 0,setLabelId:me,messageIds:[],setMessageIds:me,getDescriptionProps:e=>e});function Bp(){return m.useContext(Lp)}const Hp=function(e){const t=Fc(),n=void 0===e.controlId?t:e.controlId,[r,o]=m.useState(n),[i,a]=m.useState(e.labelId),[c,d]=m.useState([]),l=ae(()=>new Map),{messageIds:u}=Bp(),p=Ve((e,t)=>{const n=l.current;void 0!==t?(n.set(e,t),o(e=>{if(0===n.size)return;let t;for(const r of n.values()){if(void 0!==e&&r===e)return e;void 0===t&&(t=r)}return t})):n.delete(e)}),f=m.useCallback(e=>Re({"aria-describedby":u.concat(c).join(" ")||void 0},e),[u,c]),g=m.useMemo(()=>({controlId:r,registerControlId:p,labelId:i,setLabelId:a,messageIds:c,setMessageIds:d,getDescriptionProps:f}),[r,p,i,a,c,d,f]);return(0,s.jsx)(Lp.Provider,{value:g,children:e.children})};function Wp(e,t){return{...e,state:{...e.state,valid:!t&&e.state.valid}}}const Up=Object.keys(jp);const qp=m.forwardRef(function(e,t){const{errors:n,validationMode:r,submitAttemptedRef:o}=Vp(),{render:i,className:a,validate:c,validationDebounceTime:d=0,validationMode:l=r,name:u,disabled:p=!1,invalid:f,dirty:g,touched:h,actionsRef:v,style:w,...y}=e,{disabled:_}=function(e=!1){const t=m.useContext($p);if(!t&&!e)throw new Error(b(86));return t}(),x=Ve(c||(()=>null)),k=_||p,[S,R]=m.useState(!1),[C,E]=m.useState(!1),[M,T]=m.useState(!1),[z,j]=m.useState(!1),I=g??C,A=h??S,O=m.useRef(!1),P=m.useRef(void 0),N=m.useCallback(()=>P.current,[]),D=m.useCallback(e=>{P.current=e},[]),$=Ve(e=>{void 0===g&&(e&&(O.current=!0),E(e))}),F=Ve(e=>{void 0===h&&R(e)}),V=Ve(()=>"onChange"===l||"onSubmit"===l&&o.current),L=!!u&&Object.hasOwn(n,u)&&void 0!==n[u],B=!0===f||L,[H,W]=m.useState({state:jp,error:"",errors:[],value:null,initialValue:null}),U=!B&&H.state.valid,q=m.useMemo(()=>({disabled:k,touched:A,dirty:I,valid:U,filled:M,focused:z}),[k,A,I,U,M,z]),G=function(e){const{formRef:t,clearErrors:n}=Vp(),{setValidityData:r,validate:o,validityData:i,validationDebounceTime:a,invalid:s,markedDirtyRef:c,state:d,name:l,shouldValidateOnChange:u,getRegisteredFieldId:p}=e,{controlId:f,getDescriptionProps:g}=Bp(),h=le(),b=m.useRef(null),v=Ve(async(e,n=!1)=>{const a=b.current;if(!a)return;function l(e,n=s){const r=p()??f;if(null==r)return;const o=t.current.fields.get(r);if(!o)return;const i=Wp(e,n);t.current.fields.set(r,{...o,validityData:i})}if(n){if(!1!==d.valid)return;const t=a.validity;if(!t.valueMissing){const t={value:e,state:{...jp,valid:!0},error:"",errors:[],initialValue:i.initialValue};return a.setCustomValidity(""),l(t,!1),void r(t)}const n=Up.reduce((e,n)=>(e[n]=t[n],e),{});if(!n.valid&&!function(e){if(!e||e.valid||!e.valueMissing)return!1;let t=!1;for(const n of Up)"valid"!==n&&("valueMissing"===n&&(t=e[n]),e[n]&&(t=!1));return t}(n))return}h.clear();let g=null,m=[];const v=function(e){const t=Up.reduce((t,n)=>(t[n]=e.validity[n],t),{});let n=!1;for(const e of Up)if("valid"!==e)if("valueMissing"===e&&t[e])n=!0;else if(t[e])return t;return n&&!c.current&&(t.valid=!0,t.valueMissing=!1),t}(a);let w;const y=u();if(a.validationMessage&&!y)w=a.validationMessage,m=[a.validationMessage];else{const n=Array.from(t.current.fields.values()).reduce((e,t)=>(t.name&&(e[t.name]=t.getValue()),e),{}),r=o(e,n);g="object"==typeof r&&null!==r&&"then"in r?await r:r,null!==g?(v.valid=!1,v.customError=!0,Array.isArray(g)?(m=g,a.setCustomValidity(g.join("\n"))):g&&(m=[g],a.setCustomValidity(g))):y&&(a.setCustomValidity(""),v.customError=!1,a.validationMessage?(w=a.validationMessage,m=[a.validationMessage]):a.validity.valid&&!v.valid&&(v.valid=!0))}const _={value:e,state:v,error:w??(Array.isArray(g)?g[0]:g??""),errors:m,initialValue:i.initialValue};l(_),r(_)}),w=m.useCallback((e={})=>Re(g,!1===d.valid?{"aria-invalid":!0}:be,e),[g,d.valid]),y=m.useCallback((e={})=>Re({onChange(e){if(e.nativeEvent.defaultPrevented)return;if(n(l),!u())return void v(e.currentTarget.value,!0);const t=e.currentTarget;""!==t.value?(h.clear(),a?h.start(a,()=>{v(t.value)}):v(t.value)):v(t.value)}},w(e)),[w,n,l,h,v,a,u]);return m.useMemo(()=>({getValidationProps:w,getInputValidationProps:y,inputRef:b,commit:v}),[w,y,v])}({setValidityData:W,validate:x,validityData:H,validationDebounceTime:d,invalid:B,markedDirtyRef:O,state:q,name:u,shouldValidateOnChange:V,getRegisteredFieldId:N}),Y=H.value,X=m.useCallback(()=>{O.current=!0,G.commit(Y)},[G,Y]),K=function(e){const{commit:t,invalid:n,markedDirtyRef:r,name:o,setRegisteredFieldId:i,setValidityData:a,validityData:s}=e,{formRef:c}=Vp(),d=m.useRef(null),l=m.useRef(null),u=m.useRef(null),p=Ve(()=>{const e=l.current;if(e)return e.getValue?e.getValue():e.value}),f=Ve(()=>{const e=l.current;if(!e)return;let n=e.value;void 0===n&&(n=p()),r.current=!0,t(n)});function g(e=l.current?.id){e&&c.current.fields.delete(e)}return oe(()=>{const e=l.current;e&&e.id&&c.current.fields.set(e.id,{getValue:p,name:o,controlRef:e.controlRef??u,validityData:Wp(s,n),validate:f})},[c,p,n,o,f,s]),oe(()=>{const e=c.current.fields;return()=>{const t=l.current?.id;t&&e.delete(t)}},[c]),Ve((e,t)=>{if(!t)return void(d.current===e&&(d.current=null,g(),l.current=null,i(void 0)));const r=l.current?.id;d.current=e,l.current=t,i(t.id),r&&r!==t.id&&g(r),function(){const e=l.current;if(!e)return;let t=e.value;void 0===t&&(t=p()),null===s.initialValue&&null!==t&&a(e=>({...e,initialValue:t}))}(),function(){const e=l.current;e&&e.id&&c.current.fields.set(e.id,{getValue:p,name:o,controlRef:e.controlRef??u,validityData:Wp(s,n),validate:f})}()})}({commit:G.commit,invalid:B,markedDirtyRef:O,name:u,setRegisteredFieldId:D,setValidityData:W,validityData:H});m.useImperativeHandle(v,()=>({validate:X}),[X]);const Z=m.useMemo(()=>({invalid:B,name:u,validityData:H,setValidityData:W,disabled:k,touched:A,setTouched:F,dirty:I,setDirty:$,filled:M,setFilled:T,focused:z,setFocused:j,validate:x,validationMode:l,validationDebounceTime:d,shouldValidateOnChange:V,state:q,markedDirtyRef:O,registerFieldControl:K,validation:G}),[B,u,H,k,A,F,I,$,M,T,z,j,x,l,d,V,q,K,G]),J=In("div",e,{ref:t,state:q,props:y,stateAttributesMapping:Op});return(0,s.jsx)(Np.Provider,{value:Z,children:J})}),Gp=m.forwardRef(function(e,t){return(0,s.jsx)(Hp,{children:(0,s.jsx)(qp,{...e,ref:t})})});var Yp="data-wp-hash";function Xp(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=Xp();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)Kp(e,n,r)}(document)),e.__wpStyleRuntime}function Kp(e,t,n){if(!e.head)return;const r=Xp();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${Yp}]`))if(n.getAttribute(Yp)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(Yp,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}!function(e,t){const n=Xp();n.styles.set(e,t);for(const r of n.documents.keys())Kp(r,e,t)}("10f3806643","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}");var Zp=e=>(0,s.jsx)(Fu,{...e,direction:"column",gap:"sm"}),Jp=(0,l.forwardRef)(function({className:e,render:t=Zp,...n},r){return(0,s.jsx)(Gp,{ref:r,className:d("_336cd3e4e743482f__box-sizing",e),render:t,...n})});const Qp=m.forwardRef(function(e,t){const{render:n,className:r,style:o,id:i,nativeLabel:a=!0,...s}=e,c=Dp(!1),{labelId:d}=Bp(),l=m.useRef(null),u=function(e={}){const{id:t,fallbackControlId:n,native:r=!1,setLabelId:o,focusControl:i}=e,{controlId:a,setLabelId:s}=Bp(),c=function(e,t){const n=Fc(e);return oe(()=>(t(n),()=>{t(void 0)}),[n,t]),n}(t,Ve(e=>{s(e),o?.(e)})),d=a??n;function l(e){const t=ft(e.nativeEvent);t?.closest("button,input,select,textarea")||(!e.defaultPrevented&&e.detail>1&&e.preventDefault(),r||function(e){if(i)return void i(e,d);if(!d)return;const t=re(e.currentTarget).getElementById(d);M(t)&&t.focus({focusVisible:!0})}(e))}return r?{id:c,htmlFor:d??void 0,onMouseDown:l}:{id:c,onClick:l,onPointerDown(e){e.preventDefault()}}}({id:d??i,native:a});return In("label",e,{ref:[t,l],state:c.state,props:[u,s],stateAttributesMapping:Op})});var ef="data-wp-hash";function tf(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=tf();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)nf(e,n,r)}(document)),e.__wpStyleRuntime}function nf(e,t,n){if(!e.head)return;const r=tf();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${ef}]`))if(n.getAttribute(ef)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(ef,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}!function(e,t){const n=tf();n.styles.set(e,t);for(const r of n.documents.keys())nf(r,e,t)}("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 rf=(0,l.forwardRef)(function({render:e,...t},n){return Oc({render:e,ref:n,props:Re({className:"f37b9e2e191ebd66__visually-hidden"},t,{"data-visually-hidden":""})})}),of="data-wp-hash";function af(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=af();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)sf(e,n,r)}(document)),e.__wpStyleRuntime}function sf(e,t,n){if(!e.head)return;const r=af();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${of}]`))if(n.getAttribute(of)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(of,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}!function(e,t){const n=af();n.styles.set(e,t);for(const r of n.documents.keys())sf(r,e,t)}("4b9484aa9f",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._2d5ad850b2f90964__label{--wp-ui-field-label-line-height:var(--wpds-typography-line-height-xs,16px);color:var(--wpds-color-foreground-content-neutral,#1e1e1e);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-xs,11px);font-weight:var(--wpds-typography-font-weight-medium,499);line-height:var(--wp-ui-field-label-line-height);text-transform:uppercase;&._17c4214649230bea__is-plain{font-size:var(--wpds-typography-font-size-md,13px);text-transform:none}}._08a3750500e0233f__description{--_gcd-p-font-size:var(--wpds-typography-font-size-sm,12px);--_gcd-p-line-height:var(--wpds-typography-line-height-xs,16px);--_gcd-p-margin:0;text-wrap:pretty;color:var(--wpds-color-foreground-content-neutral-weak,#707070);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-sm,12px);line-height:var(--wpds-typography-line-height-xs,16px)}}}');var cf={label:"_2d5ad850b2f90964__label","is-plain":"_17c4214649230bea__is-plain",description:"_08a3750500e0233f__description"},df=(0,l.forwardRef)(function({className:e,hideFromVision:t,variant:n,...r},o){const i=(0,s.jsx)(Qp,{ref:o,className:d(cf.label,n&&cf[`is-${n}`],e),...r});return t?(0,s.jsx)(rf,{render:i}):i});function lf({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=m.useRef(void 0!==e),[i,a]=m.useState(t);return[o?e:i,m.useCallback(e=>{o||a(e)},[])]}function uf(e,t,n,r,o=!0){const{registerFieldControl:i}=Dp(),a=m.useRef(null);a.current||(a.current=Symbol()),oe(()=>{const s=a.current;if(s&&o)return i(s,{controlRef:e,getValue:r,id:t,value:n}),()=>{i(s,void 0)}},[e,o,r,t,i,n])}function pf(e={}){const{id:t,implicit:n=!1,controlRef:r}=e,{controlId:o,registerControlId:i}=Bp(),a=Fc(t),s=n?o:void 0,c=ae(()=>Symbol("labelable-control")),d=m.useRef(!1),l=m.useRef(null!=t),u=Ve(()=>{d.current&&i!==me&&(d.current=!1,i(c.current,void 0))});return oe(()=>{if(i===me)return;let e;if(n){const n=r?.current;e=E(n)&&null!=n.closest("label")?t??null:s??a}else if(null!=t)l.current=!0,e=t;else{if(!l.current)return void u();e=a}void 0!==e?(d.current=!0,i(c.current,e)):u()},[t,r,s,i,n,a,c,u]),m.useEffect(()=>u,[u]),o??a}const ff=m.forwardRef(function(e,t){const{render:n,className:r,id:o,name:i,value:a,disabled:s=!1,onValueChange:c,defaultValue:d,autoFocus:l=!1,style:u,...p}=e,{state:f,name:g,disabled:h,setTouched:b,setDirty:v,validityData:w,setFocused:y,setFilled:_,validationMode:x,validation:k}=Dp(),S=h||s,R=g??i,C={...f,disabled:S},{labelId:E}=Bp(),M=pf({id:o});oe(()=>{const e=null!=a;k.inputRef.current?.value||e&&""!==a?_(!0):e&&""===a&&_(!1)},[k.inputRef,_,a]);const T=m.useRef(null);oe(()=>{l&&T.current===ut(re(T.current))&&y(!0)},[l,y]);const[z]=lf({controlled:a,default:d,name:"FieldControl",state:"value"}),j=void 0!==a,I=j?z:void 0,A=Ve(()=>k.inputRef.current?.value);return uf(k.inputRef,M,I,A),In("input",e,{ref:[t,T],state:C,props:[{id:M,disabled:S,name:R,ref:k.inputRef,"aria-labelledby":E,autoFocus:l,...j?{value:I}:{defaultValue:d},onChange(e){const t=e.currentTarget.value;c?.(t,Ge(Ye,e.nativeEvent)),v(t!==w.initialValue),_(""!==t)},onFocus(){y(!0)},onBlur(e){b(!0),y(!1),"onBlur"===x&&k.commit(e.currentTarget.value)},onKeyDown(e){"INPUT"===e.currentTarget.tagName&&"Enter"===e.key&&(b(!0),k.commit(e.currentTarget.value))}},k.getInputValidationProps(),p],stateAttributesMapping:Op})}),gf=m.forwardRef(function(e,t){return(0,s.jsx)(ff,{ref:t,...e})});var mf="data-wp-hash";function hf(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=hf();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)bf(e,n,r)}(document)),e.__wpStyleRuntime}function bf(e,t,n){if(!e.head)return;const r=hf();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${mf}]`))if(n.getAttribute(mf)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(mf,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}function vf(e,t){const n=hf();n.styles.set(e,t);for(const r of n.documents.keys())bf(r,e,t)}vf("d390e935a7","._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-medium,499));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)}");vf("10f3806643","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}");vf("bc14d8e61b",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.cb2baafdc08746bb__input-layout{--wp-ui-input-layout-padding-inline:var(--wpds-dimension-padding-md,12px);background-color:var(--wpds-color-background-interactive-neutral-weak,#0000);border-color:var(--wpds-color-stroke-interactive-neutral,#8d8d8d);border-radius:var(--wpds-border-radius-sm,2px);border-style:solid;border-width:var(--wpds-border-width-xs,1px);color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);display:flex;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:max(var(--wpds-typography-font-size-md,13px),16px);height:var(--wpds-dimension-size-lg,40px);line-height:1;@media (min-width:600px){font-size:var(--wpds-typography-font-size-md,13px)}&._0c807a84cbb94e0c__is-size-compact{height:var(--wpds-dimension-size-md,32px)}&._0c807a84cbb94e0c__is-size-compact,&.ed67cda122dc1e7b__is-size-small{--wp-ui-input-layout-padding-inline:var(--wpds-dimension-padding-sm,8px)}&.ed67cda122dc1e7b__is-size-small{height:var(--wpds-dimension-size-sm,24px)}&._6fb7104732387680__is-disabled,&:has([data-can-disable-input-layout][data-disabled]){background-color:var(--wpds-color-background-interactive-neutral-weak-disabled,#0000);border-color:var(--wpds-color-stroke-interactive-neutral-disabled,#dbdbdb);color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d);@media (forced-colors:active){border-bottom-color:GrayText;border-left-color:GrayText;border-right-color:GrayText;border-top-color:GrayText;color:GrayText}}&._8097270636ca6100__is-borderless{border-color:transparent}&:has(._0d7afad74a057888__input-layout-slot:focus-within){outline:none}&:hover:not(._6fb7104732387680__is-disabled,:has([data-can-disable-input-layout][data-disabled]),._8097270636ca6100__is-borderless){border-color:var(--wpds-color-stroke-interactive-neutral-active,#6e6e6e)}}.c192b41a12b4387b__slot-wrapper{display:contents}._0d7afad74a057888__input-layout-slot{align-items:center;display:flex;&._0c952682762ca288__is-padding-minimal{--wp-ui-input-layout-prefix-padding-start:calc(var(--wp-ui-input-layout-padding-inline) - var(--wpds-dimension-padding-xs, 4px));--wp-ui-input-layout-suffix-padding-end:calc(var(--wp-ui-input-layout-padding-inline) - var(--wpds-dimension-padding-xs, 4px))}[data-slot-type=prefix] &{padding-inline-start:var(--wp-ui-input-layout-prefix-padding-start,var(--wp-ui-input-layout-padding-inline))}[data-slot-type=suffix] &{padding-inline-end:var(--wp-ui-input-layout-suffix-padding-end,var(--wp-ui-input-layout-padding-inline))}}}}');var wf={"input-layout":"cb2baafdc08746bb__input-layout","is-size-compact":"_0c807a84cbb94e0c__is-size-compact","is-size-small":"ed67cda122dc1e7b__is-size-small","is-disabled":"_6fb7104732387680__is-disabled","is-borderless":"_8097270636ca6100__is-borderless","input-layout-slot":"_0d7afad74a057888__input-layout-slot","slot-wrapper":"c192b41a12b4387b__slot-wrapper","is-padding-minimal":"_0c952682762ca288__is-padding-minimal"},yf=(0,l.forwardRef)(function({className:e,children:t,visuallyDisabled:n,size:r="default",isBorderless:o,prefix:i,suffix:a,...c},u){return(0,s.jsxs)("div",{ref:u,className:d("_8c15fd0ed9f28ba4__div","_336cd3e4e743482f__box-sizing",wf["input-layout"],wf[`is-size-${r}`],n&&wf["is-disabled"],o&&wf["is-borderless"],e),...c,children:[l.Children.count(i)>0&&(0,s.jsx)("div",{className:wf["slot-wrapper"],"data-slot-type":"prefix",children:i}),t,l.Children.count(a)>0&&(0,s.jsx)("div",{className:wf["slot-wrapper"],"data-slot-type":"suffix",children:a})]})}),_f="data-wp-hash";function xf(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=xf();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)kf(e,n,r)}(document)),e.__wpStyleRuntime}function kf(e,t,n){if(!e.head)return;const r=xf();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${_f}]`))if(n.getAttribute(_f)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(_f,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}!function(e,t){const n=xf();n.styles.set(e,t);for(const r of n.documents.keys())kf(r,e,t)}("bc14d8e61b",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.cb2baafdc08746bb__input-layout{--wp-ui-input-layout-padding-inline:var(--wpds-dimension-padding-md,12px);background-color:var(--wpds-color-background-interactive-neutral-weak,#0000);border-color:var(--wpds-color-stroke-interactive-neutral,#8d8d8d);border-radius:var(--wpds-border-radius-sm,2px);border-style:solid;border-width:var(--wpds-border-width-xs,1px);color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);display:flex;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:max(var(--wpds-typography-font-size-md,13px),16px);height:var(--wpds-dimension-size-lg,40px);line-height:1;@media (min-width:600px){font-size:var(--wpds-typography-font-size-md,13px)}&._0c807a84cbb94e0c__is-size-compact{height:var(--wpds-dimension-size-md,32px)}&._0c807a84cbb94e0c__is-size-compact,&.ed67cda122dc1e7b__is-size-small{--wp-ui-input-layout-padding-inline:var(--wpds-dimension-padding-sm,8px)}&.ed67cda122dc1e7b__is-size-small{height:var(--wpds-dimension-size-sm,24px)}&._6fb7104732387680__is-disabled,&:has([data-can-disable-input-layout][data-disabled]){background-color:var(--wpds-color-background-interactive-neutral-weak-disabled,#0000);border-color:var(--wpds-color-stroke-interactive-neutral-disabled,#dbdbdb);color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d);@media (forced-colors:active){border-bottom-color:GrayText;border-left-color:GrayText;border-right-color:GrayText;border-top-color:GrayText;color:GrayText}}&._8097270636ca6100__is-borderless{border-color:transparent}&:has(._0d7afad74a057888__input-layout-slot:focus-within){outline:none}&:hover:not(._6fb7104732387680__is-disabled,:has([data-can-disable-input-layout][data-disabled]),._8097270636ca6100__is-borderless){border-color:var(--wpds-color-stroke-interactive-neutral-active,#6e6e6e)}}.c192b41a12b4387b__slot-wrapper{display:contents}._0d7afad74a057888__input-layout-slot{align-items:center;display:flex;&._0c952682762ca288__is-padding-minimal{--wp-ui-input-layout-prefix-padding-start:calc(var(--wp-ui-input-layout-padding-inline) - var(--wpds-dimension-padding-xs, 4px));--wp-ui-input-layout-suffix-padding-end:calc(var(--wp-ui-input-layout-padding-inline) - var(--wpds-dimension-padding-xs, 4px))}[data-slot-type=prefix] &{padding-inline-start:var(--wp-ui-input-layout-prefix-padding-start,var(--wp-ui-input-layout-padding-inline))}[data-slot-type=suffix] &{padding-inline-end:var(--wp-ui-input-layout-suffix-padding-end,var(--wp-ui-input-layout-padding-inline))}}}}');var Sf={"input-layout":"cb2baafdc08746bb__input-layout","is-size-compact":"_0c807a84cbb94e0c__is-size-compact","is-size-small":"ed67cda122dc1e7b__is-size-small","is-disabled":"_6fb7104732387680__is-disabled","is-borderless":"_8097270636ca6100__is-borderless","input-layout-slot":"_0d7afad74a057888__input-layout-slot","slot-wrapper":"c192b41a12b4387b__slot-wrapper","is-padding-minimal":"_0c952682762ca288__is-padding-minimal"},Rf=(0,l.forwardRef)(function({padding:e="default",className:t,...n},r){return(0,s.jsx)("div",{ref:r,className:d(Sf["input-layout-slot"],Sf[`is-padding-${e}`],t),...n})});Rf.displayName="InputLayout.Slot";var Cf=Object.assign(yf,{Slot:Rf}),Ef="data-wp-hash";function Mf(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=Mf();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)Tf(e,n,r)}(document)),e.__wpStyleRuntime}function Tf(e,t,n){if(!e.head)return;const r=Mf();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${Ef}]`))if(n.getAttribute(Ef)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(Ef,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}function zf(e,t){const n=Mf();n.styles.set(e,t);for(const r of n.documents.keys())Tf(r,e,t)}zf("d390e935a7","._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-medium,499));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)}");zf("5f8e7aa0bc","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._08e8a2e44959f892__outset-ring--focus:focus,._970d04df7376df67__outset-ring--focus-within-except-active:focus-within:not(:has(:active)),.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,.e25b2bdd7aa21721__outset-ring--focus-except-active:focus:not(:active),: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))}}}");zf("5f69bdbcb5","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._2ae7be2fc1bb17a3__input{--_gcd-input-padding:var(--wp-ui-input-padding-block,0) var(--wp-ui-input-layout-padding-inline,0);background:transparent;border:none;color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);font-family:inherit;font-size:inherit;line-height:inherit;outline:none;padding-block:var(--wp-ui-input-padding-block,0);padding-inline:var(--wp-ui-input-layout-padding-inline,0);width:100%;&::placeholder{color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d)}&:disabled,&[aria-disabled=true]{color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d);@media (forced-colors:active){color:GrayText}}&[type=email],&[type=url]{direction:ltr}}}}");var jf=(0,l.forwardRef)(function({className:e,size:t="default",prefix:n,suffix:r,style:o,...i},a){return(0,s.jsx)(Cf,{className:d("cd83dfc2126a0846__outset-ring--focus-within",e),style:o,size:t,visuallyDisabled:i.disabled,prefix:n,suffix:r,children:(0,s.jsx)(gf,{ref:a,className:d("d2cff2e5dea83bd1__input","_2ae7be2fc1bb17a3__input"),...i})})}),If="data-wp-hash";function Af(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=Af();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)Of(e,n,r)}(document)),e.__wpStyleRuntime}function Of(e,t,n){if(!e.head)return;const r=Af();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${If}]`))if(n.getAttribute(If)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(If,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}function Pf(e,t){const n=Af();n.styles.set(e,t);for(const r of n.documents.keys())Of(r,e,t)}Pf("1540cbc709","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._1e441c22c9dc5d28__wrapper{--wp-ui-textarea-min-height:var(--wpds-dimension-size-lg,40px)}._414844876c32ecee__textarea{min-height:calc(var(--wp-ui-textarea-min-height) - 2px);resize:block}}@layer compositions{._1e441c22c9dc5d28__wrapper{--wp-ui-input-padding-block:9.9px;height:auto;line-height:1.4}}}");Pf("d390e935a7","._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-medium,499));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 Nf=(e,t)=>function(n){return"function"==typeof e?e(Re(n,t)):(0,l.cloneElement)(e,Re(n,t))},Df=(0,l.forwardRef)(function({className:e,defaultValue:t,disabled:n,onValueChange:r,render:o,rows:i=4,style:a,value:c,...l},u){return(0,s.jsx)(jf,{className:d("_1e441c22c9dc5d28__wrapper",e),style:a,render:Nf(o||(e=>(0,s.jsx)("textarea",{...e})),{className:d("_547d86373d02e108__textarea","_414844876c32ecee__textarea"),ref:u,rows:i,...l}),value:c,defaultValue:t,onValueChange:r,disabled:n})});const $f=m.forwardRef(function(e,t){const{render:n,id:r,className:o,style:i,...a}=e,s=Fc(r),c=Dp(!1),{setMessageIds:d}=Bp();return oe(()=>{if(s)return d(e=>e.concat(s)),()=>{d(e=>e.filter(e=>e!==s))}},[s,d]),In("p",e,{ref:t,state:c.state,props:[{id:s},a],stateAttributesMapping:Op})});var Ff="data-wp-hash";function Vf(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=Vf();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)Lf(e,n,r)}(document)),e.__wpStyleRuntime}function Lf(e,t,n){if(!e.head)return;const r=Vf();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${Ff}]`))if(n.getAttribute(Ff)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(Ff,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}!function(e,t){const n=Vf();n.styles.set(e,t);for(const r of n.documents.keys())Lf(r,e,t)}("4b9484aa9f",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._2d5ad850b2f90964__label{--wp-ui-field-label-line-height:var(--wpds-typography-line-height-xs,16px);color:var(--wpds-color-foreground-content-neutral,#1e1e1e);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-xs,11px);font-weight:var(--wpds-typography-font-weight-medium,499);line-height:var(--wp-ui-field-label-line-height);text-transform:uppercase;&._17c4214649230bea__is-plain{font-size:var(--wpds-typography-font-size-md,13px);text-transform:none}}._08a3750500e0233f__description{--_gcd-p-font-size:var(--wpds-typography-font-size-sm,12px);--_gcd-p-line-height:var(--wpds-typography-line-height-xs,16px);--_gcd-p-margin:0;text-wrap:pretty;color:var(--wpds-color-foreground-content-neutral-weak,#707070);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-sm,12px);line-height:var(--wpds-typography-line-height-xs,16px)}}}');var Bf=(0,l.forwardRef)(function({className:e,...t},n){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(rf,{render:(0,s.jsx)($f,{}),children:(0,g.__)("More details follow the field.")}),(0,s.jsx)("div",{ref:n,className:d("_08a3750500e0233f__description",e),...t})]})});function Hf(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function Wf(e,t){return Hf(t,e===dt||e===lt,e===st||e===ct)}function Uf(e,t,n){return Hf(t,e===lt,n?e===st:e===ct)||"Enter"===e||" "===e||""===e}function qf(e,t){const{listRef:n,activeIndex:r,onNavigate:o=()=>{},enabled:i=!0,selectedIndex:a=null,allowEscape:s=!1,loopFocus:c=!1,nested:d=!1,rtl:l=!1,virtual:u=!1,focusItemOnOpen:p="auto",focusItemOnHover:f=!0,openOnArrowKeyDown:g=!0,disabledIndices:h,orientation:b="vertical",parentOrientation:v,cols:w=1,id:y,resetOnPointerLeave:_=!0,externalTree:x}=t,k="rootStore"in e?e.rootStore:e,S=k.useState("open"),R=k.useState("floatingElement"),C=k.useState("domReferenceElement"),E=k.context.dataRef,T=vt(R),z=bt(C),j=qn(T),I=Ue(),A=qe(x),O=m.useRef(p),P=m.useRef(a??-1),N=m.useRef(null),D=m.useRef(!0),$=Ve(e=>{o(-1===P.current?null:P.current,e)}),F=m.useRef($),V=m.useRef(!!R),L=m.useRef(S),B=m.useRef(!1),H=m.useRef(!1),W=m.useRef(null),U=qn(h),q=qn(S),G=qn(a),Y=qn(_),X=ge(),K=ge(),Z=Ve(()=>{function e(e){u?A?.events.emit("virtualfocus",e):W.current=Kr(e,{sync:B.current,preventScroll:!0})}const t=n.current[P.current],r=H.current;t&&e(t),(B.current?e=>e():e=>X.request(e))(()=>{const o=n.current[P.current]||t;o&&(t||e(o),ie&&(r||!D.current)&&o.scrollIntoView?.({block:"nearest",inline:"nearest"}))})});oe(()=>{E.current.orientation=b},[E,b]),oe(()=>{i&&(S&&R?(P.current=a??-1,O.current&&null!=a&&(H.current=!0,$())):V.current&&(P.current=-1,F.current()))},[i,S,R,a,$]),oe(()=>{if(i)if(S){if(R)if(null==r){if(B.current=!1,null!=G.current)return;if(V.current&&(P.current=-1,Z()),(!L.current||!V.current)&&O.current&&(null!=N.current||!0===O.current&&null==N.current)){let e=0;const t=()=>{null==n.current[0]?(e<2&&(e?e=>K.request(e):queueMicrotask)(t),e+=1):(P.current=null==N.current||Uf(N.current,b,l)||d?kr(n):Sr(n),N.current=null,$())};t()}}else xr(n.current,r)||(P.current=r,Z(),H.current=!1)}else B.current=!1},[i,S,R,r,G,d,n,b,l,$,Z,K]),oe(()=>{if(!i||R||!A||u||!V.current)return;const e=A.nodesRef.current,t=e.find(e=>e.id===I)?.context?.elements.floating,n=ut(re(R)),r=e.some(e=>e.context&&pt(e.context.elements.floating,n));t&&!r&&D.current&&t.focus({preventScroll:!0})},[i,R,A,I,u]),oe(()=>{F.current=$,L.current=S,V.current=!!R}),oe(()=>{S||(N.current=null,O.current=p)},[S,p]);const J=null!=r,Q=Ve(e=>{if(!q.current)return;const t=n.current.indexOf(e.currentTarget);-1===t||P.current===t&&r===t||(P.current=t,$(e))}),ee=Ve(()=>v??A?.nodesRef.current.find(e=>e.id===I)?.context?.dataRef?.current.orientation),te=Ve(()=>kr(n,U.current)),ne=Ve(e=>{if(D.current=!1,B.current=!0,229===e.which)return;if(!q.current&&e.currentTarget===j.current)return;if(d&&function(e,t,n,r){return"both"===t||"horizontal"===t&&r&&r>1?"Escape"===e:Hf(t,n?e===ct:e===st,e===dt)}(e.key,b,l,w))return Wf(e.key,ee())||wt(e),k.setOpen(!1,Ge(nt,e.nativeEvent)),void(M(C)&&(u?A?.events.emit("virtualfocus",C):C.focus()));const t=P.current,r=kr(n,h),o=Sr(n,h);if(z||("Home"===e.key&&(wt(e),P.current=r,$(e)),"End"===e.key&&(wt(e),P.current=o,$(e))),w>1){const t=Array.from({length:n.current.length},()=>({width:1,height:1})),i=function(e,t){const n=[];let r=0;return e.forEach(({width:e,height:o},i)=>{let a=!1;for(;!a;){const s=[];for(let n=0;n<e;n+=1)for(let e=0;e<o;e+=1)s.push(r+n+e*t);r%t+e<=t&&s.every(e=>null==n[e])?(s.forEach(e=>{n[e]=i}),a=!0):r+=1}}),[...n]}(t,w),a=i.findIndex(e=>null!=e&&!Mr(n.current,e,h)),s=i.reduce((e,t,r)=>null==t||Mr(n.current,t,h)?e:r,-1),d=i[function(e,{event:t,orientation:n,loopFocus:r,onLoop:o,rtl:i,cols:a,disabledIndices:s,minIndex:c,maxIndex:d,prevIndex:l,stopEvent:u=!1}){let p,f=l;if(t.key===dt?p="up":t.key===lt&&(p="down"),p){const n=[],i=[];let g=!1,m=0;{let t=null,r=-1;e.forEach((e,o)=>{if(null==e)return;m+=1;const a=e.closest('[role="row"]');a&&(g=!0),a===t&&-1!==r||(t=a,r+=1,n[r]=[]),n[r].push(o),i[o]=r})}let h=!1,b=0;if(g)for(const e of n){const t=e.length;t>b&&(b=t),t!==a&&(h=!0)}const v=h&&m<e.length,w=b||a,y=a=>{if(!h||-1===l)return;const c=i[l];if(null==c)return;const d=n[c].indexOf(l),u="up"===a?-1:1;for(let a=c+u,p=0;p<n.length;p+=1,a+=u){if(a<0||a>=n.length){if(!r||v)return;if(a=a<0?n.length-1:0,o){const e=Math.min(d,n[a].length-1),r=n[a][e]??n[a][0],s=o(t,l,r);a=i[s]??a}}const c=n[a];for(let t=Math.min(d,c.length-1);t>=0;t-=1){const n=c[t];if(!Mr(e,n,s))return n}}},_=t=>{if(!v||-1===l)return;const n=l%w,o="up"===t?-w:w,i=d-d%w,a=nr(d/w)+1;for(let t=l-n+o,c=0;c<a;c+=1,t+=o){if(t<0||t>d){if(!r)return;t=t<0?i:0}const o=Math.min(t+w-1,d);for(let r=Math.min(t+n,o);r>=t;r-=1)if(!Mr(e,r,s))return r}};u&&wt(t);const x=y(p)??_(p);if(void 0!==x)f=x;else if(-1===l)f="up"===p?d:c;else if(f=Rr(e,{startingIndex:l,amount:w,decrement:"up"===p,disabledIndices:s}),r){if("up"===p&&(l-w<c||f<0)){const e=l%w,n=d%w,r=d-(n-e);f=n===e?d:n>e?r:r-w,o&&(f=o(t,l,f))}"down"===p&&l+w>d&&(f=Rr(e,{startingIndex:l%w-w,amount:w,disabledIndices:s}),o&&(f=o(t,l,f)))}xr(e,f)&&(f=l)}if("both"===n){const n=nr(l/a);t.key===(i?st:ct)&&(u&&wt(t),l%a!==a-1?(f=Rr(e,{startingIndex:l,disabledIndices:s}),r&&_r(f,a,n)&&(f=Rr(e,{startingIndex:l-l%a-1,disabledIndices:s}),o&&(f=o(t,l,f)))):r&&(f=Rr(e,{startingIndex:l-l%a-1,disabledIndices:s}),o&&(f=o(t,l,f))),_r(f,a,n)&&(f=l)),t.key===(i?ct:st)&&(u&&wt(t),l%a!==0?(f=Rr(e,{startingIndex:l,decrement:!0,disabledIndices:s}),r&&_r(f,a,n)&&(f=Rr(e,{startingIndex:l+(a-l%a),decrement:!0,disabledIndices:s}),o&&(f=o(t,l,f)))):r&&(f=Rr(e,{startingIndex:l+(a-l%a),decrement:!0,disabledIndices:s}),o&&(f=o(t,l,f))),_r(f,a,n)&&(f=l));const c=nr(d/a)===n;xr(e,f)&&(r&&c?(f=t.key===(i?ct:st)?d:Rr(e,{startingIndex:l-l%a-1,disabledIndices:s}),o&&(f=o(t,l,f))):f=l)}return f}(i.map(e=>null!=e?n.current[e]:null),{event:e,orientation:b,loopFocus:c,rtl:l,cols:w,disabledIndices:Er([...("function"!=typeof h?h:null)||n.current.map((e,t)=>Mr(n.current,t,h)?t:void 0),void 0],i),minIndex:a,maxIndex:s,prevIndex:Cr(P.current>o?r:P.current,t,i,w,e.key===lt?"bl":e.key===(l?st:ct)?"tr":"tl"),stopEvent:!0})];if(null!=d&&(P.current=d,$(e)),"both"===b)return}if(Wf(e.key,b)){if(wt(e),S&&!u&&ut(e.currentTarget.ownerDocument)===e.currentTarget)return P.current=Uf(e.key,b,l)?r:o,void $(e);Uf(e.key,b,l)?c?t>=o?s&&t!==n.current.length?P.current=-1:(B.current=!1,P.current=r):P.current=Rr(n.current,{startingIndex:t,disabledIndices:h}):P.current=Math.min(o,Rr(n.current,{startingIndex:t,disabledIndices:h})):c?t<=r?s&&-1!==t?P.current=n.current.length:(B.current=!1,P.current=o):P.current=Rr(n.current,{startingIndex:t,decrement:!0,disabledIndices:h}):P.current=Math.max(r,Rr(n.current,{startingIndex:t,decrement:!0,disabledIndices:h})),xr(n.current,P.current)&&(P.current=-1),$(e)}}),ie=m.useMemo(()=>({onFocus(e){B.current=!0,Q(e)},onClick:({currentTarget:e})=>e.focus({preventScroll:!0}),onMouseMove(e){B.current=!0,H.current=!1,f&&Q(e)},onPointerLeave(e){if(!q.current||!D.current||"touch"===e.pointerType)return;B.current=!0;const t=e.relatedTarget;if(f&&!n.current.includes(t)&&Y.current&&(W.current?.(),W.current=null,P.current=-1,$(e),!u)){const e=j.current,t=ut(re(e));e&&pt(e,t)&&e.focus({preventScroll:!0})}}}),[Q,q,j,f,n,$,Y,u]),ae=m.useMemo(()=>u&&S&&J&&{"aria-activedescendant":`${y}-${r}`},[u,S,J,y,r]),se=m.useMemo(()=>({"aria-orientation":"both"===b?void 0:b,...z?{}:ae,onKeyDown(e){if("Tab"===e.key&&e.shiftKey&&S&&!u){const t=ft(e.nativeEvent);if(t&&!pt(j.current,t))return;return wt(e),k.setOpen(!1,Ge(et,e.nativeEvent)),void(M(C)&&C.focus())}ne(e)},onPointerMove(){D.current=!0}}),[ae,ne,j,b,z,k,S,u,C]),ce=m.useMemo(()=>{function e(e){k.setOpen(!0,Ge(nt,e.nativeEvent,e.currentTarget))}function t(e){"auto"===p&&yt(e.nativeEvent)&&(O.current=!u)}function n(e){O.current=p,"auto"===p&&_t(e.nativeEvent)&&(O.current=!0)}return{onKeyDown(t){const n=k.select("open");D.current=!1;const r=t.key.startsWith("Arrow"),o=function(e,t,n){return Hf(t,n?e===st:e===ct,e===lt)}(t.key,ee(),l),i=Wf(t.key,b),a=(d?o:i)||"Enter"===t.key||""===t.key.trim();if(u&&n)return ne(t);if(n||g||!r){if(a){const e=Wf(t.key,ee());N.current=d&&e?null:t.key}d?o&&(wt(t),n?(P.current=te(),$(t)):e(t)):i&&(null!=G.current&&(P.current=G.current),wt(t),!n&&g?e(t):ne(t),n&&$(t))}},onFocus(e){k.select("open")&&!u&&(P.current=-1,$(e))},onPointerDown:n,onPointerEnter:n,onMouseDown:t,onClick:t}},[ne,p,te,d,$,k,g,b,ee,l,G,u]),de=m.useMemo(()=>({...ae,...ce}),[ae,ce]);return m.useMemo(()=>i?{reference:de,floating:se,item:ie,trigger:ce}:{},[i,de,se,ce,ie])}const Gf=m.createContext(null),Yf=m.createContext(null);function Xf(){const e=m.useContext(Gf);if(null===e)throw new Error(b(60));return e}function Kf(){const e=m.useContext(Yf);if(null===e)throw new Error(b(61));return e}const Zf=(e,t)=>Object.is(e,t);function Jf(e,t,n){return null==e||null==t?Object.is(e,t):n(e,t)}function Qf(e,t,n){return e&&0!==e.length?e.findIndex(e=>void 0!==e&&Jf(e,t,n)):-1}function eg(e){if(null==e)return"";if("string"==typeof e)return e;try{return JSON.stringify(e)}catch{return String(e)}}function tg(e){return null!=e&&e.length>0&&"object"==typeof e[0]&&null!=e[0]&&"items"in e[0]}function ng(e,t){if(t&&null!=e)return t(e)??"";if(e&&"object"==typeof e){if("label"in e&&null!=e.label)return String(e.label);if("value"in e)return String(e.value)}return eg(e)}function rg(e,t){return t&&null!=e?t(e)??"":eg(e&&"object"==typeof e&&"value"in e&&"label"in e?e.value:e)}function og(e,t,n){function r(){return ng(e,n)}if(n&&null!=e)return n(e);if(e&&"object"==typeof e&&"label"in e&&null!=e.label)return e.label;if(t&&!Array.isArray(t))return t[e]??r();if(Array.isArray(t)){const n=t,o=tg(n)?n.flatMap(e=>e.items):n;if(null==e||"object"!=typeof e){const t=o.find(t=>t.value===e);return t&&null!=t.label?t.label:r()}if("value"in e){const t=o.find(t=>t&&t.value===e.value);if(t&&null!=t.label)return t.label}}return r()}const ig={id:jt(e=>e.id),labelId:jt(e=>e.labelId),modal:jt(e=>e.modal),multiple:jt(e=>e.multiple),items:jt(e=>e.items),itemToStringLabel:jt(e=>e.itemToStringLabel),itemToStringValue:jt(e=>e.itemToStringValue),isItemEqualToValue:jt(e=>e.isItemEqualToValue),value:jt(e=>e.value),hasSelectedValue:jt(e=>{const{value:t,multiple:n,itemToStringValue:r}=e;return null!=t&&(n&&Array.isArray(t)?t.length>0:""!==rg(t,r))}),hasNullItemLabel:jt((e,t)=>!!t&&function(e){if(!Array.isArray(e))return null!=e&&"null"in e;const t=e;if(tg(t)){for(const e of t)for(const t of e.items)if(t&&null==t.value&&null!=t.label)return!0;return!1}for(const e of t)if(e&&null==e.value&&null!=e.label)return!0;return!1}(e.items)),open:jt(e=>e.open),mounted:jt(e=>e.mounted),forceMount:jt(e=>e.forceMount),transitionStatus:jt(e=>e.transitionStatus),openMethod:jt(e=>e.openMethod),activeIndex:jt(e=>e.activeIndex),selectedIndex:jt(e=>e.selectedIndex),isActive:jt((e,t)=>e.activeIndex===t),isSelected:jt((e,t,n)=>{const r=e.isItemEqualToValue,o=e.value;return e.multiple?Array.isArray(o)&&o.some(e=>Jf(n,e,r)):e.selectedIndex===t&&null!==e.selectedIndex||Jf(n,o,r)}),isSelectedByFocus:jt((e,t)=>e.selectedIndex===t),popupProps:jt(e=>e.popupProps),triggerProps:jt(e=>e.triggerProps),triggerElement:jt(e=>e.triggerElement),positionerElement:jt(e=>e.positionerElement),listElement:jt(e=>e.listElement),popupSide:jt(e=>e.popupSide),scrollUpArrowVisible:jt(e=>e.scrollUpArrowVisible),scrollDownArrowVisible:jt(e=>e.scrollDownArrowVisible),hasScrollArrows:jt(e=>e.hasScrollArrows)};function ag(e,t){const n=m.useRef(e),r=Ve(t);oe(()=>{n.current!==e&&r(n.current)},[e,r]),oe(()=>{n.current=e},[e])}function sg(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function cg(e,t){return Math.max(0,e-t)}function dg(e){const{id:t,value:n,defaultValue:r=null,onValueChange:o,open:i,defaultOpen:a=!1,onOpenChange:c,name:d,form:l,autoComplete:u,disabled:p=!1,readOnly:f=!1,required:g=!1,modal:h=!0,actionsRef:b,inputRef:v,onOpenChangeComplete:w,items:y,multiple:x=!1,itemToStringLabel:k,itemToStringValue:S,isItemEqualToValue:R=Zf,highlightItemOnHover:C=!0,children:E}=e,{clearErrors:M}=Vp(),{setDirty:T,setTouched:z,setFocused:j,shouldValidateOnChange:I,validityData:A,setFilled:O,name:P,disabled:N,validation:D,validationMode:$}=Dp(),F=pf({id:t}),V=N||p,L=P??d,[B,H]=lf({controlled:n,default:x?r??he:r,name:"Select",state:"value"}),[W,U]=lf({controlled:i,default:a,name:"Select",state:"open"}),q=m.useRef([]),G=m.useRef([]),Y=m.useRef(null),X=m.useRef(null),K=m.useRef(0),Z=m.useRef(null),Q=m.useRef([]),ee=m.useRef(!1),te=m.useRef(!1),ne=m.useRef(null),re=m.useRef(null),ie=m.useRef({allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0}),se=m.useRef(!1),{mounted:ce,setMounted:de,transitionStatus:ue}=Yt(W),{openMethod:pe,triggerProps:fe}=function(e){const[t,n]=m.useState(null),r=function(e,t){const n=Ve((n,r)=>{("function"==typeof e?e():e)||t(r||(J?"touch":""))}),{onClick:r,onPointerDown:o}=function(e){const t=m.useRef(""),n=m.useCallback(n=>{n.defaultPrevented||(t.current=n.pointerType,e(n,n.pointerType))},[e]);return{onClick:m.useCallback(n=>{0!==n.detail?(e(n,"pointerType"in n?n.pointerType:t.current),t.current=""):e(n,"keyboard")},[e]),onPointerDown:n}}(n);return m.useMemo(()=>({onClick:r,onPointerDown:o}),[r,o])}(e,n);return ag(e,t=>{t&&!e&&n(null)}),m.useMemo(()=>({openMethod:t,triggerProps:r}),[t,r])}(W),me=ae(()=>new Ht({id:F,labelId:void 0,modal:h,multiple:x,itemToStringLabel:k,itemToStringValue:S,isItemEqualToValue:R,value:B,open:W,mounted:ce,transitionStatus:ue,items:y,forceMount:!1,openMethod:null,activeIndex:null,selectedIndex:null,popupProps:{},triggerProps:{},triggerElement:null,positionerElement:null,listElement:null,popupSide:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1,hasScrollArrows:!1})).current,ve=Lt(me,ig.activeIndex),we=Lt(me,ig.selectedIndex),ye=Lt(me,ig.triggerElement),_e=Lt(me,ig.positionerElement),xe=function(e){const[t,n]=m.useState({current:e,previous:null});return e!==t.current&&n({current:e,previous:t.current}),t.previous}(pe),ke=pe??xe,Se=m.useMemo(()=>x&&Array.isArray(B)&&0===B.length?"":rg(B,S),[x,B,S]),Ce=m.useMemo(()=>x&&Array.isArray(B)?B.map(e=>rg(e,S)):rg(B,S),[x,B,S]),Ee=qn(me.state.triggerElement),Me=Ve(()=>Ce);uf(Ee,F,B,Me);const Te=m.useRef(B),ze=x?Array.isArray(B)&&B.length>0:null!=B;oe(()=>{B!==Te.current&&me.set("forceMount",!0)},[me,B]),oe(()=>{O(ze)},[ze,O]),oe(function(){const e=Q.current;let t;if(x){const n=Array.isArray(B)?B:[];if(0===n.length)t=null;else{const r=Qf(e,n[n.length-1],R);t=-1===r?null:r}}else{const n=Qf(e,B,R);t=-1===n?null:n}null===t&&(re.current=null),W||me.set("selectedIndex",t)},[ze,x,W,B,Q,R,me,re]),ag(B,()=>{M(L),T(B!==A.initialValue),I()?D.commit(B):D.commit(B,!0)});const je=Ve((e,t)=>{if(c?.(e,t),!t.isCanceled&&(U(e),e||t.reason!==et&&t.reason!==Je||(z(!0),j(!1),"onBlur"===$&&D.commit(B)),!e&&null!==me.state.activeIndex)){const e=q.current[me.state.activeIndex];queueMicrotask(()=>{e?.setAttribute("tabindex","-1")})}}),Ie=Ve(()=>{de(!1),me.update({activeIndex:null,openMethod:null}),w?.(!1)});tn({enabled:!b,open:W,ref:Y,onComplete(){W||Ie()}}),m.useImperativeHandle(b,()=>({unmount:Ie}),[Ie]);const Ae=Ve((e,t)=>{o?.(e,t),t.isCanceled||H(e)}),Oe=Ve(()=>{const e=me.state.listElement||Y.current;if(!e)return;const t=cg(e.scrollHeight,e.clientHeight),n=function(e,t){if(t<=0)return 0;const n=sg(e,0,t),r=t-n,o=n<=1,i=r<=1;return o&&i?n<=r?0:t:o?0:i?t:n}(e.scrollTop,t),r=n>0,o=n<t;me.state.scrollUpArrowVisible!==r&&me.set("scrollUpArrowVisible",r),me.state.scrollDownArrowVisible!==o&&me.set("scrollDownArrowVisible",o)}),Pe=Bl({open:W,onOpenChange:je,elements:{reference:ye,floating:_e}}),Ne=function(e,t={}){const{enabled:n=!0,event:r="click",toggle:o=!0,ignoreMouse:i=!1,stickIfOpen:a=!0,touchOpenDelay:s=0,reason:c=Xe}=t,d="rootStore"in e?e.rootStore:e,l=d.context.dataRef,u=m.useRef(void 0),p=ge(),f=le(),g=m.useMemo(()=>{function e(e,t,n,r){const o=Ge(c,t,n);e&&"touch"===r&&s>0?f.start(s,()=>{d.setOpen(!0,o)}):d.setOpen(e,o)}function t(e,t,n){const r=l.current.openEvent,i=d.select("domReferenceElement")!==t;return!((!e||!i)&&e&&o&&(!r||!a||n(r.type)))}return{onPointerDown(e){u.current=e.pointerType},onMouseDown(n){const o=u.current,a=n.nativeEvent,s=d.select("open");if(0!==n.button||"click"===r||xt(o,!0)&&i)return;const c=t(s,n.currentTarget,e=>"click"===e||"mousedown"===e),l=ft(a);if(ht(l))return void e(c,a,l,o);const f=n.currentTarget;p.request(()=>{e(c,a,f,o)})},onClick(n){if("mousedown-only"===r)return;const o=u.current;"mousedown"===r&&o?u.current=void 0:xt(o,!0)&&i||e(t(d.select("open"),n.currentTarget,e=>"click"===e||"mousedown"===e||"keydown"===e||"keyup"===e),n.nativeEvent,n.currentTarget,o)},onKeyDown(){u.current=void 0}}},[l,r,i,c,d,a,o,p,f,s]);return m.useMemo(()=>n?{reference:g}:be,[n,g])}(Pe,{enabled:!f&&!V,event:"mousedown"}),De=Et(Pe),$e=qf(Pe,{enabled:!f&&!V,listRef:q,activeIndex:ve,selectedIndex:we,disabledIndices:he,onNavigate(e){(null!==e||W)&&me.set("activeIndex",e)},focusItemOnHover:C}),Fe=function(e,t){const{listRef:n,elementsRef:r,activeIndex:o,onMatch:i,onTyping:a,enabled:s=!0,resetMs:c=750,selectedIndex:d=null}=t,l="rootStore"in e?e.rootStore:e,u=l.useState("open"),p=le(),f=m.useRef(""),g=m.useRef(d??o??-1),h=m.useRef(null),b=Ve(e=>{function t(e){const t=r?.current[e];return!t||Tr(t)}function s(e,n,r=0){if(0===e.length)return-1;const o=(r%e.length+e.length)%e.length,i=n.toLocaleLowerCase();for(let n=0;n<e.length;n+=1){const r=(o+n)%e.length,a=e[r];if(a?.toLocaleLowerCase().startsWith(i)&&t(r))return r}return-1}const l=n.current;if(f.current.length>0&&" "===e.key&&(wt(e),a?.(!0)),f.current.length>0&&" "!==f.current[0]&&-1===s(l,f.current)&&" "!==e.key&&a?.(!1),null==l||1!==e.key.length||e.ctrlKey||e.metaKey||e.altKey)return;u&&" "!==e.key&&(wt(e),a?.(!0));const m=""===f.current;m&&(g.current=d??o??-1),l.every(e=>!e||e[0]?.toLocaleLowerCase()!==e[1]?.toLocaleLowerCase())&&f.current===e.key&&(f.current="",g.current=h.current),f.current+=e.key,p.start(c,()=>{f.current="",g.current=h.current,a?.(!1)});const b=((m?d??o??-1:g.current)??0)+1,v=s(l,f.current,b);-1!==v?(i?.(v),h.current=v):" "!==e.key&&(f.current="",a?.(!1))}),v=Ve(e=>{const t=e.relatedTarget,n=l.select("domReferenceElement"),r=l.select("floatingElement");pt(n,t)||pt(r,t)||(p.clear(),f.current="",g.current=h.current,a?.(!1))});oe(()=>{(u||null===d)&&(p.clear(),h.current=null,""!==f.current&&(f.current=""))},[u,d,p]),oe(()=>{u&&""===f.current&&(g.current=d??o??-1)},[u,d,o]);const w=m.useMemo(()=>({onKeyDown:b,onBlur:v}),[b,v]);return m.useMemo(()=>s?{reference:w,floating:w}:{},[s,w])}(Pe,{enabled:!f&&!V&&(W||!x),listRef:G,activeIndex:ve,selectedIndex:we,onMatch(e){W?me.set("activeIndex",e):Ae(Q.current[e],Ge("none"))},onTyping(e){ee.current=e}}),Le=m.useMemo(()=>{const e=Re(Fe.reference,$e.reference,De.reference,Ne.reference,fe);return F&&(e.id=F),e},[Ne.reference,Fe.reference,$e.reference,De.reference,fe,F]),Be=m.useMemo(()=>Re(nn,Fe.floating,$e.floating,De.floating),[Fe.floating,$e.floating,De.floating]),He=$e.item??be;_(()=>{me.update({popupProps:Be,triggerProps:Le})}),oe(()=>{me.update({id:F,modal:h,multiple:x,value:B,open:W,mounted:ce,transitionStatus:ue,popupProps:Be,triggerProps:Le,items:y,itemToStringLabel:k,itemToStringValue:S,isItemEqualToValue:R,openMethod:ke})},[me,F,h,x,B,W,ce,ue,Be,Le,y,k,S,R,ke]);const We=m.useMemo(()=>({store:me,name:L,required:g,disabled:V,readOnly:f,multiple:x,highlightItemOnHover:C,setValue:Ae,setOpen:je,listRef:q,popupRef:Y,scrollHandlerRef:X,handleScrollArrowVisibility:Oe,scrollArrowsMountedCountRef:K,itemProps:He,events:Pe.context.events,valueRef:Z,valuesRef:Q,labelsRef:G,typingRef:ee,selectionRef:ie,firstItemTextRef:ne,selectedItemTextRef:re,validation:D,onOpenChangeComplete:w,keyboardActiveRef:te,alignItemWithTriggerActiveRef:se,initialValueRef:Te}),[me,L,g,V,f,x,C,Ae,je,He,Pe.context.events,D,w,Oe]),Ue=Mn(v,D.inputRef),qe=x&&Array.isArray(B)&&B.length>0,Ke=x?void 0:L,Ze=m.useMemo(()=>x&&Array.isArray(B)&&L?B.map(e=>{const t=rg(e,S);return(0,s.jsx)("input",{type:"hidden",form:l,name:L,value:t},t)}):null,[x,B,l,L,S]);return(0,s.jsx)(Gf.Provider,{value:We,children:(0,s.jsxs)(Yf.Provider,{value:Pe,children:[E,(0,s.jsx)("input",{...D.getInputValidationProps({onFocus(){me.state.triggerElement?.focus({focusVisible:!0})},onChange(e){if(e.nativeEvent.defaultPrevented||V||f)return void e.preventBaseUIHandler?.();const t=e.currentTarget.value,n=Ge(Ye,e.nativeEvent);me.set("forceMount",!0),queueMicrotask(function(){if(x)return;const e=Q.current.find(e=>rg(e,S).toLowerCase()===t.toLowerCase()||ng(e,k).toLowerCase()===t.toLowerCase());null!=e&&(T(e!==A.initialValue),Ae(e,n),I()&&D.commit(e))})}}),id:F&&null==Ke?`${F}-hidden-input`:void 0,form:l,name:Ke,autoComplete:u,value:Se,disabled:V,required:g&&!qe,readOnly:f,ref:Ue,style:L?Kn:Xn,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),Ze]})})}function lg(e){return(0,s.jsx)(dg,{...e})}const ug={...Bn,...Op,popupSide:e=>e?{"data-popup-side":e}:null,value:()=>null},pg=m.forwardRef(function(e,t){const{render:n,className:r,id:o,disabled:i=!1,nativeButton:a=!0,style:s,...c}=e,{setTouched:d,setFocused:l,validationMode:u,state:p,disabled:f}=Dp(),{labelId:g}=Bp(),{store:h,setOpen:b,selectionRef:v,validation:w,readOnly:y,required:_,alignItemWithTriggerActiveRef:x,disabled:k,keyboardActiveRef:R}=Xf(),C=f||k||i,E=Lt(h,ig.open),M=Lt(h,ig.mounted),T=Lt(h,ig.value),z=Lt(h,ig.triggerProps),j=Lt(h,ig.positionerElement),I=Lt(h,ig.listElement),A=Lt(h,ig.popupSide),O=Lt(h,ig.id),P=Lt(h,ig.labelId),N=Lt(h,ig.hasSelectedValue),D=M&&j?A:null,$=o??O,F=function(e,t){return e??t}(g,P);pf({id:$});const V=qn(j),L=m.useRef(null),{getButtonProps:B,buttonRef:H}=Jc({disabled:C,native:a}),W=Ve(e=>{h.set("triggerElement",e)}),U=Mn(t,L,H,W),q=le(),G=le(),Y=le();m.useEffect(()=>{if(E)return Y.start(400,()=>{v.current.allowUnselectedMouseUp=!0,v.current.allowSelectedMouseUp=!0}),()=>{Y.clear()};v.current={allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0},G.clear()},[E,v,G,Y]);const X=Re(z,{id:$,role:"combobox","aria-expanded":E?"true":"false","aria-haspopup":"listbox","aria-controls":E?I?.id??vt(j)?.id:void 0,"aria-labelledby":F,"aria-readonly":y||void 0,"aria-required":_||void 0,tabIndex:C?-1:0,ref:U,onFocus(e){l(!0),E&&x.current&&b(!1,Ge(Ye,e.nativeEvent)),q.start(0,()=>{h.set("forceMount",!0)})},onBlur(e){pt(j,e.relatedTarget)||(d(!0),l(!1),"onBlur"===u&&w.commit(T))},onPointerMove(){R.current=!1},onKeyDown(){R.current=!0},onMouseDown(e){if(E)return;const t=re(e.currentTarget);function n(e){if(!L.current)return;const t=e.target;if(pt(L.current,t)||pt(V.current,t)||t===L.current)return;const n=function(e){const t=e.getBoundingClientRect(),n=S(e),r=n.getComputedStyle(e,"::before"),o=n.getComputedStyle(e,"::after");if("none"===r.content&&"none"===o.content)return t;const i=parseFloat(r.width)||0,a=parseFloat(r.height)||0,s=parseFloat(o.width)||0,c=parseFloat(o.height)||0,d=Math.max(t.width,i,s),l=Math.max(t.height,a,c),u=d-t.width,p=l-t.height;return{left:t.left-u/2,right:t.right+u/2,top:t.top-p/2,bottom:t.bottom+p/2}}(L.current);e.clientX>=n.left-2&&e.clientX<=n.right+2&&e.clientY>=n.top-2&&e.clientY<=n.bottom+2||b(!1,Ge("cancel-open",e))}G.start(0,()=>{t.addEventListener("mouseup",n,{once:!0})})}},w.getValidationProps,c,B);X.role="combobox";const K={...p,open:E,disabled:C,value:T,readOnly:y,popupSide:D,placeholder:!N};return In("button",e,{ref:[t,L],state:K,stateAttributesMapping:ug,props:X})}),fg={value:()=>null},gg=m.forwardRef(function(e,t){const{className:n,render:r,children:o,placeholder:i,style:a,...c}=e,{store:d,valueRef:l}=Xf(),u=Lt(d,ig.value),p=Lt(d,ig.items),f=Lt(d,ig.itemToStringLabel),g=Lt(d,ig.hasSelectedValue),h=!g&&null!=i&&null==o,b=Lt(d,ig.hasNullItemLabel,h),v={value:u,placeholder:!g};let w=null;return w="function"==typeof o?o(u):null!=o?o:g||null==i||b?Array.isArray(u)?function(e,t,n){return e.reduce((e,r,o)=>(o>0&&e.push(", "),e.push((0,s.jsx)(m.Fragment,{children:og(r,t,n)},o)),e),[])}(u,p,f):og(u,p,f):i,In("span",e,{state:v,ref:[t,l],props:[{children:w},c],stateAttributesMapping:fg})});var mg=(0,s.jsx)(td.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,s.jsx)(td.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})}),hg="data-wp-hash";function bg(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=bg();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)vg(e,n,r)}(document)),e.__wpStyleRuntime}function vg(e,t,n){if(!e.head)return;const r=bg();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${hg}]`))if(n.getAttribute(hg)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(hg,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}function wg(e,t){const n=bg();n.styles.set(e,t);for(const r of n.documents.keys())vg(r,e,t)}wg("5f8e7aa0bc","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._08e8a2e44959f892__outset-ring--focus:focus,._970d04df7376df67__outset-ring--focus-within-except-active:focus-within:not(:has(:active)),.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,.e25b2bdd7aa21721__outset-ring--focus-except-active:focus:not(:active),: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))}}}");wg("7b4a0ac519","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._6e4e0445ef20426b__trigger-wrapper{&.fa98c865fb77e675__is-minimal{width:fit-content}}._7893295e3f6d1af7__trigger{align-items:center;background-color:transparent;border:none;color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);display:flex;font-family:inherit;font-size:inherit;gap:var(--wpds-dimension-gap-xs,4px);justify-content:space-between;line-height:1.4;padding-block:4px;padding-inline-end:calc(var(--wp-ui-input-layout-padding-inline) - 4px);padding-inline-start:var(--wp-ui-input-layout-padding-inline);text-align:start;user-select:none;width:100%;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&.fa98c865fb77e675__is-minimal{width:auto}&:focus{outline:none}&[data-disabled]{background-color:var(--wpds-color-background-interactive-neutral-weak-disabled,#0000);color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d)}}.e760c9339965ce84__trigger-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;._7893295e3f6d1af7__trigger[data-placeholder] &{color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d)}}._308bc63e43681f99__trigger-caret{flex:0 0 auto}}}");var yg="fa98c865fb77e675__is-minimal",_g=(0,l.forwardRef)(function({className:e,size:t,variant:n,children:r,placeholder:o=(0,g.__)("Select"),...i},a){return(0,s.jsx)(Cf,{className:d("_970d04df7376df67__outset-ring--focus-within-except-active","_6e4e0445ef20426b__trigger-wrapper","minimal"===n&&yg,e),size:t,isBorderless:"minimal"===n,children:(0,s.jsxs)(pg,{...i,className:d("_7893295e3f6d1af7__trigger","minimal"===n&&yg),"data-can-disable-input-layout":!0,ref:a,children:[(0,s.jsx)(gg,{placeholder:o,className:"e760c9339965ce84__trigger-value",children:r}),(0,s.jsx)(ud,{className:"_308bc63e43681f99__trigger-caret",icon:mg,size:18})]})})});const xg=m.createContext(void 0);function kg(){const e=m.useContext(xg);if(!e)throw new Error(b(59));return e}const Sg="base-ui-disable-scrollbar",Rg=Sg,Cg=e=>(0,s.jsx)("style",{nonce:e,href:Sg,precedence:"base-ui:low",children:`.${Sg}{scrollbar-width:none}.${Sg}::-webkit-scrollbar{display:none}`});function Eg(e,t){e&&Object.assign(e.style,t)}const Mg={position:"relative",maxHeight:"100%",overflowX:"hidden",overflowY:"auto"},Tg=m.createContext(void 0),zg=m.createContext(void 0),jg={disableStyleElements:!1},Ig={...Hn,...en},Ag=m.forwardRef(function(e,t){const{render:n,className:r,style:o,finalFocus:i,...a}=e,{store:c,popupRef:d,onOpenChangeComplete:l,setOpen:u,valueRef:p,firstItemTextRef:f,selectedItemTextRef:g,keyboardActiveRef:h,multiple:b,handleScrollArrowVisibility:v,scrollHandlerRef:w,listRef:y,highlightItemOnHover:_}=Xf(),{side:x,align:k,alignItemWithTriggerActive:R,isPositioned:C,setControlledAlignItemWithTrigger:E,scrollDownArrowRef:M,scrollUpArrowRef:T}=kg(),z=null!=function(){const e=m.useContext(Tg);return e}(),j=Kf(),I=Ul(),{nonce:A,disableStyleElements:O}=m.useContext(zg)??jg,P=Lt(c,ig.id),N=Lt(c,ig.open),D=Lt(c,ig.mounted),$=Lt(c,ig.popupProps),F=Lt(c,ig.transitionStatus),V=Lt(c,ig.triggerElement),L=Lt(c,ig.positionerElement),B=Lt(c,ig.listElement),H=m.useRef(!1),W=m.useRef(!1),U=m.useRef({}),G=ge(),Y=Ve(e=>{if(!L||!d.current||!W.current)return;if(H.current||!R)return void v();const t="0px"===L.style.top,n="0px"===L.style.bottom;if(!t&&!n)return void v();const r=Ng(L),o=Dg(L.getBoundingClientRect().height,"y",r),i=re(L),a=getComputedStyle(L),s=parseFloat(a.marginTop),c=parseFloat(a.marginBottom),l=Og(getComputedStyle(d.current)),u=Math.min(i.documentElement.clientHeight-s-c,l),p=e.scrollTop,f=Pg(e);let g=0,m=null,h=!1,b=!1;const w=e=>{L.style.height=`${e}px`},y=t?f-p:p,_=Math.min(o+y,u);if(g=_,y<=1)((t,n)=>{const r=sg(t,0,u-o);r>0&&w(o+r),e.scrollTop=n,u-(o+r)<=1&&(H.current=!0),v()})(y,t?f:0);else{if(u-_>1?t?b=!0:m=0:(h=!0,n&&p<f&&(m=p-(y-(o+y-u)))),g=Math.ceil(g),0!==g&&w(g),b||null!=m){const t=Pg(e),n=b?t:sg(m,0,t);Math.abs(e.scrollTop-n)>1&&(e.scrollTop=n)}(h||g>=u-1)&&(H.current=!0),v()}});m.useImperativeHandle(w,()=>Y,[Y]),tn({open:N,ref:d,onComplete(){N&&l?.(!0)}});const X={open:N,transitionStatus:F,side:x,align:k};oe(()=>{L&&d.current&&!Object.keys(U.current).length&&(U.current={top:L.style.top||"0",left:L.style.left||"0",right:L.style.right,height:L.style.height,bottom:L.style.bottom,minHeight:L.style.minHeight,maxHeight:L.style.maxHeight,marginTop:L.style.marginTop,marginBottom:L.style.marginBottom})},[d,L]),oe(()=>{N||R||(W.current=!1,H.current=!1,Eg(L,U.current))},[N,R,L,d]),oe(()=>{const e=d.current;if(!N||!V||!L||!e||R&&!C||"ending"===c.state.transitionStatus)return;if(!R)return W.current=!0,G.request(v),void e.style.removeProperty("--transform-origin");const t=function(e){const{style:t}=e,n={};for(const[e,r]of Fg)n[e]=t.getPropertyValue(e),t.setProperty(e,r,"important");return()=>{for(const[e]of Fg){const r=n[e];r?t.setProperty(e,r):t.removeProperty(e)}}}(e);e.style.removeProperty("--transform-origin");try{let t=g.current;t?.isConnected||(t=!ig.hasSelectedValue(c.state)&&f.current?.isConnected?f.current:null);const n=p.current,r=getComputedStyle(L),o=getComputedStyle(e),i=re(V),a=S(L),s=Ng(V),d=$g(V.getBoundingClientRect(),s),l=$g(L.getBoundingClientRect(),s),u=d.height,m=B||e,h=m.scrollHeight,b=parseFloat(o.borderBottomWidth),w=parseFloat(r.marginTop)||10,x=parseFloat(r.marginBottom)||10,k=parseFloat(r.minHeight)||100,R=Og(o),C=5,M=5,T=20,z=i.documentElement.clientHeight-w-x,j=i.documentElement.clientWidth,A=z-d.bottom+u;let O,P="rtl"===I?d.right-l.width:d.left,N=0;if(t&&n){const e=$g(n.getBoundingClientRect(),s);O=$g(t.getBoundingClientRect(),s),P=l.left+("rtl"===I?e.right-O.right:e.left-O.left);const r=e.top-d.top+e.height/2;N=O.top-l.top+O.height/2-r}const D=A+N+x+b;let $=Math.min(z,D);const F=z-w-x,q=D-$,G=j-M;L.style.left=`${sg(P,C,G-l.width)}px`,L.style.height=`${$}px`,L.style.maxHeight="auto",L.style.marginTop=`${w}px`,L.style.marginBottom=`${x}px`,e.style.height="100%";const Y=Pg(m),X=q>=Y-1;X&&($=Math.min(z,l.height)-(q-Y));const K=d.top<T||d.bottom>z-T||Math.ceil($)+1<Math.min(h,k),J=1!==(a.visualViewport?.scale??1)&&Z;if(K||J)return W.current=!0,Eg(L,U.current),void E(!1);const Q=Math.max(k,$);if(X){const e=Math.max(0,z-D);L.style.top=l.height>=F?"0":`${e}px`,L.style.height=`${$}px`,m.scrollTop=Pg(m)}else L.style.bottom="0",m.scrollTop=q;if(O){const t=l.top,n=l.height,r=O.top+O.height/2,o=sg(n>0?(r-t)/n*100:50,0,100);e.style.setProperty("--transform-origin",`50% ${o}%`)}(Q===z||$>=R)&&(H.current=!0),v(),_&&null===c.state.selectedIndex&&null===c.state.activeIndex&&null!=y.current[0]&&c.set("activeIndex",0),W.current=!0}finally{t()}},[c,N,L,V,p,f,g,d,v,R,E,G,M,T,B,y,_,I,C]),m.useEffect(()=>{if(R&&L&&N)return q(S(L),"resize",function(e){u(!1,Ge("window-resize",e))})},[u,R,L,N]);const K={...B?{role:"presentation","aria-orientation":void 0}:{role:"listbox","aria-multiselectable":b||void 0,id:`${P}-list`},onKeyDown(e){h.current=!0,z&&Oo.has(e.key)&&e.stopPropagation()},onMouseMove(){h.current=!1},onScroll(e){B||Y(e.currentTarget)},...R&&{style:B?{height:"100%"}:Mg}},J=In("div",e,{ref:[t,d],state:X,stateAttributesMapping:Ig,props:[$,K,Qd(F),{className:!B&&R?Rg:void 0},a]});return(0,s.jsxs)(m.Fragment,{children:[!O&&Cg(A),(0,s.jsx)(_o,{context:j,modal:!1,disabled:!D,returnFocus:i,restoreFocus:!0,children:J})]})});function Og(e){const t=e.maxHeight||"";return t.endsWith("px")&&parseFloat(t)||1/0}function Pg(e){return cg(e.scrollHeight,e.clientHeight)}function Ng(e){return Il.getScale(e)}function Dg(e,t,n){return e/n[t]}function $g(e,t){return yr({x:Dg(e.x,"x",t),y:Dg(e.y,"y",t),width:Dg(e.width,"x",t),height:Dg(e.height,"y",t)})}const Fg=[["transform","none"],["scale","1"],["translate","0 0"]],Vg=m.forwardRef(function(e,t){const{render:n,className:r,style:o,...i}=e,{store:a,scrollHandlerRef:s}=Xf(),{alignItemWithTriggerActive:c}=kg(),d=Lt(a,ig.hasScrollArrows),l=Lt(a,ig.openMethod),u=Lt(a,ig.multiple),p={id:`${Lt(a,ig.id)}-list`,role:"listbox","aria-multiselectable":u||void 0,onScroll(e){s.current?.(e.currentTarget)},...c&&{style:Mg},className:d&&"touch"!==l?Rg:void 0};return In("div",e,{ref:[t,Ve(e=>{a.set("listElement",e)})],props:[p,i]})}),Lg=m.createContext(void 0),Bg=m.forwardRef(function(e,t){const{store:n}=Xf(),r=Lt(n,ig.mounted),o=Lt(n,ig.forceMount);return r||o?(0,s.jsx)(Lg.Provider,{value:!0,children:(0,s.jsx)(ho,{ref:t,...e})}):null});var Hg=(0,l.forwardRef)(function({container:e,...t},n){return(0,s.jsx)(Bg,{container:e??ul(),...t,ref:n})});const Wg=m.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},elementsRef:{current:[]},nextIndexRef:{current:0}});function Ug(e){const{children:t,elementsRef:n,labelsRef:r,onMapChange:o}=e,i=Ve(o),a=m.useRef(0),c=ae(Gg).current,d=ae(qg).current,[l,u]=m.useState(0),p=m.useRef(l),f=Ve((e,t)=>{d.set(e,t??null),p.current+=1,u(p.current)}),g=Ve(e=>{d.delete(e),p.current+=1,u(p.current)}),h=m.useMemo(()=>{const e=new Map;return Array.from(d.keys()).filter(e=>e.isConnected).sort(Yg).forEach((t,n)=>{const r=d.get(t)??{};e.set(t,{...r,index:n})}),e},[d,l]);oe(()=>{if("function"!=typeof MutationObserver||0===h.size)return;const e=new MutationObserver(e=>{const t=new Set,n=e=>t.has(e)?t.delete(e):t.add(e);e.forEach(e=>{e.removedNodes.forEach(n),e.addedNodes.forEach(n)}),0===t.size&&(p.current+=1,u(p.current))});return h.forEach((t,n)=>{n.parentElement&&e.observe(n.parentElement,{childList:!0})}),()=>{e.disconnect()}},[h]),oe(()=>{p.current===l&&(n.current.length!==h.size&&(n.current.length=h.size),r&&r.current.length!==h.size&&(r.current.length=h.size),a.current=h.size),i(h)},[i,h,n,r,l]),oe(()=>()=>{n.current=[]},[n]),oe(()=>()=>{r&&(r.current=[])},[r]);const b=Ve(e=>(c.add(e),()=>{c.delete(e)}));oe(()=>{c.forEach(e=>e(h))},[c,h]);const v=m.useMemo(()=>({register:f,unregister:g,subscribeMapChange:b,elementsRef:n,labelsRef:r,nextIndexRef:a}),[f,g,b,n,r,a]);return(0,s.jsx)(Wg.Provider,{value:v,children:t})}function qg(){return new Map}function Gg(){return new Set}function Yg(e,t){const n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}const Xg={position:"fixed"},Kg=m.forwardRef(function(e,t){const{anchor:n,positionMethod:r="absolute",className:o,render:i,side:a="bottom",align:c="center",sideOffset:d=0,alignOffset:l=0,collisionBoundary:u="clipping-ancestors",collisionPadding:p,arrowPadding:f=5,sticky:g=!1,disableAnchorTracking:h,alignItemWithTrigger:b=!0,collisionAvoidance:v=co,style:w,...y}=e,{store:_,listRef:x,labelsRef:k,alignItemWithTriggerActiveRef:S,selectedItemTextRef:R,valuesRef:C,initialValueRef:E,popupRef:M,setValue:T}=Xf(),z=Kf(),j=Lt(_,ig.open),I=Lt(_,ig.mounted),A=Lt(_,ig.modal),O=Lt(_,ig.value),P=Lt(_,ig.openMethod),N=Lt(_,ig.positionerElement),D=Lt(_,ig.triggerElement),$=Lt(_,ig.isItemEqualToValue),F=Lt(_,ig.transitionStatus),V=m.useRef(null),L=m.useRef(null),[B,H]=m.useState(b),W=I&&B&&"touch"!==P;I||B===b||H(b),oe(()=>{I||(ig.scrollUpArrowVisible(_.state)&&_.set("scrollUpArrowVisible",!1),ig.scrollDownArrowVisible(_.state)&&_.set("scrollDownArrowVisible",!1))},[_,I]),m.useImperativeHandle(S,()=>W),function(e,t,n,r){const[o,i]=m.useState(!1);oe(()=>{if(!e||!t||null==n)return void i(!1);const r=re(n).documentElement.clientWidth,o=n.offsetWidth;i(r>0&&o>0&&o>=r-20)},[e,t,n]),xe(e&&(!t||o),r)}((W||A)&&j,"touch"===P,N,D);const U=Jl({anchor:n,floatingRootContext:z,positionMethod:r,mounted:I,side:a,sideOffset:d,align:c,alignOffset:l,arrowPadding:f,collisionBoundary:u,collisionPadding:p,sticky:g,disableAnchorTracking:h??W,collisionAvoidance:v,keepMounted:!0}),q=W?"none":U.side,G=W?Xg:U.positionerStyles,Y={open:j,side:q,align:U.align,anchorHidden:U.anchorHidden};oe(()=>{_.set("popupSide",U.side)},[_,U.side]);const X=Ve(e=>{_.set("positionerElement",e)}),K=eu(e,Y,{styles:G,transitionStatus:F,props:y,refs:[t,X],hidden:!I,inert:!j}),Z=m.useRef(0),J=Ve(e=>{if(0===e.size&&0===Z.current)return;if(0===C.current.length)return;const t=Z.current;if(Z.current=e.size,e.size===t)return;const n=Ge(Ye);if(0!==t&&!_.state.multiple&&null!==O&&-1===Qf(C.current,O,$)){const e=E.current,t=null!=e&&-1!==Qf(C.current,e,$)?e:null;T(t,n),null===t&&(_.set("selectedIndex",null),R.current=null)}if(0!==t&&_.state.multiple&&Array.isArray(O)){const e=e=>-1!==Qf(C.current,e,$),t=O.filter(t=>e(t));(t.length!==O.length||t.some(e=>{return n=e,r=$,!((t=O)&&0!==t.length&&t.some(e=>void 0!==e&&Jf(n,e,r)));var t,n,r}))&&(T(t,n),0===t.length&&(_.set("selectedIndex",null),R.current=null))}if(j&&W){_.update({scrollUpArrowVisible:!1,scrollDownArrowVisible:!1});const e={height:""};Eg(N,e),Eg(M.current,e)}}),Q=m.useMemo(()=>({...U,side:q,alignItemWithTriggerActive:W,setControlledAlignItemWithTrigger:H,scrollUpArrowRef:V,scrollDownArrowRef:L}),[U,q,W,H]);return(0,s.jsx)(Ug,{elementsRef:x,labelsRef:k,onMapChange:J,children:(0,s.jsxs)(xg.Provider,{value:Q,children:[I&&A&&(0,s.jsx)(Cc,{inert:Rc(!j),cutout:D}),K]})})});var Zg={align:"start",sideOffset:8,collisionPadding:12},Jg="data-wp-hash";function Qg(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=Qg();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)em(e,n,r)}(document)),e.__wpStyleRuntime}function em(e,t,n){if(!e.head)return;const r=Qg();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${Jg}]`))if(n.getAttribute(Jg)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(Jg,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}function tm(e,t){const n=Qg();n.styles.set(e,t);for(const r of n.documents.keys())em(r,e,t)}tm("10f3806643","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}");tm("8c70612dd7","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._0ab863136fb95530__positioner{z-index:var(--wp-ui-select-z-index,initial)}}}");var nm=(0,l.forwardRef)(function({className:e,...t},n){return(0,s.jsx)(Kg,{...Zg,alignItemWithTrigger:!1,...t,ref:n,className:d("_336cd3e4e743482f__box-sizing","_0ab863136fb95530__positioner",e)})}),rm="data-wp-hash";function om(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=om();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)im(e,n,r)}(document)),e.__wpStyleRuntime}function im(e,t,n){if(!e.head)return;const r=om();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${rm}]`))if(n.getAttribute(rm)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(rm,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}!function(e,t){const n=om();n.styles.set(e,t);for(const r of n.documents.keys())im(r,e,t)}("b5813d84e6",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._380b81b8f79fb10f__dropdown-motion{--wp-ui-dropdown-slide-distance:4px;--wp-ui-dropdown-slide-duration:var(--wpds-motion-duration-md,200ms);--wp-ui-dropdown-slide-easing:var(--wpds-motion-easing-expressive,cubic-bezier(0.25,0,0,1));--wp-ui-dropdown-fade-duration:var(--wpds-motion-duration-sm,100ms);--wp-ui-dropdown-fade-easing:linear;@media not (prefers-reduced-motion){transition-duration:var(--wp-ui-dropdown-slide-duration),var(--wp-ui-dropdown-fade-duration);transition-property:transform,opacity;transition-timing-function:var(--wp-ui-dropdown-slide-easing),var(--wp-ui-dropdown-fade-easing);will-change:transform,opacity}opacity:1;transform:translate(0);&[data-instant]{transition:none}&[data-ending-style],&[data-starting-style]{opacity:0}&[data-side=bottom][data-ending-style],&[data-side=bottom][data-starting-style]{transform:translateY(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=top][data-ending-style],&[data-side=top][data-starting-style]{transform:translateY(var(--wp-ui-dropdown-slide-distance))}&[data-side=left][data-ending-style],&[data-side=left][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=right][data-ending-style],&[data-side=right][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}}}}@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._234b520016b4e56f__popup{--wp-ui-popup-padding:var(--wpds-dimension-padding-xs,4px);background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb);border-radius:var(--wpds-border-radius-md,4px);box-shadow:var(--wpds-elevation-md,0 2px 3px 0 #0000000d,0 4px 5px 0 #0000000a,0 12px 12px 0 #00000008,0 16px 16px 0 #00000005);display:grid;grid-template-areas:"header" "main";grid-template-rows:auto minmax(0,1fr);max-height:min(var(--available-height),480px,60dvh);max-width:var(--available-width);min-width:var(--anchor-width)}.f43dc7c768d7b622__list{color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);display:grid;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);grid-area:main;grid-template-areas:"scrollable" "footer";grid-template-rows:minmax(0,1fr) auto;line-height:var(--wpds-typography-line-height-sm,20px)}._233cd60cdb84a2ef__list-scrollable-container{grid-area:scrollable;overflow-block:auto;overscroll-behavior:contain;scroll-padding-block:var(--wp-ui-popup-padding);&:not(:empty){padding-block:var(--wp-ui-popup-padding)}}.ec4db6f0122263e7__list-footer{grid-area:footer;padding-block:var(--wp-ui-popup-padding);._233cd60cdb84a2ef__list-scrollable-container:not(:empty)+&{border-block-start:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb)}}.b3c0d7f103fb10a2__group:not(:first-child){margin-block-start:var(--wpds-dimension-gap-sm,8px)}._21b59380477c306c__group-label{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;min-height:var(--wpds-dimension-size-md,32px);padding-inline:var(--wpds-dimension-padding-md,12px)}._684ccb7988365b4f__item{--wp-ui-popup-item-height:var(--wpds-dimension-size-lg,40px);--wp-ui-popup-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-popup-item-padding-block:var(--wpds-dimension-padding-xs,4px);align-items:center;border-radius:var(--wpds-border-radius-sm,2px);display:flex;gap:var(--wpds-dimension-gap-xs,4px);justify-content:flex-start;margin-inline:var(--wp-ui-popup-padding);min-height:var(--wp-ui-popup-item-height);padding-block:var(--wp-ui-popup-item-padding-block);padding-inline-end:var(--wp-ui-popup-item-padding-inline);padding-inline-start:calc(var(--wp-ui-popup-item-padding-inline) - var(--wpds-dimension-padding-xs, 4px));user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&.f181b98b0d33282a__is-size-compact{--wp-ui-popup-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-popup-item-padding-inline:var(--wpds-dimension-padding-sm,8px)}&._38f7faff93c61958__is-size-small{--wp-ui-popup-item-height:var(--wpds-dimension-size-sm,24px);--wp-ui-popup-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-popup-item-padding-block:2px}&:not([data-selected]){._92fbe4765dfad5ee__item-indicator-icon{opacity:0}}&[data-highlighted]:not([aria-disabled=true]){background-color:var(--wpds-color-background-interactive-brand-weak-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 12%,#fff));color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);outline:none;@media (forced-colors:active){outline:1px solid Highlight}}&[aria-disabled=true]{background-color:var(--wpds-color-background-interactive-brand-weak-disabled,#0000);color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d);@media (forced-colors:active){color:GrayText}}}.a3adcfd0b73ffd40__item-icon{flex-shrink:0}._06c7ff39d2f685b9__empty:not(:empty){--wp-ui-popup-empty-min-height:var(--wpds-dimension-size-lg,40px);--wp-ui-popup-empty-padding-inline:var(--wpds-dimension-padding-md,12px);align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;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);grid-area:main;line-height:var(--wpds-typography-line-height-sm,20px);min-height:var(--wp-ui-popup-empty-min-height);padding-inline:var(--wp-ui-popup-empty-padding-inline)}}}');var am=(0,l.forwardRef)(function({className:e,portal:t,positioner:n,children:r,...o},i){const a=(0,s.jsx)(Sc,{children:(0,s.jsx)(Ag,{ref:i,className:d("_234b520016b4e56f__popup _380b81b8f79fb10f__dropdown-motion",e),...o,children:(0,s.jsx)(Vg,{className:"f43dc7c768d7b622__list",children:(0,s.jsx)("div",{className:"_233cd60cdb84a2ef__list-scrollable-container",children:r})})})}),c=ci(n,(0,s.jsx)(nm,{}),a);return ci(t,(0,s.jsx)(Hg,{}),c)}),sm="data-wp-hash";function cm(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=cm();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)dm(e,n,r)}(document)),e.__wpStyleRuntime}function dm(e,t,n){if(!e.head)return;const r=cm();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${sm}]`))if(n.getAttribute(sm)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(sm,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}function lm(e,t){const n=cm();n.styles.set(e,t);for(const r of n.documents.keys())dm(r,e,t)}lm("d390e935a7","._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-medium,499));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)}");lm("4b9484aa9f",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._2d5ad850b2f90964__label{--wp-ui-field-label-line-height:var(--wpds-typography-line-height-xs,16px);color:var(--wpds-color-foreground-content-neutral,#1e1e1e);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-xs,11px);font-weight:var(--wpds-typography-font-weight-medium,499);line-height:var(--wp-ui-field-label-line-height);text-transform:uppercase;&._17c4214649230bea__is-plain{font-size:var(--wpds-typography-font-size-md,13px);text-transform:none}}._08a3750500e0233f__description{--_gcd-p-font-size:var(--wpds-typography-font-size-sm,12px);--_gcd-p-line-height:var(--wpds-typography-line-height-xs,16px);--_gcd-p-margin:0;text-wrap:pretty;color:var(--wpds-color-foreground-content-neutral-weak,#707070);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-sm,12px);line-height:var(--wpds-typography-line-height-xs,16px)}}}');var um=(0,l.forwardRef)(function({className:e,...t},n){return(0,s.jsx)($f,{ref:n,className:d("_43cec3e1eec1066d__p","_08a3750500e0233f__description",e),...t})}),pm=(0,l.createContext)(void 0);let fm=function(e){return e[e.None=0]="None",e[e.GuessFromOrder=1]="GuessFromOrder",e}({});const gm=m.createContext(void 0),mm=m.memo(m.forwardRef(function(e,t){const{render:n,className:r,style:o,value:i=null,label:a,disabled:c=!1,nativeButton:d=!1,...l}=e,u=m.useRef(null),p=function(e={}){const{label:t,metadata:n,textRef:r,indexGuessBehavior:o,index:i}=e,{register:a,unregister:s,subscribeMapChange:c,elementsRef:d,labelsRef:l,nextIndexRef:u}=m.useContext(Wg),p=m.useRef(-1),[f,g]=m.useState(i??(o===fm.GuessFromOrder?()=>{if(-1===p.current){const e=u.current;u.current+=1,p.current=e}return p.current}:-1)),h=m.useRef(null),b=m.useCallback(e=>{if(h.current=e,-1!==f&&null!==e&&(d.current[f]=e,l)){const n=void 0!==t;l.current[f]=n?t:r?.current?.textContent??e.textContent}},[f,d,l,t,r]);return oe(()=>{if(null!=i)return;const e=h.current;return e?(a(e,n),()=>{s(e)}):void 0},[i,a,s,n]),oe(()=>{if(null==i)return c(e=>{const t=h.current?e.get(h.current)?.index:null;null!=t&&g(t)})},[i,c,g]),m.useMemo(()=>({ref:b,index:f}),[f,b])}({label:a,textRef:u,indexGuessBehavior:fm.GuessFromOrder}),{store:f,itemProps:g,setOpen:h,setValue:b,selectionRef:v,typingRef:w,valuesRef:y,multiple:_,selectedItemTextRef:x}=Xf(),k=Lt(f,ig.isActive,p.index),S=Lt(f,ig.isSelected,p.index,i),R=Lt(f,ig.isSelectedByFocus,p.index),C=Lt(f,ig.isItemEqualToValue),E=p.index,M=-1!==E,T=m.useRef(null);oe(()=>{if(!M)return;const e=y.current;return e[E]=i,()=>{delete e[E]}},[M,E,i,y]),oe(()=>{if(!M)return;const e=f.state.value;let t=e;_&&Array.isArray(e)&&e.length>0&&(t=e[e.length-1]),void 0!==t&&Jf(i,t,C)&&(f.set("selectedIndex",E),u.current&&(x.current=u.current))},[M,E,_,C,f,i,x]);const z=m.useRef(null),j=m.useRef("mouse"),I=m.useRef(!1),{getButtonProps:A,buttonRef:O}=Jc({disabled:c,focusableWhenDisabled:!0,native:d,composite:!0}),P={disabled:c,selected:S,highlighted:k};function N(){v.current.dragY=0}const D={role:"option","aria-selected":S,tabIndex:k?0:-1,onKeyDown(e){z.current=e.key,f.set("activeIndex",E)," "===e.key&&w.current&&e.preventDefault()},onClick(e){const t="click"===e.type&&"touch"!==j.current,n=e.nativeEvent.pointerType,r=t&&yt(e.nativeEvent)&&(void 0!==n||k),o=t&&!r&&!I.current;I.current=!1,"keydown"===e.type&&null===z.current||c||"keydown"===e.type&&" "===z.current&&w.current||o||(z.current=null,function(e){const t=f.state.value;if(_){const n=Array.isArray(t)?t:[],r=S?function(e,t,n){return e.filter(e=>!Jf(t,e,n))}(n,i,C):[...n,i];b(r,Ge(Qe,e))}else b(i,Ge(Qe,e)),h(!1,Ge(Qe,e))}(e.nativeEvent))},onPointerEnter(e){j.current=e.pointerType},onPointerMove(e){if("mouse"===e.pointerType&&1===e.buttons){const t=v.current;t.dragY+=e.movementY,t.dragY**2>=64&&(t.allowUnselectedMouseUp=!0)}},onPointerDown(e){j.current=e.pointerType,I.current=!0,N()},onMouseUp(){if(N(),c||"touch"===j.current)return;if(I.current)return;const e=!v.current.allowSelectedMouseUp&&S,t=!v.current.allowUnselectedMouseUp&&!S;e||t||(I.current=!0,T.current?.click(),I.current=!1)}},$=In("div",e,{ref:[O,t,p.ref,T],state:P,props:[g,D,l,A]}),F=m.useMemo(()=>({selected:S,index:E,textRef:u,selectedByFocus:R,hasRegistered:M}),[S,E,u,R,M]);return(0,s.jsx)(gm.Provider,{value:F,children:$})})),hm=m.memo(m.forwardRef(function(e,t){const{index:n,textRef:r,selectedByFocus:o,hasRegistered:i}=function(){const e=m.useContext(gm);if(!e)throw new Error(b(57));return e}(),{firstItemTextRef:a,selectedItemTextRef:s}=Xf(),{render:c,className:d,style:l,...u}=e;return In("div",e,{ref:[m.useCallback(e=>{e&&(i&&0===n&&(a.current=e),i&&o&&(s.current=e))},[a,s,n,o,i]),t,r],props:u})}));var bm=(0,s.jsx)(td.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,s.jsx)(td.Path,{d:"M16.5 7.5 10 13.9l-2.5-2.4-1 1 3.5 3.6 7.5-7.6z"})}),vm="data-wp-hash";function wm(){const e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},"undefined"!=typeof document&&function(e){const t=wm();t.documents.set(e,(t.documents.get(e)??0)+1);for(const[n,r]of t.styles)ym(e,n,r)}(document)),e.__wpStyleRuntime}function ym(e,t,n){if(!e.head)return;const r=wm();let o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(function(e,t){if(!e.head)return!1;for(const n of e.head.querySelectorAll(`style[${vm}]`))if(n.getAttribute(vm)===t)return!0;return!1}(e,t))return void o.add(t);const i=e.createElement("style");i.setAttribute(vm,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}function _m(e,t){const n=wm();n.styles.set(e,t);for(const r of n.documents.keys())ym(r,e,t)}_m("b5813d84e6",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._380b81b8f79fb10f__dropdown-motion{--wp-ui-dropdown-slide-distance:4px;--wp-ui-dropdown-slide-duration:var(--wpds-motion-duration-md,200ms);--wp-ui-dropdown-slide-easing:var(--wpds-motion-easing-expressive,cubic-bezier(0.25,0,0,1));--wp-ui-dropdown-fade-duration:var(--wpds-motion-duration-sm,100ms);--wp-ui-dropdown-fade-easing:linear;@media not (prefers-reduced-motion){transition-duration:var(--wp-ui-dropdown-slide-duration),var(--wp-ui-dropdown-fade-duration);transition-property:transform,opacity;transition-timing-function:var(--wp-ui-dropdown-slide-easing),var(--wp-ui-dropdown-fade-easing);will-change:transform,opacity}opacity:1;transform:translate(0);&[data-instant]{transition:none}&[data-ending-style],&[data-starting-style]{opacity:0}&[data-side=bottom][data-ending-style],&[data-side=bottom][data-starting-style]{transform:translateY(calc(var(--wp-ui-dropdown-slide-distance)*-1))}&[data-side=top][data-ending-style],&[data-side=top][data-starting-style]{transform:translateY(var(--wp-ui-dropdown-slide-distance))}&[data-side=left][data-ending-style],&[data-side=left][data-starting-style]{transform:translateX(var(--wp-ui-dropdown-slide-distance))}&[data-side=right][data-ending-style],&[data-side=right][data-starting-style]{transform:translateX(calc(var(--wp-ui-dropdown-slide-distance)*-1))}}}}@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._234b520016b4e56f__popup{--wp-ui-popup-padding:var(--wpds-dimension-padding-xs,4px);background-color:var(--wpds-color-background-surface-neutral-strong,#fff);border:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb);border-radius:var(--wpds-border-radius-md,4px);box-shadow:var(--wpds-elevation-md,0 2px 3px 0 #0000000d,0 4px 5px 0 #0000000a,0 12px 12px 0 #00000008,0 16px 16px 0 #00000005);display:grid;grid-template-areas:"header" "main";grid-template-rows:auto minmax(0,1fr);max-height:min(var(--available-height),480px,60dvh);max-width:var(--available-width);min-width:var(--anchor-width)}.f43dc7c768d7b622__list{color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);display:grid;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);grid-area:main;grid-template-areas:"scrollable" "footer";grid-template-rows:minmax(0,1fr) auto;line-height:var(--wpds-typography-line-height-sm,20px)}._233cd60cdb84a2ef__list-scrollable-container{grid-area:scrollable;overflow-block:auto;overscroll-behavior:contain;scroll-padding-block:var(--wp-ui-popup-padding);&:not(:empty){padding-block:var(--wp-ui-popup-padding)}}.ec4db6f0122263e7__list-footer{grid-area:footer;padding-block:var(--wp-ui-popup-padding);._233cd60cdb84a2ef__list-scrollable-container:not(:empty)+&{border-block-start:var(--wpds-border-width-xs,1px) solid var(--wpds-color-stroke-surface-neutral,#dbdbdb)}}.b3c0d7f103fb10a2__group:not(:first-child){margin-block-start:var(--wpds-dimension-gap-sm,8px)}._21b59380477c306c__group-label{align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;min-height:var(--wpds-dimension-size-md,32px);padding-inline:var(--wpds-dimension-padding-md,12px)}._684ccb7988365b4f__item{--wp-ui-popup-item-height:var(--wpds-dimension-size-lg,40px);--wp-ui-popup-item-padding-inline:var(--wpds-dimension-padding-md,12px);--wp-ui-popup-item-padding-block:var(--wpds-dimension-padding-xs,4px);align-items:center;border-radius:var(--wpds-border-radius-sm,2px);display:flex;gap:var(--wpds-dimension-gap-xs,4px);justify-content:flex-start;margin-inline:var(--wp-ui-popup-padding);min-height:var(--wp-ui-popup-item-height);padding-block:var(--wp-ui-popup-item-padding-block);padding-inline-end:var(--wp-ui-popup-item-padding-inline);padding-inline-start:calc(var(--wp-ui-popup-item-padding-inline) - var(--wpds-dimension-padding-xs, 4px));user-select:none;&:not([data-disabled]){cursor:var(--wpds-cursor-control,pointer)}&.f181b98b0d33282a__is-size-compact{--wp-ui-popup-item-height:var(--wpds-dimension-size-md,32px);--wp-ui-popup-item-padding-inline:var(--wpds-dimension-padding-sm,8px)}&._38f7faff93c61958__is-size-small{--wp-ui-popup-item-height:var(--wpds-dimension-size-sm,24px);--wp-ui-popup-item-padding-inline:var(--wpds-dimension-padding-sm,8px);--wp-ui-popup-item-padding-block:2px}&:not([data-selected]){._92fbe4765dfad5ee__item-indicator-icon{opacity:0}}&[data-highlighted]:not([aria-disabled=true]){background-color:var(--wpds-color-background-interactive-brand-weak-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 12%,#fff));color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);outline:none;@media (forced-colors:active){outline:1px solid Highlight}}&[aria-disabled=true]{background-color:var(--wpds-color-background-interactive-brand-weak-disabled,#0000);color:var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d);@media (forced-colors:active){color:GrayText}}}.a3adcfd0b73ffd40__item-icon{flex-shrink:0}._06c7ff39d2f685b9__empty:not(:empty){--wp-ui-popup-empty-min-height:var(--wpds-dimension-size-lg,40px);--wp-ui-popup-empty-padding-inline:var(--wpds-dimension-padding-md,12px);align-items:center;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:flex;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);grid-area:main;line-height:var(--wpds-typography-line-height-sm,20px);min-height:var(--wp-ui-popup-empty-min-height);padding-inline:var(--wp-ui-popup-empty-padding-inline)}}}');var xm={popup:"_234b520016b4e56f__popup _380b81b8f79fb10f__dropdown-motion",list:"f43dc7c768d7b622__list","list-scrollable-container":"_233cd60cdb84a2ef__list-scrollable-container","list-footer":"ec4db6f0122263e7__list-footer",group:"b3c0d7f103fb10a2__group","group-label":"_21b59380477c306c__group-label",item:"_684ccb7988365b4f__item","is-size-compact":"f181b98b0d33282a__is-size-compact","is-size-small":"_38f7faff93c61958__is-size-small","item-indicator-icon":"_92fbe4765dfad5ee__item-indicator-icon","item-icon":"a3adcfd0b73ffd40__item-icon",empty:"_06c7ff39d2f685b9__empty"};_m("10f3806643","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}");var km=(0,l.forwardRef)(function({className:e,value:t,size:n="default",children:r,...o},i){return(0,s.jsxs)(mm,{className:d("_336cd3e4e743482f__box-sizing",xm.item,xm[`is-size-${n}`],e),value:t,ref:i,...o,children:[(0,s.jsx)(ud,{icon:bm,className:d(xm["item-icon"],xm["item-indicator-icon"]),size:"small"===n?20:24}),(0,s.jsx)(hm,{children:r})]})}),Sm=(0,l.forwardRef)(function({size:e,...t},n){const r=(0,l.useContext)(pm),o=e??r;return(0,s.jsx)(km,{size:o,ref:n,...t})}),Rm=(0,l.forwardRef)(function({className:e,children:t,items:n,label:r,description:o,details:i,hideLabelFromVision:a,placeholder:c,size:d="default",triggerContent:l,...u},p){return(0,s.jsxs)(Jp,{className:e,children:[(0,s.jsx)(df,{hideFromVision:a,children:r}),(0,s.jsxs)(lg,{items:n,...u,children:[(0,s.jsx)(_g,{ref:p,placeholder:c,size:d,children:l}),(0,s.jsx)(am,{children:(0,s.jsx)(pm.Provider,{value:d,children:void 0!==t?t:n?.map(e=>(0,s.jsx)(Sm,{value:e,label:e.label,disabled:e.disabled,children:e.label},e.value??"null"))})})]}),o&&(0,s.jsx)(um,{children:o}),i&&(0,s.jsx)(Bf,{children:i})]})});Sm.displayName="SelectControl.Item";var Cm=Object.assign(Rm,{Item:Sm}),Em=(0,l.forwardRef)(function({className:e,label:t,description:n,details:r,hideLabelFromVision:o,...i},a){return(0,s.jsxs)(Jp,{className:e,children:[(0,s.jsx)(df,{hideFromVision:o,children:t}),(0,s.jsx)(jf,{ref:a,...i}),n&&(0,s.jsx)(um,{children:n}),r&&(0,s.jsx)(Bf,{children:r})]})});const Mm=(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false",children:(0,s.jsx)("path",{d:"M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z"})}),Tm=(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false",children:(0,s.jsx)("path",{d:"M7 11.25h10v1.5H7z"})}),zm=e=>{if("number"==typeof e&&Number.isFinite(e))return e;if("string"==typeof e&&""!==e.trim()){const t=Number(e);if(Number.isFinite(t))return t}},jm=e=>{const t=String(e).toLowerCase();if(t.includes("e-")){const[e,n]=t.split("e-"),r=e.split(".")[1]?.length??0;return Number(n)+r}const n=t.split(".")[1];return n?n.length:0},Im=({id:e,label:t,help:n,value:r,placeholder:o,disabled:i,onChange:a,inputAttributes:c})=>{const d=zm(c?.min),l=zm(c?.max),u=zm(c?.step),p="number"==typeof u&&u>0?u:1,m=zm(r),h=e=>{let t=(m??0)+e*p;void 0!==d&&(t=Math.max(d,t)),void 0!==l&&(t=Math.min(l,t));const n=((...e)=>Math.max(...e.map(jm)))(p,m??0,d??0,l??0),r=Math.min(Math.max(n,0),100),o=String(n>100?t:Number(t.toFixed(r)));a(o),(0,od.speak)(o)},b=i||void 0!==l&&void 0!==m&&m>=l,v=i||void 0!==d&&void 0!==m&&m<=d,w=t?(0,g.sprintf)((0,g.__)("Increment %s","woocommerce"),t):(0,g.__)("Increment","woocommerce"),y=t?(0,g.sprintf)((0,g.__)("Decrement %s","woocommerce"),t):(0,g.__)("Decrement","woocommerce");return(0,s.jsx)(f.BaseControl,{className:"wc-settings-ui__control",id:e,label:t,help:n,__nextHasNoMarginBottom:!0,children:(0,s.jsxs)("div",{className:"wc-settings-ui__number-control",children:[(0,s.jsx)("input",{...c,className:"wc-settings-ui__number-control-input",type:"number",id:e,value:r,placeholder:o,disabled:i,"aria-describedby":n?`${e}__help`:void 0,onChange:e=>a(e.currentTarget.value)}),(0,s.jsxs)("div",{className:"wc-settings-ui__number-control-spin-buttons",children:[(0,s.jsx)(f.Button,{size:"small",icon:Mm,label:w,disabled:b,accessibleWhenDisabled:!0,onClick:()=>h(1)}),(0,s.jsx)(f.Button,{size:"small",icon:Tm,label:y,disabled:v,accessibleWhenDisabled:!0,onClick:()=>h(-1)})]})]})})},Am=["text","password","datetime-local","date","time","email","url","tel"],Om=e=>null==e?"":String(e),Pm=e=>{if(void 0!==e)return"boolean"!=typeof e||e},Nm=e=>e?(0,s.jsx)("span",{dangerouslySetInnerHTML:{__html:Tp(e)}}):void 0,Dm=({field:e,value:t,onChange:n})=>{if("info"===e.type)return(0,s.jsxs)("div",{className:"wc-settings-ui__info",id:e.id,children:[(0,s.jsx)("strong",{children:e.label}),e.description?(0,s.jsx)(l.RawHTML,{children:Tp(e.description)}):null]});if("checkbox"===e.type)return(0,s.jsx)(f.CheckboxControl,{className:"wc-settings-ui__control",label:e.label,help:Nm(e.description),checked:!0===t||"yes"===t||"1"===t,disabled:e.disabled,onChange:n,__nextHasNoMarginBottom:!0});if("textarea"===e.type)return(0,s.jsxs)(Jp,{className:"wc-settings-ui__control",children:[(0,s.jsx)(df,{children:e.label}),(0,s.jsx)(Df,{value:Om(t),placeholder:e.placeholder,disabled:e.disabled,onChange:e=>n(e.target.value)}),e.description?(0,s.jsx)(Bf,{children:Nm(e.description)}):null]});if("select"===e.type||"radio"===e.type){const r=(e.options||[]).map(e=>({value:e.value,label:e.label})),o=r.find(e=>e.value===Om(t))??null;return(0,s.jsx)(Cm,{className:"wc-settings-ui__control",label:e.label,details:Nm(e.description),items:r,value:o,disabled:e.disabled,onValueChange:e=>n(e?.value??"")})}if("array"===e.type){const r=Array.isArray(t)?t:[];return(0,s.jsx)(f.BaseControl,{className:"wc-settings-ui__control",id:e.id,label:e.label,help:Nm(e.description),__nextHasNoMarginBottom:!0,children:(0,s.jsx)("select",{id:e.id,multiple:!0,disabled:e.disabled,value:r,onChange:e=>{n(Array.from(e.currentTarget.selectedOptions).map(e=>e.value))},children:(e.options||[]).map(e=>(0,s.jsx)("option",{value:e.value,children:e.label},e.value))})})}if("number"===e.type){const r=(e=>{const t=e&&"object"==typeof e?e:{},{disabled:n,placeholder:r,...o}=t,i="boolean"==typeof r?void 0:r;return{disabled:Pm(n),placeholder:(a=i,void 0===a?void 0:String(a)),inputAttributes:o};var a})(e.customAttributes);return(0,s.jsx)(Im,{id:e.id,label:e.label,help:Nm(e.description),value:Om(t),placeholder:e.placeholder??r.placeholder,disabled:e.disabled??r.disabled,onChange:n,inputAttributes:r.inputAttributes})}return(e=>Am.includes(e))(e.type)?(0,s.jsx)(Em,{className:"wc-settings-ui__control",type:e.type,label:e.label,details:Nm(e.description),value:Om(t),placeholder:e.placeholder,disabled:e.disabled,onChange:e=>n(e.target.value),...e.customAttributes}):(kp(`Field type "${e.type}" is not supported.`,{field:e}),(0,s.jsx)(Em,{className:"wc-settings-ui__control",label:e.label,details:Nm(e.description),value:Om(t),disabled:e.disabled,onChange:e=>n(e.target.value)}))},$m=[],Fm=["components","fieldOverrides","typeRenderers","fieldVisibility","groupVisibility","saveHandlers","regions"],Vm=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),Lm=e=>void 0!==e.section,Bm=(e,t)=>e.scope.page===t.page&&(!Lm(e.scope)||(e.scope.section??"")===(t.section??"")),Hm=(e,t)=>{for(let n=$m.length-1;n>=0;n--){const r=$m[n];if(!Bm(r,e))continue;const o=t(r);if(void 0!==o)return o}},Wm=e=>`${e.page}::${Lm(e)?e.section||"default":"*"}`,Um=e=>{if(!(e=>{if(!Vm(e))return!1;const t=e.scope;return!!Vm(t)&&"string"==typeof t.page&&0!==t.page.length&&(void 0===t.section||"string"==typeof t.section)&&Fm.every(t=>{const n=e[t];return void 0===n||Vm(n)})})(e))return void kp("Invalid settings extension registration payload.",{registration:e});const t=Fm.some(t=>((e,t)=>{const n=e[t];if(!n)return;const r=Object.keys(n);if(0===r.length)return;const o=Wm(e.scope);for(const e of $m){if(Wm(e.scope)!==o)continue;const n=e[t];if(n&&r.some(e=>Object.prototype.hasOwnProperty.call(n,e)))return!0}return!1})(e,t));if(t){kp(`Registration already exists for scope "${Wm(e.scope)}". Replacing the existing registration.`,{registration:e});for(let t=$m.length-1;t>=0;t--)Wm($m[t].scope)===Wm(e.scope)&&$m.splice(t,1)}$m.push(e)},qm=(e,t)=>{const n=e.component,r=(n?Hm(t,e=>e.components?.[n]):void 0)??Hm(t,t=>t.fieldOverrides?.[e.id])??Hm(t,t=>t.typeRenderers?.[e.type]);if(r)return r;e.component&&kp(`Component "${e.component}" is not registered.`,{field:e,context:t})},Gm=(e,t)=>Hm(t,t=>t.fieldVisibility?.[e]),Ym=(e,t)=>Hm(t,t=>t.groupVisibility?.[e]),Xm=(e,t)=>{const n=Hm(t,t=>t.saveHandlers?.[e]);if(n)return n;kp(`Save handler "${e}" is not registered.`,{context:t})},Km=(e,t)=>{const n=Hm(t,t=>t.regions?.[e]);if(n)return n;kp(`Region component "${e}" is not registered.`,{context:t})};"undefined"!=typeof window&&(window.wcSettingsUI={...window.wcSettingsUI||{},registerSettingsExtension:Um});const Zm="wc_settings_ui_redirect_to",Jm=e=>"default"===e?"":e,Qm=e=>{const t={};return Object.values(e.groups).forEach(e=>{e.fields.forEach(e=>{t[e.id]=void 0===e.value?"":e.value})}),t},eh=(e,t)=>Array.isArray(e)||Array.isArray(t)?Array.isArray(e)&&Array.isArray(t)&&e.length===t.length&&e.every((e,n)=>e===t[n]):e===t,th=e=>`wc-settings-ui__field--${e.replace(/[^a-z0-9_-]/gi,"-")}`,nh={default:"draft",info:"informational",success:"stable",warning:"medium",error:"high"},rh=({isSaving:e,onClose:t,onDiscard:n,onSave:r})=>(0,s.jsx)(En,{open:!0,onOpenChange:e=>{e||t()},children:(0,s.jsxs)(Ac,{className:"wc-settings-ui__unsaved-changes-modal",portal:(0,s.jsx)(Mc,{className:"wc-settings-ui__unsaved-changes-portal"}),size:"small",children:[(0,s.jsxs)($c,{children:[(0,s.jsx)(Kc,{children:(0,g.__)("You have unsaved changes","woocommerce")}),(0,s.jsx)(hu,{})]}),(0,s.jsx)(_u,{children:(0,s.jsx)(Cu,{children:(0,g.__)("If you leave now, your changes won't be saved.","woocommerce")})}),(0,s.jsxs)(zu,{className:"wc-settings-ui__unsaved-changes-actions",children:[(0,s.jsx)(hd,{variant:"minimal",onClick:n,children:(0,g.__)("Discard","woocommerce")}),(0,s.jsx)(hd,{loading:e,disabled:e,onClick:r,children:(0,g.__)("Save","woocommerce")})]})]})}),oh=({group:e})=>e.title||e.description||(e.actions||[]).length>0?(0,s.jsxs)(Ou,{className:"wc-settings-ui__section-header",render:(0,s.jsx)(Fu,{render:(0,s.jsx)("header",{}),direction:"row",gap:"xl",align:"flex-start",justify:"space-between"}),children:[(0,s.jsxs)("div",{className:"wc-settings-ui__section-heading",children:[e.title?(0,s.jsx)(Lu,{render:(0,s.jsx)("h2",{}),children:e.title}):null,e.description?(0,s.jsx)(qc,{className:"wc-settings-ui__section-description",variant:"body-md",render:(0,s.jsx)("div",{}),children:(0,s.jsx)(l.RawHTML,{children:Tp(e.description)})}):null]}),e.actions&&e.actions.length>0?(0,s.jsx)(Fu,{className:"wc-settings-ui__section-actions",direction:"row",gap:"sm",wrap:"wrap",children:e.actions.map(e=>{return(0,s.jsx)(f.Button,{variant:(t=e.variant,["primary","secondary","tertiary","link"].includes(t||"")?t:"secondary"),href:e.href,target:e.target,rel:e.rel,children:e.label},e.id);var t})}):null]}):null,ih=({id:e,kind:t,field:n,values:r,initialValues:o,context:i,schema:a})=>{const s="field"===t?Gm(e,i):Ym(e,i);if(s)try{return s({values:r,initialValues:o,context:i,schema:a})}catch(n){return kp(`Visibility predicate for ${t} "${e}" failed. Rendering it visible.`,{error:n,context:i}),!0}return!n?.visibility||(c=r[n.visibility.controller],d=n.visibility.value,(Array.isArray(d)?d:[d??!0]).some(e=>eh(c,e)));var c,d};class ah extends l.Component{state={hasError:!1};static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){Sp("Settings UI render failed.",{error:e,errorInfo:t})}render(){return this.state.hasError?(0,s.jsx)(Qu,{intent:"error",children:(0,s.jsx)(rp,{children:(0,g.__)("Something went wrong while rendering this settings page. Reload the page with the settings UI feature disabled to use the classic settings screen.","woocommerce")})}):this.props.children}}const sh=({schema:e,context:t,values:n,initialValues:r,actions:o,children:i})=>{const a=e.shell||{},c="visible"===a.header,d=a.title||e.title,l=a.navigationComponent?Km(a.navigationComponent,t):void 0,u=Boolean(a.navigation&&a.navigation.length>0||a.sectionNavigation&&a.sectionNavigation.length>0||l),f=a.breadcrumbs&&a.breadcrumbs.length>0?(0,s.jsx)("nav",{className:"wc-settings-ui-shell__breadcrumbs","aria-label":(0,g.__)("Breadcrumbs","woocommerce"),children:a.breadcrumbs.map((e,t)=>(0,s.jsx)("span",{className:"wc-settings-ui-shell__breadcrumb",children:e.href?(0,s.jsx)("a",{href:e.href,children:e.label}):(0,s.jsx)("span",{children:e.label})},`${e.label}-${t}`))}):void 0,m=a.badges?.length?a.badges.map((e,t)=>{return(0,s.jsx)(cp,{className:"wc-settings-ui-shell__badge",intent:(n=e.intent,n&&n in nh?nh[n]:nh.default),children:e.label},`${e.label}-${t}`);var n}):void 0;return(0,s.jsxs)(p,{className:"wc-settings-ui-shell",ariaLabel:d||(0,g.__)("Settings","woocommerce"),children:[c?(0,s.jsxs)(Fu,{className:"wc-settings-ui-shell__header",direction:"column",gap:"sm",render:(0,s.jsx)("header",{}),children:[(0,s.jsxs)(Fu,{className:"wc-settings-ui-shell__header-row",direction:"row",align:"center",children:[f,(0,s.jsx)("h2",{className:"wc-settings-ui-shell__title",children:d}),m,o?(0,s.jsx)(Fu,{className:"wc-settings-ui-shell__header-actions",direction:"row",gap:"sm",children:o}):null]}),a.subtitle?(0,s.jsx)(qc,{className:"wc-settings-ui-shell__subtitle",variant:"body-md",render:(0,s.jsx)("p",{}),children:a.subtitle}):null]}):null,u?(0,s.jsxs)("div",{className:"wc-settings-ui-shell__navigation",children:[a.navigation&&a.navigation.length>0?(0,s.jsx)("nav",{className:"wc-settings-ui-shell__tabs","aria-label":(0,g.__)("Settings pages","woocommerce"),children:a.navigation.map(e=>(0,s.jsx)("a",{className:e.active?"wc-settings-ui-shell__tab is-active":"wc-settings-ui-shell__tab",href:e.href,children:e.label},e.id))}):null,a.sectionNavigation&&a.sectionNavigation.length>0?(0,s.jsx)("nav",{className:"wc-settings-ui-shell__tabs","aria-label":(0,g.__)("Settings sections","woocommerce"),children:a.sectionNavigation.map(e=>(0,s.jsx)("a",{className:e.active?"wc-settings-ui-shell__tab is-active":"wc-settings-ui-shell__tab",href:e.href,children:e.label},e.id))}):null,l?(0,s.jsx)(l,{values:n,initialValues:r,context:t,schema:e}):null]}):null,i]})},ch=({schema:e,page:t,section:n})=>{const[r,o]=(0,l.useState)(()=>Qm(e)),[i,a]=(0,l.useState)(()=>Qm(e)),[c,d]=(0,l.useState)(!1),[u,p]=(0,l.useState)(null),[m,h]=(0,l.useState)(null),b=(0,l.useRef)(!1),v=(0,l.useMemo)(()=>({page:t||e.id,section:Jm(void 0===n?e.section:n)}),[t,e.id,e.section,n]),w=(e=>e.save||{adapter:"form_post"})(e),y=(0,l.useMemo)(()=>((e,t)=>{const n={};return Object.keys(e).forEach(r=>{eh(e[r],t[r])||(n[r]=e[r])}),n})(i,r),[r,i]),_=(0,l.useMemo)(()=>Object.keys(y),[y]),x=_.length>0;(0,l.useEffect)(()=>{const t=Qm(e);o(t),a(t),p(null),h(null)},[e]);const k=(0,l.useCallback)((e,t)=>{a(n=>({...n,[e]:t}))},[]),S=(0,l.useCallback)(()=>{b.current=!0,window.onbeforeunload=null},[]),R=(0,l.useCallback)(e=>{const t=document.getElementById("mainform");if(!(t instanceof HTMLFormElement))return;"string"==typeof e&&e&&((e,t)=>{let n=e.querySelector(`input[name="${Zm}"]`);n||(n=document.createElement("input"),n.type="hidden",n.name=Zm,e.appendChild(n)),n.value=t})(t,e),S();const n=t.querySelector(".woocommerce-save-button");n instanceof HTMLButtonElement?t.requestSubmit(n):t.requestSubmit()},[S]),C=(0,l.useCallback)(e=>{a(t=>{const n={...t};return Object.entries(e).forEach(([e,t])=>{void 0!==t&&(n[e]=t)}),n})},[]),E=(0,l.useCallback)(async()=>{if("custom"!==w.adapter)return!1;const t="handler"in w?w.handler:void 0,n=t?Xm(t,v):void 0;if(!n)return p({status:"error",message:(0,g.__)("Unable to save settings.","woocommerce")}),!1;d(!0),p(null);try{const t=await n({values:i,initialValues:r,changedValues:y,dirtyFields:_,context:v,schema:e}),s=t?.values||i;return a(s),o(s),p({status:"success",message:t?.notice||(0,g.__)("Settings saved successfully.","woocommerce")}),!0}catch(e){const t=e instanceof Error&&e.message?e.message:(0,g.__)("Unable to save settings.","woocommerce");return p({status:"error",message:t}),!1}finally{d(!1)}},[y,v,_,r,w,e,i]);(0,l.useEffect)(()=>{if(!x)return;const e=e=>{b.current||(e.preventDefault(),e.returnValue="")};return window.addEventListener("beforeunload",e),()=>{window.removeEventListener("beforeunload",e)}},[x]),(0,l.useEffect)(()=>{if(!x)return;const e=e=>{const t=e.target;if(!(t instanceof Element&&t.closest(".wc-settings-ui-shell, #mainform .subsubsub")&&(e=>{if(e.defaultPrevented||0!==e.button||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return!1;const t=e.target;if(!(t instanceof Element))return!1;const n=t.closest("a[href]");return n instanceof HTMLAnchorElement&&(!n.target||"_self"===n.target)&&Boolean(n.href)&&n.href!==window.location.href})(e)))return;const n=(e=>{const t=e.target;if(!(t instanceof Element))return;const n=t.closest("a[href]");return n instanceof HTMLAnchorElement?n.href:void 0})(e);n&&(e.preventDefault(),h({href:n}))};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}},[x]);const M=(0,l.useCallback)(()=>{m&&(S(),window.location.assign(m.href))},[S,m]),T=(0,l.useCallback)(async()=>{m&&("form_post"!==w.adapter?"custom"===w.adapter&&await E()&&(S(),window.location.assign(m.href)):R(m.href))},[S,E,m,w.adapter,R]),z=(0,l.useMemo)(()=>Object.values(e.groups).filter(t=>ih({id:t.id,kind:"group",values:i,initialValues:r,context:v,schema:e})).map(t=>({...t,fields:t.fields.filter(t=>ih({id:t.id,kind:"field",field:t,values:i,initialValues:r,context:v,schema:e}))})).filter(e=>e.fields.length>0),[v,r,e,i]),j="form_post"===w.adapter?(e=>Object.values(e.groups).flatMap(e=>e.fields))(e):[],I="visible"===e.shell?.header,A=(0,g.__)("Save","woocommerce"),O="none"!==w.adapter?(0,s.jsx)(f.Button,{className:"woocommerce-save-button",variant:"primary",type:"form_post"===w.adapter?"submit":"button",name:"save",value:A,disabled:!x||c,isBusy:c,onClick:()=>"form_post"===w.adapter?R():E(),children:A}):void 0;return(0,s.jsxs)(sh,{schema:e,context:v,values:i,initialValues:r,actions:O,children:[m?(0,s.jsx)(rh,{isSaving:c,onClose:()=>h(null),onDiscard:M,onSave:T}):null,u?(0,s.jsxs)(Qu,{className:"wc-settings-ui-shell__notice",intent:u.status,children:[(0,s.jsx)(rp,{children:u.message}),(0,s.jsx)(fp,{onClick:()=>p(null)})]}):null,(0,s.jsxs)(Fu,{className:"wc-settings-ui",direction:"column",gap:"xl",children:[z.map(e=>(0,s.jsx)("section",{className:"wc-settings-ui__section",children:(0,s.jsxs)(vp,{className:"wc-settings-ui__section-card",children:[(0,s.jsx)(oh,{group:e}),(0,s.jsx)(xp,{className:"wc-settings-ui__section-fields",render:(0,s.jsx)(Fu,{direction:"column",gap:"lg"}),children:e.fields.map(e=>{const t=qm(e,v)||Dm,n=i[e.id];return(0,s.jsx)("div",{className:["wc-settings-ui__field",th(e.type)].join(" "),children:(0,s.jsx)(t,{field:e,value:n,context:v,values:i,initialValues:r,setValue:k,setValues:C,onChange:t=>k(e.id,t)})},e.id)})})]})},e.id)),!I&&O?(0,s.jsx)("div",{className:"wc-settings-ui__footer-actions",children:O}):null]}),j.length>0?(0,s.jsx)("div",{className:"wc-settings-ui__hidden-inputs",children:j.map(e=>(0,s.jsx)(Ep,{field:e,value:i[e.id]},e.id))}):null]})};(window.wc=window.wc||{}).settingsUi=i})();

Directory Contents

Dirs: 0 × Files: 3
Name Size Perms Modified Actions
239 B lrw-r--r-- 2026-08-11 10:05:45
Edit Download
414.21 KB lrw-r--r-- 2026-08-11 10:05:45
Edit Download
881 B lrw-r--r-- 2026-08-11 10:05:45
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