�PNG  IHDR22?�� pHYs  �� OiCCPPhotoshop ICC profilexڝSgTS�=���BK���KoR RB���&*! J�!��Q�EEȠ�����Q, � ��!���������{�kּ������>���� �H3Q5� �B�������.@� $p�d!s�#�~<<+"��x� �M��0���B�\���t�8K�@z�B�@F���&S�`�cb�P-`'������{[�!�� e�Dh;��V�EX0fK�9�-0IWfH���� � 0Q��){`�##x��F�W<�+��*x��<�$9E�[-qWW.(�I+6aa�@.�y�2�4���������x����6��_-��"bb���ϫp@�t~��,/��;�m��%�h^ �u��f�@����W�p�~<�5�j>{�-�]c�K'Xt����o��(�h���w��?�G�%�fI�q^D$.Tʳ?�D��*�A��,���� �`6�B$��BB d�r`)��B(�Ͱ*`/�@4�Qh��p.�U�=p�a��(�� A�a!ڈb�X#����!�H�$ ɈQ"K�5H1R�T UH�=r9�\F��;�2����G1���Q=� �C��7�F� �dt1�����r�=�6��Ыhڏ>C�0��3�l0.��B�8, �c˱"� ���V����cϱw�E� 6wB aAHXLXN�H� $4� 7 �Q�'"��K�&���b21�XH,#��/{�C�7$�C2'��I��T��F�nR#�,��4H#���dk�9�, +ȅ����3��!�[ �b@q��S�(R�jJ��4�e�2AU��Rݨ�T5�ZB���R�Q��4u�9̓IK�����hh�i��t�ݕN��W���G���w ��Ljg(�gw��L�Ӌ�T071���oUX*�*|�� �J�&�*/T����ު U�U�T��^S}�FU3S� Ԗ�U��P�SSg�;���g�oT?�~Y��Y�L�OC�Q��_�� c�x,!k ��u�5�&���|v*�����=���9C3J3W�R�f?�q��tN �(���~���)�)�4L�1e\k����X�H�Q�G�6������E�Y��A�J'\'Gg����S�Sݧ �M=:��.�k���Dw�n��^��Lo��y���}/�T�m���G X� $� �<�5qo</���QC]�@C�a�a�ᄑ��<��F�F�i�\�$�m�mƣ&&!&KM�M�RM��)�;L;L���͢�֙5�=1�2��כ߷`ZxZ,����eI��Z�Yn�Z9Y�XUZ]�F���%ֻ�����N�N���gð�ɶ�����ۮ�m�}agbg�Ů��}�}��= ���Z~s�r:V:ޚΜ�?}����/gX���3��)�i�S��Ggg�s�󈋉K��.�>.���Ƚ�Jt�q]�z���������ۯ�6�i�ܟ�4�)�Y3s���C�Q��? ��0k߬~OCO�g��#/c/�W�װ��w��a�>�>r��>�<7�2�Y_�7��ȷ�O�o�_��C#�d�z����%g��A�[��z|!��?:�e����A���AA�������!h�쐭!��Α�i�P~���a�a��~ '���W�?�p�X�1�5w��Cs�D�D�Dޛg1O9�-J5*>�.j<�7�4�?�.fY��X�XIlK9.*�6nl������� �{�/�]py�����.,:�@L�N8��A*��%�w%� y��g"/�6ш�C\*N�H*Mz�쑼5y$�3�,幄'���L Lݛ:��v m2=:�1����qB�!M��g�g�fvˬe����n��/��k���Y- �B��TZ(�*�geWf�͉�9���+��̳�ې7�����ᒶ��KW-X潬j9�������(�x��oʿ�ܔ���Ĺd�f�f���-�[����n �ڴ �V����E�/��(ۻ��C���<��e����;?T�T�T�T6��ݵa��n��{��4���[���>ɾ�UUM�f�e�I���?�������m]�Nmq����#�׹���=TR��+�G�����w- 6 U����#pDy��� �� :�v�{���vg/jB��F�S��[b[�O�>����z�G��499�?r����C�d�&����ˮ/~�����јѡ�򗓿m|������������x31^�V���w�w��O�| (�h���SЧ��������c3-� cHRMz%������u0�`:�o�_�F5IDATx��ytUս�?�;���fN$$��@B�!�k��� -*�gE���j�O�kQ�ʠ`U�B_ �AÐ0%�Ȕ�@r3ޛ;߳��$�@��v����^�s����������$��ߢ !�W��5�̱'-٘������4�>�Rƫ$�G��0U�H}�_ _� #��k�MJ/=�9Du *ڲ�k�PQ;0��j|�*�$�^컂脛y���>�z×� B��� ��(�:$�ʔ_�6��C!B����MVx��a��ζyY����j��ƋY2�9�F�{r��r�딟F��Q��hY6��� x��[l��RC��������nt@��;P��3��� F�w��7��:�P���ɋ'���mj���Bƪ�$�Q�L��y��߷g��\���z����v5�p�v$�v櫻�`6~K �Y�X����,�:��"�o�e0II"(��,������l_�C���/4�+f�E�!q��:����u����c��樼.UE�@� �]K�W���$-�h]�JG���Dz)�`��.�A/ ���mᏣc�3jK� �!�>���$�Q�!�_�? \�C2(E �M$Z I{�U���s�ǣ���=��@Բe ޻��W�����@ �w����}�9v,)��.}*|"�s��di���,���G�]W�AC�������|<����[��ߕ������K�*�G nߴ!��‹��J�!��6(L�a)��Am��������;adf��:�xm��nh�;֦I��(���o�C~ډa?�=��s����h��E������xp����)���_���t��W�����´;8���`dz=(��@@�+,�;�`�fhl��XȌ�3,uI�~z(J����� �ZX�A����H'�À�㜦�82|��a�n�z2��I���� ���EY�h�ε<�0�q�{��C��v�˅��?"@��χ�x�WS+��N�~�KQ�J�8ل�� _.W��� !TU{�����,��"�� �;�������HI S� ��))�o�1�H�D� ���� (� ;����"Ҕ��,���� �F=���O��&�Ph>�`���y��߲ &S��P�<��'��1s�1cĂ�N����2)����@�u��tv��<�+�-&�����h��[!FSG���' � z z0��<����8d&�����E0�,��<��"!P�b4��� �{S�����X����.�囤���T��hEF��X�q0"-<����h���]�Py*����F⩍��@v�˂�Y08�� .q��a��s����(!<̫1�3�L�H��7sYW�`��qtu�\7��?�@�Y�� %Ka�x�GZ�*W�P��y�����N0r9��Z�c�%���q,��k�����!!,��>���IB��� �x1�Xu�Y���v-���ֺ��N������JP��a�2`�e5��w��u;�6�i���̃��(K���ťa��(l51��JL��O'%���]���ٖ뿉!��{*�p+f ���i8��D�ȑ���ܩ�M��V��ӟz��x�7Z�1i}�^͜���6e����x��)u�d�ˏ�V�eG�\�X1�����=n�U'�~Y����L�\,�(d!x ,�:�TW8� M`r���@��r+v�Q0��>^;˴�VbF��('����� �*O��i��j�Ӆ����^�S3&� ���{������.ی�� N;��NU%d0�Ce\r"�C�b��&t7N�7��� �ȪD�[%l�۪�$��'m?�A9tI�9>��NVL ��� 6v~M�����ъ�B���0����9$&=ώm��W�0���L���&��E���f�f��'+�9��hv��7,���M��6�D�&�^� �����8 D֮�����o��k^z��O��hP�8q�5d*��YVq3�{��������#LX4�?��jP=3�~�؅c�ݰ�̱�ұ��8̲��2�G�����j��έ�9��w7���U�X�w�85C��?!I&���o&����L���I#�^�eV�,�^t5�k� �xs˛\��U�8��."���{���ǵ�l4��ݼ�;��r"���G�/~���gJV�N糦��ZZ^k+NN�D��I$�=OE�z����|*�*{��%k���G��>�`9��b;�s���8,�qs��c��.b��q�%�>r��n�R�Ƨ�%�,�A��le#�8���}; 21�0�b�&�QX�f���q�00����$>�h�N�'�a3��A���/�r ��L5�8�GԲ'�����w;��c#�q1���h$*��V^�k��QĽ�b:i������� ����H F#�_���,��]g����Ը����`RUU���� ��"�qD���>-��ϤI�~��3�̴�����NZ[[555�eeek7�m����YF#[��Đ��R��i��L�H�r ��@��J-�Pŝ��_|�-��6y��ks�V�U~��6���w.����(��0A� 4��f��� /���C�xŊ�ٳ����z=6�����rg���mKo��o�/����a�g���?'9%9��P��斓��~���L{�� �H��{AW��B��$����v�1b�&Mb�ر��ر#�0`�`xMBp! )Z�Nmo�mZ�g�}�eذaWTVV ���'99��C5��&�&+5�bT>|8��PUUETT����&���t��~TE%��'������b�tEGG;RSS�S�N�v��ѯ��t����u1@�ޚ"f��͈���r'L�Ph��m��ƌ�74o��`�x�q�P���NRSS�X,�����l&&&��MFFA!-��`��ҷ�n��Yuu�����x<I�LB%����KԒ50�!�3�bz�����ʸKL���;---�l6[��`��������Ȏ;�����egg4��!D�T��jWujyZ��������K����%����p�^���X,6��sV=�ܖ����6�3�X ���4ҿ��A2�&����_k�;d�� �VfOIEND�B`� 0x0x
PHP 8.1.34
Preview: editor.min.js Size: 2.37 MB
/home2/astrociv/public_html/vaastruelogy.in/WordPress-master/wp-includes/js/dist/editor.min.js
/*! This file is auto-generated */
(function() {
"use strict";var wp;(wp||={}).editor=(()=>{var zXe=Object.create;var yP=Object.defineProperty;var jXe=Object.getOwnPropertyDescriptor;var HXe=Object.getOwnPropertyNames;var UXe=Object.getPrototypeOf,WXe=Object.prototype.hasOwnProperty;var Ml=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Yt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),or=(e,t)=>{for(var r in t)yP(e,r,{get:t[r],enumerable:!0})},ele=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of HXe(t))!WXe.call(e,n)&&n!==r&&yP(e,n,{get:()=>t[n],enumerable:!(o=jXe(t,n))||o.enumerable});return e};var l=(e,t,r)=>(r=e!=null?zXe(UXe(e)):{},ele(t||!e||!e.__esModule?yP(r,"default",{value:e,enumerable:!0}):r,e)),GXe=e=>ele(yP({},"__esModule",{value:!0}),e);var se=Yt((AIt,tle)=>{tle.exports=window.wp.data});var De=Yt((NIt,rle)=>{rle.exports=window.wp.coreData});var U=Yt((LIt,ole)=>{ole.exports=window.wp.element});var Ue=Yt((DIt,nle)=>{nle.exports=window.wp.compose});var na=Yt((FIt,ile)=>{ile.exports=window.wp.hooks});var Be=Yt((VIt,ale)=>{ale.exports=window.wp.blockEditor});var cr=Yt((WIt,fle)=>{fle.exports=window.wp.blocks});var fi=Yt((GIt,mle)=>{mle.exports=window.wp.date});var Ea=Yt((YIt,gle)=>{gle.exports=window.wp.url});var Ra=Yt((qIt,hle)=>{hle.exports=window.wp.deprecated});var br=Yt((KIt,ble)=>{ble.exports=window.wp.preferences});var yw=Yt((ZIt,xle)=>{xle.exports=window.wp.privateApis});var vW=Yt((oOt,kle)=>{kle.exports=window.wp.styleEngine});var $=Yt((gOt,Ile)=>{Ile.exports=window.wp.i18n});var kE=Yt((hOt,Ole)=>{"use strict";Ole.exports=function e(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;var o,n,i;if(Array.isArray(t)){if(o=t.length,o!=r.length)return!1;for(n=o;n--!==0;)if(!e(t[n],r[n]))return!1;return!0}if(t instanceof Map&&r instanceof Map){if(t.size!==r.size)return!1;for(n of t.entries())if(!r.has(n[0]))return!1;for(n of t.entries())if(!e(n[1],r.get(n[0])))return!1;return!0}if(t instanceof Set&&r instanceof Set){if(t.size!==r.size)return!1;for(n of t.entries())if(!r.has(n[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(r)){if(o=t.length,o!=r.length)return!1;for(n=o;n--!==0;)if(t[n]!==r[n])return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if(i=Object.keys(t),o=i.length,o!==Object.keys(r).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(r,i[n]))return!1;for(n=o;n--!==0;){var a=i[n];if(!e(t[a],r[a]))return!1}return!0}return t!==t&&r!==r}});var TP=Yt((vOt,Nle)=>{"use strict";var AZe=function(t){return NZe(t)&&!LZe(t)};function NZe(e){return!!e&&typeof e=="object"}function LZe(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||VZe(e)}var DZe=typeof Symbol=="function"&&Symbol.for,FZe=DZe?Symbol.for("react.element"):60103;function VZe(e){return e.$$typeof===FZe}function BZe(e){return Array.isArray(e)?[]:{}}function EE(e,t){return t.clone!==!1&&t.isMergeableObject(e)?U0(BZe(e),e,t):e}function zZe(e,t,r){return e.concat(t).map(function(o){return EE(o,r)})}function jZe(e,t){if(!t.customMerge)return U0;var r=t.customMerge(e);return typeof r=="function"?r:U0}function HZe(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Mle(e){return Object.keys(e).concat(HZe(e))}function Ale(e,t){try{return t in e}catch{return!1}}function UZe(e,t){return Ale(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function WZe(e,t,r){var o={};return r.isMergeableObject(e)&&Mle(e).forEach(function(n){o[n]=EE(e[n],r)}),Mle(t).forEach(function(n){UZe(e,n)||(Ale(e,n)&&r.isMergeableObject(t[n])?o[n]=jZe(n,r)(e[n],t[n],r):o[n]=EE(t[n],r))}),o}function U0(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||zZe,r.isMergeableObject=r.isMergeableObject||AZe,r.cloneUnlessOtherwiseSpecified=EE;var o=Array.isArray(t),n=Array.isArray(e),i=o===n;return i?o?r.arrayMerge(e,t,r):WZe(e,t,r):EE(t,r)}U0.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(o,n){return U0(o,n,r)},{})};var GZe=U0;Nle.exports=GZe});var Xe=Yt((EMt,xde)=>{xde.exports=window.wp.primitives});var P=Yt((RMt,Sde)=>{Sde.exports=window.ReactJSXRuntime});var Li=Yt((aDt,Dde)=>{Dde.exports=window.wp.a11y});var cf=Yt((sDt,Fde)=>{Fde.exports=window.wp.apiFetch});var n1=Yt((lDt,Vde)=>{Vde.exports=window.wp.warning});var ro=Yt((dDt,Bde)=>{Bde.exports=window.wp.notices});var yo=Yt((_Dt,$de)=>{$de.exports=window.wp.htmlEntities});var Us=Yt(($Dt,yce)=>{yce.exports=window.wp.keyboardShortcuts});var le=Yt((eFt,Sce)=>{Sce.exports=window.wp.components});var kce=Yt((tFt,Cce)=>{Cce.exports=window.wp.viewport});var pb=Yt((rFt,Ece)=>{Ece.exports=window.wp.plugins});var ee=Yt((MFt,Wce)=>{Wce.exports=window.React});var sc=Yt((sVt,sue)=>{sue.exports=window.ReactDOM});var Ape=Yt(Mpe=>{"use strict";var w1=ee();function Qnt(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var $nt=typeof Object.is=="function"?Object.is:Qnt,Jnt=w1.useState,eit=w1.useEffect,tit=w1.useLayoutEffect,rit=w1.useDebugValue;function oit(e,t){var r=t(),o=Jnt({inst:{value:r,getSnapshot:t}}),n=o[0].inst,i=o[1];return tit(function(){n.value=r,n.getSnapshot=t,dK(n)&&i({inst:n})},[e,r,t]),eit(function(){return dK(n)&&i({inst:n}),e(function(){dK(n)&&i({inst:n})})},[e]),rit(r),r}function dK(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!$nt(e,r)}catch{return!0}}function nit(e,t){return t()}var iit=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?nit:oit;Mpe.useSyncExternalStore=w1.useSyncExternalStore!==void 0?w1.useSyncExternalStore:iit});var y1=Yt((nUt,Npe)=>{"use strict";Npe.exports=Ape()});var Dpe=Yt(Lpe=>{"use strict";var d9=ee(),ait=y1();function sit(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var lit=typeof Object.is=="function"?Object.is:sit,dit=ait.useSyncExternalStore,cit=d9.useRef,uit=d9.useEffect,pit=d9.useMemo,fit=d9.useDebugValue;Lpe.useSyncExternalStoreWithSelector=function(e,t,r,o,n){var i=cit(null);if(i.current===null){var a={hasValue:!1,value:null};i.current=a}else a=i.current;i=pit(function(){function d(g){if(!c){if(c=!0,u=g,g=o(g),n!==void 0&&a.hasValue){var h=a.value;if(n(h,g))return f=h}return f=g}if(h=f,lit(u,g))return h;var b=o(g);return n!==void 0&&n(h,b)?(u=g,h):(u=g,f=b)}var c=!1,u,f,m=r===void 0?null:r;return[function(){return d(t())},m===null?void 0:function(){return d(m())}]},[t,r,o,n]);var s=dit(e,i[0],i[1]);return uit(function(){a.hasValue=!0,a.value=s},[s]),fit(s),s}});var Vpe=Yt((aUt,Fpe)=>{"use strict";Fpe.exports=Dpe()});var hM=Yt((uSr,Uye)=>{Uye.exports=window.wp.theme});var pte=Yt((ZFr,EEe)=>{EEe.exports=window.wp.commands});var wv=Yt((QFr,REe)=>{REe.exports=window.wp.dom});var $n=Yt((JFr,IEe)=>{IEe.exports=window.wp.keycodes});var K3=Yt((kto,YD)=>{var fPe={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u1EA4:"A",\u1EAE:"A",\u1EB2:"A",\u1EB4:"A",\u1EB6:"A",\u00C6:"AE",\u1EA6:"A",\u1EB0:"A",\u0202:"A",\u1EA2:"A",\u1EA0:"A",\u1EA8:"A",\u1EAA:"A",\u1EAC:"A",\u00C7:"C",\u1E08:"C",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u1EBE:"E",\u1E16:"E",\u1EC0:"E",\u1E14:"E",\u1E1C:"E",\u0206:"E",\u1EBA:"E",\u1EBC:"E",\u1EB8:"E",\u1EC2:"E",\u1EC4:"E",\u1EC6:"E",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u1E2E:"I",\u020A:"I",\u1EC8:"I",\u1ECA:"I",\u00D0:"D",\u00D1:"N",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u1ED0:"O",\u1E4C:"O",\u1E52:"O",\u020E:"O",\u1ECE:"O",\u1ECC:"O",\u1ED4:"O",\u1ED6:"O",\u1ED8:"O",\u1EDC:"O",\u1EDE:"O",\u1EE0:"O",\u1EDA:"O",\u1EE2:"O",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u1EE6:"U",\u1EE4:"U",\u1EEC:"U",\u1EEE:"U",\u1EF0:"U",\u00DD:"Y",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u1EA5:"a",\u1EAF:"a",\u1EB3:"a",\u1EB5:"a",\u1EB7:"a",\u00E6:"ae",\u1EA7:"a",\u1EB1:"a",\u0203:"a",\u1EA3:"a",\u1EA1:"a",\u1EA9:"a",\u1EAB:"a",\u1EAD:"a",\u00E7:"c",\u1E09:"c",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u1EBF:"e",\u1E17:"e",\u1EC1:"e",\u1E15:"e",\u1E1D:"e",\u0207:"e",\u1EBB:"e",\u1EBD:"e",\u1EB9:"e",\u1EC3:"e",\u1EC5:"e",\u1EC7:"e",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u1E2F:"i",\u020B:"i",\u1EC9:"i",\u1ECB:"i",\u00F0:"d",\u00F1:"n",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u1ED1:"o",\u1E4D:"o",\u1E53:"o",\u020F:"o",\u1ECF:"o",\u1ECD:"o",\u1ED5:"o",\u1ED7:"o",\u1ED9:"o",\u1EDD:"o",\u1EDF:"o",\u1EE1:"o",\u1EDB:"o",\u1EE3:"o",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u1EE7:"u",\u1EE5:"u",\u1EED:"u",\u1EEF:"u",\u1EF1:"u",\u00FD:"y",\u00FF:"y",\u0100:"A",\u0101:"a",\u0102:"A",\u0103:"a",\u0104:"A",\u0105:"a",\u0106:"C",\u0107:"c",\u0108:"C",\u0109:"c",\u010A:"C",\u010B:"c",\u010C:"C",\u010D:"c",C\u0306:"C",c\u0306:"c",\u010E:"D",\u010F:"d",\u0110:"D",\u0111:"d",\u0112:"E",\u0113:"e",\u0114:"E",\u0115:"e",\u0116:"E",\u0117:"e",\u0118:"E",\u0119:"e",\u011A:"E",\u011B:"e",\u011C:"G",\u01F4:"G",\u011D:"g",\u01F5:"g",\u011E:"G",\u011F:"g",\u0120:"G",\u0121:"g",\u0122:"G",\u0123:"g",\u0124:"H",\u0125:"h",\u0126:"H",\u0127:"h",\u1E2A:"H",\u1E2B:"h",\u0128:"I",\u0129:"i",\u012A:"I",\u012B:"i",\u012C:"I",\u012D:"i",\u012E:"I",\u012F:"i",\u0130:"I",\u0131:"i",\u0132:"IJ",\u0133:"ij",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u1E30:"K",\u1E31:"k",K\u0306:"K",k\u0306:"k",\u0139:"L",\u013A:"l",\u013B:"L",\u013C:"l",\u013D:"L",\u013E:"l",\u013F:"L",\u0140:"l",\u0141:"l",\u0142:"l",\u1E3E:"M",\u1E3F:"m",M\u0306:"M",m\u0306:"m",\u0143:"N",\u0144:"n",\u0145:"N",\u0146:"n",\u0147:"N",\u0148:"n",\u0149:"n",N\u0306:"N",n\u0306:"n",\u014C:"O",\u014D:"o",\u014E:"O",\u014F:"o",\u0150:"O",\u0151:"o",\u0152:"OE",\u0153:"oe",P\u0306:"P",p\u0306:"p",\u0154:"R",\u0155:"r",\u0156:"R",\u0157:"r",\u0158:"R",\u0159:"r",R\u0306:"R",r\u0306:"r",\u0212:"R",\u0213:"r",\u015A:"S",\u015B:"s",\u015C:"S",\u015D:"s",\u015E:"S",\u0218:"S",\u0219:"s",\u015F:"s",\u0160:"S",\u0161:"s",\u0162:"T",\u0163:"t",\u021B:"t",\u021A:"T",\u0164:"T",\u0165:"t",\u0166:"T",\u0167:"t",T\u0306:"T",t\u0306:"t",\u0168:"U",\u0169:"u",\u016A:"U",\u016B:"u",\u016C:"U",\u016D:"u",\u016E:"U",\u016F:"u",\u0170:"U",\u0171:"u",\u0172:"U",\u0173:"u",\u0216:"U",\u0217:"u",V\u0306:"V",v\u0306:"v",\u0174:"W",\u0175:"w",\u1E82:"W",\u1E83:"w",X\u0306:"X",x\u0306:"x",\u0176:"Y",\u0177:"y",\u0178:"Y",Y\u0306:"Y",y\u0306:"y",\u0179:"Z",\u017A:"z",\u017B:"Z",\u017C:"z",\u017D:"Z",\u017E:"z",\u017F:"s",\u0192:"f",\u01A0:"O",\u01A1:"o",\u01AF:"U",\u01B0:"u",\u01CD:"A",\u01CE:"a",\u01CF:"I",\u01D0:"i",\u01D1:"O",\u01D2:"o",\u01D3:"U",\u01D4:"u",\u01D5:"U",\u01D6:"u",\u01D7:"U",\u01D8:"u",\u01D9:"U",\u01DA:"u",\u01DB:"U",\u01DC:"u",\u1EE8:"U",\u1EE9:"u",\u1E78:"U",\u1E79:"u",\u01FA:"A",\u01FB:"a",\u01FC:"AE",\u01FD:"ae",\u01FE:"O",\u01FF:"o",\u00DE:"TH",\u00FE:"th",\u1E54:"P",\u1E55:"p",\u1E64:"S",\u1E65:"s",X\u0301:"X",x\u0301:"x",\u0403:"\u0413",\u0453:"\u0433",\u040C:"\u041A",\u045C:"\u043A",A\u030B:"A",a\u030B:"a",E\u030B:"E",e\u030B:"e",I\u030B:"I",i\u030B:"i",\u01F8:"N",\u01F9:"n",\u1ED2:"O",\u1ED3:"o",\u1E50:"O",\u1E51:"o",\u1EEA:"U",\u1EEB:"u",\u1E80:"W",\u1E81:"w",\u1EF2:"Y",\u1EF3:"y",\u0200:"A",\u0201:"a",\u0204:"E",\u0205:"e",\u0208:"I",\u0209:"i",\u020C:"O",\u020D:"o",\u0210:"R",\u0211:"r",\u0214:"U",\u0215:"u",B\u030C:"B",b\u030C:"b",\u010C\u0323:"C",\u010D\u0323:"c",\u00CA\u030C:"E",\u00EA\u030C:"e",F\u030C:"F",f\u030C:"f",\u01E6:"G",\u01E7:"g",\u021E:"H",\u021F:"h",J\u030C:"J",\u01F0:"j",\u01E8:"K",\u01E9:"k",M\u030C:"M",m\u030C:"m",P\u030C:"P",p\u030C:"p",Q\u030C:"Q",q\u030C:"q",\u0158\u0329:"R",\u0159\u0329:"r",\u1E66:"S",\u1E67:"s",V\u030C:"V",v\u030C:"v",W\u030C:"W",w\u030C:"w",X\u030C:"X",x\u030C:"x",Y\u030C:"Y",y\u030C:"y",A\u0327:"A",a\u0327:"a",B\u0327:"B",b\u0327:"b",\u1E10:"D",\u1E11:"d",\u0228:"E",\u0229:"e",\u0190\u0327:"E",\u025B\u0327:"e",\u1E28:"H",\u1E29:"h",I\u0327:"I",i\u0327:"i",\u0197\u0327:"I",\u0268\u0327:"i",M\u0327:"M",m\u0327:"m",O\u0327:"O",o\u0327:"o",Q\u0327:"Q",q\u0327:"q",U\u0327:"U",u\u0327:"u",X\u0327:"X",x\u0327:"x",Z\u0327:"Z",z\u0327:"z",\u0439:"\u0438",\u0419:"\u0418",\u0451:"\u0435",\u0401:"\u0415"},mPe=Object.keys(fPe).join("|"),GSt=new RegExp(mPe,"g"),YSt=new RegExp(mPe,"");function qSt(e){return fPe[e]}var gPe=function(e){return e.replace(GSt,qSt)},KSt=function(e){return!!e.match(YSt)};YD.exports=gPe;YD.exports.has=KSt;YD.exports.remove=gPe});var p_=Yt((npo,cIe)=>{cIe.exports=window.wp.mediaUtils});var Sh=Yt((Tfo,oOe)=>{oOe.exports=window.wp.richText});var Ene=Yt((mho,MAe)=>{MAe.exports=window.wp.blob});var QLe=Yt((I_o,ZLe)=>{ZLe.exports=window.wp.blockSerializationDefaultParser});var q4=Yt((_wo,DDe)=>{DDe.exports=window.wp.wordcount});var V_=Yt((Lwo,nFe)=>{nFe.exports=window.wp.patterns});var Aj=Yt((VSo,_ze)=>{_ze.exports=window.wp.uploadMedia});var Cje=Yt((Sko,Sje)=>{Sje.exports=window.wp.serverSideRender});var OIt={};or(OIt,{AlignmentToolbar:()=>P6t,Autocomplete:()=>T6t,AutosaveMonitor:()=>xN,BlockAlignmentToolbar:()=>I6t,BlockControls:()=>O6t,BlockEdit:()=>M6t,BlockEditorKeyboardShortcuts:()=>A6t,BlockFormatControls:()=>N6t,BlockIcon:()=>L6t,BlockInspector:()=>D6t,BlockList:()=>F6t,BlockMover:()=>V6t,BlockNavigationDropdown:()=>B6t,BlockSelectionClearer:()=>z6t,BlockSettingsMenu:()=>j6t,BlockTitle:()=>H6t,BlockToolbar:()=>U6t,CharacterCount:()=>a2,ColorPalette:()=>W6t,ContrastChecker:()=>G6t,CopyHandler:()=>Y6t,DefaultBlockAppender:()=>q6t,DocumentBar:()=>bV,DocumentOutline:()=>fk,DocumentOutlineCheck:()=>sOe,EditorHistoryRedo:()=>CV,EditorHistoryUndo:()=>RV,EditorKeyboardShortcuts:()=>qS,EditorKeyboardShortcutsRegister:()=>yV,EditorNotices:()=>ROe,EditorProvider:()=>xje,EditorSnackbars:()=>OOe,EntitiesSavedStates:()=>RPt,ErrorBoundary:()=>BOe,FontSizePicker:()=>K6t,InnerBlocks:()=>Z6t,Inserter:()=>X6t,InspectorAdvancedControls:()=>Q6t,InspectorControls:()=>$6t,LocalAutosaveMonitor:()=>HOe,MediaPlaceholder:()=>nPt,MediaUpload:()=>iPt,MediaUploadCheck:()=>aPt,MultiSelectScrollIntoView:()=>sPt,NavigableToolbar:()=>lPt,ObserveTyping:()=>dPt,PageAttributesCheck:()=>hk,PageAttributesOrder:()=>KOe,PageAttributesPanel:()=>lMe,PageAttributesParent:()=>iMe,PageTemplate:()=>zV,PanelColorSettings:()=>J6t,PlainText:()=>ePt,PluginBlockSettingsMenuItem:()=>SMe,PluginDocumentSettingPanel:()=>GV,PluginMoreMenuItem:()=>RMe,PluginPostPublishPanel:()=>qV,PluginPostStatusInfo:()=>XV,PluginPrePublishPanel:()=>QV,PluginPreviewMenuItem:()=>DMe,PluginSidebar:()=>C_,PluginSidebarMoreMenuItem:()=>zMe,PostAuthor:()=>tB,PostAuthorCheck:()=>rB,PostAuthorPanel:()=>xAe,PostComments:()=>lB,PostDiscussionPanel:()=>kAe,PostExcerpt:()=>bB,PostExcerptCheck:()=>Rk,PostExcerptPanel:()=>OAe,PostFeaturedImage:()=>T4,PostFeaturedImageCheck:()=>Rh,PostFeaturedImagePanel:()=>HAe,PostFormat:()=>One,PostFormatCheck:()=>CB,PostLastRevision:()=>TB,PostLastRevisionCheck:()=>Ok,PostLastRevisionPanel:()=>$Ae,PostLockedModal:()=>iNe,PostPendingStatus:()=>dNe,PostPendingStatusCheck:()=>IB,PostPingbacks:()=>pB,PostPreviewButton:()=>Ak,PostPublishButton:()=>Nk,PostPublishButtonLabel:()=>AB,PostPublishPanel:()=>oz,PostSavedState:()=>uz,PostSchedule:()=>jB,PostScheduleCheck:()=>pz,PostScheduleLabel:()=>Fk,PostSchedulePanel:()=>PLe,PostSticky:()=>yLe,PostStickyCheck:()=>nz,PostSwitchToDraftButton:()=>MLe,PostSyncStatus:()=>NLe,PostTaxonomies:()=>qk,PostTaxonomiesCheck:()=>bz,PostTaxonomiesFlatTermSelector:()=>Une,PostTaxonomiesHierarchicalTermSelector:()=>qne,PostTaxonomiesPanel:()=>_z,PostTemplatePanel:()=>lAe,PostTextEditor:()=>z4,PostTitle:()=>Nz,PostTitleRaw:()=>Dz,PostTrash:()=>Bz,PostTrashCheck:()=>Fz,PostTypeSupportCheck:()=>bn,PostURL:()=>Y4,PostURLCheck:()=>jz,PostURLLabel:()=>IDe,PostURLPanel:()=>ADe,PostVisibility:()=>xNe,PostVisibilityCheck:()=>LDe,PostVisibilityLabel:()=>VB,RichText:()=>Tje,RichTextShortcut:()=>tPt,RichTextToolbarButton:()=>rPt,ServerSideRender:()=>Eje.default,SkipToSelectedBlock:()=>cPt,TableOfContents:()=>$De,TextEditorGlobalKeyboardShortcuts:()=>EPt,ThemeSupportCheck:()=>yB,TimeToRead:()=>i2,URLInput:()=>uPt,URLInputButton:()=>pPt,URLPopover:()=>fPt,UnsavedChangesWarning:()=>oFe,VisualEditorGlobalKeyboardShortcuts:()=>kPt,Warning:()=>mPt,WordCount:()=>n2,WritingFlow:()=>gPt,__unstableRichTextInputEvent:()=>oPt,cleanForSlug:()=>EBe,createCustomColorsHOC:()=>hPt,getColorClassName:()=>bPt,getColorObjectByAttributeValues:()=>vPt,getColorObjectByColorValue:()=>_Pt,getFontSize:()=>wPt,getFontSizeClass:()=>yPt,linkAutocompleter:()=>vN,mediaUpload:()=>Ej,privateApis:()=>yXe,registerEntityAction:()=>RIt,registerEntityField:()=>PIt,store:()=>B,storeConfig:()=>YR,transformStyles:()=>xXe.transformStyles,unregisterEntityAction:()=>TIt,unregisterEntityField:()=>IIt,useEntitiesSavedStatesIsDirty:()=>TPt,usePostScheduleLabel:()=>Vk,usePostURLLabel:()=>hie,usePostVisibilityLabel:()=>Bne,userAutocompleter:()=>_N,withColorContext:()=>xPt,withColors:()=>SPt,withFontSizes:()=>CPt});var gce=l(se(),1),hce=l(De(),1),bce=l(U(),1),vce=l(Ue(),1),_ce=l(na(),1);var l8=l(se(),1);var ule=l(se(),1);var sle=l(Be(),1),lle={...sle.SETTINGS_DEFAULTS,richEditingEnabled:!0,codeEditingEnabled:!0,responsiveEditingEnabled:!0,blockStatesEditingEnabled:!0,fontLibraryEnabled:!0,enableCustomFields:void 0,defaultRenderingMode:"post-only",autoAttachMediaEnabled:!0};var dle=l(se(),1);function YXe(e={},t){return t.type==="SET_IS_READY"?{...e,[t.kind]:{...e[t.kind],[t.name]:!0}}:e}function qXe(e={},t){return t.type==="RECEIVE_ENTITY_FIELDS"?{...e,[t.kind]:{...e[t.kind],[t.name]:t.fields}}:e}var cle=(0,dle.combineReducers)({fields:qXe,isReady:YXe});function xP(e){return e&&typeof e=="object"&&"raw"in e?e.raw:e}function KXe(e=null,t){return t.type==="SET_EDITED_POST"?t.postId:e}function XXe(e=null,t){return t.type==="SET_CURRENT_TEMPLATE_ID"?t.id:e}function ZXe(e=null,t){return t.type==="SET_EDITED_POST"?t.postType:e}function QXe(e={isValid:!0},t){return t.type==="SET_TEMPLATE_VALIDITY"?{...e,isValid:t.isValid}:e}function $Xe(e={},t){switch(t.type){case"REQUEST_POST_UPDATE_START":case"REQUEST_POST_UPDATE_FINISH":return{pending:t.type==="REQUEST_POST_UPDATE_START",options:t.options||{}}}return e}function JXe(e={},t){switch(t.type){case"REQUEST_POST_DELETE_START":case"REQUEST_POST_DELETE_FINISH":return{pending:t.type==="REQUEST_POST_DELETE_START"}}return e}function eZe(e={isLocked:!1},t){return t.type==="UPDATE_POST_LOCK"?t.lock:e}function tZe(e={},t){switch(t.type){case"LOCK_POST_SAVING":return{...e,[t.lockName]:!0};case"UNLOCK_POST_SAVING":{let{[t.lockName]:r,...o}=e;return o}}return e}function rZe(e={},t){switch(t.type){case"LOCK_POST_AUTOSAVING":return{...e,[t.lockName]:!0};case"UNLOCK_POST_AUTOSAVING":{let{[t.lockName]:r,...o}=e;return o}}return e}function oZe(e=lle,t){return t.type==="UPDATE_EDITOR_SETTINGS"?{...e,...t.settings}:e}function nZe(e="post-only",t){return t.type==="SET_RENDERING_MODE"?t.mode:e}function iZe(e=void 0,t){return t.type==="SET_CANVAS_WIDTH"?t.width:e}function aZe(e=void 0,t){return t.type==="SET_CANVAS_HEIGHT"?t.height:e}function sZe(e=void 0,t){return t.type==="SET_PHYSICAL_CANVAS_WIDTH"?t.width:e}function lZe(e=[],t){switch(t.type){case"REMOVE_PANEL":if(!e.includes(t.panelName))return[...e,t.panelName]}return e}function dZe(e=!1,t){switch(t.type){case"SET_IS_LIST_VIEW_OPENED":return t.isOpen?!1:e;case"SET_IS_INSERTER_OPENED":return t.value}return e}function cZe(e=!1,t){switch(t.type){case"SET_IS_INSERTER_OPENED":return t.value?!1:e;case"SET_IS_LIST_VIEW_OPENED":return t.isOpen}return e}function uZe(e={current:null}){return e}function pZe(e={current:null}){return e}function fZe(e=!1,t){switch(t.type){case"OPEN_PUBLISH_SIDEBAR":return!0;case"CLOSE_PUBLISH_SIDEBAR":return!1;case"TOGGLE_PUBLISH_SIDEBAR":return!e}return e}function mZe(e="/",t){switch(t.type){case"SET_STYLES_PATH":return t.path;case"RESET_STYLES_NAVIGATION":return"/"}return e}function gZe(e=!1,t){switch(t.type){case"SET_SHOW_STYLEBOOK":return t.show;case"RESET_STYLES_NAVIGATION":return!1}return e}function hZe(e=null,t){return t.type==="SET_CURRENT_REVISION_ID"?t.revisionId:e}function bZe(e=null,t){switch(t.type){case"VIEW_BROWSER_BACKUP":return t.backup;case"SET_CURRENT_REVISION_ID":return null}return e}function vZe(e=1,t){switch(t.type){case"SET_REVISION_PAGE":return t.page;case"SET_CURRENT_REVISION_ID":return t.revisionId?e:1}return e}function _Ze(e=!0,t){switch(t.type){case"SET_SHOW_REVISION_DIFF":return t.showDiff;case"SET_CURRENT_REVISION_ID":return t.revisionId?e:!0}return e}function wZe(e={},t){return t.type==="SELECT_NOTE"?{noteId:t.noteId,options:t.options}:e}var ple=(0,ule.combineReducers)({postId:KXe,postType:ZXe,templateId:XXe,saving:$Xe,deleting:JXe,postLock:eZe,template:QXe,postSavingLock:tZe,editorSettings:oZe,postAutosavingLock:rZe,renderingMode:nZe,canvasWidth:iZe,canvasHeight:aZe,physicalCanvasWidth:sZe,removedPanels:lZe,blockInserterPanel:dZe,inserterSidebarToggleRef:pZe,listViewPanel:cZe,listViewToggleRef:uZe,publishSidebarActive:fZe,stylesPath:mZe,showStylebook:gZe,revisionId:hZe,browserBackup:bZe,revisionPage:vZe,showRevisionDiff:_Ze,selectedNote:wZe,dataviews:cle});var HY={};or(HY,{__experimentalGetDefaultTemplatePartAreas:()=>BJe,__experimentalGetDefaultTemplateType:()=>zJe,__experimentalGetDefaultTemplateTypes:()=>VJe,__experimentalGetTemplateInfo:()=>jJe,__unstableIsEditorReady:()=>N$e,canInsertBlockType:()=>NJe,canUserUseUnfilteredHTML:()=>E$e,didPostSaveRequestFail:()=>m$e,didPostSaveRequestSucceed:()=>f$e,getActivePostLock:()=>k$e,getAdjacentBlockClientId:()=>iJe,getAutosaveAttribute:()=>Tde,getBlock:()=>W$e,getBlockAttributes:()=>U$e,getBlockCount:()=>Z$e,getBlockHierarchyRootClientId:()=>nJe,getBlockIndex:()=>_Je,getBlockInsertionPoint:()=>PJe,getBlockListSettings:()=>FJe,getBlockMode:()=>EJe,getBlockName:()=>j$e,getBlockOrder:()=>vJe,getBlockRootClientId:()=>oJe,getBlockSelectionEnd:()=>$$e,getBlockSelectionStart:()=>Q$e,getBlocks:()=>G$e,getBlocksByClientId:()=>X$e,getClientIdsOfDescendants:()=>Y$e,getClientIdsWithDescendants:()=>q$e,getCurrentPost:()=>ia,getCurrentPostAttribute:()=>t1,getCurrentPostId:()=>kd,getCurrentPostLastRevisionId:()=>r$e,getCurrentPostRevisionsCount:()=>BY,getCurrentPostType:()=>Nl,getCurrentTemplateId:()=>t$e,getDeviceType:()=>L$e,getEditedPostAttribute:()=>Mn,getEditedPostContent:()=>HR,getEditedPostPreviewLink:()=>b$e,getEditedPostSlug:()=>Mde,getEditedPostVisibility:()=>n$e,getEditorBlocks:()=>T$e,getEditorMode:()=>V$e,getEditorSelection:()=>A$e,getEditorSelectionEnd:()=>M$e,getEditorSelectionStart:()=>O$e,getEditorSettings:()=>jY,getFirstMultiSelectedBlockClientId:()=>uJe,getGlobalBlockCount:()=>K$e,getInserterItems:()=>LJe,getLastMultiSelectedBlockClientId:()=>pJe,getMultiSelectedBlockClientIds:()=>dJe,getMultiSelectedBlocks:()=>cJe,getMultiSelectedBlocksEndClientId:()=>bJe,getMultiSelectedBlocksStartClientId:()=>hJe,getNextBlockClientId:()=>sJe,getPermalink:()=>w$e,getPermalinkParts:()=>Ade,getPostEdits:()=>jR,getPostLockUser:()=>C$e,getPostTypeLabel:()=>HJe,getPreviousBlockClientId:()=>aJe,getRenderingMode:()=>o8,getSelectedBlock:()=>rJe,getSelectedBlockClientId:()=>tJe,getSelectedBlockCount:()=>J$e,getSelectedBlocksInitialCaretPosition:()=>lJe,getStateBeforeOptimisticTransaction:()=>B$e,getSuggestedPostFormat:()=>v$e,getTemplate:()=>MJe,getTemplateLock:()=>AJe,hasChangedContent:()=>Rde,hasEditorRedo:()=>$Qe,hasEditorUndo:()=>QQe,hasInserterItems:()=>DJe,hasMultiSelection:()=>SJe,hasNonPostEntityChanges:()=>JQe,hasSelectedBlock:()=>eJe,hasSelectedInnerBlock:()=>yJe,inSomeHistory:()=>z$e,isAncestorMultiSelected:()=>gJe,isAutosavingPost:()=>g$e,isBlockInsertionPointVisible:()=>IJe,isBlockMultiSelected:()=>mJe,isBlockSelected:()=>wJe,isBlockValid:()=>H$e,isBlockWithinSelection:()=>xJe,isCaretWithinFormattedText:()=>TJe,isCleanNewPost:()=>e$e,isCurrentPostPending:()=>i$e,isCurrentPostPublished:()=>zY,isCurrentPostScheduled:()=>a$e,isDeletingPost:()=>u$e,isEditedPostAutosaveable:()=>l$e,isEditedPostBeingScheduled:()=>d$e,isEditedPostDateFloating:()=>c$e,isEditedPostDirty:()=>t8,isEditedPostEmpty:()=>Ide,isEditedPostNew:()=>Ede,isEditedPostPublishable:()=>s$e,isEditedPostSaveable:()=>Pde,isEditorPanelEnabled:()=>P$e,isEditorPanelOpened:()=>I$e,isEditorPanelRemoved:()=>Lde,isFirstMultiSelectedBlock:()=>fJe,isInserterOpened:()=>F$e,isListViewOpened:()=>D$e,isMultiSelecting:()=>CJe,isPermalinkEditable:()=>Ode,isPostAutosavingLocked:()=>Nde,isPostLockTakeover:()=>S$e,isPostLocked:()=>y$e,isPostSavingLocked:()=>x$e,isPreviewingPost:()=>h$e,isPublishSidebarEnabled:()=>R$e,isPublishSidebarOpened:()=>UJe,isPublishingPost:()=>_$e,isSavingNonPostEntityChanges:()=>p$e,isSavingPost:()=>o1,isSelectionEnabled:()=>kJe,isTyping:()=>RJe,isValidTemplate:()=>OJe});var cb=l(cr(),1),r1=l(fi(),1),BR=l(Ea(),1),Yr=l(se(),1),df=l(Ra(),1),r8=l(Be(),1),zo=l(De(),1),UR=l(br(),1);var vle=new Set(["meta"]),B0="core/editor",gW=/%(?:postname|pagename)%/,hW=60*1e3,_le=["title","excerpt","content"],SP="wpEditorAutosaveRestore";var tn="wp_template",rs="wp_template_part",rf="wp_block",CP="wp_navigation",of="attachment",wle={custom:"custom",theme:"theme",plugin:"plugin"},bW=["wp_template","wp_template_part"],yle=[...bW,"wp_block","wp_navigation"],kP=[tn,rs,rf,CP],EP=Symbol("AutosaveRetry");var Sle=l(yw(),1),{lock:Cle,unlock:Q}=(0,Sle.__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/editor");function Qh(e,t,r){t=Array.isArray(t)?[...t]:[t],e=Array.isArray(e)?[...e]:{...e};let o=t.pop(),n=e;for(let i of t){let a=n[i];n=n[i]=Array.isArray(a)?[...a]:{...a}}return n[o]=r,e}var Dr=(e,t,r)=>{let o=Array.isArray(t)?t:t.split("."),n=e;return o.forEach(i=>{n=n?.[i]}),n??r};var yZe=["appearanceTools","useRootPaddingAwareAlignments","background.backgroundClip","background.backgroundImage","background.backgroundRepeat","background.backgroundSize","background.backgroundPosition","background.gradient","border.color","border.radius","border.radiusSizes","border.style","border.width","shadow.presets","shadow.defaultPresets","color.background","color.button","color.caption","color.custom","color.customDuotone","color.customGradient","color.defaultDuotone","color.defaultGradients","color.defaultPalette","color.duotone","color.gradients","color.heading","color.link","color.palette","color.text","custom","dimensions.aspectRatio","dimensions.height","dimensions.minHeight","dimensions.minWidth","dimensions.width","dimensions.dimensionSizes","layout.contentSize","layout.definitions","layout.wideSize","lightbox.enabled","lightbox.allowEditing","position.fixed","position.sticky","spacing.customSpacingSize","spacing.defaultSpacingSizes","spacing.spacingSizes","spacing.spacingScale","spacing.blockGap","spacing.margin","spacing.padding","spacing.units","typography.fluid","typography.customFontSize","typography.defaultFontSizes","typography.dropCap","typography.fontFamilies","typography.fontSizes","typography.fontStyle","typography.fontWeight","typography.letterSpacing","typography.lineHeight","typography.textAlign","typography.textColumns","typography.textDecoration","typography.textIndent","typography.textShadow","typography.defaultTextShadowPresets","typography.textShadowPresets","typography.textTransform","typography.writingMode","viewport.mobile","viewport.tablet"];function z0(e,t,r){let o=r?".blocks."+r:"",n=t?"."+t:"",i=`settings${o}${n}`,a=`settings${n}`;if(t)return Dr(e,i)??Dr(e,a);let s={};return yZe.forEach(d=>{let c=Dr(e,`settings${o}.${d}`)??Dr(e,`settings.${d}`);c!==void 0&&(s=Qh(s,d.split("."),c))}),s}function wE(e,t,r,o){let n=o?".blocks."+o:"",i=t?"."+t:"",a=`settings${n}${i}`;return Qh(e,a.split("."),r)}var Rle=l(vW(),1);var xZe="1600px",SZe="320px",CZe=1,kZe=.25,EZe=.75,RZe="14px";function Ele({minimumFontSize:e,maximumFontSize:t,fontSize:r,minimumViewportWidth:o=SZe,maximumViewportWidth:n=xZe,scaleFactor:i=CZe,minimumFontSizeLimit:a}){if(a=nf(a)?a:RZe,r){let v=nf(r);if(!v?.unit||!v?.value)return null;let x=nf(a,{coerceTo:v.unit});if(x?.value&&!e&&!t&&v?.value<=x?.value)return null;if(t||(t=`${v.value}${v.unit}`),!e){let S=v.unit==="px"?v.value:v.value*16,C=Math.min(Math.max(1-.075*Math.log2(S),kZe),EZe),k=yE(v.value*C,3);x?.value&&k<x?.value?e=`${x.value}${x.unit}`:e=`${k}${v.unit}`}}let s=nf(e),d=s?.unit||"rem",c=nf(t,{coerceTo:d});if(!s||!c)return null;let u=nf(e,{coerceTo:"rem"}),f=nf(n,{coerceTo:d}),m=nf(o,{coerceTo:d});if(!f||!m||!u)return null;let g=f.value-m.value;if(!g)return null;let h=yE(m.value/100,3),b=yE(h,3)+d,_=100*((c.value-s.value)/g),y=yE((_||1)*i,3),w=`${u.value}${u.unit} + ((1vw - ${b}) * ${y})`;return`clamp(${e}, ${w}, ${t})`}function nf(e,t={}){if(typeof e!="string"&&typeof e!="number")return null;isFinite(e)&&(e=`${e}px`);let{coerceTo:r,rootSizeValue:o,acceptableUnits:n}={coerceTo:"",rootSizeValue:16,acceptableUnits:["rem","px","em"],...t},i=n?.join("|"),a=new RegExp(`^(\\d*\\.?\\d+)(${i}){1,1}$`),s=e.toString().match(a);if(!s||s.length<3)return null;let[,d,c]=s,u=parseFloat(d);return r==="px"&&(c==="em"||c==="rem")&&(u=u*o,c=r),c==="px"&&(r==="em"||r==="rem")&&(u=u/o,c=r),(r==="em"||r==="rem")&&(c==="em"||c==="rem")&&(c=r),c?{value:yE(u,3),unit:c}:null}function yE(e,t=3){let r=Math.pow(10,t);return Math.round(e*r)/r}function _W(e){let t=e?.fluid;return t===!0||t&&typeof t=="object"&&Object.keys(t).length>0}function TZe(e){let t=e?.typography??{},r=e?.layout,o=nf(r?.wideSize)?r?.wideSize:null;return _W(t)&&o?{fluid:{maxViewportWidth:o,...typeof t.fluid=="object"?t.fluid:{}}}:{fluid:t?.fluid}}function RP(e,t){let{size:r}=e;if(!r||r==="0"||e?.fluid===!1||!_W(t?.typography)&&!_W(e))return r;let o=TZe(t)?.fluid??{},n=Ele({minimumFontSize:typeof e?.fluid=="boolean"?void 0:e?.fluid?.min,maximumFontSize:typeof e?.fluid=="boolean"?void 0:e?.fluid?.max,fontSize:r,minimumFontSizeLimit:typeof o=="object"?o?.minFontSize:void 0,maximumViewportWidth:typeof o=="object"?o?.maxViewportWidth:void 0,minimumViewportWidth:typeof o=="object"?o?.minViewportWidth:void 0});return n||r}var af="body",xE=":root";function j0(e){if(!e.includes(","))return[e];let t=[],r="",o=0;for(let n of e){if(n==="(")o++;else if(n===")"&&o>0)o--;else if(n===","&&o===0){t.push(r),r="";continue}r+=n}return t.push(r),t}var H0=[{path:["color","palette"],valueKey:"color",cssVarInfix:"color",classes:[{classSuffix:"color",propertyName:"color"},{classSuffix:"background-color",propertyName:"background-color"},{classSuffix:"border-color",propertyName:"border-color"}]},{path:["color","gradients"],valueKey:"gradient",cssVarInfix:"gradient",classes:[{classSuffix:"gradient-background",propertyName:"background"}]},{path:["color","duotone"],valueKey:"colors",cssVarInfix:"duotone",valueFunc:({slug:e})=>`url( '#wp-duotone-${e}' )`,classes:[]},{path:["shadow","presets"],valueKey:"shadow",cssVarInfix:"shadow",classes:[]},{path:["typography","fontSizes"],valueFunc:(e,t)=>RP(e,t),valueKey:"size",cssVarInfix:"font-size",classes:[{classSuffix:"font-size",propertyName:"font-size"}]},{path:["typography","fontFamilies"],valueKey:"fontFamily",cssVarInfix:"font-family",classes:[{classSuffix:"font-family",propertyName:"font-family"}]},{path:["typography","textShadowPresets"],valueKey:"textShadow",cssVarInfix:"text-shadow",classes:[{classSuffix:"text-shadow",propertyName:"text-shadow"}]},{path:["spacing","spacingSizes"],valueKey:"size",cssVarInfix:"spacing",valueFunc:({size:e})=>e,classes:[]},{path:["border","radiusSizes"],valueKey:"size",cssVarInfix:"border-radius",classes:[]},{path:["dimensions","dimensionSizes"],valueKey:"size",cssVarInfix:"dimension",classes:[]}];function _u(e,t){if(!e||!t)return t;let r=j0(e),o=j0(t),n=[];return r.forEach(i=>{o.forEach(a=>{n.push(`${i.trim()} ${a.trim()}`)})}),n.join(", ")}function Tle(e,t){if(!e||!t)return;let r={};return Object.entries(t).forEach(([o,n])=>{typeof n=="string"&&(r[o]=_u(e,n)),typeof n=="object"&&(r[o]={},Object.entries(n).forEach(([i,a])=>{r[o][i]=_u(e,a)}))}),r}function SE(e,t){return e.includes(",")?j0(e).map(n=>n+t).join(","):e+t}function wW(e,t){let r=`.is-style-${e}`;if(!t)return r;let o=/[^\s:]+/,n=a=>a+r;return j0(t).map(a=>a.replace(o,n)).join(",")}function yW(e,t){let r=`.is-style-${e}`,o=j0(t).map(n=>{let i=n.trim(),a=`${r} `;return i.startsWith(a)?i.slice(a.length):i});return wW(e,o.join(","))}function PZe(e,t){if(!e||!t)return e;if(typeof e=="object"&&"ref"in e&&e?.ref){let r=(0,Rle.getCSSValueFromRawStyle)(Dr(t,e.ref));return typeof r=="object"&&r!==null&&"ref"in r&&r?.ref?void 0:r===void 0?e:r}return e}function IZe(e,t){if(!e||!t||!Array.isArray(t))return e;let r=t.find(o=>o?.name===e);return r?.href?r?.href:e}function $h(e,t){if(!e||!t)return e;let r=PZe(e,t);return typeof r=="object"&&r!==null&&"url"in r&&r?.url?{...r,url:IZe(r.url,t?._links?.["wp:theme-file"])}:r}function Ple(e,t,r=[],o="slug",n){let i=[t?Dr(e,["blocks",t,...r]):void 0,Dr(e,r)].filter(Boolean);for(let a of i)if(a){let s=["custom","theme","default"];for(let d of s){let c=a[d];if(c){let u=c.find(f=>f[o]===n);if(u)return o==="slug"||Ple(e,t,r,"slug",u.slug)[o]===u[o]?u:void 0}}}}function OZe(e,t,r,[o,n]=[]){let i=H0.find(s=>s.cssVarInfix===o);if(!i||!e.settings)return r;let a=Ple(e.settings,t,i.path,"slug",n);if(a){let{valueKey:s}=i,d=a[s];return xw(e,t,d)}return r}function MZe(e,t,r,o=[]){let n=(t?Dr(e?.settings??{},["blocks",t,"custom",...o]):void 0)??Dr(e?.settings??{},["custom",...o]);return n?xw(e,t,n):r}function xw(e,t,r){if(!r||typeof r!="string")if(typeof r=="object"&&r!==null&&"ref"in r&&typeof r.ref=="string"){let c=Dr(e,r.ref);if(!c||typeof c=="object"&&"ref"in c)return c;r=c}else return r;let o="var:",n="var(--wp--",i=")",a;if(r.startsWith(o))a=r.slice(o.length).split("|");else if(r.startsWith(n)&&r.endsWith(i))a=r.slice(n.length,-i.length).split("--");else return r;let[s,...d]=a;return s==="preset"?OZe(e,t,r,d):s==="custom"?MZe(e,t,r,d):r}function Jh(e,t,r,o=!0){let n=t?"."+t:"",i=r?`styles.blocks.${r}${n}`:`styles${n}`;if(!e)return;let a=Dr(e,i);return o?xw(e,r,a):a}function CE(e,t,r,o){let n=t?"."+t:"",i=o?`styles.blocks.${o}${n}`:`styles${n}`;return Qh(e,i.split("."),r)}var xW=l(kE(),1);function Sw(e,t){return typeof e!="object"||typeof t!="object"?e===t:(0,xW.default)(e?.styles,t?.styles)&&(0,xW.default)(e?.settings,t?.settings)}var Fle=l(TP(),1);function Lle(e){return Object.prototype.toString.call(e)==="[object Object]"}function Dle(e){var t,r;return Lle(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(Lle(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}function os(e,t){return(0,Fle.default)(e,t,{isMergeableObject:Dle,customMerge:r=>{if(r==="backgroundImage")return(o,n)=>n??o}})}function Vle(e,t){var r=0,o,n;t=t||{};function i(){var a=o,s=arguments.length,d,c;e:for(;a;){if(a.args.length!==arguments.length){a=a.next;continue}for(c=0;c<s;c++)if(a.args[c]!==arguments[c]){a=a.next;continue e}return a!==o&&(a===n&&(n=a.prev),a.prev.next=a.next,a.next&&(a.next.prev=a.prev),a.next=o,a.prev=null,o.prev=a,o=a),a.val}for(d=new Array(s),c=0;c<s;c++)d[c]=arguments[c];return a={args:d,val:e.apply(null,d)},o?(o.prev=a,a.next=o):n=a,r===t.maxSize?(n=n.prev,n.next=null):r++,o=a,a.val}return i.clear=function(){o=null,n=null,r=0},i}var kr=l($(),1),zle=l(cr(),1),PP=new Map,YZe=[],SW={caption:(0,kr.__)("Caption"),link:(0,kr.__)("Link"),button:(0,kr.__)("Button"),heading:(0,kr.__)("Heading"),h1:(0,kr.__)("H1"),h2:(0,kr.__)("H2"),h3:(0,kr.__)("H3"),h4:(0,kr.__)("H4"),h5:(0,kr.__)("H5"),h6:(0,kr.__)("H6"),"settings.color":(0,kr.__)("Color"),"settings.typography":(0,kr.__)("Typography"),"settings.shadow":(0,kr.__)("Shadow"),"settings.layout":(0,kr.__)("Layout"),"styles.color":(0,kr.__)("Colors"),"styles.spacing":(0,kr.__)("Spacing"),"styles.background":(0,kr.__)("Background"),"styles.typography":(0,kr.__)("Typography"),"styles.border":(0,kr.__)("Border"),"styles.shadow":(0,kr.__)("Shadow"),"styles.outline":(0,kr.__)("Outline"),"styles.filter":(0,kr.__)("Filter"),"styles.dimensions":(0,kr.__)("Dimensions")},qZe=Vle(()=>(0,zle.getBlockTypes)().reduce((e,{name:t,title:r})=>(e[t]=r,e),{})),IP=e=>e!==null&&typeof e=="object";function KZe(e){if(SW[e])return SW[e];let t=e.split(".");if(t?.[0]==="blocks")return qZe()?.[t[1]]||t[1];if(t?.[0]==="elements")return SW[t[1]]||t[1]}function jle(e,t,r=""){if(!IP(e)&&!IP(t))return e!==t?r.split(".").slice(0,2).join("."):void 0;e=IP(e)?e:{},t=IP(t)?t:{};let o=new Set([...Object.keys(e),...Object.keys(t)]),n=[];for(let i of o){let a=r?r+"."+i:i,s=jle(e[i],t[i],a);s&&(n=n.concat(s))}return n}var XZe=["background","color","typography","spacing","border","shadow","outline","filter","dimensions"];function Ble(e){return Object.fromEntries(XZe.map(t=>[t,e?.styles?.[t]]))}function ZZe(e,t){let r=JSON.stringify({next:e,previous:t});if(PP.has(r))return PP.get(r);let o=jle({styles:Ble(e),blocks:e?.styles?.blocks,elements:e?.styles?.elements,settings:e?.settings},{styles:Ble(t),blocks:t?.styles?.blocks,elements:t?.styles?.elements,settings:t?.settings});if(!o||Array.isArray(o)&&!o.length)return PP.set(r,[]),[];let n=Array.isArray(o)?o:[o],i=[...new Set(n)].reduce((a,s)=>{let d=KZe(s);return d&&a.push([s.split(".")[0],d]),a},[]);return PP.set(r,i),i}function CW(e,t,r={}){let o=ZZe(e,t),n=o.length,{maxResults:i}=r;return n?(i&&n>i&&(o=o.slice(0,i)),Object.entries(o.reduce((a,s)=>{let d=a[s[0]]||[];return d.includes(s[1])||(a[s[0]]=[...d,s[1]]),a},{})).map(([a,s])=>{let d=s.length,c=s.join((0,kr.__)(", "));switch(a){case"blocks":return(0,kr.sprintf)((0,kr._n)("%s block.","%s blocks.",d),c);case"elements":return(0,kr.sprintf)((0,kr._n)("%s element.","%s elements.",d),c);case"settings":return(0,kr.sprintf)((0,kr.__)("%s settings."),c);case"styles":return(0,kr.sprintf)((0,kr.__)("%s styles."),c);default:return(0,kr.sprintf)((0,kr.__)("%s."),c)}})):YZe}var ns=l(cr(),1),IE=l(vW(),1),lde=l(se(),1);function W0(e,t="root",r={}){if(!t)return null;let{fallback:o=!1}=r,{name:n,selectors:i,supports:a}=e,s=i&&Object.keys(i).length>0,d=Array.isArray(t)?t.join("."):t,c=null;if(s&&i.root?c=i?.root:a?.__experimentalSelector?c=a.__experimentalSelector:c=".wp-block-"+n.replace("core/","").replace("/","-"),d==="root")return c;let u=Array.isArray(t)?t:t.split(".");if(u.length===1){let m=o?c:null;if(s)return Dr(i,`${d}.root`,null)||Dr(i,d,null)||m;let g=a?Dr(a,`${d}.__experimentalSelector`,null):void 0;return g?_u(c,g):m}let f;return s&&(f=Dr(i,d,null)),f||(o?W0(e,u[0],r):null)}for(Kle={grad:.9,turn:360,rad:360/(2*Math.PI)},sf=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Ta=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},Al=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},OW=function(e){return(e=isFinite(e)?e%360:0)<0?e+360:e},AP=function(e,t){return t===void 0&&(t=0),Ta(e,t)%360},RW=function(e){return{r:Al(e.r,0,255),g:Al(e.g,0,255),b:Al(e.b,0,255),a:Al(e.a)}},MP=function(e){return{r:Ta(e.r),g:Ta(e.g),b:Ta(e.b),a:Ta(e.a,3)}},Xle=/^#([0-9a-f]{3,8})$/i,Cw=function(e,t){var r=e.charCodeAt(t);return(15&r)+9*(r>>6)},TE=function(e,t){return Cw(e,t)<<4|Cw(e,t+1)},TW=[],RE=0;RE<256;RE++)TW.push((RE<16?"0":"")+RE.toString(16));var Kle,sf,Ta,Al,OW,AP,RW,MP,Xle,Cw,TE,TW,RE,OP=function(e){return TW[Al(e,0,255)]},Zle=function(e){var t=e.r,r=e.g,o=e.b,n=e.a,i=Math.max(t,r,o),a=i-Math.min(t,r,o),s=a?i===t?(r-o)/a:i===r?2+(o-t)/a:4+(t-r)/a:0;return{h:60*(s<0?s+6:s),s:i?a/i*100:0,v:i/255*100,a:n}},Qle=function(e){var t=e.h,r=e.s,o=e.v,n=e.a;t=t/360*6,r/=100,o/=100;var i=Math.floor(t),a=o*(1-r),s=o*(1-(t-i)*r),d=o*(1-(1-t+i)*r),c=i%6;return{r:255*[o,s,a,a,d,o][c],g:255*[d,o,o,s,a,a][c],b:255*[a,a,d,o,o,s][c],a:n}},Hle=function(e){return{h:OW(e.h),s:Al(e.s,0,100),l:Al(e.l,0,100),a:Al(e.a)}},Ule=function(e){return{h:AP(e.h),s:Ta(e.s),l:Ta(e.l),a:Ta(e.a,3)}},Wle=function(e){return Qle((r=(t=e).s,{h:t.h,s:(r*=((o=t.l)<50?o:100-o)/100)>0?2*r/(o+r)*100:0,v:o+r,a:t.a}));var t,r,o},G0=function(e){return{h:(t=Zle(e)).h,s:(n=(200-(r=t.s))*(o=t.v)/100)>0&&n<200?r*o/100/(n<=100?n:200-n)*100:0,l:n/2,a:t.a};var t,r,o,n},QZe=/^hsla?\(\s*([+-]?(?:\d*\.\d+|\d+))(deg|rad|grad|turn)?\s*,\s*([+-]?(?:\d*\.\d+|\d+))%\s*,\s*([+-]?(?:\d*\.\d+|\d+))%\s*(?:,\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*)?\)$/i,$Ze=/^hsla?\(\s*([+-]?(?:\d*\.\d+|\d+))(deg|rad|grad|turn)?\s+([+-]?(?:\d*\.\d+|\d+))%\s+([+-]?(?:\d*\.\d+|\d+))%\s*(?:\/\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*)?\)$/i,JZe=/^rgba?\(\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*,\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*,\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*(?:,\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*)?\)$/i,eQe=/^rgba?\(\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s+([+-]?(?:\d*\.\d+|\d+))(%)?\s+([+-]?(?:\d*\.\d+|\d+))(%)?\s*(?:\/\s*([+-]?(?:\d*\.\d+|\d+))(%)?\s*)?\)$/i,PW={string:[[function(e){if(!Xle.test(e))return null;var t=e.length;return t<=5?{r:17*Cw(e,1),g:17*Cw(e,2),b:17*Cw(e,3),a:t===5?Ta(17*Cw(e,4)/255,2):1}:t===7||t===9?{r:TE(e,1),g:TE(e,3),b:TE(e,5),a:t===9?Ta(TE(e,7)/255,2):1}:null},"hex"],[function(e){var t=JZe.exec(e)||eQe.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:RW({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=QZe.exec(e)||$Ze.exec(e);if(!t)return null;var r,o,n=Hle({h:(r=t[1],o=t[2],o===void 0&&(o="deg"),Number(r)*(Kle[o]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return Wle(n)},"hsl"]],object:[[function(e){var t=e.r,r=e.g,o=e.b,n=e.a,i=n===void 0?1:n;return sf(t)&&sf(r)&&sf(o)?RW({r:Number(t),g:Number(r),b:Number(o),a:Number(i)}):null},"rgb"],[function(e){var t=e.h,r=e.s,o=e.l,n=e.a,i=n===void 0?1:n;if(!sf(t)||!sf(r)||!sf(o))return null;var a=Hle({h:Number(t),s:Number(r),l:Number(o),a:Number(i)});return Wle(a)},"hsl"],[function(e){var t=e.h,r=e.s,o=e.v,n=e.a,i=n===void 0?1:n;if(!sf(t)||!sf(r)||!sf(o))return null;var a=(function(s){return{h:OW(s.h),s:Al(s.s,0,100),v:Al(s.v,0,100),a:Al(s.a)}})({h:Number(t),s:Number(r),v:Number(o),a:Number(i)});return Qle(a)},"hsv"]]},Gle=function(e,t){for(var r=0;r<t.length;r++){var o=t[r][0](e);if(o)return[o,t[r][1]]}return[null,void 0]},tQe=function(e){return typeof e=="string"?Gle(e.trim(),PW.string):typeof e=="object"&&e!==null?Gle(e,PW.object):[null,void 0]};var kW=function(e,t){var r=G0(e);return{h:r.h,s:Al(r.s+100*t,0,100),l:r.l,a:r.a}},EW=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},Yle=function(e,t){var r=G0(e);return{h:r.h,s:r.s,l:Al(r.l+100*t,0,100),a:r.a}},IW=(function(){function e(t){this.parsed=tQe(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return this.parsed!==null},e.prototype.brightness=function(){return Ta(EW(this.rgba),2)},e.prototype.isDark=function(){return EW(this.rgba)<.5},e.prototype.isLight=function(){return EW(this.rgba)>=.5},e.prototype.toHex=function(){return t=MP(this.rgba),r=t.r,o=t.g,n=t.b,a=(i=t.a)<1?OP(Ta(255*i)):"","#"+OP(r)+OP(o)+OP(n)+a;var t,r,o,n,i,a},e.prototype.toRgb=function(){return MP(this.rgba)},e.prototype.toRgbString=function(){return t=MP(this.rgba),r=t.r,o=t.g,n=t.b,(i=t.a)<1?"rgba("+r+", "+o+", "+n+", "+i+")":"rgb("+r+", "+o+", "+n+")";var t,r,o,n,i},e.prototype.toHsl=function(){return Ule(G0(this.rgba))},e.prototype.toHslString=function(){return t=Ule(G0(this.rgba)),r=t.h,o=t.s,n=t.l,(i=t.a)<1?"hsla("+r+", "+o+"%, "+n+"%, "+i+")":"hsl("+r+", "+o+"%, "+n+"%)";var t,r,o,n,i},e.prototype.toHsv=function(){return t=Zle(this.rgba),{h:AP(t.h),s:Ta(t.s),v:Ta(t.v),a:Ta(t.a,3)};var t},e.prototype.invert=function(){return mi({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&&(t=.1),mi(kW(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),mi(kW(this.rgba,-t))},e.prototype.grayscale=function(){return mi(kW(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),mi(Yle(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),mi(Yle(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&&(t=15),this.hue(G0(this.rgba).h+t)},e.prototype.alpha=function(t){return typeof t=="number"?mi({r:(r=this.rgba).r,g:r.g,b:r.b,a:t}):Ta(this.rgba.a,3);var r},e.prototype.hue=function(t){var r=G0(this.rgba);return typeof t=="number"?mi({h:t,s:r.s,l:r.l,a:r.a}):AP(r.h)},e.prototype.isEqual=function(t){return this.toHex()===mi(t).toHex()},e})(),mi=function(e){return e instanceof IW?e:new IW(e)},qle=[],$le=function(e){e.forEach(function(t){qle.indexOf(t)<0&&(t(IW,PW),qle.push(t))})};function rQe(e=[]){let t={r:[],g:[],b:[],a:[]};return e.forEach(r=>{let o=mi(r).toRgb();t.r.push(o.r/255),t.g.push(o.g/255),t.b.push(o.b/255),t.a.push(o.a)}),t}function Jle(e){return`${e}{filter:none}`}function ede(e,t){return`${e}{filter:url(#${t})}`}function NP(e,t){let r=rQe(t);return`
<svg
	xmlns:xlink="http://www.w3.org/1999/xlink"
	viewBox="0 0 0 0"
	width="0"
	height="0"
	focusable="false"
	role="none"
	aria-hidden="true"
	style="visibility: hidden; position: absolute; left: -9999px; overflow: hidden;"
>
	<defs>
		<filter id="${e}">
			<!--
				Use sRGB instead of linearRGB so transparency looks correct.
				Use perceptual brightness to convert to grayscale.
			-->
			<feColorMatrix color-interpolation-filters="sRGB" type="matrix" values=" .299 .587 .114 0 0 .299 .587 .114 0 0 .299 .587 .114 0 0 .299 .587 .114 0 0 "></feColorMatrix>
			<!-- Use sRGB instead of linearRGB to be consistent with how CSS gradients work. -->
			<feComponentTransfer color-interpolation-filters="sRGB">
				<feFuncR type="table" tableValues="${r.r.join(" ")}"></feFuncR>
				<feFuncG type="table" tableValues="${r.g.join(" ")}"></feFuncG>
				<feFuncB type="table" tableValues="${r.b.join(" ")}"></feFuncB>
				<feFuncA type="table" tableValues="${r.a.join(" ")}"></feFuncA>
			</feComponentTransfer>
			<!-- Re-mask the image with the original transparency since the feColorMatrix above loses that information. -->
			<feComposite in2="SourceGraphic" operator="in"></feComposite>
		</filter>
	</defs>
</svg>`}function eb(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/([0-9])([a-zA-Z])/g,"$1-$2").replace(/([a-zA-Z])([0-9])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()}function MW(e){if(!e)return;let t=e.match(/var:preset\|spacing\|(.+)/);return t?`var(--wp--preset--spacing--${t[1]})`:e}function oQe(e){if(!e)return null;let t=typeof e=="string";return{top:t?e:e?.top,left:t?e:e?.left}}function LP(e,t="0"){let r=oQe(e);if(!r)return null;let o=MW(r?.top)||t,n=MW(r?.left)||t;return o===n?o:`${o} ${n}`}var tde={backgroundSize:"cover",backgroundPosition:"50% 50%"};function nQe(e){return typeof e=="object"&&e!==null&&"url"in e&&!!e.url}function rde(e){if(!e||!nQe(e.backgroundImage))return;let t;return e?.backgroundSize||(t={backgroundSize:tde.backgroundSize}),e?.backgroundSize==="contain"&&!e?.backgroundPosition&&(t={backgroundPosition:tde.backgroundPosition}),t}var ode={default:{name:"default",slug:"flow",className:"is-layout-flow",baseStyles:[{selector:" > .alignleft",rules:{float:"left","margin-left":"0","margin-right":"2em"}},{selector:" > .alignright",rules:{float:"right","margin-left":"2em","margin-right":"0"}},{selector:" > .aligncenter",rules:{"margin-left":"auto !important","margin-right":"auto !important"}}],spacingStyles:[{selector:" > :first-child",rules:{"margin-block-start":"0"}},{selector:" > :last-child",rules:{"margin-block-end":"0"}},{selector:" > *",rules:{"margin-block-start":null,"margin-block-end":"0"}}]},constrained:{name:"constrained",slug:"constrained",className:"is-layout-constrained",baseStyles:[{selector:" > .alignleft",rules:{float:"left","margin-left":"0","margin-right":"2em"}},{selector:" > .alignright",rules:{float:"right","margin-left":"2em","margin-right":"0"}},{selector:" > .aligncenter",rules:{"margin-left":"auto !important","margin-right":"auto !important"}},{selector:" > :where(:not(.alignleft):not(.alignright):not(.alignfull))",rules:{"max-width":"var(--wp--style--global--content-size)","margin-left":"auto !important","margin-right":"auto !important"}},{selector:" > .alignwide",rules:{"max-width":"var(--wp--style--global--wide-size)"}}],spacingStyles:[{selector:" > :first-child",rules:{"margin-block-start":"0"}},{selector:" > :last-child",rules:{"margin-block-end":"0"}},{selector:" > *",rules:{"margin-block-start":null,"margin-block-end":"0"}}]},flex:{name:"flex",slug:"flex",className:"is-layout-flex",displayMode:"flex",baseStyles:[{selector:"",rules:{"flex-wrap":"wrap","align-items":"center"}},{selector:" > :is(*, div)",rules:{margin:"0"}}],spacingStyles:[{selector:"",rules:{gap:null}}]},grid:{name:"grid",slug:"grid",className:"is-layout-grid",displayMode:"grid",baseStyles:[{selector:" > :is(*, div)",rules:{margin:"0"}}],spacingStyles:[{selector:"",rules:{gap:null}}]}};var nde={mobile:"480px",tablet:"782px"},ide=/^(\d+|\d*\.\d+)(px|em|rem)$/,iQe=16;function aQe(e){return"mobile"in e||"tablet"in e}function sQe(e){return!e||typeof e!="object"?{}:aQe(e)?e:e.settings?.viewport??{}}function lQe(e){return typeof e=="string"&&ide.test(e.trim())}function AW(e){if(typeof e=="number")return e;if(typeof e!="string")return;let t=e.trim().match(ide);if(!t)return;let r=Number.parseFloat(t[1]);return t[2]==="px"?r:r*iQe}function NW(e){let t=sQe(e),r={},o={};Object.keys(nde).forEach(s=>{let d=s,c=t[d],u=AW(c);u!==void 0&&lQe(c)&&(r[d]=c.trim(),o[d]=u)});let n=Object.keys(r);if(!n.length)return{...nde};if(n.length===1)return r;let i=r.mobile,a=r.tablet;return o.mobile>=o.tablet?{mobile:i}:{mobile:i,tablet:a}}function PE(e){let t=NW(e),r={};return t.mobile&&(r["@mobile"]=`@media (width <= ${t.mobile})`),t.tablet&&(r["@tablet"]=t.mobile?`@media (${t.mobile} < width <= ${t.tablet})`:`@media (width <= ${t.tablet})`),r}var dQe={button:"wp-element-button",caption:"wp-element-caption"},cQe={__experimentalBorder:"border",color:"color",dimensions:"dimensions",spacing:"spacing",typography:"typography"},dde={"core/button":[":hover",":focus",":focus-visible",":active"],"core/navigation-link":[":hover",":focus",":focus-visible",":active"]},uQe={link:[":link",":any-link",":visited",":hover",":focus",":focus-visible",":active"],button:[":link",":any-link",":visited",":hover",":focus",":focus-visible",":active"],textInput:[":required",":user-valid",":user-invalid",":focus",":focus-visible","::placeholder"],select:[":hover",":focus",":focus-visible",":active"]};function pQe(e="*",t={}){return H0.reduce((r,{path:o,cssVarInfix:n,classes:i})=>{if(!i)return r;let a=Dr(t,o,[]);return["default","theme","custom"].forEach(s=>{a[s]&&a[s].forEach(({slug:d})=>{i.forEach(({classSuffix:c,propertyName:u})=>{let f=`.has-${eb(d)}-${c}`,m=e?`:where(${e})${f}`:f,g=`var(--wp--preset--${n}--${eb(d)})`;r+=`${m}{${u}: ${g} !important;}`})})}),r},"")}function fQe(e={}){return H0.filter(t=>t.path.at(-1)==="duotone").flatMap(t=>{let r=Dr(e,t.path,{});return["default","theme","custom"].filter(o=>r[o]).flatMap(o=>r[o].map(n=>NP(`wp-duotone-${n.slug}`,n.colors))).join("")})}function cde(e={},t,r){let o=[];return Object.keys(e).forEach(n=>{let i=t+eb(n.replace("/","-")),a=e[n];if(a instanceof Object){let s=i+r;o=[...o,...cde(a,s,r)]}else o.push(`${i}: ${a}`)}),o}var mQe=(e,t,r)=>{if(r!=="core/paragraph"||(t?.blocks?.["core/paragraph"]?.typography?.textIndent??t?.typography?.textIndent??"subsequent")!=="all")return e;let i=".wp-block-paragraph + .wp-block-paragraph",a=".wp-block-paragraph";if(i in e){let s=e[i],d={...e};return delete d[i],d[a]=s,d}return e},gQe=(e,t)=>{let r=".wp-block-button";if(!(r in e))return e;let o={...e};return o[r]=o[r].map(n=>{let i=n.match(/^width:\s*(.+)$/);if(!i)return n;let a=i[1],s=null;a.endsWith("%")&&(s=parseFloat(a));let d="var(--wp--preset--dimension--";if(s===null&&a.startsWith(d)&&a.endsWith(")")){let c=a.slice(d.length,-1),u={...t?.dimensions?.dimensionSizes??{},...t?.blocks?.["core/button"]?.dimensions?.dimensionSizes??{}};for(let f of Object.values(u))if(Array.isArray(f)){for(let m of f)if(m.slug===c&&typeof m.size=="string"&&m.size.endsWith("%")){s=parseFloat(m.size);break}if(s!==null)break}}return s===null||isNaN(s)?n:`width: calc(${s} * 1% - (var(--wp--style--block-gap, 0.5em) * (1 - ${s} / 100)))`}),o},hQe=(e,t)=>{let r={};return Object.entries(e).forEach(([o,n])=>{if(o==="root"||o==="css"||!t?.[o])return;let i=typeof n=="string";if(!i&&typeof n=="object"&&n!==null&&Object.entries(n).forEach(([a,s])=>{if(a==="root"||!t?.[o][a])return;let d={[o]:{[a]:t[o][a]}},c=FP(d);r[s]=[...r[s]||[],...c],delete t[o][a]}),i||typeof n=="object"&&n!==null&&"root"in n){let a=i?n:n.root,s={[o]:t[o]},d=FP(s);r[a]=[...r[a]||[],...d],delete t[o]}}),r};function bQe(e,t,r){if(r?.find(a=>a?.background?.backgroundClip)?.background?.backgroundClip!=="text")return e;let n=t?.background?.backgroundClip,i=!!t?.background?.gradient||!!t?.background?.backgroundImage||!!t?.color?.gradient;return n&&n!=="text"?i?e:[...e,"background-image: unset"]:!n&&!i&&t?.color?.text?[...e,"-webkit-text-fill-color: currentColor"]:e}function FP(e={},t="",r,o={},n=!1){let i=af===t,a=Object.entries(ns.__EXPERIMENTAL_STYLE_PROPERTY).reduce((d,[c,{value:u,properties:f,useEngine:m,rootOnly:g}])=>{if(g&&!i)return d;let h=u;if(h[0]==="elements"||m)return d;let b=Dr(e,h);if(c==="--wp--style--root--padding"&&(typeof b=="string"||!r))return d;if(f&&typeof b!="string")Object.entries(f).forEach(_=>{let[y,w]=_;if(!Dr(b,[w],!1))return;let v=y.startsWith("--")?y:eb(y);d.push(`${v}: ${(0,IE.getCSSValueFromRawStyle)(Dr(b,[w]))}`)});else if(Dr(e,h,!1)){let _=c.startsWith("--")?c:eb(c);d.push(`${_}: ${(0,IE.getCSSValueFromRawStyle)(Dr(e,h))}`)}return d},[]);return e.background&&(e.background?.backgroundImage&&(e.background.backgroundImage=$h(e.background.backgroundImage,o)),!i&&e.background?.backgroundImage?.id&&(e={...e,background:{...e.background,...rde(e.background)}})),(0,IE.getCSSRules)(e).forEach(d=>{if(i&&(r||n)&&d.key.startsWith("padding"))return;let c=d.key.startsWith("-")?d.key:eb(d.key),u=$h(d.value,o);c==="font-size"&&(u=RP({name:"",slug:"",size:u},o?.settings)),c==="aspect-ratio"&&a.push("min-height: unset"),a.push(`${c}: ${u}`)}),a}function vQe({layoutDefinitions:e=ode,style:t,selector:r,hasBlockGapSupport:o,hasFallbackGapSupport:n,fallbackGapValue:i}){let a="",s=t?.spacing?.blockGap,d=o?LP(s):"";n&&(r===af?d=d||"0.5em":!o&&i&&(d=i));let c=o&&s&&typeof s!="string"?LP(s.top):d;if(d&&e&&(Object.values(e).forEach(({className:u,name:f,spacingStyles:m})=>{if(!o&&f!=="flex"&&f!=="grid")return;let g=["default","constrained"].includes(f)?c:d;m?.length&&m.forEach(h=>{let b=[];if(h.rules&&Object.entries(h.rules).forEach(([_,y])=>{b.push(`${_}: ${y||g}`)}),b.length){let _="";o?_=r===af?`:root :where(.${u})${h?.selector||""}`:`:root :where(${r}-${u})${h?.selector||""}`:_=r===af?`:where(.${u}${h?.selector||""})`:`:where(${r}.${u}${h?.selector||""})`,a+=`${_} { ${b.join("; ")}; }`}})}),r===af&&o&&(a+=`${xE} { --wp--style--block-gap: ${d}; }`)),r===af&&e){let u=["block","flex","grid"];Object.values(e).forEach(({className:f,displayMode:m,baseStyles:g})=>{m&&u.includes(m)&&(a+=`${r} .${f} { display:${m}; }`),g?.length&&g.forEach(h=>{let b=[];if(h.rules&&Object.entries(h.rules).forEach(([_,y])=>{b.push(`${_}: ${y}`)}),b.length){let _=`.${f}${h?.selector||""}`;a+=`${_} { ${b.join("; ")}; }`}})})}return a}var _Qe=["border","color","dimensions","spacing","typography","filter","outline","shadow","background"];function wQe(e,t){return DP(e,void 0,t)}function DP(e,t,r){if(!e)return{};let o=Object.entries(e),n=t?dde[t]??[]:[],a=o.filter(([s])=>_Qe.includes(s)||n.includes(s)||r[s]).map(([s,d])=>[s,JSON.parse(JSON.stringify(d))]);return Object.fromEntries(a)}function ade(e){let{styles:t,baseStyles:r,selector:o,featureSelectors:n,name:i,elementName:a,mediaQuery:s,variationName:d}=e,c=i?dde[i]??[]:uQe[a??""]??[];return c.length?c.flatMap(u=>{let f=t?.[u];return!f||typeof f!="object"?[]:[{styles:JSON.parse(JSON.stringify(f)),baseStyles:[t,...r??[]],selector:o,selectorSuffix:u,mediaQuery:s,featureSelectors:n&&typeof n!="string"?n:void 0,name:i,elementName:a,variationName:d}]}):[]}function yQe(e){return e?.startsWith("::")??!1}function sde(e,t){return yQe(t)?`:root :where(${e})${t}`:`:root :where(${SE(e,t)})`}function xQe(e,t){let{styles:r,baseStyles:o,selector:n,fallbackGapValue:i,featureSelectors:a,hasLayoutSupport:s,layoutHasBlockGapSupport:d,layoutSelector:c,name:u,elementName:f,isStyleVariation:m,variationName:g}=e;return!u&&!f?[]:Object.entries(t).flatMap(([h,b])=>{let _=r?.[h];return!_||typeof _!="object"?[]:[{styles:JSON.parse(JSON.stringify(_)),baseStyles:[r,...o??[]],selector:n,mediaQuery:b,featureSelectors:a&&typeof a!="string"?a:void 0,fallbackGapValue:i,hasLayoutSupport:s,name:u,elementName:f,isStyleVariation:m,variationName:g,layoutSelector:c,layoutHasBlockGapSupport:d}]})}function LW(e,t){let r={...e?.elements??{}};return Object.keys(t).forEach(o=>{Object.entries(e?.[o]?.elements??{}).forEach(([n,i])=>{r[n]={...r[n]??{},[o]:i}})}),r}var SQe=(e,t)=>{let r=[];if(!e?.styles)return r;let o=PE(e),n=wQe(e.styles,o);return n&&r.push({styles:n,selector:af,skipSelectorWrapper:!0}),Object.entries(ns.__EXPERIMENTAL_ELEMENTS).forEach(([i,a])=>{e.styles?.elements?.[i]&&r.push({styles:e.styles?.elements?.[i]??{},selector:a,elementName:i,skipSelectorWrapper:!dQe[i]})}),Object.entries(e.styles?.blocks??{}).forEach(([i,a])=>{let s=DP(a,i,o),d=a;d?.css&&(s.css=d.css);let c=[],u=[];d?.variations&&Object.entries(d.variations).forEach(([f,m])=>{let g=m,h=DP(g,i,o);g?.css&&(h.css=g.css);let b=typeof t!="string"?t[i]?.styleVariationSelectors?.[f]:void 0;if(b&&typeof t!="string"){let _=t[i];u.push({styles:h,baseStyles:[d],selector:b,featureSelectors:_?.featureSelectors,fallbackGapValue:_?.fallbackGapValue,hasLayoutSupport:_?.hasLayoutSupport,isStyleVariation:!0,variationName:f,layoutSelector:b+_.selector,layoutHasBlockGapSupport:!0,name:i})}Object.entries(LW(g,o)).forEach(([_,y])=>{y&&ns.__EXPERIMENTAL_ELEMENTS[_]&&c.push({styles:y,selector:_u(b,ns.__EXPERIMENTAL_ELEMENTS[_]),elementName:_,isStyleVariation:!0})}),Object.entries(g?.blocks??{}).forEach(([_,y])=>{let w=typeof t!="string"?_u(b,t[_]?.selector):void 0,v=typeof t!="string"?_u(b,t[_]?.duotoneSelector):void 0,x=typeof t!="string"?Tle(b,t[_]?.featureSelectors??{}):void 0,S=DP(y,_,o);y?.css&&(S.css=y.css),!(!w||typeof t=="string")&&(c.push({selector:w,name:_,isStyleVariation:!0,duotoneSelector:v,featureSelectors:x,fallbackGapValue:t[_]?.fallbackGapValue,hasLayoutSupport:t[_]?.hasLayoutSupport,styles:S}),Object.entries(LW(y,o)).forEach(([C,k])=>{k&&ns.__EXPERIMENTAL_ELEMENTS[C]&&c.push({styles:k,selector:_u(w,ns.__EXPERIMENTAL_ELEMENTS[C]),elementName:C,isStyleVariation:!0})}))})}),typeof t!="string"&&t?.[i]?.selector&&r.push({duotoneSelector:t[i].duotoneSelector,fallbackGapValue:t[i].fallbackGapValue,hasLayoutSupport:t[i].hasLayoutSupport,selector:t[i].selector,styles:s,featureSelectors:t[i].featureSelectors,name:i}),r.push(...u),Object.entries(LW(d,o)).forEach(([f,m])=>{typeof t!="string"&&m&&t?.[i]&&ns.__EXPERIMENTAL_ELEMENTS[f]&&r.push({styles:m,selector:t[i]?.selector.split(",").map(g=>ns.__EXPERIMENTAL_ELEMENTS[f].split(",").map(b=>g+" "+b)).join(","),elementName:f})}),r.push(...c)}),r},DW=(e,t)=>{let r=[];if(!e?.settings)return r;let o=a=>{let s={};return H0.forEach(({path:d})=>{let c=Dr(a,d,!1);c!==!1&&(s=Qh(s,d,c))}),s},n=o(e.settings),i=e.settings?.custom;return(Object.keys(n).length>0||i)&&r.push({presets:n,custom:i,selector:xE}),Object.entries(e.settings?.blocks??{}).forEach(([a,s])=>{let d=s.custom;if(typeof t=="string"||!t[a])return;let c=o(s);(Object.keys(c).length>0||d)&&r.push({presets:c,custom:d,selector:t[a]?.selector,featureSelectors:t[a]?.featureSelectors})}),r};function CQe(e,t,r){if(!e||typeof e=="string")return r;let o=e[t];return typeof o=="string"?o:o&&typeof o=="object"&&typeof o.root=="string"?o.root:r}function kQe(e,t,{path:r,valueKey:o,valueFunc:n,cssVarInfix:i}){let a=Dr(e,r,[]),s=[];for(let d of["default","theme","custom"])if(a[d])for(let c of a[d]){let u=eb(c.slug);o&&!n?s.push(`--wp--preset--${i}--${u}: ${c[o]}`):n&&typeof n=="function"&&s.push(`--wp--preset--${i}--${u}: ${n(c,t)}`)}return s}var EQe=(e,t)=>{let r=DW(e,t),o="";for(let{presets:n,custom:i,selector:a,featureSelectors:s}of r){let d=a,c={[d]:[]};if(e?.settings)for(let f of H0){let m=kQe(n,e.settings,f);if(m.length===0)continue;let g=CQe(s,f.path[0],d);c[g]||(c[g]=[]),c[g].push(...m)}let u=cde(i,"--wp--custom--","--");u.length>0&&c[d].push(...u);for(let[f,m]of Object.entries(c))m.length>0&&(o+=`${f}{${m.join(";")};}`)}return o};function RQe(e,{tree:t,useRootPaddingAlign:r,disableLayoutStyles:o,hasBlockGapSupport:n,hasFallbackGapSupport:i,disableRootPadding:a}){let{selector:s,selectorSuffix:d,mediaQuery:c,duotoneSelector:u,styles:f,baseStyles:m,fallbackGapValue:g,hasLayoutSupport:h,featureSelectors:b,layoutSelector:_,layoutHasBlockGapSupport:y,skipSelectorWrapper:w,name:v,variationName:x}=e,S="",C=d?SE(s,d):s;if(b&&typeof b!="string"){let R=hQe(b,f);R=mQe(R,t.settings,v),R=gQe(R,t.settings),Object.entries(R).forEach(([T,O])=>{if(O.length){let A=x?yW(x,T):T,D=d?sde(A,d):`:root :where(${A})`,V=O.join(";");S+=`${D}{${V};}`}})}if(u){let R={};f?.filter&&(R.filter=f.filter,delete f.filter);let T=FP(R);T.length&&(S+=`${u}{${T.join(";")};}`)}let k=_??C;!o&&(af===k||h)&&(S+=vQe({style:f,selector:k,hasBlockGapSupport:y??n,hasFallbackGapSupport:i,fallbackGapValue:g}));let I=FP(f,C,r,t,a),M=bQe(I,f,m);if(M?.length){let R=`:root :where(${C})`;w?R=C:d&&(R=sde(s,d)),S+=`${R}{${M.join(";")};}`}if(f?.css){let R=b&&typeof b=="object"?b.css:void 0,T;typeof R=="string"?T=R:R&&typeof R=="object"&&"root"in R&&typeof R.root=="string"&&(T=R.root),T&&x&&(T=yW(x,T));let O=T??s,A=d?SE(O,d):O;S+=AQe(f.css,A)}return c&&S?`${c}{${S}}`:S}var TQe=(e,t,r,o,n=!1,i=!1,a={})=>{let s={blockGap:!0,blockStyles:!0,layoutStyles:!0,marginReset:!0,presets:!0,rootPadding:!0,variationStyles:!1,...a},d=SQe(e,t),c=DW(e,t),u=e?.settings?.useRootPaddingAwareAlignments,{contentSize:f,wideSize:m}=e?.settings?.layout||{},g=s.marginReset||s.rootPadding||s.layoutStyles,h="";if(s.presets&&(f||m)&&(h+=`${xE} {`,h=f?h+` --wp--style--global--content-size: ${f};`:h,h=m?h+` --wp--style--global--wide-size: ${m};`:h,h+="}"),g&&(h+=":where(body) {margin: 0;",s.rootPadding&&u&&(h+=`padding-right: 0; padding-left: 0; padding-top: var(--wp--style--root--padding-top); padding-bottom: var(--wp--style--root--padding-bottom) }
				.has-global-padding { padding-right: var(--wp--style--root--padding-right); padding-left: var(--wp--style--root--padding-left); }
				.has-global-padding > .alignfull { margin-right: calc(var(--wp--style--root--padding-right) * -1); margin-left: calc(var(--wp--style--root--padding-left) * -1); }
				.has-global-padding :where(:not(.alignfull.is-layout-flow) > .has-global-padding:not(.wp-block-block, .alignfull)) { padding-right: 0; padding-left: 0; }
				.has-global-padding :where(:not(.alignfull.is-layout-flow) > .has-global-padding:not(.wp-block-block, .alignfull)) > .alignfull { margin-left: 0; margin-right: 0;
				`),h+="}"),s.blockStyles){let b=PE(e);d.forEach(_=>{if(_.isStyleVariation&&!s.variationStyles)return;let y=xQe(_,b);[_,...y,...ade(_),...y.flatMap(ade)].forEach(w=>{h+=RQe(w,{tree:e,useRootPaddingAlign:u,disableLayoutStyles:n,hasBlockGapSupport:r,hasFallbackGapSupport:o,disableRootPadding:i})})})}if(s.layoutStyles&&(h=h+".wp-site-blocks > .alignleft { float: left; margin-right: 2em; }",h=h+".wp-site-blocks > .alignright { float: right; margin-left: 2em; }",h=h+".wp-site-blocks > .aligncenter { justify-content: center; margin-left: auto; margin-right: auto; }"),s.blockGap&&r){let b=LP(e?.styles?.spacing?.blockGap)||"0.5em";h=h+`:root :where(.wp-site-blocks) > * { margin-block-start: ${b}; margin-block-end: 0; }`,h=h+":root :where(.wp-site-blocks) > :first-child { margin-block-start: 0; }",h=h+":root :where(.wp-site-blocks) > :last-child { margin-block-end: 0; }"}return s.presets&&c.forEach(({selector:b,presets:_})=>{(af===b||xE===b)&&(b="");let y=pQe(b,_);y.length>0&&(h+=y)}),h};function PQe(e,t){return DW(e,t).flatMap(({presets:o})=>fQe(o))}var IQe=(e,t)=>{if(e?.selectors&&Object.keys(e.selectors).length>0)return e.selectors;let r={root:t};return Object.entries(cQe).forEach(([o,n])=>{let i=W0(e,o);i&&(r[n]=i)}),r},OQe=(e,t)=>{let{getBlockStyles:r}=(0,lde.select)(ns.store),o={};return e.forEach(n=>{let i=n.name,a=W0(n);if(!a)return;let s=W0(n,"filter.duotone");if(!s){let h=W0(n),b=(0,ns.getBlockSupport)(n,"color.__experimentalDuotone",!1);typeof b=="string"&&h&&(s=_u(h,b))}let d=!!n?.supports?.layout||!!n?.supports?.__experimentalLayout,c=n?.supports?.spacing?.blockGap,u=typeof c=="object"&&!Array.isArray(c)?c.__experimentalDefault:void 0,f=r(i),m={};f?.forEach(h=>{let b=t?`-${t}`:"",_=`${h.name}${b}`,y=wW(_,a);m[_]=y});let g=IQe(n,a);o[i]={duotoneSelector:s??void 0,fallbackGapValue:u,featureSelectors:Object.keys(g).length?g:void 0,hasLayoutSupport:d,name:i,selector:a,styleVariationSelectors:f?.length?m:void 0}}),o};function MQe(e){let t=e.styles?.blocks,r=t?.["core/separator"];return r&&r.color?.background&&!r.color?.text&&!r.border?.color?{...e,styles:{...e.styles,blocks:{...t,"core/separator":{...r,color:{...r.color,text:r.color?.background}}}}}:e}function AQe(e,t){let r="";return!e||e.trim()===""||e.split("&").forEach(n=>{if(!n||n.trim()==="")return;if(!n.includes("{"))r+=`:root :where(${t}){${n.trim()}}`;else{let a=n.replace("}","").split("{");if(a.length!==2)return;let[s,d]=a,c=s.match(/([>+~\s]*::[a-zA-Z-]+)/),u=c?c[1]:"",f=c?s.replace(u,"").trim():s.trim(),m;f===""?m=t:m=s.startsWith(" ")?_u(t,f):SE(t,f),r+=`:root :where(${m})${u}{${d.trim()}}`}}),r}function kw(e={},t=[],r={}){let{hasBlockGapSupport:o,hasFallbackGapSupport:n,disableLayoutStyles:i=!1,disableRootPadding:a=!1,styleOptions:s={}}=r,d=t.length>0?t:(0,ns.getBlockTypes)(),c=z0(e,"spacing.blockGap"),u=o??c!=null,f=n??!u;if(!e?.styles||!e?.settings)return[[],{}];let m=MQe(e),g=OQe(d),h=EQe(m,g),b=TQe(m,g,u,f,i,a,s),_=PQe(m,g);return[[{css:h,isGlobalStyles:!0},{css:b,isGlobalStyles:!0},{css:m?.styles?.css??"",isGlobalStyles:!0},{assets:_,__unstableType:"svgs",isGlobalStyles:!0}],m.settings]}function VP(e,t,r,{resolveRefs:o=!0}={}){if(!e?.styles?.blocks?.[t]?.variations?.[r])return;let n=a=>{Object.keys(a).forEach(s=>{let d=a[s];if(typeof d=="object"&&d!==null)if(d.ref!==void 0)if(typeof d.ref!="string"||d.ref.trim()==="")delete a[s];else{let c=Dr(e,d.ref);c!=null?a[s]=c:delete a[s]}else n(d),Object.keys(d).length===0&&delete a[s]})},i=JSON.parse(JSON.stringify(e.styles.blocks[t].variations[r]));return o&&n(i),i}var BW="default";function mde(e){let t=e?.viewport,r=e?.pseudoState;return(!t||t===BW)&&(!r||r===BW)}function NQe(e){return mde(e)?[]:[e.viewport,e.pseudoState].filter(t=>!!t&&t!==BW)}function LQe(e,t){let r=NQe(t);return r.length?Dr(e,r):e}var DQe=new Set(["blocks","variations","css"]),FW=Object.freeze({value:{},sources:{}}),FQe={root:{layer:"root"},element:{layer:"element"},block:{layer:"block"},blockVariation:{layer:"blockVariation"}};function tb(e){let t=FQe[e];return t?{...t}:null}function rb(e,t){return!e||!t?null:{styles:e,source:t}}function VQe(e){return e.join(".")}function BQe(e){return{...e}}function gde(e){return e===""||e===null||typeof e=="object"&&!Array.isArray(e)&&Object.keys(e).length===0}function VW(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e.ref=="string"}function ob(e){if(!e||typeof e!="object"||Array.isArray(e))return null;let t={};for(let r of Object.keys(e))if(!DQe.has(r)){if(r==="elements"){e.elements&&typeof e.elements=="object"&&(t.elements=e.elements);continue}gde(e[r])||(t[r]=e[r])}return Object.keys(t).length===0?null:t}var ude=new Set(["backgroundImage"]);function hde(e,t,r,o,n,i=[]){if(!t||typeof t!="object"||Array.isArray(t))return e;for(let a of Object.keys(t)){let s=t[a];if(gde(s))continue;if(VW(s)){if(s.ref.trim()==="")continue;let c=Dr(r,s.ref);if(c==null||VW(c))continue;s=c}let d=[...i,a];if(!ude.has(a)&&s!==null&&typeof s=="object"&&!Array.isArray(s)&&!VW(s)){let c=e[a]&&typeof e[a]=="object"&&!Array.isArray(e[a])?e[a]:{};e[a]=hde({...c},s,r,o,n,d)}else e[a]=ude.has(a)&&s!==null&&typeof s=="object"&&!Array.isArray(s)?{...s}:s,o&&n&&(n[VQe(d)]=BQe(o))}return e}function BP(e,t){if(!e)return null;let r=LQe(e,t);return r&&typeof r=="object"&&!Array.isArray(r)?r:null}var zQe=["color.background","color.gradient","background","spacing","dimensions","border","shadow","filter"];function jQe(e){return e.startsWith("elements.")?!1:zQe.some(t=>e===t||e.startsWith(`${t}.`))}function bde(e,t){if(!e||typeof e!="object")return;let[r,...o]=t;if(o.length===0){delete e[r];return}let n=e[r];n&&typeof n=="object"&&(bde(n,o),Object.keys(n).length===0&&delete e[r])}function HQe(e,t){for(let r of Object.keys(t))t[r].layer==="root"&&jQe(r)&&(bde(e,r.split(".")),delete t[r])}function UQe(e,t,r){let o=e?.background?.backgroundImage;if(!o)return;let n=$h(o,{...t,_links:r??void 0});n!==void 0&&(e.background.backgroundImage=n)}function pde(e,{blockName:t,variationName:r=null,elements:o=null,viewport:n=null,pseudoState:i=null}={}){if(!e||!e.styles||!t)return FW;let a=e.styles,s={viewport:n,pseudoState:i},d=a,c=a.blocks?.[t]??null,u=(o??[]).map(_=>a.elements?.[_]??null).filter(_=>!!_),f=r?VP(e,t,r)??null:null,m=[rb(ob(d),tb("root")),...u.map(_=>rb(ob(_),tb("element"))),c?rb(ob(c),tb("block")):null,f?rb(ob(f),tb("blockVariation")):null];mde(s)||m.push(rb(ob(BP(d,s)),tb("root")),...u.map(_=>rb(ob(BP(_,s)),tb("element"))),c?rb(ob(BP(c,s)),tb("block")):null,f?rb(ob(BP(f,s)),tb("blockVariation")):null);let g=m.filter(Boolean);if(g.length===0)return FW;let h={},b=g.reduce((_,y)=>hde(_,y.styles,e,y.source,h),{});return HQe(b,h),UQe(b,e,e._links??null),{value:b,sources:h}}var WQe={},fde=new WeakMap;function vde(e,t={}){let r=e?.styles;if(!r||typeof r!="object")return pde(e,t);let o=fde.get(r);o||(o=new WeakMap,fde.set(r,o));let n=e?._links??WQe,i=o.get(n);i||(i=new Map,o.set(n,i));let a=`${t.elements?.join(",")??""}:${t.viewport??""}:${t.pseudoState??""}`,s=(t.blockName||"")+""+(t.variationName||"")+""+a;if(i.has(s))return i.get(s);let d=pde(e,t);return i.set(s,d),d}var _de=l(yw(),1),{lock:wde,unlock:rMt}=(0,_de.__dangerousOptInToUnstableAPIsOnlyForCoreModules)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/global-styles-engine");var lf={};wde(lf,{getResponsiveMediaQueries:PE,getViewportBreakpoints:NW,getViewportBreakpointValueInPixels:AW,getDuotoneFilter:NP,getDuotoneStylesheet:ede,getDuotoneUnsetStylesheet:Jle,resolveStyle:vde,getVariationStyle:VP});var yde=l(cr(),1);function OE(e,t){if(!e||!t)return"";let r=Object.hasOwn(yde.__EXPERIMENTAL_ELEMENTS,t)?"elements":"blocks",o={settings:{},styles:{[r]:{[t]:e}}};try{let[n]=kw(o,[]);return n.map(i=>i.css).join(`
`)}catch{return""}}var Q7=l($(),1);var zP=l(U(),1),Pa=(0,zP.forwardRef)(({icon:e,size:t=24,style:r,...o},n)=>{let i=e.props.style,a=i||r?{...i,...r}:void 0;return(0,zP.cloneElement)(e,{width:t,height:t,...o,...a?{style:a}:{},ref:n})});var jP=l(Xe(),1),zW=l(P(),1),jW=(0,zW.jsx)(jP.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,zW.jsx)(jP.Path,{d:"M19.25 10V18C19.25 18.6904 18.6904 19.25 18 19.25H6C5.30964 19.25 4.75 18.6904 4.75 18V9.75M14 4.75H6C5.30964 4.75 4.75 5.30964 4.75 6V9.75M19.25 8V1.5M16 4.75H22.5M16.5 9.75H9.25M4.75 9.75H9.25M9.25 9.75V19.25"})});var HP=l(Xe(),1),HW=l(P(),1),UW=(0,HW.jsx)(HP.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,HW.jsx)(HP.Path,{d:"M12 4V19M7 14L12 19L17 14"})});var UP=l(Xe(),1),WW=l(P(),1),GW=(0,WW.jsx)(UP.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,WW.jsx)(UP.Path,{d:"M20 12L5 12M10 7L5 12L10 17"})});var WP=l(Xe(),1),YW=l(P(),1),qW=(0,YW.jsx)(WP.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,YW.jsx)(WP.Path,{d:"M4 12L19 12M14 17L19 12L14 7"})});var GP=l(Xe(),1),KW=l(P(),1),XW=(0,KW.jsx)(GP.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,KW.jsx)(GP.Path,{d:"M12 20L12 5M17 10L12 5L7 10"})});var YP=l(Xe(),1),ZW=l(P(),1),QW=(0,ZW.jsx)(YP.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,ZW.jsx)(YP.Path,{d:"M7.25 12V9.25H10M16.75 12V14.75H14M5.5 17.75H18.5C19.1904 17.75 19.75 17.1904 19.75 16.5V7.5C19.75 6.80964 19.1904 6.25 18.5 6.25H5.5C4.80964 6.25 4.25 6.80964 4.25 7.5V16.5C4.25 17.1904 4.80964 17.75 5.5 17.75Z"})});var qP=l(Xe(),1),$W=l(P(),1),JW=(0,$W.jsx)(qP.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,$W.jsx)(qP.Path,{d:"M18 16L8 6M19 13L11 5M18 8L16 6M16 18L6 8M13 19L5 11M8 18L6 16",strokeLinecap:"round"})});var KP=l(Xe(),1),eG=l(P(),1),Ew=(0,eG.jsx)(KP.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,eG.jsx)(KP.Path,{d:"M7.59201 17.7565C8.8135 18.6933 10.3417 19.25 12 19.25C16.0041 19.25 19.25 16.0041 19.25 12C19.25 7.99594 16.0041 4.75 12 4.75C7.99594 4.75 4.75 7.99593 4.75 12L4.75 14M14.75 14.75L12.25 12.25L12.25 8M2 12L4.75 14L7.5 12"})});var XP=l(Xe(),1),tG=l(P(),1),ME=(0,tG.jsx)(XP.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,tG.jsx)(XP.Path,{d:"M6.75 8.25H5C4.30964 8.25 3.75 8.80964 3.75 9.5V17C3.75 17.6904 4.30964 18.25 5 18.25H19C19.6904 18.25 20.25 17.6904 20.25 17V9.5C20.25 8.80964 19.6904 8.25 19 8.25H17.25M6.75 8.25V6.25C6.75 5.97386 6.97386 5.75 7.25 5.75H9.75C10.0261 5.75 10.25 5.97386 10.25 6.25V8.25M6.75 8.25H10.25M10.25 8.25H13.75M13.75 8.25V6.25C13.75 5.97386 13.9739 5.75 14.25 5.75H16.75C17.0261 5.75 17.25 5.97386 17.25 6.25V8.25M13.75 8.25H17.25"})});var ZP=l(Xe(),1),rG=l(P(),1),QP=(0,rG.jsx)(ZP.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,rG.jsx)(ZP.Path,{d:"M4.75 9.5V6C4.75 5.30964 5.30964 4.75 6 4.75L18 4.75C18.6904 4.75 19.25 5.30964 19.25 6V9.5M4.75 9.5H12M4.75 9.5V14.5M19.25 9.5H12M19.25 9.5V14.5M12 9.5V14.5M12 19.25H18C18.6904 19.25 19.25 18.6904 19.25 18V14.5M12 19.25H6C5.30964 19.25 4.75 18.6904 4.75 18V14.5M12 19.25V14.5M12 14.5H19.25M12 14.5H4.75"})});var $P=l(Xe(),1),oG=l(P(),1),nG=(0,oG.jsx)($P.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,oG.jsx)($P.Path,{d:"M8 11.75H16M5 16.25H19C19.6904 16.25 20.25 15.6904 20.25 15V8.5C20.25 7.80964 19.6904 7.25 19 7.25H5C4.30964 7.25 3.75 7.80964 3.75 8.5V15C3.75 15.6904 4.30964 16.25 5 16.25Z"})});var JP=l(Xe(),1),iG=l(P(),1),e7=(0,iG.jsx)(JP.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,iG.jsx)(JP.Path,{d:"M8 15.25H10M11 15.25H13M14 15.25H16M6 19.25H18C18.6904 19.25 19.25 18.6904 19.25 18V6C19.25 5.30964 18.6904 4.75 18 4.75H6C5.30964 4.75 4.75 5.30964 4.75 6V18C4.75 18.6904 5.30964 19.25 6 19.25Z"})});var Rw=l(Xe(),1),Tw=l(P(),1),t7=(0,Tw.jsxs)(Rw.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,Tw.jsx)(Rw.Path,{d:"M4.75 6C4.75 5.30964 5.30964 4.75 6 4.75H9C9.69036 4.75 10.25 5.30964 10.25 6V9C10.25 9.69036 9.69036 10.25 9 10.25H6C5.30964 10.25 4.75 9.69036 4.75 9V6Z"}),(0,Tw.jsx)(Rw.Path,{d:"M4.75 15C4.75 14.3096 5.30964 13.75 6 13.75H9C9.69036 13.75 10.25 14.3096 10.25 15V18C10.25 18.6904 9.69036 19.25 9 19.25H6C5.30964 19.25 4.75 18.6904 4.75 18V15Z"}),(0,Tw.jsx)(Rw.Path,{d:"M13.75 6C13.75 5.30964 14.3096 4.75 15 4.75H18C18.6904 4.75 19.25 5.30964 19.25 6V9C19.25 9.69036 18.6904 10.25 18 10.25H15C14.3096 10.25 13.75 9.69036 13.75 9V6Z"}),(0,Tw.jsx)(Rw.Path,{d:"M13.75 15C13.75 14.3096 14.3096 13.75 15 13.75H18C18.6904 13.75 19.25 14.3096 19.25 15V18C19.25 18.6904 18.6904 19.25 18 19.25H15C14.3096 19.25 13.75 18.6904 13.75 18V15Z"})]});var r7=l(Xe(),1),aG=l(P(),1),sG=(0,aG.jsx)(r7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,aG.jsx)(r7.Path,{d:"M12 8L12 13M12 14.5L12 16M4.75 12C4.75 7.99593 7.99594 4.75 12 4.75C16.0041 4.75 19.25 7.99594 19.25 12C19.25 16.0041 16.0041 19.25 12 19.25C7.99594 19.25 4.75 16.0041 4.75 12Z",strokeLinejoin:"round"})});var o7=l(Xe(),1),lG=l(P(),1),Ni=(0,lG.jsx)(o7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,lG.jsx)(o7.Path,{d:"M7 12L10 15L17 8"})});var n7=l(Xe(),1),dG=l(P(),1),lg=(0,dG.jsx)(n7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,dG.jsx)(n7.Path,{d:"M7 11L12 15L17 11"})});var i7=l(Xe(),1),cG=l(P(),1),uG=(0,cG.jsx)(i7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,cG.jsx)(i7.Path,{d:"M13.5 8.5L10.5 12L13.5 15.5"})});var a7=l(Xe(),1),pG=l(P(),1),rn=(0,pG.jsx)(a7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,pG.jsx)(a7.Path,{d:"M14 6.5L9 12L14 17.5"})});var s7=l(Xe(),1),fG=l(P(),1),AE=(0,fG.jsx)(s7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,fG.jsx)(s7.Path,{d:"M10.5 8.5L13.5 12L10.5 15.5"})});var l7=l(Xe(),1),mG=l(P(),1),on=(0,mG.jsx)(l7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,mG.jsx)(l7.Path,{d:"M10 6.5L15 12L10 17.5"})});var d7=l(Xe(),1),gG=l(P(),1),Gn=(0,gG.jsx)(d7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,gG.jsx)(d7.Path,{d:"M7.75 16.25L16.25 7.75M16.25 16.25L7.75 7.75"})});var c7=l(Xe(),1),hG=l(P(),1),NE=(0,hG.jsx)(c7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,hG.jsx)(c7.Path,{d:"M5 19L19 5M19 19L5 5"})});var u7=l(Xe(),1),bG=l(P(),1),vG=(0,bG.jsx)(u7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,bG.jsx)(u7.Path,{d:"M14.5 16.25H16.5C18.0188 16.25 19.25 15.0188 19.25 13.5C19.25 11.9812 18.0188 10.75 16.5 10.75C16.4897 10.75 16.4793 10.7501 16.469 10.7502C16.4895 10.5863 16.5 10.4194 16.5 10.25C16.5 8.04086 14.7091 6.25 12.5 6.25C10.4456 6.25 8.75298 7.79872 8.5259 9.79233C8.35472 9.76448 8.17905 9.75 8 9.75C6.20507 9.75 4.75 11.2051 4.75 13C4.75 14.7949 6.20507 16.25 8 16.25H9.5M12 18L12 11.5M14.5 14L12 11.5L9.5 14"})});var p7=l(Xe(),1),_G=l(P(),1),wG=(0,_G.jsx)(p7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,_G.jsx)(p7.Path,{d:"M16.5 10.25C16.5 8.04086 14.7091 6.25 12.5 6.25C10.4456 6.25 8.75298 7.79872 8.5259 9.79233C8.35472 9.76448 8.17905 9.75 8 9.75C6.20507 9.75 4.75 11.2051 4.75 13C4.75 14.7949 6.20507 16.25 8 16.25H16.5C18.0188 16.25 19.25 15.0188 19.25 13.5C19.25 11.9812 18.0188 10.75 16.5 10.75L16.469 10.7502C16.4895 10.5863 16.5 10.4194 16.5 10.25Z"})});var f7=l(Xe(),1),yG=l(P(),1),xG=(0,yG.jsx)(f7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,yG.jsx)(f7.Path,{d:"M7.99997 7L3.70708 11.2929C3.31655 11.6834 3.31655 12.3166 3.70708 12.7071L7.99997 17M16 17L20.2929 12.7071C20.6834 12.3166 20.6834 11.6834 20.2929 11.2929L16 7",strokeLinejoin:"round"})});var wu=l(Xe(),1),yu=l(P(),1),SG=(0,yu.jsxs)(wu.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,yu.jsx)(wu.Path,{d:"M5.38646 8.95505C5.36302 8.99564 5.37092 9.04706 5.40547 9.07874L6.96476 10.509C7.08306 10.1089 7.24777 9.72864 7.45264 9.37456C7.66022 9.01579 7.90904 8.68387 8.19262 8.38527L6.17287 7.74956C6.12816 7.73549 6.07968 7.75436 6.05624 7.79495L5.38646 8.95505Z",fill:"currentColor",strokeLinejoin:"round"}),(0,yu.jsx)(wu.Path,{d:"M12.6698 19.25C12.7167 19.25 12.7573 19.2174 12.7674 19.1717L13.2265 17.106C12.833 17.2001 12.4223 17.25 12 17.25C11.5777 17.25 11.167 17.2001 10.7736 17.106L11.2326 19.1717C11.2428 19.2174 11.2834 19.25 11.3303 19.25L12.6698 19.25Z",fill:"currentColor",strokeLinejoin:"round"}),(0,yu.jsx)(wu.Path,{d:"M11.3303 4.75C11.2834 4.75 11.2428 4.78255 11.2326 4.82831L10.7736 6.89403C11.167 6.79986 11.5777 6.75 12 6.75C12.4223 6.75 12.833 6.79987 13.2265 6.89403L12.7674 4.82831C12.7573 4.78255 12.7167 4.75 12.6698 4.75L11.3303 4.75Z",fill:"currentColor",strokeLinejoin:"round"}),(0,yu.jsx)(wu.Path,{d:"M17.9438 7.79495C17.9204 7.75436 17.8719 7.73549 17.8272 7.74956L15.8074 8.38528C16.091 8.68388 16.3398 9.0158 16.5474 9.37457C16.7523 9.72865 16.917 10.1089 17.0353 10.509L18.5946 9.07874C18.6291 9.04706 18.637 8.99564 18.6136 8.95505L17.9438 7.79495Z",fill:"currentColor",strokeLinejoin:"round"}),(0,yu.jsx)(wu.Path,{d:"M6.05625 16.205C6.07968 16.2456 6.12816 16.2645 6.17287 16.2504L8.19262 15.6147C7.90904 15.3161 7.66022 14.9842 7.45264 14.6254C7.24777 14.2714 7.08307 13.8911 6.96476 13.491L5.40547 14.9213C5.37093 14.9529 5.36303 15.0044 5.38646 15.045L6.05625 16.205Z",fill:"currentColor",strokeLinejoin:"round"}),(0,yu.jsx)(wu.Path,{d:"M18.6136 15.0449C18.637 15.0044 18.6291 14.9529 18.5946 14.9213L17.0353 13.491C16.917 13.8911 16.7523 14.2713 16.5474 14.6254C16.3398 14.9842 16.091 15.3161 15.8074 15.6147L17.8272 16.2504C17.8719 16.2645 17.9204 16.2456 17.9438 16.205L18.6136 15.0449Z",fill:"currentColor",strokeLinejoin:"round"}),(0,yu.jsx)(wu.Path,{d:"M12 6.75C14.8995 6.75 17.25 9.10051 17.25 12C17.25 14.8995 14.8995 17.25 12 17.25C9.10051 17.25 6.75 14.8995 6.75 12C6.75 9.10051 9.10051 6.75 12 6.75Z"}),(0,yu.jsx)(wu.Path,{d:"M12 8C14.2091 8 16 9.79086 16 12C16 14.2091 14.2091 16 12 16C9.79086 16 8 14.2091 8 12C8 9.79086 9.79086 8 12 8Z"})]});var m7=l(Xe(),1),CG=l(P(),1),kG=(0,CG.jsx)(m7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,CG.jsx)(m7.Path,{d:"M17.25 14C17.25 16.8995 14.8995 19.25 12 19.25C9.10051 19.25 6.75 16.8995 6.75 14C6.75 11.1005 10 7.37 12 5.12C14 7.37 17.25 11.1005 17.25 14Z"})});var Y0=l(Xe(),1),q0=l(P(),1),EG=(0,q0.jsxs)(Y0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,q0.jsx)(Y0.Path,{d:"M8 18.0476V16C8 14.8954 8.89543 14 10 14H14C15.1046 14 16 14.8954 16 16V18.0476"}),(0,q0.jsx)(Y0.Path,{d:"M12 4.75C7.99594 4.75 4.75 7.99593 4.75 12C4.75 16.0041 7.99593 19.25 12 19.25C16.0041 19.25 19.25 16.0041 19.25 12C19.25 7.99594 16.0041 4.75 12 4.75Z",strokeLinejoin:"round"}),(0,q0.jsx)(Y0.Path,{d:"M13.75 10C13.75 10.9665 12.9665 11.75 12 11.75C11.0335 11.75 10.25 10.9665 10.25 10C10.25 9.0335 11.0335 8.25 12 8.25C12.9665 8.25 13.75 9.0335 13.75 10Z"})]});var g7=l(Xe(),1),RG=l(P(),1),LE=(0,RG.jsx)(g7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,RG.jsx)(g7.Path,{d:"M18 5.5H6C5.30964 5.5 4.75 6.05964 4.75 6.75V16V18.4096C4.75 18.8725 5.32471 19.0869 5.62784 18.7371L8 16H18C18.6904 16 19.25 15.4404 19.25 14.75V6.75C19.25 6.05964 18.6904 5.5 18 5.5Z"})});var K0=l(Xe(),1),DE=l(P(),1),TG=(0,DE.jsxs)(K0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,DE.jsx)(K0.Rect,{x:"4.75",y:"4.75",width:"11.5",height:"11.5",rx:"0.875"}),(0,DE.jsx)(K0.Path,{d:"M19.25 8.281V17.281C19.25 18.3692 18.3546 19.25 17.251 19.25H6.25"})]});var h7=l(Xe(),1),PG=l(P(),1),IG=(0,PG.jsx)(h7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,PG.jsx)(h7.Path,{d:"M4.75 16.75V17H3.25C3.11193 17 3 17.1119 3 17.25H21C21 17.1119 20.8881 17 20.75 17H19.25V16.75M4.75 16.75V8.5C4.75 7.80964 5.30964 7.25 6 7.25H18C18.6904 7.25 19.25 7.80964 19.25 8.5V16.75M4.75 16.75H19.25"})});var FE=l(Xe(),1),VE=l(P(),1),b7=(0,VE.jsxs)(FE.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,VE.jsx)(FE.Path,{d:"M12 16C13.0609 16 14.0783 15.5786 14.8284 14.8284C15.5786 14.0783 16 13.0609 16 12H8C8 13.0609 8.42143 14.0783 9.17157 14.8284C9.92172 15.5786 10.9391 16 12 16Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",stroke:"none"}),(0,VE.jsx)(FE.Path,{d:"M12 19.25C16.0041 19.25 19.25 16.0041 19.25 12C19.25 7.99594 16.0041 4.75 12 4.75C7.99594 4.75 4.75 7.99594 4.75 12C4.75 16.0041 7.99594 19.25 12 19.25Z",strokeLinejoin:"round"})]});var v7=l(Xe(),1),OG=l(P(),1),Pw=(0,OG.jsx)(v7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,OG.jsx)(v7.Path,{d:"M9.75 4.75H6C5.30964 4.75 4.75 5.30964 4.75 6V18C4.75 18.6904 5.30964 19.25 6 19.25H9.75M9.75 4.75H18C18.6904 4.75 19.25 5.30964 19.25 6V18C19.25 18.6904 18.6904 19.25 18 19.25H9.75M9.75 4.75V19.25"})});var _7=l(Xe(),1),MG=l(P(),1),dg=(0,MG.jsx)(_7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,MG.jsx)(_7.Path,{d:"M14.25 19.25L18 19.25C18.6904 19.25 19.25 18.6904 19.25 18L19.25 6C19.25 5.30964 18.6904 4.75 18 4.75L14.25 4.75M14.25 19.25L6 19.25C5.30964 19.25 4.75 18.6904 4.75 18L4.75 6C4.75 5.30964 5.30965 4.75 6 4.75L14.25 4.75M14.25 19.25L14.25 4.75"})});var w7=l(Xe(),1),AG=l(P(),1),NG=(0,AG.jsx)(w7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,AG.jsx)(w7.Path,{d:"M20.25 8.5V7C20.25 6.30964 19.6904 5.75 19 5.75H5C4.30964 5.75 3.75 6.30964 3.75 7V8.5M20.25 8.5V17C20.25 17.6904 19.6904 18.25 19 18.25H5C4.30964 18.25 3.75 17.6904 3.75 17V8.5M20.25 8.5L12 14.5L3.75 8.5"})});var y7=l(Xe(),1),LG=l(P(),1),Iw=(0,LG.jsx)(y7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,LG.jsx)(y7.Path,{d:"M12 9L12 14M12 15.5V17M11.1284 5.04947L3.83827 18.0097C3.46331 18.6763 3.94502 19.5 4.70985 19.5H19.2902C20.055 19.5 20.5367 18.6763 20.1617 18.0097L12.8716 5.04947C12.4893 4.36982 11.5107 4.36982 11.1284 5.04947Z"})});var x7=l(Xe(),1),DG=l(P(),1),nb=(0,DG.jsx)(x7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,DG.jsx)(x7.Path,{d:"M9.5 6.25H6.5C5.80964 6.25 5.25 6.80964 5.25 7.5V17.5C5.25 18.1904 5.80964 18.75 6.5 18.75H16.5C17.1904 18.75 17.75 18.1904 17.75 17.5V14.5M11.5 12.5L18.75 5.25M12.5 5.25H18.75V11.5"})});var S7=l(Xe(),1),FG=l(P(),1),VG=(0,FG.jsx)(S7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,FG.jsx)(S7.Path,{d:"M9 19.25H6C5.30964 19.25 4.75 18.6904 4.75 18V6C4.75 5.30964 5.30964 4.75 6 4.75H9M15 4.75L16.5 4.75M15 19.25H16.5M12 22V2M19.25 16.5V14.5M19.25 13V11M19.25 9.5V7.5M18 4.75C18.6904 4.75 19.25 5.30964 19.25 6M18 19.25C18.6904 19.25 19.25 18.6904 19.25 18"})});var C7=l(Xe(),1),BG=l(P(),1),zG=(0,BG.jsx)(C7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,BG.jsx)(C7.Path,{d:"M4.75 9L4.75 6C4.75 5.30964 5.30964 4.75 6 4.75L18 4.75C18.6904 4.75 19.25 5.30964 19.25 6L19.25 9M19.25 15L19.25 16.5M4.75 15L4.75 16.5M2 12L22 12M7.5 19.25L9.5 19.25M11 19.25L13 19.25M14.5 19.25L16.5 19.25M19.25 18C19.25 18.6904 18.6904 19.25 18 19.25M4.75 18C4.75 18.6904 5.30964 19.25 6 19.25"})});var BE=l(Xe(),1),zE=l(P(),1),jG=(0,zE.jsxs)(BE.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,zE.jsx)(BE.Path,{d:"M3.75 8.5C3.75 7.80964 4.30964 7.25 5 7.25H19C19.6904 7.25 20.25 7.80964 20.25 8.5V15C20.25 15.6904 19.6904 16.25 19 16.25H5C4.30964 16.25 3.75 15.6904 3.75 15V8.5Z"}),(0,zE.jsx)(BE.Path,{d:"M6.75 14V9.5"})]});var jE=l(Xe(),1),HE=l(P(),1),HG=(0,HE.jsxs)(jE.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,HE.jsx)(jE.Path,{d:"M3.75 8.5C3.75 7.80964 4.30964 7.25 5 7.25H19C19.6904 7.25 20.25 7.80964 20.25 8.5V15C20.25 15.6904 19.6904 16.25 19 16.25H5C4.30964 16.25 3.75 15.6904 3.75 15V8.5Z"}),(0,HE.jsx)(jE.Path,{d:"M15 11L12 13L9 11"})]});var ib=l(Xe(),1),ab=l(P(),1),UG=(0,ab.jsxs)(ib.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,ab.jsx)(ib.Path,{d:"M13 8H4M13 16H4"}),(0,ab.jsx)(ib.Path,{d:"M18 9.25C17.3096 9.25 16.75 8.69036 16.75 8C16.75 7.30964 17.3096 6.75 18 6.75C18.6904 6.75 19.25 7.30964 19.25 8C19.25 8.69036 18.6904 9.25 18 9.25Z",fill:"currentColor",stroke:"none"}),(0,ab.jsx)(ib.Path,{d:"M18 17.25C17.3096 17.25 16.75 16.6904 16.75 16C16.75 15.3096 17.3096 14.75 18 14.75C18.6904 14.75 19.25 15.3096 19.25 16C19.25 16.6904 18.6904 17.25 18 17.25Z",fill:"currentColor",stroke:"none"}),(0,ab.jsx)(ib.Path,{d:"M18 9.25C17.3096 9.25 16.75 8.69036 16.75 8C16.75 7.30964 17.3096 6.75 18 6.75C18.6904 6.75 19.25 7.30964 19.25 8C19.25 8.69036 18.6904 9.25 18 9.25Z"}),(0,ab.jsx)(ib.Path,{d:"M18 17.25C17.3096 17.25 16.75 16.6904 16.75 16C16.75 15.3096 17.3096 14.75 18 14.75C18.6904 14.75 19.25 15.3096 19.25 16C19.25 16.6904 18.6904 17.25 18 17.25Z"})]});var sb=l(Xe(),1),lb=l(P(),1),UE=(0,lb.jsxs)(sb.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,lb.jsx)(sb.Path,{d:"M11 8H20M11 16H20"}),(0,lb.jsx)(sb.Path,{d:"M6 9.25C6.69036 9.25 7.25 8.69036 7.25 8C7.25 7.30964 6.69036 6.75 6 6.75C5.30964 6.75 4.75 7.30964 4.75 8C4.75 8.69036 5.30964 9.25 6 9.25Z",fill:"currentColor",stroke:"none"}),(0,lb.jsx)(sb.Path,{d:"M6 17.25C6.69036 17.25 7.25 16.6904 7.25 16C7.25 15.3096 6.69036 14.75 6 14.75C5.30964 14.75 4.75 15.3096 4.75 16C4.75 16.6904 5.30964 17.25 6 17.25Z",fill:"currentColor",stroke:"none"}),(0,lb.jsx)(sb.Path,{d:"M6 9.25C6.69036 9.25 7.25 8.69036 7.25 8C7.25 7.30964 6.69036 6.75 6 6.75C5.30964 6.75 4.75 7.30964 4.75 8C4.75 8.69036 5.30964 9.25 6 9.25Z"}),(0,lb.jsx)(sb.Path,{d:"M6 17.25C6.69036 17.25 7.25 16.6904 7.25 16C7.25 15.3096 6.69036 14.75 6 14.75C5.30964 14.75 4.75 15.3096 4.75 16C4.75 16.6904 5.30964 17.25 6 17.25Z"})]});var k7=l(Xe(),1),WG=l(P(),1),Ow=(0,WG.jsx)(k7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,WG.jsx)(k7.Path,{d:"M10 17.5H14M8 12H16M6 6.5H18",strokeLinejoin:"round"})});var WE=l(Xe(),1),GE=l(P(),1),GG=(0,GE.jsxs)(WE.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,GE.jsx)(WE.Path,{d:"M18.75 18.75C18.75 17.9056 18.75 11.963 18.75 9.5L15.75 10.3056"}),(0,GE.jsx)(WE.Path,{d:"M3.75 12H11.75M3.75 12V6M3.75 12L3.75 18M11.75 12V6M11.75 12V18",strokeLinecap:"square"})]});var YE=l(Xe(),1),qE=l(P(),1),YG=(0,qE.jsxs)(YE.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,qE.jsx)(YE.Path,{d:"M3.75 12H11.75M3.75 12V6M3.75 12L3.75 18M11.75 12V6M11.75 12V18",strokeLinecap:"square"}),(0,qE.jsx)(YE.Path,{d:"M20.3915 17.9989H16C16 13.4611 20.5 14.6523 20.5 11.2489C20.5 9.54722 18.1957 8.04722 16 9.7489",strokeLinecap:"square"})]});var KE=l(Xe(),1),XE=l(P(),1),qG=(0,XE.jsxs)(KE.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,XE.jsx)(KE.Path,{d:"M3.75 12H11.75M3.75 12V6M3.75 12L3.75 18M11.75 12V6M11.75 12V18",strokeLinecap:"square"}),(0,XE.jsx)(KE.Path,{d:"M15.5 17.2434C18 18.9138 20.5 17.5775 20.5 15.573C20.5 14.9823 20.2366 14.4158 19.7678 13.9981C19.2989 13.5805 18.663 13.3458 18 13.3458M18 13.3458C18.663 13.3458 19.2989 13.1112 19.7678 12.6935C20.2366 12.2758 20.5 11.7093 20.5 11.1186C20.5 9.44825 18.125 8.33466 16 9.44825M18 13.3458H17.75",strokeLinecap:"square"})]});var ZE=l(Xe(),1),QE=l(P(),1),KG=(0,QE.jsxs)(ZE.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,QE.jsx)(ZE.Path,{d:"M3.75 12H11.75M3.75 12V6M3.75 12L3.75 18M11.75 12V6M11.75 12V18",strokeLinecap:"square"}),(0,QE.jsx)(ZE.Path,{d:"M20 18.75V14.5M20 10.75V14.5M16.25 8.74999V9L15 14.5L20 14.5"})]});var $E=l(Xe(),1),JE=l(P(),1),XG=(0,JE.jsxs)($E.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,JE.jsx)($E.Path,{d:"M3.75 12H11.75M3.75 12V6M3.75 12L3.75 18M11.75 12V6M11.75 12V18",strokeLinecap:"square"}),(0,JE.jsx)($E.Path,{d:"M15 17.2434C17.5 18.9138 20 17.5775 20 15.573C20 14.9823 19.7366 14.4158 19.2678 13.9982C18.7989 13.5805 18.163 13.3458 17.5 13.3458H15.25L15.75 9.5H19",strokeLinecap:"square"})]});var eR=l(Xe(),1),tR=l(P(),1),ZG=(0,tR.jsxs)(eR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,tR.jsx)(eR.Path,{d:"M3.75 12H11.75M3.75 12V6M3.75 12L3.75 18M11.75 12V6M11.75 12V18",strokeLinecap:"square"}),(0,tR.jsx)(eR.Path,{d:"M19.9209 9.40551C18.0547 8.41126 16.4435 9.38777 15.7499 10.7952C15.0563 12.2026 14.8576 13.7372 15.0969 15.4097C15.1739 15.948 15.3815 16.7573 15.8882 17.2424C16.3948 17.7275 17.082 18 17.7985 18C18.515 18 19.2021 17.7275 19.7087 17.2424C20.2154 16.7573 20.5 16.0994 20.5 15.4134C20.5 14.7273 20.2154 14.0729 19.7087 13.5878C19.2021 13.1027 18.5149 12.8302 17.7984 12.8302C17.0819 12.8302 16.3948 13.1027 15.8882 13.5878C15.3815 14.0729 15.0969 14.7273 15.0969 15.4133"})]});var E7=l(Xe(),1),QG=l(P(),1),$G=(0,QG.jsx)(E7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,QG.jsx)(E7.Path,{d:"M6.75 5.25H17.25V16.375L12 12L6.75 16.375V5.25Z",fill:"currentColor"})});var R7=l(Xe(),1),JG=l(P(),1),rR=(0,JG.jsx)(R7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,JG.jsx)(R7.Path,{d:"M12 16V11M12 9.5V8M19.25 12C19.25 16.0041 16.0041 19.25 12 19.25C7.99594 19.25 4.75 16.0041 4.75 12C4.75 7.99594 7.99594 4.75 12 4.75C16.0041 4.75 19.25 7.99594 19.25 12Z",strokeLinejoin:"round"})});var T7=l(Xe(),1),eY=l(P(),1),tY=(0,eY.jsx)(T7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,eY.jsx)(T7.Path,{d:"M6.5 9H8.5M8 15H16M6.5 12H8.5M9.5 9H11.5M9.5 12H11.5M12.5 9H14.5M12.5 12H14.5M15.5 9H17.5M15.5 12H17.5M5 18.25H19C19.6904 18.25 20.25 17.6904 20.25 17V7C20.25 6.30964 19.6904 5.75 19 5.75H5C4.30964 5.75 3.75 6.30964 3.75 7V17C3.75 17.6904 4.30964 18.25 5 18.25Z"})});var P7=l(Xe(),1),rY=l(P(),1),cg=(0,rY.jsx)(P7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,rY.jsx)(P7.Path,{d:"M9.75 19.25H18C18.6904 19.25 19.25 18.6904 19.25 18V9.75M9.75 19.25H6C5.30964 19.25 4.75 18.6904 4.75 18V9.75M9.75 19.25V9.75M19.25 9.75V6C19.25 5.30964 18.6904 4.75 18 4.75H6C5.30964 4.75 4.75 5.30964 4.75 6V9.75M19.25 9.75H9.75M9.75 9.75H4.75"})});var I7=l(Xe(),1),oY=l(P(),1),nY=(0,oY.jsx)(I7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,oY.jsx)(I7.Path,{d:"M5 12H19"})});var O7=l(Xe(),1),iY=l(P(),1),oR=(0,iY.jsx)(O7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,iY.jsx)(O7.Path,{d:"M9.5 12L14.5 12M10 7.75H8.25C5.90279 7.75 4 9.65279 4 12C4 14.3472 5.90279 16.25 8.25 16.25H10M14 16.25H15.75C18.0972 16.25 20 14.3472 20 12C20 9.65279 18.0972 7.75 15.75 7.75L14 7.75"})});var M7=l(Xe(),1),aY=l(P(),1),nR=(0,aY.jsx)(M7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,aY.jsx)(M7.Path,{d:"M10 17.5H21M6.5 12H17.5M3 6.5H14",strokeLinejoin:"round"})});var A7=l(Xe(),1),sY=l(P(),1),iR=(0,sY.jsx)(A7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,sY.jsx)(A7.Path,{d:"M11 16.5H13M16.25 18V6C16.25 5.30964 15.6904 4.75 15 4.75H9C8.30964 4.75 7.75 5.30964 7.75 6L7.75 18C7.75 18.6904 8.30964 19.25 9 19.25H15C15.6904 19.25 16.25 18.6904 16.25 18Z"})});var ug=l(Xe(),1),pg=l(P(),1),Yn=(0,pg.jsxs)(ug.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,pg.jsx)(ug.Path,{d:"M11.75 18.25L12.25 18.25L12.25 17.75L11.75 17.75L11.75 18.25Z",fill:"currentColor",stroke:"none"}),(0,pg.jsx)(ug.Path,{d:"M11.75 12.25L12.25 12.25L12.25 11.75L11.75 11.75L11.75 12.25Z",fill:"currentColor",stroke:"none"}),(0,pg.jsx)(ug.Path,{d:"M11.75 6.25L12.25 6.25L12.25 5.75L11.75 5.75L11.75 6.25Z",fill:"currentColor",stroke:"none"}),(0,pg.jsx)(ug.Path,{d:"M11.75 18.25L12.25 18.25L12.25 17.75L11.75 17.75L11.75 18.25Z"}),(0,pg.jsx)(ug.Path,{d:"M11.75 12.25L12.25 12.25L12.25 11.75L11.75 11.75L11.75 12.25Z"}),(0,pg.jsx)(ug.Path,{d:"M11.75 6.25L12.25 6.25L12.25 5.75L11.75 5.75L11.75 6.25Z"})]});var aR=l(Xe(),1),sR=l(P(),1),lY=(0,sR.jsxs)(aR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,sR.jsx)(aR.Path,{d:"M9 16L13.5 12.8421L15 8L10.5 11.1579L9 16Z",fill:"currentColor",stroke:"none"}),(0,sR.jsx)(aR.Path,{d:"M4.75 12C4.75 7.99593 7.99594 4.75 12 4.75C16.0041 4.75 19.25 7.99594 19.25 12C19.25 16.0041 16.0041 19.25 12 19.25C7.99594 19.25 4.75 16.0041 4.75 12Z",strokeLinejoin:"round"})]});var N7=l(Xe(),1),dY=l(P(),1),fg=(0,dY.jsx)(N7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,dY.jsx)(N7.Path,{d:"M7 17.5L12 12L7 6.5M13 17.5L18 12L13 6.5"})});var L7=l(Xe(),1),cY=l(P(),1),uY=(0,cY.jsx)(L7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,cY.jsx)(L7.Path,{d:"M6.87347 6.87348L17.1265 17.1265M4.75 12C4.75 7.99593 7.99594 4.75 12 4.75C16.0041 4.75 19.25 7.99594 19.25 12C19.25 16.0041 16.0041 19.25 12 19.25C7.99593 19.25 4.75 16.0041 4.75 12Z",strokeLinejoin:"round"})});var D7=l(Xe(),1),pY=l(P(),1),X0=(0,pY.jsx)(D7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,pY.jsx)(D7.Path,{d:"M8.5 8.25H15.5M8.5 11.75H15.5M8.5 15.25H15.5M18.25 18V6C18.25 5.30964 17.6904 4.75 17 4.75H7C6.30964 4.75 5.75 5.30964 5.75 6L5.75 18C5.75 18.6904 6.30964 19.25 7 19.25H17C17.6904 19.25 18.25 18.6904 18.25 18Z"})});var lR=l(Xe(),1),dR=l(P(),1),cR=(0,dR.jsxs)(lR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,dR.jsx)(lR.Path,{d:"M5 19.25H12"}),(0,dR.jsx)(lR.Path,{d:"M10 15L7.5 15.5L8 13L16 5L18 7L10 15Z",fill:"currentColor"})]});var uR=l(Xe(),1),pR=l(P(),1),fY=(0,pR.jsxs)(uR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,pR.jsx)(uR.Path,{d:"M12 16C10.9391 16 9.92172 15.5786 9.17157 14.8284C8.42143 14.0783 8 13.0609 8 12H12V8C13.0609 8 14.0783 8.42143 14.8284 9.17157C15.5786 9.92172 16 10.9391 16 12C16 13.0609 15.5786 14.0783 14.8284 14.8284C14.0783 15.5786 13.0609 16 12 16Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",stroke:"none"}),(0,pR.jsx)(uR.Path,{d:"M12 19.25C16.0041 19.25 19.25 16.0041 19.25 12C19.25 7.99594 16.0041 4.75 12 4.75C7.99594 4.75 4.75 7.99594 4.75 12C4.75 16.0041 7.99594 19.25 12 19.25Z",strokeLinejoin:"round"})]});var F7=l(Xe(),1),mY=l(P(),1),Cd=(0,mY.jsx)(F7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,mY.jsx)(F7.Path,{d:"M12 18V6M18 12H6"})});var V7=l(Xe(),1),gY=l(P(),1),hY=(0,gY.jsx)(V7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,gY.jsx)(V7.Path,{d:"M4.76776 11.5178L7.76777 8.51776M4 15H20M4 19H13M6 6.74999L9.53554 10.2855C10.1688 9.65226 10.3913 8.76379 10.2031 7.95118L12.5178 6.26776L10.0178 3.76776L8.33435 6.08246C7.52174 5.89422 6.63327 6.11673 6 6.74999Z"})});var B7=l(Xe(),1),bY=l(P(),1),mg=(0,bY.jsx)(B7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,bY.jsx)(B7.Path,{d:"M17 6.5L12 12L17 17.5M11 6.5L6 12L11 17.5"})});var fR=l(Xe(),1),mR=l(P(),1),gg=(0,mR.jsxs)(fR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,mR.jsx)(fR.Path,{d:"M12 19.25C16.0041 19.25 19.25 16.0041 19.25 12C19.25 7.99594 16.0041 4.75 12 4.75C7.99594 4.75 4.75 7.99594 4.75 12C4.75 16.0041 7.99594 19.25 12 19.25Z",strokeLinejoin:"round"}),(0,mR.jsx)(fR.Path,{d:"M9 12L11 14L15 10"})]});var db=l(Xe(),1),Mw=l(P(),1),vY=(0,Mw.jsxs)(db.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,Mw.jsx)(db.Path,{d:"M4.75 12C4.75 7.99593 7.99594 4.75 12 4.75C16.0041 4.75 19.25 7.99594 19.25 12C19.25 16.0041 16.0041 19.25 12 19.25C7.99594 19.25 4.75 16.0041 4.75 12Z",strokeLinejoin:"round"}),(0,Mw.jsx)(db.Path,{d:"M9 12.5C9 14.1569 10.3431 15.5 12 15.5C13.6569 15.5 15 14.1569 15 12.5",strokeLinejoin:"round"}),(0,Mw.jsx)(db.Circle,{cx:"9.5",cy:"10",r:"0.5",fill:"currentColor"}),(0,Mw.jsx)(db.Circle,{cx:"14.5",cy:"10",r:"0.5",fill:"currentColor"})]});var z7=l(Xe(),1),_Y=l(P(),1),Aw=(0,_Y.jsx)(z7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,_Y.jsx)(z7.Path,{d:"M15 15L18.5 11L15 7M18.5 11H8C5 11 4.75 13.8 4.75 17"})});var j7=l(Xe(),1),wY=l(P(),1),Nw=(0,wY.jsx)(j7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,wY.jsx)(j7.Path,{d:"M7 12H17"})});var gR=l(Xe(),1),hR=l(P(),1),bR=(0,hR.jsxs)(gR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,hR.jsx)(gR.Path,{d:"M12 19.25C16.0041 19.25 19.25 16.0041 19.25 12C19.25 7.99594 16.0041 4.75 12 4.75L10 4.75M12 2L10 4.75L12 7.5"}),(0,hR.jsx)(gR.Path,{d:"M14.7745 18.6981C11.0752 20.2304 6.83418 18.4737 5.30189 14.7745C4.27391 12.2927 4.72622 9.56712 6.25229 7.57918",strokeLinejoin:"round"})]});var vR=l(Xe(),1),_R=l(P(),1),wR=(0,_R.jsxs)(vR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,_R.jsx)(vR.Path,{d:"M12 19.25C7.99593 19.25 4.75 16.0041 4.75 12C4.75 7.99594 7.99593 4.75 12 4.75L14 4.75M12 2L14 4.75L12 7.5"}),(0,_R.jsx)(vR.Path,{d:"M9.22553 18.6981C12.9248 20.2304 17.1658 18.4737 18.6981 14.7745C19.7261 12.2927 19.2738 9.56712 17.7477 7.57918",strokeLinejoin:"round"})]});var yR=l(Xe(),1),xR=l(P(),1),Z0=(0,xR.jsxs)(yR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,xR.jsx)(yR.Path,{d:"M12 19.25C16.0041 19.25 19.25 16.0041 19.25 12C19.25 7.99594 16.0041 4.75 12 4.75C7.99594 4.75 4.75 7.99594 4.75 12C4.75 16.0041 7.99594 19.25 12 19.25Z",strokeLinejoin:"round"}),(0,xR.jsx)(yR.Path,{d:"M9.5 12.25H12.25V8"})]});var H7=l(Xe(),1),yY=l(P(),1),SR=(0,yY.jsx)(H7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,yY.jsx)(H7.Path,{d:"M5 19L9.28769 14.7123M18.25 11C18.25 13.8995 15.8995 16.25 13 16.25C10.1005 16.25 7.75 13.8995 7.75 11C7.75 8.10051 10.1005 5.75 13 5.75C15.8995 5.75 18.25 8.10051 18.25 11Z"})});var Q0=l(Xe(),1),CR=l(P(),1),Lw=(0,CR.jsxs)(Q0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,CR.jsx)(Q0.Path,{d:"M20.0645 13C18.5918 10.0366 15.5337 8 12 8C8.46631 8 5.40825 10.0366 3.93555 13"}),(0,CR.jsx)(Q0.Circle,{cx:"12",cy:"12.5",r:"3",fill:"currentColor"})]});var U7=l(Xe(),1),xY=l(P(),1),SY=(0,xY.jsx)(U7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,xY.jsx)(U7.Path,{d:"M5 8H19M19 16H5M10.75 8C10.75 8.82843 10.0784 9.5 9.25 9.5C8.42157 9.5 7.75 8.82843 7.75 8C7.75 7.17157 8.42157 6.5 9.25 6.5C10.0784 6.5 10.75 7.17157 10.75 8ZM16.25 16C16.25 16.8284 15.5784 17.5 14.75 17.5C13.9216 17.5 13.25 16.8284 13.25 16C13.25 15.1716 13.9216 14.5 14.75 14.5C15.5784 14.5 16.25 15.1716 16.25 16Z"})});var W7=l(Xe(),1),CY=l(P(),1),kR=(0,CY.jsx)(W7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,CY.jsx)(W7.Path,{d:"M3 12H6M18 12H21M5.63957 5.63751L7.76089 7.75883M16.2462 16.2441L18.3675 18.3654M12.005 3.005V6.005M12.005 18.005V21.005M18.3675 5.64459L16.2462 7.76591M7.76088 16.2512L5.63956 18.3725M15.25 12C15.25 13.7949 13.7949 15.25 12 15.25C10.2051 15.25 8.75 13.7949 8.75 12C8.75 10.2051 10.2051 8.75 12 8.75C13.7949 8.75 15.25 10.2051 15.25 12Z"})});var G7=l(Xe(),1),kY=l(P(),1),EY=(0,kY.jsx)(G7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,kY.jsx)(G7.Path,{d:"M5.75 12V18.25H12M12 5.75H18.25V12"})});var Y7=l(Xe(),1),RY=l(P(),1),TY=(0,RY.jsx)(Y7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,RY.jsx)(Y7.Path,{d:"M12 5.71576L13.6106 8.97924C13.7563 9.27438 14.0379 9.47895 14.3636 9.52628L17.965 10.0496L15.359 12.5899C15.1233 12.8196 15.0157 13.1506 15.0714 13.475L15.6866 17.0619L12.4653 15.3684C12.174 15.2152 11.826 15.2152 11.5347 15.3684L8.31341 17.0619L8.92861 13.475C8.98425 13.1506 8.8767 12.8196 8.64102 12.5899L6.03497 10.0496L9.63644 9.52628C9.96215 9.47895 10.2437 9.27438 10.3894 8.97924L12 5.71576Z"})});var q7=l(Xe(),1),PY=l(P(),1),IY=(0,PY.jsx)(q7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,PY.jsx)(q7.Path,{d:"M12 5.71576L13.6106 8.97924C13.7563 9.27438 14.0379 9.47895 14.3636 9.52628L17.965 10.0496L15.359 12.5899C15.1233 12.8196 15.0157 13.1506 15.0714 13.475L15.6866 17.0619L12.4653 15.3684C12.174 15.2152 11.826 15.2152 11.5347 15.3684L8.31341 17.0619L8.92861 13.475C8.98425 13.1506 8.8767 12.8196 8.64102 12.5899L6.03497 10.0496L9.63644 9.52628C9.96215 9.47895 10.2437 9.27438 10.3894 8.97924L12 5.71576Z",fill:"currentColor"})});var ER=l(Xe(),1),RR=l(P(),1),OY=(0,RR.jsxs)(ER.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,RR.jsx)(ER.Path,{d:"M12 4.75C7.99594 4.75 4.75 7.99593 4.75 12C4.75 16.0041 7.99594 19.25 12 19.25L12 4.75Z",fill:"currentColor",stroke:"none"}),(0,RR.jsx)(ER.Path,{d:"M12 19.25C16.0041 19.25 19.25 16.0041 19.25 12C19.25 7.99594 16.0041 4.75 12 4.75C7.99594 4.75 4.75 7.99594 4.75 12C4.75 16.0041 7.99594 19.25 12 19.25Z",strokeLinejoin:"round"})]});var TR=l(Xe(),1),PR=l(P(),1),MY=(0,PR.jsxs)(TR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,PR.jsx)(TR.Path,{d:"M15.2071 6.20711L20.2929 11.2929C20.6834 11.6834 20.6834 12.3166 20.2929 12.7071L15.2071 17.7929C14.8166 18.1834 14.1834 18.1834 13.7929 17.7929L8.70711 12.7071C8.31658 12.3166 8.31658 11.6834 8.70711 11.2929L13.7929 6.20711C14.1834 5.81658 14.8166 5.81658 15.2071 6.20711Z",fill:"currentColor"}),(0,PR.jsx)(TR.Path,{d:"M9.5 5.5L3.70711 11.2929C3.31658 11.6834 3.31658 12.3166 3.70711 12.7071L9.5 18.5"})]});var IR=l(Xe(),1),OR=l(P(),1),$0=(0,OR.jsxs)(IR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,OR.jsx)(IR.Path,{d:"M15.2071 6.20711L20.2929 11.2929C20.6834 11.6834 20.6834 12.3166 20.2929 12.7071L15.2071 17.7929C14.8166 18.1834 14.1834 18.1834 13.7929 17.7929L8.70711 12.7071C8.31658 12.3166 8.31658 11.6834 8.70711 11.2929L13.7929 6.20711C14.1834 5.81658 14.8166 5.81658 15.2071 6.20711Z"}),(0,OR.jsx)(IR.Path,{d:"M9.5 5.5L3.70711 11.2929C3.31658 11.6834 3.31658 12.3166 3.70711 12.7071L9.5 18.5"})]});var K7=l(Xe(),1),AY=l(P(),1),NY=(0,AY.jsx)(K7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,AY.jsx)(K7.Path,{d:"M10 16.5H14M18.25 18V6C18.25 5.30964 17.6904 4.75 17 4.75H7C6.30964 4.75 5.75 5.30964 5.75 6L5.75 18C5.75 18.6904 6.30964 19.25 7 19.25H17C17.6904 19.25 18.25 18.6904 18.25 18Z"})});var MR=l(Xe(),1),AR=l(P(),1),NR=(0,AR.jsxs)(MR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,AR.jsx)(MR.Path,{d:"M4.5 17.5V17.2027L5.62821 13.9324M5.62821 13.9324L8.19231 6.5H8.80769L11.3718 13.9324L12.5 17.2027V17.5M11.3718 13.9324H5.62821"}),(0,AR.jsx)(MR.Path,{d:"M19.5 13.8097V11.0001M19.5 13.8097C19.5 15.4844 18.1304 16.9603 16.5576 16.9603C14.9848 16.9603 14.5586 15.9414 14.4922 15.4844C14.4258 15.0273 14.4545 14.2521 15.1207 13.6609C15.7868 13.0696 16.6425 12.9616 17.4007 12.8201C18.1589 12.6786 19.5 12.2501 19.5 11.0001M19.5 13.8097V17.5M19.5 11.0001C19.5 9.75009 18.4545 9.25 17.3189 9.25C15.3174 9.25 14.5 11.0001 14.5 11.0001"})]});var X7=l(Xe(),1),LY=l(P(),1),Dw=(0,LY.jsx)(X7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,LY.jsx)(X7.Path,{d:"M8.25 15L4.75 11L8.25 7M4.75 11H15.25C18.25 11 18.5 13.8 18.5 17"})});var LR=l(Xe(),1),DR=l(P(),1),FR=(0,DR.jsxs)(LR.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,DR.jsx)(LR.Path,{d:"M8 21L10.6587 15.1842M13.1523 9.72929L13.8553 8.19144L16 3.5M20.0645 13C19.2118 11.2841 17.8276 9.87898 16.1272 9M3.93555 13C5.40825 10.0366 8.46631 8 12 8C12.636 8 13.2566 8.06597 13.8553 8.19144M13.1523 9.72929C12.7975 9.58156 12.4083 9.5 12 9.5C10.3431 9.5 9 10.8431 9 12.5C9 13.6747 9.67519 14.6917 10.6587 15.1842M13.1523 9.72929L10.6587 15.1842M13.1755 15.261C14.2481 14.8037 15 13.7397 15 12.5C15 12.1819 14.9505 11.8753 14.8587 11.5876"}),(0,DR.jsx)(LR.Path,{d:"M12 9.5C10.3431 9.5 9 10.8431 9 12.5C9 13.6747 9.67519 14.6917 10.6587 15.1842L13.1523 9.72929C12.7975 9.58156 12.4083 9.5 12 9.5Z",fill:"currentColor"})]});var J0=l(Xe(),1),e1=l(P(),1),DY=(0,e1.jsxs)(J0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,e1.jsx)(J0.Path,{d:"M8.5 14C9 12 12.5 7.5 17 5.5"}),(0,e1.jsx)(J0.Path,{d:"M8 14C7.66667 11.1667 9 5 17 3C17.1667 4.66667 17.2 8.6 16 11C14.8 13.4 10.1667 14 8 14ZM8 14L7 16",strokeLinecap:"round"}),(0,e1.jsx)(J0.Path,{d:"M5 19.25H12"})]});var Z7=l(Xe(),1),FY=l(P(),1),VY=(0,FY.jsx)(Z7.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",children:(0,FY.jsx)(Z7.Path,{d:"M 22 12 C 22 6.49 17.51 2 12 2 C 6.48 2 2 6.49 2 12 C 2 17.52 6.48 22 12 22 C 17.51 22 22 17.52 22 12 M 9.78 17.37 L 6.37 8.22 C 6.92 8.2 7.54 8.14 7.54 8.14 C 8.04 8.08 7.98 7.01 7.48 7.03 C 7.48 7.03 6.03 7.14 5.11 7.14 C 4.93 7.14 4.74 7.14 4.53 7.13 C 6.12 4.69 8.87 3.11 12 3.11 C 14.33 3.11 16.45 3.98 18.05 5.45 C 17.37 5.34 16.4 5.84 16.4 7.03 C 16.4 7.77 16.85 8.39 17.3 9.13 C 17.65 9.74 17.85 10.49 17.85 11.59 C 17.85 13.08 16.45 16.59 16.45 16.59 L 13.42 8.22 C 13.96 8.2 14.24 8.05 14.24 8.05 C 14.74 8 14.68 6.8 14.18 6.83 C 14.18 6.83 12.74 6.95 11.8 6.95 C 10.93 6.95 9.47 6.83 9.47 6.83 C 8.97 6.8 8.91 8.03 9.41 8.05 L 10.33 8.13 L 11.59 11.54 L 9.78 17.37 M 19.41 12 C 19.65 11.36 20.15 10.13 19.84 7.75 C 20.54 9.04 20.89 10.46 20.89 12 C 20.89 15.29 19.16 18.24 16.49 19.78 C 17.46 17.19 18.43 14.58 19.41 12 M 8.1 20.09 C 5.12 18.65 3.11 15.53 3.11 12 C 3.11 10.7 3.34 9.52 3.83 8.41 C 5.25 12.3 6.67 16.2 8.1 20.09 M 12.13 13.46 L 14.71 20.44 C 13.85 20.73 12.95 20.89 12 20.89 C 11.21 20.89 10.43 20.78 9.71 20.56 C 10.52 18.18 11.33 15.82 12.13 13.46 L 12.13 13.46"})});var{getViewportBreakpoints:Cde,getViewportBreakpointValueInPixels:VR}=Q(lf),GQe={Tablet:"tablet",Mobile:"mobile"},YQe="Desktop",kde="Tablet",qQe="Mobile",KQe=1,Fw={Desktop:{label:(0,Q7.__)("Desktop"),icon:IG},Tablet:{label:(0,Q7.__)("Tablet"),icon:NY},Mobile:{label:(0,Q7.__)("Mobile"),icon:iR}},$7={Desktop:"default",Tablet:"@tablet",Mobile:"@mobile"};function J7(e,t){let r=VR(e),o=Cde(t);return r&&r<=VR(o.mobile)?qQe:r&&r<=VR(o.tablet)?kde:YQe}function e8(e,t){let r=GQe[e];if(!r)return;let o=Cde(t),n=VR(o[r]);if(n===void 0)return;let i=0;e===kde&&(i=VR(o.mobile)??0);let a=Math.min(KQe,(n-i)/2);return n-a}var{getTemplateInfo:XQe,getTemplatePartIcon:ZQe}=Q(zo.privateApis),zR={},QQe=(0,Yr.createRegistrySelector)(e=>()=>e(zo.store).hasUndo()),$Qe=(0,Yr.createRegistrySelector)(e=>()=>e(zo.store).hasRedo());function Ede(e){return ia(e).status==="auto-draft"}function Rde(e){return"content"in jR(e)}var t8=(0,Yr.createRegistrySelector)(e=>t=>{let r=Nl(t),o=kd(t);return e(zo.store).hasEditsForEntityRecord("postType",r,o)}),JQe=(0,Yr.createRegistrySelector)(e=>t=>{let r=e(zo.store).__experimentalGetDirtyEntityRecords(),{type:o,id:n}=ia(t);return r.some(i=>i.kind!=="postType"||i.name!==o||i.key!==n)});function e$e(e){return!t8(e)&&Ede(e)}var ia=(0,Yr.createRegistrySelector)(e=>t=>{let r=kd(t),o=Nl(t),n=e(zo.store).getRawEntityRecord("postType",o,r);return n||zR});function Nl(e){return e.postType}function kd(e){return e.postId}function t$e(e){return e.templateId}function BY(e){return ia(e)._links?.["version-history"]?.[0]?.count??0}function r$e(e){return ia(e)._links?.["predecessor-version"]?.[0]?.id??null}var jR=(0,Yr.createRegistrySelector)(e=>t=>{let r=Nl(t),o=kd(t);return e(zo.store).getEntityRecordEdits("postType",r,o)||zR});function t1(e,t){switch(t){case"type":return Nl(e);case"id":return kd(e);default:let r=ia(e);if(!r.hasOwnProperty(t))break;return xP(r[t])}}var o$e=(0,Yr.createSelector)((e,t)=>{let r=jR(e);return r.hasOwnProperty(t)?{...t1(e,t),...r[t]}:t1(e,t)},(e,t)=>[t1(e,t),jR(e)[t]]);function Mn(e,t){if(t==="content")return HR(e);let r=jR(e);return r.hasOwnProperty(t)?vle.has(t)?o$e(e,t):r[t]:t1(e,t)}var Tde=(0,Yr.createRegistrySelector)(e=>(t,r)=>{if(!_le.includes(r)&&r!=="preview_link")return;let o=Nl(t),n=kd(t),i=e(zo.store).getCurrentUser()?.id,a=e(zo.store).getAutosave(o,n,i);if(a)return xP(a[r])});function n$e(e){return Mn(e,"status")==="private"?"private":Mn(e,"password")?"password":"public"}function i$e(e){return ia(e).status==="pending"}function zY(e,t){let r=t||ia(e);return["publish","private"].indexOf(r.status)!==-1||r.status==="future"&&!(0,r1.isInTheFuture)(new Date(Number((0,r1.getDate)(r.date))-hW))}function a$e(e){return ia(e).status==="future"&&!zY(e)}function s$e(e){let t=ia(e);return t.type===of?t8(e):t8(e)||["publish","private","future"].indexOf(t.status)===-1}function Pde(e){return o1(e)?!1:!!Mn(e,"title")||!!Mn(e,"excerpt")||!Ide(e)}var Ide=(0,Yr.createRegistrySelector)(e=>t=>{let r=kd(t),o=Nl(t),n=e(zo.store).getEditedEntityRecord("postType",o,r);if(typeof n.content!="function")return!n.content;let i=Mn(t,"blocks");if(i.length===0)return!0;if(i.length>1)return!1;let a=i[0].name;return a!==(0,cb.getDefaultBlockName)()&&a!==(0,cb.getFreeformContentHandlerName)()?!1:!HR(t)}),l$e=(0,Yr.createRegistrySelector)(e=>t=>{if(!Pde(t)||Nde(t))return!1;let r=Nl(t);if(!e(zo.store).getPostType(r)?.supports?.autosave)return!1;let n=kd(t),i=e(zo.store).hasFetchedAutosaves(r,n),a=e(zo.store).getCurrentUser()?.id,s=e(zo.store).getAutosave(r,n,a);return i?!s||Rde(t)?!0:["title","excerpt","meta"].some(d=>xP(s[d])!==Mn(t,d)):!1});function d$e(e){let t=Mn(e,"date"),r=new Date(Number((0,r1.getDate)(t))-hW);return(0,r1.isInTheFuture)(r)}function c$e(e){let t=Mn(e,"date"),r=Mn(e,"modified"),o=ia(e).status;return o==="draft"||o==="auto-draft"||o==="pending"?t===r||t===null:!1}function u$e(e){return!!e.deleting.pending}function o1(e){return!!e.saving.pending}var p$e=(0,Yr.createRegistrySelector)(e=>t=>{let r=e(zo.store).__experimentalGetEntitiesBeingSaved(),{type:o,id:n}=ia(t);return r.some(i=>i.kind!=="postType"||i.name!==o||i.key!==n)}),f$e=(0,Yr.createRegistrySelector)(e=>t=>{let r=Nl(t),o=kd(t);return!e(zo.store).getLastEntitySaveError("postType",r,o)}),m$e=(0,Yr.createRegistrySelector)(e=>t=>{let r=Nl(t),o=kd(t);return!!e(zo.store).getLastEntitySaveError("postType",r,o)});function g$e(e){return o1(e)&&!!e.saving.options?.isAutosave}function h$e(e){return o1(e)&&!!e.saving.options?.isPreview}function b$e(e){if(e.saving.pending||o1(e))return;let t=Tde(e,"preview_link");(!t||ia(e).status==="draft")&&(t=Mn(e,"link"),t&&(t=(0,BR.addQueryArgs)(t,{preview:!0})));let r=Mn(e,"featured_media");return t&&r?(0,BR.addQueryArgs)(t,{_thumbnail_id:r}):t}var v$e=(0,Yr.createRegistrySelector)(e=>()=>{let t=e(r8.store).getBlocks();if(t.length>2)return null;let r;if(t.length===1&&(r=t[0].name,r==="core/embed")){let o=t[0].attributes?.providerNameSlug;["youtube","vimeo"].includes(o)?r="core/video":["spotify","soundcloud"].includes(o)&&(r="core/audio")}switch(t.length===2&&t[1].name==="core/paragraph"&&(r=t[0].name),r){case"core/image":return"image";case"core/quote":case"core/pullquote":return"quote";case"core/gallery":return"gallery";case"core/video":return"video";case"core/audio":return"audio";default:return null}}),HR=(0,Yr.createRegistrySelector)(e=>t=>{let r=kd(t),o=Nl(t),n=e(zo.store).getEditedEntityRecord("postType",o,r);if(n){if(typeof n.content=="function")return n.content(n);if(n.blocks)return(0,cb.__unstableSerializeAndClean)(n.blocks);if(n.content)return n.content}return""});function _$e(e){return o1(e)&&!zY(e)&&Mn(e,"status")==="publish"}function Ode(e){let t=Mn(e,"permalink_template");return gW.test(t)}function w$e(e){let t=Ade(e);if(!t)return null;let{prefix:r,postName:o,suffix:n}=t;return Ode(e)?o?r+o+n:t1(e,"link")??null:r}function Mde(e){return Mn(e,"slug")||(0,BR.cleanForSlug)(Mn(e,"title"))}function Ade(e){let t=Mn(e,"permalink_template");if(!t)return null;let r=Mde(e),[o,n]=t.split(gW);return{prefix:o,postName:r,suffix:n}}function y$e(e){return e.postLock.isLocked}function x$e(e){return Object.keys(e.postSavingLock).length>0}function Nde(e){return Object.keys(e.postAutosavingLock).length>0}function S$e(e){return e.postLock.isTakeover}function C$e(e){return e.postLock.user}function k$e(e){return e.postLock.activePostLock}function E$e(e){return!!ia(e)._links?.hasOwnProperty("wp:action-unfiltered-html")}var R$e=(0,Yr.createRegistrySelector)(e=>()=>!!e(UR.store).get("core","isPublishSidebarEnabled")),T$e=(0,Yr.createSelector)(e=>Mn(e,"blocks")||(0,cb.parse)(HR(e)),e=>[Mn(e,"blocks"),HR(e)]);function Lde(e,t){return e.removedPanels.includes(t)}var P$e=(0,Yr.createRegistrySelector)(e=>(t,r)=>{let o=e(UR.store).get("core","inactivePanels");return!Lde(t,r)&&!o?.includes(r)}),I$e=(0,Yr.createRegistrySelector)(e=>(t,r)=>!!e(UR.store).get("core","openPanels")?.includes(r));function O$e(e){return(0,df.default)("select('core/editor').getEditorSelectionStart",{since:"5.8",alternative:"select('core/editor').getEditorSelection"}),Mn(e,"selection")?.selectionStart}function M$e(e){return(0,df.default)("select('core/editor').getEditorSelectionStart",{since:"5.8",alternative:"select('core/editor').getEditorSelection"}),Mn(e,"selection")?.selectionEnd}function A$e(e){return Mn(e,"selection")}function N$e(e){return!!e.postId}function jY(e){return e.editorSettings}function o8(e){return e.renderingMode}var L$e=(0,Yr.createRegistrySelector)(e=>t=>{let r=Q(e(r8.store));if(r.isZoomOut())return"Desktop";let n=t.canvasWidth,i=r.getSettings().__experimentalFeatures?.viewport;return J7(n,i)});function D$e(e){return e.listViewPanel}function F$e(e){return!!e.blockInserterPanel}var V$e=(0,Yr.createRegistrySelector)(e=>()=>e(UR.store).get("core","editorMode")??"visual");function B$e(){return(0,df.default)("select('core/editor').getStateBeforeOptimisticTransaction",{since:"5.7",hint:"No state history is kept on this store anymore"}),null}function z$e(){return(0,df.default)("select('core/editor').inSomeHistory",{since:"5.7",hint:"No state history is kept on this store anymore"}),!1}function Nt(e){return(0,Yr.createRegistrySelector)(t=>(r,...o)=>((0,df.default)("`wp.data.select( 'core/editor' )."+e+"`",{since:"5.3",alternative:"`wp.data.select( 'core/block-editor' )."+e+"`",version:"6.2"}),t(r8.store)[e](...o)))}var j$e=Nt("getBlockName"),H$e=Nt("isBlockValid"),U$e=Nt("getBlockAttributes"),W$e=Nt("getBlock"),G$e=Nt("getBlocks"),Y$e=Nt("getClientIdsOfDescendants"),q$e=Nt("getClientIdsWithDescendants"),K$e=Nt("getGlobalBlockCount"),X$e=Nt("getBlocksByClientId"),Z$e=Nt("getBlockCount"),Q$e=Nt("getBlockSelectionStart"),$$e=Nt("getBlockSelectionEnd"),J$e=Nt("getSelectedBlockCount"),eJe=Nt("hasSelectedBlock"),tJe=Nt("getSelectedBlockClientId"),rJe=Nt("getSelectedBlock"),oJe=Nt("getBlockRootClientId"),nJe=Nt("getBlockHierarchyRootClientId"),iJe=Nt("getAdjacentBlockClientId"),aJe=Nt("getPreviousBlockClientId"),sJe=Nt("getNextBlockClientId"),lJe=Nt("getSelectedBlocksInitialCaretPosition"),dJe=Nt("getMultiSelectedBlockClientIds"),cJe=Nt("getMultiSelectedBlocks"),uJe=Nt("getFirstMultiSelectedBlockClientId"),pJe=Nt("getLastMultiSelectedBlockClientId"),fJe=Nt("isFirstMultiSelectedBlock"),mJe=Nt("isBlockMultiSelected"),gJe=Nt("isAncestorMultiSelected"),hJe=Nt("getMultiSelectedBlocksStartClientId"),bJe=Nt("getMultiSelectedBlocksEndClientId"),vJe=Nt("getBlockOrder"),_Je=Nt("getBlockIndex"),wJe=Nt("isBlockSelected"),yJe=Nt("hasSelectedInnerBlock"),xJe=Nt("isBlockWithinSelection"),SJe=Nt("hasMultiSelection"),CJe=Nt("isMultiSelecting"),kJe=Nt("isSelectionEnabled"),EJe=Nt("getBlockMode"),RJe=Nt("isTyping"),TJe=Nt("isCaretWithinFormattedText"),PJe=Nt("getBlockInsertionPoint"),IJe=Nt("isBlockInsertionPointVisible"),OJe=Nt("isValidTemplate"),MJe=Nt("getTemplate"),AJe=Nt("getTemplateLock"),NJe=Nt("canInsertBlockType"),LJe=Nt("getInserterItems"),DJe=Nt("hasInserterItems"),FJe=Nt("getBlockListSettings"),VJe=(0,Yr.createRegistrySelector)(e=>()=>((0,df.default)("select('core/editor').__experimentalGetDefaultTemplateTypes",{since:"6.8",alternative:"select('core/core-data').getCurrentTheme()?.default_template_types"}),e(zo.store).getCurrentTheme()?.default_template_types)),BJe=(0,Yr.createRegistrySelector)(e=>(0,Yr.createSelector)(()=>((0,df.default)("select('core/editor').__experimentalGetDefaultTemplatePartAreas",{since:"6.8",alternative:"select('core/core-data').getCurrentTheme()?.default_template_part_areas"}),(e(zo.store).getCurrentTheme()?.default_template_part_areas||[]).map(r=>({...r,icon:ZQe(r.icon)}))))),zJe=(0,Yr.createRegistrySelector)(e=>(0,Yr.createSelector)((t,r)=>{(0,df.default)("select('core/editor').__experimentalGetDefaultTemplateType",{since:"6.8"});let o=e(zo.store).getCurrentTheme()?.default_template_types;return o?Object.values(o).find(n=>n.slug===r)??zR:zR})),jJe=(0,Yr.createRegistrySelector)(e=>(0,Yr.createSelector)((t,r)=>{if((0,df.default)("select('core/editor').__experimentalGetTemplateInfo",{since:"6.8"}),!r)return zR;let o=e(zo.store).getCurrentTheme(),n=o?.default_template_types||[],i=o?.default_template_part_areas||[];return XQe({template:r,templateAreas:i,templateTypes:n})})),HJe=(0,Yr.createRegistrySelector)(e=>t=>{let r=Nl(t);return e(zo.store).getPostType(r)?.labels?.singular_name});function UJe(e){return e.publishSidebarActive}var aq={};or(aq,{__experimentalTearDownEditor:()=>ett,__unstableSaveForPreview:()=>dtt,autosave:()=>ltt,clearSelectedBlock:()=>Wtt,closePublishSidebar:()=>Ntt,createUndoLevel:()=>ptt,disablePublishSidebar:()=>gtt,editPost:()=>ntt,enablePublishSidebar:()=>mtt,enterFormattedText:()=>drt,exitFormattedText:()=>crt,hideInsertionPoint:()=>ert,insertBlock:()=>Qtt,insertBlocks:()=>$tt,insertDefaultBlock:()=>urt,lockPostAutosaving:()=>vtt,lockPostSaving:()=>htt,mergeBlocks:()=>ort,moveBlockToPosition:()=>Ztt,moveBlocksDown:()=>Ktt,moveBlocksUp:()=>Xtt,multiSelect:()=>Utt,openPublishSidebar:()=>Att,receiveBlocks:()=>Ftt,redo:()=>ctt,refreshPost:()=>att,removeBlock:()=>irt,removeBlocks:()=>nrt,removeEditorPanel:()=>Ett,replaceBlock:()=>qtt,replaceBlocks:()=>Ytt,resetBlocks:()=>Dtt,resetEditorBlocks:()=>wtt,resetPost:()=>ttt,savePost:()=>itt,selectBlock:()=>ztt,setDeviceType:()=>Stt,setEditedPost:()=>pce,setIsInserterOpened:()=>Rtt,setIsListViewOpened:()=>Ttt,setRenderingMode:()=>xtt,setTemplateValidity:()=>trt,setupEditor:()=>Jet,setupEditorState:()=>ott,showInsertionPoint:()=>Jtt,startMultiSelect:()=>jtt,startTyping:()=>srt,stopMultiSelect:()=>Htt,stopTyping:()=>lrt,switchEditorMode:()=>Mtt,synchronizeTemplate:()=>rrt,toggleBlockMode:()=>art,toggleDistractionFree:()=>Ptt,toggleEditorPanelEnabled:()=>Ctt,toggleEditorPanelOpened:()=>ktt,togglePublishSidebar:()=>Ltt,toggleSelection:()=>Gtt,toggleSpotlightMode:()=>Itt,toggleTopToolbar:()=>Ott,trashPost:()=>stt,undo:()=>utt,unlockPostAutosaving:()=>_tt,unlockPostSaving:()=>btt,updateBlock:()=>Vtt,updateBlockAttributes:()=>Btt,updateBlockListSettings:()=>prt,updateEditorSettings:()=>ytt,updatePost:()=>rtt,updatePostLock:()=>ftt});var iq=l(Li(),1),dce=l(cf(),1),cce=l(Ea(),1),ub=l(Ra(),1),uce=l(n1(),1),i1=l(cr(),1),rc=l(ro(),1),Ll=l(De(),1),bg=l(Be(),1),a1=l(na(),1),qn=l(br(),1),ss=l($(),1);var zde=l(De(),1);var{CRDT_AUTOSAVE_SNAPSHOT_KEY:n8}=Q(zde.privateApis);function UY(e,t){return`wp-autosave-block-editor-post-${t?"auto-draft":e}`}function jde(e,t){return window.sessionStorage.getItem(UY(e,t))}function Hde(e,t,r,o,n,i){let a={post_title:r,content:o,excerpt:n,time:Date.now()};i&&(a[n8]=i);let s=UY(e,t);try{window.sessionStorage.setItem(s,JSON.stringify(a))}catch(d){if(!a[n8])throw d;delete a[n8],window.sessionStorage.setItem(s,JSON.stringify(a))}}function Ude(e){return e?.[n8]}function WR(e,t){window.sessionStorage.removeItem(UY(e,t))}var is=l($(),1);var WJe=(0,is.__)("Auto-save failed. You can also save manually."),GJe=(0,is.__)("Auto-save failed because there was no response from the server. You can also save manually."),YJe=(0,is.__)("Auto-save failed because you were offline. You can also save manually once you\u2019re back online.");function Wde(e){let{previousPost:t,post:r,postType:o}=e;if(e.options?.isAutosave)return[];let n=["publish","private","future"],i=n.includes(t.status),a=n.includes(r.status),s=r.status==="trash"&&t.status!=="trash",d,c=o?.viewable??!1,u;s?(d=o.labels.item_trashed,c=!1):r.type===of?(d=(0,is.__)("Media updated."),c=!1):!i&&!a?(d=(0,is.__)("Draft saved."),u=!0):i&&!a?(d=o.labels.item_reverted_to_draft,c=!1):!i&&a?d={publish:o.labels.item_published,private:o.labels.item_published_privately,future:o.labels.item_scheduled}[r.status]:d=o.labels.item_updated;let f=[];return c&&f.push({label:u?(0,is.__)("View Preview"):o.labels.view_item,url:r.link,openInNewTab:!0}),[d,{id:"editor-save",type:"snackbar",actions:f}]}function Gde(e){let{post:t,edits:r,error:o,options:n}=e;if(o&&o.code==="rest_autosave_no_changes")return[];let a=["publish","private","future"].indexOf(t.status)!==-1,s=n?.isAutosave?"editor-autosave":"editor-save";if(o.code==="offline_error"){let u={publish:(0,is.__)("Publishing failed because you were offline. Please verify your connection and try again."),private:(0,is.__)("Publishing failed because you were offline. Please verify your connection and try again."),future:(0,is.__)("Scheduling failed because you were offline. Please verify your connection and try again."),default:(0,is.__)("Updating failed because you were offline. Please verify your connection and try again.")},f=!a&&r.status in u?u[r.status]:u.default;return n?.isAutosave&&(f=YJe),[f,{id:s}]}let d={publish:(0,is.__)("Publishing failed. Keep this page open and try publishing again."),private:(0,is.__)("Publishing failed. Keep this page open and try publishing again."),future:(0,is.__)("Scheduling failed. Keep this page open and try scheduling again."),default:(0,is.__)("Updating failed. Keep this page open and try updating again.")},c=!a&&r.status in d?d[r.status]:d.default;return n?.isAutosave&&(c=o.code==="fetch_error"?GJe:WJe),[c,{id:s}]}function Yde(e){return[e.error.message&&e.error.code!=="unknown_error"?e.error.message:(0,is.__)("Trashing failed"),{id:"editor-trash-fail"}]}var Xde=l(cr(),1),i8=l(De(),1);var qJe={"core/image":"id"},KJe=["core/block","core/template-part"];function qde(e){let t=[];return e.forEach(r=>{t.push(r),KJe.includes(r.name)||t.push(...qde(r.innerBlocks))}),t}function WY(e){let t=new Set;return qde(e).forEach(r=>{let o=qJe[r.name];if(!o)return;let n=r.attributes?.[o];Number.isInteger(n)&&n>0&&t.add(n)}),[...t].sort((r,o)=>r-o)}var GY=l(De(),1);function Kde(e){e.select(GY.store).getCachedResolvers().getEntityRecords?.forEach((o,n)=>{n[0]==="postType"&&n[1]==="attachment"&&e.dispatch(GY.store).invalidateResolution("getEntityRecords",n)})}var YY=100;function Zde(e){console.warn("Could not attach media to the post.",e)}async function Qde(e,t){try{await XJe(e,t)}catch(r){Zde(r)}}async function XJe(e,{id:t,type:r,blocks:o,previousContent:n}){let i=WY(o);if(!i.length||!(await e.resolveSelect(i8.store).getPostType(r))?.viewable)return;if(typeof n=="string"){let f=new Set(WY((0,Xde.parse)(n,{__unstableSkipMigrationLogs:!0})));if(i=i.filter(m=>!f.has(m)),!i.length)return}if(i.length>YY){console.warn(`Not attaching media: the post has more than ${YY} images.`);return}let d=(await e.resolveSelect(i8.store).getEntityRecords("postType","attachment",{include:i,per_page:YY})??[]).filter(f=>!f.post);if(!d.length)return;let{saveEntityRecord:c}=e.dispatch(i8.store),u=await Promise.allSettled(d.map(f=>c("postType","attachment",{id:f.id,post:t})));u.forEach(f=>{f.status==="rejected"&&Zde(f.reason)}),u.some(({status:f})=>f==="fulfilled")&&Kde(e)}var nq={};or(nq,{createTemplate:()=>Iet,hideBlockTypes:()=>Met,openRevision:()=>Uet,receiveEntityFields:()=>Eet,registerPostTypeSchema:()=>Tet,removeTemplates:()=>Net,resetStylesNavigation:()=>Vet,restoreBrowserBackup:()=>Yet,restoreRevision:()=>qet,revertTemplate:()=>Aet,selectNote:()=>Ket,setCanvasHeight:()=>Bet,setCanvasWidth:()=>oq,setCurrentRevisionId:()=>jet,setCurrentTemplateId:()=>Pet,setDefaultRenderingMode:()=>Let,setIsReady:()=>Ret,setPhysicalCanvasWidth:()=>zet,setRevisionPage:()=>Het,setShowRevisionDiff:()=>Wet,setShowStylebook:()=>Fet,setStylesPath:()=>Det,showBlockTypes:()=>Oet,viewBrowserBackup:()=>Get});var Oa=l(De(),1),JY=l(Be(),1),yr=l($(),1),gi=l(ro(),1),Bw=l(br(),1),tq=l(Ea(),1),rq=l(cf(),1),GR=l(cr(),1),eq=l(yo(),1),s8=l(fi(),1);function a8(e){return e?e.source===wle.custom&&(!!e?.plugin||e?.has_theme_file):!1}var ZY={};or(ZY,{buildRevisionsPageQuery:()=>hg,getBrowserBackup:()=>bet,getCanvasHeight:()=>cet,getCanvasWidth:()=>det,getComparedVersion:()=>Cet,getCurrentRevision:()=>vet,getCurrentRevisionId:()=>XY,getDefaultRenderingMode:()=>iet,getEntityFields:()=>oet,getInserter:()=>$Je,getInserterSidebarToggleRef:()=>eet,getListViewToggleRef:()=>JJe,getPageRevisions:()=>fet,getPhysicalCanvasWidth:()=>uet,getPostBlocksByName:()=>net,getPostIcon:()=>tet,getPreviousRevision:()=>yet,getRevisionPage:()=>KY,getRevisionsPerPage:()=>pet,getSelectedNote:()=>_et,getShowStylebook:()=>set,getShownVersion:()=>xet,getStylesPath:()=>aet,isCollaborationEnabledForCurrentPost:()=>ket,isEntityReady:()=>ret,isNoteFocused:()=>wet,isRevisionsMode:()=>met,isShowingRevisionDiff:()=>get,isViewingBrowserBackup:()=>het});var Vw=l(Be(),1),Ia=l(se(),1);var as=l(De(),1),oce=l(br(),1);var ZJe=[];function Jde(e,t,r){return e.fields[t]?.[r]??ZJe}function ece(e,t,r){return e.isReady[t]?.[r]}var tce={rootClientId:void 0,insertionIndex:void 0,filterValue:void 0},{getTemplatePartIcon:QJe}=Q(as.privateApis),qY=["post-only","template-locked"],$Je=(0,Ia.createRegistrySelector)(e=>(0,Ia.createSelector)(t=>{if(typeof t.blockInserterPanel=="object")return t.blockInserterPanel;if(o8(t)==="template-locked"){let{getBlocksByName:r,getSelectedBlockClientId:o,getBlockParents:n,getBlockOrder:i}=e(Vw.store),[a]=r("core/post-content");if(a){let s=o();return s&&s!==a&&n(s).includes(a)?tce:{rootClientId:a,insertionIndex:i(a).length,filterValue:void 0}}}return tce},t=>{let{getBlocksByName:r,getSelectedBlockClientId:o,getBlockParents:n,getBlockOrder:i}=e(Vw.store),[a]=r("core/post-content"),s=o();return[t.blockInserterPanel,o8(t),a,s,s?n(s):void 0,a?i(a).length:void 0]}));function JJe(e){return e.listViewToggleRef}function eet(e){return e.inserterSidebarToggleRef}var rce={wp_block:$0,wp_navigation:lY,page:X0,post:DY},tet=(0,Ia.createRegistrySelector)(e=>(t,r,o)=>{{if(r==="wp_template_part"||r==="wp_template"){let a=(e(as.store).getCurrentTheme()?.default_template_part_areas||[]).find(s=>o.area===s.area);return a?.icon?QJe(a.icon):cg}if(rce[r])return rce[r];let n=e(as.store).getPostType(r);return typeof n?.icon=="string"&&n.icon.startsWith("dashicons-")?n.icon.slice(10):X0}});function ret(e,...t){return ece(e.dataviews,...t)}function oet(e,...t){return Jde(e.dataviews,...t)}var net=(0,Ia.createRegistrySelector)(e=>(0,Ia.createSelector)((t,r)=>{r=Array.isArray(r)?r:[r];let{getBlocksByName:o,getBlockParents:n,getBlockName:i}=e(Vw.store);return o(r).filter(a=>n(a).every(s=>{let d=i(s);return d!=="core/query"&&!r.includes(d)}))},(t,r)=>{r=Array.isArray(r)?r:[r];let{getBlocksByName:o,getBlockParents:n}=e(Vw.store),i=o(r),a=i.map(s=>n(s));return[i,...a]})),iet=(0,Ia.createRegistrySelector)(e=>(t,r)=>{let{getPostType:o,getCurrentTheme:n,hasFinishedResolution:i}=e(as.store),a=n(),s=o(r);if(!i("getPostType",[r])||!i("getCurrentTheme"))return;let d=a?.stylesheet,c=e(oce.store).get("core","renderingModes")?.[d]?.[r];if(qY.includes(c))return c;let u=Array.isArray(s?.supports?.editor)?s.supports.editor.find(m=>"default-mode"in m)?.["default-mode"]:void 0;if(qY.includes(u))return u;let f=jY(t).defaultRenderingMode;return qY.includes(f)?f:"post-only"});function aet(e){return e.stylesPath??"/"}function set(e){return e.showStylebook??!1}var det=(0,Ia.createRegistrySelector)(e=>t=>{if(!Q(e(Vw.store)).isZoomOut())return t.canvasWidth}),cet=(0,Ia.createRegistrySelector)(e=>t=>{if(!Q(e(Vw.store)).isZoomOut())return t.canvasHeight});function uet(e){return e.physicalCanvasWidth}function KY(e){return e.revisionPage}function hg(e,t){return{per_page:nce,page:t,context:"edit",orderby:"date",order:"desc",_fields:[...new Set(["id","date","modified","author","slug","meta","title","excerpt","content.raw",e])].join()}}var nce=100;function pet(){return nce}var fet=(0,Ia.createRegistrySelector)(e=>(t,r)=>{if(!r)return null;let{type:o,id:n}=ia(t);if(!o||!n)return null;let a=e(as.store).getEntityConfig("postType",o)?.revisionKey||"id";return e(as.store).getRevisions("postType",o,n,hg(a,r))});function met(e){return e.revisionId!==null||e.browserBackup!==null}function get(e){return e.showRevisionDiff}function XY(e){return e.revisionId}function het(e){return e.browserBackup!==null}function bet(e){return e.browserBackup}var vet=(0,Ia.createRegistrySelector)(e=>t=>{let r=XY(t);if(!r)return;let o=KY(t);if(!o)return null;let{type:n,id:i}=ia(t),s=e(as.store).getEntityConfig("postType",n)?.revisionKey||"id",d=e(as.store).getRevisions("postType",n,i,hg(s,o));if(!d)return null;let c=d.find(u=>u[s]===r);return c||(e(as.store).getRevision("postType",n,i,r,{context:"edit"})??null)});function _et(e){return e.selectedNote?.noteId}function wet(e){return!!e.selectedNote?.options?.focus}var yet=(0,Ia.createRegistrySelector)(e=>t=>{let r=XY(t);if(!r)return;let o=KY(t);if(!o)return null;let{type:n,id:i}=ia(t),s=e(as.store).getEntityConfig("postType",n)?.revisionKey||"id",d=hg(s,o),c=e(as.store).getRevisions("postType",n,i,d);if(!c)return null;let u=c.findIndex(g=>g[s]===r);if(u>=0&&u<c.length-1)return c[u+1];let f=BY(t),m=Math.ceil(f/d.per_page)||1;return u===c.length-1&&o<m?e(as.store).getRevisions("postType",n,i,hg(s,o+1))?.[0]??null:null}),xet=(0,Ia.createRegistrySelector)(e=>t=>t.browserBackup??Q(e(B0)).getCurrentRevision()),Cet=(0,Ia.createRegistrySelector)(e=>(0,Ia.createSelector)(t=>{let r=Q(e(B0));return t.browserBackup?{title:{raw:r.getEditedPostAttribute("title")},content:{raw:r.getEditedPostContent()},excerpt:{raw:r.getEditedPostAttribute("excerpt")}}:r.getPreviousRevision()},t=>{let r=Q(e(B0));return t.browserBackup?[t.browserBackup,r.getEditedPostAttribute("title"),r.getEditedPostContent(),r.getEditedPostAttribute("excerpt")]:[t.browserBackup,r.getPreviousRevision()]})),ket=(0,Ia.createRegistrySelector)(e=>t=>{if(!Q(e(as.store)).isCollaborationSupported())return!1;let r=Nl(t),o=kd(t),i=e(as.store).getEntityConfig("postType",r)?.syncConfig;return!!(i&&i.supportsPersistence&&window.__experimentalEnableRealTimeCollaboration&&i.shouldSync?.(`postType/${r}`,o)!==!1)});var ice=l(na(),1);function Eet(e,t,r){return{type:"RECEIVE_ENTITY_FIELDS",kind:e,name:t,fields:r}}function Ret(e,t){return{type:"SET_IS_READY",kind:e,name:t}}var Tet=e=>({registry:t})=>{Q(t.select(B)).isEntityReady("postType",e)||(Q(t.dispatch(B)).setIsReady("postType",e),(0,ice.doAction)("core.registerPostTypeSchema",e))};function Pet(e){return{type:"SET_CURRENT_TEMPLATE_ID",id:e}}var Iet=e=>async({select:t,dispatch:r,registry:o})=>{let n=await o.dispatch(Oa.store).saveEntityRecord("postType","wp_template",e);o.dispatch(Oa.store).editEntityRecord("postType",t.getCurrentPostType(),t.getCurrentPostId(),{template:n.slug});let{defaultRenderingMode:i,renderingMode:a}=t.getEditorSettings();return o.dispatch(gi.store).createSuccessNotice((0,yr.__)("Custom template created. You're in template mode now."),{type:"snackbar",actions:a?[]:[{label:(0,yr.__)("Back"),onClick:()=>r.setRenderingMode(i)}]}),n},Oet=e=>({registry:t})=>{let o=(t.select(Bw.store).get("core","hiddenBlockTypes")??[]).filter(n=>!(Array.isArray(e)?e:[e]).includes(n));t.dispatch(Bw.store).set("core","hiddenBlockTypes",o)},Met=e=>({registry:t})=>{let r=t.select(Bw.store).get("core","hiddenBlockTypes")??[],o=new Set([...r,...Array.isArray(e)?e:[e]]);t.dispatch(Bw.store).set("core","hiddenBlockTypes",[...o])},Aet=(e,{allowUndo:t=!0}={})=>async({registry:r})=>{let o="edit-site-template-reverted";if(r.dispatch(gi.store).removeNotice(o),!a8(e)){r.dispatch(gi.store).createErrorNotice((0,yr.__)("This template is not revertable."),{type:"snackbar"});return}try{let n=r.select(Oa.store).getEntityConfig("postType",e.type);if(!n){r.dispatch(gi.store).createErrorNotice((0,yr.__)("The editor has encountered an unexpected error. Please reload."),{type:"snackbar"});return}let i=(0,tq.addQueryArgs)(`${n.baseURL}/${e.id}`,{context:"edit",source:e.origin}),a=await(0,rq.default)({path:i});if(!a){r.dispatch(gi.store).createErrorNotice((0,yr.__)("The editor has encountered an unexpected error. Please reload."),{type:"snackbar"});return}let s=({blocks:u=[]})=>(0,GR.__unstableSerializeAndClean)(u),d=r.select(Oa.store).getEditedEntityRecord("postType",e.type,e.id);r.dispatch(Oa.store).editEntityRecord("postType",e.type,e.id,{content:s,blocks:d.blocks,source:"custom"},{undoIgnore:!0});let c=(0,GR.parse)(a?.content?.raw);if(r.dispatch(Oa.store).editEntityRecord("postType",e.type,a.id,{content:s,blocks:c,source:"theme"}),t){let u=()=>{r.dispatch(Oa.store).editEntityRecord("postType",e.type,d.id,{content:s,blocks:d.blocks,source:"custom"})};r.dispatch(gi.store).createSuccessNotice((0,yr.__)("Template reset."),{type:"snackbar",id:o,actions:[{label:(0,yr.__)("Undo"),onClick:u}]})}}catch(n){let i=n.message&&n.code!=="unknown_error"?n.message:(0,yr.__)("Template revert failed. Please reload.");r.dispatch(gi.store).createErrorNotice(i,{type:"snackbar"})}},Net=e=>async({registry:t})=>{let r=e.every(n=>n?.has_theme_file),o=await Promise.allSettled(e.map(n=>t.dispatch(Oa.store).deleteEntityRecord("postType",n.type,n.id,{force:!0},{throwOnError:!0})));if(o.every(({status:n})=>n==="fulfilled")){let n;if(e.length===1){let i;typeof e[0].title=="string"?i=e[0].title:typeof e[0].title?.rendered=="string"?i=e[0].title?.rendered:typeof e[0].title?.raw=="string"&&(i=e[0].title?.raw),n=r?(0,yr.sprintf)((0,yr.__)('"%s" reset.'),(0,eq.decodeEntities)(i)):(0,yr.sprintf)((0,yr._x)('"%s" deleted.',"template part"),(0,eq.decodeEntities)(i))}else n=r?(0,yr.__)("Items reset."):(0,yr.__)("Items deleted.");t.dispatch(gi.store).createSuccessNotice(n,{type:"snackbar",id:"editor-template-deleted-success"})}else{let n;if(o.length===1)o[0].reason?.message?n=o[0].reason.message:n=r?(0,yr.__)("An error occurred while reverting the item."):(0,yr.__)("An error occurred while deleting the item.");else{let i=new Set,a=o.filter(({status:s})=>s==="rejected");for(let s of a)s.reason?.message&&i.add(s.reason.message);i.size===0?n=(0,yr.__)("An error occurred while deleting the items."):i.size===1?n=r?(0,yr.sprintf)((0,yr.__)("An error occurred while reverting the items: %s"),[...i][0]):(0,yr.sprintf)((0,yr.__)("An error occurred while deleting the items: %s"),[...i][0]):n=r?(0,yr.sprintf)((0,yr.__)("Some errors occurred while reverting the items: %s"),[...i].join(",")):(0,yr.sprintf)((0,yr.__)("Some errors occurred while deleting the items: %s"),[...i].join(","))}t.dispatch(gi.store).createErrorNotice(n,{type:"snackbar"})}},Let=e=>({select:t,registry:r})=>{let o=t.getCurrentPostType(),n=r.select(Oa.store).getCurrentTheme()?.stylesheet,i=r.select(Bw.store).get("core","renderingModes")?.[n]??{};if(i[o]===e)return;let a={[n]:{...i,[o]:e}};r.dispatch(Bw.store).set("core","renderingModes",a)};function Det(e){return{type:"SET_STYLES_PATH",path:e}}function Fet(e){return{type:"SET_SHOW_STYLEBOOK",show:e}}function Vet(){return{type:"RESET_STYLES_NAVIGATION"}}function oq(e){return({dispatch:t,registry:r})=>{t({type:"SET_CANVAS_WIDTH",width:e});let o=Q(r.select(JY.store));if(o.isResponsiveEditing()){let n=o.getSettings().__experimentalFeatures?.viewport,i=J7(e,n);Q(r.dispatch(JY.store)).setStyleStateViewport($7[i]??"default")}}}function Bet(e){return{type:"SET_CANVAS_HEIGHT",height:e}}function zet(e){return{type:"SET_PHYSICAL_CANVAS_WIDTH",width:e}}function jet(e){return{type:"SET_CURRENT_REVISION_ID",revisionId:e}}var Het=e=>async({dispatch:t,select:r,registry:o})=>{let n=r.getCurrentPostType(),i=r.getCurrentPostId(),s=o.select(Oa.store).getEntityConfig("postType",n)?.revisionKey||"id",d=await o.resolveSelect(Oa.store).getRevisions("postType",n,i,hg(s,e));o.batch(()=>{t({type:"SET_REVISION_PAGE",page:e}),d?.length&&t.setCurrentRevisionId(d[0][s])})};function QY(e){e.dispatch(gi.store).createNotice("warning",(0,yr.__)("Revisions could not be loaded."),{type:"snackbar",id:"editor-revisions-load-failed"})}var Uet=e=>async({dispatch:t,select:r,registry:o})=>{t.setCurrentRevisionId(e);let n=r.getCurrentPostType(),i=r.getCurrentPostId(),a=o.select(Oa.store).getEntityConfig("postType",n),s=a?.revisionKey||"id",d=await o.resolveSelect(Oa.store).getRevisions("postType",n,i,{per_page:-1,context:"edit",orderby:"date",order:"desc",_fields:s});if(r.getCurrentRevisionId()!==e)return;if(!d){QY(o);return}let c=d.findIndex(f=>f[s]===e);if(c===-1){let f;try{f=await(0,rq.default)({path:(0,tq.addQueryArgs)(a.getRevisionsUrl(i,e),{context:"edit"})})}catch(m){if(r.getCurrentRevisionId()!==e)return;if(m?.data?.status!==404){QY(o);return}t.setCurrentRevisionId(null),o.dispatch(gi.store).createNotice("warning",(0,yr.__)("Invalid revision ID."),{type:"snackbar",id:"editor-revision-invalid"});return}if(r.getCurrentRevisionId()!==e)return;if(!f){QY(o);return}await o.dispatch(Oa.store).receiveRevisions("postType",n,i,f,{context:"edit"});return}let u=Math.floor(c/r.getRevisionsPerPage())+1;u!==r.getRevisionPage()&&t({type:"SET_REVISION_PAGE",page:u})};function Wet(e){return{type:"SET_SHOW_REVISION_DIFF",showDiff:e}}function Get({title:e,content:t,excerpt:r,time:o}){return{type:"VIEW_BROWSER_BACKUP",backup:{date:o?new Date(o).toISOString():void 0,title:{raw:e},content:{raw:t},excerpt:{raw:r}}}}var Yet=()=>({select:e,dispatch:t,registry:r})=>{let o=e.getBrowserBackup();o&&(t.setCurrentRevisionId(null),t.editPost({title:o.title.raw,excerpt:o.excerpt.raw}),t.resetEditorBlocks((0,GR.parse)(o.content.raw)),r.dispatch(gi.store).removeNotice(SP))};function ace(e){e.dispatch(gi.store).createErrorNotice((0,yr.__)("The revision could not be restored while the post is saving. Wait for the save to finish, then try again."),{type:"snackbar",explicitDismiss:!0,id:"editor-revision-restore-failed"})}var sce=["auto-draft","draft","pending"];function lce(e,t){let r=["title","content","excerpt"].some(o=>t[o]!==void 0&&e[o]!==t[o]);return r||t.meta===void 0?r:Object.keys(t.meta).some(o=>JSON.stringify(e.meta?.[o])!==JSON.stringify(t.meta[o]))}function $Y(e){return e.didPostSaveRequestFail()||e.isEditedPostDirty()}var qet=e=>async({select:t,dispatch:r,registry:o})=>{let n=t.getCurrentPostType(),i=t.getCurrentPostId(),s=o.select(Oa.store).getEntityConfig("postType",n)?.revisionKey||"id",d=await o.resolveSelect(Oa.store).getRevision("postType",n,i,e,{context:"edit",_fields:[...new Set(["id","date","modified","author","meta","title","excerpt","content.raw",s])].join()});if(!d)return;let c={blocks:void 0,content:d.content.raw};if(d.title?.raw!==void 0&&(c.title=d.title.raw),d.excerpt?.raw!==void 0&&(c.excerpt=d.excerpt.raw),d.meta!==void 0&&(c.meta=d.meta),t.isSavingPost()){ace(o);return}if(t.isEditedPostSaveable()&&sce.includes(t.getCurrentPostAttribute("status"))&&sce.includes(t.getEditedPostAttribute("status"))&&lce({title:t.getEditedPostAttribute("title"),content:t.getEditedPostContent(),excerpt:t.getEditedPostAttribute("excerpt"),meta:t.getEditedPostAttribute("meta")},c)&&(await r.savePost(),$Y(t))){o.dispatch(gi.store).createErrorNotice((0,yr.__)("The revision was not restored because the current version of the post could not be saved first. Your content has not been changed."),{type:"snackbar",explicitDismiss:!0,id:"editor-revision-restore-failed"});return}let f={title:t.getCurrentPostAttribute("title"),content:t.getCurrentPostAttribute("content"),excerpt:t.getCurrentPostAttribute("excerpt")};if(c.meta!==void 0){let h=t.getCurrentPostAttribute("meta")??{};f.meta=Object.fromEntries(Object.keys(c.meta).map(b=>[b,h[b]]))}if(t.isSavingPost()){ace(o);return}if(r.editPost(c),r.setCurrentRevisionId(null),await r.savePost(),$Y(t)){o.dispatch(gi.store).createErrorNotice((0,yr.__)("The revision was restored in the editor but could not be saved. Save the post before leaving this page to keep the restored content."),{id:"editor-revision-restore-failed"});return}o.dispatch(gi.store).removeNotice("autosave-exists");let m=async()=>{if(!(t.getCurrentPostId()!==i||t.getCurrentPostType()!==n)){if(t.isSavingPost()){o.dispatch(gi.store).createErrorNotice((0,yr.__)("The restore could not be undone while the post is saving. Wait for the save to finish, then try again."),{id:"editor-revision-restore-failed"});return}r.editPost({blocks:void 0,...f}),await r.savePost(),!$Y(t)&&o.dispatch(gi.store).createSuccessNotice((0,yr.__)("Restore undone."),{type:"snackbar",id:"editor-revision-restore-undone"})}},g=lce(f,c);o.dispatch(gi.store).createSuccessNotice((0,yr.sprintf)((0,yr.__)("Restored to revision from %s."),(0,s8.dateI18n)((0,s8.getSettings)().formats.datetime,d.date)),{type:"snackbar",id:"editor-revision-restored",...g&&{actions:[{label:(0,yr.__)("Undo"),onClick:m}]}})};function Ket(e,t={focus:!1}){return{type:"SELECT_NOTE",noteId:e,options:t}}var{getEntitySnapshot:Xet}=Q(Ll.privateApis),Zet=["offline_error","fetch_error","invalid_json"],Qet="p, div, li, h1, h2, h3, h4, h5, h6, tr";function $et(e){if(!/<\/?[a-z][^>]*>/i.test(e))return e;let{body:t}=document.implementation.createHTMLDocument("");t.innerHTML=e;for(let r of t.querySelectorAll("script, style"))r.remove();for(let r of t.querySelectorAll("a[href]")){let o=r.getAttribute("href").trim(),n=r.textContent.trim();/^https?:\/\//i.test(o)&&n!==o&&r.append(n?` (${o})`:o)}for(let r of t.querySelectorAll(Qet))r.append(`
`);for(let r of t.querySelectorAll("br"))r.replaceWith(`
`);return t.textContent.replace(/\n{3,}/g,`

`).trim()}var Jet=(e,t,r)=>({dispatch:o})=>{if(o.setEditedPost(e.type,e.id),e.status==="auto-draft"&&r){let i;"content"in t?i=t.content:i=e.content.raw;let a=(0,i1.parse)(i);a=(0,i1.synchronizeBlocksWithTemplate)(a,r),o.resetEditorBlocks(a,{__unstableShouldCreateUndoLevel:!1})}t&&Object.entries(t).some(([i,a])=>a!==(e[i]?.raw??e[i]))&&o.editPost(t)};function ett(){return(0,ub.default)("wp.data.dispatch( 'core/editor' ).__experimentalTearDownEditor",{since:"6.5"}),{type:"DO_NOTHING"}}function ttt(){return(0,ub.default)("wp.data.dispatch( 'core/editor' ).resetPost",{since:"6.0",version:"6.3",alternative:"Initialize the editor with the setupEditorState action"}),{type:"DO_NOTHING"}}function rtt(){return(0,ub.default)("wp.data.dispatch( 'core/editor' ).updatePost",{since:"5.7",alternative:"Use the core entities store instead"}),{type:"DO_NOTHING"}}function ott(e){return(0,ub.default)("wp.data.dispatch( 'core/editor' ).setupEditorState",{since:"6.5",alternative:"wp.data.dispatch( 'core/editor' ).setEditedPost"}),pce(e.type,e.id)}function pce(e,t){return{type:"SET_EDITED_POST",postType:e,postId:t}}var ntt=(e,t)=>({select:r,registry:o})=>{let{id:n,type:i}=r.getCurrentPost();o.dispatch(Ll.store).editEntityRecord("postType",i,n,e,t)},itt=(e={})=>async({select:t,dispatch:r,registry:o})=>{if(!t.isEditedPostSaveable())return;let n=t.getEditedPostContent();r.editPost({content:n},{undoIgnore:!0});let i=t.getCurrentPost(),a=t.getEditorBlocks(),s={id:i.id,...o.select(Ll.store).getEntityRecordNonTransientEdits("postType",i.type,i.id),content:n};r({type:"REQUEST_POST_UPDATE_START",options:e});let d=!1;try{s=await(0,a1.applyFiltersAsync)("editor.preSavePost",s,e)}catch(u){d=u}if(!d)try{await o.dispatch(Ll.store).saveEntityRecord("postType",i.type,s,e)}catch(u){d=u.message&&u.code!=="unknown_error"?u.message:(0,ss.__)("An error occurred while updating.")}if(d||(d=o.select(Ll.store).getLastEntitySaveError("postType",i.type,i.id)),!d)try{await(0,a1.applyFilters)("editor.__unstableSavePost",Promise.resolve(),e)}catch(u){d=u}if(!d)try{await(0,a1.doActionAsync)("editor.savePost",{id:i.id,type:i.type},e)}catch(u){d=u}r({type:"REQUEST_POST_UPDATE_FINISH",options:e});let c=o.select(rc.store).getNotices().some(u=>u.id==="editor-save"&&u.status==="error");if((!d||!e.isAutosave)&&o.dispatch(rc.store).removeNotice("editor-autosave"),!d&&e.isAutosave&&c&&!t.isEditedPostDirty()&&o.dispatch(rc.store).removeNotice("editor-save"),!d&&!e.isAutosave&&!e.isPreview&&!t.isDeletingPost()&&i.status!=="trash"&&t.getEditorSettings().autoAttachMediaEnabled){let u=["draft","auto-draft"].includes(i.status);Qde(o,{id:i.id,type:i.type,blocks:a,previousContent:u?void 0:i.content})}if(d){let u=Gde({post:i,edits:s,error:d,options:e});if(u.length&&!(e.isAutosave&&c)){let f=d.data?.error?.message,m=d.data?.status,g=d.message&&!Zet.includes(d.code)?$et(d.message):"",b=[[Number.isInteger(m)&&m>=400?(0,ss.sprintf)((0,ss.__)("Error code %d."),m):"",g].filter(Boolean).join(" "),typeof f=="string"?f.trim():""].filter(Boolean).join(`

`);if(b&&(u[1]={...u[1],details:b}),e.isAutosave){let{NOTICE_SLOT:_}=Q(rc.privateApis);u[1]={...u[1],[_]:EP}}o.dispatch(rc.store).createErrorNotice(...u)}}else{let u=t.getCurrentPost(),f=Wde({previousPost:i,post:u,postType:await o.resolveSelect(Ll.store).getPostType(u.type),options:e});f.length&&o.dispatch(rc.store).createSuccessNotice(...f),e.isAutosave||o.dispatch(bg.store).__unstableMarkLastChangeAsPersistent()}};function att(){return(0,ub.default)("wp.data.dispatch( 'core/editor' ).refreshPost",{since:"6.0",version:"6.3",alternative:"Use the core entities store instead"}),{type:"DO_NOTHING"}}var stt=({force:e=!1}={})=>async({select:t,dispatch:r,registry:o})=>{let n=t.getCurrentPostType(),i=await o.resolveSelect(Ll.store).getPostType(n),{rest_base:a,rest_namespace:s="wp/v2"}=i;r({type:"REQUEST_POST_DELETE_START"});try{let d=t.getCurrentPost();await(0,dce.default)({path:(0,cce.addQueryArgs)(`/${s}/${a}/${d.id}`,e?{force:e}:{}),method:"DELETE"}),e?o.dispatch(Ll.store).receiveEntityRecords("postType",n,[],void 0,!0):await r.savePost()}catch(d){o.dispatch(rc.store).createErrorNotice(...Yde({error:d}))}r({type:"REQUEST_POST_DELETE_FINISH"})},ltt=({local:e=!1,...t}={})=>async({select:r,dispatch:o})=>{let n=r.getCurrentPost();if(e){let i=r.isEditedPostNew(),a=r.getEditedPostAttribute("title"),s=r.getEditedPostAttribute("content"),d=r.getEditedPostAttribute("excerpt"),c=Xet("postType",n.type,n.id);Hde(n.id,i,a,s,d,c)}else await o.savePost({isAutosave:!0,...t})},dtt=({forceIsAutosaveable:e}={})=>async({select:t,dispatch:r})=>((e||t.isEditedPostAutosaveable())&&!t.isPostLocked()&&(["draft","auto-draft"].includes(t.getEditedPostAttribute("status"))?await r.savePost({isPreview:!0}):await r.autosave({isPreview:!0})),t.getEditedPostPreviewLink()),ctt=()=>({registry:e})=>{e.dispatch(Ll.store).redo()},utt=()=>({registry:e})=>{e.dispatch(Ll.store).undo()};function ptt(){return(0,ub.default)("wp.data.dispatch( 'core/editor' ).createUndoLevel",{since:"6.0",version:"6.3",alternative:"Use the core entities store instead"}),{type:"DO_NOTHING"}}function ftt(e){return{type:"UPDATE_POST_LOCK",lock:e}}var mtt=()=>({registry:e})=>{e.dispatch(qn.store).set("core","isPublishSidebarEnabled",!0)},gtt=()=>({registry:e})=>{e.dispatch(qn.store).set("core","isPublishSidebarEnabled",!1)};function htt(e){return{type:"LOCK_POST_SAVING",lockName:e}}function btt(e){return{type:"UNLOCK_POST_SAVING",lockName:e}}function vtt(e){return{type:"LOCK_POST_AUTOSAVING",lockName:e}}function _tt(e){return{type:"UNLOCK_POST_AUTOSAVING",lockName:e}}var wtt=(e,t={})=>({select:r,dispatch:o,registry:n})=>{let{__unstableShouldCreateUndoLevel:i,selection:a}=t,s={blocks:e,selection:a};if(i!==!1){let{id:d,type:c}=r.getCurrentPost();if(n.select(Ll.store).getEditedEntityRecord("postType",c,d).blocks===s.blocks){n.dispatch(Ll.store).__unstableCreateUndoLevel("postType",c,d);return}s.content=({blocks:f=[]})=>(0,i1.__unstableSerializeAndClean)(f)}o.editPost(s)};function ytt(e){return{type:"UPDATE_EDITOR_SETTINGS",settings:e}}var xtt=e=>({dispatch:t,registry:r,select:o})=>{let n=o.getEditorSettings();if(n.renderingMode&&e!==n.renderingMode){(0,uce.default)(`setRenderingMode( '${e}' ) was ignored: this editor is using overriding rendering mode from '${n.renderingMode}'.`);return}o.__unstableIsEditorReady()&&!n.isPreviewMode&&r.dispatch(bg.store).clearSelectedBlock(),t({type:"SET_RENDERING_MODE",mode:e})};function Stt(e){return({dispatch:t,registry:r})=>{let o=Q(r.select(bg.store)).getSettings().__experimentalFeatures?.viewport,n=e8(e,o);t(oq(n))}}var Ctt=e=>({registry:t})=>{let r=t.select(qn.store).get("core","inactivePanels")??[],o=!!r?.includes(e),n;o?n=r.filter(i=>i!==e):n=[...r,e],t.dispatch(qn.store).set("core","inactivePanels",n)},ktt=e=>({registry:t})=>{let r=t.select(qn.store).get("core","openPanels")??[],o=!!r?.includes(e),n;o?n=r.filter(i=>i!==e):n=[...r,e],t.dispatch(qn.store).set("core","openPanels",n)};function Ett(e){return{type:"REMOVE_PANEL",panelName:e}}var Rtt=e=>({dispatch:t,registry:r})=>{typeof e=="object"&&e.hasOwnProperty("rootClientId")&&e.hasOwnProperty("insertionIndex")&&Q(r.dispatch(bg.store)).setInsertionPoint({rootClientId:e.rootClientId,index:e.insertionIndex}),t({type:"SET_IS_INSERTER_OPENED",value:e})};function Ttt(e){return{type:"SET_IS_LIST_VIEW_OPENED",isOpen:e}}var Ptt=({createNotice:e=!0}={})=>({dispatch:t,registry:r})=>{let o=r.select(qn.store).get("core","distractionFree");o&&r.dispatch(qn.store).set("core","fixedToolbar",!1),o||r.batch(()=>{r.dispatch(qn.store).set("core","fixedToolbar",!0),t.setIsInserterOpened(!1),t.setIsListViewOpened(!1),Q(r.dispatch(bg.store)).resetZoomLevel()}),r.batch(()=>{r.dispatch(qn.store).set("core","distractionFree",!o),e&&r.dispatch(rc.store).createInfoNotice(o?(0,ss.__)("Distraction free mode deactivated."):(0,ss.__)("Distraction free mode activated."),{id:"core/editor/distraction-free-mode/notice",type:"snackbar",actions:[{label:(0,ss.__)("Undo"),onClick:()=>{r.batch(()=>{r.dispatch(qn.store).set("core","fixedToolbar",o),r.dispatch(qn.store).toggle("core","distractionFree")})}}]})})},Itt=()=>({registry:e})=>{e.dispatch(qn.store).toggle("core","focusMode");let t=e.select(qn.store).get("core","focusMode");e.dispatch(rc.store).createInfoNotice(t?(0,ss.__)("Spotlight mode activated."):(0,ss.__)("Spotlight mode deactivated."),{id:"core/editor/toggle-spotlight-mode/notice",type:"snackbar",actions:[{label:(0,ss.__)("Undo"),onClick:()=>{e.dispatch(qn.store).toggle("core","focusMode")}}]})},Ott=()=>({registry:e})=>{e.dispatch(qn.store).toggle("core","fixedToolbar");let t=e.select(qn.store).get("core","fixedToolbar");e.dispatch(rc.store).createInfoNotice(t?(0,ss.__)("Top toolbar activated."):(0,ss.__)("Top toolbar deactivated."),{id:"core/editor/toggle-top-toolbar/notice",type:"snackbar",actions:[{label:(0,ss.__)("Undo"),onClick:()=>{e.dispatch(qn.store).toggle("core","fixedToolbar")}}]})},Mtt=e=>({dispatch:t,registry:r})=>{r.dispatch(qn.store).set("core","editorMode",e),e!=="visual"&&(r.dispatch(bg.store).clearSelectedBlock(),Q(r.dispatch(bg.store)).resetZoomLevel()),e==="visual"?(0,iq.speak)((0,ss.__)("Visual editor selected"),"assertive"):e==="text"&&(r.select(qn.store).get("core","distractionFree")&&t.toggleDistractionFree(),(0,iq.speak)((0,ss.__)("Code editor selected"),"assertive"))};function Att(){return{type:"OPEN_PUBLISH_SIDEBAR"}}function Ntt(){return{type:"CLOSE_PUBLISH_SIDEBAR"}}function Ltt(){return{type:"TOGGLE_PUBLISH_SIDEBAR"}}var $r=e=>(...t)=>({registry:r})=>{(0,ub.default)("`wp.data.dispatch( 'core/editor' )."+e+"`",{since:"5.3",alternative:"`wp.data.dispatch( 'core/block-editor' )."+e+"`",version:"6.2"}),r.dispatch(bg.store)[e](...t)},Dtt=$r("resetBlocks"),Ftt=$r("receiveBlocks"),Vtt=$r("updateBlock"),Btt=$r("updateBlockAttributes"),ztt=$r("selectBlock"),jtt=$r("startMultiSelect"),Htt=$r("stopMultiSelect"),Utt=$r("multiSelect"),Wtt=$r("clearSelectedBlock"),Gtt=$r("toggleSelection"),Ytt=$r("replaceBlocks"),qtt=$r("replaceBlock"),Ktt=$r("moveBlocksDown"),Xtt=$r("moveBlocksUp"),Ztt=$r("moveBlockToPosition"),Qtt=$r("insertBlock"),$tt=$r("insertBlocks"),Jtt=$r("showInsertionPoint"),ert=$r("hideInsertionPoint"),trt=$r("setTemplateValidity"),rrt=$r("synchronizeTemplate"),ort=$r("mergeBlocks"),nrt=$r("removeBlocks"),irt=$r("removeBlock"),art=$r("toggleBlockMode"),srt=$r("startTyping"),lrt=$r("stopTyping"),drt=$r("enterFormattedText"),crt=$r("exitFormattedText"),urt=$r("insertDefaultBlock"),prt=$r("updateBlockListSettings");var sq={};or(sq,{getEntityFields:()=>mrt});var mce=l(De(),1);function frt(e){return import(e)}async function fce(e,t=frt){let r=e.script_modules??[],o=await Promise.allSettled(r.map(({id:i})=>t(i))),n=new Map;return o.forEach((i,a)=>{let{id:s,fields:d}=r[a];if(i.status==="rejected"){console.warn(`Could not load the script module ${s} of the fields of ${e.kind}/${e.name}.`,i.reason);return}let c=i.value?.default??{};for(let u of d??[])c[u]&&n.set(u,{...n.get(u),...c[u]})}),(e.fields??[]).map(i=>({...i,...n.get(i.id)}))}var mrt=(e,t)=>async({dispatch:r,registry:o})=>{let n=await Q(o.resolveSelect(mce.store)).getFieldsConfig(e,t),i=n?await fce(n):[];r.receiveEntityFields(e,t,i)};var YR={reducer:ple,selectors:HY,actions:aq},B=(0,l8.createReduxStore)(B0,{...YR,resolvers:sq});(0,l8.register)(B);Q(B).registerPrivateActions(nq);Q(B).registerPrivateSelectors(ZY);var wce=l(P(),1),grt=e=>(0,vce.createHigherOrderComponent)(t=>({attributes:r,setAttributes:o,...n})=>{let i=(0,gce.useSelect)(c=>c(B).getCurrentPostType(),[]),[a,s]=(0,hce.useEntityProp)("postType",i,"meta"),d=(0,bce.useMemo)(()=>({...r,...Object.fromEntries(Object.entries(e).map(([c,u])=>[c,a[u]]))}),[r,a]);return(0,wce.jsx)(t,{attributes:d,setAttributes:c=>{let u=Object.fromEntries(Object.entries(c??{}).filter(([f])=>f in e).map(([f,m])=>[e[f],m]));Object.entries(u).length&&s(u),o(c)},...n})},"withMetaAttributeSource");function hrt(e){let t=Object.fromEntries(Object.entries(e.attributes??{}).filter(([,{source:r}])=>r==="meta").map(([r,{meta:o}])=>[r,o]));return Object.entries(t).length&&(e.edit=grt(t)(e.edit)),e}(0,_ce.addFilter)("blocks.registerBlockType","core/editor/custom-sources-backwards-compatibility/shim-attribute-source",hrt);var Ije=l(na(),1);var Pje=l(De(),1);var bv=l(Us(),1),vv=l(se(),1);var cte={};or(cte,{ActionItem:()=>nc,ComplementaryArea:()=>Hw,ComplementaryAreaMoreMenuItem:()=>h8,FullscreenMode:()=>Uce,InterfaceSkeleton:()=>r3,PinnedItems:()=>d1,store:()=>ht});function xce(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=xce(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function brt(){for(var e,t,r=0,o="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=xce(e))&&(o&&(o+=" "),o+=t);return o}var K=brt;var ac=l(le(),1),ZR=l(se(),1),_8=l($(),1);var ic=l(U(),1),uq=l(kce(),1),zce=l(br(),1),jw=l(Ue(),1),jce=l(pb(),1);var Oce=l(le(),1),p8=l(se(),1),Mce=l(pb(),1);var u8=l(se(),1);var lq={};or(lq,{closeModal:()=>Rrt,disableComplementaryArea:()=>wrt,enableComplementaryArea:()=>_rt,openModal:()=>Ert,pinItem:()=>yrt,setDefaultComplementaryArea:()=>vrt,setFeatureDefaults:()=>krt,setFeatureValue:()=>Crt,toggleFeature:()=>Srt,unpinItem:()=>xrt});var c8=l(Ra(),1),oc=l(br(),1);var d8=l(Ra(),1);function uf(e){return["core/edit-post","core/edit-site"].includes(e)?((0,d8.default)(`${e} interface scope`,{alternative:"core interface scope",hint:"core/edit-post and core/edit-site are merging.",version:"6.6"}),"core"):e}function zw(e,t){return e==="core"&&t==="edit-site/template"?((0,d8.default)("edit-site/template sidebar",{alternative:"edit-post/document",version:"6.6"}),"edit-post/document"):e==="core"&&t==="edit-site/block-inspector"?((0,d8.default)("edit-site/block-inspector sidebar",{alternative:"edit-post/block",version:"6.6"}),"edit-post/block"):t}var vrt=(e,t)=>(e=uf(e),t=zw(e,t),{type:"SET_DEFAULT_COMPLEMENTARY_AREA",scope:e,area:t}),_rt=(e,t)=>({registry:r,dispatch:o})=>{if(!t)return;e=uf(e),t=zw(e,t),r.select(oc.store).get(e,"isComplementaryAreaVisible")||r.dispatch(oc.store).set(e,"isComplementaryAreaVisible",!0),o({type:"ENABLE_COMPLEMENTARY_AREA",scope:e,area:t})},wrt=e=>({registry:t})=>{e=uf(e),t.select(oc.store).get(e,"isComplementaryAreaVisible")&&t.dispatch(oc.store).set(e,"isComplementaryAreaVisible",!1)},yrt=(e,t)=>({registry:r})=>{if(!t)return;e=uf(e),t=zw(e,t);let o=r.select(oc.store).get(e,"pinnedItems");o?.[t]!==!0&&r.dispatch(oc.store).set(e,"pinnedItems",{...o,[t]:!0})},xrt=(e,t)=>({registry:r})=>{if(!t)return;e=uf(e),t=zw(e,t);let o=r.select(oc.store).get(e,"pinnedItems");r.dispatch(oc.store).set(e,"pinnedItems",{...o,[t]:!1})};function Srt(e,t){return function({registry:r}){(0,c8.default)("dispatch( 'core/interface' ).toggleFeature",{since:"6.0",alternative:"dispatch( 'core/preferences' ).toggle"}),r.dispatch(oc.store).toggle(e,t)}}function Crt(e,t,r){return function({registry:o}){(0,c8.default)("dispatch( 'core/interface' ).setFeatureValue",{since:"6.0",alternative:"dispatch( 'core/preferences' ).set"}),o.dispatch(oc.store).set(e,t,!!r)}}function krt(e,t){return function({registry:r}){(0,c8.default)("dispatch( 'core/interface' ).setFeatureDefaults",{since:"6.0",alternative:"dispatch( 'core/preferences' ).setDefaults"}),r.dispatch(oc.store).setDefaults(e,t)}}function Ert(e){return{type:"OPEN_MODAL",name:e}}function Rrt(){return{type:"CLOSE_MODAL"}}var dq={};or(dq,{getActiveComplementaryArea:()=>Trt,isComplementaryAreaLoading:()=>Prt,isFeatureActive:()=>Ort,isItemPinned:()=>Irt,isModalActive:()=>Mrt});var qR=l(se(),1),Rce=l(Ra(),1),KR=l(br(),1);var Trt=(0,qR.createRegistrySelector)(e=>(t,r)=>{r=uf(r);let o=e(KR.store).get(r,"isComplementaryAreaVisible");if(o!==void 0)return o===!1?null:t?.complementaryAreas?.[r]}),Prt=(0,qR.createRegistrySelector)(e=>(t,r)=>{r=uf(r);let o=e(KR.store).get(r,"isComplementaryAreaVisible"),n=t?.complementaryAreas?.[r];return o&&n===void 0}),Irt=(0,qR.createRegistrySelector)(e=>(t,r,o)=>(r=uf(r),o=zw(r,o),e(KR.store).get(r,"pinnedItems")?.[o]??!0)),Ort=(0,qR.createRegistrySelector)(e=>(t,r,o)=>((0,Rce.default)("select( 'core/interface' ).isFeatureActive( scope, featureName )",{since:"6.0",alternative:"select( 'core/preferences' ).get( scope, featureName )"}),!!e(KR.store).get(r,o)));function Mrt(e,t){return e.activeModal===t}var Tce=l(se(),1);function Art(e={},t){switch(t.type){case"SET_DEFAULT_COMPLEMENTARY_AREA":{let{scope:r,area:o}=t;return e[r]?e:{...e,[r]:o}}case"ENABLE_COMPLEMENTARY_AREA":{let{scope:r,area:o}=t;return{...e,[r]:o}}}return e}function Nrt(e=null,t){switch(t.type){case"OPEN_MODAL":return t.name;case"CLOSE_MODAL":return null}return e}var Pce=(0,Tce.combineReducers)({complementaryAreas:Art,activeModal:Nrt});var Ice="core/interface";var ht=(0,u8.createReduxStore)(Ice,{reducer:Pce,actions:lq,selectors:dq});(0,u8.register)(ht);var Ace=l(P(),1);function Lrt(e){return["checkbox","option","radio","switch","menuitemcheckbox","menuitemradio","treeitem"].includes(e)}function s1({as:e=Oce.Button,scope:t,identifier:r,icon:o,selectedIcon:n,name:i,shortcut:a,...s}){let d=e,c=(0,Mce.usePluginContext)(),u=o||c.icon,f=r||`${c.name}/${i}`,m=(0,p8.useSelect)(b=>b(ht).getActiveComplementaryArea(t)===f,[f,t]),{enableComplementaryArea:g,disableComplementaryArea:h}=(0,p8.useDispatch)(ht);return(0,Ace.jsx)(d,{icon:n&&m?n:u,"aria-controls":f.replace("/",":"),"aria-checked":Lrt(s.role)?m:void 0,onClick:()=>{m?h(t):g(t,f)},shortcut:a,...s})}var f8=l(P(),1),Drt=({children:e,className:t,toggleButtonProps:r})=>{let o=(0,f8.jsx)(s1,{icon:Gn,...r});return(0,f8.jsxs)("div",{className:K("components-panel__header","interface-complementary-area-header",t),tabIndex:-1,children:[e,o]})},Nce=Drt;var g8=l(Ue(),1),Fce=l(U(),1);var fb=l(le(),1),Lce=l(U(),1),XR=l(P(),1);function Frt({name:e,as:t=fb.MenuGroup,fillProps:r={},children:o,...n}){return(0,XR.jsx)(fb.Slot,{name:e,fillProps:r,children:i=>{let a=Lce.Children.toArray(i);return a.length?typeof o=="function"?o(a):(0,XR.jsx)(t,{...n,children:a}):null}})}function Dce({name:e,as:t,onClick:r,...o}){return(0,XR.jsx)(fb.Fill,{name:e,children:({as:n=fb.MenuItem,onClick:i})=>{let a=t??n,s=[r,i].filter(Boolean);return(0,XR.jsx)(a,{onClick:s.length?(...d)=>s.forEach(c=>c(...d)):void 0,...o})}})}Dce.Slot=Frt;var nc=Dce;var m8=l(P(),1),l1=(0,g8.observableMap)();function Vce(e,t){return!!(0,g8.useObservableValue)(l1,`${e}/${t}`)}function cq({scope:e,target:t,...r}){return(0,m8.jsx)(s1,{as:o=>(0,m8.jsx)(nc,{name:`${e}/plugin-more-menu`,...o}),role:"menuitemcheckbox",name:t,scope:e,...r})}function h8({scope:e,target:t,__unstableExplicitMenuItem:r,__unstableTarget:o,...n}){return(0,Fce.useLayoutEffect)(()=>{let i=`${e}/${t}`;return l1.set(i,(l1.get(i)??0)+1),()=>{let a=l1.get(i)-1;a?l1.set(i,a):l1.delete(i)}},[e,t]),(0,m8.jsx)(cq,{scope:e,target:t,...n})}var v8=l(le(),1),b8=l(P(),1);function Bce({scope:e,...t}){return(0,b8.jsx)(v8.Fill,{name:`PinnedItems/${e}`,...t})}function Vrt({scope:e,className:t,...r}){return(0,b8.jsx)(v8.Slot,{name:`PinnedItems/${e}`,...r,children:o=>o?.length>0&&(0,b8.jsx)("div",{className:K(t,"interface-pinned-items"),children:o})})}Bce.Slot=Vrt;var d1=Bce;var hi=l(P(),1),Brt=.3;function zrt({scope:e,...t}){return(0,hi.jsx)(ac.Slot,{name:`ComplementaryArea/${e}`,...t})}var jrt={open:{width:"auto"},closed:e=>({width:0,transition:e})};function Hrt(e,t){return(0,ic.isValidElement)(e)?(0,ic.cloneElement)(e,{...t,className:K(e.props.className,t.className),style:{...e.props.style,...t.style}}):(0,hi.jsx)("div",{...t})}function Urt({activeArea:e,isActive:t,scope:r,children:o,className:n,id:i,render:a}){let s=(0,jw.useReducedMotion)(),d=(0,jw.useViewportMatch)("medium","<"),c=(0,jw.usePrevious)(e),f={type:"tween",duration:s||d||!!c&&!!e&&e!==c?0:Brt,ease:[.6,0,.4,1]};return(0,hi.jsx)(ac.Fill,{name:`ComplementaryArea/${r}`,children:(0,hi.jsx)(ac.__unstableAnimatePresence,{initial:!1,custom:f,children:t&&(0,hi.jsx)(ac.__unstableMotion.div,{variants:jrt,initial:"closed",animate:"open",exit:"closed",transition:f,className:"interface-complementary-area__fill",children:Hrt(a,{id:i,className:n,children:o})})})})}function Wrt(e,t,r,o,n){let i=(0,ic.useRef)(!1),a=(0,ic.useRef)(!1),{enableComplementaryArea:s,disableComplementaryArea:d}=(0,ZR.useDispatch)(ht);(0,ic.useEffect)(()=>{o&&n&&!i.current?(d(e),a.current=!0):a.current&&!n&&i.current?(a.current=!1,s(e,t)):a.current&&r&&r!==t&&(a.current=!1),n!==i.current&&(i.current=n)},[o,n,e,t,r,d,s])}function Hce({children:e,className:t,closeLabel:r=(0,_8.__)("Close plugin"),identifier:o,header:n,headerClassName:i,icon:a,isPinnable:s=!0,panelClassName:d,render:c,scope:u,name:f,title:m,toggleShortcut:g,isActiveByDefault:h}){let b=(0,jce.usePluginContext)(),_=a||b.icon,y=o||`${b.name}/${f}`,[w,v]=(0,ic.useState)(!1),{isLoading:x,isActive:S,isPinned:C,activeArea:k,isSmall:E,isLarge:I,showIconLabels:M}=(0,ZR.useSelect)(H=>{let{getActiveComplementaryArea:N,isComplementaryAreaLoading:L,isItemPinned:z}=H(ht),{get:j}=H(zce.store),F=N(u);return{isLoading:L(u),isActive:F===y,isPinned:z(u,y),activeArea:F,isSmall:H(uq.store).isViewportMatch("< medium"),isLarge:H(uq.store).isViewportMatch("large"),showIconLabels:j("core","showIconLabels")}},[y,u]),R=Vce(u,f),T=(0,jw.useViewportMatch)("medium","<");Wrt(u,y,k,S,E);let{enableComplementaryArea:O,disableComplementaryArea:A,pinItem:D,unpinItem:V}=(0,ZR.useDispatch)(ht);if((0,ic.useEffect)(()=>{h&&k===void 0&&!E?O(u,y):k===void 0&&E&&A(u),v(!0)},[k,h,u,y,E,O,A]),!!w)return(0,hi.jsxs)(hi.Fragment,{children:[s&&(0,hi.jsx)(d1,{scope:u,children:C&&(0,hi.jsx)(s1,{scope:u,identifier:y,isPressed:S&&(!M||I),"aria-expanded":S,"aria-disabled":x,label:m,icon:M?Ni:_,showTooltip:!M,variant:M?"tertiary":void 0,size:"compact",shortcut:g})}),f&&s&&!R&&(0,hi.jsx)(cq,{target:f,scope:u,icon:_,identifier:y,children:m}),(0,hi.jsxs)(Urt,{activeArea:k,isActive:S,className:K("interface-complementary-area",t),scope:u,id:y.replace("/",":"),render:c,children:[(0,hi.jsx)(Nce,{className:i,toggleButtonProps:{label:r,size:"compact",shortcut:g,scope:u,identifier:y},children:n||(0,hi.jsxs)(hi.Fragment,{children:[(0,hi.jsx)("h2",{className:"interface-complementary-area-header__title",children:m}),s&&!T&&(0,hi.jsx)(ac.Button,{className:"interface-complementary-area__pin-unpin-item",icon:C?IY:TY,label:C?(0,_8.__)("Unpin from toolbar"):(0,_8.__)("Pin to toolbar"),onClick:()=>(C?V:D)(u,y),isPressed:C,size:"compact"})]})}),(0,hi.jsx)(ac.Panel,{className:d,children:e})]})]})}Hce.Slot=zrt;var Hw=Hce;var pq=l(U(),1),Grt=({isActive:e})=>((0,pq.useEffect)(()=>{let t=!1;return document.body.classList.contains("sticky-menu")&&(t=!0,document.body.classList.remove("sticky-menu")),()=>{t&&document.body.classList.add("sticky-menu")}},[]),(0,pq.useEffect)(()=>(e?document.body.classList.add("is-fullscreen-mode"):document.body.classList.remove("is-fullscreen-mode"),()=>{e&&document.body.classList.remove("is-fullscreen-mode")}),[e]),null),Uce=Grt;var gb=l(ee(),1);var Yce=l(ee(),1),Gce={};function Ot(e,t){let r=Yce.useRef(Gce);return r.current===Gce&&(r.current=e(t)),r}function Ro(e,t,r,o){let n=Ot(Kce).current;return Yrt(n,e,t,r,o)&&Xce(n,[e,t,r,o]),n.callback}function qce(e){let t=Ot(Kce).current;return qrt(t,e)&&Xce(t,e),t.callback}function Kce(){return{callback:null,cleanup:null,refs:[]}}function Yrt(e,t,r,o,n){return e.refs[0]!==t||e.refs[1]!==r||e.refs[2]!==o||e.refs[3]!==n}function qrt(e,t){return e.refs.length!==t.length||e.refs.some((r,o)=>r!==t[o])}function Xce(e,t){if(e.refs=t,t.every(r=>r==null)){e.callback=null;return}e.callback=r=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),r!=null){let o=Array(t.length).fill(null);for(let n=0;n<t.length;n+=1){let i=t[n];if(i!=null)switch(typeof i){case"function":{let a=i(r);typeof a=="function"&&(o[n]=a);break}case"object":{i.current=r;break}default:}}e.cleanup=()=>{for(let n=0;n<t.length;n+=1){let i=t[n];if(i!=null)switch(typeof i){case"function":{let a=o[n];typeof a=="function"?a():i(null);break}case"object":{i.current=null;break}default:}}}}}}var Qce=l(ee(),1);var Zce=l(ee(),1),Krt=parseInt(Zce.version,10);function mb(e){return Krt>=e}function fq(e){if(!Qce.isValidElement(e))return null;let t=e,r=t.props;return(mb(19)?r?.ref:t.ref)??null}function QR(e,t){if(e&&!t)return e;if(!e&&t)return t;if(e||t)return{...e,...t}}function Ct(){}var Ur=Object.freeze([]),ft=Object.freeze({});function $ce(e,t){let r={};for(let o in e){let n=e[o];if(t?.hasOwnProperty(o)){let i=t[o](n);i!=null&&Object.assign(r,i);continue}n===!0?r[`data-${o.toLowerCase()}`]="":n&&(r[`data-${o.toLowerCase()}`]=n.toString())}return r}function Jce(e,t){return typeof e=="function"?e(t):e}function w8(e,t){return typeof e=="function"?e(t):e}var eue={};function at(e,t,r,o,n){if(!r&&!o&&!n&&!e)return y8(t);let i=y8(e);return t&&(i=$R(i,t)),r&&(i=$R(i,r)),o&&(i=$R(i,o)),n&&(i=$R(i,n)),i}function tue(e){if(e.length===0)return eue;if(e.length===1)return y8(e[0]);let t=y8(e[0]);for(let r=1;r<e.length;r+=1)t=$R(t,e[r]);return t}function y8(e){return oue(e)?{...e(eue)}:Xrt(e)}function $R(e,t){return oue(t)?t(e):Zrt(e,t)}function Xrt(e){let t={...e};for(let r in t){let o=t[r];rue(r,o)&&(t[r]=nue(o))}return t}function Zrt(e,t){if(!t)return e;for(let r in t){let o=t[r];switch(r){case"style":{e[r]=QR(e.style,o);break}case"className":{e[r]=mq(e.className,o);break}default:rue(r,o)?e[r]=Qrt(e[r],o):e[r]=o}}return e}function rue(e,t){let r=e.charCodeAt(0),o=e.charCodeAt(1),n=e.charCodeAt(2);return r===111&&o===110&&n>=65&&n<=90&&(typeof t=="function"||typeof t>"u")}function oue(e){return typeof e=="function"}function Qrt(e,t){return t?e?(...r)=>{let o=r[0];if(iue(o)){let i=o;JR(i);let a=t(...r);return i.baseUIHandlerPrevented||e?.(...r),a}let n=t(...r);return e?.(...r),n}:nue(t):e}function nue(e){return e&&((...t)=>{let r=t[0];return iue(r)&&JR(r),e(...t)})}function JR(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function mq(e,t){return t?e?t+" "+e:t:e}function iue(e){return e!=null&&typeof e=="object"&&"nativeEvent"in e}var gq=l(ee(),1);function Ce(e,t,r={}){let o=t.render;r.enabled!==!1&&(o=Uw(o));let n=$rt(t,r,o);if(r.enabled===!1)return null;let i=r.state??ft;return tot(e,o,n,i)}function $rt(e,t,r){let{className:o,style:n}=e,{state:i=ft,ref:a,props:s,stateAttributesMapping:d,enabled:c=!0}=t,u=c?Jce(o,i):void 0,f=c?w8(n,i):void 0,m=c?$ce(i,d):ft,g=c&&s?Jrt(s):void 0,h=c?QR(m,g)??{}:ft;return typeof document<"u"&&(c?Array.isArray(a)?h.ref=qce([h.ref,fq(r),...a]):h.ref=Ro(h.ref,fq(r),a):Ro(null,null)),c?(u!==void 0&&(h.className=mq(h.className,u)),f!==void 0&&(h.style=QR(h.style,f)),h):ft}function Jrt(e){return Array.isArray(e)?tue(e):at(void 0,e)}var eot=Symbol.for("react.lazy");function Uw(e){if(e?.$$typeof!==eot)return e;let t=gb.Children.toArray(e)[0];return gb.isValidElement(t)?t:e}function tot(e,t,r,o){if(t){if(typeof t=="function")return t(r,o);let n=at(r,t.props);return n.ref=r.ref,gb.cloneElement(t,n)}return rot(e,r)}function rot(e,t){return e==="button"?(0,gq.createElement)("button",{type:"button",...t,key:t.key}):e==="img"?(0,gq.createElement)("img",{alt:"",...t,key:t.key}):gb.createElement(e,t)}function oot(e,t){return function(o,...n){let i=new URL(e);return i.searchParams.set("code",o.toString()),n.forEach(a=>i.searchParams.append("args[]",a)),`${t} error #${o}; visit ${i} for the full message.`}}var not=oot("https://base-ui.com/production-error","Base UI"),Je=not;var iot=l(ee(),1),e5={...iot};var hq=e5.useInsertionEffect,aot=hq&&hq!==e5.useLayoutEffect?hq:e=>e();function ve(e){let t=Ot(sot).current;return t.next=e,aot(t.effect),t.trampoline}function sot(){let e={next:void 0,callback:lot,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function lot(){}var aue=l(ee(),1),dot=()=>{},me=typeof document<"u"?aue.useLayoutEffect:dot;var due=l(ee(),1);var wq=l(sc(),1);var lue=l(ee(),1);function c1(e){lue.useEffect(e,Ur)}var x8=null,pVt=globalThis.requestAnimationFrame,bq=class{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=t=>{this.isScheduled=!1;let r=this.callbacks,o=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,o>0)for(let n=0;n<r.length;n+=1)r[n]?.(t)};request(t){let r=this.nextId;return this.nextId+=1,this.callbacks.push(t),this.callbacksCount+=1,!this.isScheduled&&(requestAnimationFrame(this.tick),this.isScheduled=!0),r}cancel(t){let r=t-this.startId;r<0||r>=this.callbacks.length||this.callbacks[r]!==null&&(this.callbacks[r]=null,this.callbacksCount-=1)}},S8=new bq;var Di=class e{static create(){return new e}static request(t){return S8.request(t)}static cancel(t){return S8.cancel(t)}currentId=x8;request(t){this.cancel(),this.currentId=S8.request(()=>{this.currentId=x8,t()})}cancel=()=>{this.currentId!==x8&&(S8.cancel(this.currentId),this.currentId=x8)};disposeEffect=()=>this.cancel};function Ws(){let e=Ot(Di.create).current;return c1(e.disposeEffect),e}function xu(e){return e==null?e:"current"in e?e.current:e}function vq(e,t){return e.getAnimations(t).filter(r=>{let o=r.effect?.getTiming();return o?.duration!==1/0&&o?.iterations!==1/0})}var vg={};or(vg,{endingStyle:()=>_q,startingStyle:()=>t5});var t5="data-starting-style",_q="data-ending-style";var C8=null;function cot(e){if(!C8){let t=[];C8=t,queueMicrotask(()=>{C8=null,wq.flushSync(()=>{for(let r of t)r()})})}C8.push(e)}function lc(e,t=!1,r=!1){let o=Ws();return ve((n,i=null)=>{o.cancel();let a=xu(e);if(a==null)return;let s=a,d=()=>{if(!r){wq.flushSync(n);return}cot(()=>{i?.aborted||n()})};if(typeof s.getAnimations!="function"||globalThis.BASE_UI_ANIMATIONS_DISABLED){n();return}function c(){Promise.all(vq(s).map(u=>u.finished.then(Ct))).then(()=>{i?.aborted||d()},()=>{if(i?.aborted)return;if(vq(s).some(f=>f.pending||f.playState!=="finished")){c();return}d()})}if(t){let u=t5;if(!s.hasAttribute(u)){o.request(c);return}let f=new MutationObserver(()=>{s.hasAttribute(u)||(f.disconnect(),c())});f.observe(s,{attributes:!0,attributeFilter:[u]}),i?.addEventListener("abort",()=>f.disconnect(),{once:!0});return}o.request(c)})}function mo(e){let{enabled:t=!0,open:r,ref:o,batch:n=!1,onComplete:i}=e,a=ve(i),s=lc(o,r,n);due.useEffect(()=>{if(!t)return;let d=new AbortController;return s(a,d.signal),()=>{d.abort()}},[t,r,a,s])}var uot={[t5]:""},pot={[_q]:""},go={transitionStatus(e){return e==="starting"?uot:e==="ending"?pot:null}};var yq=l(ee(),1);function An(e,t=!1,r=!1,o=!1){let[n,i]=yq.useState(e&&t?"idle":void 0),[a,s]=yq.useState(e&&!o);return e&&!a&&(s(!0),i("starting")),!e&&a&&n!=="ending"&&!r&&i("ending"),!e&&!a&&n==="ending"&&i(void 0),me(()=>{if(!e&&a&&n!=="ending"&&r){let d=Di.request(()=>{i("ending")});return()=>{Di.cancel(d)}}},[e,a,n,r]),me(()=>{if(!e||t||n===void 0)return;let d=Di.request(()=>{i(void 0)});return()=>{Di.cancel(d)}},[t,e,n]),me(()=>{if(!e||!t)return;e&&a&&n!=="idle"&&i("starting");let d=Di.request(()=>{i("idle")});return()=>{Di.cancel(d)}},[t,e,a,n]),{mounted:a,setMounted:s,transitionStatus:n}}var r5=0,Ma=class e{static create(){return new e}currentId=r5;start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=r5,r()},t)}isStarted(){return this.currentId!==r5}clear=()=>{this.currentId!==r5&&(clearTimeout(this.currentId),this.currentId=r5)};disposeEffect=()=>this.clear};function ur(){let e=Ot(Ma.create).current;return c1(e.disposeEffect),e}var cue=l(U(),1),uue=l(Xe(),1),pue=l(P(),1),wr=(0,cue.forwardRef)(function({icon:t,size:r=24,style:o,...n},i){let a=t.props.style||o?{...t.props.style,...o}:void 0;return(0,pue.jsx)(uue.SVG,{ref:i,...t.props,...n,...a?{style:a}:{},width:r,height:r})});var Ww=l(ee(),1);function Fi({controlled:e,default:t,name:r,state:o="value"}){let{current:n}=Ww.useRef(e!==void 0),[i,a]=Ww.useState(()=>t),s=n&&e!==void 0?e:i,d=Ww.useCallback(c=>{n||a(c)},[]);return[s,d]}var _g=l(ee(),1);var k8=l(ee(),1),xq=k8.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},nextIndexRef:{current:0}});function E8(){return k8.useContext(xq)}var fue=l(P(),1);function dc(e){let{children:t,elementsRef:r,labelsRef:o,onMapChange:n}=e,i=ve(n),[,a]=_g.useState(0),s=Ot(mot).current,d=Ot(fot).current,c=_g.useRef(0),u=_g.useRef(!0),f=_g.useRef(null),m=_g.useRef(null),g=ve(()=>{u.current||(u.current=!0,a(S=>S+1))}),h=ve((S,C)=>{d.set(S,C),g()}),b=ve(S=>{d.delete(S),g()}),_=ve(S=>{let C=new Map;return r.current.length=0,o&&(o.current.length=0),S.forEach(k=>{C.set(k.element,{...k.registration.metadata??{},index:k.index}),r.current[k.index]=k.element,o&&(o.current[k.index]=k.registration.label!==void 0?k.registration.label:k.registration.textRef?.current?.textContent??k.element.textContent)}),c.current=r.current.length,C});function y(S){if(m.current?.disconnect(),m.current=null,typeof MutationObserver!="function"||S.length<2)return;let C=new MutationObserver(E=>{if(!bot(E))return;let I=null;for(let M of S)if(M.isConnected){if(I&&mue(I,M)>0){C.disconnect(),g();return}I=M}});m.current=C;let k=new Set;for(let E=1;E<S.length;E+=1){let I=hot(S[E-1],S[E]);I&&k.add(I)}k.forEach(E=>C.observe(E,{childList:!0}))}let w=ve(()=>{let[S,C]=got(d),k=_(S),E=f.current,I=!E||E.length!==S.length||S.some((M,R)=>{let T=E[R];return M.index!==T.index||M.element!==T.element||M.registration.index!==T.registration.index||M.registration.metadata!==T.registration.metadata});y(C),f.current=S,u.current=!1,I&&(s.forEach(M=>M(k)),i(k))});me(()=>(!u.current&&f.current&&_(f.current),()=>{r.current=[],o&&(o.current=[])}),[r,o,_]),me(()=>{u.current&&w()}),me(()=>()=>{m.current?.disconnect(),u.current=!0},[]);let v=ve(S=>(s.add(S),()=>{s.delete(S)})),x=_g.useMemo(()=>({register:h,unregister:b,subscribeMapChange:v,nextIndexRef:c}),[h,b,v,c]);return(0,fue.jsx)(xq.Provider,{value:x,children:t})}function fot(){return new Map}function mot(){return new Set}function got(e){let t=new Set,r=[],o=[];e.forEach((i,a)=>{if(!a.isConnected)return;let s=i.index,d={index:s??-1,element:a,registration:i};s===null?o.push(d):s>=0&&(t.add(s),r.push(d))});let n=0;return o.sort((i,a)=>mue(i.element,a.element)),o.forEach(i=>{for(;t.has(n);)n+=1;i.index=n,r.push(i),n+=1}),t.size>0&&r.sort((i,a)=>i.index-a.index),[r,o.map(i=>i.element)]}function hot(e,t){let r=e.parentElement;for(;r&&!r.contains(t);)r=r.parentElement;return r}function bot(e){for(let t of e)for(let r=0;r<t.removedNodes.length;r+=1)if(t.removedNodes[r].isConnected)return!0;return!1}function mue(e,t){return e.nextElementSibling===t?-1:t.nextElementSibling===e?1:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}var T8=l(ee(),1);var R8=l(ee(),1);function u1(){let[,e]=R8.useState({});return R8.useCallback(()=>{e({})},[])}var gue=0;function vot(e,t="mui"){let r=T8.useRef(void 0),o=u1(),n=e??r.current;return T8.useEffect(()=>{r.current==null&&(gue+=1,r.current=`${t}-${gue}`,e==null&&o())},[e,t,o]),n}var hue=e5.useId;function pf(e,t){if(hue!==void 0){let r=hue();return e??(t?`${t}-${r}`:r)}return vot(e,t)}function Lt(e){return pf(e,"base-ui")}var I8=l(ee(),1);function Ne(e,t,r,o){let n=!1,i=!1,a=o??ft;return{reason:e,event:t??new Event("base-ui"),cancel(){n=!0},allowPropagation(){i=!0},get isCanceled(){return n},get isPropagationAllowed(){return i},trigger:r,...a}}function P8(e,t,r){let o=r??ft;return{reason:e,event:t??new Event("base-ui"),...o}}var pe={};or(pe,{cancelOpen:()=>qot,chipRemovePress:()=>Tot,clearPress:()=>Rot,closePress:()=>kot,closeWatcher:()=>Bot,decrementPress:()=>Oot,disabled:()=>Xot,drag:()=>Uot,escapeKey:()=>Vot,focusOut:()=>Fot,imperativeAction:()=>$ot,incrementPress:()=>Iot,initial:()=>Qot,inputBlur:()=>Not,inputChange:()=>Mot,inputClear:()=>Aot,inputPaste:()=>Lot,inputPress:()=>Dot,itemPress:()=>Cot,keyboard:()=>jot,linkPress:()=>Eot,listNavigation:()=>zot,missing:()=>Zot,none:()=>_ot,outsidePress:()=>Sot,pointer:()=>Hot,popupClose:()=>Yot,scrub:()=>Got,siblingOpen:()=>Kot,swipe:()=>Jot,trackPress:()=>Pot,triggerFocus:()=>xot,triggerHover:()=>yot,triggerPress:()=>wot,wheel:()=>Wot,windowResize:()=>ent});var _ot="none",wot="trigger-press",yot="trigger-hover",xot="trigger-focus",Sot="outside-press",Cot="item-press",kot="close-press",Eot="link-press",Rot="clear-press",Tot="chip-remove-press",Pot="track-press",Iot="increment-press",Oot="decrement-press",Mot="input-change",Aot="input-clear",Not="input-blur",Lot="input-paste",Dot="input-press",Fot="focus-out",Vot="escape-key",Bot="close-watcher",zot="list-navigation",jot="keyboard",Hot="pointer",Uot="drag",Wot="wheel",Got="scrub",Yot="popup-close",qot="cancel-open",Kot="sibling-open",Xot="disabled",Zot="missing",Qot="initial",$ot="imperative-action",Jot="swipe",ent="window-resize";function bue(e){let{open:t,defaultOpen:r=!1,onOpenChange:o,disabled:n}=e,[i,a]=Fi({controlled:t,default:r,name:"Collapsible",state:"open"}),{mounted:s,setMounted:d,transitionStatus:c}=An(i,!0,!0),u=Lt(),[f,m]=I8.useState(),g=f===null?void 0:f??u,h=ve(b=>{let _=!i,y=Ne(pe.triggerPress,b.nativeEvent);o(_,y),!y.isCanceled&&a(_)});return I8.useMemo(()=>({defaultPanelId:u,disabled:n,handleTrigger:h,mounted:s,open:i,panelId:g,setMounted:d,setOpen:a,setPanelIdState:m,transitionStatus:c}),[u,n,h,s,i,g,d,a,m,c])}var O8=l(ee(),1),Sq=O8.createContext(void 0);function M8(){let e=O8.useContext(Sq);if(e===void 0)throw new Error(Je(15));return e}var Gw=l(ee(),1);function bi(e={}){let{guess:t,label:r,metadata:o,textRef:n,index:i}=e,{register:a,unregister:s,subscribeMapChange:d,nextIndexRef:c}=E8(),u=Gw.useRef(-1),[f,m]=Gw.useState(i==null&&t?()=>{if(u.current===-1){let _=c.current;c.current+=1,u.current=_}return u.current}:-1),g=i??f,h=Gw.useRef(null),b=Gw.useCallback(_=>{let y=h.current;y&&s(y),h.current=_,_&&a(_,{metadata:o??null,index:i??null,label:r,textRef:n})},[i,a,s,o,r,n]);return me(()=>{if(i==null)return d(_=>{let y=h.current?_.get(h.current)?.index:null;y!=null&&m(y)})},[i,d]),{ref:b,index:g}}var vue="data-open",_ue="data-closed",o5=vg.startingStyle,pBt=vg.endingStyle;var wue="data-panel-open";var tnt={[vue]:""},rnt={[_ue]:""},xue={open(e){return e?{[wue]:""}:null}},Sue={open(e){return e?tnt:rnt}};var p1=l(ee(),1);function A8(){return typeof window<"u"}function Kn(e){return N8(e)?(e.nodeName||"").toLowerCase():"#document"}function Ht(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ff(e){var t;return(t=(N8(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function N8(e){return A8()?e instanceof Node||e instanceof Ht(e).Node:!1}function Vt(e){return A8()?e instanceof Element||e instanceof Ht(e).Element:!1}function vt(e){return A8()?e instanceof HTMLElement||e instanceof Ht(e).HTMLElement:!1}function Ed(e){return!A8()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ht(e).ShadowRoot}function qw(e){let{overflow:t,overflowX:r,overflowY:o,display:n}=Xn(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&n!=="inline"&&n!=="contents"}function Cue(e){return/^(table|td|th)$/.test(Kn(e))}function n5(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var ont=/transform|translate|scale|rotate|perspective|filter/,nnt=/paint|layout|strict|content/,Yw=e=>!!e&&e!=="none",kq;function L8(e){let t=Vt(e)?Xn(e):e;return Yw(t.transform)||Yw(t.translate)||Yw(t.scale)||Yw(t.rotate)||Yw(t.perspective)||!D8()&&(Yw(t.backdropFilter)||Yw(t.filter))||ont.test(t.willChange||"")||nnt.test(t.contain||"")}function kue(e){let t=ls(e);for(;vt(t)&&!Gs(t);){if(L8(t))return t;if(n5(t))return null;t=ls(t)}return null}function D8(){return kq==null&&(kq=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),kq}function Gs(e){return/^(html|body|#document)$/.test(Kn(e))}function Xn(e){return Ht(e).getComputedStyle(e)}function i5(e){return Vt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ls(e){if(Kn(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Ed(e)&&e.host||ff(e);return Ed(t)?t.host:t}function Eue(e){let t=ls(e);return Gs(t)?(e.ownerDocument||e).body:vt(t)&&qw(t)?t:Eue(t)}function Su(e,t,r){var o;t===void 0&&(t=[]),r===void 0&&(r=!0);let n=Eue(e),i=n===((o=e.ownerDocument)==null?void 0:o.body),a=Ht(n);if(i){let s=F8(a);return t.concat(a,a.visualViewport||[],qw(n)?n:[],s&&r?Su(s):[])}else return t.concat(n,Su(n,[],r))}function F8(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}var V8=l(ee(),1),Eq=V8.createContext(void 0);function hb(e=!1){let t=V8.useContext(Eq);if(t===void 0&&!e)throw new Error(Je(16));return t}var Rue=l(ee(),1);function Tue(e){let{focusableWhenDisabled:t,disabled:r,composite:o=!1,tabIndex:n=0,isNativeButton:i}=e,a=o&&t!==!1,s=o&&t===!1;return{props:Rue.useMemo(()=>{let c={onKeyDown(u){r&&t&&u.key!=="Tab"&&u.preventDefault()}};return o||(c.tabIndex=n,!i&&r&&(c.tabIndex=t?n:-1)),(i&&(t||a)||!i&&r)&&(c["aria-disabled"]=r),i&&(!t||s)&&(c.disabled=r),c},[o,r,t,a,s,i,n])}}function st(e){return e?.ownerDocument||document}function mf(e,t,{detail:r=0,pointerType:o=""}={}){e.dispatchEvent(new(Ht(e)).PointerEvent("click",{bubbles:!0,cancelable:!0,composed:!0,detail:r,pointerType:o,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,altKey:t.altKey,metaKey:t.metaKey}))}function Jr(e={}){let{disabled:t=!1,focusableWhenDisabled:r,tabIndex:o=0,native:n=!0,composite:i}=e,a=p1.useRef(null),s=hb(!0),d=i??s!==void 0,{props:c}=Tue({focusableWhenDisabled:r,disabled:t,composite:d,tabIndex:o,isNativeButton:n}),u=p1.useCallback(()=>{let g=a.current;Rq(g)&&d&&t&&c.disabled===void 0&&g.disabled&&(g.disabled=!1)},[t,c.disabled,d]);me(u,[u]);let f=p1.useCallback((g={})=>{let{onClick:h,onMouseDown:b,onKeyUp:_,onKeyDown:y,onPointerDown:w,...v}=g;return at({onClick(x){if(t){x.preventDefault();return}h?.(x)},onMouseDown(x){t||b?.(x)},onKeyDown(x){if(t||(JR(x),y?.(x),x.baseUIHandlerPrevented))return;let S=x.target===x.currentTarget,C=x.currentTarget,k=Rq(C),E=!n&&int(C),I=S&&(n?k:!E),M=x.key==="Enter",R=x.key===" ",T=C.getAttribute("role"),O=T?.startsWith("menuitem")||T==="option"||T==="gridcell";if(S&&d&&R){if(x.defaultPrevented&&O)return;x.preventDefault(),(!n||k)&&(x.preventBaseUIHandler(),mf(C,x));return}if(!I||n||!R&&!M){S&&E&&R&&x.preventDefault();return}x.defaultPrevented||(x.preventDefault(),M&&(x.preventBaseUIHandler(),mf(C,x)))},onKeyUp(x){if(!t){if(JR(x),_?.(x),x.target===x.currentTarget&&n&&d&&Rq(x.currentTarget)&&x.key===" "){x.preventDefault();return}x.baseUIHandlerPrevented||x.target===x.currentTarget&&!n&&!d&&!x.defaultPrevented&&x.key===" "&&(x.preventBaseUIHandler(),mf(x.currentTarget,x))}},onPointerDown(x){if(t){x.preventDefault();return}w?.(x)}},n?{type:"button"}:{role:"button"},c,v)},[t,c,d,n]),m=ve(g=>{a.current=g,u()});return{getButtonProps:f,buttonRef:m}}function Rq(e){return vt(e)&&e.tagName==="BUTTON"}function int(e){return vt(e)&&e.tagName==="A"&&!!e.href}var Ys=l(ee(),1);function Dt(e,t,r,o){return e.addEventListener(t,r,o),()=>{e.removeEventListener(t,r,o)}}function Er(e){let t=Ot(ant,e).current;return t.next=e,me(t.effect),t}function ant(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}var f1={height:void 0,width:void 0};function Iue(e){let{externalRef:t,hiddenUntilFound:r,id:o,keepMounted:n,mounted:i,onOpenChange:a,open:s,setMounted:d,setOpen:c,transitionStatus:u}=e,f=Ys.useRef(null),m=Ys.useRef(null),[g,h]=Ys.useState(f1),b=Ys.useRef(f1),_=Ys.useRef(!1),y=Ys.useRef(s),w=Ys.useRef(!1),[v,x]=Ys.useState(!1),S=Ys.useRef(null),C=Ro(t,f),k=Er(s),E=lc(f),I=!s&&!i,M=v?"idle":u,R=s&&(y.current||w.current),T=!s&&i&&m.current==="css-animation"&&g.height===void 0&&g.width===void 0?b.current:g,O=r&&I&&m.current!=="css-animation",A=ve((L,z=!0)=>{z&&(b.current=L),h(L)}),D=ve(()=>{S.current?.(),S.current=null}),V=ve(L=>{D(),S.current=()=>{S.current=null,L()}}),H=ve(()=>{s&&i&&m.current==="css-animation"&&(w.current=!0)});me(()=>{!v||u==="starting"||x(!1)},[v,u]),Ys.useEffect(()=>()=>{H(),D()},[H,D]),me(()=>{s||(y.current=!1,w.current=!1);let L=f.current;if(!L)return;!s&&S.current&&D();let z=snt(L,R);if(m.current=z,s&&u==="idle"&&y.current&&z==="css-animation"){b.current=m1(L);return}if(s&&u==="starting"){let Y=_.current;if(_.current=!1,z==="none"){A(m1(L)),x(!0);return}if(z==="css-transition"){let X=lnt(L);if(A(m1(L)),!Y)return X;let q=B8(L,"transition-duration","0s");return V(q),x(!0),X}A(m1(L));let W=B8(L,"animation-name","none");if(!Y){W();return}let Z=B8(L,"animation-duration","0s");W(),V(Z),x(!0);return}if(!s&&i&&(u==="idle"||u==="starting")){if(z==="none"){A(f1,!1),d(!1);return}A(m1(L));return}if(u!=="ending")return;if(z==="none"){d(!1);return}let j=m1(L);if(!(j.height>0||j.width>0)){d(!1);return}A(j),z==="css-animation"&&B8(L,"animation-name","none")()},[i,s,D,A,d,V,R,u]),mo({enabled:s&&i&&M==="idle",open:!0,ref:f,onComplete(){s&&A(f1,!1)}}),Ys.useEffect(()=>{if(s||!i||M!=="ending")return;if(!f.current){d(!1),A(f1,!1);return}let z=new AbortController,j=-1;function F(){k.current||(d(!1),A(f1,!1))}return j=Di.request(()=>{E(F,z.signal)}),()=>{Di.cancel(j),z.abort()}},[k,i,s,M,E,A,d]),me(()=>{let L=f.current;!L||!r||!I||L.setAttribute("hidden","until-found")},[I,r]),Ys.useEffect(function(){let z=f.current;if(!z)return;let j=Ma.create(),F=-1,Y=(X,q)=>{j.start(0,()=>{k.current||(F=Di.request(()=>{k.current||(X&&(_.current=!1),q&&z.setAttribute(o5,""),z.setAttribute("hidden","until-found"))}))})},Z=Dt(z,"beforematch",X=>{let q=Ne(pe.none,X);if(a(!0,q),q.isCanceled){Y(!1,!1);return}_.current=!0;let ce=z.hasAttribute(o5);z.removeAttribute(o5),c(!0),Y(!0,ce)});return()=>{j.clear(),Di.cancel(F),Z()}},[k,a,c]);let N=n||r||i||s;return{height:T.height,props:{...O?{[o5]:""}:void 0,hidden:I,id:o},ref:C,shouldPreventOpenAnimation:R,shouldRender:N,transitionStatus:M,width:T.width}}function m1(e){return{height:e.scrollHeight,width:e.scrollWidth}}function snt(e,t){let r=Ht(e).getComputedStyle(e),o=(r.animationName.split(",").map(i=>i.trim()).some(i=>i!==""&&i!=="none")||t)&&Pue(r.animationDuration),n=Pue(r.transitionDuration);return o&&n||n?"css-transition":o?"css-animation":"none"}function Pue(e){return e.split(",").map(t=>t.trim()).some(t=>t!==""&&Number.parseFloat(t)>0)}function B8(e,t,r){let o=e.style.getPropertyValue(t),n=e.style.getPropertyPriority(t);return e.style.setProperty(t,r),()=>{if(o===""){e.style.removeProperty(t);return}e.style.setProperty(t,o,n)}}function lnt(e){let t={"justify-content":e.style.justifyContent,"align-items":e.style.alignItems,"align-content":e.style.alignContent,"justify-items":e.style.justifyItems};Object.keys(t).forEach(n=>{e.style.setProperty(n,"initial","important")});function r(){Object.entries(t).forEach(([n,i])=>{if(i===""){e.style.removeProperty(n);return}e.style.setProperty(n,i)})}let o=Di.request(r);return()=>{Di.cancel(o),r()}}var $t={};or($t,{engine:()=>Mq,env:()=>Nq,mediaQuery:()=>Lq,os:()=>Iq,screenReader:()=>Aq});var Iq={};or(Iq,{android:()=>Aue,apple:()=>Pq,ios:()=>Tq,linux:()=>fnt,mac:()=>Nue,windows:()=>pnt});function dnt(){return typeof navigator>"u"?{userAgent:"",platform:"",maxTouchPoints:0}:{userAgent:navigator.userAgent,platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??0}}var{userAgent:cnt,platform:unt,maxTouchPoints:Oue}=dnt(),Kw=cnt.toLowerCase(),Xw=unt.toLowerCase();var Tq=/^i(os$|p)/.test(Xw)||Xw==="macintel"&&Oue>1,Mue="android",Aue=Xw===Mue||Kw.includes(Mue),Nue=!Tq&&Xw.startsWith("mac"),pnt=Xw.startsWith("win"),fnt=!Aue&&/^(linux|chrome os)/.test(Xw),Pq=Nue||Tq;var Mq={};or(Mq,{blink:()=>gnt,gecko:()=>mnt,webkit:()=>Oq});var Oq=typeof CSS<"u"&&!!CSS.supports?.("-webkit-backdrop-filter:none"),mnt=!Oq&&Kw.includes("firefox"),gnt=!Oq&&Kw.includes("chrom");var Aq={};or(Aq,{voiceOver:()=>hnt});var hnt=Pq;var Nq={};or(Nq,{jsdom:()=>bnt});var bnt=/jsdom|happydom/.test(Kw);var Lq={};or(Lq,{iOS:()=>vnt});var vnt="@supports (-webkit-touch-callout: none)";var Lue={},Due={},Fue="";function z8(e,t){return qw(e)?e:t}function Vue(e,t,r){return/hidden|clip/.test(e.getComputedStyle(z8(t,r)).overflowY)}function _nt(e){if(typeof document>"u")return!1;let t=st(e);return Ht(t).innerWidth-t.documentElement.clientWidth>0}function wnt(e){if(!(typeof CSS<"u"&&CSS.supports&&CSS.supports("scrollbar-gutter","stable"))||typeof document>"u")return!1;let r=st(e),o=r.documentElement,n=r.body,i=z8(o,n),a=i.style.overflowY,s=o.style.scrollbarGutter;o.style.scrollbarGutter="stable",i.style.overflowY="scroll";let d=i.offsetWidth;i.style.overflowY="hidden";let c=i.offsetWidth;return i.style.overflowY=a,o.style.scrollbarGutter=s,d===c}function ynt(e){let t=st(e),r=t.documentElement,o=t.body,n=z8(r,o),i={overflowY:n.style.overflowY,overflowX:n.style.overflowX};return Object.assign(n.style,{overflowY:"hidden",overflowX:"hidden"}),()=>{Object.assign(n.style,i)}}function xnt(e){let t=st(e),r=t.documentElement,o=t.body,n=Ht(r),i=0,a=0,s=!1,d=Di.create();if($t.engine.webkit&&(n.visualViewport?.scale??1)!==1)return()=>{};function c(){let g=n.getComputedStyle(r),h=n.getComputedStyle(o),y=(g.scrollbarGutter||"").includes("both-edges")?"stable both-edges":"stable";i=r.scrollTop,a=r.scrollLeft,Lue={scrollbarGutter:r.style.scrollbarGutter,overflowY:r.style.overflowY,overflowX:r.style.overflowX},Fue=r.style.scrollBehavior,Due={position:o.style.position,height:o.style.height,width:o.style.width,boxSizing:o.style.boxSizing,overflowY:o.style.overflowY,overflowX:o.style.overflowX,scrollBehavior:o.style.scrollBehavior};let w=r.scrollHeight>r.clientHeight,v=r.scrollWidth>r.clientWidth,x=g.overflowY==="scroll"||h.overflowY==="scroll",S=g.overflowX==="scroll"||h.overflowX==="scroll",C=Math.max(0,n.innerWidth-o.clientWidth),k=Math.max(0,n.innerHeight-o.clientHeight),E=parseFloat(h.marginTop)+parseFloat(h.marginBottom),I=parseFloat(h.marginLeft)+parseFloat(h.marginRight),M=z8(r,o);if(s=wnt(e),s){r.style.scrollbarGutter=y,M.style.overflowY="hidden",M.style.overflowX="hidden";return}Object.assign(r.style,{scrollbarGutter:y,overflowY:"hidden",overflowX:"hidden"}),(w||x)&&(r.style.overflowY="scroll"),(v||S)&&(r.style.overflowX="scroll"),Object.assign(o.style,{position:"relative",height:E||k?`calc(100dvh - ${E+k}px)`:"100dvh",width:I||C?`calc(100vw - ${I+C}px)`:"100vw",boxSizing:"border-box",overflowY:"hidden",overflowX:"hidden",scrollBehavior:"unset"}),o.scrollTop=i,o.scrollLeft=a,r.setAttribute("data-base-ui-scroll-locked",""),r.style.scrollBehavior="unset"}function u(){Object.assign(r.style,Lue),Object.assign(o.style,Due),s||(r.scrollTop=i,r.scrollLeft=a,r.removeAttribute("data-base-ui-scroll-locked"),r.style.scrollBehavior=Fue)}function f(){u(),d.request(c)}c();let m=Dt(n,"resize",f);return()=>{d.cancel(),u(),typeof n.removeEventListener=="function"&&m()}}var Dq=class{lockCount=0;restore=null;timeoutLock=Ma.create();timeoutUnlock=Ma.create();acquire(t){return this.lockCount+=1,this.lockCount===1&&this.restore===null&&this.timeoutLock.start(0,()=>this.lock(t)),this.release}release=()=>{this.lockCount-=1,this.lockCount===0&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{this.lockCount===0&&this.restore&&(this.restore?.(),this.restore=null)};lock(t){if(this.lockCount===0||this.restore!==null)return;let r=st(t),o=r.documentElement,n=r.body,i=Ht(o);if(Vue(i,o,n)){let s=new i.MutationObserver(()=>{Vue(i,o,n)||(s.disconnect(),this.restore=null,this.lock(t))}),d={attributes:!0};s.observe(o,d),s.observe(n,d),this.restore=()=>s.disconnect();return}let a=$t.os.ios||!_nt(t);this.restore=a?ynt(t):xnt(t)}},Snt=new Dq;function Bue(e=!0,t=null){me(()=>{if(e)return Snt.acquire(t)},[e,t])}var qs=l(ee(),1);function vr(e){e.preventDefault(),e.stopPropagation()}function zue(e){return"nativeEvent"in e}function gf(e){return e.pointerType===""&&e.isTrusted?!0:$t.os.android&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function hf(e){return $t.env.jsdom?!1:!$t.os.android&&e.width===0&&e.height===0||e.type==="pointerdown"&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"&&($t.os.android||e.buttons===0)||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0&&e.pointerType==="touch"}function Rd(e,t){let r=["mouse","pen"];return t||r.push("",void 0),r.includes(e)}function jue(e){let t=e.type;return t==="click"||t==="mousedown"||t==="keydown"||t==="keyup"}function Ar(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function Ge(e,t){if(!e||!t)return!1;let r=t.getRootNode?.();if(e.contains(t))return!0;if(r&&Ed(r)){let o=t;for(;o;){if(e===o)return!0;o=o.parentNode||o.host}}return!1}function ds(e,t){let r=e;for(;r;){if(Vt(r)&&r.matches(t))return r;r=r.assignedSlot??r.parentNode??(Ed(r)?r.host:null)}return null}function Bt(e){return"composedPath"in e?e.composedPath()[0]??e.target:e.target}var a5="data-base-ui-focusable";var Fq="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])",wg="ArrowLeft",yg="ArrowRight",s5="ArrowUp",g1="ArrowDown";var Hue="data-open",Uue="data-closed";var Wue="data-anchor-hidden";var bf={};or(bf,{popupOpen:()=>j8,pressed:()=>Vq});var j8="data-popup-open",Vq="data-pressed";var knt={[j8]:""},Ent={[j8]:"",[Vq]:""},Rnt={[Hue]:""},Tnt={[Uue]:""},Pnt={[Wue]:""},bb={open(e){return e?knt:null}},Zw={open(e){return e?Ent:null}},Aa={open(e){return e?Rnt:Tnt},anchorHidden(e){return e?Pnt:null}},vb={...Aa,...go};var bzt=bf.popupOpen,l5="data-trigger-disabled";function _b(e,t){if(!Vt(e))return!1;let r=e;if(t.hasElement(r))return!r.hasAttribute(l5);for(let[,o]of t.entries())if(Ge(o,r))return!o.hasAttribute(l5);return!1}function H8(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);let r=e;return r.target!=null&&t.contains(r.target)}function Gue(e){return e.matches("html,body")}function Cu(e){return vt(e)&&e.matches(Fq)}function d5(e){return ds(e,`button,a[href],[role="button"],select,[tabindex]:not([tabindex="-1"]),${Fq}`)!=null}function c5(e){return e?e.getAttribute("role")==="combobox"&&Cu(e):!1}function Yue(e){if(!e||$t.env.jsdom)return!0;try{return e.matches(":focus-visible")}catch{return!0}}function Qw(e){return e?e.hasAttribute(a5)?e:e.querySelector(`[${a5}]`)||e:null}function Int(e,t){return t!=null&&!Rd(t)?0:typeof e=="function"?e():e}function ku(e,t,r){let o=Int(e,r);return typeof o=="number"?o:o?.[t]}function zq(e){return typeof e=="function"?e():e}function U8(e,t){return t||e==="click"||e==="mousedown"}function que(e){return e?.includes("mouse")&&e!=="mousedown"}var Kue=l(P(),1),Xue=qs.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new Ma,currentIdRef:{current:null},currentContextRef:{current:null}});function Ont(e,t){e.current=t.current}function jq(e){let{children:t,delay:r,timeoutMs:o=0}=e,n=qs.useRef(r),i=qs.useRef(r),a=qs.useRef(null),s=qs.useRef(null),d=ur();return me(()=>{if(i.current=r,!a.current){n.current=r;return}n.current={open:ku(n.current,"open"),close:ku(r,"close")}},[r,a,n,i]),(0,Kue.jsx)(Xue.Provider,{value:qs.useMemo(()=>({hasProvider:!0,delayRef:n,initialDelayRef:i,currentIdRef:a,timeoutMs:o,currentContextRef:s,timeout:d}),[o,d]),children:t})}function Hq(e,t={open:!1}){let{open:r}=t,o=e.useState("floatingId"),n=qs.useContext(Xue),{currentIdRef:i,delayRef:a,timeoutMs:s,initialDelayRef:d,currentContextRef:c,hasProvider:u,timeout:f}=n,[m,g]=qs.useState(!1),h=qs.useRef(r);return me(()=>{h.current=r},[r]),me(()=>{function b(){c.current?.setIsInstantPhase(!1),i.current=null,c.current=null,a.current=d.current,f.clear()}if(i.current&&!r&&i.current===o){if(g(!1),s){let _=o;return f.start(s,()=>{e.select("open")||i.current&&i.current!==_||b()}),()=>{(h.current||i.current!==_)&&f.clear()}}b()}},[r,o,i,a,s,d,c,f,e]),me(()=>{if(!r)return;let b=c.current,_=i.current;f.clear(),c.current={onOpenChange:e.setOpen,setIsInstantPhase:g},i.current=o,a.current={open:0,close:ku(d.current,"close")},_!==null&&_!==o?(g(!0),b?.setIsInstantPhase(!0),b?.onOpenChange(!1,Ne(pe.none))):(g(!1),b?.setIsInstantPhase(!1))},[r,o,e,i,a,d,c,f]),me(()=>()=>{if(i.current===o){if(c.current=null,!h.current)return;i.current=null,Ont(a,d),f.clear()}},[c,i,a,o,d,f]),qs.useMemo(()=>({activeIdRef:i,hasProvider:u,delayRef:a,isInstantPhase:m}),[i,u,a,m])}var Da=l(ee(),1);function cs(...e){return()=>{for(let t=0;t<e.length;t+=1){let r=e[t];r&&r()}}}var W8=l(ee(),1);var Zue={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},vf={...Zue,position:"fixed",margin:0,top:0,left:0},wb={...Zue,position:"absolute"};var Que=l(P(),1),xg=W8.forwardRef(function(t,r){let[o,n]=W8.useState();return me(()=>{$t.screenReader.voiceOver&&$t.engine.webkit&&n("button")},[]),(0,Que.jsx)("span",{...t,ref:r,style:vf,"aria-hidden":o?void 0:!0,...{tabIndex:0,role:o},"data-base-ui-focus-guard":""})});var yb=Math.min,Eu=Math.max,xb=Math.round,Sg=Math.floor,_f=e=>({x:e,y:e}),Mnt={left:"right",right:"left",bottom:"top",top:"bottom"};function Y8(e,t,r){return Eu(e,yb(t,r))}function wf(e,t){return typeof e=="function"?e(t):e}function Na(e){return e.split("-")[0]}function Td(e){return e.split("-")[1]}function q8(e){return e==="x"?"y":"x"}function p5(e){return e==="y"?"height":"width"}function Dl(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function f5(e){return q8(Dl(e))}function epe(e,t,r){r===void 0&&(r=!1);let o=Td(e),n=f5(e),i=p5(n),a=n==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=u5(a)),[a,u5(a)]}function tpe(e){let t=u5(e);return[G8(e),t,G8(t)]}function G8(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}var $ue=["left","right"],Jue=["right","left"],Ant=["top","bottom"],Nnt=["bottom","top"];function Lnt(e,t,r){switch(e){case"top":case"bottom":return r?t?Jue:$ue:t?$ue:Jue;case"left":case"right":return t?Ant:Nnt;default:return[]}}function rpe(e,t,r,o){let n=Td(e),i=Lnt(Na(e),r==="start",o);return n&&(i=i.map(a=>a+"-"+n),t&&(i=i.concat(i.map(G8)))),i}function u5(e){let t=Na(e);return Mnt[t]+e.slice(t.length)}function Dnt(e){var t,r,o,n;return{top:(t=e.top)!=null?t:0,right:(r=e.right)!=null?r:0,bottom:(o=e.bottom)!=null?o:0,left:(n=e.left)!=null?n:0}}function K8(e){return typeof e!="number"?Dnt(e):{top:e,right:e,bottom:e,left:e}}function Cg(e){let{x:t,y:r,width:o,height:n}=e;return{width:o,height:n,top:r,left:t,right:t+o,bottom:r+n,x:t,y:r}}function X8(e,t,r){return Math.floor(e/t)!==r}function Pd(e,t){return t<0||t>=e.length}function Tu(e,t){return La(e.current,{disabledIndices:t})}function yf(e,t){return La(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function Z8(e,t,r){let{decrement:o,loopFocus:n,allowEscape:i,disabledIndices:a,minIndex:s,maxIndex:d}=r,c=()=>La(e,{startingIndex:t,decrement:o,disabledIndices:a}),u,f=!1;if(!n)u=o?Math.max(s,c()):Math.min(d,c());else if(o?t<=s:t>=d){let m=o?-1:e.length;i&&t!==m?u=-1:(u=o?d:s,f=!0)}else u=c();return{index:Pd(e,u)?-1:u,wrapped:f}}function La(e,{startingIndex:t=-1,decrement:r=!1,disabledIndices:o,amount:n=1}={}){let i=t;do i+=r?-n:n;while(i>=0&&i<=e.length-1&&Ru(e,i,o));return i}function ope(e,{event:t,orientation:r,loopFocus:o,onLoop:n,rtl:i,cols:a,disabledIndices:s,minIndex:d,maxIndex:c,prevIndex:u,stopEvent:f=!1}){let m=u,g;if(t.key===s5?g="up":t.key===g1&&(g="down"),g){let h=[],b=[],_=!1,y=0;{let I=null,M=-1;e.forEach((R,T)=>{if(R==null)return;y+=1;let O=ds(R,'[role="row"]');O&&(_=!0),(O!==I||M===-1)&&(I=O,M+=1,h[M]=[]),h[M].push(T),b[T]=M})}let w=!1,v=0;if(_)for(let I of h){let M=I.length;M>v&&(v=M),M!==a&&(w=!0)}let x=w&&y<e.length,S=v||a,C=I=>{if(!w||u===-1)return;let M=b[u];if(M==null)return;let R=h[M].indexOf(u),T=I==="up"?-1:1;for(let O=M+T,A=0;A<h.length;A+=1,O+=T){if(O<0||O>=h.length){if(!o||x)return;if(O=O<0?h.length-1:0,n){let V=Math.min(R,h[O].length-1),H=h[O][V]??h[O][0],N=n(t,u,H);O=b[N]??O}}let D=h[O];for(let V=Math.min(R,D.length-1);V>=0;V-=1){let H=D[V];if(!Ru(e,H,s))return H}}},k=I=>{if(!x||u===-1)return;let M=u%S,R=I==="up"?-S:S,T=c-c%S,O=Sg(c/S)+1;for(let A=u-M+R,D=0;D<O;D+=1,A+=R){if(A<0||A>c){if(!o)return;A=A<0?T:0}let V=Math.min(A+S-1,c);for(let H=Math.min(A+M,V);H>=A;H-=1)if(!Ru(e,H,s))return H}};f&&vr(t);let E=C(g)??k(g);if(E!==void 0)m=E;else if(u===-1)m=g==="up"?c:d;else if(m=La(e,{startingIndex:u,amount:S,decrement:g==="up",disabledIndices:s}),o){if(g==="up"&&(u-S<d||m<0)){let I=u%S,M=c%S,R=c-(M-I);M===I?m=c:m=M>I?R:R-S,n&&(m=n(t,u,m))}g==="down"&&u+S>c&&(m=La(e,{startingIndex:u%S-S,amount:S,disabledIndices:s}),n&&(m=n(t,u,m)))}Pd(e,m)&&(m=u)}if(r==="both"){let h=Sg(u/a);t.key===(i?wg:yg)&&(f&&vr(t),u%a!==a-1?(m=La(e,{startingIndex:u,disabledIndices:s}),o&&X8(m,a,h)&&(m=La(e,{startingIndex:u-u%a-1,disabledIndices:s}),n&&(m=n(t,u,m)))):o&&(m=La(e,{startingIndex:u-u%a-1,disabledIndices:s}),n&&(m=n(t,u,m))),X8(m,a,h)&&(m=u)),t.key===(i?yg:wg)&&(f&&vr(t),u%a!==0?(m=La(e,{startingIndex:u,decrement:!0,disabledIndices:s}),o&&X8(m,a,h)&&(m=La(e,{startingIndex:u+(a-u%a),decrement:!0,disabledIndices:s}),n&&(m=n(t,u,m)))):o&&(m=La(e,{startingIndex:u+(a-u%a),decrement:!0,disabledIndices:s}),n&&(m=n(t,u,m))),X8(m,a,h)&&(m=u));let b=Sg(c/a)===h;Pd(e,m)&&(o&&b?(m=t.key===(i?yg:wg)?c:La(e,{startingIndex:u-u%a-1,disabledIndices:s}),n&&(m=n(t,u,m))):m=u)}return m}function Ru(e,t,r){if(typeof r=="function"?r(t):r?.includes(t)??!1)return!0;let n=e[t];return n?!$w(n)||n.matches(":disabled")?!0:!r&&(n.hasAttribute("disabled")||n.getAttribute("aria-disabled")==="true"):!1}function Fnt(e){return e.visibility==="hidden"||e.visibility==="collapse"}function $w(e,t=e?Xn(e):null){return!e||!e.isConnected||!t||Fnt(t)?!1:typeof e.checkVisibility=="function"?e.checkVisibility():t.display!=="none"&&t.display!=="contents"}var Vnt='a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]';function Bnt(e){let t=e.assignedSlot;if(t)return t;if(e.parentElement)return e.parentElement;let r=e.getRootNode();return Ed(r)?r.host:null}function Wq(e){for(let t of Array.from(e.children))if(Kn(t)==="summary")return t;return null}function znt(e,t){let r=Wq(t);return!!r&&(e===r||Ge(r,e))}function npe(e){let t=e?Kn(e):"";return e!=null&&e.matches(Vnt)&&(t!=="summary"||e.parentElement!=null&&Kn(e.parentElement)==="details"&&Wq(e.parentElement)===e)&&(t!=="details"||Wq(e)==null)&&(t!=="input"||e.type!=="hidden")}function Gq(e){if(!npe(e)||!e.isConnected||e.matches(":disabled"))return!1;for(let t=e;t;t=Bnt(t)){let r=t!==e,o=Kn(t)==="slot";if(t.hasAttribute("inert")||r&&Kn(t)==="details"&&!t.open&&!znt(e,t)||t.hasAttribute("hidden")||!o&&!jnt(t,r))return!1}return!0}function jnt(e,t){let r=Xn(e);return t?r.display!=="none":$w(e,r)}function ipe(e){let t=e.tabIndex;if(t<0){let r=Kn(e);if(r==="details"||r==="audio"||r==="video"||vt(e)&&e.isContentEditable)return 0}return t}function Uq(e){if(Kn(e)!=="input")return null;let t=e;return t.type==="radio"&&t.name!==""?t:null}function ape(e,t){let r=Uq(e);if(!r)return!0;let o=t.find(n=>{let i=Uq(n);return i?.name===r.name&&i.form===r.form&&i.checked});return o?o===r:t.find(n=>{let i=Uq(n);return i?.name===r.name&&i.form===r.form})===r}function spe(e){if(vt(e)&&Kn(e)==="slot"){let t=e.assignedElements({flatten:!0});if(t.length>0)return t}return vt(e)&&e.shadowRoot?Array.from(e.shadowRoot.children):Array.from(e.children)}function Yq(e,t){spe(e).forEach(r=>{npe(r)&&t.push(r),Yq(r,t)})}function lpe(e,t,r){spe(e).forEach(o=>{vt(o)&&o.matches(t)&&r.push(o),lpe(o,t,r)})}function m5(e){return Gq(e)&&ipe(e)>=0}function qq(e){let t=[];return Yq(e,t),t.filter(Gq)}function g5(e){let t=qq(e);return t.filter(r=>ipe(r)>=0&&ape(r,t))}function dpe(e,t){let r=g5(e),o=r.length;if(o===0)return;let n=Ar(st(e)),i=r.indexOf(n),a=i===-1?t===1?0:o-1:i+t;return r[a]}function Q8(e){return dpe(st(e).body,1)||e}function $8(e){return dpe(st(e).body,-1)||e}function cpe(e,t,r){if(!e)return null;let o=[];Yq(st(e).body,o);let n=o.indexOf(e);if(n===-1)return null;let i=o.filter(Gq);for(let a=1;a<o.length;a+=1){let s=o[(n+t*a+o.length)%o.length];if(!Ge(r,s)&&m5(s)&&ape(s,i))return s}return o[n]}function kg(e,t){let r=t||e.currentTarget,o=e.relatedTarget;return!o||!Ge(r,o)}function upe(e){g5(e).forEach(r=>{r.dataset.tabindex=r.getAttribute("tabindex")||"",r.setAttribute("tabindex","-1")})}function Kq(e){let t=[];lpe(e,"[data-tabindex]",t),t.forEach(r=>{let o=r.dataset.tabindex;delete r.dataset.tabindex,o?r.setAttribute("tabindex",o):r.removeAttribute("tabindex")})}function cc(e,t,r=!0){return e.filter(n=>n.parentId===t).flatMap(n=>[...!r||n.context?.open?[n]:[],...cc(e,n.id,r)])}function Xq(e,t){let r=[],o=e.find(n=>n.id===t)?.parentId;for(;o;){let n=e.find(i=>i.id===o);o=n?.parentId,n&&(r=r.concat(n))}return r}function xf(e){return`data-base-ui-${e}`}var J8=0;function h1(e,t={}){let{preventScroll:r=!1,sync:o=!1,shouldFocus:n}=t;cancelAnimationFrame(J8);function i(){n&&!n()||e?.focus({preventScroll:r})}if(o)return i(),Ct;let a=requestAnimationFrame(i);return J8=a,()=>{J8===a&&(cancelAnimationFrame(a),J8=0)}}var ppe="data-base-ui-inert",h5=new WeakMap,e9=new WeakSet,b5=new WeakMap,Zq=0;function hpe(e){return e?Ed(e)?e.host:hpe(e.parentNode):null}var fpe=(e,t)=>t.map(r=>{if(e.contains(r))return r;let o=hpe(r);return e.contains(o)?o:null}).filter(r=>r!=null),mpe=e=>{let t=new Set;return e.forEach(r=>{let o=r;for(;o&&!t.has(o);)t.add(o),o=o.parentNode}),t},gpe=(e,t,r)=>{let o=[],n=i=>{!i||r.has(i)||Array.from(i.children).forEach(a=>{Kn(a)!=="script"&&(t.has(a)?n(a):o.push(a))})};return n(e),o};function Hnt(e,t,r,{mark:o=!0}){let n=fpe(t,e),i=o?gpe(t,mpe(n),new Set(n)):[],a=[],s=[];if(r){let d=fpe(t,Array.from(t.querySelectorAll("[aria-live]"))),c=n.concat(d);gpe(t,mpe(c),new Set(c)).forEach(f=>{let m=f.getAttribute("aria-hidden"),g=m!==null&&m!=="false",h=(h5.get(f)||0)+1;h5.set(f,h),a.push(f),h===1&&g&&e9.add(f),g||f.setAttribute("aria-hidden","true")})}return o&&i.forEach(d=>{let c=(b5.get(d)||0)+1;b5.set(d,c),s.push(d),c===1&&d.setAttribute(ppe,"")}),Zq+=1,()=>{a.forEach(d=>{let c=(h5.get(d)||0)-1;h5.set(d,c),c||(e9.has(d)||d.removeAttribute("aria-hidden"),e9.delete(d))}),o&&s.forEach(d=>{let c=(b5.get(d)||0)-1;b5.set(d,c),c||d.removeAttribute(ppe)}),Zq-=1,Zq||(h5=new WeakMap,e9=new WeakSet,b5=new WeakMap)}}function Qq(e,t={}){let{ariaHidden:r=!1,mark:o=!0}=t,n=st(e[0]).body;return Hnt(e,n,r,{mark:o})}var jo=l(ee(),1),$q=l(sc(),1);var bpe={style:{transition:"none"}},vpe="data-base-ui-click-trigger",Unt="data-base-ui-swipe-ignore",Wnt="data-swipe-ignore",ojt=`[${Unt}]`,njt=`[${Wnt}]`,b1={fallbackAxisSide:"none"},t9={fallbackAxisSide:"end"},_pe={clipPath:"inset(50%)",position:"fixed",top:0,left:0};var Jw=l(P(),1),wpe=jo.createContext(null),Jq=()=>jo.useContext(wpe),Gnt=xf("portal");function r9(e={}){let{ref:t,container:r,componentProps:o=ft,elementProps:n}=e,i=pf(),s=Jq()?.portalNode,[d,c]=jo.useState(null),[u,f]=jo.useState(null),m=ve(_=>{_!==null&&f(_)}),g=jo.useRef(null);me(()=>{if(r===null){g.current&&(g.current=null,f(null),c(null));return}let _=(r&&(N8(r)?r:r.current))??s??document.body;if(_==null){g.current&&(g.current=null,f(null),c(null));return}g.current!==_&&(g.current=_,f(null),c(_))},[r,s]);let h=Ce("div",o,{ref:[t,m],props:[{id:i,[Gnt]:""},n]}),b=d&&h?$q.createPortal(h,d):null;return{node:u,nodeId:jo.isValidElement(h)?h.props.id:void 0,subtree:b}}var ey=jo.forwardRef(function(t,r){let{render:o,className:n,style:i,children:a,container:s,portalOwnerRole:d,...c}=t,{node:u,nodeId:f,subtree:m}=r9({container:s,ref:r,componentProps:t,elementProps:c}),g=jo.useRef(null),h=jo.useRef(null),b=jo.useRef(null),_=jo.useRef(null),[y,w]=jo.useState(null),v=jo.useRef(!1),x=y?.modal,S=y?.open,C=!!y&&!y.modal&&y.open&&!!u;jo.useEffect(()=>{if(!u||x)return;function E(I){u&&I.relatedTarget&&kg(I)&&(I.type==="focusin"?v.current&&(Kq(u),v.current=!1):(upe(u),v.current=!0))}return cs(Dt(u,"focusin",E,!0),Dt(u,"focusout",E,!0))},[u,x]),me(()=>{!u||S!==!0||!v.current||(Kq(u),v.current=!1)},[S,u]);let k=jo.useMemo(()=>({beforeOutsideRef:g,afterOutsideRef:h,beforeInsideRef:b,afterInsideRef:_,portalNode:u,setFocusManagerState:w}),[u]);return(0,Jw.jsxs)(jo.Fragment,{children:[m,(0,Jw.jsxs)(wpe.Provider,{value:k,children:[C&&u&&(0,Jw.jsx)(xg,{"data-type":"outside",ref:g,onFocus:E=>{if(kg(E,u))b.current?.focus();else{let I=y?y.domReference:null;$8(I)?.focus()}}}),C&&u&&(0,Jw.jsx)("span",{role:d,"aria-owns":f,style:_pe}),u&&$q.createPortal(a,u),C&&u&&(0,Jw.jsx)(xg,{"data-type":"outside",ref:h,onFocus:E=>{if(kg(E,u))_.current?.focus();else{let I=y?y.domReference:null;Q8(I)?.focus(),y?.closeOnFocusOut&&y?.onOpenChange(!1,Ne(pe.focusOut,E.nativeEvent))}}})]})]})});var Cb=l(ee(),1);function o9(){let e=new Map;return{emit(t,r){e.get(t)?.forEach(o=>o(r))},on(t,r){e.has(t)||e.set(t,new Set),e.get(t).add(r)},off(t,r){e.get(t)?.delete(r)}}}var Sb=class{nodesRef={current:[]};events=o9();addNode(t){this.nodesRef.current.push(t)}removeNode(t){let r=this.nodesRef.current.findIndex(o=>o===t);r!==-1&&this.nodesRef.current.splice(r,1)}};var eK=l(P(),1),ype=Cb.createContext(null),xpe=Cb.createContext(null),Ks=()=>Cb.useContext(ype)?.id||null,us=e=>{let t=Cb.useContext(xpe);return e??t};function v5(e){let t=pf(),r=us(e),o=Ks();return me(()=>{if(!t)return;let n={id:t,parentId:o};return r?.addNode(n),()=>{r?.removeNode(n)}},[r,t,o]),t}function tK(e){let{children:t,id:r}=e,o=Ks();return(0,eK.jsx)(ype.Provider,{value:Cb.useMemo(()=>({id:r,parentId:o}),[r,o]),children:t})}function rK(e){let{children:t,externalTree:r}=e,o=Ot(()=>r??new Sb).current;return(0,eK.jsx)(xpe.Provider,{value:o,children:t})}var _5=l(P(),1);function Ynt(e,t){let r=Ht(Bt(e));return e instanceof r.KeyboardEvent?"keyboard":e instanceof r.FocusEvent?t||"keyboard":"pointerType"in e?e.pointerType||(gf(e)?"keyboard":t||"mouse"):"touches"in e?"touch":e instanceof r.MouseEvent?t||(e.detail===0?"keyboard":"mouse"):""}var Spe=20,kb=[];function oK(){kb=kb.filter(e=>e.deref()?.isConnected)}function Cpe(e){oK(),e&&Kn(e)!=="body"&&(kb.push(new WeakRef(e)),kb.length>Spe&&(kb=kb.slice(-Spe)))}function kpe(){return oK(),kb[kb.length-1]?.deref()}function qnt(e){return e?m5(e)?e:g5(e)[0]||e:null}function Epe(e){if(e.hasAttribute("tabindex")&&!e.hasAttribute("data-tabindex")||!e.getAttribute("role")?.includes("dialog"))return;let r=qq(e).filter(n=>{let i=n.getAttribute("data-tabindex")||"";return m5(n)||n.hasAttribute("data-tabindex")&&!i.startsWith("-")}),o=e.getAttribute("tabindex");r.length===0?o!=="0"&&(e.setAttribute("tabindex","0"),e.setAttribute("data-tabindex","0")):(o!=="-1"||e.hasAttribute("data-tabindex")&&e.getAttribute("data-tabindex")!=="-1")&&(e.setAttribute("tabindex","-1"),e.setAttribute("data-tabindex","-1"))}function ty(e){let{context:t,children:r,disabled:o=!1,initialFocus:n=!0,returnFocus:i=!0,explicitReturnFocus:a,restoreFocus:s=!1,modal:d=!0,closeOnFocusOut:c=!0,openInteractionType:u="",nextFocusableElement:f,previousFocusableElement:m,beforeContentFocusGuardRef:g,externalTree:h,getInsideElements:b}=e,_=t.useState("open"),y=t.useState("domReferenceElement"),w=t.useState("floatingElement"),{events:v,dataRef:x}=t.context,S=ve(()=>x.current.floatingContext?.nodeId),C=n===!1,k=c5(y)&&C,E=Er(n),I=Er(i),M=Er(a),R=Er(u),T=Er(_),O=us(h),A=Jq(),D=Da.useRef(!1),V=Da.useRef(!1),H=Da.useRef(!1),N=Da.useRef(null),L=Da.useRef(""),z=Da.useRef(""),j=Da.useRef(null),F=Da.useRef(null),Y=Ro(j,g,A?.beforeInsideRef),W=Ro(F,A?.afterInsideRef),Z=ur(),X=ur(),q=Ws(),ce=A!=null,de=Qw(w),he=ve((te=de)=>te?g5(te):[]),ge=ve(()=>b?.().filter(te=>te!=null)??[]);Da.useEffect(()=>{if(o||!d)return;function te(ue){ue.key==="Tab"&&Ge(de,Ar(st(de)))&&he().length===0&&!k&&vr(ue)}let ae=st(de);return Dt(ae,"keydown",te)},[o,de,d,k,he]),Da.useEffect(()=>{if(o||!_)return;let te=st(de);function ae(){H.current=!1}function ue(_e){let xe=Bt(_e),ke=ge(),ne=Ge(w,xe)||Ge(y,xe)||Ge(A?.portalNode,xe)||ke.some(Re=>Re===xe||Ge(Re,xe));H.current=!ne,z.current=_e.pointerType||"keyboard",ds(xe,`[${vpe}]`)&&(V.current=!0,X.start(0,()=>{V.current=!1}))}function re(){z.current="keyboard"}return cs(Dt(te,"pointerdown",ue,!0),Dt(te,"pointerup",ae,!0),Dt(te,"pointercancel",ae,!0),Dt(te,"keydown",re,!0),ae)},[o,w,y,de,_,A,X,ge]),Da.useEffect(()=>{if(o||!c)return;let te=st(de);function ae(){V.current=!0,X.start(0,()=>{V.current=!1})}function ue(ke){let ne=Bt(ke);m5(ne)&&(N.current=ne)}function re(ke){let ne=ke.relatedTarget,Re=ke.currentTarget,Ae=Bt(ke);d&&ne==null&&Ae!=null&&Ge(w,Ae)&&Cpe(Ae),queueMicrotask(()=>{let Oe=S(),ie=t.context.triggerElements,be=ge(),Fe=ne?.hasAttribute(xf("focus-guard"))&&[j.current,F.current,A?.beforeInsideRef.current,A?.afterInsideRef.current,A?.beforeOutsideRef.current,A?.afterOutsideRef.current,xu(m),xu(f)].includes(ne),Le=!(Ge(y,ne)||Ge(w,ne)||Ge(ne,w)||Ge(A?.portalNode,ne)||be.some(Ve=>Ve===ne||Ge(Ve,ne))||ie.hasMatchingElement(Ve=>Ge(Ve,ne))||Fe||O&&(cc(O.nodesRef.current,Oe).find(Ve=>Ge(Ve.context?.elements.floating,ne)||Ge(Ve.context?.elements.domReference,ne))||Xq(O.nodesRef.current,Oe).find(Ve=>[Ve.context?.elements.floating,Qw(Ve.context?.elements.floating)].includes(ne)||Ve.context?.elements.domReference===ne)));if(Re===y&&de&&Epe(de),s&&Re!==y&&!$w(Ae)&&Ar(te)===te.body){if(vt(de)&&(de.focus(),s==="popup")){q.request(()=>{de.focus()});return}let Ve=he(),it=N.current,dt=(it&&Ve.includes(it)?it:null)||Ve[Ve.length-1]||de;vt(dt)&&dt.focus()}if(x.current.insideReactTree){x.current.insideReactTree=!1;return}(k||!d)&&ne&&Le&&!V.current&&(k||ne!==kpe())&&(D.current=!0,t.setOpen(!1,Ne(pe.focusOut,ke)))})}function _e(){H.current||(x.current.insideReactTree=!0,Z.start(0,()=>{x.current.insideReactTree=!1}))}let xe=vt(y)?y:null;if(!(!w&&!xe))return cs(xe&&Dt(xe,"focusout",re),xe&&Dt(xe,"pointerdown",ae),w&&Dt(w,"focusin",ue),w&&Dt(w,"focusout",re),w&&A&&Dt(w,"focusout",_e,!0))},[o,y,w,de,d,O,A,t,c,s,he,k,S,x,Z,X,q,f,m,ge]),Da.useEffect(()=>{if(o||!w||!_)return;let te=Array.from(A?.portalNode?.querySelectorAll(`[${xf("portal")}]`)||[]),ue=(O?Xq(O.nodesRef.current,S()):[]).find(Re=>c5(Re.context?.elements.domReference||null))?.context?.elements.domReference,_e=[...[w,...te,j.current,F.current,A?.beforeOutsideRef.current,A?.afterOutsideRef.current,...ge()],ue,xu(m),xu(f),k?y:null].filter(Re=>Re!=null),xe=Qq(_e,{ariaHidden:d||k,mark:!1}),ke=[w,...te].filter(Re=>Re!=null),ne=Qq(ke);return()=>{ne(),xe()}},[_,o,y,w,d,A,k,O,S,f,m,ge]),me(()=>{if(!_||o||!vt(de))return;L.current="",z.current="";let te=st(de),ae=Ar(te);queueMicrotask(()=>{let ue=E.current,re=typeof ue=="function"?ue(R.current||""):ue;if(re===void 0||re===!1||Ge(de,ae))return;let xe=null,ke=()=>(xe==null&&(xe=he(de)),xe[0]||de),ne;re===!0||re===null?ne=ke():ne=xu(re),ne=ne||ke();let Re=Ge(de,Ar(te)),Ae=x.current.openEvent,Oe=Ae?.type==="mousedown"&&gf(Ae);h1(ne,{sync:Oe,preventScroll:ne===de,shouldFocus(){if(!T.current)return!1;if(Re)return!0;let ie=Ar(te);return!(ie!==ne&&Ge(de,ie))}})})},[o,_,de,he,E,R,T,x]);let ye=Da.useRef(null);me(()=>{if(o||!de){ye.current=null;return}ye.current&&(ye.current.cancelled=!0,ye.current=null);let te=st(de),ae=Ar(te),ue=R.current==null;Cpe(ae);function re(xe){if(xe.open||(L.current=Ynt(xe.nativeEvent,z.current)),(xe.reason===pe.focusOut&&xe.triggerElement?.hasAttribute(xf("focus-guard"))||xe.reason===pe.triggerHover&&xe.nativeEvent.type==="mouseleave")&&(D.current=!0),xe.reason===pe.outsidePress)if(xe.nested)D.current=!1;else if(gf(xe.nativeEvent)||hf(xe.nativeEvent))D.current=!1;else{let ke=!1;st(de).createElement("div").focus({get preventScroll(){return ke=!0,!1}}),ke?D.current=!1:D.current=!0}}v.on("openchange",re);function _e(xe){let ke=I.current,ne=typeof ke=="function"?ke(xe):ke;if(ne===void 0||ne===!1)return null;ne===null&&(ne=!0);let Re=y?.isConnected?y:null,Ae=ae?.isConnected&&Kn(ae)!=="body"?ae:null,Oe=ue?Ae||Re:Re||Ae;return Oe||(Oe=kpe()||null),typeof ne=="boolean"?Oe:xu(ne)||Oe||null}return()=>{v.off("openchange",re);let xe=Ar(te),ke=ge(),ne=Ge(w,xe)||ke.some(be=>be===xe||Ge(be,xe))||O&&cc(O.nodesRef.current,S(),!1).some(be=>Ge(be.context?.elements.floating,xe)),Re=I.current,Ae=L.current,Oe=_e(Ae),ie={cancelled:!1};ye.current=ie,queueMicrotask(()=>{ye.current===ie&&(ye.current=null);let be=qnt(Oe),Fe=M.current??typeof Re!="boolean";if(!ie.cancelled&&Re&&!D.current&&vt(be)&&(!(!Fe&&be!==xe&&xe!==te.body)||ne)){let Le={preventScroll:!0};Ae==="keyboard"&&(Le.focusVisible=!0),be.focus(Le)}D.current=!1})}},[o,w,de,I,M,R,v,O,y,S,ge]),me(()=>{if(!$t.engine.webkit||_||!w)return;let te=Ar(st(w));!vt(te)||!Cu(te)||Ge(w,te)&&te.blur()},[_,w]),me(()=>{if(!(o||!A))return A.setFocusManagerState({modal:d,closeOnFocusOut:c,open:_,onOpenChange:t.setOpen,domReference:y}),()=>{A.setFocusManagerState(null)}},[o,A,d,_,t,c,y]),me(()=>{if(!(o||!de))return Epe(de),()=>{queueMicrotask(oK)}},[o,de]);let Te=!o&&(d?!k:!0)&&(ce||d);return(0,_5.jsxs)(Da.Fragment,{children:[Te&&(0,_5.jsx)(xg,{"data-type":"inside",ref:Y,onFocus:te=>{if(d){let ae=he();h1(ae[ae.length-1])}else A?.portalNode&&(D.current=!1,kg(te,A.portalNode)?Q8(y)?.focus():xu(m??A.beforeOutsideRef)?.focus())}}),r,Te&&(0,_5.jsx)(xg,{"data-type":"inside",ref:W,onFocus:te=>{d?h1(he()[0]):A?.portalNode&&(c&&(D.current=!0),kg(te,A.portalNode)?$8(y)?.focus():xu(f??A.afterOutsideRef)?.focus())}})]})}var w5=l(ee(),1);function Pu(e,t={}){let{enabled:r=!0,event:o="click",toggle:n=!0,ignoreMouse:i=!1,stickIfOpen:a=!0,touchOpenDelay:s=0,reason:d=pe.triggerPress}=t,c=e.context.dataRef,u=w5.useRef(void 0),f=Ws(),m=ur(),g=w5.useMemo(()=>{function h(_,y,w,v){let x=Ne(d,y,w);_&&v==="touch"&&s>0?m.start(s,()=>{e.setOpen(!0,x)}):e.setOpen(_,x)}function b(_,y,w){let v=c.current.openEvent,x=e.select("domReferenceElement")!==y;return _&&x||!_||!n?!0:v&&(typeof a=="function"?a():a)?!w(v.type):!1}return{onPointerDown(_){u.current=Rd(_.pointerType,!0)&&hf(_.nativeEvent)?"virtual":_.pointerType},onMouseDown(_){let y=u.current,w=_.nativeEvent,v=e.select("open");if(_.button!==0||o==="click"||Rd(y,!0)&&i)return;let x=b(v,_.currentTarget,E=>E==="click"||E==="mousedown"),S=Bt(w),C=Cu(S);if(C||y==="virtual"){h(x,w,C?S:_.currentTarget,y);return}let k=_.currentTarget;f.request(()=>{h(x,w,k,y)})},onClick(_){if(o==="mousedown-only")return;let y=u.current;if(o==="mousedown"&&y){u.current=void 0;return}if(Rd(y,!0)&&i)return;let w=e.select("open"),v=b(w,_.currentTarget,x=>x==="click"||x==="mousedown"||x==="keydown"||x==="keyup");h(v,_.nativeEvent,_.currentTarget,y)},onKeyDown(){u.current=void 0}}},[c,o,i,d,e,a,n,f,m,s]);return w5.useMemo(()=>r?{reference:g}:ft,[r,g])}var Fl=l(ee(),1);function Knt(e,t){let r=null,o=null,n=!1;return{contextElement:e||void 0,getBoundingClientRect(){let i=e?.getBoundingClientRect()||{width:0,height:0,x:0,y:0},a=t.axis==="x"||t.axis==="both",s=t.axis==="y"||t.axis==="both",d=["mouseenter","mousemove"].includes(t.dataRef.current.openEvent?.type||"")&&t.pointerType!=="touch",c=t.axis==="y"?i.width:0,u=t.axis==="x"?i.height:0,f=i.x,m=i.y;return r==null&&t.x&&a&&(r=i.x-t.x),o==null&&t.y&&s&&(o=i.y-t.y),f-=r||0,m-=o||0,(!n||d)&&(f=a&&t.x!=null?t.x:f,m=s&&t.y!=null?t.y:m),n=!0,{width:c,height:u,x:f,y:m,top:m,right:f+c,bottom:m+u,left:f}}}}function Rpe(e){return e!=null&&e.clientX!=null}function nK(e,t={}){let{enabled:r=!0,axis:o="both"}=t,n=e.useState("open"),i=e.useState("floatingElement"),a=e.useState("domReferenceElement"),s=e.context.dataRef,d=Fl.useRef(!1),c=Fl.useRef(null),[u,f]=Fl.useState(),[m,g]=Fl.useState([]),h=ve(v=>{e.set("positionReference",v)}),b=ve((v,x,S)=>{d.current||s.current.openEvent&&!Rpe(s.current.openEvent)||e.set("positionReference",Knt(S??a,{x:v,y:x,axis:o,dataRef:s,pointerType:u}))}),_=ve(v=>{n?c.current||(b(v.clientX,v.clientY,v.currentTarget),g([])):b(v.clientX,v.clientY,v.currentTarget)}),y=Rd(u)?i:n;Fl.useEffect(()=>{if(!r){h(a);return}if(!y)return;function v(){c.current?.(),c.current=null}let x=Ht(i);function S(C){let k=Bt(C);Ge(i,k)?v():b(C.clientX,C.clientY)}return!s.current.openEvent||Rpe(s.current.openEvent)?c.current=Dt(x,"mousemove",S):h(a),v},[y,r,i,s,a,e,b,h,m]),Fl.useEffect(()=>()=>{e.set("positionReference",null)},[e]),Fl.useEffect(()=>{r&&!i&&(d.current=!1)},[r,i]),Fl.useEffect(()=>{!r&&n&&(d.current=!0)},[r,n]);let w=Fl.useMemo(()=>{function v(x){f(x.pointerType)}return{onPointerDown:v,onPointerEnter:v,onMouseMove:_,onMouseEnter:_}},[_]);return Fl.useMemo(()=>r?{reference:w,trigger:w}:{},[r,w])}var ps=l(ee(),1);function Xnt(){return!1}function Znt(e){return{escapeKey:typeof e=="boolean"?e:e?.escapeKey??!1,outsidePress:typeof e=="boolean"?e:e?.outsidePress??!0}}function Eg(e,t={}){let{enabled:r=!0,escapeKey:o=!0,outsidePress:n=!0,outsidePressEvent:i="sloppy",referencePress:a=Xnt,bubbles:s,externalTree:d}=t,c=e.useState("open"),u=e.useState("floatingElement"),{dataRef:f,events:m}=e.context,g=us(d),h=ve(typeof n=="function"?n:()=>!1),b=typeof n=="function"?h:n,_=b!==!1,y=ve(()=>i),{escapeKey:w,outsidePress:v}=Znt(s),x=ps.useRef(!1),S=ps.useRef(!1),C=ps.useRef(!1),k=ps.useRef(!1),E=ps.useRef(!1),I=ps.useRef(""),M=ps.useRef(null),R=ur(),T=ur(),O=ur(),A=ve(()=>{T.clear(),f.current.insideReactTree=!1}),D=ve(W=>{let Z=f.current.floatingContext?.nodeId;return(g?cc(g.nodesRef.current,Z):[]).some(q=>q.context?.open&&!q.context.dataRef.current[W])}),V=ve(W=>H8(W,e.select("floatingElement"))||H8(W,e.select("domReferenceElement"))),H=ve(W=>{a()&&e.setOpen(!1,Ne(pe.triggerPress,W.nativeEvent))}),N=ve(W=>{if(!c||!r||!o||W.key!=="Escape")return;let Z=zue(W)?W.nativeEvent:W;if(E.current||Z.isComposing||!w&&D("__escapeKeyBubbles"))return;let X=Ne(pe.escapeKey,Z);e.setOpen(!1,X),X.isCanceled||W.preventDefault(),!w&&!X.isPropagationAllowed&&W.stopPropagation()}),L=ve(()=>{f.current.insideReactTree=!0,T.start(0,A)}),z=ve(W=>{if(!c||!r||W.button!==0)return;let Z=Bt(W.nativeEvent);Ge(e.select("floatingElement"),Z)&&(x.current||(x.current=!0,S.current=!1))}),j=ve(W=>{!c||!r||(W.defaultPrevented||W.nativeEvent.defaultPrevented)&&x.current&&(S.current=!0)});ps.useEffect(()=>{function W(Z){Z.open||(k.current=!1)}return m.on("openchange",W),()=>{m.off("openchange",W)}},[m]),ps.useEffect(()=>A,[A]),ps.useEffect(()=>{if(!c||!r)return c||(k.current=!1,E.current=!1,I.current="",M.current=null),A;f.current.__escapeKeyBubbles=w,f.current.__outsidePressBubbles=v;let W=new Ma,Z=st(u);function X(){O.clear(),E.current=!0}function q(){E.current=!0,O.start($t.engine.webkit?5:0,()=>{E.current=!1})}function ce(){C.current=!0,W.start(0,()=>{C.current=!1})}function de(){x.current=!1,S.current=!1}function he(){let ie=I.current,be=ie==="pen"||!ie?"mouse":ie,Fe=y(),Le=typeof Fe=="function"?Fe():Fe;return typeof Le=="string"?Le:Le[be]}function ge(ie){let be=he();return be==="intentional"&&ie.type!=="click"||be==="sloppy"&&ie.type==="click"}function ye(ie){let be=f.current.floatingContext?.nodeId,Fe=g&&cc(g.nodesRef.current,be).some(Le=>H8(ie,Le.context?.elements.floating));return V(ie)||Fe}function Te(ie){if(ge(ie)){ie.type!=="click"&&!V(ie)&&(W.clear(),C.current=!1),A();return}if(f.current.insideReactTree){A();return}let be=Bt(ie),Fe=`[${xf("inert")}]`,Le=Vt(be)?be.getRootNode():null,Ve=Array.from((Ed(Le)?Le:st(e.select("floatingElement"))).querySelectorAll(Fe)),it=e.context.triggerElements;if(be&&(it.hasElement(be)||it.hasMatchingElement(We=>Ge(We,be))))return;let dt=Vt(be)?be:null;for(;dt&&!Gs(dt);){let We=ls(dt);if(Gs(We)||!Vt(We))break;dt=We}if(!(Ve.length&&Vt(be)&&!Gue(be)&&!Ge(be,e.select("floatingElement"))&&Ve.every(We=>!Ge(dt,We)))){if(vt(be)&&!("touches"in ie)){let We=Gs(be),Ye=Xn(be),St=/auto|scroll/,Cr=We||St.test(Ye.overflowX),Mt=We||St.test(Ye.overflowY),hr=Cr&&be.clientWidth>0&&be.scrollWidth>be.clientWidth,et=Mt&&be.clientHeight>0&&be.scrollHeight>be.clientHeight,At=Ye.direction==="rtl",Ze=et&&(At?ie.offsetX<=be.offsetWidth-be.clientWidth:ie.offsetX>be.clientWidth),J=hr&&ie.offsetY>be.clientHeight;if(Ze||J)return}if(!ye(ie)){if(he()==="intentional"){if(ie.detail!==0&&!gf(ie)&&!k.current)return;if(C.current){W.clear(),C.current=!1;return}}typeof b=="function"&&!b(ie)||D("__outsidePressBubbles")||(e.setOpen(!1,Ne(pe.outsidePress,ie)),A())}}}function te(ie){he()!=="sloppy"||ie.pointerType==="touch"||!e.select("open")||!r||V(ie)||Te(ie)}function ae(ie){if(he()!=="sloppy"||!e.select("open")||!r||V(ie))return;let be=ie.touches[0];be&&(M.current={startTime:Date.now(),startX:be.clientX,startY:be.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},R.start(1e3,()=>{M.current&&(M.current.dismissOnTouchEnd=!1,M.current.dismissOnMouseDown=!1)}))}function ue(ie,be){let Fe=Bt(ie);if(!Fe)return;let Le=Dt(Fe,ie.type,()=>{be(ie),Le()})}function re(ie){I.current="touch",ue(ie,ae)}function _e(ie){R.clear(),ie.type==="pointerdown"&&(ie.button===0&&(k.current=!0),I.current=ie.pointerType),!(ie.type==="mousedown"&&M.current&&!M.current.dismissOnMouseDown)&&ue(ie,be=>{be.type==="pointerdown"?te(be):Te(be)})}function xe(ie){if(ie.type==="pointercancel"&&(k.current=!1),!x.current)return;let be=S.current;if(de(),he()==="intentional"){if(ie.type==="pointercancel"){be&&ce();return}if(!ye(ie)){if(be){ce();return}typeof b=="function"&&!b(ie)||(W.clear(),C.current=!0,A())}}}function ke(ie){if(he()!=="sloppy"||!M.current||V(ie))return;let be=ie.touches[0];if(!be)return;let Fe=Math.abs(be.clientX-M.current.startX),Le=Math.abs(be.clientY-M.current.startY),Ve=Math.sqrt(Fe*Fe+Le*Le);Ve>5&&(M.current.dismissOnTouchEnd=!0),Ve>10&&(Te(ie),R.clear(),M.current=null)}function ne(ie){ue(ie,ke)}function Re(ie){he()!=="sloppy"||!M.current||V(ie)||(M.current.dismissOnTouchEnd&&Te(ie),R.clear(),M.current=null)}function Ae(ie){ue(ie,Re)}let Oe=cs(o&&cs(Dt(Z,"keydown",N),Dt(Z,"compositionstart",X),Dt(Z,"compositionend",q)),_&&cs(Dt(Z,"click",_e,!0),Dt(Z,"pointerdown",_e,!0),Dt(Z,"pointerup",xe,!0),Dt(Z,"pointercancel",xe,!0),Dt(Z,"mousedown",_e,!0),Dt(Z,"mouseup",xe,!0),Dt(Z,"touchstart",re,{capture:!0,passive:!0}),Dt(Z,"touchmove",ne,{capture:!0,passive:!0}),Dt(Z,"touchend",Ae,{capture:!0,passive:!0})));return()=>{Oe(),W.clear(),de(),C.current=!1}},[f,u,o,_,b,c,r,w,v,N,A,y,D,V,g,e,R,O]);let F=ps.useMemo(()=>({onKeyDown:N,onPointerDown:H,onClick:H}),[N,H]),Y=ps.useMemo(()=>({onKeyDown:N,onPointerDown:j,onMouseDown:j,onClickCapture:L,onMouseDownCapture(W){L(),z(W)},onPointerDownCapture(W){L(),z(W)},onMouseUpCapture:L,onTouchEndCapture:L,onTouchMoveCapture:L}),[N,L,z,j]);return ps.useMemo(()=>r?{reference:F,floating:Y,trigger:F}:{},[r,F,Y])}var v1=class{attachedStores=[];attachedStoreValue=null;storeListeners=new Set;constructor(t,r,o=!0){this.fallbackStore=t,this.componentName=r,this.throwOnMissingTrigger=o}get attachedStore(){return this.attachedStoreValue}get store(){return this.attachedStoreValue??this.fallbackStore}get serverStore(){return this.fallbackStore}subscribeStore(t){return this.storeListeners.add(t),()=>{this.storeListeners.delete(t)}}attachStore(t){return this.attachedStores.push(t),this.setActiveStore(t),()=>{let r=this.attachedStores.lastIndexOf(t);r!==-1&&this.attachedStores.splice(r,1),this.setActiveStore(this.attachedStores[this.attachedStores.length-1]??null)}}setActiveStore(t){this.attachedStoreValue!==t&&(this.attachedStoreValue=t,this.storeListeners.forEach(r=>{r()}))}openByTrigger(t){let r=this.attachedStore;if(r===null)return;let o;if(t){for(let n=this.attachedStores.length-1;n>=0&&!o;n-=1)o=this.attachedStores[n].context.triggerElements.getById(t);o??=this.fallbackStore.context.triggerElements.getById(t)}if(t&&!o&&this.throwOnMissingTrigger)throw new Error(Je(99,this.componentName,t,this.componentName));r.setOpen(!0,Ne(pe.imperativeAction,void 0,o))}closePopup(){let t=this.attachedStore;t!==null&&t.setOpen(!1,Ne(pe.imperativeAction))}};var aK=l(ee(),1),Ppe=l(sc(),1);function y5(e){let{popupStore:t,treatPopupAsFloatingElement:r=!1,floatingRootContext:o,floatingId:n,nested:i,onOpenChange:a}=e,s=t.useState("open"),d=t.useState("activeTriggerElement"),c=t.useState(r?"popupElement":"positionerElement"),u=a;return t.useSyncedValue("floatingId",n),me(()=>{let f={open:s,floatingId:n,referenceElement:d,floatingElement:c};Vt(d)&&(f.domReferenceElement=d),o.state.positionReference===o.state.referenceElement&&(f.positionReference=d),o.update(f)},[s,n,d,c,o]),o.context.onOpenChange=u,o.context.nested=i,o}var iK=l(ee(),1);function _1(e){let{open:t,ref:r,preventUnmountOnClose:o,setPreventUnmountOnClose:n,onUnmount:i,animateInitialOpen:a}=e,s=ve(n),{mounted:d,setMounted:c,transitionStatus:u}=An(t,!1,!1,a),f=t?!1:o;me(()=>{t&&s(!1)},[t,s]);let m=iK.useRef(d),g=iK.useRef(!1),h=u1(),b=()=>{m.current=!1,c(!1),i()};me(()=>{m.current=d,g.current&&(g.current=!1,!t&&d&&b())});let _=ve(()=>{if(m.current){if(t){g.current=!0,h();return}b()}});return mo({enabled:d&&!t&&!f,open:t,ref:r,onComplete(){t||_()}}),{mounted:d,transitionStatus:u,preventUnmountingOnClose:f,forceUnmount:_}}var Eb={tabIndex:-1,[a5]:""};function Ipe(e,t=!1){let r=pf(),o=Ks()!=null,n=Ot(()=>e(r,o)).current;return y5({popupStore:n,treatPopupAsFloatingElement:t,floatingRootContext:n.state.floatingRootContext,floatingId:r,nested:o,onOpenChange:n.setOpen}),n}function n9({handle:e,store:t}){return me(()=>e.attachStore(t),[e,t]),null}function Tpe(e){let t=e.context.triggerElements.size;e.select("open")&&e.state.triggerCount!==t&&e.set("triggerCount",t)}function sK(e,t){let r=aK.useRef(null);return ve(o=>{let n=r.current;if(n!==null){if(n.element===o&&n.store===t&&n.id===e)return;r.current=null;let i=n.store;i.context.triggerElements.getById(n.id)===n.element&&(i.context.triggerElements.delete(n.id),Tpe(i))}o!==null&&e!==void 0&&(r.current={store:t,id:e,element:o},t.context.triggerElements.add(e,o),Tpe(t))})}function lK(e,t,r,o=!1){let n=e.preventUnmountingOnClose;t?n=!1:o&&(n=!0);let i=r?.id??null,a=e.activeTriggerId,s=e.activeTriggerElement;return(i||t)&&(a=i,s=r??null),{open:t,preventUnmountingOnClose:n,activeTriggerId:a,activeTriggerElement:s,openedWithoutTrigger:t?r==null:e.openedWithoutTrigger}}function ry(e){let t=!1;return e.preventUnmountOnClose=()=>{t=!0},()=>t}function Ope(e,t,r,o={}){let n=r.reason,i=n===pe.triggerHover,a=t&&n===pe.triggerFocus,s=!t&&(n===pe.triggerPress||n===pe.escapeKey),d=ry(r);if(e.context.onOpenChange?.(t,r),r.isCanceled)return;o.onBeforeDispatch?.(),e.state.floatingRootContext.dispatchOpenChange(t,r);let c=()=>{let u=lK(e.state,t,r.trigger,d()),f={...o.extraState,...u};a?f.instantType="focus":s?f.instantType="dismiss":i&&(f.instantType=void 0),e.update(f)};i?Ppe.flushSync(c):c()}function i9(e,t,r,o){let n=r.useState("isMountedByTrigger",e),i=sK(e,r),a=ve(d=>{let c=r.select("open"),u=r.select("activeTriggerId");if(u===e){let f={activeTriggerElement:d,...c?o:null};r.update(f);return}if(u==null&&c&&!r.state.openedWithoutTrigger){let f={activeTriggerId:e??null,activeTriggerElement:d,...o};r.update(f)}}),s=ve(d=>{i(d),d&&a(d)});return me(()=>(s(t.current),()=>s(null)),[s,t,r,e]),me(()=>{if(n){let d={activeTriggerElement:t.current,...o};r.update(d)}},[n,r,t,...Object.values(o)]),{registerTrigger:s,isMountedByThisTrigger:n}}function a9(e,t={}){let{closeOnActiveTriggerUnmount:r=!1}=t,o=aK.useRef(null),n=e.useState("open"),i=e.useState("triggerCount"),a=e.useState("activeTriggerId"),s=e.useState("activeTriggerElement");me(()=>{if(!n){o.current=null,e.state.triggerCount!==0&&e.set("triggerCount",0),e.state.openedWithoutTrigger&&e.set("openedWithoutTrigger",!1);return}let d=e.context.triggerElements.size,c={};e.state.triggerCount!==d&&(c.triggerCount=d);let u=e.select("activeTriggerId"),f=null;if(u){let m=e.context.triggerElements.getById(u);if(m)o.current=u,m!==e.state.activeTriggerElement&&(c.activeTriggerElement=m);else{for(let[g,h]of e.context.triggerElements.entries())if(h===e.state.activeTriggerElement){c.activeTriggerId=g,c.activeTriggerElement=h,o.current=g;break}c.activeTriggerId===void 0&&(o.current===u?f=u:o.current=null)}}else o.current=null;if(!f&&!u&&!e.state.openedWithoutTrigger&&d===1){let m=e.context.triggerElements.entries().next();if(!m.done){let[g,h]=m.value;c.activeTriggerId=g,c.activeTriggerElement=h,o.current=g}}(c.triggerCount!==void 0||c.activeTriggerId!==void 0||c.activeTriggerElement!==void 0)&&e.update(c),f&&r&&queueMicrotask(()=>{if(e.select("open")&&e.select("activeTriggerId")===f&&!e.context.triggerElements.getById(f)){let m=Ne(pe.none);e.setOpen(!1,m),m.isCanceled||e.update({activeTriggerId:null,activeTriggerElement:null})}})},[n,e,i,a,s,r])}function s9(e,t,r,o){let{mounted:n,transitionStatus:i,forceUnmount:a}=_1({open:e,ref:t.context.popupRef,preventUnmountOnClose:t.useState("preventUnmountingOnClose"),setPreventUnmountOnClose:s=>t.set("preventUnmountingOnClose",s),animateInitialOpen:o,onUnmount(){t.update({activeTriggerId:null,activeTriggerElement:null,mounted:!1,preventUnmountingOnClose:!1}),r?.(),t.context.onOpenChangeComplete?.(!1)}});return Ot(()=>(t.set("mounted",n),null)),t.useSyncedValues({mounted:n,transitionStatus:i}),{forceUnmount:a,transitionStatus:i}}function l9(e,t){e.useSyncedValues(t),me(()=>()=>{e.update({activeTriggerProps:ft,inactiveTriggerProps:ft,popupProps:ft})},[e])}var Sf=class{idMap=new Map;add(t,r){this.idMap.set(t,r)}delete(t){this.idMap.delete(t)}hasElement(t){for(let r of this.idMap.values())if(r===t)return!0;return!1}hasMatchingElement(t){for(let r of this.idMap.values())if(t(r))return!0;return!1}getById(t){return this.idMap.get(t)}entries(){return this.idMap.entries()}elements(){return this.idMap.values()}get size(){return this.idMap.size}};var Hpe=l(ee(),1),pK=l(y1(),1),Upe=l(Vpe(),1);var Bpe=l(ee(),1);var cK=[],uK;function zpe(){return uK}function jpe(e){cK.push(e)}function x5(e){let t=(r,o)=>{let n=Ot(mit).current,i;try{uK=n;for(let a of cK)a.before(n);i=e(r,o);for(let a of cK)a.after(n);n.didInitialize=!0}finally{uK=void 0}return i};return t.displayName=e.displayName||e.name,t}function c9(e){return Bpe.forwardRef(x5(e))}function mit(){return{didInitialize:!1}}var git=mb(19),hit=git?vit:_it;function Cf(e,t,r,o,n){return hit(e,t,r,o,n)}function bit(e,t,r,o,n){let i=Hpe.useCallback(()=>t(e.getSnapshot(),r,o,n),[e,t,r,o,n]);return(0,pK.useSyncExternalStore)(e.subscribe,i,i)}jpe({before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let r=0;r<e.syncHooks.length;r+=1){let o=e.syncHooks[r],n=o.selector(o.store.state,o.a1,o.a2,o.a3);Object.is(o.value,n)||(t=!0,o.value=n)}return t&&(e.syncTick+=1),e.syncTick})},after(e){e.syncHooks.length>0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{let r=new Set;for(let n of e.syncHooks)r.add(n.store);let o=[];for(let n of r)o.push(n.subscribe(t));return()=>{for(let n of o)n()}}),(0,pK.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot))}});function vit(e,t,r,o,n){let i=zpe();if(!i)return bit(e,t,r,o,n);let a=i.syncIndex;i.syncIndex+=1;let s;return i.didInitialize?(s=i.syncHooks[a],(s.store!==e||s.selector!==t||!Object.is(s.a1,r)||!Object.is(s.a2,o)||!Object.is(s.a3,n))&&(s.store!==e&&(i.didChangeStore=!0),s.store=e,s.selector=t,s.a1=r,s.a2=o,s.a3=n,s.value=t(e.getSnapshot(),r,o,n))):(s={store:e,selector:t,a1:r,a2:o,a3:n,value:t(e.getSnapshot(),r,o,n)},i.syncHooks.push(s)),s.value}function _it(e,t,r,o,n){return(0,Upe.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,i=>t(i,r,o,n))}var u9=class{static create(t){return new this(t)}constructor(t){this.state=t,this.listeners=new Set,this.updateTick=0}subscribe=t=>(this.listeners.add(t),()=>{this.listeners.delete(t)});getSnapshot=()=>this.state;setState(t){if(this.state===t)return;this.state=t,this.updateTick+=1;let r=this.updateTick;for(let o of this.listeners){if(r!==this.updateTick)return;o(t)}}update(t){for(let r in t)if(!Object.is(this.state[r],t[r])){this.setState({...this.state,...t});return}}set(t,r){Object.is(this.state[t],r)||this.setState({...this.state,[t]:r})}notifyAll(){let t={...this.state};this.setState(t)}use(t,r,o,n){return Cf(this,t,r,o,n)}};var oy=l(ee(),1);var fs=class extends u9{constructor(t,r={},o){super(t),this.context=r,this.selectors=o}useSyncedValue(t,r){oy.useDebugValue(t);let o=this;me(()=>{o.state[t]!==r&&o.set(t,r)},[o,t,r])}useSyncedValueWithCleanup(t,r){let o=this;me(()=>(o.state[t]!==r&&o.set(t,r),()=>{o.set(t,void 0)}),[o,t,r])}useSyncedValues(t){let r=this,o=Object.values(t);me(()=>{r.update(t)},[r,...o])}useControlledProp(t,r){oy.useDebugValue(t);let o=this,n=r!==void 0;me(()=>{n&&!Object.is(o.state[t],r)&&o.setState({...o.state,[t]:r})},[o,t,r,n])}select(t,r,o,n){let i=this.selectors[t];return i(this.state,r,o,n)}useState(t,r,o,n){return oy.useDebugValue(t),Cf(this,this.selectors[t],r,o,n)}useContextCallback(t,r){oy.useDebugValue(t);let o=ve(r??Ct);this.context[t]=o}useStateSetter(t){let r=oy.useRef(void 0);return r.current===void 0&&(r.current=o=>{this.set(t,o)}),r.current}observe(t,r){let o;typeof t=="function"?o=t:o=this.selectors[t];let n=o(this.state);return r(n,n,this),this.subscribe(i=>{let a=o(i);if(!Object.is(n,a)){let s=n;n=a,r(a,s,this)}})}};var wit={open:e=>e.open,transitionStatus:e=>e.transitionStatus,domReferenceElement:e=>e.domReferenceElement,referenceElement:e=>e.positionReference??e.referenceElement,floatingElement:e=>e.floatingElement,floatingId:e=>e.floatingId},x1=class extends fs{constructor(t){let{syncOnly:r,nested:o,onOpenChange:n,triggerElements:i,...a}=t;super({...a,positionReference:a.referenceElement,domReferenceElement:a.referenceElement},{onOpenChange:n,dataRef:{current:{}},events:o9(),nested:o,triggerElements:i},wit),this.syncOnly=r}syncOpenEvent=(t,r)=>{(!t||!this.state.open||r!=null&&jue(r))&&(this.context.dataRef.current.openEvent=t?r:void 0)};dispatchOpenChange=(t,r)=>{this.syncOpenEvent(t,r.event);let o={open:t,reason:r.reason,nativeEvent:r.event,nested:this.context.nested,triggerElement:r.trigger};this.context.events.emit("openchange",o)};setOpen=(t,r)=>{if(this.syncOnly){this.context.onOpenChange?.(t,r);return}this.dispatchOpenChange(t,r),this.context.onOpenChange?.(t,r)}};function f9(e,t,r=!1){return{open:!1,openProp:void 0,mounted:!1,transitionStatus:void 0,floatingRootContext:new x1({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:e,floatingId:t,syncOnly:!0,nested:r,onOpenChange:void 0}),floatingId:t,triggerCount:0,preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,openedWithoutTrigger:!1,triggerIdProp:void 0,popupElement:null,positionerElement:null,activeTriggerProps:ft,inactiveTriggerProps:ft,popupProps:ft}}var S5=e=>e.triggerIdProp??e.activeTriggerId,p9=e=>e.openProp??e.open,Wpe=e=>(e.popupElement?.id??e.floatingId)||void 0;function Gpe(e,t){return t!==void 0&&p9(e)&&S5(e)===t}function yit(e,t){return Gpe(e,t)?!0:t!==void 0&&p9(e)&&S5(e)==null&&!e.openedWithoutTrigger&&e.triggerCount===1}var S1={open:p9,mounted:e=>e.mounted,transitionStatus:e=>p9(e)&&!e.mounted?"starting":e.transitionStatus,floatingRootContext:e=>e.floatingRootContext,triggerCount:e=>e.triggerCount,preventUnmountingOnClose:e=>e.preventUnmountingOnClose,payload:e=>e.payload,activeTriggerId:S5,activeTriggerElement:e=>e.mounted?e.activeTriggerElement:null,popupId:Wpe,isTriggerActive:(e,t)=>t!==void 0&&S5(e)===t,isOpenedByTrigger:(e,t)=>Gpe(e,t),isMountedByTrigger:(e,t)=>t!==void 0&&S5(e)===t&&e.mounted,triggerProps:(e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps,triggerPopupId:(e,t)=>yit(e,t)?Wpe(e):void 0,popupProps:e=>e.popupProps,popupElement:e=>e.popupElement,positionerElement:e=>e.positionerElement};var fK=l(ee(),1),Ype=l(y1(),1);function m9(e){let t=fK.useCallback(o=>e===void 0?Ct:e.subscribeStore(o),[e]),r=fK.useCallback(()=>e===void 0?void 0:e.store,[e]);return(0,Ype.useSyncExternalStore)(t,r,()=>e?.serverStore)}function C5(e){let{open:t=!1,onOpenChange:r,elements:o={}}=e,n=pf(),i=Ks()!=null,a=Ot(()=>new x1({open:t,transitionStatus:void 0,onOpenChange:r,referenceElement:o.reference??null,floatingElement:o.floating??null,triggerElements:new Sf,floatingId:n,syncOnly:!1,nested:i})).current;return me(()=>{let s={open:t,floatingId:n};o.reference!==void 0&&(s.referenceElement=o.reference,s.domReferenceElement=Vt(o.reference)?o.reference:null),o.floating!==void 0&&(s.floatingElement=o.floating),a.update(s)},[t,n,o.reference,o.floating,a]),a.context.onOpenChange=r,a.context.nested=i,a}var kf=l(ee(),1);var mK=$t.os.mac&&$t.engine.webkit;function k5(e,t={}){let{enabled:r=!0,delay:o}=t,{events:n,dataRef:i}=e.context,a=kf.useRef(!1),s=kf.useRef(null),d=kf.useRef(!0),c=ur();kf.useEffect(()=>{let f=e.select("domReferenceElement");if(!r)return;let m=Ht(f);function g(){let _=e.select("domReferenceElement");!e.select("open")&&vt(_)&&_===Ar(st(_))&&(a.current=!0,s.current=_)}function h(){d.current=!0}function b(){d.current=!1}return cs(Dt(m,"blur",g),mK&&Dt(m,"keydown",h,!0),mK&&Dt(m,"pointerdown",b,!0))},[e,r]),kf.useEffect(()=>{if(!r)return;function f(m){if(m.reason===pe.triggerPress||m.reason===pe.escapeKey){let g=e.select("domReferenceElement");Vt(g)&&(s.current=g,a.current=!0)}}return n.on("openchange",f),()=>{n.off("openchange",f)}},[n,r,e]);let u=kf.useMemo(()=>{function f(){a.current=!1,s.current=null}return{onMouseLeave(){f()},onFocus(m){let g=m.currentTarget;if(a.current){if(s.current===g)return;f()}let h=Bt(m.nativeEvent);if(Vt(h)){if(mK&&!m.relatedTarget){if(!d.current&&!Cu(h))return}else if(!Yue(h))return}let b=_b(m.relatedTarget,e.context.triggerElements),{nativeEvent:_,currentTarget:y}=m;if(e.select("open")&&b||!o){e.setOpen(!0,Ne(pe.triggerFocus,_,y));return}c.start(o,()=>{a.current||e.setOpen(!0,Ne(pe.triggerFocus,_,y))})},onBlur(m){f();let g=m.relatedTarget,h=m.nativeEvent,b=Vt(g)&&g.hasAttribute(xf("focus-guard"))&&g.getAttribute("data-type")==="outside";c.start(0,()=>{let _=e.select("domReferenceElement"),y=Ar(st(_));!g&&y===_||Ge(i.current.floatingContext?.refs.floating.current,y)||Ge(_,y)||b||_b(g??y,e.context.triggerElements)||e.setOpen(!1,Ne(pe.triggerFocus,h))})}}},[i,o,e,c]);return kf.useMemo(()=>r?{reference:u,trigger:u}:{},[r,u])}var hK=l(ee(),1);var gK=class e{pointerType=void 0;interactedInside=!1;handler=void 0;blockMouseMove=!0;performedPointerEventsMutation=!1;pointerEventsScopeElement=null;pointerEventsReferenceElement=null;pointerEventsFloatingElement=null;restTimeoutPending=!1;openChangeTimeout=new Ma;restTimeout=new Ma;handleCloseOptions=void 0;static create(){return new e}dispose=()=>{this.openChangeTimeout.clear(),this.restTimeout.clear()};disposeEffect=()=>this.dispose},g9=new WeakMap;function C1(e){if(!e.performedPointerEventsMutation)return;let t=e.pointerEventsScopeElement;t&&g9.get(t)===e&&(e.pointerEventsScopeElement?.style.removeProperty("pointer-events"),e.pointerEventsReferenceElement?.style.removeProperty("pointer-events"),e.pointerEventsFloatingElement?.style.removeProperty("pointer-events"),g9.delete(t)),e.performedPointerEventsMutation=!1,e.pointerEventsScopeElement=null,e.pointerEventsReferenceElement=null,e.pointerEventsFloatingElement=null}function h9(e,t){let{scopeElement:r,referenceElement:o,floatingElement:n}=t,i=g9.get(r);i&&i!==e&&C1(i),C1(e),e.performedPointerEventsMutation=!0,e.pointerEventsScopeElement=r,e.pointerEventsReferenceElement=o,e.pointerEventsFloatingElement=n,g9.set(r,e),r.style.pointerEvents="none",o.style.pointerEvents="auto",n.style.pointerEvents="auto"}function k1(e){let t=e.context.dataRef.current,r=Ot(()=>t.hoverInteractionState??gK.create()).current;return t.hoverInteractionState||(t.hoverInteractionState=r),c1(t.hoverInteractionState.disposeEffect),t.hoverInteractionState}function E5(e,t={}){let{enabled:r=!0,closeDelay:o=0,nodeId:n}=t,i=e.useState("open"),a=e.useState("floatingElement"),s=e.useState("domReferenceElement"),{dataRef:d}=e.context,c=us(),u=Ks(),f=k1(e),m=ur(),g=ve(()=>U8(d.current.openEvent?.type,f.interactedInside)),h=ve(()=>que(d.current.openEvent?.type)),b=ve(()=>{C1(f)});me(()=>{i||(f.pointerType=void 0,f.restTimeoutPending=!1,f.interactedInside=!1,b())},[i,f,b]),hK.useEffect(()=>b,[b]),me(()=>{if(r&&i&&f.handleCloseOptions?.blockPointerEvents&&h()&&Vt(s)&&a){let _=s,y=a,w=st(a),v=c?.nodesRef.current.find(k=>k.id===u)?.context?.elements.floating;v&&(v.style.pointerEvents="");let x=f.pointerEventsScopeElement!==y?f.pointerEventsScopeElement:null,S=v!==y?v:null,C=f.handleCloseOptions?.getScope?.()??x??S??ds(_,"[data-rootownerid]")??w.body;return h9(f,{scopeElement:C,referenceElement:_,floatingElement:y}),()=>{b()}}},[r,i,s,a,f,h,c,u,b]),hK.useEffect(()=>{if(!r)return;function _(){return!!(c&&u&&cc(c.nodesRef.current,u).length>0)}function y(k){let E=ku(o,"close",f.pointerType),I=()=>{e.setOpen(!1,Ne(pe.triggerHover,k)),c?.events.emit("floating.closed",k)};E?f.openChangeTimeout.start(E,I):(f.openChangeTimeout.clear(),I())}function w(k){let E=Bt(k);if(!d5(E)){f.interactedInside=!1;return}f.interactedInside=ds(E,"[aria-haspopup]")!=null}function v(){f.openChangeTimeout.clear(),m.clear(),c?.events.off("floating.closed",S),b()}function x(k){if(_()&&c){c.events.on("floating.closed",S);return}if(_b(k.relatedTarget,e.context.triggerElements))return;let E=d.current.floatingContext?.nodeId??n,I=k.relatedTarget;if(!(c&&E&&Vt(I)&&cc(c.nodesRef.current,E,!1).some(R=>Ge(R.context?.elements.floating,I)))){if(f.handler){f.handler(k);return}b(),h()&&!g()&&y(k)}}function S(k){!c||!u||_()||m.start(0,()=>{c.events.off("floating.closed",S),e.setOpen(!1,Ne(pe.triggerHover,k)),c.events.emit("floating.closed",k)})}let C=a;return cs(C&&Dt(C,"mouseenter",v),C&&Dt(C,"mouseleave",x),C&&Dt(C,"pointerdown",w,!0),()=>{c?.events.off("floating.closed",S)})},[r,a,e,d,o,n,h,g,b,f,c,u,m])}var Rb=l(ee(),1),qpe=l(sc(),1);var xit={current:null};function ny(e,t={}){let{enabled:r=!0,delay:o=0,handleClose:n=null,mouseOnly:i=!1,restMs:a=0,move:s=!0,triggerElementRef:d=xit,externalTree:c,isActiveTrigger:u=!0,getHandleCloseContext:f,isClosing:m,shouldOpen:g,guardStaleOpen:h=!1}=t,{dataRef:b,events:_}=e.context,y=us(c),w=k1(e),v=Rb.useRef(!1),x=Er(n),S=Er(o),C=Er(a),k=Er(r),E=Er(g),I=Er(m),M=ve(()=>U8(b.current.openEvent?.type,w.interactedInside)),R=ve(()=>E.current?.()!==!1),T=ve((D,V,H)=>{let N=e.context.triggerElements;if(N.hasElement(V))return!D||!Ge(D,V);if(!Vt(H))return!1;let L=H;return N.hasMatchingElement(z=>Ge(z,L))&&(!D||!Ge(D,L))}),O=ve(()=>{if(!w.handler)return;st(e.select("domReferenceElement")).removeEventListener("mousemove",w.handler),w.handler=void 0}),A=ve(()=>{C1(w)});return u&&(w.handleCloseOptions=n?.__options),Rb.useEffect(()=>O,[O]),Rb.useEffect(()=>{if(!r)return;function D(V){V.open?v.current=!1:(v.current=V.reason===pe.triggerHover,O(),w.openChangeTimeout.clear(),w.restTimeout.clear(),w.blockMouseMove=!0,w.restTimeoutPending=!1)}return _.on("openchange",D),()=>{_.off("openchange",D)}},[r,_,w,O]),Rb.useEffect(()=>{if(!r)return;function D(j,F=!0){let Y=ku(S.current,"close",w.pointerType);Y?w.openChangeTimeout.start(Y,()=>{e.setOpen(!1,Ne(pe.triggerHover,j)),y?.events.emit("floating.closed",j)}):F&&(w.openChangeTimeout.clear(),e.setOpen(!1,Ne(pe.triggerHover,j)),y?.events.emit("floating.closed",j))}let V=d.current??(u?e.select("domReferenceElement"):null);if(!Vt(V))return;function H(j){if(w.openChangeTimeout.clear(),w.blockMouseMove=!1,i&&!Rd(w.pointerType))return;let F=zq(C.current),Y=ku(S.current,"open",w.pointerType),W=Bt(j),Z=j.currentTarget??null,X=e.select("domReferenceElement"),q=Z;if(Vt(W)&&!e.context.triggerElements.hasElement(W)){for(let ue of e.context.triggerElements.elements())if(Ge(ue,W)){q=ue;break}}Vt(Z)&&Vt(X)&&!e.context.triggerElements.hasElement(Z)&&Ge(Z,X)&&(q=X);let ce=q==null?!1:T(X,q,W),de=e.select("open"),he=I.current?.()??e.select("transitionStatus")==="ending",ge=!de&&he&&v.current,ye=!ce&&Vt(q)&&Vt(X)&&Ge(X,q)&&ge,Te=F>0&&!Y,te=ce&&(de||ge)||ye,ae=!de||ce;if(te){R()&&e.setOpen(!0,Ne(pe.triggerHover,j,q));return}Te||(Y?w.openChangeTimeout.start(Y,()=>{ae&&R()&&e.setOpen(!0,Ne(pe.triggerHover,j,q))}):ae&&R()&&e.setOpen(!0,Ne(pe.triggerHover,j,q)))}function N(j){if(M()){A();return}O();let F=e.select("domReferenceElement"),Y=st(F);w.restTimeout.clear(),w.restTimeoutPending=!1;let W=b.current.floatingContext??f?.();if(_b(j.relatedTarget,e.context.triggerElements))return;if(x.current&&W){e.select("open")||w.openChangeTimeout.clear();let X=d.current;w.handler=x.current({...W,tree:y,x:j.clientX,y:j.clientY,onClose(){A(),O(),k.current&&!M()&&X===e.select("domReferenceElement")&&D(j,!0)}}),Y.addEventListener("mousemove",w.handler),w.handler(j);return}(w.pointerType!=="touch"||!Ge(e.select("floatingElement"),j.relatedTarget))&&D(j)}function L(j){Ge(V,j.relatedTarget)||(w.openChangeTimeout.clear(),w.restTimeout.clear(),w.restTimeoutPending=!1)}let z=h?Dt(V,"mouseout",L):void 0;return s?cs(Dt(V,"mousemove",H,{once:!0}),Dt(V,"mouseenter",H),Dt(V,"mouseleave",N),z):cs(Dt(V,"mouseenter",H),Dt(V,"mouseleave",N),z)},[O,A,b,S,e,r,x,w,u,T,M,i,s,C,d,y,k,f,I,R,h]),Rb.useMemo(()=>{if(!r)return;function D(V){w.pointerType=V.pointerType}return{onPointerDown:D,onPointerEnter:D,onMouseMove(V){let{nativeEvent:H}=V,N=V.currentTarget,L=e.select("domReferenceElement"),z=e.select("open"),j=T(L,N,V.target);if(i&&!Rd(w.pointerType))return;if(z&&j&&w.handleCloseOptions?.blockPointerEvents){let W=e.select("floatingElement");if(W){let Z=w.handleCloseOptions?.getScope?.()??N.ownerDocument.body;h9(w,{scopeElement:Z,referenceElement:N,floatingElement:W})}}let F=zq(C.current);if(z&&!j||F===0||!j&&w.restTimeoutPending&&V.movementX**2+V.movementY**2<2)return;w.restTimeout.clear();function Y(){if(w.restTimeoutPending=!1,M())return;let W=e.select("open");!w.blockMouseMove&&(!W||j)&&R()&&e.setOpen(!0,Ne(pe.triggerHover,H,N))}w.pointerType==="touch"?qpe.flushSync(()=>{Y()}):j&&z?Y():(w.restTimeoutPending=!0,w.restTimeout.start(F,Y))}}},[r,w,M,T,i,e,C,R])}var Fa=l(ee(),1);function Kpe(e){return $t.engine.webkit&&e.movementX===0&&e.movementY===0}function b9(e,t,r){switch(e){case"vertical":return t;case"horizontal":return r;default:return t||r}}function uc(e,t){return b9(t,e===s5||e===g1,e===wg||e===yg)}function R5(e,t,r){return b9(t,e===g1,r?e===wg:e===yg)||e==="Enter"||e===" "||e===""}function T5(e,t,r){return b9(t,r?e===wg:e===yg,e===g1)}function Tb(e,t,r,o){let n=r?e===yg:e===wg,i=e===s5;return t==="both"||t==="horizontal"&&o?e==="Escape":b9(t,n,i)}function iy(e,t){let{listRef:r,activeIndex:o,onNavigate:n=()=>{},enabled:i=!0,selectedIndex:a=null,allowEscape:s=!1,loopFocus:d=!1,nested:c=!1,rtl:u=!1,virtual:f=!1,focusItemOnOpen:m="auto",focusItemOnHover:g=!0,openOnArrowKeyDown:h=!0,disabledIndices:b=void 0,orientation:_="vertical",triggerOrientation:y=_,parentOrientation:w,id:v,resetOnPointerLeave:x=!0,externalTree:S,nestedReturnFocusRef:C,grid:k}=t,E=k!=null,I=e.useState("open"),M=e.useState("floatingElement"),R=e.useState("domReferenceElement"),T=e.context.dataRef,O=Qw(M),A=c5(R),D=Er(O),V=Ks(),H=us(S),N=Fa.useRef(m),L=Fa.useRef(a??-1),z=Fa.useRef(null),j=Fa.useRef(!0),F=ve(ie=>{n(L.current===-1?null:L.current,ie)}),Y=Fa.useRef(!!M),W=Fa.useRef(I),Z=Fa.useRef(!1),X=Fa.useRef(!1),q=Fa.useRef(null),ce=Er(b),de=Er(I),he=Er(a),ge=Er(x),ye=Ws(),Te=Ws(),te=ve(()=>{ye.cancel();function ie(Ve){f||(q.current=h1(Ve,{sync:Z.current,preventScroll:!0}))}let be=r.current[L.current],Fe=X.current;be&&ie(be),(Z.current?Ve=>Ve():Ve=>ye.request(Ve))(()=>{let Ve=r.current[L.current]||be;if(!Ve)return;be||ie(Ve),ke&&(Fe||!j.current)&&Ve.scrollIntoView?.({block:"nearest",inline:"nearest"})})});me(()=>{T.current.orientation=_},[T,_]),me(()=>{I||(z.current=null),(!I||m!=="auto")&&(N.current=m)},[I,m]),me(()=>{i&&(I&&M?(L.current=a??-1,N.current&&a!=null&&(X.current=!0,F())):Y.current&&(L.current=-1,F()))},[i,I,M,a,F]),me(()=>{if(i){if(!I){Z.current=!1;return}if(M)if(o==null){if(Z.current=!1,he.current!=null)return;if(Y.current&&(L.current=-1,te()),(!W.current||!Y.current)&&N.current&&(z.current!=null||N.current===!0&&z.current==null)){let ie=0,be=()=>{r.current[0]==null?(ie<2&&(ie?Le=>Te.request(Le):queueMicrotask)(be),ie+=1):(L.current=z.current==null||R5(z.current,y,u)||c?Tu(r):yf(r),z.current=null,F())};be()}}else Pd(r.current,o)||(L.current=o,te(),X.current=!1)}},[i,I,M,o,he,c,r,y,u,F,te,Te]),me(()=>{if(!i||M||!H||f||!Y.current)return;let ie=H.nodesRef.current,be=ie.find(Ve=>Ve.id===V)?.context?.elements.floating,Fe=Ar(st(R??be??null)),Le=ie.some(Ve=>Ve.context&&Ge(Ve.context.elements.floating,Fe));be&&!Le&&j.current&&be.focus({preventScroll:!0})},[i,M,R,H,V,f]),me(()=>{W.current=I,Y.current=!!M});let ae=o!=null,ue=ve(ie=>{if(!de.current)return;let be=r.current.indexOf(ie.currentTarget);be!==-1&&(L.current!==be||o!==be)&&(L.current=be,F(ie))}),re=ve(()=>w??H?.nodesRef.current.find(ie=>ie.id===V)?.context?.dataRef?.current.orientation),_e=ve(()=>Tu(r,ce.current)),xe=ve(ie=>{if(j.current=!1,Z.current=!0,ie.which===229||!de.current&&ie.currentTarget===D.current)return;if(c&&Tb(ie.key,_,u,E)){uc(ie.key,re())||vr(ie),e.setOpen(!1,Ne(pe.listNavigation,ie.nativeEvent));let Ve=C?.current??R;vt(Ve)&&Ve.focus();return}o!=null&&o!==L.current&&!Pd(r.current,o)&&(L.current=o);let be=L.current,Fe=Tu(r,b),Le=yf(r,b);if(A||(ie.key==="Home"&&(vr(ie),L.current=Fe,F(ie)),ie.key==="End"&&(vr(ie),L.current=Le,F(ie))),k!=null){let Ve=k(ie,L.current,r,_,d,u,b,Fe,Le);if(Ve!=null&&Ve!==L.current&&(L.current=Ve,F(ie)),_==="both")return}if(uc(ie.key,_)){vr(ie);let Ve=Ar(ie.currentTarget.ownerDocument);if(I&&!f&&Ge(ie.currentTarget,Ve)&&!r.current.some(We=>We!=null&&Ge(We,Ve))){L.current=R5(ie.key,_,u)?Fe:Le,F(ie),o===L.current&&te();return}let{index:it,wrapped:dt}=Z8(r.current,be,{decrement:!R5(ie.key,_,u),loopFocus:d,allowEscape:s,disabledIndices:b,minIndex:Fe,maxIndex:Le});dt&&(Z.current=!1),L.current=it,F(ie)}}),ke=Fa.useMemo(()=>({onFocus(be){Z.current=!0,ue(be)},onClick({currentTarget:be}){f||be.focus({preventScroll:!0})},onMouseMove(be){Kpe(be)||(Z.current=!0,X.current=!1,g&&ue(be))},onPointerLeave(be){if(!de.current||!j.current||be.pointerType==="touch")return;Z.current=!0;let Fe=be.relatedTarget;if(!(!g||r.current.includes(Fe))&&ge.current&&(q.current?.(),q.current=null,L.current=-1,F(be),!f)){let Le=D.current,Ve=Ar(st(Le));Le&&Ge(Le,Ve)&&Le.focus({preventScroll:!0})}}}),[ue,de,D,g,r,F,ge,f]),ne=Fa.useMemo(()=>f&&I&&ae&&{"aria-activedescendant":`${v}-${o}`},[f,I,ae,v,o]),Re=Fa.useMemo(()=>({...A?{}:ne,onKeyDown(ie){if(ie.key==="Tab"&&ie.shiftKey&&I&&!f){let be=Bt(ie.nativeEvent);if(be&&!Ge(D.current,be))return;vr(ie);let Fe=Ne(pe.focusOut,ie.nativeEvent);e.setOpen(!1,Fe);let Le=C?.current??R;!Fe.isCanceled&&vt(Le)&&Le.focus();return}xe(ie)},onPointerMove(ie){Kpe(ie)||(j.current=!0)}}),[ne,xe,D,A,e,I,f,R,C]),Ae=Fa.useMemo(()=>{function ie(Le){e.setOpen(!0,Ne(pe.listNavigation,Le.nativeEvent,Le.currentTarget))}function be(Le){m==="auto"&&gf(Le.nativeEvent)&&(N.current=!f)}function Fe(Le){N.current=m,m==="auto"&&hf(Le.nativeEvent)&&(N.current=!0)}return{onKeyDown(Le){let Ve=e.select("open");j.current=!1;let it=Le.key.startsWith("Arrow"),dt=T5(Le.key,re(),u),We=uc(Le.key,Ve?_:y),Ye=(c?dt:We)||Le.key==="Enter"||Le.key.trim()==="";if(f&&Ve&&(!c||Cu(Le.currentTarget)))return xe(Le);if(!(!Ve&&!h&&it)){if(Ye){let St=uc(Le.key,re());z.current=c&&St?null:Le.key}if(c){dt&&(vr(Le),Ve?(L.current=_e(),F(Le),f&&D.current?.focus()):ie(Le));return}We&&(he.current!=null&&(L.current=he.current),vr(Le),!Ve&&h?ie(Le):xe(Le),Ve&&F(Le))}},onFocus(Le){Le.target===Le.currentTarget&&e.select("open")&&!f&&(L.current=-1,F(Le))},onPointerDown:Fe,onPointerEnter:Fe,onMouseDown:be,onClick:be}},[xe,m,_e,c,F,e,h,_,y,re,u,he,f,D]),Oe=Fa.useMemo(()=>({...ne,...Ae}),[ne,Ae]);return Fa.useMemo(()=>i?{reference:Oe,floating:Re,item:ke,trigger:Ae}:{},[i,Oe,Re,Ae,ke])}var ay=l(ee(),1);function sy(e,t){let{listRef:r,elementsRef:o,activeIndex:n,onMatch:i,disabledIndices:a,onTyping:s,enabled:d=!0,resetMs:c=750,selectedIndex:u=null}=t,f=ve(s),m=e.useState("open"),g=ur(),h=ay.useRef(""),b=ay.useRef(u??n??-1),_=ay.useRef(null),y=ve(x=>{function S(A){return o?.current[A]}function C(A){let D=S(A);return D&&!$w(D)||D?.matches(":disabled")?!1:a==null||!Ru(Ur,A,a)}function k(A,D,V=0){if(A.length===0)return-1;let H=(V%A.length+A.length)%A.length,N=D.toLowerCase();for(let L=0;L<A.length;L+=1){let z=(H+L)%A.length;if(!(!A[z]?.toLowerCase().startsWith(N)||!C(z)))return z}return-1}let E=r.current;if(h.current.length>0&&x.key===" "&&(vr(x),f?.(!0)),h.current.length>0&&h.current[0]!==" "&&k(E,h.current)===-1&&x.key!==" "&&f?.(!1),E==null||x.key.length!==1||x.ctrlKey||x.metaKey||x.altKey)return;m&&x.key!==" "&&(vr(x),f?.(!0));let I=h.current==="";I&&(b.current=u??n??-1),E.every((A,D)=>A&&C(D)?A[0]?.toLowerCase()!==A[1]?.toLowerCase():!0)&&h.current===x.key&&(h.current="",b.current=_.current),h.current+=x.key,g.start(c,()=>{h.current="",b.current=_.current,f?.(!1)});let T=((I?u??n??-1:b.current)??0)+1,O=k(E,h.current,T);O!==-1?(i?.(O,x),_.current=O):x.key!==" "&&(h.current="",f?.(!1))}),w=ve(x=>{let S=x.relatedTarget,C=e.select("domReferenceElement"),k=e.select("floatingElement");Ge(C,S)||Ge(k,S)||(g.clear(),h.current="",b.current=_.current,f?.(!1))});me(()=>{!m&&u!==null||(g.clear(),_.current=null,h.current!==""&&(h.current="",f?.(!1)))},[m,u,g,f]);let v=ay.useMemo(()=>({onKeyDown:y,onBlur:w}),[y,w]);return ay.useMemo(()=>d?{reference:v,floating:v}:{},[d,v])}var Xpe=.1,Sit=Xpe*Xpe,ho=.5;function v9(e,t,r,o,n,i){return o>=t!=i>=t&&e<=(n-r)*(t-o)/(i-o)+r}function _9(e,t,r,o,n,i,a,s,d,c){let u=!1;return v9(e,t,r,o,n,i)&&(u=!u),v9(e,t,n,i,a,s)&&(u=!u),v9(e,t,a,s,d,c)&&(u=!u),v9(e,t,d,c,r,o)&&(u=!u),u}function Cit(e,t,r){return e>=r.x&&e<=r.x+r.width&&t>=r.y&&t<=r.y+r.height}function w9(e,t,r,o,n,i){let a=Math.min(r,n),s=Math.max(r,n),d=Math.min(o,i),c=Math.max(o,i);return e>=a&&e<=s&&t>=d&&t<=c}function ly(e={}){let{blockPointerEvents:t=!1}=e,r=new Ma,o=({x:n,y:i,placement:a,elements:s,onClose:d,nodeId:c,tree:u})=>{let f=a?.split("-")[0],m=!1,g=null,h=null,b=typeof performance<"u"?performance.now():0;function _(w,v){let x=performance.now(),S=x-b;if(g===null||h===null||S===0)return g=w,h=v,b=x,!1;let C=w-g,k=v-h,E=C*C+k*k,I=S*S*Sit;return g=w,h=v,b=x,E<I}function y(){r.clear(),d()}return function(v){r.clear();let x=s.domReference,S=s.floating;if(!x||!S||f==null||n==null||i==null)return;let{clientX:C,clientY:k}=v,E=Bt(v),I=v.type==="mouseleave",M=Ge(S,E),R=Ge(x,E);if(M&&(m=!0,!I))return;if(R&&(m=!1,!I)){m=!0;return}if(I&&Vt(v.relatedTarget)&&Ge(S,v.relatedTarget))return;function T(){return!!(u&&cc(u.nodesRef.current,c).length>0)}function O(){T()||y()}if(T())return;let A=x.getBoundingClientRect(),D=S.getBoundingClientRect(),V=n>D.right-D.width/2,H=i>D.bottom-D.height/2,N=D.width>A.width,L=D.height>A.height,z=(N?A:D).left,j=(N?A:D).right,F=(L?A:D).top,Y=(L?A:D).bottom;if(f==="top"&&i>=A.bottom-1||f==="bottom"&&i<=A.top+1||f==="left"&&n>=A.right-1||f==="right"&&n<=A.left+1){O();return}let W=!1;switch(f){case"top":W=w9(C,k,z,A.top+1,j,D.bottom-1);break;case"bottom":W=w9(C,k,z,D.top+1,j,A.bottom-1);break;case"left":W=w9(C,k,D.right-1,Y,A.left+1,F);break;case"right":W=w9(C,k,A.right-1,Y,D.left+1,F);break;default:}if(W)return;if(m&&!Cit(C,k,A)){O();return}if(!I&&_(C,k)){O();return}let Z=!1;switch(f){case"top":{let X=N?ho/2:ho*4,q=N||V?n+X:n-X,ce=N?n-X:V?n+X:n-X,de=i+ho+1,he=V||N?D.bottom-ho:D.top,ge=V?N?D.bottom-ho:D.top:D.bottom-ho;Z=_9(C,k,q,de,ce,de,D.left,he,D.right,ge);break}case"bottom":{let X=N?ho/2:ho*4,q=N||V?n+X:n-X,ce=N?n-X:V?n+X:n-X,de=i-ho,he=V||N?D.top+ho:D.bottom,ge=V?N?D.top+ho:D.bottom:D.top+ho;Z=_9(C,k,q,de,ce,de,D.left,he,D.right,ge);break}case"left":{let X=L?ho/2:ho*4,q=L||H?i+X:i-X,ce=L?i-X:H?i+X:i-X,de=n+ho+1,he=H||L?D.right-ho:D.left,ge=H?L?D.right-ho:D.left:D.right-ho;Z=_9(C,k,he,D.top,ge,D.bottom,de,q,de,ce);break}case"right":{let X=L?ho/2:ho*4,q=L||H?i+X:i-X,ce=L?i-X:H?i+X:i-X,de=n-ho,he=H||L?D.left+ho:D.right,ge=H?L?D.left+ho:D.right:D.left+ho;Z=_9(C,k,de,q,de,ce,he,D.top,ge,D.bottom);break}default:}Z?m||r.start(40,O):O()}};return o.__options={...e,blockPointerEvents:t},o}function Zpe(e,t,r){let{reference:o,floating:n}=e,i=Dl(t),a=f5(t),s=p5(a),d=Na(t),c=i==="y",u=o.x+o.width/2-n.width/2,f=o.y+o.height/2-n.height/2,m=o[s]/2-n[s]/2,g;switch(d){case"top":g={x:u,y:o.y-n.height};break;case"bottom":g={x:u,y:o.y+o.height};break;case"right":g={x:o.x+o.width,y:f};break;case"left":g={x:o.x-n.width,y:f};break;default:g={x:o.x,y:o.y}}let h=Td(t);return h&&(g[a]+=m*(h==="end"?1:-1)*(r&&c?-1:1)),g}async function Qpe(e,t){var r;t===void 0&&(t={});let{x:o,y:n,platform:i,rects:a,elements:s,strategy:d}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:m=!1,padding:g=0}=wf(t,e),h=K8(g),_=s[m?f==="floating"?"reference":"floating":f],y=Cg(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(_)))==null||r?_:_.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:d})),w=f==="floating"?{x:o,y:n,width:a.floating.width,height:a.floating.height}:a.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),x=await(i.isElement==null?void 0:i.isElement(v))&&await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1},S=Cg(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:w,offsetParent:v,strategy:d}):w);return{top:(y.top-S.top+h.top)/x.y,bottom:(S.bottom-y.bottom+h.bottom)/x.y,left:(y.left-S.left+h.left)/x.x,right:(S.right-y.right+h.right)/x.x}}var kit=50,$pe=async(e,t,r)=>{let{placement:o="bottom",strategy:n="absolute",middleware:i=[],platform:a}=r,s=a.detectOverflow?a:{...a,detectOverflow:Qpe},d=await(a.isRTL==null?void 0:a.isRTL(t)),c=await a.getElementRects({reference:e,floating:t,strategy:n}),{x:u,y:f}=Zpe(c,o,d),m=o,g=0,h={};for(let b=0;b<i.length;b++){let _=i[b];if(!_)continue;let{name:y,fn:w}=_,{x:v,y:x,data:S,reset:C}=await w({x:u,y:f,initialPlacement:o,placement:m,strategy:n,middlewareData:h,rects:c,platform:s,elements:{reference:e,floating:t}});u=v??u,f=x??f,h[y]={...h[y],...S},C&&g<kit&&(g++,typeof C=="object"&&(C.placement&&(m=C.placement),C.rects&&(c=C.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:n}):C.rects),{x:u,y:f}=Zpe(c,m,d)),b=-1)}return{x:u,y:f,placement:m,strategy:n,middlewareData:h}};var Jpe=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,o;let{placement:n,middlewareData:i,rects:a,initialPlacement:s,platform:d,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:m,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:b=!0,..._}=wf(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};let y=Na(n),w=Dl(s),v=Na(s)===s,x=await(d.isRTL==null?void 0:d.isRTL(c.floating)),S=m||(v||!b?[u5(s)]:tpe(s)),C=h!=="none";!m&&C&&S.push(...rpe(s,b,h,x));let k=[s,...S],E=await d.detectOverflow(t,_),I=[],M=((o=i.flip)==null?void 0:o.overflows)||[];if(u&&I.push(E[y]),f){let A=epe(n,a,x);I.push(E[A[0]],E[A[1]])}if(M=[...M,{placement:n,overflows:I}],!I.every(A=>A<=0)){var R,T;let A=(((R=i.flip)==null?void 0:R.index)||0)+1,D=k[A];if(D&&(!(f==="alignment"?w!==Dl(D):!1)||M.every(N=>Dl(N.placement)===w?N.overflows[0]>0:!0)))return{data:{index:A,overflows:M},reset:{placement:D}};let V=(T=M.filter(H=>H.overflows[0]<=0).sort((H,N)=>H.overflows[1]-N.overflows[1])[0])==null?void 0:T.placement;if(!V)switch(g){case"bestFit":{var O;let H=(O=M.filter(N=>{if(C){let L=Dl(N.placement);return L===w||L==="y"}return!0}).map(N=>[N.placement,N.overflows.filter(L=>L>0).reduce((L,z)=>L+z,0)]).sort((N,L)=>N[1]-L[1])[0])==null?void 0:O[0];H&&(V=H);break}case"initialPlacement":V=s;break}if(n!==V)return{reset:{placement:V}}}return{}}}};var efe=new Set(["left","top"]);async function Eit(e,t){let{placement:r,platform:o,elements:n}=e,i=await(o.isRTL==null?void 0:o.isRTL(n.floating)),a=Na(r),s=Td(r),d=Dl(r)==="y",c=efe.has(a)?-1:1,u=i&&d?-1:1,f=wf(t,e),{mainAxis:m,crossAxis:g,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return s&&typeof h=="number"&&(g=s==="end"?h*-1:h),d?{x:g*u,y:m*c}:{x:m*c,y:g*u}}var tfe=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,o;let{x:n,y:i,placement:a,middlewareData:s}=t,d=await Eit(t,e);return a===((r=s.offset)==null?void 0:r.placement)&&(o=s.arrow)!=null&&o.alignmentOffset?{}:{x:n+d.x,y:i+d.y,data:{...d,placement:a}}}}},rfe=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:o,placement:n,platform:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:d={fn:w=>{let{x:v,y:x}=w;return{x:v,y:x}}},...c}=wf(e,t),u={x:r,y:o},f=await i.detectOverflow(t,c),m=Dl(n),g=q8(m),h=u[g],b=u[m],_=(w,v)=>Y8(v+f[w==="y"?"top":"left"],v,v-f[w==="y"?"bottom":"right"]);a&&(h=_(g,h)),s&&(b=_(m,b));let y=d.fn({...t,[g]:h,[m]:b});return{...y,data:{x:y.x-r,y:y.y-o,enabled:{[g]:a,[m]:s}}}}}},ofe=function(e){return e===void 0&&(e={}),{options:e,fn(t){var r,o;let{x:n,y:i,placement:a,rects:s,middlewareData:d}=t,{offset:c=0,mainAxis:u=!0,crossAxis:f=!0}=wf(e,t),m={x:n,y:i},g=Dl(a),h=q8(g),b=m[h],_=m[g],y=wf(c,t),w=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:(r=y.mainAxis)!=null?r:0,crossAxis:(o=y.crossAxis)!=null?o:0};if(u){let S=h==="y"?"height":"width",C=s.reference[h]-s.floating[S]+w.mainAxis,k=s.reference[h]+s.reference[S]-w.mainAxis;b<C?b=C:b>k&&(b=k)}if(f){var v,x;let S=h==="y"?"width":"height",C=efe.has(Na(a)),k=s.reference[g]-s.floating[S]+(C&&((v=d.offset)==null?void 0:v[g])||0)+(C?0:w.crossAxis),E=s.reference[g]+s.reference[S]+(C?0:((x=d.offset)==null?void 0:x[g])||0)-(C?w.crossAxis:0);_<k?_=k:_>E&&(_=E)}return{[h]:b,[g]:_}}}},nfe=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){let{placement:r,rects:o,platform:n,elements:i}=t,{apply:a=()=>{},...s}=wf(e,t),d=await n.detectOverflow(t,s),c=Na(r),u=Td(r),f=Dl(r)==="y",{width:m,height:g}=o.floating,h,b;c==="top"||c==="bottom"?(h=c,b=u===(await(n.isRTL==null?void 0:n.isRTL(i.floating))?"start":"end")?"left":"right"):(b=c,h=u==="end"?"top":"bottom");let _=g-d.top-d.bottom,y=m-d.left-d.right,w=yb(g-d[h],_),v=yb(m-d[b],y),x=t.middlewareData.shift,S=!x,C=w,k=v;x!=null&&x.enabled.x&&(k=y),x!=null&&x.enabled.y&&(C=_),S&&!u&&(f?k=m-2*Eu(d.left,d.right):C=g-2*Eu(d.top,d.bottom)),await a({...t,availableWidth:k,availableHeight:C});let E=await n.getDimensions(i.floating);return m!==E.width||g!==E.height?{reset:{rects:!0}}:{}}}};function sfe(e){let t=Xn(e),r=parseFloat(t.width)||0,o=parseFloat(t.height)||0,n=vt(e),i=n?e.offsetWidth:r,a=n?e.offsetHeight:o,s=xb(r)!==i||xb(o)!==a;return s&&(r=i,o=a),{width:r,height:o,$:s}}function vK(e){return Vt(e)?e:e.contextElement}function E1(e){let t=vK(e);if(!vt(t))return _f(1);let r=t.getBoundingClientRect(),{width:o,height:n,$:i}=sfe(t),a=(i?xb(r.width):r.width)/o,s=(i?xb(r.height):r.height)/n;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}var Rit=_f(0);function lfe(e){let t=Ht(e);return!D8()||!t.visualViewport?Rit:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Tit(e,t,r){return t===void 0&&(t=!1),!!r&&t&&r===Ht(e)}function dy(e,t,r,o){t===void 0&&(t=!1),r===void 0&&(r=!1);let n=e.getBoundingClientRect(),i=vK(e),a=_f(1);t&&(o?Vt(o)&&(a=E1(o)):a=E1(e));let s=Tit(i,r,o)?lfe(i):_f(0),d=(n.left+s.x)/a.x,c=(n.top+s.y)/a.y,u=n.width/a.x,f=n.height/a.y;if(i&&o){let m=Ht(i),g=Vt(o)?Ht(o):o,h=m,b=F8(h);for(;b&&g!==h;){let _=E1(b),y=b.getBoundingClientRect(),w=Xn(b),v=y.left+(b.clientLeft+parseFloat(w.paddingLeft))*_.x,x=y.top+(b.clientTop+parseFloat(w.paddingTop))*_.y;d*=_.x,c*=_.y,u*=_.x,f*=_.y,d+=v,c+=x,h=Ht(b),b=F8(h)}}return Cg({width:u,height:f,x:d,y:c})}function y9(e,t){let r=i5(e).scrollLeft;return t?t.left+r:dy(ff(e)).left+r}function dfe(e,t){let r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-y9(e,r),n=r.top+t.scrollTop;return{x:o,y:n}}function Pit(e){let{elements:t,rect:r,offsetParent:o,strategy:n}=e,i=n==="fixed",a=ff(o),s=t?n5(t.floating):!1;if(o===a||s&&i)return r;let d={scrollLeft:0,scrollTop:0},c=_f(1),u=_f(0),f=vt(o);if((f||!i)&&((Kn(o)!=="body"||qw(a))&&(d=i5(o)),f)){let g=dy(o);c=E1(o),u.x=g.x+o.clientLeft,u.y=g.y+o.clientTop}let m=a&&!f&&!i?dfe(a,d):_f(0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-d.scrollLeft*c.x+u.x+m.x,y:r.y*c.y-d.scrollTop*c.y+u.y+m.y}}function Iit(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function Oit(e){let t=i5(e),r=e.ownerDocument.body,o=Eu(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=Eu(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight),i=-t.scrollLeft+y9(e),a=-t.scrollTop;return Xn(r).direction==="rtl"&&(i+=Eu(e.clientWidth,r.clientWidth)-o),{width:o,height:n,x:i,y:a}}var Mit=25;function Ait(e,t,r){r===void 0&&(r="viewport");let o=r==="layoutViewport",n=Ht(e),i=ff(e),a=n.visualViewport,s=i.clientWidth,d=i.clientHeight,c=0,u=0;if(a){let m=!D8()||t==="fixed";o?m||(c=-a.offsetLeft,u=-a.offsetTop):(s=a.width,d=a.height,m&&(c=a.offsetLeft,u=a.offsetTop))}if(y9(i)<=0){let m=i.ownerDocument,g=m.body,h=getComputedStyle(g),b=m.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,_=Math.abs(i.clientWidth-g.clientWidth-b),y=getComputedStyle(i).scrollbarGutter==="stable both-edges"?_/2:_;y<=Mit&&(s-=y)}return{width:s,height:d,x:c,y:u}}function Nit(e,t){let r=dy(e,!0,t==="fixed"),o=r.top+e.clientTop,n=r.left+e.clientLeft,i=E1(e),a=e.clientWidth*i.x,s=e.clientHeight*i.y,d=n*i.x,c=o*i.y;return{width:a,height:s,x:d,y:c}}function ife(e,t,r){let o;if(t==="viewport"||t==="layoutViewport")o=Ait(e,r,t);else if(t==="document")o=Oit(ff(e));else if(Vt(t))o=Nit(t,r);else{let n=lfe(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Cg(o)}function Lit(e,t){let r=t.get(e);if(r)return r;let o=Su(e,[],!1).filter(s=>Vt(s)&&Kn(s)!=="body"),n=null,i=Xn(e).position==="fixed",a=i?ls(e):e;for(;Vt(a)&&!Gs(a);){let s=Xn(a),d=L8(a),c=n?n.position:i?"fixed":"";!d&&(c==="fixed"||c==="absolute"&&s.position==="static")?o=o.filter(f=>f!==a):n=s,a=ls(a)}return t.set(e,o),o}function Dit(e){let{element:t,boundary:r,rootBoundary:o,strategy:n}=e,a=[...r==="clippingAncestors"?n5(t)?[]:Lit(t,this._c):[].concat(r),o],s=ife(t,a[0],n),d=s.top,c=s.right,u=s.bottom,f=s.left;for(let m=1;m<a.length;m++){let g=ife(t,a[m],n);d=Eu(g.top,d),c=yb(g.right,c),u=yb(g.bottom,u),f=Eu(g.left,f)}return{width:c-f,height:u-d,x:f,y:d}}function Fit(e){let{width:t,height:r}=sfe(e);return{width:t,height:r}}function Vit(e,t,r){let o=vt(t),n=ff(t),i=r==="fixed",a=dy(e,!0,i,t),s={scrollLeft:0,scrollTop:0},d=_f(0);if((o||!i)&&((Kn(t)!=="body"||qw(n))&&(s=i5(t)),o)){let m=dy(t,!0,i,t);d.x=m.x+t.clientLeft,d.y=m.y+t.clientTop}!o&&n&&(d.x=y9(n));let c=n&&!o&&!i?dfe(n,s):_f(0),u=a.left+s.scrollLeft-d.x-c.x,f=a.top+s.scrollTop-d.y-c.y;return{x:u,y:f,width:a.width,height:a.height}}function bK(e){return Xn(e).position==="static"}function afe(e,t){if(!vt(e)||Xn(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return ff(e)===r&&(r=r.ownerDocument.body),r}function cfe(e,t){let r=Ht(e);if(n5(e))return r;if(!vt(e)){let n=ls(e);for(;n&&!Gs(n);){if(Vt(n)&&!bK(n))return n;n=ls(n)}return r}let o=afe(e,t);for(;o&&Cue(o)&&bK(o);)o=afe(o,t);return o&&Gs(o)&&bK(o)&&!L8(o)?r:o||kue(e)||r}var Bit=async function(e){let t=this.getOffsetParent||cfe,r=this.getDimensions,o=await r(e.floating);return{reference:Vit(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function zit(e){return Xn(e).direction==="rtl"}var P5={convertOffsetParentRelativeRectToViewportRelativeRect:Pit,getDocumentElement:ff,getClippingRect:Dit,getOffsetParent:cfe,getElementRects:Bit,getClientRects:Iit,getDimensions:Fit,getScale:E1,isElement:Vt,isRTL:zit};function ufe(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function jit(e,t,r){let o=null,n,i=ff(e);function a(){var u;clearTimeout(n),(u=o)==null||u.disconnect(),o=null}function s(u,f){u===void 0&&(u=!1),f===void 0&&(f=1),a();let m=e.getBoundingClientRect(),{left:g,top:h,width:b,height:_}=m;if(u||t(),!b||!_)return;let y=Sg(h),w=Sg(i.clientWidth-(g+b)),v=Sg(i.clientHeight-(h+_)),x=Sg(g),C={rootMargin:-y+"px "+-w+"px "+-v+"px "+-x+"px",threshold:Eu(0,yb(1,f))||1},k=!0;function E(I){let M=I[0].intersectionRatio;if(!ufe(m,e.getBoundingClientRect()))return s();if(M!==f){if(!k)return s();M?s(!1,M):n=setTimeout(()=>{s(!1,1e-7)},1e3)}k=!1}try{o=new IntersectionObserver(E,{...C,root:i.ownerDocument})}catch{o=new IntersectionObserver(E,C)}o.observe(e)}let d=Ht(e),c=()=>s(r);return d.addEventListener("resize",c),s(!0),()=>{d.removeEventListener("resize",c),a()}}function I5(e,t,r,o){o===void 0&&(o={});let{ancestorScroll:n=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:d=!1}=o,c=vK(e),u=n||i?[...c?Su(c):[],...t?Su(t):[]]:[];u.forEach(y=>{n&&y.addEventListener("scroll",r),i&&y.addEventListener("resize",r)});let f=c&&s?jit(c,r,i):null,m=-1,g=null;a&&(g=new ResizeObserver(y=>{let[w]=y;w&&w.target===c&&g&&t&&(g.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var v;(v=g)==null||v.observe(t)})),r()}),c&&!d&&g.observe(c),t&&g.observe(t));let h,b=d?dy(e):null;d&&_();function _(){let y=dy(e);b&&!ufe(b,y)&&r(),b=y,h=requestAnimationFrame(_)}return r(),()=>{var y;u.forEach(w=>{n&&w.removeEventListener("scroll",r),i&&w.removeEventListener("resize",r)}),f?.(),(y=g)==null||y.disconnect(),g=null,d&&cancelAnimationFrame(h)}}var pfe=tfe;var ffe=rfe,mfe=Jpe,gfe=nfe;var hfe=ofe,x9=(e,t,r)=>{let o=new Map,n=r??{},i={...P5,...n.platform,_c:o};return $pe(e,t,{...n,platform:i})};var vi=l(ee(),1),vfe=l(ee(),1),_fe=l(sc(),1),Uit=typeof document<"u",Wit=function(){},S9=Uit?vfe.useLayoutEffect:Wit;function C9(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,o,n;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(o=r;o--!==0;)if(!C9(e[o],t[o]))return!1;return!0}if(n=Object.keys(e),r=n.length,r!==Object.keys(t).length)return!1;for(o=r;o--!==0;)if(!{}.hasOwnProperty.call(t,n[o]))return!1;for(o=r;o--!==0;){let i=n[o];if(!(i==="_owner"&&e.$$typeof)&&!C9(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function wfe(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function bfe(e,t){let r=wfe(e);return Math.round(t*r)/r}function _K(e){let t=vi.useRef(e);return S9(()=>{t.current=e}),t}function yfe(e){e===void 0&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:o=[],platform:n,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:d,open:c}=e,[u,f]=vi.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[m,g]=vi.useState(o);C9(m,o)||g(o);let[h,b]=vi.useState(null),[_,y]=vi.useState(null),w=vi.useCallback(N=>{N!==C.current&&(C.current=N,b(N))},[]),v=vi.useCallback(N=>{N!==k.current&&(k.current=N,y(N))},[]),x=i||h,S=a||_,C=vi.useRef(null),k=vi.useRef(null),E=vi.useRef(u),I=d!=null,M=_K(d),R=_K(n),T=_K(c),O=vi.useCallback(()=>{if(!C.current||!k.current)return;let N={placement:t,strategy:r,middleware:m};R.current&&(N.platform=R.current),x9(C.current,k.current,N).then(L=>{let z={...L,isPositioned:T.current!==!1};A.current&&!C9(E.current,z)&&(E.current=z,_fe.flushSync(()=>{f(z)}))})},[m,t,r,R,T]);S9(()=>{c===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,f(N=>({...N,isPositioned:!1})))},[c]);let A=vi.useRef(!1);S9(()=>(A.current=!0,()=>{A.current=!1}),[]),S9(()=>{if(x&&(C.current=x),S&&(k.current=S),x&&S){if(M.current)return M.current(x,S,O);O()}},[x,S,O,M,I]);let D=vi.useMemo(()=>({reference:C,floating:k,setReference:w,setFloating:v}),[w,v]),V=vi.useMemo(()=>({reference:x,floating:S}),[x,S]),H=vi.useMemo(()=>{let N={position:r,left:0,top:0};if(!V.floating)return N;let L=bfe(V.floating,u.x),z=bfe(V.floating,u.y);return s?{...N,transform:"translate("+L+"px, "+z+"px)",...wfe(V.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:L,top:z}},[r,s,V.floating,u.x,u.y]);return vi.useMemo(()=>({...u,update:O,refs:D,elements:V,floatingStyles:H}),[u,O,D,V,H])}var wK=(e,t)=>{let r=pfe(e);return{name:r.name,fn:r.fn,options:[e,t]}},yK=(e,t)=>{let r=ffe(e);return{name:r.name,fn:r.fn,options:[e,t]}},xK=(e,t)=>({fn:hfe(e).fn,options:[e,t]}),SK=(e,t)=>{let r=mfe(e);return{name:r.name,fn:r.fn,options:[e,t]}},CK=(e,t)=>{let r=gfe(e);return{name:r.name,fn:r.fn,options:[e,t]}};var R1=class extends fs{setState(t){}update(t){}set(t,r){}notifyAll(){}};var E9="ArrowUp",R9="ArrowDown",T9="ArrowLeft",P9="ArrowRight",I9="Home",O9="End";var T1=new Set([E9,R9,T9,P9,I9,O9]),Git="Shift",Sfe=[Git,"Control","Alt","Meta"];function Yit(e){return vt(e)&&e.tagName==="INPUT"}function kK(e){return!!(Yit(e)&&e.selectionStart!=null||vt(e)&&e.tagName==="TEXTAREA")}function EK(e,t,r,o){if(!e||!t||!t.scrollTo)return;let n=e.scrollLeft,i=e.scrollTop,a=e.clientWidth<e.scrollWidth,s=e.clientHeight<e.scrollHeight;if(a&&o!=="vertical"){let d=xfe(e,t,"left"),c=k9(e),u=k9(t);r==="ltr"&&(d+t.offsetWidth+u.scrollMarginRight>e.scrollLeft+e.clientWidth-c.scrollPaddingRight?n=d+t.offsetWidth+u.scrollMarginRight-e.clientWidth+c.scrollPaddingRight:d-u.scrollMarginLeft<e.scrollLeft+c.scrollPaddingLeft&&(n=d-u.scrollMarginLeft-c.scrollPaddingLeft)),r==="rtl"&&(d-u.scrollMarginLeft<e.scrollLeft+c.scrollPaddingLeft?n=d-u.scrollMarginLeft-c.scrollPaddingLeft:d+t.offsetWidth+u.scrollMarginRight>e.scrollLeft+e.clientWidth-c.scrollPaddingRight&&(n=d+t.offsetWidth+u.scrollMarginRight-e.clientWidth+c.scrollPaddingRight))}if(s&&o!=="horizontal"){let d=xfe(e,t,"top"),c=k9(e),u=k9(t);d-u.scrollMarginTop<e.scrollTop+c.scrollPaddingTop?i=d-u.scrollMarginTop-c.scrollPaddingTop:d+t.offsetHeight+u.scrollMarginBottom>e.scrollTop+e.clientHeight-c.scrollPaddingBottom&&(i=d+t.offsetHeight+u.scrollMarginBottom-e.clientHeight+c.scrollPaddingBottom)}e.scrollTo({left:n,top:i,behavior:"auto"})}function xfe(e,t,r){let o=r==="left"?"offsetLeft":"offsetTop",n=0;for(;t.offsetParent&&(n+=t[o],t.offsetParent!==e);)t=t.offsetParent;return n}function k9(e){let t=getComputedStyle(e);return{scrollMarginTop:parseFloat(t.scrollMarginTop)||0,scrollMarginRight:parseFloat(t.scrollMarginRight)||0,scrollMarginBottom:parseFloat(t.scrollMarginBottom)||0,scrollMarginLeft:parseFloat(t.scrollMarginLeft)||0,scrollPaddingTop:parseFloat(t.scrollPaddingTop)||0,scrollPaddingRight:parseFloat(t.scrollPaddingRight)||0,scrollPaddingBottom:parseFloat(t.scrollPaddingBottom)||0,scrollPaddingLeft:parseFloat(t.scrollPaddingLeft)||0}}function Ef(e){return mb(19)?e:e?"true":void 0}var Cfe=l(ee(),1),kfe=l(P(),1),P1=Cfe.forwardRef(function(t,r){let{cutout:o,...n}=t,i;if(o){let a=o.getBoundingClientRect();i=`polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,${a.left}px ${a.top}px,${a.left}px ${a.bottom}px,${a.right}px ${a.bottom}px,${a.right}px ${a.top}px,${a.left}px ${a.top}px)`}return(0,kfe.jsx)("div",{ref:r,role:"presentation","data-base-ui-inert":"",...n,style:{position:"fixed",inset:0,userSelect:"none",WebkitUserSelect:"none",clipPath:i}})});var M5=l(ee(),1);var O5=l(ee(),1);function M9(e){let t=O5.useRef(""),r=O5.useCallback(n=>{n.defaultPrevented||(t.current=n.pointerType,e(n,n.pointerType))},[e]);return{onClick:O5.useCallback(n=>{if(n.detail===0){e(n,"keyboard");return}"pointerType"in n?e(n,n.pointerType):e(n,t.current),t.current=""},[e]),onPointerDown:r}}var Efe=l(ee(),1);function Xs(e,t){let r=Efe.useRef(e),o=ve(t);me(()=>{r.current!==e&&o(r.current),r.current=e},[e,o])}function qit(e,t){let r=ve((i,a)=>{(typeof e=="function"?e():e)||t(a||($t.os.ios?"touch":""))}),{onClick:o,onPointerDown:n}=M9(r);return M5.useMemo(()=>({onClick:o,onPointerDown:n}),[o,n])}function I1(e){let[t,r]=M5.useState(null),o=qit(e,r);return Xs(e,n=>{n&&!e&&r(null)}),M5.useMemo(()=>({openMethod:t,triggerProps:o}),[t,o])}var Xt=l(ee(),1);var Rfe=l(ee(),1);function A9(e){let t=Rfe.useRef(!0);t.current&&(t.current=!1,e())}function Tfe(e,t,r,o,n,i,a,s,d,c=2){let u=ope(r.current,{event:e,orientation:o,loopFocus:n,rtl:i,cols:c,disabledIndices:a,minIndex:s,maxIndex:d,prevIndex:t>d?s:t,stopEvent:!0});return Pd(r.current,u)?void 0:u}function Rf(e){return e==null?pe.none:e.type.startsWith("key")?pe.keyboard:e.type.startsWith("mouse")||e.type.startsWith("pointer")?pe.pointer:pe.none}var pc=l(ee(),1),RK=pc.createContext(void 0),TK=pc.createContext(void 0),PK=pc.createContext(void 0),IK=pc.createContext(!1),OK=pc.createContext("");function _r(){let e=pc.useContext(RK);if(!e)throw new Error(Je(22));return e}function Pb(){let e=pc.useContext(TK);if(!e)throw new Error(Je(23));return e}function fc(){let e=pc.useContext(PK);if(!e)throw new Error(Je(24));return e}function O1(){return pc.useContext(OK)}function Pfe(){return pc.useContext(IK)}function Ife(e,t,r=Object.is){let{length:o}=e;if(o!==t.length)return!1;for(let n=0;n<o;n+=1)if(!r(e[n],t[n]))return!1;return!0}var cy=(e,t)=>Object.is(e,t);function aa(e,t,r){return e==null||t==null?Object.is(e,t):r(e,t)}function N9(e,t,r){return Array.isArray(e)&&Array.isArray(t)?!Ife(e,t,(o,n)=>aa(o,n,r)):e!==t}function A5(e,t,r){return e?e.some(o=>o===void 0?!1:aa(t,o,r)):!1}function Iu(e,t,r){return e?e.findIndex(o=>o===void 0?!1:aa(o,t,r)):-1}function Kit(e,t){if(t!==cy)return o=>A5(e,o,t);let r=new Set(e);return r.delete(void 0),o=>r.has(o)&&(o!==0||e.some(n=>Object.is(o,n)))}function uy(e,t,r,o){let n=o&&Array.isArray(t)?e.findIndex(Kit(t,r)):Iu(e,t,r);return n===-1?null:n}function L9(e,t,r,o,n,i){return A5(o,t,n)?i!=null&&e>i&&A5(o,r[i],n)?i:e:e===i?uy(r,o,n,!0):i}function D9(e,t,r){return e.filter(o=>!aa(t,o,r))}var Ofe=l(ee(),1);function F9(e){if(e==null)return"";if(typeof e=="string")return e;try{return JSON.stringify(e)}catch{return String(e)}}var Mfe=l(P(),1);function Xit(e){return typeof e=="object"&&e!=null&&Array.isArray(e.items)}function V9(e){return Xit(e?.[0])}function py(e){return V9(e)?e.flatMap(t=>t.items):e}function B9(e){if(!Array.isArray(e))return e!=null&&"null"in e;let t=e;if(V9(t)){for(let r of t)for(let o of r.items)if(o&&o.value==null&&o.label!=null)return!0;return!1}for(let r of t)if(r&&r.value==null&&r.label!=null)return!0;return!1}function Zs(e,t){if(t&&e!=null)return t(e)??"";if(e&&typeof e=="object"){if("label"in e&&e.label!=null)return String(e.label);if("value"in e)return String(e.value)}return F9(e)}function Vl(e,t){return t&&e!=null?t(e)??"":e&&typeof e=="object"&&"value"in e&&"label"in e?F9(e.value):F9(e)}function N5(e,t,r){function o(){return Zs(e,r)}if(r&&e!=null)return r(e);if(e&&typeof e=="object"&&"label"in e&&e.label!=null)return e.label;if(t&&!Array.isArray(t))return(Object.hasOwn(t,e)?t[e]:void 0)??o();if(Array.isArray(t)){let i=py(t);if(e==null||typeof e!="object"){let a=i.find(s=>s.value===e);return a&&a.label!=null?a.label:o()}if("value"in e){let a=i.find(s=>s&&s.value===e.value);if(a&&a.label!=null)return a.label}}return o()}function z9(e,t,r){return e.reduce((o,n,i)=>(i>0&&o.push(", "),o.push((0,Mfe.jsx)(Ofe.Fragment,{children:N5(n,t,r)},i)),o),[])}var Afe={id:e=>e.id,labelId:e=>e.labelId,items:e=>e.items,selectedValue:e=>e.selectedValue,hasSelectionChips:e=>{let t=e.selectedValue;return Array.isArray(t)&&t.length>0},hasSelectedValue:e=>{let{selectedValue:t,selectionMode:r}=e;return t==null?!1:r==="multiple"&&Array.isArray(t)?t.length>0:!0},hasNullItemLabel:(e,t)=>t?B9(e.items):!1,open:e=>e.open,mounted:e=>e.mounted,forceMounted:e=>e.forceMounted,inline:e=>e.inline,activeIndex:e=>e.activeIndex,selectedIndex:e=>e.selectedIndex,isActive:(e,t)=>e.activeIndex===t,isSelected:(e,t)=>{let r=e.isItemEqualToValue,o=e.selectedValue;return Array.isArray(o)?o.some(n=>aa(t,n,r)):aa(t,o,r)},transitionStatus:e=>e.transitionStatus,popupProps:e=>e.popupProps,listProps:e=>e.listProps,inputProps:e=>e.inputProps,triggerProps:e=>e.triggerProps,itemRoot:e=>e.itemRoot,positionerElement:e=>e.positionerElement,listElement:e=>e.listElement,popupId:e=>e.popupId,triggerElement:e=>e.triggerElement,inputElement:e=>e.inputElement,inputGroupElement:e=>e.inputGroupElement,popupSide:e=>e.popupSide,openMethod:e=>e.openMethod,inputInsidePopup:e=>e.inputInsidePopup,inputOwnsFormValue:e=>e.inputOwnsFormValue,selectionMode:e=>e.selectionMode,name:e=>e.name,form:e=>e.form,disabled:e=>e.disabled,readOnly:e=>e.readOnly,required:e=>e.required,grid:e=>e.grid,virtualized:e=>e.virtualized,itemToStringLabel:e=>e.itemToStringLabel,isItemEqualToValue:e=>e.isItemEqualToValue,modal:e=>e.modal,autoHighlight:e=>e.autoHighlight};var j9=l(ee(),1);var Nfe="data-valid",Lfe="data-invalid";var fy={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},MK={valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},Ffe={disabled:!1,...MK},Nn={valid(e){return e===null?null:e?{[Nfe]:""}:{[Lfe]:""}}};var AK={invalid:void 0,name:void 0,validityData:{state:fy,errors:[],error:"",value:"",initialValue:null},setValidityData:Ct,disabled:void 0,setTouched:Ct,setDirty:Ct,setFilled:Ct,setFocused:Ct,focusOwnerRef:{current:void 0},validationMode:"onSubmit",shouldValidateOnChange:()=>!1,state:Ffe,registerFieldControl:Ct,validation:{getValidationProps:(e,t=ft)=>t,inputRef:{current:null},registeredInputs:new Map,registerInput:Ct,getInputControl:()=>null,commit:async()=>{},change:Ct}},L5=j9.createContext(AK);function Pr(e=!0){let t=j9.useContext(L5);if(t.setValidityData===Ct&&!e)throw new Error(Je(28));return t}function Ib(e,t,r,o,n=!0,i){let{registerFieldControl:a}=Pr(),s=Ot(()=>Symbol());me(()=>{let d=s.current;if(!n){a(d,void 0);return}a(d,{controlRef:e,getValue:o,id:t,name:i,value:r})},[e,n,o,t,i,a,s,r]),me(()=>{let d=s.current;return()=>{a(d,void 0)}},[a,s])}var H9=l(ee(),1);var Zit=H9.createContext({elementRef:{current:null},formRef:{current:{fields:new Map}},errors:{},clearErrors:Ct,validationMode:"onSubmit",submitCountRef:{current:0}});function ms(){return H9.useContext(Zit)}var LK=l(ee(),1);var U9=l(ee(),1);var NK=U9.createContext({controlId:void 0,registerControlId:Ct,resetControlId:Ct,labelId:void 0,setLabelId:Ct,messageIds:[],setMessageIds:Ct,getDescriptionProps:e=>e});function nn(){return U9.useContext(NK)}function mc(e={}){let{id:t,enabled:r=!0}=e,{controlId:o,registerControlId:n,resetControlId:i}=nn(),a=Lt(),s=Ot(()=>Symbol()),d=LK.useRef(!1),c=LK.useRef(!1),u=ve(()=>{!d.current||n===Ct||(d.current=!1,n(s.current,void 0))});return me(()=>{if(!r||n===Ct){u();return}let f;if(t!==void 0)c.current=!0,f=t;else if(c.current)f=a;else{i();return}if(f===void 0){u();return}d.current=!0,n(s.current,f)},[t,r,n,i,a,s,u]),me(()=>u,[u]),(r?o:void 0)??t??a}function W9(e){return e==null?void 0:`${e}-popup`}function G9(e,t){return(r,o)=>r==null?!1:e.contains(r,o,t)}function Vfe(e,t,r){return(o,n)=>{if(o==null)return!1;if(!n)return!0;let i=t?.selected??t,a=r!=null?Zs(r,i):"";return a&&e.contains(a,n)&&a.length===n.length?!0:e.contains(o,n,t)}}var Y9=l(ee(),1);function D5(e){return Array.isArray(e)?e.map(t=>D5(t)).join(","):e==null?"":String(e)}var Bfe=new Map;function my(e={}){let{locale:t,...r}=e,o={usage:"search",sensitivity:"base",ignorePunctuation:!0,...r},n=`${D5(t)}|${JSON.stringify(o)}`,i=Bfe.get(n);if(i)return i;let a=new Intl.Collator(t,o),s={contains(d,c,u){if(!c)return!0;let f=Zs(d,u);for(let m=0;m<=f.length-c.length;m+=1)if(a.compare(f.slice(m,m+c.length),c)===0)return!0;return!1},startsWith(d,c,u){if(!c)return!0;let f=Zs(d,u);return a.compare(f.slice(0,c.length),c)===0},endsWith(d,c,u){if(!c)return!0;let f=Zs(d,u),m=c.length;return f.length>=m&&a.compare(f.slice(f.length-m),c)===0}};return Bfe.set(n,s),s}var zfe=my;function jfe(e={}){let{multiple:t=!1,value:r,...o}=e,n=my(o),i=Y9.useCallback((a,s,d)=>t?G9(n,d)(a,s):Vfe(n,d,r)(a,s),[n,r,t]);return Y9.useMemo(()=>({...n,contains:i}),[i,n])}function Hfe(e,t=!1){let{overflowY:r}=Xn(e);return r!=="auto"&&r!=="scroll"?!1:t?e.clientHeight>0:e.scrollHeight>e.clientHeight}var DK=Symbol("none"),q9={value:DK,index:-1};var K9=l(ee(),1),FK=K9.createContext(void 0);function To(){return K9.useContext(FK)?.direction??"ltr"}function F5(e,t,r){let o=e.get(t);if(o!==void 0||r===cy)return o;for(let[n,i]of e)if(aa(n,t,r))return i}var Tf=l(P(),1);function Ufe(e){let{id:t,onOpenChangeComplete:r,defaultSelectedValue:o=null,selectedValue:n,onSelectedValueChange:i,defaultInputValue:a,inputValue:s,open:d,defaultOpen:c=!1,selectionMode:u,onItemHighlighted:f,name:m,form:g,disabled:h=!1,readOnly:b=!1,required:_=!1,inputRef:y,grid:w=!1,items:v,filteredItems:x,filter:S,filterQuery:C,openOnInputClick:k=!0,autoHighlight:E=!1,keepHighlight:I=!1,highlightItemOnHover:M=!0,loopFocus:R=!0,itemToStringLabel:T,itemToStringValue:O,isItemEqualToValue:A=cy,virtualized:D=!1,inline:V=!1,fillInputOnItemPress:H=!0,modal:N=!1,limit:L=-1,autoComplete:z="list",formAutoComplete:j,locale:F,submitOnItemClick:Y=!1}=e,{clearErrors:W}=ms(),{setDirty:Z,validityData:X,setFilled:q,name:ce,disabled:de,setTouched:he,setFocused:ge,validationMode:ye,validation:Te}=Pr(),te=To(),ae=mc({id:t}),ue=zfe({locale:F}),re=Array.isArray(v)?null:v;if(re&&typeof re.label!="function")throw new Error(Je(100));let _e=re?re.data:v,xe=re?.value,ke=xe?void 0:_e,ne=Xt.useMemo(()=>{if(!x||!xe)return;let Qe=py(x),$e=Qe.map(xe),dr;return{values:$e,findItem(Qr,wn){if(!dr){dr=new Map;for(let Ai=0;Ai<$e.length;Ai+=1)dr.has($e[Ai])||dr.set($e[Ai],Qe[Ai])}return F5(dr,Qr,wn)}}},[x,xe]),Re=Xt.useMemo(()=>re?Qe=>re.label(Qe,A,$e=>{let dr=ne?.findItem($e,A);return dr!=null?re.itemLabel(dr):Zs($e,T)}):T,[re,T,ne,A]),Ae=Xt.useMemo(()=>re?Object.assign(Qe=>re.itemLabel(Qe),{selected:Qe=>Zs(Qe,Re)}):T,[re,Re,T]);function Oe(Qe){return Zs(Qe,Re)}let[ie,be]=Xt.useState(!1),[Fe,Le]=Xt.useState(null),Ve=Xt.useRef(Fe),it=Xt.useRef([]),dt=Xt.useRef([]),We=Xt.useRef(null),Ye=Xt.useRef(null),St=Xt.useRef(null),Cr=Xt.useRef(null),Mt=Xt.useRef(null),hr=Xt.useRef(!1),et=Xt.useRef(null),At=Xt.useRef(null),Ze=Xt.useRef(null),J=Xt.useRef(q9),we=Xt.useRef(null),G=Xt.useRef([]),Me=Xt.useRef(null),tt=de||h,Ee=ce??m,ut=u==="multiple",Ie=u==="single",Ke=s!==void 0||a!==void 0,Se=_e!==void 0,Pe=x!==void 0,Qt;E==="always"?Qt="always":Qt=E?"input-change":!1;let[He,qe]=Fi({controlled:n,default:ut?o??Ur:o,name:"Combobox",state:"selectedValue"}),ze=Xt.useMemo(()=>S===null?()=>!0:S!==void 0?S:G9(ue,Ae),[S,ue,Ae]),bt=Ot(()=>Ke?a??"":Ie?Oe(He):"").current,[ot,Tt]=Fi({controlled:s,default:bt,name:"Combobox",state:"inputValue"}),[xt,Hr]=Fi({controlled:d,default:c,name:"Combobox",state:"open"}),Zr=V9(_e),Vo=!xt&&Fe!==null?Fe:String(ot).trim(),js=Ie?Oe(He):"",Eo=Ie&&!ie&&Vo!==""&&js.length===Vo.length&&ue.contains(js,Vo),In=Eo?"":C??Vo,Bo=Se&&Pe&&Eo&&(!re||re.hasValue(He,A)),ci=Xt.useMemo(()=>_e?py(_e):Ur,[_e]),ui=Xt.useMemo(()=>{if(x&&!Bo)return x;if(!_e)return Ur;if(Zr){let $e=_e,dr=[],Qr=0;for(let wn of $e){if(L>-1&&Qr>=L)break;let Ai=L>-1?L-Qr:1/0,en=In===""?wn.items.slice(0,Ai):[];if(In!=="")for(let pi of wn.items){if(en.length>=Ai)break;ze(pi,In,Ae)&&en.push(pi)}if(en.length>0){let pi={...wn,items:en};dr.push(pi),Qr+=en.length}}return dr}if(In==="")return L>-1?ci.slice(0,L):ci;let Qe=[];for(let $e of ci){if(L>-1&&Qe.length>=L)break;ze($e,In,Ae)&&Qe.push($e)}return Qe},[x,Bo,_e,Zr,In,L,ze,Ae,ci]),On=Xt.useMemo(()=>{if(ne&&ui===x)return ne.values;let Qe=py(ui);return xe?Qe.map($e=>xe($e)):Qe},[ui,x,ne,xe]),wt=Ot(()=>{let Qe=null;return V&&xt&&Se&&u!=="none"&&(Qe=uy(On,He,A,ut)),new fs({id:ae,labelId:void 0,selectedValue:He,open:xt,items:ke,selectionMode:u,name:Ee,form:g,disabled:tt,readOnly:b,required:_,grid:w,virtualized:D,openOnInputClick:k,itemToStringLabel:Re,isItemEqualToValue:A,modal:N,autoHighlight:Qt,submitOnItemClick:Y,hasInputValue:Ke,mounted:!1,forceMounted:!1,transitionStatus:"idle",inline:V,activeIndex:null,selectedIndex:Qe,popupProps:{},listProps:{},inputProps:{},triggerProps:{},itemRoot:{props:ft,id:ae,selectionMode:u,disabled:tt,readOnly:b,isItemEqualToValue:A},positionerElement:null,listElement:null,popupId:void 0,triggerElement:null,inputElement:null,inputGroupElement:null,popupSide:null,openMethod:null,inputInsidePopup:!0,inputOwnsFormValue:u==="none"},{onOpenChangeComplete:Ct,setOpen:Ct,setInputValue:Ct,setSelectedValue:Ct,setIndices:Ct,handleSelection:Ct,forceMount:Ct,requestSubmit:Ct,listRef:it,labelsRef:dt,popupRef:We,emptyRef:Mt,inputRef:Ye,startDismissRef:St,endDismissRef:Cr,chipsContainerRef:et,clearRef:At,valuesRef:G,pointerDownItemRef:Me,selectionEventRef:Ze},Afe)}).current,Wn=u==="none"?ot:He,Hs=Xt.useMemo(()=>u==="none"?Wn:Array.isArray(He)?He.map(Qe=>Vl(Qe,O)):Vl(He,O),[Wn,O,u,He]),bu=ve(f),bw=ve(r),ag=wt.useState("activeIndex"),vw=wt.useState("selectedIndex"),Zh=wt.useState("positionerElement"),vE=wt.useState("listElement"),vu=wt.useState("triggerElement"),_w=wt.useState("inputElement"),fP=wt.useState("inputGroupElement"),Mi=wt.useState("inline"),xd=wt.useState("inputInsidePopup"),mP=wt.useState("inputOwnsFormValue"),N0=Ie&&!xd&&ot===js,L0=Er(vu),{openMethod:SXe,triggerProps:Lse}=I1(xt),CXe=ve(()=>Hs);Ib(xd?L0:Ye,ae,Wn,CXe,!tt,m);let Dse=ve(()=>{_e?dt.current=On.map(Oe):wt.set("forceMounted",!0)}),D0=ve((Qe,$e,dr,Qr)=>{if($e===-1){if(J.current===q9)return;J.current=q9}else J.current={value:Qe,index:$e};bu(Qe,P8(dr,Qr,{index:$e}))}),sg=ve(Qe=>{let $e={};Qe.activeIndex!==void 0&&($e.activeIndex=Qe.activeIndex),Qe.selectedIndex!==void 0&&($e.selectedIndex=Qe.selectedIndex),wt.update($e);let dr=Qe.activeIndex;if(dr===void 0)return;let Qr=Qe.type||pe.none;dr===null?D0(void 0,-1,Qr,Qe.event):D0(G.current[dr],dr,Qr,Qe.event)}),tf=ve((Qe,$e)=>{if(e.onInputValueChange?.(Qe,$e),!$e.isCanceled){if(hr.current=$e.reason===pe.inputClear,$e.reason===pe.inputChange){xt&&Fe!==null&&Le(null);let dr=$e.event,Qr=dr.inputType;if(dr.type==="compositionend"||Qr!=null&&Qr!==""&&Qr!=="insertReplacementText"){let Ai=Qe.trim()!=="";Ai&&be(!0),we.current={hasQuery:Ai};let en=wt.state.listElement;if(!wt.state.virtualized&&en){let pi=We.current;for(let Sd of Su(en.firstElementChild??en)){if(!vt(Sd)||(pi?!Ge(pi,Sd):Sd.getAttribute("role")==="dialog"))break;if(Hfe(Sd)){Sd.scrollTop=0;break}}}Ai&&Qt&&wt.state.activeIndex==null&&(xt||Mi)&&wt.set("activeIndex",0)}}else $e.reason===pe.inputClear&&Qe===""&&wt.state.inputInsidePopup&&(we.current={hasQuery:!1,selection:!0});Tt(Qe)}}),Fse=ve(Qe=>{let $e=!Qe&&xd&&!Mi&&ot!==""&&(String(ot).trim()===Fe||ot===js);!Qe&&($e||ot===""||N0)&&be(!1),Le(null),$e&&tf("",Ne(pe.inputClear))}),[kXe,Vse]=Xt.useState(!1),ww=ve((Qe,$e)=>{if(xt===Qe)return;$e.reason===pe.escapeKey&&Se&&On.length===0&&!Mt.current&&$e.allowPropagation();let dr=$e,Qr=ry(dr);if(e.onOpenChange?.(Qe,dr),we.current?.hasQuery&&$e.reason===pe.inputChange===$e.isCanceled&&(we.current=null),!$e.isCanceled&&(Qe&&Fe!==null&&Fse($e.reason===pe.inputChange),!Qe&&ie&&(Ie?(Mi||Le(Vo),Vo===""&&be(!1)):ut&&(Mi||Le(Vo),xd&&sg({activeIndex:null}),(!xd||Mi)&&tf("",Ne(pe.inputClear,$e.event,void 0,{isItemPress:$e.reason===pe.itemPress})))),Qe||Vse(Qr()),Hr(Qe),!Qe&&xd&&($e.reason===pe.focusOut||$e.reason===pe.outsidePress)&&(he(!0),ge(!1),ye==="onBlur"))){let wn=u==="none"?ot:He;Te.commit(wn)}}),gP=ve((Qe,$e)=>{if(i?.(Qe,$e),$e.isCanceled)return;qe(Qe),(u==="none"&&We.current&&H||Ie&&!wt.state.inputInsidePopup)&&tf(Oe(Qe),Ne($e.reason,$e.event))}),EXe=ve((Qe,$e)=>{let dr=Bt(Qe),Qr=Ze.current??Qe;Ze.current=null;let wn=Ne(pe.itemPress,Qr),Ai=ds(dr,"a")?.getAttribute("href");if(Ai){Ai.startsWith("#")&&ww(!1,wn);return}if(ut){let en=Array.isArray(He)?He:[],pi=A5(en,$e,A),Sd=pi?D9(en,$e,A):[...en,$e];if(gP(Sd,wn),wn.isCanceled||!(Ye.current?Ye.current.value.trim()!=="":!1))return;if(wt.state.inputInsidePopup){tf("",Ne(pe.inputClear,wn.event,void 0,{isItemPress:!0}));let V0=we.current;V0&&!pi&&(V0.toggledValue=$e)}else ww(!1,wn)}else{if(gP($e,wn),wn.isCanceled)return;ww(!1,wn)}}),RXe=ve(()=>{let Qe=Te.inputRef.current?.form??wt.state.inputElement?.form;Qe&&typeof Qe.requestSubmit=="function"&&Qe.requestSubmit()}),TXe=ve(()=>{if(bw?.(!1),be(!1),Le(null),sg(u==="none"?{activeIndex:null,selectedIndex:null}:{activeIndex:null}),ut&&Ye.current&&Ye.current.value!==""&&!hr.current&&tf("",Ne(pe.inputClear)),Ie)if(wt.state.inputInsidePopup)Ye.current&&Ye.current.value!==""&&tf("",Ne(pe.inputClear));else{let Qe=Oe(He);if(Ye.current&&Ye.current.value!==Qe){let $e=Qe===""?pe.inputClear:pe.none;tf(Qe,Ne($e))}}}),hP=Xt.useMemo(()=>Mi&&Zh?{current:ds(Zh,'[role="dialog"]')}:We,[Mi,Zh]),{mounted:PXe,transitionStatus:Bse,forceUnmount:zse}=_1({open:xt,ref:hP,preventUnmountOnClose:kXe,setPreventUnmountOnClose:Vse,onUnmount:TXe});Xt.useImperativeHandle(e.actionsRef,()=>({unmount:zse,close:()=>ww(!1,Ne(pe.imperativeAction))}),[zse,ww]),me(function(){let $e=Ve.current!==null&&Fe===null;if(Ve.current=Fe,xt&&(!$e||!Se)||(xt||(Me.current=null),u==="none"))return;let dr=Se?On:G.current;sg({selectedIndex:uy(dr,He,A,ut)})},[xt,Fe,He,u,ut,Se,On,A,sg]),me(()=>{_e&&(G.current=On,it.current.length=On.length)},[_e,On]),me(()=>{!xt&&we.current?.hasQuery&&(we.current=null)},[xt]),me(()=>{if(!xt&&Mi&&hP.current){we.current=null;return}let Qe=Se||Pe?On:G.current,$e=we.current;if($e){let en=xt||Mi||wt.state.positionerElement?.hidden===!1;if($e.hasQuery){let pi=Ye.current;!Qt||String(ot).trim()===""||Mi&&Qt!=="always"&&(!pi||Ar(pi.ownerDocument)!==pi)?we.current=null:en&&(Qe[0]!==void 0||!Se&&!Pe)&&(wt.set("activeIndex",0),we.current=null)}else if(String(ot).trim()===""&&(we.current=null,en)){let pi=$e.selection;Qt==="always"&&!pi&&wt.state.selectionMode==="none"&&wt.set("activeIndex",0),queueMicrotask(()=>{if(!wt.state.open&&(!wt.state.inline||hP.current)||Ye.current&&Ye.current.value.trim()!=="")return;let Sd=wt.state.selectedValue,_E=wt.state.selectionMode==="multiple";if(_E&&Array.isArray(Sd)?Sd.length>0:wt.state.selectionMode!=="none"&&Sd!=null){let $se=Se||Pe?On:G.current,Jse=Iu($se,$e.toggledValue,wt.state.isItemEqualToValue);wt.set("activeIndex",Jse!==-1?Jse:uy($se,Sd,wt.state.isItemEqualToValue,_E))}else pi?wt.set("activeIndex",null):Qt==="always"&&wt.set("activeIndex",0)})}}if(!xt&&!Mi)return;let dr=wt.state.activeIndex;if(dr==null){if(Qt==="always"&&Qe.length>0){wt.set("activeIndex",0);return}D0(void 0,-1,pe.none);return}if(dr>=Qe.length){D0(void 0,-1,pe.none),wt.set("activeIndex",null);return}let Qr=Qe[dr],wn=J.current.value,Ai=wn!==DK&&aa(Qr,wn,wt.state.isItemEqualToValue);(J.current.index!==dr||!Ai)&&D0(Qr,dr,pe.none)},[ag,Qt,D0,Pe,Se,On,Mi,xt,hP,wt,ot]),me(()=>{if(u==="none"){q(String(ot)!=="");return}q(ut?Array.isArray(He)&&He.length>0:He!=null)},[q,u,ot,He,ut]),Xt.useEffect(()=>{Se&&Qt&&On.length===0&&sg({activeIndex:null})},[Se,Qt,On.length,sg]);function IXe(){xt&&Vo!==""&&Vo!==String(bt)&&!N0&&be(!0)}function OXe(){xt&&Fe!==null&&Fse(!1)}let jse=!1;function Hse(){!jse&&ot!==js&&(jse=!0,tf(js,Ne(pe.none)))}function MXe(){u!=="none"&&(W(Ee),Z(N9(He,X.initialValue,A)),Te.change(He),Ie&&!Ke&&!xd&&Hse())}function Use(){Ie&&!Ke&&!xd&&!ie&&Hse()}function AXe(){u==="none"&&(W(Ee),Z(ot!==X.initialValue),Te.change(ot))}Xs(Vo,IXe),Xs(xt,OXe),Xs(He,MXe),Xs(js,Use),Xs(_e,Use),Xs(ot,AXe);let bP=C5({open:Mi?!0:xt,onOpenChange:ww,elements:{reference:xd?vu:_w,floating:Zh}}),Wse=w?"grid":"listbox",vP=xt||Mi,Gse=vP?"true":"false",_P=Xt.useMemo(()=>{let Qe=_w?.tagName==="INPUT",$e=_w==null||Qe,dr=$e||vP,Qr=$e?{autoComplete:"off",spellCheck:"false",autoCorrect:"off",autoCapitalize:"none"}:{};return dr&&(Qr.role="combobox",Qr["aria-expanded"]=Gse,Qr["aria-haspopup"]=Wse,Qr["aria-controls"]=vP?vE?.id:void 0,Qr["aria-autocomplete"]=b?"none":z),{reference:Qr,floating:{role:"presentation"}}},[_w,vP,Gse,Wse,vE?.id,z,b]),Yse=Pu(bP,{enabled:!tt&&k,event:"mousedown-only",toggle:!1,touchOpenDelay:xd?0:100,reason:pe.inputPress}),wP=Eg(bP,{enabled:!tt&&!Mi,outsidePressEvent:{mouse:"sloppy",touch:"intentional"},bubbles:Mi?!0:void 0,outsidePress(Qe){let $e=Bt(Qe);return!Ge(vu,$e)&&!Ge(At.current,$e)&&!Ge(et.current,$e)&&!Ge(fP,$e)}}),F0=iy(bP,{enabled:!tt,id:ae,listRef:it,activeIndex:ag,selectedIndex:vw,virtual:!0,loopFocus:R,allowEscape:R&&!Qt,focusItemOnOpen:ie||u==="none"&&!Qt?!1:"auto",focusItemOnHover:M,resetOnPointerLeave:!I,orientation:w?"horizontal":void 0,rtl:te==="rtl",disabledIndices:Ur,grid:w?Tfe:void 0,onNavigate(Qe,$e){!$e&&!xt&&!(Mi&&Qe===null)||Bse==="ending"||sg({activeIndex:Qe,type:Rf($e),event:$e?.nativeEvent})}}),qse=Xt.useMemo(()=>at(F0.reference,{onKeyDown(Qe){w&&wt.state.activeIndex==null&&(Qe.key==="ArrowLeft"||Qe.key==="ArrowRight")&&Qe.preventBaseUIHandler()}},wP.reference,Yse.reference,_P.reference),[F0.reference,wP.reference,Yse.reference,_P.reference,w,wt]),Kse=Xt.useMemo(()=>at(Eb,wP.floating),[wP.floating]),Xse=Xt.useMemo(()=>at(F0.floating,_P.floating),[F0.floating,_P.floating]),Zse=Xt.useMemo(()=>{let Qe=F0.item;return{props:Qe?{...Qe,onFocus:void 0}:ft,id:ae,selectionMode:u,disabled:tt,readOnly:b,isItemEqualToValue:A}},[F0.item,ae,u,tt,b,A]);wt.useContextCallback("setOpen",ww),wt.useContextCallback("setInputValue",tf),wt.useContextCallback("setSelectedValue",gP),wt.useContextCallback("setIndices",sg),wt.useContextCallback("handleSelection",EXe),wt.useContextCallback("forceMount",Dse),wt.useContextCallback("requestSubmit",RXe),wt.useContextCallback("onOpenChangeComplete",r),A9(()=>{wt.update({inline:V,popupProps:Kse,listProps:Xse,inputProps:qse,triggerProps:Lse,itemRoot:Zse})});let Qse={id:ae,selectedValue:He,open:xt,mounted:PXe,transitionStatus:Bse,items:ke,inline:V,popupProps:Kse,listProps:Xse,inputProps:qse,triggerProps:Lse,itemRoot:Zse,openMethod:SXe,selectionMode:u,name:Ee,form:g,disabled:tt,readOnly:b,required:_,grid:w,virtualized:D,openOnInputClick:k,itemToStringLabel:Re,modal:N,autoHighlight:Qt,isItemEqualToValue:A,submitOnItemClick:Y,hasInputValue:Ke};me(()=>{wt.update({...Qse,inputOwnsFormValue:u==="none"&&(V||!wt.state.inputInsidePopup)})},[wt,...Object.values(Qse)]);let NXe=Ro(y,Te.inputRef),LXe=Xt.useMemo(()=>({query:Vo,hasItems:Se,filteredItems:ui,flatFilteredValues:On}),[Vo,Se,ui,On]),DXe=Xt.useMemo(()=>Array.isArray(Wn)?"":Vl(Wn,O),[Wn,O]),FXe=ut&&Array.isArray(He)&&He.length>0,mW=ut||u==="none"&&mP?void 0:Ee,VXe=Xt.useMemo(()=>!ut||!Array.isArray(He)||!Ee?null:He.map(Qe=>{let $e=Vl(Qe,O);return(0,Tf.jsx)("input",{type:"hidden",form:g,name:Ee,value:$e,disabled:tt},$e)}),[ut,He,g,Ee,O,tt]),BXe=(0,Tf.jsxs)(Xt.Fragment,{children:[e.children,(0,Tf.jsx)("input",{...Te.getValidationProps(tt,{onFocus(){if(xd){vu?.focus();return}(Ye.current||vu)?.focus()},onChange(Qe){if(Qe.nativeEvent.defaultPrevented||tt||b)return;let $e=Qe.currentTarget.value,dr=$e.toLowerCase(),Qr=Ne(pe.none,Qe.nativeEvent),wn=()=>G.current.findIndex(en=>Vl(en,O).toLowerCase()===dr||Oe(en).toLowerCase()===dr);function Ai(){if(ut)return;if(u==="none"){tf($e,Qr);return}let en=wn();en===-1&&(en=G.current.findIndex((Sd,_E)=>{let V0=dt.current[_E];return V0!=null&&V0.toLowerCase()===dr}));let pi=en===-1?void 0:G.current[en];pi!=null&&gP?.(pi,Qr)}Ie&&(Dse(),_e&&wn()===-1&&wt.set("forceMounted",!0)),queueMicrotask(Ai)}}),id:ae&&mW==null?`${ae}-hidden-input`:void 0,form:g,name:mW,autoComplete:j,disabled:tt,required:_&&!FXe,readOnly:b,value:DXe,ref:NXe,style:mW?wb:vf,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),VXe]});return(0,Tf.jsx)(RK.Provider,{value:wt,children:(0,Tf.jsx)(TK.Provider,{value:bP,children:(0,Tf.jsx)(IK.Provider,{value:Se,children:(0,Tf.jsx)(PK.Provider,{value:LXe,children:(0,Tf.jsx)(OK.Provider,{value:ot,children:BXe})})})})})}var V5=l(ee(),1);var qqt=bf.popupOpen,Kqt=bf.pressed;var Wfe="data-popup-side";var Gfe="data-list-empty";var M1={...Zw,...Nn,popupSide:e=>e?{[Wfe]:e}:null,listEmpty:e=>e?{[Gfe]:""}:null};function Pf(e,t,r){let{setFocused:o,focusOwnerRef:n}=Pr(),i=ve(a=>{(a?!e:n.current===i)&&(n.current=a&&i,r?.(a),o(a))});return me(()=>{let a=t.current;return a?.getRootNode()?.activeElement===a&&i(!0),()=>i(!1)},[e,t,i]),i}var X9=5;function A1(e,t){let r=Qit(t);return e.clientX>=r.left-X9&&e.clientX<=r.right+X9&&e.clientY>=r.top-X9&&e.clientY<=r.bottom+X9}function Qit(e){let t=e.getBoundingClientRect(),r=Ht(e);if($t.env.jsdom)return t;let o=r.getComputedStyle(e,"::before"),n=r.getComputedStyle(e,"::after");if(!(o.content!=="none"||n.content!=="none"))return t;let a=parseFloat(o.width)||0,s=parseFloat(o.height)||0,d=parseFloat(n.width)||0,c=parseFloat(n.height)||0,u=Math.max(t.width,a,d),f=Math.max(t.height,s,c),m=u-t.width,g=f-t.height;return{left:t.left-m/2,right:t.right+m/2,top:t.top-g/2,bottom:t.bottom+g/2}}function Z9(e){return e==null?void 0:`${e}-label`}function Q9(e,t){return e??t}function N1(e){let t=e.useState("mounted"),r=e.useState("popupSide"),o=e.useState("positionerElement");return t&&o?r:null}function If(){return fc().filteredItems.length===0}function $9(e){return e==="rtl"?["ArrowRight","ArrowLeft"]:["ArrowLeft","ArrowRight"]}function qfe(e,t){let r=e>=t-1?t-2:e;return r>=0?r:void 0}function J9(e,t,r){let o=e.context.listRef.current[t];o&&(e.context.selectionEventRef.current=r,o.click(),e.context.selectionEventRef.current=null)}var Kfe=V5.forwardRef(function(t,r){let{render:o,className:n,nativeButton:i=!0,disabled:a=!1,id:s,style:d,...c}=t,{state:u,disabled:f,setTouched:m,validationMode:g,validation:h}=Pr(),{labelId:b}=nn(),_=_r(),y=_.useState("selectionMode"),w=_.useState("disabled"),v=_.useState("readOnly"),x=_.useState("required"),S=_.useState("positionerElement"),C=_.useState("listElement"),k=_.useState("popupId"),E=_.useState("triggerProps"),I=_.useState("inputInsidePopup"),M=_.useState("id"),R=_.useState("labelId"),T=_.useState("open"),O=_.useState("selectedValue"),A=_.useState("activeIndex"),D=_.useState("selectedIndex"),V=_.useState("hasSelectedValue"),H=Pb(),N=O1(),L=ur(),z=f||w||a,j=If(),F=N1(_),Y=V5.useRef(null),W=Pf(z,Y);mc({id:I?s:void 0});let Z=I?s??M:s,X=Q9(b,R),q;T&&I?q=k??W9(M):T&&(q=C?.id);let ce=V5.useRef("");function de(re){ce.current=re.pointerType}let{reference:he}=sy(H,{enabled:!T&&!v&&!w&&y==="single",listRef:_.context.labelsRef,activeIndex:A,selectedIndex:D,onMatch(re){let _e=_.context.valuesRef.current[re];_e!==void 0&&_.context.setSelectedValue(_e,Ne(pe.none))}}),{reference:ge}=Pu(H,{enabled:!w,event:"mousedown"}),{buttonRef:ye,getButtonProps:Te}=Jr({native:i,disabled:z}),te={...u,readOnly:v,open:T,disabled:z,popupSide:F,listEmpty:j,placeholder:y==="none"?!1:!V},ae=ve(re=>{_.set("triggerElement",re)});return Ce("button",t,{ref:[r,ye,Y,ae],state:te,props:[E,ge,he,{id:Z,tabIndex:I?0:-1,role:I?"combobox":void 0,"aria-expanded":T,"aria-haspopup":I?"dialog":"listbox","aria-controls":q,"aria-required":I&&x||void 0,"aria-readonly":I&&v||void 0,"aria-labelledby":X,onPointerDown:de,onPointerEnter:de,onFocus(){W(!0),!z&&L.start(0,_.context.forceMount)},onBlur(re){if(!Ge(S,re.relatedTarget)&&(m(!0),W(!1),g==="onBlur")){let _e=y==="none"?N:O;h.commit(_e)}},onMouseDown(re){if(z||(I||H.set("domReferenceElement",re.currentTarget),_.context.forceMount(),ce.current!=="touch"&&(_.context.inputRef.current?.focus(),I||re.preventDefault()),T))return;let _e=st(re.currentTarget);function xe(ke){let ne=_.state.triggerElement;if(!ne)return;let Re=Bt(ke),Ae=_.state.positionerElement,Oe=_.state.listElement;Ge(ne,Re)||Ge(Ae,Re)||Ge(Oe,Re)||A1(ke,ne)||_.context.setOpen(!1,Ne(pe.cancelOpen,ke))}I&&_e.addEventListener("mouseup",xe,{once:!0})},onKeyDown(re){(re.key==="ArrowDown"||re.key==="ArrowUp")&&(vr(re),_.context.setOpen(!0,Ne(pe.listNavigation,re.nativeEvent)),_.context.inputRef.current?.focus())}},h.getValidationProps(z,c),Te],stateAttributesMapping:M1})});var Rg=l(ee(),1);var eI=l(ee(),1),VK=eI.createContext(void 0);function tI(){return eI.useContext(VK)}var rI=l(ee(),1),BK=rI.createContext(void 0);function Ob(e){let t=rI.useContext(BK);if(t===void 0&&!e)throw new Error(Je(21));return t}var Xfe=l(ee(),1);var Zfe=l(P(),1),oI=Xfe.forwardRef(function(t,r){let o=_r(),{buttonRef:n,getButtonProps:i}=Jr({native:!1}),a=Ro(r,n);function s(c){o.context.setOpen(!1,Ne(pe.closePress,c.nativeEvent,c.currentTarget))}let d=i({onClick:s});return(0,Zfe.jsx)("span",{ref:a,...d,"aria-label":"Dismiss",tabIndex:void 0,style:wb})});var B5=l(P(),1),Qfe=Rg.forwardRef(function(t,r){let{render:o,className:n,disabled:i=!1,id:a,style:s,...d}=t,{state:c,disabled:u,setTouched:f,validationMode:m,validation:g}=Pr(),{labelId:h}=nn(),b=tI(),y=!!Ob(!0),w=_r(),v=O1(),x=To(),S=w.useState("required"),C=w.useState("disabled"),k=w.useState("readOnly"),E=w.useState("name"),I=w.useState("form"),M=w.useState("selectionMode"),R=w.useState("autoHighlight"),T=w.useState("inputProps"),O=w.useState("triggerProps"),A=w.useState("open"),D=w.useState("mounted"),V=w.useState("selectedValue"),H=w.useState("id"),N=w.useState("inline"),L=w.useState("modal"),z=!!R,j=N1(w),F=u||C||i,Y=If(),W=Pf(F,w.context.inputRef),Z=y||N,X=!Z||L,q=Lt(a??(Z?void 0:H)),ce=y?MK:c,[de,he]=Rg.useState(null),ge=Rg.useRef(!1),ye=Rg.useRef(null);me(()=>{A||(ye.current=null)},[A]);let Te=M==="none"&&!y,te=ve(ne=>{let Re=y||w.state.inline;Re&&!w.state.hasInputValue&&w.context.setInputValue("",Ne(pe.none)),w.update({inputElement:ne,inputInsidePopup:Re,inputOwnsFormValue:Te})}),ae=y?d:g.getValidationProps(F,d);function ue(ne){w.context.setIndices({activeIndex:null,selectedIndex:null,type:Rf(ne),event:ne})}let re={...ce,open:A,disabled:F,readOnly:k,popupSide:j,listEmpty:Y};function _e(ne){if(!b)return;let Re,Ae=b.chipsRef.current.length,[Oe]=$9(x);return ne.key===Oe&&(ne.currentTarget.selectionStart??0)===0&&V.length>0&&(ne.preventDefault(),Re=Ae>0?Ae-1:void 0),Re}let xe=Ce("input",t,{state:re,ref:[r,w.context.inputRef,te],props:[T,O,{value:de??v,"aria-readonly":k||void 0,"aria-required":S||void 0,"aria-labelledby":h,disabled:F,readOnly:k,required:M==="none"?S:void 0,form:I,...Te&&E&&{name:E},id:q,onFocus(){if(W(!0),!N)return;let ne=ye.current;ye.current=null,!(ne==null||!Object.hasOwn(w.context.valuesRef.current,ne))&&w.context.setIndices({activeIndex:ne})},onBlur(){f(!0),W(!1);let ne=w.state.activeIndex;if(N&&ne!==null&&R!=="always"&&(ye.current=ne,w.context.setIndices({activeIndex:null})),m==="onBlur"){let Re=M==="none"?v:V;g.commit(Re)}},onCompositionStart(ne){$t.os.android||(ge.current=!0,he(ne.currentTarget.value))},onCompositionEnd(ne){ge.current=!1;let Re=ne.currentTarget.value;he(null),w.context.setInputValue(Re,Ne(pe.inputChange,ne.nativeEvent))},onChange(ne){let Re=ne.nativeEvent,Ae=Re.inputType,Oe=!Ae||Ae==="insertReplacementText",ie=ge.current||!Oe;function be(it){k||F||!it||!ie||(w.context.setOpen(!0,Ne(pe.inputChange,Re)),z||ue(Re))}if(ge.current){let it=ne.currentTarget.value;he(it),it===""&&!w.state.openOnInputClick&&!w.state.inputInsidePopup&&w.context.setOpen(!1,Ne(pe.inputClear,Re));let dt=it.trim(),We=z&&dt!=="";be(dt),A&&w.state.activeIndex!==null&&!We&&ue(Re);return}let Fe=Ne(pe.inputChange,Re);if(w.context.setInputValue(ne.currentTarget.value,Fe),Fe.isCanceled)return;let Le=ne.currentTarget.value==="",Ve=Ne(pe.inputClear,Re);Le&&!w.state.inputInsidePopup&&(M==="single"&&w.context.setSelectedValue(null,Ve),w.state.openOnInputClick||w.context.setOpen(!1,Ve)),be(ne.currentTarget.value.trim()),A&&w.state.activeIndex!==null&&!z&&ue(Re)},onKeyDown(ne){if(ne.ctrlKey||ne.shiftKey||ne.altKey||ne.metaKey)return;if(F||k){k&&ne.key==="Enter"&&A&&w.state.activeIndex!==null&&vr(ne);return}let Re=ne.currentTarget,Ae=Re.scrollWidth-Re.clientWidth,Oe=x==="rtl";if(ne.key==="Home"){vr(ne);let be=$t.engine.gecko&&Oe?Re.value.length:0;Re.setSelectionRange(be,be),Re.scrollLeft=0;return}if(ne.key==="End"){vr(ne);let be=$t.engine.gecko&&Oe?0:Re.value.length;Re.setSelectionRange(be,be),Re.scrollLeft=Oe?-Ae:Ae;return}if(!D&&ne.key==="Escape"){let be=M==="multiple"&&Array.isArray(V)?V.length===0:V===null,Fe=Ne(pe.escapeKey,ne.nativeEvent),Le=M==="multiple"?[]:null;w.context.setInputValue("",Fe),w.context.setSelectedValue(Le,Fe),!be&&!w.state.inline&&!Fe.isPropagationAllowed&&ne.stopPropagation();return}if(b&&ne.key==="Backspace"&&Re.value===""&&Array.isArray(V)&&V.length>0){let be=b.chipsRef.current.length,Fe=be>0?be-1:V.length-1,Le=V.filter((Ve,it)=>it!==Fe);ue(ne.nativeEvent),w.context.setSelectedValue(Le,Ne(pe.none,ne.nativeEvent));return}let ie=_e(ne);if(ie!==void 0&&b?.chipsRef.current[ie]?.focus(),ne.which!==229&&ne.key==="Enter"&&A){let be=w.state.activeIndex,Fe=ne.nativeEvent;if(be===null){if(N)return;w.context.setOpen(!1,Ne(pe.none,Fe));return}vr(ne),J9(w,be,Fe)}}},ae],stateAttributesMapping:M1}),ke=y?(0,B5.jsx)(L5.Provider,{value:AK,children:xe}):xe;return(0,B5.jsxs)(Rg.Fragment,{children:[A&&X&&(0,B5.jsx)(oI,{ref:w.context.startDismissRef}),ke]})});var $fe=l(ee(),1);function nI(e,t,r,o){if(e.baseUIHandlerPrevented)return;let n=Bt(e.nativeEvent),i=Vt(n)?n:null;i!==e.currentTarget&&(o?.(i)||d5(i))||(e.preventDefault(),!r&&(t.context.inputRef.current?.focus(),t.state.openOnInputClick&&t.context.setOpen(!0,Ne(pe.inputPress,e.nativeEvent))))}var Jfe=$fe.forwardRef(function(t,r){let{render:o,className:n,style:i,...a}=t,{state:s}=Pr(),d=_r(),c=d.useState("open"),u=d.useState("disabled"),f=d.useState("readOnly"),m=d.useState("hasSelectedValue"),g=d.useState("selectionMode"),h=N1(d),b=u,_=If(),w={...s,open:c,disabled:b,readOnly:f,popupSide:h,listEmpty:_,placeholder:g==="none"?!1:!m},v=ve(x=>{d.set("inputGroupElement",x)});return Ce("div",t,{ref:[r,v],props:[{role:"group",onMouseDown(x){nI(x,d,b,S=>Ge(d.context.chipsContainerRef.current,S))}},a],state:w,stateAttributesMapping:M1})});var eme=l(ee(),1);var tme=eme.forwardRef(function(t,r){let{render:o,className:n,style:i,...a}=t;return Ce("span",t,{ref:r,props:[{"aria-hidden":!0,children:"\u25BC"},a]})});var rme=l(ee(),1);var $it={...go,...bb},ome=rme.forwardRef(function(t,r){let{render:o,className:n,disabled:i=!1,nativeButton:a=!0,keepMounted:s=!1,style:d,...c}=t,{disabled:u}=Pr(),f=_r(),m=f.useState("selectionMode"),g=f.useState("disabled"),h=f.useState("readOnly"),b=f.useState("open"),_=f.useState("selectedValue"),y=f.useState("hasSelectionChips"),w=O1(),v=!1;m==="none"?v=w!=="":m==="single"?v=_!=null:v=y;let x=u||g||i,{buttonRef:S,getButtonProps:C}=Jr({native:a,disabled:x}),{mounted:k,transitionStatus:E,setMounted:I}=An(v),M={disabled:x,visible:v,open:b,transitionStatus:E};mo({open:v,ref:f.context.clearRef,onComplete(){v||I(!1)}});let R=Ce("button",t,{state:M,ref:[r,S,f.context.clearRef],props:[{tabIndex:-1,children:"x",onMouseDown(O){O.preventDefault()},onClick(O){if(x||h)return;let A=Rf(O);f.context.setInputValue("",Ne(pe.clearPress,O.nativeEvent)),m!=="none"?(f.context.setSelectedValue(Array.isArray(_)?[]:null,Ne(pe.clearPress,O.nativeEvent)),f.context.setIndices({activeIndex:null,selectedIndex:null,type:A,event:O.nativeEvent})):f.context.setIndices({activeIndex:null,type:A,event:O.nativeEvent}),f.context.inputRef.current?.focus()}},c,C],stateAttributesMapping:$it});return s||k?R:null});var aI=l(ee(),1);var lme=l(ee(),1);var L1=l(ee(),1),nme=l(P(),1),ime=L1.createContext(null);function ame(){return L1.useContext(ime)}function sme(e){let{children:t,items:r}=e,o=L1.useMemo(()=>({items:r}),[r]);return(0,nme.jsx)(ime.Provider,{value:o,children:t})}var dme=l(P(),1);function iI(e){let{children:t}=e,{filteredItems:r}=fc(),o=ame(),n=o?o.items:r;return(0,dme.jsx)(lme.Fragment,{children:n.map(t)})}var zK=l(P(),1),cme=aI.forwardRef(function(t,r){var o;let{render:n,className:i,style:a,children:s,...d}=t,c=_r(),u=Pb(),f=!!Ob(!0),{filteredItems:m,hasItems:g}=fc(),h=c.useState("selectionMode"),b=c.useState("grid"),_=c.useState("readOnly"),y=c.useState("listProps"),w=c.useState("virtualized"),v=c.useState("forceMounted"),x=h==="multiple",S=m.length===0,C=ve(O=>{c.set("positionerElement",O)}),k=ve(O=>{c.set("listElement",O)}),E=aI.useMemo(()=>typeof s=="function"?o||(o=(0,zK.jsx)(iI,{children:s})):s,[s]),I={empty:S},M=u.useState("floatingId"),R=Ce("div",t,{state:I,ref:[r,k,f?null:C],props:[y,{children:E,tabIndex:-1,id:M,role:b?"grid":"listbox","aria-multiselectable":x?"true":void 0,"aria-readonly":!b&&_?!0:void 0,onKeyDown(O){if(!(c.state.disabled||c.state.readOnly)&&O.key==="Enter"){let A=c.state.activeIndex;if(A==null)return;vr(O),J9(c,A,O.nativeEvent)}}},d]});if(w)return R;let T=g&&!v?void 0:c.context.labelsRef;return(0,zK.jsx)(dc,{elementsRef:c.context.listRef,labelsRef:T,children:R})});var ume=l(ee(),1);var sI=l(ee(),1);var Jit="\u2060",eat=200;function tat(e){let t=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_TEXT),r=null;for(;t.nextNode();){let o=t.currentNode;o.nodeValue!==""&&(r=o)}return r}function D1(e=!0){let t=ur(),r=sI.useRef(null);return sI.useEffect(()=>{if(!e||$t.os.ios)return;let o=r.current;if(o==null)return;let n=tat(o);if(n==null)return;let i=n.data,a=`${i}${Jit}`;return n.nodeValue=a,t.start(eat,()=>{n.nodeValue===a&&(n.nodeValue=i)}),()=>{t.clear(),n.nodeValue===a&&(n.nodeValue=i)}},[e,r,t]),r}var pme=ume.forwardRef(function(t,r){let{render:o,className:n,style:i,children:a,...s}=t,d=D1();return Ce("div",t,{ref:[r,d],props:[{children:a,role:"status","aria-live":"polite","aria-atomic":!0},s]})});var mme=l(ee(),1);var lI=l(ee(),1),jK=lI.createContext(void 0);function fme(){let e=lI.useContext(jK);if(e===void 0)throw new Error(Je(20));return e}var HK=l(P(),1),gme=mme.forwardRef(function(t,r){let{keepMounted:o=!1,...n}=t,i=_r(),a=i.useState("mounted"),s=i.useState("forceMounted");return a||o||s?(0,HK.jsx)(jK.Provider,{value:o,children:(0,HK.jsx)(ey,{ref:r,...n})}):null});var hme=l(ee(),1);var rat={...Aa,...go},bme=hme.forwardRef(function(t,r){let{render:o,className:n,style:i,...a}=t,s=_r(),d=s.useState("open"),c=s.useState("mounted"),u=s.useState("transitionStatus");return Ce("div",t,{state:{open:d,transitionStatus:u},ref:r,stateAttributesMapping:rat,props:[{role:"presentation",hidden:!c,style:{userSelect:"none",WebkitUserSelect:"none"}},a]})});var Ame=l(ee(),1);var Id=l(ee(),1);var gc=l(ee(),1);function vme(e){let{nodeId:t,externalTree:r,rootContext:o}=e,n=o.useState("referenceElement"),i=o.useState("floatingElement"),a=o.useState("domReferenceElement"),s=o.useState("open"),d=o.useState("floatingId"),[c,u]=gc.useState(null),f=gc.useRef(null),m=us(r),g=gc.useMemo(()=>({reference:n,floating:i,domReference:a}),[n,i,a]),h=yfe({...e,elements:{...g,...c&&{reference:c}}}),b=gc.useCallback(v=>{let x=Vt(v)?{getBoundingClientRect:()=>v.getBoundingClientRect(),getClientRects:()=>v.getClientRects(),contextElement:v}:v;u(x),h.refs.setReference(x)},[h.refs]),_=gc.useMemo(()=>({...h.refs,setPositionReference:b,domReference:f}),[h.refs,b]),y=gc.useMemo(()=>({...h.elements,domReference:a}),[h.elements,a]),w=gc.useMemo(()=>({...h,dataRef:o.context.dataRef,open:s,onOpenChange:o.setOpen,events:o.context.events,floatingId:d,refs:_,elements:y,nodeId:t,rootStore:o}),[h,_,y,t,o,s,d]);return me(()=>{a&&(f.current=a)},[a]),me(()=>{o.context.dataRef.current.floatingContext=w;let v=m?.nodesRef.current.find(x=>x.id===t);v&&(v.context=w)}),gc.useMemo(()=>({...h,context:w,refs:_,elements:y,rootStore:o}),[h,_,y,w,o])}var oat=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:o,placement:n,rects:i,platform:a,elements:s,middlewareData:d}=t,{element:c,padding:u=0}=wf(e,t)||{};if(c==null)return{};let f=K8(u),m={x:r,y:o},g=f5(n),h=p5(g),b=await a.getDimensions(c),_=g==="y",y=_?"top":"left",w=_?"bottom":"right",v=_?"clientHeight":"clientWidth",x=i.reference[h]+i.reference[g]-m[g]-i.floating[h],S=m[g]-i.reference[g],C=s.floating[v]||i.floating[h],k=x/2-S/2,E=C/2-b[h]/2-1,I=Math.min(f[y],E),M=Math.min(f[w],E),R=I,T=C-b[h]-M,O=C/2-b[h]/2+k,A=Y8(R,O,T),D=!d.arrow&&Td(n)!=null&&O!==A&&i.reference[h]/2-(O<R?I:M)-b[h]/2<0,V=D?O<R?O-R:O-T:0;return{[g]:m[g]+V,data:{[g]:A,centerOffset:O-A-V,...D&&{alignmentOffset:V}},reset:D}}}),_me=(e,t)=>{let{name:r,fn:o}=oat(e);return{name:r,fn:o,options:[e,t]}};var wme={name:"hide",async fn(e){let{width:t,height:r,x:o,y:n}=e.rects.reference,i=t===0&&r===0&&o===0&&n===0,a=await e.platform.detectOverflow(e,{elementContext:"reference"});return{data:{referenceHidden:a.top-r>=0||a.right-t>=0||a.bottom-r>=0||a.left-t>=0||i}}}};var F1={sideX:"left",sideY:"top"};var dI="--available-width",cI="--available-height",yme="--anchor-width",xme="--anchor-height",Sme="--transform-origin",Cme="--positioner-width",kme="--positioner-height";var Rme=dI,Tme=cI;function Ome(e,t,r){let o=e==="inline-start"||e==="inline-end";return{top:"top",right:o?r?"inline-start":"inline-end":"right",bottom:"bottom",left:o?r?"inline-end":"inline-start":"left"}[t]}function Pme(e,t,r){let{rects:o,placement:n}=e;return{side:Ome(t,Na(n),r),align:Td(n)||"center",anchor:{width:o.reference.width,height:o.reference.height},positioner:{width:o.floating.width,height:o.floating.height}}}function Mb(e){return nat(e,vme)}function nat(e,t){let{anchor:r,positionMethod:o="absolute",side:n="bottom",sideOffset:i=0,align:a="center",alignOffset:s=0,collisionBoundary:d,collisionPadding:c=5,sticky:u=!1,arrowPadding:f=5,disableAnchorTracking:m=!1,inline:g,keepMounted:h=!1,floatingRootContext:b,mounted:_,collisionAvoidance:y,shift:w,nodeId:v,adaptiveOrigin:x,lazyFlip:S=!1,externalTree:C}=e,k=y.side||"flip",E=y.align||"flip",I=y.fallbackAxisSide||"end",M=w?.crossAxis??!1,R=w?.rootBoundary,T=typeof r=="function"?r:void 0,O=ve(T),A=T?O:r,D=Er(r),V=Er(_),N=To()==="rtl",[L,z]=Id.useState(null);!_&&L!==null&&z(null);let j=S==="placement",F=L?Na(L):null,Y=L&&j?Td(L)||"center":null,W=F||{top:"top",right:"right",bottom:"bottom",left:"left","inline-end":N?"left":"right","inline-start":N?"right":"left"}[n],Z=Y||a,X=Z==="center"?W:`${W}-${Z}`,q=c;typeof q=="number"?q={top:q,right:q,bottom:q,left:q}:q&&(q={top:q.top||0,right:q.right||0,bottom:q.bottom||0,left:q.left||0});let ce=1,de=n==="bottom"?ce:0,he=n==="top"?ce:0,ge=n==="right"?ce:0,ye=n==="left"?ce:0,Te={boundary:d==="clipping-ancestors"?"clippingAncestors":d,padding:q},te=Id.useRef(null),ae=Er(i),ue=Er(s),re=typeof i!="function"?i:0,_e=typeof s!="function"?s:0,xe=[];g&&xe.push(g),xe.push(wK(Ee=>{let ut=Pme(Ee,n,N),Ie=typeof ae.current=="function"?ae.current(ut):ae.current,Ke=typeof ue.current=="function"?ue.current(ut):ue.current;return{mainAxis:Ie,crossAxis:Ke,alignmentAxis:Ke}},[re,_e,N,n]));let ke=E==="none"&&k!=="shift",ne=!ke&&(u||M||k==="shift"),Re=k==="none"?null:SK({...Te,padding:{top:q.top+ce+de,right:q.right+ce+ye,bottom:q.bottom+ce+he,left:q.left+ce+ge},mainAxis:!M&&k==="flip",crossAxis:E==="flip"?"alignment":!1,fallbackAxisSideDirection:I}),Ae=ke?null:yK({...Te,rootBoundary:R,mainAxis:E!=="none",crossAxis:ne,limiter:u||M?void 0:xK(Ee=>{if(!te.current)return{};let{width:ut,height:Ie}=te.current.getBoundingClientRect(),Ke=Dl(Na(Ee.placement)),Se=Ke==="y"?ut:Ie,Pe=Ke==="y"?q.left+q.right:q.top+q.bottom;return{offset:Se/2+Pe/2}})},[Te,u,M,R,q,E]);k==="shift"||E==="shift"||Z==="center"?xe.push(Ae,Re):xe.push(Re,Ae),xe.push(CK({...Te,apply({elements:{floating:Ee},availableWidth:ut,availableHeight:Ie,rects:Ke}){if(!V.current)return;let Se=Ee.style;Se.setProperty(Rme,`${ut}px`),Se.setProperty(Tme,`${Ie}px`);let Pe=Ht(Ee).devicePixelRatio||1,{x:Qt,y:He,width:qe,height:ze}=Ke.reference,bt=(Math.round((Qt+qe)*Pe)-Math.round(Qt*Pe))/Pe,ot=(Math.round((He+ze)*Pe)-Math.round(He*Pe))/Pe;Se.setProperty(yme,`${bt}px`),Se.setProperty(xme,`${ot}px`)}}),_me(Ee=>({element:te.current||st(Ee.elements.floating).createElement("div"),padding:te.current?f:0}),[f]),{name:"transformOrigin",fn(Ee){let{elements:{floating:ut},middlewareData:Ie,placement:Ke,platform:Se,rects:Pe,y:Qt}=Ee,He=Na(Ke),qe=Td(Ke),ze=Dl(He)==="y",bt=te.current,ot=typeof i=="function"?i(Pme(Ee,n,N)):i,Tt;if(!bt&&qe&&Math.abs(ze?Ie.shift?.x||0:Ie.shift?.y||0)<=1)Tt=qe==="start"===(ze&&Se.isRTL?.(ut)===!0)?"100%":"0%";else{let Hr=ze?Ie.arrow?.x||0:Ie.arrow?.y||0,Zr=ze?bt?.clientWidth||0:bt?.clientHeight||0;Tt=`${Hr+Zr/2}px`}let xt=He==="top"||He==="left"?`calc(100% + ${ot}px)`:`${-ot}px`;return ne&&ze&&Math.abs(Ie.shift?.y||0)>ot&&(xt=`${Pe.reference.y+Pe.reference.height/2-Qt}px`),ut.style.setProperty(Sme,ze?`${Tt} ${xt}`:`${xt} ${Tt}`),{}}},wme,x),me(()=>{!_&&b&&b.update({referenceElement:null,floatingElement:null,domReferenceElement:null,positionReference:null})},[_,b]);let Oe=Id.useMemo(()=>({ancestorScroll:!m,elementResize:!m&&typeof ResizeObserver<"u",layoutShift:!m&&typeof IntersectionObserver<"u"}),[m]),{refs:ie,elements:be,x:Fe,y:Le,middlewareData:Ve,update:it,placement:dt,context:We,isPositioned:Ye,floatingStyles:St}=t({rootContext:b,open:h?_:void 0,placement:X,middleware:xe,strategy:o,whileElementsMounted:h?void 0:(...Ee)=>I5(...Ee,Oe),nodeId:v,externalTree:C}),{sideX:Cr,sideY:Mt}=Ve.adaptiveOrigin||F1,hr=Ye?o:"fixed",et=Id.useMemo(()=>{let Ee;return Ye?x?Ee={position:hr,[Cr]:Fe,[Mt]:Le}:Ee={...St,position:hr}:Ee={position:hr,top:0,left:0},Ee[Rme]="100vw",Ee[Tme]="100vh",Ye||(Ee.opacity=0),Ee},[x,hr,Cr,Fe,Mt,Le,St,Ye]),At=Id.useRef(null);me(()=>{if(!_)return;let Ee=D.current,ut=typeof Ee=="function"?Ee():Ee,Ke=(Ime(ut)?ut.current:ut)||null||null;Ke!==At.current&&(ie.setPositionReference(Ke),At.current=Ke)},[_,ie,A,D]),Id.useEffect(()=>{if(!_)return;let Ee=D.current;typeof Ee!="function"&&Ime(Ee)&&Ee.current!==At.current&&(ie.setPositionReference(Ee.current),At.current=Ee.current)},[_,ie,A,D]),Id.useEffect(()=>{if(h&&_&&be.reference&&be.floating)return I5(be.reference,be.floating,it,Oe)},[h,_,be,it,Oe]);let Ze=Na(dt),J=Ome(n,Ze,N),we=Td(dt)||"center",G=!!Ve.hide?.referenceHidden;me(()=>{S&&_&&Ye&&(Ze!==W||j&&we!==Z)&&z(dt)},[S,j,_,Ye,dt,Ze,we,W,Z]);let Me=Id.useMemo(()=>({position:"absolute",top:Ve.arrow?.y,left:Ve.arrow?.x}),[Ve.arrow]),tt=Ve.arrow?.centerOffset!==0;return Id.useMemo(()=>({positionerStyles:et,arrowStyles:Me,arrowRef:te,arrowUncentered:tt,side:J,align:we,physicalSide:Ze,anchorHidden:G,refs:ie,context:We,isPositioned:Ye,update:it}),[et,Me,te,tt,J,we,Ze,G,ie,We,Ye,it])}function Ime(e){return e!=null&&"current"in e}function Of(e){return e==="starting"?bpe:ft}function Ab(e,t,{styles:r,transitionStatus:o,props:n,refs:i,hidden:a,inert:s=!1}){let d={...r};return s&&(d.pointerEvents="none"),Ce("div",e,{state:t,ref:i,props:[{role:"presentation",hidden:a,style:d},Of(o),n],stateAttributesMapping:Aa})}var Mme=l(ee(),1);var iat=20;function V1(e,t,r,o){let[n,i]=Mme.useState(!1);me(()=>{if(!e||!t||r==null){i(!1);return}let a=st(r).documentElement.clientWidth,s=r.offsetWidth;i(a>0&&s>0&&s>=a-iat)},[e,t,r]),Bue(e&&(!t||n),o)}var uI=l(P(),1),Nme=Ame.forwardRef(function(t,r){let{render:o,className:n,anchor:i,positionMethod:a,side:s,align:d,sideOffset:c,alignOffset:u,collisionBoundary:f="clipping-ancestors",collisionPadding:m,arrowPadding:g,sticky:h,disableAnchorTracking:b=!1,collisionAvoidance:_=b1,style:y,...w}=t,v=_r(),x=Pb(),S=fme(),C=v.useState("modal"),k=v.useState("open"),E=v.useState("mounted"),I=v.useState("openMethod"),M=v.useState("positionerElement"),R=v.useState("triggerElement"),T=v.useState("inputElement"),O=v.useState("inputGroupElement"),A=v.useState("inputInsidePopup"),D=v.useState("transitionStatus"),V=If(),N=Mb({anchor:i??(A?R:O??T),floatingRootContext:x,positionMethod:a,mounted:E,side:s,sideOffset:c,align:d,alignOffset:u,arrowPadding:g,collisionBoundary:f,collisionPadding:m,sticky:h,disableAnchorTracking:b,keepMounted:S,collisionAvoidance:_,lazyFlip:!0});V1(k&&C,I==="touch",M,R);let L={open:k,side:N.side,align:N.align,anchorHidden:N.anchorHidden,empty:V};me(()=>{v.set("popupSide",N.side)},[v,N.side]);let z=ve(F=>{v.set("positionerElement",F)}),j=Ab(t,L,{styles:N.positionerStyles,transitionStatus:D,props:w,refs:[r,z],hidden:!E,inert:!k});return(0,uI.jsxs)(BK.Provider,{value:N,children:[E&&C&&(0,uI.jsx)(P1,{inert:Ef(!k),cutout:O??T??R}),j]})});var pI=l(ee(),1);var z5=l(P(),1),aat={...Aa,...go},Lme=pI.forwardRef(function(t,r){let{render:o,className:n,style:i,initialFocus:a,finalFocus:s,...d}=t,c=_r(),u=Ob(),f=Pb(),m=c.useState("mounted"),g=c.useState("open"),h=c.useState("openMethod"),b=c.useState("popupProps"),_=c.useState("transitionStatus"),y=c.useState("inputInsidePopup"),w=c.useState("inputElement"),v=c.useState("modal"),x=c.useState("id"),S=If(),C=d.id??(y?W9(x):void 0);me(()=>(c.set("popupId",c.context.popupRef.current?.id||C),()=>{c.set("popupId",void 0)}),[c,C]),mo({open:g,ref:c.context.popupRef,onComplete(){g&&c.context.onOpenChangeComplete(!0)}});let k={open:g,side:u.side,align:u.align,anchorHidden:u.anchorHidden,transitionStatus:_,empty:S},E=Ce("div",t,{state:k,ref:[r,c.context.popupRef],props:[b,{id:C,role:y?"dialog":"presentation",onFocus(O){let A=Bt(O.nativeEvent);h!=="touch"&&(Ge(c.state.listElement,A)||A===O.currentTarget)&&c.context.inputRef.current?.focus()}},Of(_),d],stateAttributesMapping:aat}),M=a===void 0?y?O=>O==="touch"?c.context.popupRef.current:w:!1:a,R;s!=null?R=s:R=y?void 0:!1;let T=!y||v;return(0,z5.jsx)(ty,{context:f,disabled:!m,modal:T,openInteractionType:h,initialFocus:M,returnFocus:R,getInsideElements:()=>[c.context.startDismissRef.current,c.context.endDismissRef.current],children:(0,z5.jsxs)(pI.Fragment,{children:[E,T&&(0,z5.jsx)(oI,{ref:c.context.endDismissRef})]})})});var Dme=l(ee(),1);var Fme=Dme.forwardRef(function(t,r){let{render:o,className:n,style:i,...a}=t,s=_r(),{arrowRef:d,side:c,align:u,arrowUncentered:f,arrowStyles:m}=Ob(),h={open:s.useState("open"),side:c,align:u,uncentered:f};return Ce("div",t,{ref:[d,r],stateAttributesMapping:Aa,state:h,props:{style:m,"aria-hidden":!0,...a}})});var B1=l(ee(),1);var fI=l(ee(),1),UK=fI.createContext(void 0);function Vme(){let e=fI.useContext(UK);if(e===void 0)throw new Error(Je(18));return e}var WK=l(P(),1),Bme=B1.forwardRef(function(t,r){let{render:o,className:n,style:i,items:a,...s}=t,c=_r().useState("grid"),[u,f]=B1.useState(),m=B1.useMemo(()=>({labelId:u,setLabelId:f,items:a}),[u,f,a]),g=Ce("div",t,{ref:r,props:[{role:c?"rowgroup":"group","aria-labelledby":u},s]}),h=(0,WK.jsx)(UK.Provider,{value:m,children:g});return a?(0,WK.jsx)(sme,{items:a,children:h}):h});var zme=l(ee(),1);var jme=zme.forwardRef(function(t,r){let{render:o,className:n,style:i,id:a,...s}=t,{setLabelId:d}=Vme(),c=Lt(a);return me(()=>(d(c),()=>{d(f=>f===c?void 0:f)}),[c,d]),Ce("div",t,{ref:r,props:[{id:c,"aria-hidden":!0},s]})});var Tg=l(ee(),1),Wme=l(sc(),1);var mI=l(ee(),1),GK=mI.createContext(void 0);function Hme(){let e=mI.useContext(GK);if(!e)throw new Error(Je(19));return e}var gI=l(ee(),1),YK=gI.createContext(!1);function Ume(){return gI.useContext(YK)}var j5=l(P(),1);function Gme(e){let{componentProps:t,forwardedRef:r,virtualized:o,indexFromFilter:n}=e,{render:i,className:a,style:s,value:d=null,index:c,disabled:u=!1,nativeButton:f=!1,...m}=t,g=Tg.useRef(null),h=bi({guess:!0,index:c,textRef:g}),b=_r(),_=Ume(),y=Pfe(),{props:w,id:v,selectionMode:x,disabled:S,readOnly:C,isItemEqualToValue:k}=b.useState("itemRoot"),E=S||u,I=x!=="none",M=c??n??h.index,R=M!==-1,T=b.useState("isActive",M),O=b.useState("isSelected",d),A=Tg.useRef(null),D=v!=null&&R?`${v}-${M}`:void 0,V=O&&I;me(()=>{if(!(R&&(o||c!=null)))return;let Z=b.context.listRef.current;return Z[M]=A.current,()=>{delete Z[M]}},[R,o,M,c,b]),me(()=>{if(!R||y)return;let W=b.context.valuesRef.current;return W[M]=d,()=>{delete W[M]}},[R,y,M,d,b]),me(()=>{if(!R||y)return;let W=b.state.selectedValue,Z=b.state.selectedIndex;b.state.selectionMode==="multiple"&&Array.isArray(W)?Z=L9(M,d,b.context.valuesRef.current,W,k,Z):aa(d,W,k)&&(Z=M),b.set("selectedIndex",Z)},[R,y,b,M,d,k]);let{getButtonProps:H,buttonRef:N}=Jr({disabled:E,focusableWhenDisabled:!0,native:f,composite:!0}),L={disabled:E,selected:V,highlighted:T};function z(W){function Z(){b.context.handleSelection(W,d)}b.state.submitOnItemClick?(Wme.flushSync(Z),b.context.requestSubmit()):Z()}let j={id:D,role:_?"gridcell":"option","aria-selected":I?V:void 0,tabIndex:void 0,onPointerDownCapture(W){W.isPrimary&&(b.context.pointerDownItemRef.current=W.currentTarget),W.preventDefault()},onMouseDown(W){W.preventDefault()},onClick(W){E||C||z(W.nativeEvent)},onMouseUp(W){let Z=b.context.pointerDownItemRef.current===W.currentTarget;b.context.pointerDownItemRef.current=null,!(E||C||W.button!==0||Z||!T)&&z(W.nativeEvent)}},F=Ce("div",t,{ref:[N,r,h.ref,A],state:L,props:[w,j,m,H]}),Y=Tg.useMemo(()=>({selected:V,textRef:g}),[V,g]);return(0,j5.jsx)(GK.Provider,{value:Y,children:F})}function sat(e){let{componentProps:t,forwardedRef:r}=e,n=_r().useState("isItemEqualToValue"),{flatFilteredValues:i}=fc(),a=t.value??null,s=Iu(i,a,n);return(0,j5.jsx)(Gme,{componentProps:t,forwardedRef:r,virtualized:!0,indexFromFilter:s})}var Yme=Tg.memo(Tg.forwardRef(function(t,r){let n=_r().useState("virtualized");return n&&t.index==null?(0,j5.jsx)(sat,{componentProps:t,forwardedRef:r}):(0,j5.jsx)(Gme,{componentProps:t,forwardedRef:r,virtualized:n,indexFromFilter:void 0})}));var qme=l(ee(),1);var Kme=l(P(),1),Xme=qme.forwardRef(function(t,r){let{render:o,className:n,style:i,...a}=t,s=Ce("div",t,{ref:r,props:[{role:"row"},a]});return(0,Kme.jsx)(YK.Provider,{value:!0,children:s})});var Zme=l(ee(),1);var Qme=Zme.forwardRef(function(t,r){let{render:o,className:n,style:i,children:a,...s}=t,{filteredItems:d}=fc(),c=_r(),u=D1(),f=d.length===0?a:null;return Ce("div",t,{ref:[r,c.context.emptyRef,u],props:[{children:f,role:"status","aria-live":"polite","aria-atomic":!0},s]})});var $me=l(ee(),1);var hI=$me.forwardRef(function(t,r){let{className:o,render:n,orientation:i="horizontal",style:a,...s}=t;return Ce("div",t,{state:{orientation:i},ref:r,props:[{role:"presentation"},s]})});function Jme(){return fc().filteredItems}var ege=l(ee(),1);var qK=ege.forwardRef(function(t,r){let{render:o,className:n,disabled:i=!1,focusableWhenDisabled:a=!1,nativeButton:s=!0,style:d,...c}=t,{getButtonProps:u,buttonRef:f}=Jr({disabled:i,focusableWhenDisabled:a,native:s});return Ce("button",t,{state:{disabled:i},ref:[r,f],props:[c,u]})});var U5={};or(U5,{Indicator:()=>cge,Root:()=>dge});var Ou=l(ee(),1);function tge(e){if(!e)return null;for(let t of e.elements){let r=t.tagName;if(r==="BUTTON"||r==="INPUT"){let o=t;if(o.type==="submit")return o}}return null}var rge="data-checked",oge="data-unchecked";function bI(e){return{checked(t){return e.indeterminate?{}:t?{[rge]:""}:{[oge]:""}},...Nn}}var vI=l(ee(),1),KK=vI.createContext({disabled:!1});function z1(){return vI.useContext(KK)}var ige=l(ee(),1);function age(e,t,r,o=!0,n,i){let[a,s]=ige.useState(),d=Lt(n?`${n}-label`:void 0),c=!!i?.trim(),f=e??(c?void 0:t)??a;return me(()=>{let m=e||t||c||!o?void 0:lat(r.current,d);a!==m&&s(m)}),f}function lat(e,t){let r=dat(e);if(r)return!r.id&&t&&(r.id=t),r.id||void 0}function dat(e){if(!e)return;let t=e.parentElement;if(t&&t.tagName==="LABEL")return t;let r=e.id;if(r){let n=e.nextElementSibling;if(n&&n.htmlFor===r)return n}let o=e.labels;return o&&o[0]}var _I=l(ee(),1),cat=_I.createContext(void 0);function sge(){return _I.useContext(cat)}var wI=l(ee(),1),XK=wI.createContext(void 0);function lge(){let e=wI.useContext(XK);if(e===void 0)throw new Error(Je(14));return e}var H5=l(P(),1),uat="data-parent",dge=Ou.forwardRef(function(t,r){let{checked:o,className:n,defaultChecked:i=!1,"aria-labelledby":a,disabled:s=!1,form:d,id:c,indeterminate:u=!1,inputRef:f,name:m,onCheckedChange:g,parent:h=!1,readOnly:b=!1,render:_,required:y=!1,uncheckedValue:w,value:v,nativeButton:x=!1,style:S,...C}=t,{clearErrors:k}=ms(),{disabled:E,name:I,setDirty:M,setFilled:R,setTouched:T,state:O,validationMode:A,validityData:D,validation:V}=Pr(),H=z1(),{labelId:N,registerControlId:L,getDescriptionProps:z}=nn(),j=sge(),F=j?.allValues===void 0?void 0:j.parent,Y=F!==void 0,W=E||H.disabled||j?.disabled||s,Z=I??m,X=v??Z,q=Lt(),ce=j?.registerControlId!==L,de=mc({id:c||void 0,enabled:ce}),he=x?de:q,ge={};Y&&(h?ge=F.getParentProps():X!==void 0&&(ge=F.getChildProps(X)));let{checked:ye=o,indeterminate:Te=u,onCheckedChange:te,...ae}=ge,ue=j?.value,re=Ou.useRef(null),_e=Pf(W,re),{getButtonProps:xe,buttonRef:ke}=Jr({disabled:W,native:x}),ne=j?.validation??V,[Re,Ae]=Fi({controlled:X!==void 0&&ue!==void 0&&!h?ue.includes(X):ye,default:i,name:"Checkbox",state:"checked"}),Oe=Y?!!ye:Re,ie=Y&&Te||u;Ib(re,q,Re,void 0,!j&&!W,m);let be=F?.registerChildId,Fe=Ou.useRef(null),Le=ne.registerInput,Ve=j?X:void 0,it=Ou.useCallback(et=>Le(et,{controlRef:re,value:Ve}),[Le,Ve]),dt=Ro(f,Fe,h?void 0:it),We=age(a,N,Fe,!x,de,C["aria-label"]);me(()=>{Fe.current&&(Fe.current.indeterminate=ie),j||R(Re)},[Re,ie,j,R]),Xs(Re,()=>{j||(k(Z),M(Re!==D.initialValue),ne.change(Re))});let Ye=at({checked:Re,disabled:W,form:d,name:h?void 0:Z,id:x?void 0:de,required:y,ref:dt,style:Z?wb:vf,tabIndex:-1,type:"checkbox","aria-hidden":!0,onChange(et){if(et.nativeEvent.defaultPrevented)return;if(b){et.preventDefault();return}let At=et.currentTarget.checked,Ze=Ne(pe.none,et.nativeEvent);if(g?.(At,Ze),!Ze.isCanceled&&(te?.(At,Ze),!Ze.isCanceled&&(Ae(At),X!==void 0&&j!==void 0&&!h&&!Y))){let J=At?[...j.value,X]:j.value.filter(we=>we!==X);j.setValue(J,Ze)}},onClick(et){et.stopPropagation()},onFocus(){re.current?.focus()}},v!==void 0?{value:(j?Re&&v:v)||""}:ft,z,et=>ne.getValidationProps(W,et));Ou.useEffect(()=>{if(!F||X===void 0)return;let et=F.disabledStatesRef.current;return et.set(X,W),()=>{et.delete(X)}},[F,W,X]);let St=Ou.useMemo(()=>({...O,checked:Oe,disabled:W,readOnly:b,required:y,indeterminate:ie}),[O,Oe,W,b,y,ie]),Cr=bI(St),Mt=Ce("span",t,{state:St,ref:[ke,re,r],props:[{id:he,role:"checkbox","aria-checked":ie?"mixed":Oe,"aria-readonly":b||void 0,"aria-required":y||void 0,"aria-labelledby":We,[uat]:h?"":void 0,onFocus(){_e(!0)},onBlur(){let et=Fe.current;et&&(T(!0),_e(!1),A==="onBlur"&&ne.commit(j?ue:et.checked))},onKeyDown(et){if(et.key!=="Enter"||(et.preventBaseUIHandler(),et.defaultPrevented))return;let At=Fe.current?.form??null,Ze=et.currentTarget,J=et.nativeEvent,we=et.preventDefault,G=J.preventDefault,Me=!1;et.preventDefault=()=>{Me=!0,we.call(et)},J.preventDefault=()=>{Me=!0,G.call(J)},G.call(J),Ht(Ze).queueMicrotask(()=>{et.preventDefault=we,J.preventDefault=G,Me||tge(At)?.click()})},onClick(et){if(b||W)return;et.preventDefault();let At=Fe.current;At&&mf(At,et)}},C,ae,xe,z,et=>ne.getValidationProps(W,et)],stateAttributesMapping:Cr}),hr=Mt.props.id;return me(()=>{if(!(!be||h||X===void 0||hr===void 0))return be(X,hr)},[be,h,X,hr]),(0,H5.jsxs)(XK.Provider,{value:St,children:[Mt,!Re&&!j&&Z&&!h&&w!==void 0&&(0,H5.jsx)("input",{type:"hidden",form:d,name:Z,value:w,disabled:W}),(0,H5.jsx)("input",{...Ye,suppressHydrationWarning:!0})]})});var yI=l(ee(),1);var cge=yI.forwardRef(function(t,r){let{render:o,className:n,style:i,keepMounted:a=!1,...s}=t,d=lge(),c=d.checked||d.indeterminate,{mounted:u,transitionStatus:f,setMounted:m}=An(c),g=yI.useRef(null),h={...d,transitionStatus:f};mo({batch:!0,enabled:!c,open:c,ref:g,onComplete(){c||m(!1)}});let _={...bI(d),...go},y=a||u,w=Ce("span",t,{ref:[r,g],state:h,stateAttributesMapping:_,props:s});return y?w:null});var Pg=l(ee(),1);function gy(e,t){return{...e,state:{...e.state,valid:!t&&e.state.valid}}}var ZK=Object.keys(fy);function pat(e,t){return e.matches(":disabled")?!1:!t||e.form===t?!0:e.form===null&&!e.hasAttribute("form")}function uge(e,t){let r=null;for(let o of e.keys())if(pat(o,t)){if(!o.validity.valid)return o;r??=o}return r}function pge(e){return{...fy,valid:!e,customError:e}}function QK(e){return e&&e.validationMessage?[e.validationMessage]:[]}function fge(e){let{elementRef:t,formRef:r}=ms(),{setValidityData:o,validate:n,validityData:i,validationDebounceTime:a,invalid:s,markedDirtyRef:d,state:c,shouldValidateOnChange:u,validationMode:f,registeredFieldIdRef:m}=e,{controlId:g,getDescriptionProps:h}=nn(),b=ur(),_=Pg.useRef(null),y=Ot(()=>new Map).current,w=Pg.useRef(0),v=Pg.useRef(null),x=Pg.useCallback((I,M)=>(y.set(I,M),()=>{y.delete(I)}),[y]),S=ve(()=>{let I=uge(y,t.current);return I&&y.get(I)?.controlRef.current||null}),C=ve(async(I,M=!1)=>{w.current+=1;let R=w.current;function T(W,Z=s){let X=m.current??g;if(X==null)return;let q=r.current.fields.get(X);if(!q)return;let ce=gy(W,Z);r.current.fields.set(X,{...q,validityData:ce})}function O(W,Z){let X=W.valid===!1?Z:[];return{value:I,state:W,error:X[0]??"",errors:X,initialValue:i.initialValue}}function A(W,Z){let X=W.validity.customError?W.validationMessage:"",q=Z.replace(/\r\n?/g,`
`);W.setCustomValidity(q),v.current=[W,q,X]}function D(){let W=v.current;v.current=null,W&&(!W[0].willValidate||W[0].validationMessage===W[1])&&W[0].setCustomValidity(W[2])}function V(W,Z,X){let q=O(W,Z);T(q,X),o(q)}function H(W){let Z=ZK.reduce((q,ce)=>(q[ce]=W.validity[ce],q),{}),X=!1;for(let q of ZK)if(q!=="valid"){if(q==="valueMissing"&&Z[q])X=!0;else if(Z[q])return Z}return X&&!d.current&&(Z.valid=!0,Z.valueMissing=!1),Z}function N(){return y.size>0?uge(y,t.current):_.current}let L=N();function z(){return L=N(),L?.willValidate?H(L):pge(!1)}if(M){if(c.valid!==!1||!L)return;if(!L.validity.valueMissing){D();let W=N(),Z=W?.validity.customError?QK(W):[];V(pge(Z.length>0),Z,!1);return}for(let W of ZK)if(W!=="valid"&&W!=="valueMissing"&&W!=="customError"&&L.validity[W])return}b.clear(),D();let j=z(),F=QK(L),Y=u();if(F.length===0||Y){let W=Array.from(r.current.fields.values()).reduce((q,ce)=>(ce.name&&(q[ce.name]=ce.getValue()),q),{}),Z=n(I,W),X;if(typeof Z=="object"&&Z!==null&&"then"in Z){if(j.valid===!1?V(j,F):(f==="onSubmit"||!i.state.customError)&&(j.valid=null,V(j,F)),X=await Z,R!==w.current)return;j=z()}else X=Z;F=X?[].concat(X).filter(Boolean):[],F.length>0?(j.valid=!1,j.customError=!0,L?.willValidate&&A(L,F.join(`
`))):F=QK(L)}V(j,F)}),k=ve((I,M=!1)=>{if(b.clear(),w.current+=1,M)return;let R=u();R&&I!==""&&a?b.start(a,()=>{C(I)}):C(I,!R)}),E=Pg.useCallback((I,M={})=>at(h(M),c.valid===!1&&!c.disabled&&!I?{"aria-invalid":!0}:ft),[h,c.disabled,c.valid]);return Pg.useMemo(()=>({getValidationProps:E,inputRef:_,registeredInputs:y,registerInput:x,getInputControl:S,commit:C,change:k}),[E,y,x,S,C,k])}var Nb={};or(Nb,{Panel:()=>yge,Root:()=>gge,Trigger:()=>bge});var W5=l(ee(),1);var xI={...Sue,...go};var mge=l(P(),1),gge=W5.forwardRef(function(t,r){let{render:o,className:n,defaultOpen:i=!1,disabled:a=!1,onOpenChange:s,open:d,style:c,...u}=t,f=ve(s),m=bue({open:d,defaultOpen:i,onOpenChange:f,disabled:a}),g=W5.useMemo(()=>({open:m.open,disabled:m.disabled,transitionStatus:m.transitionStatus}),[m.open,m.disabled,m.transitionStatus]),h=W5.useMemo(()=>({...m,onOpenChange:f,state:g}),[m,f,g]),b=Ce("div",t,{state:g,ref:r,props:u,stateAttributesMapping:xI});return(0,mge.jsx)(Sq.Provider,{value:h,children:b})});var hge=l(ee(),1);var fat={...xue,...go},bge=hge.forwardRef(function(t,r){let{panelId:o,open:n,handleTrigger:i,state:a,disabled:s}=M8(),{className:d,disabled:c=s,render:u,nativeButton:f=!0,style:m,...g}=t,{getButtonProps:h,buttonRef:b}=Jr({disabled:c,native:f});return Ce("button",t,{state:a,ref:[r,b],props:[{"aria-controls":n?o:void 0,"aria-expanded":n,onClick:i},g,h],stateAttributesMapping:fat})});var $K=l(ee(),1);var vge="--collapsible-panel-height",_ge="--collapsible-panel-width";var yge=$K.forwardRef(function(t,r){let{className:o,hiddenUntilFound:n,keepMounted:i,render:a,id:s,style:d,...c}=t,{defaultPanelId:u,mounted:f,onOpenChange:m,open:g,setMounted:h,setPanelIdState:b,setOpen:_,state:y,transitionStatus:w}=M8(),v=n??!1,x=i??!1,S=s||void 0,C=S??u;me(()=>(b(H=>S??(H===null?void 0:H)),()=>{b(H=>H===S?null:H)}),[S,b]);let{height:k,props:E,ref:I,shouldPreventOpenAnimation:M,shouldRender:R,transitionStatus:T,width:O}=Iue({externalRef:r,hiddenUntilFound:v,id:C,keepMounted:x,mounted:f,onOpenChange:m,open:g,setMounted:h,setOpen:_,transitionStatus:w}),A={...y,transitionStatus:T},D=w8(d,A),V=Ce("div",{...t,style:void 0},{state:A,ref:I,props:[E,{style:{[vge]:k===void 0?"auto":`${k}px`,[_ge]:O===void 0?"auto":`${O}px`}},c,D?{style:D}:void 0,M?{style:{animationName:"none"}}:void 0],stateAttributesMapping:xI});return R?V:null});var Jt={};or(Jt,{Arrow:()=>Fme,Backdrop:()=>bme,Chip:()=>Nge,ChipRemove:()=>Dge,Chips:()=>Oge,Clear:()=>ome,Collection:()=>iI,Empty:()=>Qme,Group:()=>Bme,GroupLabel:()=>jme,Icon:()=>tme,Input:()=>Qfe,InputGroup:()=>Jfe,Item:()=>Yme,ItemIndicator:()=>Ige,Label:()=>Cge,List:()=>cme,Popup:()=>Lme,Portal:()=>gme,Positioner:()=>Nme,Root:()=>Sge,Row:()=>Xme,Separator:()=>Fge,Status:()=>pme,Trigger:()=>Kfe,Value:()=>Rge,createItems:()=>Vge,useFilter:()=>jfe,useFilteredItems:()=>Jme});var VJt=l(ee(),1);var xge=l(P(),1);function Sge(e){let{multiple:t=!1,defaultValue:r,value:o,onValueChange:n,autoComplete:i,...a}=e;return(0,xge.jsx)(Ufe,{...a,selectionMode:t?"multiple":"single",selectedValue:o,defaultSelectedValue:r,onSelectedValueChange:n,formAutoComplete:i})}var JK=l(ee(),1);function SI(e,t){let r=Lt(e);return me(()=>(t(r),()=>{t(o=>o===r?void 0:o)}),[r,t]),r}function j1(e={}){let{id:t,fallbackControlId:r,native:o=!1,setLabelId:n,focusControl:i}=e,{controlId:a,setLabelId:s}=nn(),d=ve(g=>{s(g),n?.(g)}),c=SI(t,d),u=a??r;function f(g){if(i){i(g,u);return}if(!u)return;let h=mat(g.currentTarget,u);vt(h)&&gat(h)}function m(g){let h=Bt(g.nativeEvent);ds(h,"button,input,select,textarea")||(!g.defaultPrevented&&g.detail>1&&g.preventDefault(),!o&&f(g))}return o?{id:c,htmlFor:u,onMouseDown:m}:{id:c,onClick:m,onPointerDown(g){g.preventDefault()}}}function mat(e,t){let r=e.getRootNode();for(;Ed(r);){let o=r.getElementById(t);if(o)return o;r=r.host.getRootNode()}return st(e).getElementById(t)}function gat(e){e.focus({focusVisible:!0})}var Cge=JK.forwardRef(function(t,r){let{render:o,className:n,style:i,...a}=t,s=a;delete s.id;let d=Pr(),c=_r(),u=c.useState("inputInsidePopup"),f=c.useState("triggerElement"),m=c.useState("inputElement"),g=c.useState("id"),h=Z9(g),b=f?.id??(u?g:void 0),_=j1({id:h,fallbackControlId:b,setLabelId(y){let w=typeof y=="function"?y(c.state.labelId):y;c.set("labelId",w)}});return Ce("div",t,{ref:r,state:d.state,props:[_,a],stateAttributesMapping:Nn})});var kge=l(ee(),1);var Ege=l(P(),1);function Rge(e){let{children:t,placeholder:r}=e,o=_r(),n=o.useState("itemToStringLabel"),i=o.useState("selectedValue"),a=o.useState("items"),s=o.useState("selectionMode")==="multiple",d=o.useState("hasSelectedValue"),c=!d&&r!=null&&t==null,u=o.useState("hasNullItemLabel",c),f=null;return typeof t=="function"?f=t(i):t!=null?f=t:!d&&r!=null&&!u?f=r:s&&Array.isArray(i)?f=z9(i,a,n):f=N5(i,a,n),(0,Ege.jsx)(kge.Fragment,{children:f})}var Tge=l(ee(),1);var H1=l(ee(),1);var CI=H1.memo(H1.forwardRef(function(t,r){let{render:o,className:n,style:i,keepMounted:a,selected:s,...d}=t,c=H1.useRef(null),{transitionStatus:u,setMounted:f}=An(s),g=Ce("span",t,{ref:[r,c],state:{selected:s,transitionStatus:u},props:[{"aria-hidden":!0,children:"\u2714\uFE0F"},d],stateAttributesMapping:go});return mo({batch:!0,enabled:!s,open:s,ref:c,onComplete(){s||f(!1)}}),g}));var Pge=l(P(),1),Ige=Tge.forwardRef(function(t,r){let{selected:o}=Hme();return t.keepMounted||o?(0,Pge.jsx)(CI,{...t,selected:o,ref:r}):null});var U1=l(ee(),1);var eX=l(P(),1),Oge=U1.forwardRef(function(t,r){let{render:o,className:n,style:i,...a}=t,s=_r(),d=s.useState("hasSelectionChips"),c=U1.useRef([]),u=Ce("div",t,{ref:[r,s.context.chipsContainerRef],props:[d?{role:"toolbar"}:ft,{onMouseDown(m){nI(m,s,s.state.disabled)}},a]}),f=U1.useMemo(()=>({chipsRef:c}),[]);return(0,eX.jsx)(VK.Provider,{value:f,children:(0,eX.jsx)(dc,{elementsRef:c,children:u})})});var EI=l(ee(),1),rX=l(sc(),1);var kI=l(ee(),1),tX=kI.createContext(void 0);function Mge(){let e=kI.useContext(tX);if(!e)throw new Error(Je(17));return e}var Age=l(P(),1),Nge=EI.forwardRef(function(t,r){let{render:o,className:n,style:i,...a}=t,s=_r(),{chipsRef:d}=tI(),c=To(),u=s.useState("disabled"),f=s.useState("readOnly"),m=s.useState("selectedValue"),{ref:g,index:h}=bi();function b(v){let x=h,[S,C]=$9(c);return v.key===S?(v.preventDefault(),h>0?x=h-1:x=void 0):v.key===C?(v.preventDefault(),h<d.current.length-1?x=h+1:x=void 0):v.key==="Backspace"||v.key==="Delete"?(x=qfe(h,m.length),vr(v),rX.flushSync(()=>{s.context.setIndices({activeIndex:null,selectedIndex:null,type:pe.keyboard,event:v.nativeEvent}),s.context.setSelectedValue(m.filter((k,E)=>E!==h),Ne(pe.none,v.nativeEvent))})):v.key==="Enter"||v.key===" "?(vr(v),x=void 0):v.key==="ArrowDown"||v.key==="ArrowUp"?(vr(v),rX.flushSync(()=>{s.context.setOpen(!0,Ne(pe.listNavigation,v.nativeEvent))}),x=void 0):v.key.length===1&&!v.ctrlKey&&!v.metaKey&&!v.altKey&&(x=void 0),x}let y=Ce("div",t,{ref:[r,g],state:{disabled:u},props:[{tabIndex:-1,"aria-disabled":u||void 0,"aria-readonly":f||void 0,onKeyDown(v){if(u||f)return;let x=b(v);x===void 0?s.context.inputRef.current?.focus():d.current[x]?.focus()}},a]}),w=EI.useMemo(()=>({index:h}),[h]);return(0,Age.jsx)(tX.Provider,{value:w,children:y})});var Lge=l(ee(),1);var Dge=Lge.forwardRef(function(t,r){let{render:o,className:n,disabled:i=!1,nativeButton:a=!0,style:s,...d}=t,c=_r(),{index:u}=Mge(),f=c.useState("disabled"),m=c.useState("readOnly"),g=c.useState("selectedValue"),h=c.useState("isItemEqualToValue"),b=f||i,{buttonRef:_,getButtonProps:y}=Jr({native:a,disabled:b||m,focusableWhenDisabled:!0}),w={disabled:b};function v(C,k){let E=c.state.activeIndex;if(E==null)return;let I=Iu(c.context.valuesRef.current,C,h);I!==-1&&E===I&&c.context.setIndices({activeIndex:null,type:Rf(k),event:k})}function x(C){let k=Ne(pe.chipRemovePress,C.nativeEvent),E=g[u];return v(E,C.nativeEvent),c.context.setSelectedValue(g.filter((I,M)=>M!==u),k),c.context.inputRef.current?.focus(),k}return Ce("button",t,{ref:[r,_],state:w,props:[{tabIndex:-1,onMouseDown(C){C.preventDefault()},onClick(C){x(C).isPropagationAllowed||C.stopPropagation()},onKeyDown(C){(C.key==="Enter"||C.key===" ")&&(x(C).isPropagationAllowed||vr(C))}},d,y]})});var Fge=hI;function Vge(e,t){let{getValue:r,getLabel:o}=t,n=null;function i(){if(n===null){let s=new Map,d=e?py(e):Ur;for(let c of d){if(c==null)continue;let u=r(c);s.has(u)||s.set(u,c)}n=s}return n}function a(s){return s==null?s:r(s)}return{data:e,value:a,hasValue(s,d){return F5(i(),s,d)!==void 0},itemLabel:o,label(s,d,c){let u=F5(i(),s,d);return u!==void 0?o(u):Zs(s,c)}}}var RI=l(ee(),1),hat=RI.createContext(void 0);function Lb(e=!0){let t=RI.useContext(hat);if(t===void 0&&!e)throw new Error(Je(25));return t}var Fr={};or(Fr,{Arrow:()=>jge,Backdrop:()=>Uge,CheckboxItem:()=>Xge,CheckboxItemIndicator:()=>Zge,Clear:()=>Ibe,Empty:()=>Nbe,FilterProvider:()=>wbe,Group:()=>$ge,GroupLabel:()=>ehe,Handle:()=>oT,Input:()=>Sbe,Item:()=>rhe,LinkItem:()=>nhe,List:()=>kbe,Popup:()=>ahe,Portal:()=>dhe,Positioner:()=>uhe,RadioGroup:()=>fhe,RadioItem:()=>ghe,RadioItemIndicator:()=>hhe,Root:()=>xhe,Separator:()=>Whe,SubmenuRoot:()=>Che,SubmenuTrigger:()=>Yhe,Trigger:()=>Ihe,Viewport:()=>Hhe,createHandle:()=>qhe,useFilter:()=>my});var zge=l(ee(),1);var TI=l(ee(),1),oX=TI.createContext(void 0);function Db(e){let t=TI.useContext(oX);if(t===void 0&&!e)throw new Error(Je(33));return t}var PI=l(ee(),1),G5=PI.createContext(void 0);function Ut(e){let t=PI.useContext(G5);if(t===void 0&&!e)throw new Error(Je(36));return t}var jge=zge.forwardRef(function(t,r){let{render:o,className:n,style:i,...a}=t,{store:s}=Ut(),{arrowRef:d,side:c,align:u,arrowUncentered:f,arrowStyles:m}=Db(),h={open:s.useState("open"),side:c,align:u,uncentered:f};return Ce("div",t,{ref:[d,r],stateAttributesMapping:Aa,state:h,props:{style:m,"aria-hidden":!0,...a}})});var Hge=l(ee(),1);var Uge=Hge.forwardRef(function(t,r){let{render:o,className:n,style:i,...a}=t,{store:s}=Ut(),d=s.useState("open"),c=s.useState("mounted"),u=s.useState("transitionStatus"),f=s.useState("lastOpenChangeReason"),m=Lb(),g={open:d,transitionStatus:u};return Ce("div",t,{ref:m?.backdropRef?[r,m.backdropRef]:r,state:g,stateAttributesMapping:vb,props:[{role:"presentation",hidden:!c,style:{pointerEvents:f===pe.triggerHover?"none":void 0,userSelect:"none",WebkitUserSelect:"none"}},a]})});var K5=l(ee(),1);var Y5=l(ee(),1);var q5=Y5.createContext(null);function Mf(e="root"){let t=Y5.useContext(q5),r=Y5.useContext(G5);return t===null||r===void 0?null:(e==="submenu-trigger"?r.virtualFocus||r.parentVirtualFocus:r.virtualFocus)?t:null}function W1(e){if(Mf()===null)throw new Error(Je(104,e))}var bat={visible:!0,ref:null};function vat(){return bat}function Af(e,t,r="root"){let o=Mf(r),i=((r==="submenu-trigger"?o?.useSubmenuTrigger:o?.useItem)??vat)({label:e.label,children:e.children,render:e.render}),a=Ro(t,i.ref);return{visible:i.visible,ref:a,props:i.props}}var II=l(ee(),1),nX=II.createContext(void 0);function Wge(){let e=II.useContext(nX);if(e===void 0)throw new Error(Je(30));return e}var G1=l(ee(),1);var Gge=l(ee(),1);function _at(e){e.preventDefault()}function OI(e){let{closeOnClick:t,highlighted:r,id:o,nodeId:n,store:i,typingRef:a,itemRef:s,itemMetadata:d}=e,c=Ut(),u=Lb(!0),f=d.type==="submenu-trigger",m=f?c.parentVirtualFocus:c.virtualFocus,h=(f&&c.parent.type==="menu"?c.parent.store:c.store).useState("webkitAriaSelected",r),{events:b}=i.useState("floatingTreeRoot"),_=i.useState("open"),y=u!==void 0,w=!m&&_&&r?0:-1;return Gge.useMemo(()=>({id:o,role:"menuitem",tabIndex:w,"aria-selected":h,onMouseDown:m?_at:void 0,onKeyDown(v){v.key===" "&&a?.current&&v.preventDefault()},onMouseMove(v){n&&b.emit("itemhover",{nodeId:n,target:v.currentTarget})},onClick(v){t&&b.emit("close",{domEvent:v.nativeEvent,reason:pe.itemPress})},onMouseUp(v){if(u){let x=u.initialCursorPointRef.current;if(u.initialCursorPointRef.current=null,y&&x&&Math.abs(v.clientX-x.x)<=1&&Math.abs(v.clientY-x.y)<=1||y&&!$t.os.mac&&v.button===2)return}s.current&&i.context.allowMouseUpTriggerRef.current&&(!y||v.button===2)&&d.type==="regular-item"&&mf(s.current,v,{detail:1,pointerType:"mouse"})}}),[t,w,o,b,n,i.context.allowMouseUpTriggerRef,a,s,u,y,d.type,h,m])}var Fb={type:"regular-item"};function Vb(e){let{closeOnClick:t,disabled:r,highlighted:o,id:n,store:i,typingRef:a=i.context.typingRef,nativeButton:s,itemMetadata:d,nodeId:c}=e,u=G1.useRef(null),{getButtonProps:f,buttonRef:m}=Jr({disabled:r,focusableWhenDisabled:!0,native:s,composite:!0}),g=OI({closeOnClick:t,highlighted:o,id:n,nodeId:c,store:i,typingRef:a,itemRef:u,itemMetadata:d}),h=G1.useCallback(_=>at(g,{onMouseEnter(y){d.type==="submenu-trigger"&&d.setActive(y.nativeEvent)}},_,f),[g,f,d]),b=Ro(u,m);return G1.useMemo(()=>({getItemProps:h,itemRef:b}),[h,b])}var Yge="data-checked",qge="data-unchecked";var Bb={checked(e){return e?{[Yge]:""}:{[qge]:""}},...go};var iX=l(P(),1),wat=K5.forwardRef(function(t,r){let{render:o,className:n,id:i,label:a,nativeButton:s=!1,disabled:d=!1,closeOnClick:c=!1,checked:u=!1,onCheckedChange:f,style:m,...g}=t,{store:h}=Ut(),b=bi({guess:!0,label:a}),_=Lt(i),y=h.useState("disabled"),w=h.useState("isActive",b.index),v=h.useState("floatingNodeId"),x=h.useState("itemProps"),S=d||y,{getItemProps:C,itemRef:k}=Vb({closeOnClick:c,disabled:S,highlighted:w,id:_,store:h,nativeButton:s,nodeId:v,itemMetadata:Fb}),E=K5.useMemo(()=>({disabled:S,highlighted:w,checked:u}),[S,w,u]);function I(R){let T=Ne(pe.itemPress,R.nativeEvent,void 0,{preventUnmountOnClose:Ct});f?.(!u,T)}let M=Ce("div",t,{state:E,stateAttributesMapping:Bb,props:[x,{role:"menuitemcheckbox","aria-checked":u,onClick:I},g,C],ref:[k,r,b.ref]});return(0,iX.jsx)(nX.Provider,{value:E,children:M})}),Xge=K5.forwardRef(function(t,r){let{checked:o,defaultChecked:n,onCheckedChange:i,...a}=t,[s,d]=Fi({controlled:o,default:n??!1,name:"MenuCheckboxItem",state:"checked"}),c=Af(t,r);function u(f,m){i?.(f,m),m.isCanceled||d(f)}return c.visible?(0,iX.jsx)(wat,{...a,checked:s,onCheckedChange:u,ref:c.ref}):null});var MI=l(ee(),1);var Zge=MI.forwardRef(function(t,r){let{render:o,className:n,style:i,keepMounted:a=!1,...s}=t,d=Wge(),c=MI.useRef(null),{transitionStatus:u,mounted:f,setMounted:m}=An(d.checked);mo({batch:!0,enabled:!d.checked,open:d.checked,ref:c,onComplete(){d.checked||m(!1)}});let g={checked:d.checked,disabled:d.disabled,highlighted:d.highlighted,transitionStatus:u};return Ce("span",t,{state:g,ref:[r,c],stateAttributesMapping:Bb,props:{"aria-hidden":!0,...s},enabled:a||f})});var Z5=l(ee(),1);var AI=l(ee(),1),X5=AI.createContext(void 0);function Qge(){let e=AI.useContext(X5);if(e===void 0)throw new Error(Je(31));return e}var aX=l(P(),1),sX=Z5.forwardRef(function(t,r){let{render:o,className:n,style:i,...a}=t,[s,d]=Z5.useState(void 0),c=Ce("div",t,{ref:r,props:{role:"group","aria-labelledby":s,...a}});return(0,aX.jsx)(X5.Provider,{value:d,children:c})}),$ge=Z5.forwardRef(function(t,r){let o=Mf()?.Group??sX;return(0,aX.jsx)(o,{...t,ref:r})});var Jge=l(ee(),1);var ehe=Jge.forwardRef(function(t,r){let{render:o,className:n,style:i,id:a,...s}=t,d=Lt(a),c=Qge();return me(()=>(c(d),()=>{c(u=>u===d?void 0:u)}),[c,d]),Ce("div",t,{ref:r,props:{id:d,"aria-hidden":!0,...s}})});var lX=l(ee(),1);var the=l(P(),1),yat=lX.forwardRef(function(t,r){let{render:o,className:n,id:i,label:a,nativeButton:s=!1,disabled:d=!1,closeOnClick:c=!0,style:u,...f}=t,{store:m}=Ut(),g=bi({guess:!0,label:a}),h=Lt(i),b=m.useState("disabled"),_=m.useState("isActive",g.index),y=m.useState("floatingNodeId"),w=m.useState("itemProps"),v=d||b,{getItemProps:x,itemRef:S}=Vb({closeOnClick:c,disabled:v,highlighted:_,id:h,store:m,nativeButton:s,nodeId:y,itemMetadata:Fb});return Ce("div",t,{state:{disabled:v,highlighted:_},props:[w,f,x],ref:[S,r,g.ref]})}),rhe=lX.forwardRef(function(t,r){let o=Af(t,r);return o.visible?(0,the.jsx)(yat,{...t,ref:o.ref}):null});var Q5=l(ee(),1);var ohe=l(P(),1),xat=Q5.forwardRef(function(t,r){let{render:o,className:n,id:i,label:a,closeOnClick:s=!1,style:d,...c}=t,{store:u}=Ut(),f=Q5.useRef(null),m=bi({guess:!0,label:a}),g=Lt(i),h=u.useState("isActive",m.index),b=u.useState("floatingNodeId"),_=u.useState("itemProps"),y=u.context.typingRef,{getButtonProps:w,buttonRef:v}=Jr({native:!1,composite:!0}),x=OI({closeOnClick:s,highlighted:h,id:g,nodeId:b,store:u,typingRef:y,itemRef:f,itemMetadata:Fb});function S(k){return at(x,k,w)}return Ce("a",t,{state:{highlighted:h},props:[_,c,S],ref:[f,v,r,m.ref]})}),nhe=Q5.forwardRef(function(t,r){let o=Af(t,r);return o.visible?(0,ohe.jsx)(xat,{...t,ref:o.ref}):null});var hy=l(ee(),1);var NI=l(ee(),1),Sat=NI.createContext(void 0);function LI(e){let t=NI.useContext(Sat);if(t===void 0&&!e)throw new Error(Je(69));return t}var DI=l(ee(),1),$5=DI.createContext(void 0);function Y1(){return DI.useContext($5)}var FI=l(ee(),1);function Cat(e,t){let r=Uw(e.render);if(FI.isValidElement(r)){let o=r.props;if(Object.hasOwn(o,"id"))return o.id??""}return e.id??t}function VI(e,t,r){let o=Cat(e,t),n=o===t?void 0:o,i=FI.useCallback(a=>r?.(a?n:void 0),[n,r]);return[o,i]}var ihe=l(ee(),1);function q1(e,t,r){let o=Uw(e.render),n=ihe.isValidElement(o)?o.props:void 0,i=e["aria-label"]??n?.["aria-label"],a=e["aria-labelledby"]??n?.["aria-labelledby"];return a==null&&!i&&(a=t?t.id||void 0:r||void 0),a}var dX=l(P(),1),cX=hy.forwardRef(function(t,r){let{render:o,className:n,style:i,finalFocus:a,id:s,initialFocus:d,...c}=t,{store:u,defaultFloatingId:f,setRenderedFloatingId:m,virtualFocus:g,orientation:h}=Ut(),b=Y1(),{side:_,align:y}=Db(),w=LI(!0)!=null,v=u.useState("open"),x=u.useState("transitionStatus"),S=u.useState("popupProps"),C=u.useState("mounted"),k=u.useState("instantType"),E=u.useState("activeTriggerElement"),I=u.useState("parent"),M=u.useState("lastOpenChangeReason"),R=u.useState("rootId"),T=u.useState("floatingRootContext"),O=u.useState("floatingTreeRoot"),A=u.useState("closeDelay"),D=u.useState("hoverEnabled"),V=u.useState("disabled"),H=u.useState("openMethod"),N=u.useState("activeTriggerId"),L=u.useState("listElement"),[z,j]=VI(t,f,m),F=q1(t,E,N),Y=I.type==="menu"?b:void 0,W=I.type==="context-menu",Z=d??I.type!=="menu";d===void 0&&L&&I.type!=="menu"&&(Z=()=>u.state.activeIndex!==null?!1:L),mo({open:v,ref:u.context.popupRef,onComplete(){v&&u.context.onOpenChangeComplete?.(!0)}}),hy.useEffect(()=>{function te(ae){u.setOpen(!1,Ne(ae.reason,ae.domEvent))}return O.events.on("close",te),()=>{O.events.off("close",te)}},[O.events,u]),E5(T,{enabled:D&&!V&&!W&&I.type!=="menubar",closeDelay:A});let X=u.useStateSetter("popupElement"),q=hy.useContext(q5)?.useParentHandoff??Eat,{parentVirtualFocusRef:ce,handleFocus:de}=q(u,I,v,g),he={transitionStatus:x,side:_,align:y,open:v,nested:I.type==="menu",instant:k},ge=Ce("div",t,{state:he,ref:[r,u.context.popupRef,X,j],stateAttributesMapping:vb,props:[S,{id:z,...L?{role:"presentation"}:{role:"menu","aria-orientation":h==="horizontal"?"horizontal":void 0,"aria-labelledby":F},onKeyDown(te){Y?.onPopupKeyDown?.(te),w&&T1.has(te.key)&&te.stopPropagation()},onFocus:de},Of(x),c,{"data-rootownerid":R}]}),ye=I.type===void 0||W;(E||I.type==="menubar"&&M!==pe.outsidePress)&&(ye=!0);let Te=Y?.getReturnElement??ce;return(0,dX.jsx)(ty,{context:T,openInteractionType:H,modal:W,disabled:!C,returnFocus:a??Te??ye,explicitReturnFocus:a===void 0&&Te?!1:void 0,initialFocus:Z,restoreFocus:!0,getInsideElements:I.type===void 0?()=>[u.context.beforeTriggerFocusGuardRef.current]:void 0,externalTree:I.type!=="menubar"?O:void 0,previousFocusableElement:E,nextFocusableElement:I.type===void 0?u.context.triggerFocusTargetRef:void 0,beforeContentFocusGuardRef:u.context.beforeContentFocusGuardRef,children:ge})}),kat={parentVirtualFocusRef:void 0,handleFocus:void 0};function Eat(){return kat}var ahe=hy.forwardRef(function(t,r){let o=Mf()?.Popup??cX;return(0,dX.jsx)(o,{...t,ref:r})});var lhe=l(ee(),1);var BI=l(ee(),1),uX=BI.createContext(void 0);function she(){let e=BI.useContext(uX);if(e===void 0)throw new Error(Je(32));return e}var pX=l(P(),1),dhe=lhe.forwardRef(function(t,r){let{keepMounted:o=!1,...n}=t,{store:i,parent:a}=Ut();if(!(i.useState("mounted")||o))return null;let c=a.type==="menu"||a.type==="menubar"?"group":void 0;return(0,pX.jsx)(uX.Provider,{value:o,children:(0,pX.jsx)(ey,{ref:r,...n,portalOwnerRole:c})})});var zb=l(ee(),1);var fX=l(ee(),1);function che(e){let{store:t,domReference:r,positionerElement:o,open:n}=e,i=fX.useRef(null),a=fX.useRef(null),s=lc(o);me(()=>{n||(a.current?.abort(),a.current=null,t.state.instantType==="trigger-change"&&t.set("instantType",void 0))},[n,t]),me(()=>{let d=r,c=i.current;if(d&&(i.current=d),!c||!d||d===c||!t.select("open"))return;t.set("instantType",void 0);let u=new AbortController;return a.current=u,s(()=>{t.select("open")&&t.set("instantType","trigger-change")},u.signal),()=>{u.abort()}},[r,s,t])}var K1=l(P(),1),uhe=zb.forwardRef(function(t,r){let{anchor:o,positionMethod:n="absolute",className:i,render:a,side:s,align:d,sideOffset:c=0,alignOffset:u=0,collisionBoundary:f="clipping-ancestors",collisionPadding:m=5,arrowPadding:g=5,sticky:h=!1,disableAnchorTracking:b=!1,collisionAvoidance:_=b1,style:y,...w}=t,{store:v,virtualFocus:x,syncHighlightedItem:S}=Ut(),C=she(),k=Lb(!0),E=v.useState("parent"),I=v.useState("floatingRootContext"),M=v.useState("floatingTreeRoot"),R=v.useState("mounted"),T=v.useState("open"),O=v.useState("modal"),A=v.useState("openMethod"),D=v.useState("activeTriggerElement"),V=v.useState("transitionStatus"),H=v.useState("positionerElement"),N=v.useState("instantType"),L=v.useState("adaptiveOrigin"),z=v.useState("lastOpenChangeReason"),j=v.useState("floatingNodeId"),F=v.useState("floatingParentNodeId"),Y=I.useState("domReferenceElement"),W=o,Z=c,X=u,q=d,ce=_;E.type==="context-menu"&&(W=o??E.context?.anchor,q=q??"start",!s&&q!=="center"&&(X=t.alignOffset??2,Z=t.sideOffset??-5));let de=s,he=q;E.type==="menu"?(de=de??"inline-end",he=he??"start",ce=t.collisionAvoidance??t9):E.type==="menubar"&&(de=de??(E.context.orientation==="vertical"?"inline-end":"bottom"),he=he??"start");let ge=E.type==="context-menu",ye=Mb({anchor:W,floatingRootContext:I,positionMethod:k?"fixed":n,mounted:R,side:de,sideOffset:Z,align:he,alignOffset:X,arrowPadding:ge?0:g,collisionBoundary:f,collisionPadding:m,sticky:h,nodeId:j,keepMounted:C,disableAnchorTracking:b,collisionAvoidance:ce,shift:ge?{crossAxis:!("side"in ce&&ce.side==="flip"),rootBoundary:"layoutViewport"}:void 0,externalTree:M,adaptiveOrigin:L,lazyFlip:x?"placement":!1});zb.useEffect(()=>{function ke(ne){ne.open&&(ne.parentNodeId===j&&v.set("hoverEnabled",!1),ne.nodeId!==j&&ne.parentNodeId===v.select("floatingParentNodeId")&&v.setOpen(!1,Ne(pe.siblingOpen)))}return M.events.on("menuopenchange",ke),()=>{M.events.off("menuopenchange",ke)}},[v,M.events,j]),zb.useEffect(()=>{if(v.select("floatingParentNodeId")==null)return;function ke(ne){if(ne.open||ne.nodeId!==v.select("floatingParentNodeId"))return;let Re=ne.reason??pe.siblingOpen;v.setOpen(!1,Ne(Re))}return M.events.on("menuopenchange",ke),()=>{M.events.off("menuopenchange",ke)}},[M.events,v]);let Te=ur();zb.useEffect(()=>{T||Te.clear()},[T,Te]),zb.useEffect(()=>{function ke(ne){if(!(!T||ne.nodeId!==v.select("floatingParentNodeId")))if(ne.target&&D&&D!==ne.target){let Re=v.select("closeDelay");Re>0?Te.isStarted()||Te.start(Re,()=>{v.setOpen(!1,Ne(pe.siblingOpen))}):v.setOpen(!1,Ne(pe.siblingOpen))}else Te.clear()}return M.events.on("itemhover",ke),()=>{M.events.off("itemhover",ke)}},[M.events,T,D,v,Te]),zb.useEffect(()=>{let ke={open:T,nodeId:j,parentNodeId:F,reason:v.select("lastOpenChangeReason")};M.events.emit("menuopenchange",ke)},[M.events,T,v,j,F]),che({store:v,domReference:Y,positionerElement:H,open:T});let te={open:T,side:ye.side,align:ye.align,anchorHidden:ye.anchorHidden,nested:E.type==="menu",instant:N},ae=E.type==="menubar"&&E.context.modal,ue=O&&z!==pe.triggerHover;V1(T&&(ae||ue),A==="touch",H,D);let re=Ab(t,te,{styles:ye.positionerStyles,transitionStatus:V,props:w,refs:[r,v.useStateSetter("positionerElement")],hidden:!R,inert:!T}),_e=R&&E.type!=="menu"&&(E.type!=="menubar"&&O&&z!==pe.triggerHover||E.type==="menubar"&&E.context.modal),xe=null;return E.type==="menubar"?xe=E.context.contentElement:E.type===void 0&&(xe=D),(0,K1.jsxs)(oX.Provider,{value:ye,children:[_e&&(0,K1.jsx)(P1,{ref:E.type==="context-menu"||E.type==="nested-context-menu"?E.context.internalBackdropRef:null,inert:Ef(!T),cutout:xe}),(0,K1.jsx)(tK,{id:j,children:(0,K1.jsx)(dc,{elementsRef:v.context.itemDomElements,labelsRef:v.context.itemLabels,onMapChange:S,children:re})})]})});var Ig=l(ee(),1);var zI=l(ee(),1),mX=zI.createContext(void 0);function phe(){let e=zI.useContext(mX);if(e===void 0)throw new Error(Je(34));return e}var jI=l(P(),1),gX=Ig.forwardRef(function(t,r){let{render:o,className:n,value:i,defaultValue:a,onValueChange:s,disabled:d=!1,style:c,"aria-labelledby":u,...f}=t,[m,g]=Ig.useState(void 0),[h,b]=Fi({controlled:i,default:a,name:"MenuRadioGroup"}),_=ve((x,S)=>{s?.(x,S),!S.isCanceled&&b(x)}),w=Ce("div",t,{state:{disabled:d},ref:r,props:{role:"group","aria-labelledby":u??m,"aria-disabled":d||void 0,...f}}),v=Ig.useMemo(()=>({value:h,setValue:_,disabled:d}),[h,_,d]);return(0,jI.jsx)(X5.Provider,{value:g,children:(0,jI.jsx)(mX.Provider,{value:v,children:w})})}),fhe=Ig.memo(Ig.forwardRef(function(t,r){let o=Mf()?.RadioGroup??gX;return(0,jI.jsx)(o,{...t,ref:r})}));var J5=l(ee(),1);var HI=l(ee(),1),hX=HI.createContext(void 0);function mhe(){let e=HI.useContext(hX);if(e===void 0)throw new Error(Je(35));return e}var bX=l(P(),1),Rat=J5.forwardRef(function(t,r){let{render:o,className:n,id:i,label:a,nativeButton:s=!1,disabled:d=!1,closeOnClick:c=!1,value:u,style:f,...m}=t,{store:g}=Ut(),{value:h,setValue:b,disabled:_}=phe(),y=bi({guess:!0,label:a}),w=Lt(i),v=g.useState("isActive",y.index),x=g.useState("floatingNodeId"),S=g.useState("itemProps"),C=g.useState("disabled"),k=d||_||C,E=h===u,{getItemProps:I,itemRef:M}=Vb({closeOnClick:c,disabled:k,highlighted:v,id:w,store:g,nativeButton:s,nodeId:x,itemMetadata:Fb}),R=J5.useMemo(()=>({disabled:k,highlighted:v,checked:E}),[k,v,E]);function T(A){let D=Ne(pe.itemPress,A.nativeEvent,void 0,{preventUnmountOnClose:Ct});b(u,D)}let O=Ce("div",t,{state:R,stateAttributesMapping:Bb,props:[S,{role:"menuitemradio","aria-checked":E,onClick:T},m,I],ref:[M,r,y.ref]});return(0,bX.jsx)(hX.Provider,{value:R,children:O})}),ghe=J5.forwardRef(function(t,r){let o=Af(t,r);return o.visible?(0,bX.jsx)(Rat,{...t,ref:o.ref}):null});var UI=l(ee(),1);var hhe=UI.forwardRef(function(t,r){let{render:o,className:n,style:i,keepMounted:a=!1,...s}=t,d=mhe(),c=UI.useRef(null),{transitionStatus:u,mounted:f,setMounted:m}=An(d.checked);mo({batch:!0,enabled:!d.checked,open:d.checked,ref:c,onComplete(){d.checked||m(!1)}});let g={checked:d.checked,disabled:d.disabled,highlighted:d.highlighted,transitionStatus:u};return Ce("span",t,{state:g,stateAttributesMapping:Bb,ref:[r,c],props:{"aria-hidden":!0,...s},enabled:a||f})});var Po=l(ee(),1);var WI=l(ee(),1),Tat=WI.createContext(null);function X1(e){let t=WI.useContext(Tat);if(t===null&&!e)throw new Error(Je(5));return t}var Z1=l(ee(),1);var bhe={...S1,disabled:e=>e.parent.type==="menubar"&&e.parent.context.disabled||e.disabled,modal:e=>(e.parent.type===void 0||e.parent.type==="context-menu")&&(e.modal??!0),openMethod:e=>e.openMethod,keyboardOpen:e=>e.keyboardOpen,allowMouseEnter:e=>e.allowMouseEnter,highlightItemOnHover:e=>e.highlightItemOnHover,parent:e=>e.parent,rootId:e=>e.parent.type==="menu"?e.parent.store.select("rootId"):e.parent.type!==void 0?e.parent.context.rootId:e.rootId,activeIndex:e=>e.activeIndex,listElement:e=>e.listElement,triggerControlsId:(e,t)=>{let r=S1.triggerPopupId(e,t);return r?e.listElement?.id||r:void 0},filterTriggerProps:e=>e.filterTriggerProps,inputProps:e=>e.inputProps,webkitAriaSelected:(e,t)=>$t.engine.webkit&&e.inputFocused&&t?!0:void 0,highlightedItemId:e=>e.highlightedItem?.id||void 0,isActive:(e,t)=>e.activeIndex===t,hoverEnabled:e=>e.hoverEnabled,instantType:e=>e.instantType==="trigger-change"&&!S1.open(e)?void 0:e.instantType,lastOpenChangeReason:e=>e.openChangeReason,floatingTreeRoot:e=>e.parent.type==="menu"?e.parent.store.select("floatingTreeRoot"):e.floatingTreeRoot,floatingNodeId:e=>e.floatingNodeId,floatingParentNodeId:e=>e.floatingParentNodeId,itemProps:e=>e.itemProps,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin,keyboardEventRelay:e=>{if(e.keyboardEventRelay)return e.keyboardEventRelay;if(e.parent.type==="menu")return e.parent.store.select("keyboardEventRelay")}},GI=class extends fs{constructor(t,r,o=!1){let n=new Sf,i=whe(n,r,o,t);super(i,_he(n),bhe),this.observe("parent",a=>{a.type==="menu"?this.context.allowMouseUpTriggerRef=a.store.context.allowMouseUpTriggerRef:a.type!==void 0&&(this.context.allowMouseUpTriggerRef=a.context.allowMouseUpTriggerRef)})}subscribeToParentMenu(){let t=this.state.parent;if(t.type!=="menu")return;let r=t.store.select("rootId"),o=t.store.select("floatingTreeRoot"),n=t.store.select("keyboardEventRelay");return t.store.subscribe(()=>{let i=t.store.select("rootId"),a=t.store.select("floatingTreeRoot"),s=t.store.select("keyboardEventRelay");r===i&&o===a&&n===s||(r=i,o=a,n=s,this.notifyAll())})}setOpen(t,r){this.state.floatingRootContext.context.events.emit("setOpen",{open:t,eventDetails:r})}setActiveIndex(t,r,o){if(this.state.activeIndex!==t){let i=(t===null?void 0:this.context.itemDomElements.current[t])===this.context.reportedItem;this.context.highlightReason=i?"none":r,this.context.highlightEvent=i?void 0:o}this.set("activeIndex",t)}highlightItem(t,r,o){let n=this.context.itemDomElements.current.indexOf(t);n>-1&&this.setActiveIndex(n,r,o)}};function vhe(){let e=new Sf,t=new R1(Object.freeze(whe(e)),Object.freeze(_he(e)),bhe);return Object.assign(t,{setOpen:Ct})}function _he(e){return{positionerRef:Z1.createRef(),popupRef:Z1.createRef(),typingRef:{current:!1},itemDomElements:{current:[]},itemLabels:{current:[]},highlightReason:"none",highlightEvent:void 0,reportedItem:void 0,allowMouseUpTriggerRef:{current:!1},virtualFocusRef:void 0,triggerFocusTargetRef:Z1.createRef(),beforeTriggerFocusGuardRef:Z1.createRef(),beforeContentFocusGuardRef:Z1.createRef(),onOpenChangeComplete:void 0,triggerElements:e}}function whe(e,t,r=!1,o){return{...f9(e,t,r),disabled:!1,modal:!0,openMethod:null,keyboardOpen:!1,allowMouseEnter:!1,highlightItemOnHover:!0,parent:{type:void 0},rootId:void 0,activeIndex:null,listElement:null,filterTriggerProps:ft,inputProps:ft,inputFocused:!1,highlightedItem:void 0,hoverEnabled:!0,instantType:void 0,openChangeReason:null,floatingTreeRoot:new Sb,floatingNodeId:void 0,floatingParentNodeId:null,itemProps:ft,keyboardEventRelay:void 0,closeDelay:0,adaptiveOrigin:void 0,...o}}var yhe=l(ee(),1),jb=yhe.createContext(null);function vX(e,t){return(e===pe.triggerPress||e===pe.itemPress)&&t?.detail===0}function YI(e,t){return e===pe.listNavigation||vX(e,t)}var Hb=l(P(),1),by=x5(function(t){let{children:r,open:o,onOpenChange:n,onOpenChangeComplete:i,onItemHighlighted:a,defaultOpen:s=!1,disabled:d=!1,modal:c,loopFocus:u=!0,orientation:f="vertical",actionsRef:m,closeParentOnEsc:g=!1,handle:h,triggerId:b,defaultTriggerId:_=null,highlightItemOnHover:y=!0,isSubmenu:w=!1,virtualFocus:v=!1,virtualFocusRef:x,allowEscape:S=!0,resetOnPointerLeave:C=!0}=t,k=Lb(!0),E=Ut(!0),I=X1(!0),M=E?.store,R=E?.virtualFocus??!1,T=Po.useMemo(()=>w&&M?{type:"menu",store:M}:I?{type:"menubar",context:I}:k&&!M?{type:"context-menu",context:k}:{type:void 0},[k,M,I,w]),O=Lt(),A=Lt(),[D,V]=Po.useState(void 0),H=(D??A)||void 0,N=Ks(),L=T.type==="menu"?T.store:void 0,z=(o??s)&&L?.state.transitionStatus==="starting",j=Ot(()=>z?L?.state.instantType:void 0).current,F=Ot(()=>{let Ie=new GI({open:s,openProp:o,activeTriggerId:_,triggerIdProp:b,parent:T,disabled:d,highlightItemOnHover:y,modal:T.type===void 0?c:void 0,rootId:O,instantType:j},H,N!=null);return Ie.context.virtualFocusRef=x,Ie}).current;F.useControlledProp("openProp",o),F.useControlledProp("triggerIdProp",b),F.useContextCallback("onOpenChangeComplete",i);let Y=F.useState("floatingTreeRoot"),W=v5(Y),Z=F.useState("open"),X=F.useState("activeTriggerElement"),q=F.useState("positionerElement"),ce=F.useState("hoverEnabled"),de=F.useState("disabled"),he=F.useState("lastOpenChangeReason"),ge=F.useState("parent"),ye=F.useState("activeIndex"),Te=F.useState("keyboardOpen"),te=F.useState("payload"),ae=F.useState("floatingParentNodeId"),ue=Po.useRef(null),re=Po.useRef(ge.type!=="context-menu"),_e=ur(),xe=Po.useRef(!0),ke=ur(),ne=ae!=null,{openMethod:Re,triggerProps:Ae}=I1(Z);F.useSyncedValues({disabled:d,highlightItemOnHover:y,modal:ge.type===void 0?c:void 0,openMethod:Re,rootId:O}),a9(F);let{forceUnmount:Oe,transitionStatus:ie}=s9(Z,F,()=>{F.set("allowMouseEnter",!1)},z),be=lc(F.context.popupRef);Po.useEffect(()=>{if(j===void 0)return;let Ie=()=>{F.state.instantType===j&&F.set("instantType",void 0)};if(!Z){Ie();return}if(ie!==void 0)return;if(F.context.popupRef.current==null){Ie();return}let Ke=new AbortController;return be(Ie,Ke.signal),()=>{Ke.abort()}},[j,Z,ie,be,F]),me(()=>{k&&!E?F.update({parent:{type:"context-menu",context:k},floatingNodeId:W,floatingParentNodeId:N}):(E||!F.select("activeTriggerElement"))&&F.update({floatingNodeId:W,floatingParentNodeId:N})},[k,E,W,N,X,F]),Po.useEffect(()=>{if(Z||(ue.current=null),ge.type==="context-menu"){if(!Z){_e.clear(),re.current=!1;return}_e.start(500,()=>{re.current=!0})}},[_e,Z,ge.type]),me(()=>{!Z&&!ce&&F.set("hoverEnabled",!0)},[Z,ce,F]);let Fe=ve((Ie,Ke)=>{let Se=Ke.reason;if(!Ie&&!F.select("open")||Z===Ie&&Ke.trigger===X&&he===Se)return;let Pe=ry(Ke);if(!Ie&&Ke.trigger==null&&(Ke.trigger=X??void 0),n?.(Ie,Ke),Ke.isCanceled)return;F.state.floatingRootContext.dispatchOpenChange(Ie,Ke);let Qt=Ke.event;if(Ie===!1&&Se!==pe.itemPress&&Qt?.type==="click"&&Qt.pointerType==="touch"&&!xe.current)return;Ie&&Se===pe.triggerFocus?(xe.current=!1,ke.start(300,()=>{xe.current=!0})):(xe.current=!0,ke.clear());let He=!Ie&&(Se===pe.escapeKey||Se==null);ue.current=Ke.event;let qe=lK(F.state,Ie,Ke.trigger,Pe());qe.openChangeReason=Se,qe.keyboardOpen=Ie&&YI(Se,Qt),ge.type==="menubar"&&(Se===pe.triggerFocus||Se===pe.focusOut||Se===pe.triggerHover||Se===pe.listNavigation||Se===pe.siblingOpen)?qe.instantType="group":vX(Se,Qt)?qe.instantType="click":He?qe.instantType="dismiss":qe.instantType=void 0,F.update(qe)}),Le=y5({popupStore:F,floatingRootContext:F.state.floatingRootContext,floatingId:H,nested:N!=null,onOpenChange:Fe}),Ve=Le.context.events;me(()=>{let Ie=({open:Ke,eventDetails:Se})=>Fe(Ke,Se);return Ve.on("setOpen",Ie),()=>{Ve?.off("setOpen",Ie)}},[Ve,Fe]),me(()=>F.subscribeToParentMenu(),[F]);let it=Po.useCallback(()=>{F.setOpen(!1,Ne(pe.imperativeAction))},[F]);Po.useImperativeHandle(m,()=>({unmount:Oe,close:it}),[Oe,it]);let dt;ge.type==="context-menu"&&(dt=ge.context),Po.useImperativeHandle(dt?.positionerRef,()=>q,[q]),Po.useImperativeHandle(dt?.actionsRef,()=>({setOpen:Fe}),[Fe]);let We=Eg(Le,{enabled:!de,bubbles:{escapeKey:g&&ge.type==="menu"},outsidePress(){return ge.type!=="context-menu"||ue.current?.type==="contextmenu"?!0:re.current},externalTree:ne?Y:void 0}),Ye=To(),St=iy(Le,{enabled:!de,listRef:F.context.itemDomElements,activeIndex:ye,virtual:v,nested:ge.type==="menubar"||!v&&ge.type!==void 0,parentOrientation:ge.type==="menubar"?ge.context.orientation:void 0,loopFocus:u,focusItemOnOpen:v?Te:void 0,allowEscape:v&&u&&S,orientation:f,triggerOrientation:v?"vertical":f,rtl:Ye==="rtl",disabledIndices:Ur,onNavigate(Ie,Ke){F.setActiveIndex(Ie,Rf(Ke),Ke?.nativeEvent)},openOnArrowKeyDown:ge.type!=="context-menu"&&!(v&&w),externalTree:!v&&ne?Y:void 0,nestedReturnFocusRef:L?.context.virtualFocusRef,focusItemOnHover:y,resetOnPointerLeave:C}),Cr=Po.useCallback(Ie=>{F.context.typingRef.current=Ie},[F]),Mt=sy(Le,{enabled:!de&&!v,listRef:F.context.itemLabels,elementsRef:F.context.itemDomElements,activeIndex:ye,resetMs:500,onMatch:(Ie,Ke)=>{Z&&Ie!==ye&&F.setActiveIndex(Ie,pe.keyboard,Ke.nativeEvent)},onTyping:Cr}),hr=ve(a),et=Po.useRef(-1),At=ve(()=>{let Ie=F.state.activeIndex,Ke=Ie===null?void 0:F.context.itemDomElements.current[Ie]??void 0;if(Ke?.isConnected===!1)return;let Se=Ke===void 0?-1:Ie;if(et.current===Se&&F.context.reportedItem===Ke)return;et.current=Se,F.context.reportedItem=Ke,v&&F.set("highlightedItem",Ke);let{highlightReason:Pe,highlightEvent:Qt}=F.context;F.context.highlightReason=pe.none,F.context.highlightEvent=void 0,a&&hr(Ke,P8(Pe,Qt,{label:Ke===void 0?void 0:F.context.itemLabels.current[Se]??void 0}))});me(()=>{At()},[ye,At]);let Ze=Po.useMemo(()=>{if(!v)return St.reference;if(!St.trigger)return ft;let{onFocus:Ie,...Ke}=St.trigger;return Ke},[v,St.reference,St.trigger]);F.useSyncedValue("inputProps",v?St.reference??ft:ft);let J=Po.useMemo(()=>{let Ie=at(Mt.reference,Ze,We.reference,{onMouseMove(){F.set("allowMouseEnter",!0)}},Ae);return Ie["aria-haspopup"]="menu",Ie["aria-expanded"]=Z,Ie},[F,Mt.reference,Ze,We.reference,Ae,Z]),we=Po.useMemo(()=>{let Ie=at(St.trigger,We.trigger,Ae);return Ie["aria-haspopup"]="menu",Ie["aria-expanded"]=!1,Ie},[St.trigger,We.trigger,Ae]);Ot(()=>(F.update({inactiveTriggerProps:we}),null));let G=Po.useMemo(()=>at(Eb,{onMouseMove(){F.set("allowMouseEnter",!0),ge.type==="menu"&&F.set("hoverEnabled",!1)},onClick(){F.select("hoverEnabled")&&F.set("hoverEnabled",!1)},onKeyDown(Ie){let Ke=F.select("keyboardEventRelay");Ke&&!Ie.isPropagationStopped()&&Ke(Ie)}},Mt.floating,St.floating,We.floating),[ge.type,F,Mt.floating,St.floating,We.floating]),Me=St.item??ft;l9(F,{floatingRootContext:Le,activeTriggerProps:J,inactiveTriggerProps:we,popupProps:G,itemProps:Me});let tt=Po.useMemo(()=>({store:F,parent:T,orientation:f,loopFocus:u,allowEscape:S,defaultFloatingId:A,setRenderedFloatingId:V,virtualFocus:v,parentVirtualFocus:R,syncHighlightedItem:At}),[F,T,f,u,S,A,v,R,At]),Ee=typeof r=="function"?r({payload:te}):r,ut=(0,Hb.jsxs)(G5.Provider,{value:tt,children:[h&&(0,Hb.jsx)(n9,{handle:h,store:F}),Ee]});return(ge.type===void 0||ge.type==="context-menu")&&(ut=(0,Hb.jsx)(rK,{externalTree:Y,children:ut})),ut});function xhe(e){let t=Po.useContext(jb);if(t===null)return(0,Hb.jsx)(by,{...e});let r=t.Root;return(0,Hb.jsx)(jb.Provider,{value:null,children:(0,Hb.jsx)(r,{...t.options,...e})})}var She=l(ee(),1);var eT=l(P(),1);var Pat={};function Che(e){Ut();let t=She.useContext(jb);if(t!==null){let r=t.SubmenuRoot;return(0,eT.jsx)(jb.Provider,{value:null,children:(0,eT.jsx)(r,{...t.options,...e})})}return(0,eT.jsx)($5.Provider,{value:Pat,children:(0,eT.jsx)(by,{...e,isSubmenu:!0})})}var gs=l(ee(),1);var khe=l(ee(),1);function qI(e={}){let{highlightItemOnHover:t,highlightedIndex:r,onHighlightedIndexChange:o}=hb(),{ref:n,index:i}=bi(e),a=r===i,s=khe.useRef(null),d=Ro(n,s);return{compositeProps:{tabIndex:a?0:-1,onFocus(){o(i)},onMouseMove(){let u=s.current;if(!t||!u)return;let f=u.hasAttribute("disabled")||u.ariaDisabled==="true";!a&&!f&&u.focus()}},compositeRef:d,index:i}}function Ehe(e){let{render:t,className:r,style:o,state:n=ft,props:i=Ur,refs:a=Ur,metadata:s,stateAttributesMapping:d,tag:c="div",...u}=e,{compositeProps:f,compositeRef:m}=qI({metadata:s});return Ce(c,e,{state:n,ref:[m,...a],props:[f,...i,u],stateAttributesMapping:d})}function _X(e){if(vt(e)&&e.hasAttribute("data-rootownerid"))return e.getAttribute("data-rootownerid");if(!Gs(e))return _X(ls(e))}var Rhe=l(sc(),1);function The(e,t){function r(i,a,s){let d=i.currentTarget;Rhe.flushSync(()=>{e.setOpen(!1,Ne(pe.focusOut,i.nativeEvent,d))}),cpe(d.isConnected?d:t.current,a,s)?.focus()}function o(i){r(i,-1,e.select("positionerElement"))}function n(i){let a=e.select("positionerElement");a&&kg(i,a)?e.context.beforeContentFocusGuardRef.current?.focus():r(i,1,a)}return{handlePreFocusGuardFocus:o,handleFocusTargetFocus:n}}var KI=l(ee(),1);function Phe(e){let{enabled:t=!0,mouseDownAction:r,open:o}=e,n=KI.useRef(!1);return KI.useMemo(()=>t?{onMouseDown:i=>{(r==="open"&&!o||r==="close"&&o)&&(n.current=!0,st(i.currentTarget).addEventListener("click",()=>{n.current=!1},{once:!0}))},onClick:i=>{n.current&&(n.current=!1,i.preventBaseUIHandler())}}:ft,[t,r,o])}var Ub=l(P(),1),Ihe=c9(function(t,r){let{render:o,className:n,style:i,disabled:a=!1,nativeButton:s=!0,id:d,openOnHover:c,delay:u=100,closeDelay:f=0,handle:m,payload:g,...h}=t,b=Ut(!0),y=m9(m)??b?.store;if(!y)throw new Error(Je(85));let w=Lt(d),v=y.useState("isTriggerActive",w),x=y.useState("floatingRootContext"),S=y.useState("isOpenedByTrigger",w),C=y.useState("triggerControlsId",w),k=gs.useRef(null),E=Oat(),I=hb(!0),M=us(),R=gs.useMemo(()=>M??new Sb,[M]),T=v5(R),O=Ks(),{registerTrigger:A,isMountedByThisTrigger:D}=i9(w,k,y,{payload:g,closeDelay:f,parent:E,floatingTreeRoot:R,floatingNodeId:T,floatingParentNodeId:O,keyboardEventRelay:I?.relayKeyboardEvent}),V=E.type==="menubar",H=y.useState("disabled"),N=a||H||V&&E.context.disabled,{getButtonProps:L,buttonRef:z}=Jr({disabled:N,native:s});gs.useEffect(()=>{!S&&E.type===void 0&&(y.context.allowMouseUpTriggerRef.current=!1)},[y,S,E.type]);let j=gs.useRef(null),F=ur(),Y=ve(ke=>{if(!j.current)return;F.clear(),y.context.allowMouseUpTriggerRef.current=!1;let ne=ke.target;Ge(j.current,ne)||Ge(y.select("positionerElement"),ne)||ne===j.current||ne!=null&&_X(ne)===y.select("rootId")||A1(ke,j.current)||R.events.emit("close",{domEvent:ke,reason:pe.cancelOpen})});gs.useEffect(()=>{let ke=st(j.current);if(S&&y.select("lastOpenChangeReason")===pe.triggerHover)return ke.addEventListener("mouseup",Y,{once:!0}),()=>{ke.removeEventListener("mouseup",Y)}},[S,Y,y]);let W=V&&E.context.hasSubmenuOpen,X=ny(x,{enabled:(c??W)&&!N&&(!V||W&&!D),handleClose:ly({blockPointerEvents:!V}),mouseOnly:!0,move:!1,restMs:E.type===void 0?u:void 0,delay:{close:f},triggerElementRef:k,externalTree:R,isActiveTrigger:v,isClosing:()=>y.select("transitionStatus")==="ending"}),q=Iat(S,y.select("lastOpenChangeReason")),ce=Pu(x,{enabled:!N,event:S&&V?"click":"mousedown",toggle:!0,ignoreMouse:!1,stickIfOpen:E.type===void 0?q:!1}),de=k5(x,{enabled:!N&&W}),he=Phe({open:S,enabled:V,mouseDownAction:"open"}),ge=gs.useMemo(()=>at(de.reference,ce.reference),[de.reference,ce.reference]),ye=y.useState("triggerProps",D),Te=y.useState("filterTriggerProps"),{handlePreFocusGuardFocus:te,handleFocusTargetFocus:ae}=The(y,k),ue={disabled:N,open:S},re=[j,r,z,A,k],_e=[ge,X??ft,ye,{"aria-haspopup":"menu","aria-controls":C,id:w,onMouseDown:ke=>{if(y.select("open"))return;F.start(200,()=>{y.context.allowMouseUpTriggerRef.current=!0}),st(ke.currentTarget).addEventListener("mouseup",Y,{once:!0})}},Te,V?{role:"menuitem"}:{},he,h,L],xe=Ce("button",t,{enabled:!V,stateAttributesMapping:Zw,state:ue,ref:re,props:_e});return V?(0,Ub.jsx)(Ehe,{tag:"button",render:o,className:n,style:i,state:ue,refs:re,props:_e,stateAttributesMapping:Zw}):S?(0,Ub.jsxs)(gs.Fragment,{children:[(0,Ub.jsx)(xg,{ref:y.context.beforeTriggerFocusGuardRef,onFocus:te},`${w}-pre-focus-guard`),(0,Ub.jsx)(gs.Fragment,{children:xe},w),(0,Ub.jsx)(xg,{ref:y.context.triggerFocusTargetRef,onFocus:ae},`${w}-post-focus-guard`)]}):(0,Ub.jsx)(gs.Fragment,{children:xe},w)});function Iat(e,t){let r=ur(),[o,n]=gs.useState(!1);return me(()=>{e&&t===pe.triggerHover?(n(!0),r.start(500,()=>{n(!1)})):e||(r.clear(),n(!1))},[e,t,r]),o}function Oat(){let e=X1(!0);return gs.useMemo(()=>e?{type:"menubar",context:e}:{type:void 0},[e])}var jhe=l(ee(),1);var Va=l(ee(),1),zhe=l(sc(),1);var Ohe=l(ee(),1);function XI(e){let[t,r]=Ohe.useState({current:e,previous:null});return Object.is(e,t.current)||r({current:e,previous:t.current}),t.previous}var $I=l(ee(),1);function Q1(e){let t=Xn(e),r=parseFloat(t.width)||0,o=parseFloat(t.height)||0,n=vt(e),i=n?e.offsetWidth:r,a=n?e.offsetHeight:o;return(xb(r)!==i||xb(o)!==a)&&(r=i,o=a),{width:r,height:o}}var tT="--popup-width",rT="--popup-height";function Nhe(e){let{popupElement:t,positionerElement:r,content:o,mounted:n,onMeasureLayout:i,onMeasureLayoutComplete:a,side:s,direction:d}=e,c=lc(t,!0),u=Ws(),f=$I.useRef(null),m=ve(i),g=ve(a),h=$I.useMemo(()=>Mat(s,d),[s,d]);me(()=>{if(!n){f.current=null;return}if(!t||!r)return;let b=Ahe(t,h);wX(t,"auto");let _=QI(t,"position","static"),y=QI(t,"transform","none"),w=QI(t,"scale","1"),v=Ahe(r,{[dI]:"max-content",[cI]:"max-content"});function x(){_(),y(),v(),w()}if(m?.(),f.current===null){ZI(r,"max-content");let E=Q1(t);return f.current=E,ZI(r,E),x(),g?.(null,E),b}ZI(r,"max-content");let S=f.current,C=Q1(t);f.current=C,wX(t,S),x(),g?.(S,C),ZI(r,C);let k=new AbortController;return u.request(()=>{wX(t,C),c(()=>{t.style.setProperty(tT,"auto"),t.style.setProperty(rT,"auto")},k.signal)}),()=>{k.abort(),u.cancel(),b()}},[o,t,r,c,u,n,m,g,h])}function Mat(e,t){let r=e==="top",o=e==="left"||e===(t==="rtl"?"inline-end":"inline-start");return!r&&!o?ft:{position:"absolute",[r?"bottom":"top"]:"0",[o?"right":"left"]:"0"}}function QI(e,t,r){let o=e.style.getPropertyValue(t);return e.style.setProperty(t,r),()=>{e.style.setProperty(t,o)}}function Ahe(e,t){let r=[];for(let[o,n]of Object.entries(t))r.push(QI(e,o,n));return r.length?()=>{r.forEach(o=>o())}:Ct}function wX(e,t){let r=t==="auto"?"auto":`${t.width}px`,o=t==="auto"?"auto":`${t.height}px`;e.style.setProperty(tT,r),e.style.setProperty(rT,o)}function ZI(e,t){let r=t==="max-content"?"max-content":`${t.width}px`,o=t==="max-content"?"max-content":`${t.height}px`;e.style.setProperty(Cme,r),e.style.setProperty(kme,o)}var Lhe=l(ee(),1);var Dhe=l(P(),1),JI=function(t){let{direction:r="ltr"}=t,o=Lhe.useMemo(()=>({direction:r}),[r]);return(0,Dhe.jsx)(FK.Provider,{value:o,children:t.children})};var Fhe={name:"adaptiveOrigin",async fn(e){let{x:t,y:r,rects:{floating:o},elements:{floating:n},platform:i,strategy:a,placement:s}=e,d=Ht(n),c=d.getComputedStyle(n);if(!(c.transitionDuration!=="0s"&&c.transitionDuration!==""))return{x:t,y:r,data:F1};let f=await i.getOffsetParent?.(n),m={width:0,height:0};if(a==="fixed"&&d?.visualViewport)m={width:d.visualViewport.width,height:d.visualViewport.height};else if(f===d){let w=st(n);m={width:w.documentElement.clientWidth,height:w.documentElement.clientHeight}}else await i.isElement?.(f)&&(m=await i.getDimensions(f));let g=Na(s),h=t,b=r;g==="left"&&(h=m.width-(t+o.width)),g==="top"&&(b=m.height-(r+o.height));let _=g==="left"?"right":F1.sideX,y=g==="top"?"bottom":F1.sideY;return{x:h,y:b,data:{sideX:_,sideY:y}}}};var Vhe="data-activation-direction";var $1=l(P(),1),eO={activationDirection:e=>e?{[Vhe]:e}:null};function tO(e){let{store:t,side:r,children:o}=e,n=To(),i=t.useState("activeTriggerElement"),a=t.useState("activeTriggerId"),s=t.useState("open"),d=t.useState("payload"),c=t.useState("mounted"),u=t.useState("popupElement"),f=t.useState("positionerElement"),m=XI(s?i:null),g=Dat(a,d),h=Va.useRef(null),[b,_]=Va.useState(null),[y,w]=Va.useState(null),v=Va.useRef(null),x=Va.useRef(null),S=lc(v,!0),C=Ws(),k=Va.useRef(null),[E,I]=Va.useState(null),[M,R]=Va.useState(!1);me(()=>(t.set("adaptiveOrigin",Fhe),()=>{t.set("adaptiveOrigin",void 0)}),[t]);let T=ve(()=>{v.current?.style.setProperty("animation","none"),v.current?.style.setProperty("transition","none"),x.current?.style.setProperty("display","none")}),O=ve(L=>{v.current?.style.removeProperty("animation"),v.current?.style.removeProperty("transition"),x.current?.style.removeProperty("display"),L&&I(L)}),A=ve(()=>{k.current?.abort();let L=new AbortController;k.current=L,S(()=>{_(null),I(null),h.current=null},L.signal)}),D=Va.useRef(null);me(()=>{(!s||!c)&&(D.current=null)},[s,c]),me(()=>{if(s&&i&&m&&i!==m&&D.current!==i&&h.current){_(h.current),R(!0);let L=Lat(m,i);w(L),D.current=i}},[s,i,m]),me(()=>{b!=null&&(k.current?.abort(),R(!0),C.request(()=>{zhe.flushSync(()=>{R(!1)}),A()}))},[g,b,A,C]),me(()=>{let L=v.current;if(!L)return;let z=st(L).createElement("div");for(let j of Array.from(L.childNodes))z.appendChild(j.cloneNode(!0));h.current=z});let V=b!=null,H;V?H=(0,$1.jsxs)(Va.Fragment,{children:[(0,$1.jsx)("div",{"data-previous":!0,inert:Ef(!0),ref:x,style:{...E?{[tT]:`${E.width}px`,[rT]:`${E.height}px`}:null,position:"absolute"},"data-ending-style":M?void 0:""},"previous"),(0,$1.jsx)("div",{"data-current":!0,ref:v,"data-starting-style":M?"":void 0,children:o},g)]}):H=(0,$1.jsx)("div",{"data-current":!0,ref:v,children:o},g),me(()=>{let L=x.current;!L||!b||L.replaceChildren(...Array.from(b.childNodes))},[b]),Nhe({popupElement:u,positionerElement:f,mounted:c,content:d,onMeasureLayout:T,onMeasureLayoutComplete:O,side:r,direction:n});let N={activationDirection:Nat(y),transitioning:V};return{children:H,state:N}}function Nat(e){if(e)return`${Bhe(e.horizontal,5,"right","left")} ${Bhe(e.vertical,5,"down","up")}`}function Bhe(e,t,r,o){return e>t?r:e<-t?o:""}function Lat(e,t){let r=e.getBoundingClientRect(),o=t.getBoundingClientRect(),n={x:r.left+r.width/2,y:r.top+r.height/2},i={x:o.left+o.width/2,y:o.top+o.height/2};return{horizontal:i.x-n.x,vertical:i.y-n.y}}function Dat(e,t){let[r,o]=Va.useState(0),n=Va.useRef(e),i=Va.useRef(t),a=Va.useRef(!1);return me(()=>{let s=n.current,d=i.current,c=e!==s,u=t!==d;c?(o(f=>f+1),a.current=!u):a.current&&u&&(o(f=>f+1),a.current=!1),n.current=e,i.current=t},[e,t]),`${e??"current"}-${r}`}var Hhe=jhe.forwardRef(function(t,r){let{render:o,className:n,style:i,children:a,...s}=t,{store:d}=Ut(),{side:c}=Db(),u=d.useState("instantType"),{children:f,state:m}=tO({store:d,side:c,children:a}),g={activationDirection:m.activationDirection,transitioning:m.transitioning,instant:u};return Ce("div",t,{state:g,ref:r,props:[s,{children:f}],stateAttributesMapping:eO})});var Uhe=l(ee(),1);var Whe=Uhe.forwardRef(function(t,r){let{className:o,render:n,orientation:i="horizontal",style:a,...s}=t;return Ce("div",t,{state:{orientation:i},ref:r,props:[{role:"separator","aria-orientation":i},s]})});var Mu=l(ee(),1);function rO(e){return e==null||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true"}var Ghe=l(P(),1),Fat={"aria-expanded":void 0},Vat=Mu.forwardRef(function(t,r){let{render:o,className:n,style:i,label:a,id:s,nativeButton:d=!1,openOnHover:c=!0,delay:u=100,closeDelay:f=0,disabled:m=!1,...g}=t,h=Ut(!0);if(h?.parent.type!=="menu")throw new Error(Je(37));let b=Db(),_=Y1(),{store:y,parentVirtualFocus:w}=h,v=h.parent.store,x=bi({guess:!0,label:a}),S=Lt(s),C=y.useState("open"),k=Mu.useRef(!1),E=y.useState("positionerElement"),I=y.useState("floatingRootContext"),M=y.useState("floatingTreeRoot"),R=y.useState("triggerPopupId",S),T=sK(S,y),O=ve(ue=>{T(ue);let re=y.select("activeTriggerElement");ue!==null&&y.select("open")&&(re===ue||y.select("activeTriggerId")==null)&&y.update({activeTriggerId:S??null,activeTriggerElement:ue,closeDelay:f})}),A=Mu.useRef(null),D=Mu.useCallback(ue=>{A.current=ue,y.set("activeTriggerElement",ue)},[y]);me(()=>(O(A.current),()=>O(null)),[O,S,y]),me(()=>{if(!C||!E)return;function ue(re){Bt(re)===y.context.beforeContentFocusGuardRef.current&&(k.current=re.relatedTarget===A.current)}return E.addEventListener("focusout",ue,!0),()=>{k.current=!1,E.removeEventListener("focusout",ue,!0)}},[C,E,y]),y.useSyncedValue("closeDelay",f);let V=y.useState("disabled"),H=v.useState("disabled"),N=m||V||H,L=v.useState("itemProps"),z=v.useState("isActive",x.index),j=Mu.useMemo(()=>({type:"submenu-trigger",setActive(ue){v.select("highlightItemOnHover")&&v.setActiveIndex(x.index,pe.pointer,ue)}}),[v,x.index]),{getItemProps:F,itemRef:Y}=Vb({closeOnClick:!1,disabled:N,highlighted:z,id:S,store:y,typingRef:v.context.typingRef,nativeButton:d,itemMetadata:j,nodeId:b?.context.nodeId}),W=y.useState("hoverEnabled"),Z=ny(I,{enabled:W&&c&&!N,handleClose:ly({blockPointerEvents:!0}),mouseOnly:!0,move:!0,restMs:u,delay:{open:u,close:f},shouldOpen:u>0?()=>v.select("allowMouseEnter"):void 0,triggerElementRef:A,externalTree:M,isClosing:()=>y.select("transitionStatus")==="ending",guardStaleOpen:!0}),q=Pu(I,{enabled:!N,event:"mousedown",toggle:!0,ignoreMouse:c,stickIfOpen:c}).reference??ft,ce=y.useState("triggerProps",!0);delete ce.id;let de={disabled:N,highlighted:z,open:C},he=y.useState("openMethod"),ye=y.useState("lastOpenChangeReason")===pe.listNavigation||he==="keyboard",Te=C&&ye&&$t.screenReader.voiceOver,te=_?.onTriggerKeyDown?{onKeyDown:_.onTriggerKeyDown}:void 0;return Ce("div",t,{state:de,stateAttributesMapping:bb,props:[q,Z,ce,te,L,Te?Fat:void 0,{"aria-controls":R,tabIndex:w||!(C||z)?-1:0,onFocus(ue){y.select("open")&&k.current&&(k.current=!1,y.setOpen(!1,Ne(pe.focusOut,ue.nativeEvent)))},onBlur(){z&&v.setActiveIndex(null,pe.none)}},g,F],ref:[r,x.ref,Y,O,D]})}),Yhe=Mu.forwardRef(function(t,r){let o=Af(t,r,"submenu-trigger");if(!o.visible)return null;let n=o.props?at(o.props,t):t;return(0,Ghe.jsx)(Vat,{...n,ref:o.ref})});var oT=class extends v1{constructor(){super(vhe(),"Menu")}open(t){this.openByTrigger(t)}close(){this.closePopup()}get isOpen(){return this.attachedStore?.select("open")??!1}};function qhe(){return new oT}var vbe=l(ee(),1);var acr=l(ee(),1);var mbe=l(ee(),1);var Bl=l(ee(),1);var J1=l(ee(),1);function oO(){let e=Ot(()=>new Map).current,[t,r]=J1.useState(0),o=J1.useRef(!1),n=ve(()=>{o.current||(o.current=!0,r(s=>s+1))}),i=ve((s,d)=>(e.set(s,d),n(),()=>{e.delete(s),n()})),a=J1.useMemo(()=>new Map(e),[t]);return me(()=>{o.current=!1},[t]),{items:a,registerItem:i,liveItems:e}}var Og=l(ee(),1);function Khe(){throw new Error(Je(103))}var nT=Og.createContext(null);function Nf(e=!1){let t=Og.useContext(nT);return t===null&&!e&&Khe(),t}var yX=Og.createContext(null);function Lf(e=!1){let t=Og.useContext(yX);return t===null&&!e&&Khe(),t}function Xhe(e){let t=Og.useContext(nT);if(e===null)return null;for(;t!==null&&t.listRef!==e;)t=t.parent;return t}var xX=Og.createContext("");function Wb(){return Og.useContext(xX)}var aT={isEmpty:e=>e.visibleItemIds===null?e.registeredItemCount===0:e.visibleItemIds.size===0,isItemVisible:(e,t)=>e.visibleItemIds===null||e.visibleItemIds.has(t)},iT=class extends fs{constructor(){super({visibleItemIds:null,registeredItemCount:0},ft,aT)}},Zhe={registerItem:()=>Ct,store:new iT};var nO=l(P(),1);function Qhe(e){let{children:t,open:r,disabled:o=!1,openedByKeyboard:n=!1,locale:i,value:a,query:s,onValueChange:d,filter:c,autoHighlight:u=!1,triggerId:f,listRef:m,getActiveIndex:g,setActiveIndex:h,focusOwnerRef:b}=e,_=Bl.useContext(nT),[y,w]=Bl.useState(void 0),[v,x]=Bl.useState(n),[S,C]=Bl.useState(n),[k,E]=Bl.useState(n);n!==k&&(E(n),x(n),C(n));let{items:I,registerItem:M,liveItems:R}=oO(),T=Lt(),O=Ot(()=>new iT).current,A=ve((de,he)=>{let ge=M(de,he);return O.set("registeredItemCount",R.size),()=>{ge(),O.set("registeredItemCount",R.size)}}),D=Bl.useRef(null),V=Bl.useRef(null),H=Bl.useMemo(()=>my({locale:i}).contains,[i]),N=b??D,L=(s??a).trim(),z=L===""||c===null?null:c??H,j=r&&(u==="always"||u&&L!==""),F=T?`${T}-list`:void 0,Y=(y??F)||void 0,W=f||void 0,Z=ve((de,he)=>{d?.(de,he),!he.isCanceled&&!u&&h(null)}),X=ve(de=>{let he=m.current,ge=g();ge!=null&&he[ge]!=null&&he[ge]===de[ge]||h(j&&he.length>0?0:null)});me(()=>{if(!r&&s===void 0)return;let de=V.current!==null&&V.current!==L;if(V.current=L,z===null){O.set("visibleItemIds",null),j&&R.size>0?(de||g()==null)&&h(0):L===""&&de&&h(null);return}let he=O.state.visibleItemIds;if(he===null&&R.size===0)return;let ge=new Set,ye=he===null;R.forEach(({getText:Te},te)=>{let ae=Te();ae!=null&&z(ae,L)&&(ge.add(te),ye||=!he?.has(te))}),ye||he?.size!==ge.size?(j&&ge.size>0?h(0):(he!==null||de)&&h(null),O.set("visibleItemIds",ge)):j&&de&&ge.size>0&&h(0)},[r,s,L,I,R,z,j,O,h,g]);let q=Bl.useMemo(()=>({open:r,disabled:o,inputFocusVisible:v,setInputFocusVisible:x,keyboardModality:S,setKeyboardModality:C,autoHighlight:u,triggerId:W,defaultListId:F,listId:Y,setRenderedListId:w,focusOwnerRef:N,setActiveIndex:h,onItemsChange:X,onValueChange:Z}),[r,o,v,S,u,W,F,Y,N,h,X,Z]),ce=Bl.useMemo(()=>({parent:_,store:O,registerItem:A,listRef:m}),[_,O,A,m]);return(0,nO.jsx)(nT.Provider,{value:ce,children:(0,nO.jsx)(yX.Provider,{value:q,children:(0,nO.jsx)(xX.Provider,{value:s??a,children:t})})})}var iO=l(ee(),1);function $he(e){let{open:t,mounted:r,value:o,onValueChange:n}=e,[i,a]=iO.useState(null),s=iO.useRef(t);return me(()=>{let d=s.current;s.current=t,d&&!t&&o!==""?(a(o),n("",Ne(pe.popupClose))):(t||!r)&&i!==null&&a(null)},[t,r,o,i,n]),!t&&i!==null?i:o}var ebe=l(ee(),1);var sO=l(ee(),1);var SX=!1;function Gb(e){SX=!0;try{e.focus({preventScroll:!0})}finally{SX=!1}}function aO(){return SX}function Jhe(e){let t=Lf(),r=To(),{focusOwnerRef:o}=t,n=sO.useRef(null),i=sO.useRef("mouse");function a(d){i.current=d.pointerType||"mouse"}function s(d,c){let u=o.current;if(!t.open||!u)return;let f=Ar(st(d.currentTarget));if(f===u||Ge(d.currentTarget,f))return;let m=null;d.nativeEvent.composedPath().find(h=>vt(h)?h.getAttribute("role")==="dialog"||h.hasAttribute("data-rootownerid")?!0:(h.hasAttribute("aria-haspopup")&&(m=h),!1):!1)===d.currentTarget&&(n.current&&!(c&&m)||c&&m&&Vt(d.relatedTarget)&&Ge(m,d.relatedTarget)||Gb(u))}return{"aria-activedescendant":void 0,"aria-orientation":void 0,onMouseDown(d){Bt(d.nativeEvent)===d.currentTarget&&d.preventDefault()},onPointerDown:a,onPointerOver:a,onPointerMove:a,onMouseMove(d){i.current==="mouse"&&s(d,!1)},onMouseOver(d){i.current==="mouse"&&n.current&&s(d,!0)},onFocus(d){let c=Bt(d.nativeEvent);c===o.current?n.current=null:vt(c)&&!Ge(d.currentTarget,c)&&!aO()&&(n.current=c),t.open&&c===d.currentTarget&&o.current?.focus({preventScroll:!0})},onKeyDown(d){let c=Bt(d.nativeEvent);c===o.current||Cu(c)||Tb(d.key,e,r==="rtl",!1)&&(o.current?.focus({preventScroll:!0}),d.stopPropagation())}}}var tbe=l(P(),1),rbe=ebe.forwardRef(function(t,r){let{store:o,orientation:n}=Ut(),i=o.useState("open"),a=o.useState("parent"),s=o.useState("openMethod"),d=o.useState("lastOpenChangeReason"),c=Jhe(n),u=i&&d===pe.triggerHover,f=a.type!=="menu"||i&&(s==="keyboard"||d===pe.listNavigation||d===pe.triggerHover||d===pe.triggerPress),m=!1;f&&(m=()=>{let h=(s==="touch"||s==="pen")&&!o.context.virtualPress;return u||h?!1:o.context.virtualFocusRef?.current??!1});let g=at(c,t);return(0,tbe.jsx)(cX,{...g,role:"dialog",initialFocus:m,ref:r})});var uO=l(ee(),1);var obe=l(ee(),1);var lO=l(ee(),1),eS=lO.createContext(null);function dO(){return lO.useContext(eS)}var nbe=l(P(),1),ibe=obe.forwardRef(function(t,r){let{render:o,className:n,style:i,id:a,...s}=t,d=Lf(),[c,u]=VI(t,d.defaultListId,d.setRenderedListId);return Ce("div",t,{ref:[r,u],props:[{tabIndex:-1,id:c,onFocus(m){let g=d.focusOwnerRef.current;g&&m.relatedTarget===g&&Bt(m.nativeEvent)===m.currentTarget&&Gb(g)},onPointerMove(){d.setKeyboardModality(!1)},onPointerDown(){d.setKeyboardModality(!1)}},s,{children:(0,nbe.jsx)(eS.Provider,{value:null,children:s.children})}]})});function Bat(e,t){let{orientation:r,rtl:o,hasActiveItem:n,activeItemOpensSubmenu:i,hasValue:a}=t,{key:s}=e;if(e.which===229)return"ignore";if(s==="Tab")return e.shiftKey?"close":"ignore";if(s==="Enter")return n?"activate":"navigate";let d=s.startsWith("Arrow"),c=s==="Home"||s==="End";return e.shiftKey||e.ctrlKey||e.altKey||e.metaKey?d||c||s.length===1?"edit":"navigate":s.length===1?"edit":c?n&&!a?"navigate":"edit":d?uc(s,r)?r==="horizontal"&&!n&&a?"edit":"navigate":i&&(T5(s,r,o)||Tb(s,r,o,!1))?"submenu":r==="horizontal"&&!n?"enter-list":a?"edit":"navigate":"navigate"}function tS(e){let{orientation:t,store:r}=Ut(),o=Y1(),n=To();return ve(i=>{if(!r.select("open"))return;let a=r.state.highlightedItem;switch(Bat(i,{orientation:t,rtl:n==="rtl",hasActiveItem:a!=null,activeItemOpensSubmenu:a?.hasAttribute("aria-haspopup")??!1,hasValue:e})){case"edit":i.stopPropagation(),i.key.length===1&&!i.ctrlKey&&!i.metaKey&&!i.altKey&&r.state.inputProps.onKeyDown?.(i);break;case"navigate":{uc(i.key,t)&&i.stopPropagation(),r.state.inputProps.onKeyDown?.(i);break}case"enter-list":{i.stopPropagation();let d=r.context.itemDomElements,c=i.key==="ArrowDown"?Tu(d,Ur):yf(d,Ur);d.current[c]&&(i.preventDefault(),r.setActiveIndex(c,pe.keyboard,i.nativeEvent));break}case"submenu":{vr(i);let d=Ht(a).KeyboardEvent;a.dispatchEvent(new d(i.type,i.nativeEvent));break}case"activate":i.preventDefault(),mf(a,i);break;case"close":{vr(i);let d=r.state.parent.type==="menu"&&o?.getReturnElement?.()||r.state.activeTriggerElement,c=Ne(pe.focusOut,i.nativeEvent);r.setOpen(!1,c),!c.isCanceled&&vt(d)&&d.focus();break}default:break}})}function cO(e,t,r,o){let{orientation:n,rtl:i,loopFocus:a,allowEscape:s}=o,d=e.context.itemDomElements,c=d.current,{index:u}=Z8(c,c.indexOf(t),{decrement:!R5(r.key,n,i),loopFocus:a,allowEscape:s,disabledIndices:Ur,minIndex:Tu(d,Ur),maxIndex:yf(d,Ur)}),f=c[u];return f&&(e.setActiveIndex(u,pe.keyboard,r.nativeEvent),f.scrollIntoView?.({block:"nearest",inline:"nearest"})),f??void 0}var abe=l(P(),1),sbe=uO.forwardRef(function(t,r){let{store:o,orientation:n,loopFocus:i,allowEscape:a}=Ut(),s=To(),{onItemsChange:d,focusOwnerRef:c,triggerId:u}=Lf(),{listRef:f}=Nf(),{subscribeMapChange:m}=E8(),g=Wb(),h=tS(g!==""),b=ve(S=>{let C=c.current,k=Bt(S.nativeEvent),E=C!=null&&Ar(st(C))===C,I=!Ge(S.currentTarget,k);if(C==null||E||I){if(S.which!==229&&!S.shiftKey&&!S.ctrlKey&&!S.metaKey&&!S.altKey&&uc(S.key,n)){S.stopPropagation();let M=I&&E?_(k):void 0;M&&cO(o,M,S,{orientation:n,rtl:s==="rtl",loopFocus:i,allowEscape:a})}return}S.defaultPrevented||(Gb(C),h(S))});function _(S){let C=S.getRootNode();return f.current.find(k=>{let E=k?.getAttribute("aria-controls");return E!=null&&vt(k)&&Ge(C.getElementById(E),S)})}let y=uO.useRef(null),w=ve(()=>{let S=[...f.current],C=y.current;(C===null||C.length!==S.length||S.some((E,I)=>E!==C[I]))&&C!==null&&d(C),y.current=S});me(()=>m(w),[m,w]);let v=q1(t,null,u??null),x=at({role:"menu","aria-labelledby":v,"aria-orientation":n==="horizontal"?"horizontal":void 0,onKeyDown:b},t);return(0,abe.jsx)(ibe,{...x,ref:r})});var kX=l(ee(),1);var lbe=l(ee(),1);function zat(e,t){if(e.visibleItemIds===null||t.size===0)return!1;for(let[r,o]of t)if(o||e.visibleItemIds.has(r))return!1;return!0}function CX(){let{store:e}=Nf(),t=dO(),{items:r,registerItem:o}=oO(),n=Cf(e,zat,r),i=Ot(()=>Symbol("filter-dropdown-group")).current,a=t?.registerItem;me(()=>a?.(i,!n),[a,i,n]);let s=lbe.useMemo(()=>({registerItem:o}),[o]);return{hidden:n,context:s}}var sT=l(P(),1),dbe=kX.forwardRef(function(t,r){let{hidden:o,context:n}=CX();return(0,sT.jsx)(eS.Provider,{value:n,children:(0,sT.jsx)(sX,{...t,hidden:o||t.hidden||void 0,ref:r})})}),cbe=kX.forwardRef(function(t,r){let{hidden:o,context:n}=CX();return(0,sT.jsx)(eS.Provider,{value:n,children:(0,sT.jsx)(gX,{...t,hidden:o||t.hidden||void 0,ref:r})})});var Au=l(ee(),1);function EX(e){return typeof e=="string"||typeof e=="number"?String(e):Array.isArray(e)?e.map(EX).join(""):Au.isValidElement(e)?EX(e.props.children):""}function pO(e){let{label:t,retainGroup:r=!1,children:o,render:n,context:i}=e,a=Nf(i!==void 0),s=dO(),d=i===void 0?a:i,{registerItem:c,store:u}=d??Zhe,f=s?.registerItem,m=Ot(()=>Symbol("filter-dropdown-item")).current,g=Au.useRef(null),h=Au.useRef(void 0),b=Cf(u,aT.isItemVisible,m),[_,y]=Au.useState(b),w=Er(o),v=Er(n),x=Au.useRef(void 0),S=Au.useCallback(()=>{if(t!=null)return t;let k=EX(w.current??Uw(v.current)),E=x.current;return x.current=k,g.current!==null?g.current.textContent??"":h.current!==void 0&&k===E?h.current:k},[t,w,v]),C=Au.useCallback(k=>{let E=k??S();return E&&(h.current=E),c(m,{getText(){return t==null&&g.current&&(h.current=g.current.textContent??""),h.current}})},[m,t,c,S]);return me(()=>{let k=C();return y(!0),k},[C]),me(()=>f?.(m,r),[f,m,r]),me(()=>{let k=S();k!==h.current&&(h.current=k,C(k))},[C,S,o,n,t]),{visible:!_||b,ref:g}}function ube(e){let{store:t,virtualFocus:r}=Ut(),o=t.useState("open"),n=t.useState("mounted"),i=t.useState("parent"),a=i.type==="menu"?i.store.context.itemDomElements:null,s=Xhe(a),{visible:d,ref:c}=pO({...e,context:s,retainGroup:n});me(()=>{d||!o||t.setOpen(!1,Ne(pe.none))},[d,o,t]);let u=M9((m,g)=>{m.type==="click"&&t.select("open")&&(g==="keyboard"||g==="mouse"&&t.select("lastOpenChangeReason")===pe.triggerPress)&&t.context.virtualFocusRef?.current?.focus({preventScroll:!0})}),f={...r?{"aria-haspopup":"dialog"}:void 0,...u,onPointerDown(m){u.onPointerDown(m),t.context.virtualPress=hf(m.nativeEvent)},onFocus(m){let g=t.context.virtualFocusRef?.current;g&&t.select("open")&&m.relatedTarget===g&&(m.preventBaseUIHandler(),g.focus({preventScroll:!0}))}};return s===null?{visible:!0,ref:null,props:f}:{visible:d||n,ref:c,props:f}}function pbe(e,t,r,o){let n=t.type==="menu"?t.store:null,i=n?.context.virtualFocusRef,a=ve((d,c)=>{let u=i?.current;o||e.select("open")||!n?.select("open")||!u||(Ge(e.context.popupRef.current,Ar(st(u)))&&u.focus({preventScroll:!0}),(c===pe.listNavigation||c===pe.escapeKey)&&n.state.activeIndex==null&&n.highlightItem(d,pe.none))});me(()=>{if(!r){let d=e.state.activeTriggerElement,c=e.select("lastOpenChangeReason");queueMicrotask(()=>a(d,c))}},[r,e,a]);function s(){!o&&i&&n?.state.activeIndex!=null&&n.setActiveIndex(null,pe.none)}return{parentVirtualFocusRef:i,handleFocus:s}}var fbe={Popup:rbe,List:sbe,Group:dbe,RadioGroup:cbe,useItem:pO,useSubmenuTrigger:ube,useParentHandoff:pbe};var RX=l(P(),1);function fO(e){let{value:t,defaultValue:r="",onValueChange:o,...n}=e,{store:i}=Ut(),a=i.useState("open"),s=i.useState("mounted"),d=i.useState("keyboardOpen"),c=i.useState("activeTriggerId"),u=i.useState("activeTriggerElement"),f=i.useState("disabled"),[m,g]=Fi({controlled:t,default:r,name:"MenuFilterProvider",state:"value"}),h=ve((x,S)=>{o?.(x,S),S.isCanceled||g(x)}),b=ve(()=>i.state.activeIndex),_=ve(x=>{i.setActiveIndex(x,pe.none)}),y=$he({open:a,mounted:s,value:m,onValueChange:h}),w=jat(m!=="");Ot(()=>(i.set("filterTriggerProps",w),null)),i.useSyncedValue("filterTriggerProps",w),me(()=>{a||i.set("keyboardOpen",!1)},[a,i]);let v=u?u.id||null:c;return(0,RX.jsx)(q5.Provider,{value:fbe,children:(0,RX.jsx)(Qhe,{...n,open:a,openedByKeyboard:d,disabled:f,value:m,query:y,onValueChange:h,triggerId:v,listRef:i.context.itemDomElements,getActiveIndex:b,setActiveIndex:_,focusOwnerRef:i.context.virtualFocusRef})})}function jat(e){let{store:t}=Ut(),r=X1(!0)!=null,o=tS(e);return mbe.useMemo(()=>({"aria-haspopup":"dialog",onPointerDown(n){t.context.virtualPress=hf(n.nativeEvent)},onKeyDown(n){let i=t.context.virtualFocusRef?.current;!t.select("open")||!i||r||(n.key==="ArrowUp"||n.key==="ArrowDown"?(i.focus({preventScroll:!0}),o(n),n.preventDefault(),n.preventBaseUIHandler()):n.key==="ArrowLeft"||n.key==="ArrowRight"?n.preventBaseUIHandler():Hat(n)&&i.focus({preventScroll:!0}))}}),[t,r,o])}function Hat(e){return e.key.length===1&&e.key!==" "&&!e.ctrlKey&&!e.metaKey&&!e.altKey}var gbe=l(ee(),1);function mO(e){let{children:t,value:r,defaultValue:o,onValueChange:n,filter:i,autoHighlight:a=!1,locale:s,...d}=e,c=gbe.useRef(null);return{children:t,rootProps:{...d,virtualFocus:!0,virtualFocusRef:c,allowEscape:!a,resetOnPointerLeave:a!=="always"},dropdownProps:{value:r,defaultValue:o,onValueChange:n,filter:i,autoHighlight:a,locale:s}}}var TX=l(P(),1);function hbe(e){let{children:t,rootProps:r,dropdownProps:o}=mO(e);return(0,TX.jsx)(by,{...r,children:n=>(0,TX.jsx)(fO,{...o,children:typeof t=="function"?t(n):t})})}var dT=l(ee(),1);var lT=l(P(),1);function bbe(e){let t=Ut(),r=t.store,o=r.useState("disabled"),{rootProps:n,dropdownProps:i}=mO(e),a=dT.useRef(null);function s(f,m){let g=t.virtualFocus?r.context.virtualFocusRef?.current:Ar(st(f));vt(g)&&(a.current={reference:g,trigger:f},r.setActiveIndex(null,m?pe.keyboard:pe.none,m))}function d(f,m){r.highlightItem(f,pe.keyboard,m)}function c(f){let m=a.current;m&&(m.reference.focus({preventScroll:!0}),d(m.trigger,f))}function u(f,m){if(n.onOpenChange?.(f,m),!m.isCanceled){if(!f){m.reason===pe.escapeKey&&vt(m.trigger)&&(d(m.trigger,m.event),a.current={reference:t.virtualFocus?r.context.virtualFocusRef?.current??m.trigger:m.trigger,trigger:m.trigger});return}a.current=null,vt(m.trigger)&&YI(m.reason,m.event)&&s(m.trigger,m.reason===pe.listNavigation?m.event:void 0)}}return(0,lT.jsx)(by,{...n,isSubmenu:!0,disabled:o||e.disabled,onOpenChange:u,children:(0,lT.jsx)(Uat,{parentStore:r,parentVirtualFocus:t.virtualFocus,parentAllowEscape:t.virtualFocus&&t.allowEscape,parentOrientation:t.orientation,parentLoopFocus:t.loopFocus,getReturnElement:()=>a.current?.reference??(t.virtualFocus?r.context.virtualFocusRef?.current:null)??null,onSubmenuEnter:s,onSubmenuExit:c,children:(0,lT.jsx)(fO,{...i,children:e.children})})})}function Uat(e){let{children:t,parentStore:r,parentVirtualFocus:o,parentAllowEscape:n,parentOrientation:i,parentLoopFocus:a,onSubmenuEnter:s,onSubmenuExit:d,getReturnElement:c}=e,{store:u,orientation:f}=Ut(),m=To(),g=u.useState("mounted"),h=dT.useRef(!1),b=ve(()=>{let[S]=u.context.triggerElements.elements();return c()??(vt(S)?S:null)});me(()=>{let S=h.current;if(h.current=g,g||!S)return;let C=b();if(!C||!r.select("open"))return;let k=st(C),E=Ar(k);(E===k.body||Ge(u.select("popupElement"),E))&&C.focus({preventScroll:!0})},[g,u,r,b]);function _(S,C){let k=cO(r,S,C,{orientation:i,rtl:m==="rtl",loopFocus:a,allowEscape:n});o||k?.focus({preventScroll:!0})}function y(S){if(!u.select("open"))return;vr(S);let C=u.select("activeTriggerElement"),k=Ne(pe.listNavigation,S.nativeEvent);u.setOpen(!1,k),k.isCanceled||d(S.nativeEvent);let E=c()??u.select("activeTriggerElement");!u.select("open")&&vt(E)&&Ar(st(E))!==E&&E.focus(),!u.select("open")&&vt(C)&&uc(S.key,i)&&_(C,S)}let w=ve(S=>{if(uc(S.key,i)){_(S.currentTarget,S),S.preventBaseUIHandler(),vr(S);return}let C=u.select("open"),k=m==="rtl",E=Tb(S.key,f,k,!1);if(C&&E){y(S);return}if(T5(S.key,i,k)){if(vr(S),C){s(S.currentTarget,S.nativeEvent),u.context.virtualFocusRef?.current?.focus({preventScroll:!0});return}u.setOpen(!0,Ne(pe.listNavigation,S.nativeEvent,S.currentTarget))}}),v=ve(S=>{if(S.which===229)return;Tb(S.key,f,m==="rtl",!1)&&y(S)}),x=dT.useMemo(()=>({getReturnElement:b,onTriggerKeyDown:w,onPopupKeyDown:v}),[b,w,v]);return(0,lT.jsx)($5.Provider,{value:x,children:t})}var _be=l(P(),1);function wbe(e){let{children:t,filter:r,value:o,defaultValue:n,onValueChange:i,autoHighlight:a,locale:s}=e,d=vbe.useMemo(()=>({Root:hbe,SubmenuRoot:bbe,options:{filter:r,value:o,defaultValue:n,onValueChange:i,autoHighlight:a,locale:s}}),[r,o,n,i,a,s]);return(0,_be.jsx)(jb.Provider,{value:d,children:t})}var gO=l(ee(),1);var rS=l(ee(),1);var ybe=rS.forwardRef(function(t,r){let{render:o,className:n,style:i,id:a,disabled:s,activeItemId:d,navigationProps:c,...u}=t,f=Lt(a),m=Lf(),{listRef:g}=Nf(),h=Wb(),[b,_]=rS.useState(null),y=rS.useRef(!1);function w(x,S){if(!m.open)return;let C=x===""?pe.inputClear:pe.inputChange;m.onValueChange(x,Ne(C,S))}let v={highlighted:m.inputFocusVisible&&(!m.keyboardModality||d==null)};return Ce("input",t,{state:v,ref:[r,m.focusOwnerRef],props:[c,{id:f,type:"text",disabled:m.disabled||s,"aria-activedescendant":d,role:"searchbox",inputMode:"search",autoComplete:"off",spellCheck:"false",autoCorrect:"off",autoCapitalize:"none","aria-autocomplete":void 0,"aria-controls":m.listId,value:b??h,onCompositionStart(x){$t.os.android||(y.current=!0,_(x.currentTarget.value))},onCompositionEnd(x){y.current&&(y.current=!1,_(null),w(x.currentTarget.value,x.nativeEvent))},onChange(x){if(y.current){_(x.currentTarget.value);return}w(x.currentTarget.value,x.nativeEvent)},onKeyDown(){m.setKeyboardModality(!0)},onPointerDown(){m.setKeyboardModality(!1)},onMouseEnter(x){m.setKeyboardModality(!1),m.open&&Gb(x.currentTarget)},onFocus(x){if(m.setInputFocusVisible(!0),m.autoHighlight==="always"||aO())return;let S=x.relatedTarget;S!==null&&g.current.includes(S)&&m.setActiveIndex(null)},onBlur(){m.setInputFocusVisible(!1)}},u]})});var xbe=l(P(),1),Sbe=gO.forwardRef(function(t,r){W1("Input");let{store:o}=Ut(),n=Wb(),{onKeyDown:i,...a}=o.useState("inputProps"),s=o.useState("highlightedItemId"),d=tS(n!==""),c=gO.useCallback(m=>{o.set("inputFocused",m!==null&&Ar(st(m))===m)},[o]),u=Ro(r,c),f=at({onKeyDown:d,onFocus(){o.set("inputFocused",!0)},onBlur(){o.set("inputFocused",!1)}},t);return(0,xbe.jsx)(ybe,{...f,activeItemId:s,navigationProps:a,ref:u})});var cT=l(ee(),1);var Cbe=l(P(),1),Wat=cT.forwardRef(function(t,r){let{render:o,className:n,style:i,id:a,...s}=t,{store:d,orientation:c}=Ut(),u=d.useState("activeTriggerId"),f=d.useState("activeTriggerElement"),m=d.useStateSetter("listElement"),g=Lt(a),h=cT.useRef(g);me(()=>{h.current!==g&&(h.current=g,d.notifyAll())},[g,d]);let b=q1(t,f,u);return Ce("div",t,{ref:[r,m],props:[{id:g,role:"menu",tabIndex:-1,"aria-orientation":c==="horizontal"?"horizontal":void 0,"aria-labelledby":b},s]})}),kbe=cT.forwardRef(function(t,r){let o=Mf()?.List??Wat;return(0,Cbe.jsx)(o,{...t,ref:r})});var Tbe=l(ee(),1);var Ebe=l(ee(),1);var Rbe=Ebe.forwardRef(function(t,r){let{render:o,className:n,style:i,disabled:a=!1,nativeButton:s=!0,...d}=t,c=Lf(),u=Wb(),f=c.disabled||a,m=u!=="",{buttonRef:g,getButtonProps:h}=Jr({disabled:f,native:s});return Ce("button",t,{enabled:m,state:{disabled:f},ref:[r,g],props:[{tabIndex:-1,"aria-hidden":!0,onMouseDown(_){_.preventDefault()},onClick(_){let y=Ne(pe.clearPress,_.nativeEvent);c.onValueChange("",y),c.focusOwnerRef.current?.focus({preventScroll:!0})}},d,h]})});var Pbe=l(P(),1),Ibe=Tbe.forwardRef(function(t,r){return W1("Clear"),(0,Pbe.jsx)(Rbe,{...t,ref:r})});var Mbe=l(ee(),1);var hO=l(ee(),1);var Obe=hO.forwardRef(function(t,r){let{render:o,className:n,style:i,...a}=t,{store:s}=Nf(),d=Cf(s,aT.isEmpty),[c,u]=hO.useState(!1);me(()=>{u(!0)},[]);let f=c&&d,m=D1(f);return Ce("div",t,{enabled:f,ref:[r,m],props:[{role:"status","aria-live":"polite","aria-atomic":!0},a]})});var Abe=l(P(),1),Nbe=Mbe.forwardRef(function(t,r){return W1("Empty"),(0,Abe.jsx)(Obe,{...t,ref:r})});var bO=l(ee(),1),Gat=bO.createContext(void 0),Yat={disableStyleElements:!1};function vO(){return bO.useContext(Gat)??Yat}function Df(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function Lbe(e,t){let r=(t??Ht(e).getComputedStyle(e)).transform,o=0,n=0,i=1;if(r&&r!=="none"){let a=r.match(/matrix(?:3d)?\(([^)]+)\)/);if(a){let s=a[1].split(", ").map(parseFloat);s.length===6?(o=s[4],n=s[5],i=Math.sqrt(s[0]*s[0]+s[1]*s[1])):s.length===16&&(o=s[12],n=s[13],i=s[0])}}return{x:o,y:n,scale:i}}var hs={};or(hs,{Control:()=>Wbe,Description:()=>Ube,Error:()=>jbe,Item:()=>qbe,Label:()=>zbe,Root:()=>Bbe,Validity:()=>Ybe});var Vi=l(ee(),1);var _O=l(ee(),1),qat=_O.createContext(void 0);function Dbe(e=!1){let t=_O.useContext(qat);if(!t&&!e)throw new Error(Je(86));return t}var Yb=l(ee(),1);var Fbe=l(P(),1),wO=function(t){let r=Lt(),[o,n]=Yb.useState(r),[i,a]=Yb.useState(),[s,d]=Yb.useState([]),c=o===void 0?r:o,u=Ot(()=>new Map),{messageIds:f}=nn(),m=ve((_,y)=>{let w=u.current;y===void 0?w.delete(_):w.set(_,y),n(v=>{if(w.size===0)return v;let x;for(let S of w.values()){if(S===v)return v;x===void 0&&(x=S)}return x})}),g=ve(()=>{u.current.size===0&&n(r)}),h=Yb.useCallback(_=>{let y=_["aria-describedby"]?_["aria-describedby"].split(" "):[];return y.push(...f,...s),{..._,"aria-describedby":Array.from(new Set(y)).join(" ")||void 0}},[f,s]),b=Yb.useMemo(()=>({controlId:c,registerControlId:m,resetControlId:g,labelId:i,setLabelId:a,messageIds:s,setMessageIds:d,getDescriptionProps:h}),[c,m,g,i,a,s,d,h]);return(0,Fbe.jsx)(NK.Provider,{value:b,children:t.children})};var yO=l(ee(),1);function Vbe(e){let{change:t,commit:r,invalid:o,markedDirtyRef:n,name:i,setRegisteredFieldName:a,registeredFieldIdRef:s,setValidityData:d,validityData:c}=e,{formRef:u}=ms(),f=yO.useRef(null),m=yO.useRef(null),g=yO.useRef(!1),h=ve(()=>{let S=m.current;if(S)return S.getValue?S.getValue():S.value});function b(S){return S.value===void 0?h():S.value}let _=ve(()=>{let S=m.current;if(n.current=!0,!S){r(c.value);return}r(b(S))});function y(){let S=m.current;!S||!S.id||u.current.fields.set(S.id,{getValue:h,name:i??S.name,controlRef:S.controlRef,validityData:gy(c,o),validate:_})}function w(S=m.current?.id){S&&u.current.fields.delete(S)}function v(S){if(g.current)return;g.current=!0;let C=b(S);d(k=>k.initialValue===C?k:{...k,initialValue:C})}me(()=>{let S=m.current;!S||!S.id||(a(i?void 0:S.name),u.current.fields.set(S.id,{getValue:h,name:i??S.name,controlRef:S.controlRef,validityData:gy(c,o),validate:_}))},[u,h,o,i,a,_,c]),me(()=>{let S=u.current.fields;return()=>{let C=m.current?.id;C&&S.delete(C)}},[u]);let x=ve((S,C)=>{if(!C){f.current===S&&(f.current=null,t(void 0,!0),w(),m.current=null,a(void 0),s.current=void 0);return}let k=m.current?.id,E=f.current;E&&E!==S&&t(void 0,!0),f.current=S,m.current=C,i||a(C.name),s.current=C.id,k&&k!==C.id&&w(k),v(C),y()});return[_,x]}var xO=l(P(),1),Kat=Vi.forwardRef(function(t,r){let{errors:o,validationMode:n,submitCountRef:i}=ms(),{render:a,className:s,validate:d,validationDebounceTime:c=0,validationMode:u=n,name:f,disabled:m=!1,invalid:g,dirty:h,touched:b,actionsRef:_,style:y,...w}=t,v=Dbe(!0)?.disabled,x=ve(d||(()=>null)),S=v||m,[C,k]=Vi.useState(!1),[E,I]=Vi.useState(!1),[M,R]=Vi.useState(!1),[T,O]=Vi.useState(!1),A=Vi.useRef(void 0),D=h??E,V=b??C,H=Vi.useRef(D),N=Vi.useRef(void 0),[L,z]=Vi.useState(),j=f??L;me(()=>{h!==void 0&&(H.current=h)},[h]);let F=ve(re=>{h===void 0&&(re&&(H.current=!0),I(re))}),Y=ve(re=>{b===void 0&&k(re)}),W=ve(()=>u==="onChange"||u==="onSubmit"&&i.current>0),Z=j&&Object.hasOwn(o,j)?o[j]:null,X=!!(Array.isArray(Z)?Z.length:Z),q=g===!0||X,[ce,de]=Vi.useState({state:fy,error:"",errors:[],value:null,initialValue:null}),he=!q&&(S?null:ce.state.valid),ge=Vi.useMemo(()=>({disabled:S,touched:V,dirty:D,valid:he,filled:M,focused:T}),[S,V,D,he,M,T]),ye=fge({setValidityData:de,validate:x,validityData:ce,validationDebounceTime:c,invalid:q,markedDirtyRef:H,state:ge,shouldValidateOnChange:W,validationMode:u,registeredFieldIdRef:N}),[Te,te]=Vbe({change:ye.change,commit:ye.commit,invalid:q,markedDirtyRef:H,name:f,setRegisteredFieldName:z,registeredFieldIdRef:N,setValidityData:de,validityData:ce});Vi.useImperativeHandle(_,()=>({validate:Te}),[Te]);let ae=Vi.useMemo(()=>({invalid:q,name:j,validityData:ce,setValidityData:de,disabled:S,setTouched:Y,setDirty:F,setFilled:R,setFocused:O,focusOwnerRef:A,validationMode:u,shouldValidateOnChange:W,state:ge,registerFieldControl:te,validation:ye}),[q,j,ce,S,Y,F,R,O,u,W,ge,te,ye]),ue=Ce("div",t,{ref:r,state:ge,props:w,stateAttributesMapping:Nn});return(0,xO.jsx)(L5.Provider,{value:ae,children:ue})}),Bbe=Vi.forwardRef(function(t,r){return(0,xO.jsx)(wO,{children:(0,xO.jsx)(Kat,{...t,ref:r})})});var uT=l(ee(),1);var zbe=uT.forwardRef(function(t,r){let{render:o,className:n,style:i,id:a,nativeLabel:s=!0,...d}=t,c=Pr(!1),u=z1(),{labelId:f}=nn(),m={...c.state,disabled:c.disabled||u.disabled},g=uT.useRef(null),h=j1({id:f??a,native:s});return Ce("label",t,{ref:[r,g],state:m,props:[h,d],stateAttributesMapping:Nn})});var vy=l(ee(),1);var PX=l(P(),1),Xat={...Nn,...go},jbe=vy.forwardRef(function(t,r){let{render:o,id:n,className:i,match:a,style:s,...d}=t,c=Lt(n),{validityData:u,state:f,name:m}=Pr(!1),{setMessageIds:g}=nn(),{errors:h}=ms(),b=m&&Object.hasOwn(h,m)?h[m]:null,_=!!(Array.isArray(b)?b.length:b),y=typeof a=="string",w=!1;a===!0?w=!0:f.disabled?w=!1:y?w=!!u.state[a]:w=_||u.state.valid===!1;let{mounted:v,transitionStatus:x,setMounted:S}=An(w);me(()=>{if(!(!w||!c))return g(V=>V.concat(c)),()=>{g(V=>V.filter(H=>H!==c))}},[w,c,g]);let C=vy.useRef(null),[k,E]=vy.useState(null),[I,M]=vy.useState(null),R=u.error;!y&&_?R=b:u.errors.length>1&&(R=u.errors);let T=R;Array.isArray(R)&&(T=R.length>1?(0,PX.jsx)("ul",{children:R.map(V=>(0,PX.jsx)("li",{children:V},V))}):R[0]);let O=Array.isArray(R)?JSON.stringify(R):R;w&&O!==I&&(M(O),E(T)),mo({open:w,ref:C,onComplete(){w||S(!1)}});let A={...f,transitionStatus:x},D=Ce("div",t,{ref:[r,C],state:A,props:[{id:c,children:w?T:k},d],stateAttributesMapping:Xat,enabled:v});return v?D:null});var Hbe=l(ee(),1);var Ube=Hbe.forwardRef(function(t,r){let{render:o,id:n,className:i,style:a,...s}=t,d=Lt(n),c=Pr(!1),u=z1(),{setMessageIds:f}=nn(),m={...c.state,disabled:c.disabled||u.disabled};return me(()=>{if(d)return f(h=>h.concat(d)),()=>{f(h=>h.filter(b=>b!==d))}},[d,f]),Ce("p",t,{ref:r,state:m,props:[{id:d},s],stateAttributesMapping:Nn})});var SO=l(ee(),1);var Wbe=SO.forwardRef(function(t,r){let{render:o,className:n,id:i,name:a,value:s,disabled:d=!1,onValueChange:c,defaultValue:u,autoFocus:f=!1,style:m,...g}=t,{state:h,name:b,disabled:_,setTouched:y,setDirty:w,validityData:v,setFilled:x,validationMode:S,validation:C}=Pr(),{clearErrors:k,elementRef:E,submitCountRef:I}=ms(),M=_||d,R=b??a,T={...h,disabled:M},{labelId:O}=nn(),A=mc({id:i}),D=s!==void 0,V=s==null?void 0:String(s),H=ve(()=>C.inputRef.current?.value);Ib(C.inputRef,A,V,H,!M,a),me(()=>{let F=V??C.inputRef.current?.value;F!==void 0&&x(F!=="")},[V,u,C.inputRef,x]),Xs(V,()=>{V!==void 0&&(k(R),w(V!==(v.initialValue??"")),C.change(V))});let N=SO.useRef(null),L=Pf(M,N),z=ur();return Ce("input",t,{ref:[r,N],state:T,props:[{id:A,disabled:M,name:R,ref:C.inputRef,"aria-labelledby":O,autoFocus:f,...D?{value:s}:{defaultValue:u},onChange(F){let Y=F.currentTarget.value,W=Ne(pe.none,F.nativeEvent);c?.(Y,W),!D&&(w(Y!==(v.initialValue??"")),x(Y!==""),!F.nativeEvent.defaultPrevented&&!W.isCanceled&&(k(R),C.change(Y)))},onFocus(){L(!0)},onBlur(F){if(y(!0),L(!1),S==="onBlur"){let Y=F.currentTarget.value;C.commit(Y),D&&queueMicrotask(()=>{let W=C.inputRef.current?.value;W!==void 0&&W!==Y&&W!==(v.initialValue??"")&&C.commit(W)})}},onKeyDown(F){if(F.currentTarget.tagName==="INPUT"&&F.key==="Enter"){y(!0);let Y=F.currentTarget.value,W=F.currentTarget.form;if(W&&W===E.current&&!F.defaultPrevented){let Z=F.currentTarget,X=I.current;z.start(0,()=>{I.current===X&&C.commit(Z.value)})}else C.commit(Y)}}},g,F=>C.getValidationProps(M,F)],stateAttributesMapping:Nn})});var pT=l(ee(),1);var Gbe=l(P(),1),Ybe=function(t){let{children:r}=t,{validityData:o,invalid:n}=Pr(!1),i=pT.useMemo(()=>gy(o,n),[o,n]),a=i.state.valid===!1,{transitionStatus:s}=An(a),d=pT.useMemo(()=>({...i,validity:i.state,transitionStatus:s}),[i,s]);return(0,Gbe.jsx)(pT.Fragment,{children:r(d)})};var CO=l(ee(),1);var IX=l(P(),1),qbe=CO.forwardRef(function(t,r){let{render:o,className:n,style:i,disabled:a=!1,...s}=t,{state:d,disabled:c}=Pr(!1),u=c||a,f={...d,disabled:u},m=CO.useMemo(()=>({disabled:u}),[u]),g=Ce("div",t,{ref:r,state:f,props:s,stateAttributesMapping:Nn});return(0,IX.jsx)(wO,{children:(0,IX.jsx)(KK.Provider,{value:m,children:g})})});var Kbe=l(ee(),1);var Xbe=l(P(),1),OX=Kbe.forwardRef(function(t,r){return(0,Xbe.jsx)(hs.Control,{ref:r,...t})});var Qbe=l(ee(),1);var _y=l(ee(),1);var fT="data-composite-item-active";function Zbe(e){let{loopFocus:t=!0,orientation:r="both",grid:o,onLoop:n,direction:i,highlightedIndex:a,onHighlightedIndexChange:s,rootRef:d,enableHomeAndEndKeys:c=!1,stopEventPropagation:u,disabledIndices:f,modifierKeys:m=Ur}=e,[g,h]=_y.useState(0),b=o!=null,_=_y.useRef(null),y=Ro(_,d),w=_y.useRef([]),v=_y.useRef(!1),x=_y.useRef(null),S=a??g,C=ve((R,T=!1)=>{if(x.current=w.current[R]??null,(s??h)(R),T){let O=w.current[R];EK(_.current,O,i,r)}}),k=ve(R=>{if(R.size===0)return;if(v.current){let D=w.current,V=D.indexOf(x.current);if(V===-1){let H=D[S];!H||Ru(D,S,f)?C(Zat(D,f)):x.current=H}else V!==S&&C(V);return}v.current=!0;let T=Array.from(R.keys()),O=T.find(D=>D?.hasAttribute(fT))??null,A=O?R.get(O)?.index??-1:-1;if(A!==-1)C(A);else if(Ru(T,S,f)){let D=La(T,{disabledIndices:f});Pd(T,D)||C(D)}EK(_.current,O,i,r)});me(()=>{if(f==null||a!=null||!v.current)return;let R=w.current;if(Ru(R,S,f)){let T=La(R,{disabledIndices:f});Pd(R,T)||C(T)}},[f,a,S,w,C]);let E=ve((R,T,O)=>n?n(R,T,O,w):O),I=ve(R=>{let T=R.key===I9||R.key===O9;if(!T1.has(R.key)||!c&&T||Qat(R,m)||!_.current)return;let A=i==="rtl",D=A?T9:P9,V=A?P9:T9,H=r==="vertical"?R9:D,N=r==="vertical"?E9:V,L=Bt(R.nativeEvent);if(L!=null&&kK(L)&&!rO(L)){let Z=L.selectionStart,X=L.selectionEnd,q=L.value;if(Z==null||R.shiftKey||Z!==X||R.key!==N&&Z<q.length||R.key!==H&&Z>0)return}let z=S,j=Tu(w,f),F=yf(w,f);o!=null&&(z=o({disabledIndices:f,elementsRef:w,event:R,highlightedIndex:S,loopFocus:t,maxIndex:F,minIndex:j,onLoop:E,orientation:r,rtl:A}));let Y=r!=="vertical"&&R.key===D||r!=="horizontal"&&R.key===R9,W=r!=="vertical"&&R.key===V||r!=="horizontal"&&R.key===E9;c&&(R.key===I9?z=j:R.key===O9&&(z=F)),z===S&&(Y||W)&&(t&&z===F&&Y?(z=j,n&&(z=n(R,S,z,w))):t&&z===j&&W?(z=F,n&&(z=n(R,S,z,w))):z=La(w.current,{startingIndex:z,decrement:W,disabledIndices:f})),z!==S&&!Pd(w.current,z)&&(u&&R.stopPropagation(),(b||T||Y||W)&&R.preventDefault(),C(z,!0),queueMicrotask(()=>{w.current[z]?.focus()}))});return{props:{ref:y,onFocus(R){let T=_.current,O=Bt(R.nativeEvent);!T||O==null||!kK(O)||O.setSelectionRange(0,O.value.length)},onKeyDown:I},highlightedIndex:S,onHighlightedIndexChange:C,elementsRef:w,onMapChange:k,relayKeyboardEvent:I}}function Zat(e,t){let r=-1;for(let o=0;o<e.length;o+=1){let n=e[o];if(!(!n||Ru(e,o,t))){if(n.hasAttribute(fT))return o;r===-1&&(r=o)}}return Math.max(r,0)}function Qat(e,t){for(let r of Sfe)if(!t.includes(r)&&e.getModifierState(r))return!0;return!1}var MX=l(P(),1);function $be(e){let{render:t,className:r,style:o,refs:n=Ur,props:i=Ur,state:a=ft,stateAttributesMapping:s,highlightedIndex:d,onHighlightedIndexChange:c,orientation:u,grid:f,loopFocus:m,onLoop:g,enableHomeAndEndKeys:h,onMapChange:b,stopEventPropagation:_=!0,rootRef:y,disabledIndices:w,modifierKeys:v,highlightItemOnHover:x=!1,tag:S="div",...C}=e,k=To(),{props:E,highlightedIndex:I,onHighlightedIndexChange:M,elementsRef:R,onMapChange:T,relayKeyboardEvent:O}=Zbe({grid:f,loopFocus:m,onLoop:g,orientation:u,highlightedIndex:d,onHighlightedIndexChange:c,rootRef:y,stopEventPropagation:_,enableHomeAndEndKeys:h,direction:k,disabledIndices:w,modifierKeys:v}),A=Ce(S,e,{state:a,ref:n,props:[E,...i,C],stateAttributesMapping:s}),D=Qbe.useMemo(()=>({highlightedIndex:I,onHighlightedIndexChange:M,highlightItemOnHover:x,relayKeyboardEvent:O}),[I,M,x,O]);return(0,MX.jsx)(Eq.Provider,{value:D,children:(0,MX.jsx)(dc,{elementsRef:R,onMapChange:V=>{b?.(V),T(V)},children:A})})}var Jbe=new Map;function $at(e,t){let r=JSON.stringify({locale:D5(e),options:t}),o=Jbe.get(r);if(o)return o;let n=new Intl.NumberFormat(e,t);return Jbe.set(r,n),n}function AX(e,t,r){return e==null?"":$at(t,r).format(e)}function eve(e,t,r){return(e-t)*100/(r-t)}var kO=l(ee(),1),tve=l(sc(),1);var rve=l(P(),1),ove=kO.forwardRef(function(t,r){let{children:o,container:n,className:i,render:a,style:s,...d}=t,{node:c,subtree:u}=r9({container:n,ref:r,componentProps:t,elementProps:d});return!u&&!c?null:(0,rve.jsxs)(kO.Fragment,{children:[u,c&&tve.createPortal(o,c)]})});var hc={};or(hc,{Indicator:()=>pve,Label:()=>hve,Root:()=>lve,Track:()=>cve,Value:()=>mve});var Mg=l(ee(),1);var EO=l(ee(),1),NX=EO.createContext(void 0);function qb(){let e=EO.useContext(NX);if(e===void 0)throw new Error(Je(51));return e}var nve="data-complete",ive="data-indeterminate",ave="data-progressing";var Ff={status(e){return e==="progressing"?{[ave]:""}:e==="complete"?{[nve]:""}:e==="indeterminate"?{[ive]:""}:null}};var mT=l(P(),1),lve=Mg.forwardRef(function(t,r){let{format:o,getAriaValueText:n,locale:i,max:a=100,min:s=0,value:d,render:c,className:u,children:f,style:m,...g}=t,[h,b]=Mg.useState(),_="indeterminate",y=null,w=null,v="",x="indeterminate progress";if(d!=null&&Number.isFinite(d)){let I=eve(d,s,a);y=Df(Number.isNaN(I)?0:I,0,100),w=Df(d,s,a),_=w===a?"complete":"progressing",v=o?AX(w,i,o):AX(y/100,i,{style:"percent"}),x=v}let S=Mg.useMemo(()=>({status:_}),[_]),C={"aria-labelledby":h,"aria-valuemax":a,"aria-valuemin":s,"aria-valuenow":w??void 0,"aria-valuetext":n?n(v,d):x,role:"progressbar",children:(0,mT.jsxs)(Mg.Fragment,{children:[f,(0,mT.jsx)("span",{role:"presentation",style:vf,children:"x"})]})},k=Mg.useMemo(()=>({formattedValue:v,percentageValue:y,setLabelId:b,state:S,value:d}),[v,y,b,S,d]),E=Ce("div",t,{state:S,ref:r,props:[C,g],stateAttributesMapping:Ff});return(0,mT.jsx)(NX.Provider,{value:k,children:E})});var dve=l(ee(),1);var cve=dve.forwardRef(function(t,r){let{render:o,className:n,style:i,...a}=t,{state:s}=qb();return Ce("div",t,{state:s,ref:r,props:a,stateAttributesMapping:Ff})});var uve=l(ee(),1);var pve=uve.forwardRef(function(t,r){let{render:o,className:n,style:i,...a}=t,{percentageValue:s,state:d}=qb(),c=s==null?{}:{insetInlineStart:0,height:"inherit",width:`${s}%`};return Ce("div",t,{state:d,ref:r,props:[{style:c},a],stateAttributesMapping:Ff})});var fve=l(ee(),1);var mve=fve.forwardRef(function(t,r){let{className:o,render:n,children:i,style:a,...s}=t,{value:d,formattedValue:c,state:u}=qb(),f=u.status==="indeterminate";return Ce("span",t,{state:u,ref:r,props:[{"aria-hidden":!0,children:typeof i=="function"?i(f?"indeterminate":c,d):f?null:c},s],stateAttributesMapping:Ff})});var gve=l(ee(),1);var hve=gve.forwardRef(function(t,r){let{render:o,className:n,style:i,id:a,...s}=t,{setLabelId:d,state:c}=qb(),u=SI(a,d);return Ce("span",t,{state:c,ref:r,props:[{id:u,role:"presentation"},s],stateAttributesMapping:Ff})});var bve=l(P(),1),RO="base-ui-disable-scrollbar",gT={className:RO,getElement(e){return(0,bve.jsx)("style",{nonce:e,href:RO,precedence:"base-ui:low",children:`.${RO}{scrollbar-width:none}.${RO}::-webkit-scrollbar{display:none}`})}};var Od=1;function oS(e,t){return Math.max(0,e-t)}function nS(e,t){if(t<=0)return 0;let r=Df(e,0,t),o=r,n=t-r,i=o<=Od,a=n<=Od;return i&&a?o<=n?0:t:i?0:a?t:r}var an={};or(an,{Arrow:()=>Xve,Backdrop:()=>Ave,Group:()=>i_e,GroupLabel:()=>s_e,Icon:()=>Tve,Item:()=>Uve,ItemIndicator:()=>Yve,ItemText:()=>qve,Label:()=>yve,List:()=>jve,Popup:()=>Bve,Portal:()=>Ove,Positioner:()=>Nve,Root:()=>_ve,ScrollDownArrow:()=>Jve,ScrollUpArrow:()=>r_e,Separator:()=>l_e,Trigger:()=>Cve,Value:()=>Eve});var Ho=l(ee(),1);var iS=l(ee(),1),LX=iS.createContext(void 0),DX=iS.createContext(void 0);function Io(){let e=iS.useContext(LX);if(e===void 0)throw new Error(Je(60));return e}function TO(){let e=iS.useContext(DX);if(e===void 0)throw new Error(Je(61));return e}var vve={id:e=>e.id,labelId:e=>e.labelId,modal:e=>e.modal,multiple:e=>e.multiple,disabled:e=>e.disabled,readOnly:e=>e.readOnly,required:e=>e.required,highlightItemOnHover:e=>e.highlightItemOnHover,items:e=>e.items,itemToStringLabel:e=>e.itemToStringLabel,isItemEqualToValue:e=>e.isItemEqualToValue,value:e=>e.value,hasSelectedValue:e=>{let{value:t,multiple:r,itemToStringValue:o}=e;return t==null?!1:r&&Array.isArray(t)?t.length>0:Vl(t,o)!==""},hasNullItemLabel:(e,t)=>t?B9(e.items):!1,open:e=>e.open,mounted:e=>e.mounted,forceMount:e=>e.forceMount,transitionStatus:e=>e.transitionStatus,openMethod:e=>e.openMethod,activeIndex:e=>e.activeIndex,selectedIndex:e=>e.selectedIndex,isActive:(e,t)=>e.activeIndex===t,isSelected:(e,t)=>{let r=e.isItemEqualToValue,o=e.value;return e.multiple?Array.isArray(o)&&o.some(n=>aa(t,n,r)):aa(t,o,r)},isSelectedByFocus:(e,t)=>e.selectedIndex===t,popupProps:e=>e.popupProps,triggerProps:e=>e.triggerProps,itemRoot:e=>e.itemRoot,triggerElement:e=>e.triggerElement,positionerElement:e=>e.positionerElement,listElement:e=>e.listElement,popupSide:e=>e.popupSide,scrollUpArrowVisible:e=>e.scrollUpArrowVisible,scrollDownArrowVisible:e=>e.scrollDownArrowVisible,hasScrollArrows:e=>e.hasScrollArrows};var aS=l(P(),1);function _ve(e){let{id:t,value:r,defaultValue:o=null,onValueChange:n,open:i,defaultOpen:a=!1,onOpenChange:s,name:d,form:c,autoComplete:u,disabled:f=!1,readOnly:m=!1,required:g=!1,modal:h=!0,actionsRef:b,inputRef:_,onOpenChangeComplete:y,items:w,multiple:v=!1,itemToStringLabel:x,itemToStringValue:S,isItemEqualToValue:C=cy,highlightItemOnHover:k=!0,children:E}=e,{clearErrors:I}=ms(),{setDirty:M,setTouched:R,setFocused:T,validityData:O,setFilled:A,name:D,disabled:V,validation:H,validationMode:N}=Pr(),L=mc({id:t}),z=V||f,j=D??d,[F,Y]=Fi({controlled:r,default:v?o??Ur:o,name:"Select",state:"value"}),[W,Z]=Fi({controlled:i,default:a,name:"Select",state:"open"}),X=Ho.useRef([]),q=Ho.useRef([]),ce=Ho.useRef(null),de=Ho.useRef(null),he=Ho.useRef(0),ge=Ho.useRef(null),ye=Ho.useRef([]),Te=Ho.useRef(!1),te=Ho.useRef(null),ae=Ho.useRef(null),ue=Ho.useRef({allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0}),re=Ho.useRef(!1),_e=Ho.useRef(F),{openMethod:xe,triggerProps:ke}=I1(W),ne=Ot(()=>new fs({id:L,labelId:void 0,modal:h,multiple:v,disabled:z,readOnly:m,required:g,highlightItemOnHover:k,itemToStringLabel:x,itemToStringValue:S,isItemEqualToValue:C,value:F,open:W,mounted:W,transitionStatus:void 0,items:w,forceMount:!1,openMethod:null,activeIndex:null,selectedIndex:null,popupProps:ft,triggerProps:ft,itemRoot:{props:ft,multiple:v,disabled:z,readOnly:m,isItemEqualToValue:C},triggerElement:null,positionerElement:null,listElement:null,popupSide:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1,hasScrollArrows:!1},{setValue:Ct,setOpen:Ct,handleScrollArrowVisibility:Ct,onOpenChangeComplete:Ct,listRef:X,popupRef:ce,scrollHandlerRef:de,scrollArrowsMountedCountRef:he,valueRef:ge,valuesRef:ye,labelsRef:q,typingRef:Te,selectionRef:ue,firstItemTextRef:te,selectedItemTextRef:ae,alignItemWithTriggerActiveRef:re,initialValueRef:_e},vve)).current,[Re,Ae]=Ho.useState(!1),{mounted:Oe,transitionStatus:ie,forceUnmount:be}=_1({open:W,ref:ce,preventUnmountOnClose:Re,setPreventUnmountOnClose:Ae,onUnmount(){ne.update({activeIndex:null,openMethod:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1}),y?.(!1)}}),Fe=ne.useState("activeIndex"),Le=ne.useState("selectedIndex"),Ve=ne.useState("triggerElement"),it=ne.useState("positionerElement"),dt=XI(xe),We=xe??dt,Ye=Ho.useMemo(()=>v?"":Vl(F,S),[v,F,S]),St=Ho.useMemo(()=>v&&Array.isArray(F)?F.map(He=>Vl(He,S)):Vl(F,S),[v,F,S]),Cr=Er(Ve),Mt=ve(()=>St);Ib(Cr,L,F,Mt,!z,d);let hr=v?Array.isArray(F)&&F.length>0:F!=null&&Ye!=="";me(()=>{A(hr)},[hr,A]),me(function(){let qe=uy(ye.current,F,C,v);qe===null&&(ae.current=null),!W&&ne.set("selectedIndex",qe)},[v,W,F,C,ne]),Xs(F,()=>{I(j),M(N9(F,O.initialValue,C)),H.change(F)});let et=ve((He,qe)=>{let ze=qe,bt=ry(ze);s?.(He,ze),!qe.isCanceled&&(He||Ae(bt()),Z(He),!He&&(qe.reason===pe.focusOut||qe.reason===pe.outsidePress)&&(R(!0),T(!1),N==="onBlur"&&H.commit(F)))});Ho.useImperativeHandle(b,()=>({unmount:be,close:()=>{ne.state.open&&et(!1,Ne(pe.imperativeAction))}}),[be,et,ne]);let At=ve((He,qe)=>{n?.(He,qe),!qe.isCanceled&&Y(He)}),Ze=ve(He=>{let qe=oS(He.scrollHeight,He.clientHeight),ze=nS(He.scrollTop,qe),bt=ze>0,ot=ze<qe;ne.set("scrollUpArrowVisible",bt),ne.set("scrollDownArrowVisible",ot)}),J=C5({open:W,onOpenChange:et,elements:{reference:Ve,floating:it}}),we=Pu(J,{enabled:!z,event:"mousedown"}),G=Eg(J),Me=iy(J,{enabled:!z,listRef:X,activeIndex:Fe,selectedIndex:Le,disabledIndices:Ur,onNavigate(He){He===null&&!W||ne.set("activeIndex",He)},focusItemOnHover:k}),tt=sy(J,{enabled:!z&&(W||!m&&!v),listRef:q,activeIndex:Fe,selectedIndex:Le,disabledIndices:He=>rO(X.current[He]),onMatch(He){W?ne.set("activeIndex",He):At(ye.current[He],Ne(pe.none))},onTyping(He){Te.current=He}}),Ee=Ho.useMemo(()=>at(tt.reference,Me.reference,G.reference,we.reference,ke),[we.reference,tt.reference,Me.reference,G.reference,ke]),ut=Ho.useMemo(()=>at(Eb,tt.floating,Me.floating,G.floating),[tt.floating,Me.floating,G.floating]),Ie=Me.item??ft,Ke=Ho.useMemo(()=>({props:Ie,multiple:v,disabled:z,readOnly:m,isItemEqualToValue:C}),[Ie,v,z,m,C]);ne.useContextCallback("setValue",At),ne.useContextCallback("setOpen",et),ne.useContextCallback("handleScrollArrowVisibility",Ze),ne.useContextCallback("onOpenChangeComplete",y),A9(()=>{ne.update({popupProps:ut,triggerProps:Ee,itemRoot:Ke})}),ne.useSyncedValues({id:L,modal:h,multiple:v,disabled:z,readOnly:m,required:g,highlightItemOnHover:k,value:F,open:W,mounted:Oe,transitionStatus:ie,popupProps:ut,triggerProps:Ee,itemRoot:Ke,items:w,itemToStringLabel:x,itemToStringValue:S,isItemEqualToValue:C,openMethod:We});let Se=Ro(_,H.inputRef),Pe=v?void 0:j,Qt=Ho.useMemo(()=>!v||!Array.isArray(F)||!j?null:F.map(He=>{let qe=Vl(He,S);return(0,aS.jsx)("input",{type:"hidden",form:c,name:j,value:qe,disabled:z},qe)}),[v,F,c,j,S,z]);return(0,aS.jsxs)(LX.Provider,{value:ne,children:[(0,aS.jsx)(DX.Provider,{value:J,children:E}),(0,aS.jsx)("input",{...H.getValidationProps(z,{onFocus(){ne.state.triggerElement?.focus({focusVisible:!0})},onChange(He){if(He.nativeEvent.defaultPrevented||z||m)return;let qe=He.currentTarget.value,ze=Ne(pe.none,He.nativeEvent);function bt(){if(v)return;let ot=qe.toLowerCase(),Tt=ye.current.findIndex(Hr=>Vl(Hr,S).toLowerCase()===ot||Zs(Hr,x).toLowerCase()===ot);Tt===-1&&(Tt=ye.current.findIndex((Hr,Zr)=>{let Vo=q.current[Zr];return Vo!=null&&Vo.toLowerCase()===ot}));let xt=ye.current[Tt];xt!=null&&At(xt,ze)}ne.set("forceMount",!0),queueMicrotask(bt)}}),id:L&&Pe==null?`${L}-hidden-input`:void 0,form:c,name:Pe,autoComplete:u,value:Ye,disabled:z,required:g&&!(v&&hr),readOnly:m,ref:Se,style:j?wb:vf,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),Qt]})}var wve=l(ee(),1);var yve=wve.forwardRef(function(t,r){let{render:o,className:n,style:i,...a}=t,s=a;delete s.id;let d=Pr(),c=Io(),u=c.useState("triggerElement"),f=c.useState("id"),m=Z9(f),g=j1({id:m,fallbackControlId:u?.id??f,setLabelId(h){let b=typeof h=="function"?h(c.state.labelId):h;c.set("labelId",b)}});return Ce("div",t,{ref:r,state:d.state,props:[g,a],stateAttributesMapping:Nn})});var sS=l(ee(),1);var ehr=bf.popupOpen,thr=bf.pressed;var xve="data-popup-side";var Jat=400,est={...Zw,...Nn,popupSide:e=>e?{[xve]:e}:null,value:()=>null},Cve=sS.forwardRef(function(t,r){let{render:o,className:n,id:i,disabled:a=!1,nativeButton:s=!0,style:d,...c}=t,{setTouched:u,validationMode:f,validation:m,state:g,disabled:h}=Pr(),{labelId:b}=nn(),_=Io(),y=_.useState("readOnly"),w=_.useState("required"),v=_.useState("disabled"),x=h||v||a,S=_.useState("open"),C=_.useState("mounted"),k=_.useState("value"),E=_.useState("triggerProps"),I=_.useState("positionerElement"),M=_.useState("listElement"),R=_.useState("popupSide"),T=_.useState("id"),O=_.useState("labelId"),A=_.useState("hasSelectedValue"),D=C&&I?R:null,V=i??T,H=Q9(b,O);mc({id:i});let N=Er(I),L=sS.useRef(null),z=Pf(x,L),{getButtonProps:j,buttonRef:F}=Jr({disabled:x,native:s}),Y=_.useStateSetter("triggerElement"),W=ur(),Z=ur(),X=ur();sS.useEffect(()=>{if(S)return X.start(Jat,()=>{_.context.selectionRef.current.allowUnselectedMouseUp=!0,_.context.selectionRef.current.allowSelectedMouseUp=!0}),()=>{X.clear()};_.context.selectionRef.current={allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0},Z.clear()},[S,_,Z,X]);let q=at(E,{id:V,role:"combobox","aria-expanded":S,"aria-haspopup":"listbox","aria-controls":S?M?.id??Qw(I)?.id:void 0,"aria-labelledby":H,"aria-readonly":y||void 0,"aria-required":w||void 0,tabIndex:x?-1:0,onFocus(he){z(!0),S&&_.context.alignItemWithTriggerActiveRef.current&&_.context.setOpen(!1,Ne(pe.none,he.nativeEvent)),W.start(0,()=>{_.set("forceMount",!0)})},onBlur(he){Ge(I,he.relatedTarget)||(u(!0),z(!1),f==="onBlur"&&m.commit(k))},onMouseDown(he){if(S)return;let ge=st(he.currentTarget);function ye(Te){if(!L.current)return;let te=Te.target;Ge(L.current,te)||Ge(N.current,te)||A1(Te,L.current)||_.context.setOpen(!1,Ne(pe.cancelOpen,Te))}Z.start(0,()=>{ge.addEventListener("mouseup",ye,{once:!0})})}},c,j),ce=m.getValidationProps(x,q);ce.role="combobox";let de={...g,open:S,disabled:x,value:k,readOnly:y,popupSide:D,placeholder:!A};return Ce("button",t,{ref:[r,L,F,Y],state:de,stateAttributesMapping:est,props:ce})});var kve=l(ee(),1);var tst={value:()=>null},Eve=kve.forwardRef(function(t,r){let{className:o,render:n,children:i,placeholder:a,style:s,...d}=t,c=Io(),u=c.useState("value"),f=c.useState("items"),m=c.useState("itemToStringLabel"),g=c.useState("hasSelectedValue"),h=!g&&a!=null&&i==null,b=c.useState("hasNullItemLabel",h),_={value:u,placeholder:!g},y=null;return typeof i=="function"?y=i(u):i!=null?y=i:h&&!b?y=a:Array.isArray(u)?y=z9(u,f,m):y=N5(u,f,m),Ce("span",t,{state:_,ref:[r,c.context.valueRef],props:[{children:y},d],stateAttributesMapping:tst})});var Rve=l(ee(),1);var Tve=Rve.forwardRef(function(t,r){let{render:o,className:n,style:i,...a}=t,c={open:Io().useState("open")};return Ce("span",t,{state:c,ref:r,props:[{"aria-hidden":!0,children:"\u25BC"},a],stateAttributesMapping:bb})});var Pve=l(ee(),1);var Ive=l(P(),1),Ove=Pve.forwardRef(function(t,r){let o=Io(),n=o.useState("mounted"),i=o.useState("forceMount");return n||i?(0,Ive.jsx)(ey,{ref:r,...t}):null});var Mve=l(ee(),1);var rst={...Aa,...go},Ave=Mve.forwardRef(function(t,r){let{render:o,className:n,style:i,...a}=t,s=Io(),d=s.useState("open"),c=s.useState("mounted"),u=s.useState("transitionStatus");return Ce("div",t,{state:{open:d,transitionStatus:u},ref:r,props:[{role:"presentation",hidden:!c,style:{userSelect:"none",WebkitUserSelect:"none"}},a],stateAttributesMapping:rst})});var bc=l(ee(),1);var PO=l(ee(),1),FX=PO.createContext(void 0);function Kb(){let e=PO.useContext(FX);if(!e)throw new Error(Je(59));return e}function lS(e,t){e&&Object.assign(e.style,t)}var IO={position:"relative",maxHeight:"100%",overflowX:"hidden",overflowY:"auto"};var hT=l(P(),1),ost={position:"fixed"},Nve=bc.forwardRef(function(t,r){let{anchor:o,className:n,render:i,positionMethod:a,side:s,align:d,sideOffset:c,alignOffset:u,collisionBoundary:f="clipping-ancestors",collisionPadding:m,arrowPadding:g,sticky:h,disableAnchorTracking:b,alignItemWithTrigger:_=!0,collisionAvoidance:y=b1,style:w,...v}=t,x=Io(),S=TO(),C=x.useState("open"),k=x.useState("mounted"),E=x.useState("modal"),I=x.useState("value"),M=x.useState("openMethod"),R=x.useState("positionerElement"),T=x.useState("triggerElement"),O=x.useState("isItemEqualToValue"),A=x.useState("transitionStatus"),D=bc.useRef(null),V=bc.useRef(null),[H,N]=bc.useState(_),L=k&&H&&M!=="touch";!k&&H!==_&&N(_),bc.useImperativeHandle(x.context.alignItemWithTriggerActiveRef,()=>L),V1((L||E)&&C,M==="touch",R,T);let z=Mb({anchor:o,floatingRootContext:S,positionMethod:a,mounted:k,side:s,sideOffset:c,align:d,alignOffset:u,arrowPadding:g,collisionBoundary:f,collisionPadding:m,sticky:h,disableAnchorTracking:b??L,collisionAvoidance:y,keepMounted:!0}),j=L?"none":z.side,F=L?ost:z.positionerStyles,Y={open:C,side:j,align:z.align,anchorHidden:z.anchorHidden};me(()=>{x.set("popupSide",z.side)},[x,z.side]);let W=x.useStateSetter("positionerElement"),Z=Ab(t,Y,{styles:F,transitionStatus:A,props:v,refs:[r,W],hidden:!k,inert:!C}),X=bc.useRef(0),q=ve(de=>{if(x.context.valuesRef.current.length===0)return;let he=X.current;X.current=de.size;let ge=Ne(pe.none);if(he!==0&&!x.state.multiple&&I!==null&&Iu(x.context.valuesRef.current,I,O)===-1){let Te=x.context.initialValueRef.current,ae=Te!=null&&Iu(x.context.valuesRef.current,Te,O)!==-1?Te:null;x.context.setValue(ae,ge),ae===null&&(x.set("selectedIndex",null),x.context.selectedItemTextRef.current=null)}if(he!==0&&x.state.multiple&&Array.isArray(I)){let ye=I.filter(Te=>Iu(x.context.valuesRef.current,Te,O)!==-1);ye.length!==I.length&&(x.context.setValue(ye,ge),ye.length===0&&(x.set("selectedIndex",null),x.context.selectedItemTextRef.current=null))}if(C&&L){x.update({scrollUpArrowVisible:!1,scrollDownArrowVisible:!1});let ye={height:""};lS(R,ye),lS(x.context.popupRef.current,ye)}}),ce=bc.useMemo(()=>({...z,side:j,alignItemWithTriggerActive:L,setControlledAlignItemWithTrigger:N,scrollUpArrowRef:D,scrollDownArrowRef:V}),[z,j,L,N]);return(0,hT.jsx)(dc,{elementsRef:x.context.listRef,labelsRef:x.context.labelsRef,onMapChange:q,children:(0,hT.jsxs)(FX.Provider,{value:ce,children:[k&&E&&(0,hT.jsx)(P1,{inert:Ef(!C),cutout:T}),Z]})})});var vc=l(ee(),1);var VX="--transform-origin";var AO=l(P(),1),nst={...Aa,...go},Bve=vc.forwardRef(function(t,r){let{render:o,className:n,style:i,finalFocus:a,...s}=t,d=Io(),c=d.useState("multiple"),u=d.useState("readOnly"),f=d.useState("highlightItemOnHover"),m=TO(),{side:g,align:h,alignItemWithTriggerActive:b,isPositioned:_,setControlledAlignItemWithTrigger:y}=Kb(),w=LI(!0)!=null,v=To(),{nonce:x,disableStyleElements:S}=vO(),C=d.useState("id"),k=d.useState("open"),E=d.useState("openMethod"),I=d.useState("mounted"),M=d.useState("popupProps"),R=d.useState("transitionStatus"),T=d.useState("triggerElement"),O=d.useState("positionerElement"),A=d.useState("listElement"),D=vc.useRef(!1),V=vc.useRef(!1),H=vc.useRef({}),N=Ws(),L=ve(Y=>{if(!O||!d.context.popupRef.current||!V.current)return;let W=O.style.top==="0px",Z=O.style.bottom==="0px";if(D.current||!b||!W&&!Z){d.context.handleScrollArrowVisibility(Y);return}let X=Fve(O),q=bT(O.getBoundingClientRect().height,"y",X),ce=st(O),de=Ht(O),he=de.getComputedStyle(O),ge=parseFloat(he.marginTop),ye=parseFloat(he.marginBottom),Te=Dve(de.getComputedStyle(d.context.popupRef.current)),te=Math.min(ce.documentElement.clientHeight-ge-ye,Te),ae=Y.scrollTop,ue=OO(Y),re=null,_e=Re=>{O.style.height=`${Re}px`},xe=W?ue-ae:ae,ke=Math.min(q+xe,te);if(xe<=Od){let Re=Df(xe,0,te-q);Re>0&&_e(q+Re),Y.scrollTop=W?ue:0,te-(q+Re)<=Od&&(D.current=!0),d.context.handleScrollArrowVisibility(Y);return}if(te-ke>Od)re=W?1/0:0;else if(Z&&ae<ue){let Re=q+xe-te;re=ae-(xe-Re)}let ne=Math.ceil(ke);if(ne!==0&&_e(ne),re!=null){let Re=Df(re,0,OO(Y));Math.abs(Y.scrollTop-Re)>Od&&(Y.scrollTop=Re)}ne>=te-Od&&(D.current=!0),d.context.handleScrollArrowVisibility(Y)});vc.useImperativeHandle(d.context.scrollHandlerRef,()=>L,[L]),mo({open:k,ref:d.context.popupRef,onComplete(){k&&d.context.onOpenChangeComplete(!0)}});let z={open:k,transitionStatus:R,side:g,align:h};me(()=>{!O||!d.context.popupRef.current||Object.keys(H.current).length||(H.current={top:O.style.top||"0",left:O.style.left||"0",right:O.style.right,height:O.style.height,bottom:O.style.bottom,minHeight:O.style.minHeight,maxHeight:O.style.maxHeight,marginTop:O.style.marginTop,marginBottom:O.style.marginBottom})},[d,O]),me(()=>{k||b||(V.current=!1,D.current=!1,lS(O,H.current))},[k,b,O]),me(()=>{let Y=d.context.popupRef.current;if(!k||!T||!O||!Y||b&&!_||d.state.transitionStatus==="ending")return;if(V.current=!0,Y.style.removeProperty(VX),!b){N.request(()=>d.context.handleScrollArrowVisibility(A||Y));return}let W=ist(Y);try{let Z=d.context.selectedItemTextRef.current;Z?.isConnected||(Z=!d.select("hasSelectedValue")&&d.context.firstItemTextRef.current?.isConnected?d.context.firstItemTextRef.current:null);let X=d.context.valueRef.current,q=Ht(O),ce=q.getComputedStyle(O),de=q.getComputedStyle(Y),he=st(T),ge=Fve(T),ye=MO(T.getBoundingClientRect(),ge),Te=MO(O.getBoundingClientRect(),ge),te=ye.height,ae=A||Y,ue=ae.scrollHeight,re=parseFloat(de.borderBottomWidth),_e=parseFloat(ce.marginTop)||10,xe=parseFloat(ce.marginBottom)||10,ke=parseFloat(ce.minHeight)||100,ne=Dve(de),Re=5,Ae=5,Oe=20,ie=he.documentElement.clientHeight-_e-xe,be=he.documentElement.clientWidth,Fe=ie-ye.bottom+te,Le,Ve=v==="rtl"?ye.right-Te.width:ye.left,it=0;if(Z&&X){let J=MO(X.getBoundingClientRect(),ge);Le=MO(Z.getBoundingClientRect(),ge),Ve=Te.left+(v==="rtl"?J.right-Le.right:J.left-Le.left);let we=J.top-ye.top+J.height/2;it=Le.top-Te.top+Le.height/2-we}let dt=Fe+it+xe+re,We=Math.min(ie,dt),Ye=ie-_e-xe,St=dt-We,Cr=be-Ae;O.style.left=`${Df(Ve,Re,Cr-Te.width)}px`,O.style.height=`${We}px`,O.style.maxHeight="none",O.style.marginTop=`${_e}px`,O.style.marginBottom=`${xe}px`,Y.style.height="100%";let Mt=OO(ae),hr=St>=Mt-Od;hr&&(We=Math.min(ie,Te.height)-(St-Mt));let et=ye.top<Oe||ye.bottom>ie-Oe||Math.ceil(We)+Od<Math.min(ue,ke),At=(q.visualViewport?.scale??1)!==1&&$t.engine.webkit;if(et||At){lS(O,H.current),y(!1);return}let Ze=Math.max(ke,We);if(hr){let J=Math.max(0,ie-dt);O.style.top=Te.height>=Ye?"0":`${J}px`,O.style.height=`${We}px`,ae.scrollTop=OO(ae)}else O.style.bottom="0",ae.scrollTop=St;if(Le){let J=Te.top,we=Te.height,G=Le.top+Le.height/2,Me=Df(we>0?(G-J)/we*100:50,0,100);Y.style.setProperty(VX,`50% ${Me}%`)}(Ze===ie||We>=ne)&&(D.current=!0),d.context.handleScrollArrowVisibility(ae),f&&d.state.selectedIndex===null&&d.state.activeIndex===null&&d.context.listRef.current[0]!=null&&d.set("activeIndex",0)}finally{W()}},[d,k,O,T,b,y,N,A,f,v,_]),vc.useEffect(()=>{if(!b||!O||!k)return;let Y=Ht(O);function W(Z){d.context.setOpen(!1,Ne(pe.windowResize,Z))}return Dt(Y,"resize",W)},[d,b,O,k]);let j={...A?{role:"presentation"}:{role:"listbox","aria-multiselectable":c||void 0,"aria-readonly":u||void 0,id:`${C}-list`},onKeyDown(Y){w&&T1.has(Y.key)&&Y.stopPropagation()},onScroll(Y){A||L(Y.currentTarget)},...b&&{style:A?{height:"100%"}:IO},className:!A&&b?gT.className:void 0},F=Ce("div",t,{ref:[r,d.context.popupRef],state:z,stateAttributesMapping:nst,props:[M,j,Of(R),s]});return(0,AO.jsxs)(vc.Fragment,{children:[!S&&gT.getElement(x),(0,AO.jsx)(ty,{context:m,modal:!1,disabled:!I,openInteractionType:E,returnFocus:a,restoreFocus:!0,children:F})]})});function Dve(e){let t=e.maxHeight;return t.endsWith("px")&&parseFloat(t)||1/0}function OO(e){return oS(e.scrollHeight,e.clientHeight)}function Fve(e){return P5.getScale(e)}function bT(e,t,r){return e/r[t]}function MO(e,t){return Cg({x:bT(e.x,"x",t),y:bT(e.y,"y",t),width:bT(e.width,"x",t),height:bT(e.height,"y",t)})}var Vve=[["transform","none"],["scale","1"],["translate","0 0"]];function ist(e){let{style:t}=e,r={};for(let[o,n]of Vve)r[o]=t.getPropertyValue(o),t.setProperty(o,n,"important");return()=>{for(let[o]of Vve){let n=r[o];n?t.setProperty(o,n):t.removeProperty(o)}}}var zve=l(ee(),1);var jve=zve.forwardRef(function(t,r){let{render:o,className:n,style:i,...a}=t,s=Io(),d=s.useState("multiple"),c=s.useState("readOnly"),{alignItemWithTriggerActive:u}=Kb(),f=s.useState("hasScrollArrows"),m=s.useState("openMethod"),h={id:`${s.useState("id")}-list`,role:"listbox","aria-multiselectable":d||void 0,"aria-readonly":c||void 0,onScroll(_){s.context.scrollHandlerRef.current?.(_.currentTarget)},...u&&{style:IO},className:f&&m!=="touch"?gT.className:void 0},b=s.useStateSetter("listElement");return Ce("div",t,{ref:[r,b],props:[h,a]})});var Nu=l(ee(),1);var NO=l(ee(),1),BX=NO.createContext(void 0);function LO(){let e=NO.useContext(BX);if(!e)throw new Error(Je(57));return e}var Hve=l(P(),1),Uve=Nu.memo(Nu.forwardRef(function(t,r){let{render:o,className:n,style:i,value:a=null,label:s,disabled:d=!1,nativeButton:c=!1,...u}=t,f=Nu.useRef(null),m=bi({guess:!0,label:s,textRef:f}),g=Io(),{props:h,multiple:b,disabled:_,readOnly:y,isItemEqualToValue:w}=g.useState("itemRoot"),v=_||d,x=g.useState("isActive",m.index),S=g.useState("open"),C=g.useState("isSelected",a),k=g.useState("isSelectedByFocus",m.index),E=m.index,I=Nu.useRef(null);me(()=>{let z=g.context.valuesRef.current;return z[E]=a,()=>{delete z[E]}},[E,a,g]),me(()=>{let z=g.state.value,j=g.state.selectedIndex,F=j,Y;b&&Array.isArray(z)?(F=L9(E,a,g.context.valuesRef.current,z,w,j),Y=F===E,E===j&&!Y&&(g.context.selectedItemTextRef.current=null)):(Y=z!==void 0&&aa(a,z,w),Y&&(F=E)),g.set("selectedIndex",F),Y&&f.current&&(g.context.selectedItemTextRef.current=f.current)},[E,b,w,g,a]);let M=Nu.useRef("mouse"),R=Nu.useRef(!1),{getButtonProps:T,buttonRef:O}=Jr({disabled:v,focusableWhenDisabled:!0,native:c,composite:!0}),A={disabled:v,selected:C,highlighted:x};function D(z){if(_||y)return;let j=g.state.value;if(b){let F=Array.isArray(j)?j:[],Y=C?D9(F,a,w):[...F,a];g.context.setValue(Y,Ne(pe.itemPress,z))}else g.context.setValue(a,Ne(pe.itemPress,z)),g.context.setOpen(!1,Ne(pe.itemPress,z))}function V(){g.context.selectionRef.current.dragY=0}let H={role:"option","aria-selected":C,tabIndex:S&&x?0:-1,onKeyDown(z){g.set("activeIndex",E),z.key===" "&&g.context.typingRef.current&&z.preventDefault()},onClick(z){let j=M.current!=="touch",F=z.nativeEvent.pointerType,Y=j&&gf(z.nativeEvent)&&(F!==void 0||x),W=j&&!Y&&!R.current;R.current=!1,!(v||W)&&D(z.nativeEvent)},onPointerEnter(z){M.current=z.pointerType},onPointerMove(z){if(z.pointerType==="mouse"&&z.buttons===1){let j=g.context.selectionRef.current;j.dragY+=z.movementY,j.dragY**2>=64&&(j.allowUnselectedMouseUp=!0)}},onPointerDown(z){M.current=z.pointerType,R.current=!0,V()},onMouseUp(){if(V(),v||M.current==="touch"||R.current)return;let z=!g.context.selectionRef.current.allowSelectedMouseUp&&C,j=!g.context.selectionRef.current.allowUnselectedMouseUp&&!C;z||j||(R.current=!0,I.current?.click(),R.current=!1)}},N=Ce("div",t,{ref:[O,r,m.ref,I],state:A,props:[h,H,u,T]}),L=Nu.useMemo(()=>({selected:C,index:E,textRef:f,selectedByFocus:k}),[C,E,f,k]);return(0,Hve.jsx)(BX.Provider,{value:L,children:N})}));var Wve=l(ee(),1);var Gve=l(P(),1),Yve=Wve.forwardRef(function(t,r){let{selected:o}=LO();return t.keepMounted||o?(0,Gve.jsx)(CI,{...t,selected:o,ref:r}):null});var dS=l(ee(),1);var qve=dS.memo(dS.forwardRef(function(t,r){let{index:o,textRef:n,selectedByFocus:i}=LO(),a=Io(),{render:s,className:d,style:c,...u}=t,f=dS.useCallback(g=>{g&&(o===0&&(a.context.firstItemTextRef.current=g),i&&(a.context.selectedItemTextRef.current=g))},[a,o,i]);return Ce("div",t,{ref:[f,r,n],props:u})}));var Kve=l(ee(),1);var Xve=Kve.forwardRef(function(t,r){let{render:o,className:n,style:i,...a}=t,s=Io(),{side:d,align:c,arrowRef:u,arrowStyles:f,arrowUncentered:m,alignItemWithTriggerActive:g}=Kb(),b={open:s.useState("open"),side:d,align:c,uncentered:m},_=Ce("div",t,{state:b,ref:[u,r],props:[{style:f,"aria-hidden":!0},a],stateAttributesMapping:vb});return g?null:_});var Qve=l(ee(),1);var Zve=l(ee(),1);var DO=Zve.forwardRef(function(t,r){let{render:o,className:n,style:i,direction:a,keepMounted:s,...d}=t,c=a==="up",u=Io(),{side:f,scrollDownArrowRef:m,scrollUpArrowRef:g}=Kb(),h=c?"scrollUpArrowVisible":"scrollDownArrowVisible",b=u.useState(h),_=u.useState("openMethod"),y=b&&_!=="touch",w=ur(),v=c?g:m,{mounted:x,transitionStatus:S,setMounted:C}=An(y);me(()=>(u.context.scrollArrowsMountedCountRef.current+=1,u.set("hasScrollArrows",!0),()=>{u.context.scrollArrowsMountedCountRef.current=Math.max(0,u.context.scrollArrowsMountedCountRef.current-1),u.context.scrollArrowsMountedCountRef.current===0&&u.set("hasScrollArrows",!1)}),[u]),mo({open:y,ref:v,onComplete(){y||C(!1)}});let I=Ce("div",t,{ref:[r,v],state:{direction:a,visible:y,side:f,transitionStatus:S},props:[{"aria-hidden":!0,children:c?"\u25B2":"\u25BC",style:{position:"absolute"},onMouseMove(R){if(R.movementX===0&&R.movementY===0||w.isStarted())return;u.set("activeIndex",null);function T(){let O=u.state.listElement??u.context.popupRef.current;if(!O)return;u.set("activeIndex",null),u.context.handleScrollArrowVisibility(O);let A=oS(O.scrollHeight,O.clientHeight),D=nS(O.scrollTop,A),V=D===(c?0:A),H=u.context.listRef.current;if(D!==O.scrollTop&&(O.scrollTop=D),V){w.clear();return}if(H.length>0){let N=v.current?.offsetHeight||0;O.scrollTop=ast(H,c,D,O.clientHeight,N,A)}w.start(40,T)}w.start(40,T)},onMouseLeave(){w.clear()}},d],stateAttributesMapping:go});return x||s?I:null});function ast(e,t,r,o,n,i){if(t){let u=0,f=r+n-Od;for(let h=0;h<e.length;h+=1){let b=e[h];if(b&&b.offsetTop>=f){u=h;break}}let m=Math.max(0,u-1),g=e[m];return m<u&&g?nS(g.offsetTop-n,i):0}let a=e.length-1,s=r+o-n+Od;for(let u=0;u<e.length;u+=1){let f=e[u];if(f&&f.offsetTop+f.offsetHeight>s){a=Math.max(0,u-1);break}}let d=Math.min(e.length-1,a+1),c=e[d];return d>a&&c?nS(c.offsetTop+c.offsetHeight-o+n,i):i}var $ve=l(P(),1),Jve=Qve.forwardRef(function(t,r){return(0,$ve.jsx)(DO,{...t,ref:r,direction:"down"})});var e_e=l(ee(),1);var t_e=l(P(),1),r_e=e_e.forwardRef(function(t,r){return(0,t_e.jsx)(DO,{...t,ref:r,direction:"up"})});var cS=l(ee(),1);var FO=l(ee(),1),zX=FO.createContext(void 0);function o_e(){let e=FO.useContext(zX);if(e===void 0)throw new Error(Je(56));return e}var n_e=l(P(),1),i_e=cS.forwardRef(function(t,r){let{render:o,className:n,style:i,...a}=t,[s,d]=cS.useState(),c=cS.useMemo(()=>({labelId:s,setLabelId:d}),[s,d]),u=Ce("div",t,{ref:r,props:[{role:"group","aria-labelledby":s},a]});return(0,n_e.jsx)(zX.Provider,{value:c,children:u})});var a_e=l(ee(),1);var s_e=a_e.forwardRef(function(t,r){let{render:o,className:n,style:i,id:a,...s}=t,{setLabelId:d}=o_e(),c=Lt(a);return me(()=>(d(c),()=>{d(f=>f===c?void 0:f)}),[c,d]),Ce("div",t,{ref:r,props:[{id:c,"aria-hidden":!0},s]})});var l_e=hI;var VO=l(ee(),1),d_e=l(y1(),1);var sst=()=>()=>{},lst=()=>!0,dst=()=>!1;function cst(){return(0,d_e.useSyncExternalStore)(sst,lst,dst)}function ust(){let[e,t]=VO.useState(!1);return VO.useEffect(()=>{t(!0)},[]),e}var pst=mb(18)?cst:ust;function jX(){return!pst()}var u_r=l(ee(),1);var c_e=l(P(),1);function u_e(e){let{script:t}=e,{nonce:r}=vO();return jX()?(0,c_e.jsx)("script",{nonce:r,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0}):null}var Du={};or(Du,{Indicator:()=>T_e,List:()=>M_e,Panel:()=>O_e,Root:()=>g_e,Tab:()=>h_e});var Zn=l(ee(),1);var BO=l(ee(),1),HX=BO.createContext(void 0);function Xb(){let e=BO.useContext(HX);if(e===void 0)throw new Error(Je(64));return e}var p_e="data-activation-direction";var Vf={tabActivationDirection:e=>({[p_e]:e})};var UX=l(P(),1),g_e=Zn.forwardRef(function(t,r){let{className:o,defaultValue:n=0,onValueChange:i,orientation:a="horizontal",render:s,value:d,style:c,...u}=t,f=t.defaultValue!==void 0,m=Zn.useRef([]),[g,h]=Zn.useState(()=>new Map),[b,_]=Fi({controlled:d,default:n,name:"Tabs",state:"value"}),y=d!==void 0,[w,v]=Zn.useState(()=>new Map),x=Zn.useRef(void 0),S=Zn.useCallback(ce=>WX(w,ce),[w]),[C,k]=Zn.useState(()=>({previousValue:b,tabActivationDirection:"none"})),{previousValue:E,tabActivationDirection:I}=C,M=I,R=!1;E!==b&&(M=m_e(E,b,a,w),R=E!=null&&b!=null&&S(b)==null);let T=R?E:b,O=E!==T||I!==M;me(()=>{O&&k({previousValue:T,tabActivationDirection:M})},[T,O,M]);let A=ve((ce,de)=>{let he=m_e(b,ce,a,w);de.activationDirection=he,i?.(ce,de),!de.isCanceled&&_(()=>ce)}),D=ve((ce,de)=>{i?.(ce,Ne(de,void 0,void 0,{activationDirection:"none"}))}),V=ve((ce,de)=>(h(he=>{let ge=new Map(he);return ge.set(ce,de),ge}),()=>{h(he=>{if(he.get(ce)!==de)return he;let ge=new Map(he);return ge.delete(ce),ge})})),H=Zn.useCallback(ce=>g.get(ce),[g]),N=Zn.useCallback(ce=>{for(let de of w.values())if(ce===de.value)return de.id},[w]),L=Zn.useMemo(()=>({getTabElementBySelectedValue:S,getTabIdByPanelValue:N,getTabPanelIdByValue:H,onValueChange:A,orientation:a,registerMountedTabPanel:V,setTabMap:v,tabActivationDirection:M,value:b}),[S,N,H,A,a,V,v,M,b]),z=Zn.useMemo(()=>{for(let ce of w.values())if(ce.value===b)return ce},[w,b]),j=Zn.useMemo(()=>{for(let ce of w.values())if(!ce.disabled)return ce.value},[w]),F=Zn.useRef(!f),Y=Zn.useRef(n),W=Zn.useRef(f),Z=Zn.useRef(!1);me(()=>{if(y)return;function ce(ye,Te){_(()=>ye),k({previousValue:ye,tabActivationDirection:"none"}),D(ye,Te),F.current=!1}if(w.size===0){Z.current&&b!==null&&!x.current?.isConnected&&ce(null,pe.missing);return}Z.current=!0,x.current=w.keys().next().value;let de=z?.disabled,he=z==null&&b!==null;if(!de&&b===Y.current&&(W.current=!1),W.current&&de&&b===Y.current)return;let ge=F.current;if(de||he){let ye=j??null;if(b===ye){F.current=!1;return}let Te=pe.missing;ge?Te=pe.initial:de&&(Te=pe.disabled),ce(ye,Te);return}ge&&z!=null&&(D(b,pe.initial),F.current=!1)},[j,y,D,z,_,w,b]);let q=Ce("div",t,{state:{orientation:a,tabActivationDirection:M},ref:r,props:u,stateAttributesMapping:Vf});return(0,UX.jsx)(HX.Provider,{value:L,children:(0,UX.jsx)(dc,{elementsRef:m,children:q})})});function WX(e,t){for(let[r,o]of e.entries())if(t===o.value)return r;return null}function m_e(e,t,r,o){if(e==null||t==null)return"none";let[n,i,a]=r==="horizontal"?["left","left","right"]:["top","up","down"],s=WX(o,e),d=WX(o,t);if(s==null||d==null)return s!==d&&(typeof e=="number"||typeof e=="string")&&typeof e==typeof t?t>e?a:i:"none";let c=s.getBoundingClientRect()[n],u=d.getBoundingClientRect()[n];return u<c?i:u>c?a:"none"}var Ag=l(ee(),1);var zO=l(ee(),1),GX=zO.createContext(void 0);function jO(){let e=zO.useContext(GX);if(e===void 0)throw new Error(Je(65));return e}var h_e=Ag.forwardRef(function(t,r){let{className:o,disabled:n=!1,render:i,value:a,id:s,nativeButton:d=!0,style:c,...u}=t,{value:f,getTabPanelIdByValue:m,onValueChange:g,orientation:h,tabActivationDirection:b}=Xb(),{activateOnFocus:_,registerTabResizeObserverElement:y,tabsListElement:w}=jO(),{highlightedIndex:v,onHighlightedIndexChange:x}=hb(),S=Lt(s),C=Ag.useMemo(()=>({disabled:n,id:S,value:a}),[n,S,a]),{compositeProps:k,compositeRef:E,index:I}=qI({metadata:C}),M=a===f,R=Ag.useRef(!1),T=Ag.useRef(null),O=ve(Z=>{T.current?.(),T.current=Z?y(Z):null});me(()=>{if(R.current){R.current=!1;return}if(!(M&&I>-1&&v!==I))return;let Z=w;if(Z!=null){let X=Ar(st(Z));if(X&&Ge(Z,X))return}n||x(I)},[M,I,v,x,n,w]);let{getButtonProps:A,buttonRef:D}=Jr({disabled:n,native:d,focusableWhenDisabled:!0}),V=m(a),H=Ag.useRef(!1),N=Ag.useRef(!1);function L(Z){g(a,Ne(pe.none,Z.nativeEvent,void 0,{activationDirection:"none"}))}function z(Z){M||n||L(Z)}function j(Z){M||n||_&&(!H.current||N.current)&&L(Z)}function F(Z){if(M||n)return;H.current=!0,N.current=Z.button===0;let X=st(Z.currentTarget);function q(){H.current=!1,N.current=!1,X.removeEventListener("pointerup",q),X.removeEventListener("pointercancel",q)}X.addEventListener("pointerup",q),X.addEventListener("pointercancel",q)}return Ce("button",t,{state:{disabled:n,active:M,orientation:h,tabActivationDirection:b},ref:[r,D,E,O],props:[k,{role:"tab","aria-controls":V,"aria-selected":M,id:S,onClick:z,onFocus:j,onPointerDown:F,[fT]:M?"":void 0,onKeyDownCapture(){R.current=!0}},u,A],stateAttributesMapping:Vf})});var uS=l(ee(),1);var b_e="--active-tab-left",v_e="--active-tab-right",__e="--active-tab-top",w_e="--active-tab-bottom",y_e="--active-tab-width",x_e="--active-tab-height";var HO=l(P(),1),C_e,fst={...Vf,activeTabPosition:()=>null,activeTabSize:()=>null},k_e=2,T_e=uS.forwardRef(function(t,r){let{className:o,render:n,renderBeforeHydration:i=!1,style:a,...s}=t,{getTabElementBySelectedValue:d,orientation:c,tabActivationDirection:u,value:f}=Xb(),{tabsListElement:m,registerIndicatorUpdateListener:g}=jO(),h=u1();uS.useEffect(()=>g(h),[g,h]);let b=0,_=0,y=0,w=0,v=0,x=0,S=!1;if(f!=null&&m!=null){let T=d(f);if(T!=null){S=!0;let{width:O,height:A}=Q1(T),{width:D,height:V}=Q1(m),H=T.getBoundingClientRect(),N=m.getBoundingClientRect(),L=D>0?N.width/D:1,z=V>0?N.height/V:1,j=mst(T,m);b=j.left,y=j.top;let F=(H.left-N.left)/L+m.scrollLeft-m.clientLeft,Y=(H.top-N.top)/z+m.scrollTop-m.clientTop,W=gst(T);Math.abs(F-W.x-b)<=k_e&&Math.abs(Y-W.y-y)<=k_e&&(b=F,y=Y),v=O,x=A,_=m.scrollWidth-b-v,w=m.scrollHeight-y-x}}let C=S?{left:b,right:_,top:y,bottom:w}:null,k=S?{width:v,height:x}:null,E=S?{[b_e]:`${b}px`,[v_e]:`${_}px`,[__e]:`${y}px`,[w_e]:`${w}px`,[y_e]:`${v}px`,[x_e]:`${x}px`}:void 0,I=S&&v>0&&x>0,R=Ce("span",t,{state:{orientation:c,activeTabPosition:C,activeTabSize:k,tabActivationDirection:u},ref:r,props:[{role:"presentation",style:E,hidden:!I},s,{suppressHydrationWarning:!0}],stateAttributesMapping:fst});return f==null?null:(0,HO.jsxs)(uS.Fragment,{children:[R,i&&(C_e||(C_e=(0,HO.jsx)(u_e,{script:""})))]})});function mst(e,t){let r=E_e(e),o=E_e(t),n=r.left-o.left-t.clientLeft,i=r.top-o.top-t.clientTop,a=ls(e);for(;vt(a)&&a!==t&&!Gs(a);)n-=a.scrollLeft,i-=a.scrollTop,a=ls(a);return{left:n,top:i}}function E_e(e){let t=0,r=0,o=e;for(;o!=null;){t+=o.offsetLeft,r+=o.offsetTop;let n=o.offsetParent;n!=null&&(t+=n.clientLeft,r+=n.clientTop),o=n}return{left:t,top:r}}function gst(e){let t=Ht(e).getComputedStyle(e),{x:r,y:o}=Lbe(e,t),n=r,i=o,{translate:a}=t;if(a&&a!=="none"){let s=a.split(" ");n+=R_e(s[0],e.offsetWidth),i+=R_e(s[1],e.offsetHeight)}return{x:n,y:i}}function R_e(e,t){if(!e)return 0;let r=parseFloat(e);return Number.isFinite(r)?e.endsWith("%")?r/100*t:r:0}var UO=l(ee(),1);var P_e="data-index";var iwr=vg.startingStyle,awr=vg.endingStyle;var hst={...Vf,...go},O_e=UO.forwardRef(function(t,r){let{className:o,value:n,render:i,keepMounted:a=!1,style:s,...d}=t,{value:c,getTabIdByPanelValue:u,orientation:f,tabActivationDirection:m,registerMountedTabPanel:g}=Xb(),h=Lt(),{ref:b,index:_}=bi(),y=n===c,{mounted:w,transitionStatus:v,setMounted:x}=An(y),S=!w,C=u(n),k={hidden:S,orientation:f,tabActivationDirection:m,transitionStatus:v},E=UO.useRef(null),I=Ce("div",t,{state:k,ref:[r,b,E],props:[{"aria-labelledby":C,hidden:S,id:h,role:"tabpanel",tabIndex:y?0:-1,inert:Ef(!y),[P_e]:_},d],stateAttributesMapping:hst});return mo({open:y,ref:E,onComplete(){y||x(!1)}}),me(()=>{if(!(h==null||S&&!a))return g(n,h)},[S,a,n,h,g]),a||w?I:null});var Lu=l(ee(),1);var YX=l(P(),1),M_e=Lu.forwardRef(function(t,r){let{activateOnFocus:o=!1,className:n,loopFocus:i=!0,render:a,style:s,...d}=t,{orientation:c,setTabMap:u,tabActivationDirection:f}=Xb(),[m,g]=Lu.useState(0),[h,b]=Lu.useState(null),_=Lu.useRef(new Set),y=Lu.useRef(new Set),w=Lu.useRef(null);me(()=>{if(typeof ResizeObserver>"u")return;let E=new ResizeObserver(()=>{_.current.forEach(I=>{I()})});return w.current=E,h&&E.observe(h),y.current.forEach(I=>{E.observe(I)}),()=>{E.disconnect(),w.current=null}},[h]);let v=ve(E=>(_.current.add(E),()=>{_.current.delete(E)})),x=ve(E=>(y.current.add(E),w.current?.observe(E),()=>{y.current.delete(E),w.current?.unobserve(E)})),S={orientation:c,tabActivationDirection:f},C={"aria-orientation":c==="vertical"?"vertical":void 0,role:"tablist"},k=Lu.useMemo(()=>({activateOnFocus:o,registerIndicatorUpdateListener:v,registerTabResizeObserverElement:x,tabsListElement:h}),[o,v,x,h]);return(0,YX.jsx)(GX.Provider,{value:k,children:(0,YX.jsx)($be,{render:a,className:n,style:s,state:S,refs:[r,b],props:[C,d],stateAttributesMapping:Vf,highlightedIndex:m,enableHomeAndEndKeys:!0,loopFocus:i,orientation:c,onHighlightedIndexChange:g,onMapChange:u,disabledIndices:Ur})})});var zl={};or(zl,{Arrow:()=>Q_e,Handle:()=>_T,Popup:()=>X_e,Portal:()=>G_e,Positioner:()=>q_e,Provider:()=>J_e,Root:()=>V_e,Trigger:()=>H_e,Viewport:()=>twe,createHandle:()=>rwe});var pS=l(ee(),1);var WO=l(ee(),1),qX=WO.createContext(void 0);function _c(e){let t=WO.useContext(qX);if(t===void 0&&!e)throw new Error(Je(72));return t}var A_e=l(ee(),1);var N_e={...S1,disabled:e=>e.disabled,instantType:e=>e.instantType,isInstantPhase:e=>e.isInstantPhase,trackCursorAxis:e=>e.trackCursorAxis,disableHoverablePopup:e=>e.disableHoverablePopup,lastOpenChangeReason:e=>e.openChangeReason,closeOnClick:e=>e.closeOnClick,appliedTriggerProps:(e,t)=>t?e.activeTriggerProps:void 0,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin},GO=class extends fs{constructor(t,r,o){let n=new Sf;super(D_e(t,n,r,o),F_e(n),N_e)}setOpen=(t,r)=>{Ope(this,t,r,{extraState:{openChangeReason:r.reason}})};cancelPendingOpen(t){this.state.floatingRootContext.dispatchOpenChange(!1,Ne(pe.triggerPress,t))}};function L_e(){let e=new Sf,t=new R1(Object.freeze(D_e(void 0,e)),Object.freeze(F_e(e)),N_e);return Object.assign(t,{setOpen:Ct,cancelPendingOpen:Ct})}function D_e(e,t,r,o=!1){return{...f9(t,r,o),disabled:!1,instantType:void 0,isInstantPhase:!1,trackCursorAxis:"none",disableHoverablePopup:!1,openChangeReason:null,closeOnClick:!0,closeDelay:0,adaptiveOrigin:void 0,...e}}function F_e(e){return{popupRef:A_e.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerElements:e}}var vT=l(P(),1),V_e=x5(function(t){let{disabled:r=!1,defaultOpen:o=!1,open:n,disableHoverablePopup:i=!1,trackCursorAxis:a="none",actionsRef:s,onOpenChange:d,onOpenChangeComplete:c,handle:u,triggerId:f,defaultTriggerId:m=null,children:g}=t,h=Ipe((R,T)=>new GO({open:o,openProp:n,activeTriggerId:m,triggerIdProp:f},R,T));h.useControlledProp("openProp",n),h.useControlledProp("triggerIdProp",f),h.useContextCallback("onOpenChange",d),h.useContextCallback("onOpenChangeComplete",c);let b=h.useState("open"),_=!r&&b,y=h.useState("activeTriggerId"),w=h.useState("mounted"),v=h.useState("payload");h.useSyncedValues({trackCursorAxis:a,disableHoverablePopup:i,disabled:r}),a9(h,{closeOnActiveTriggerUnmount:!0});let{forceUnmount:x,transitionStatus:S}=s9(_,h),C=h.useState("isInstantPhase"),k=h.useState("instantType"),E=h.useState("lastOpenChangeReason"),I=pS.useRef(null);me(()=>{b&&r&&h.setOpen(!1,Ne(pe.disabled))},[b,r,h]),me(()=>{S==="ending"&&E===pe.none||S!=="ending"&&C?(k!=="delay"&&(I.current=k),h.set("instantType","delay")):I.current!==null&&(h.set("instantType",I.current),I.current=null)},[S,C,E,k,h]),me(()=>{_&&y==null&&h.set("payload",void 0)},[h,y,_]),pS.useImperativeHandle(s,()=>({unmount:x,close:()=>h.setOpen(!1,Ne(pe.imperativeAction))}),[x,h]);let M=_||w||!r&&a!=="none";return(0,vT.jsxs)(qX.Provider,{value:h,children:[u&&(0,vT.jsx)(n9,{handle:u,store:h}),M&&(0,vT.jsx)(bst,{store:h,disabled:r,trackCursorAxis:a}),typeof g=="function"?g({payload:v}):g]})});function bst({store:e,disabled:t,trackCursorAxis:r}){let o=e.useState("floatingRootContext"),n=Eg(o,{enabled:!t,referencePress:()=>e.select("closeOnClick")}),i=nK(o,{enabled:!t&&r!=="none",axis:r==="none"?void 0:r}),a=pS.useMemo(()=>at(i.reference,n.reference),[i.reference,n.reference]);return l9(e,{activeTriggerProps:a,inactiveTriggerProps:a,popupProps:n.floating??ft}),null}var qO=l(ee(),1);var YO=l(ee(),1),KX=YO.createContext(void 0);function B_e(){return YO.useContext(KX)}var z_e="data-base-ui-tooltip-trigger";function j_e(e){let t=Bt(e);return Vt(t)?t:null}var H_e=c9(function(t,r){let{render:o,className:n,style:i,handle:a,payload:s,disabled:d,delay:c,closeOnClick:u=!0,closeDelay:f,id:m,...g}=t,h=_c(!0),_=m9(a)??h;if(!_)throw new Error(Je(82));let y=Lt(m),w=_.useState("isTriggerActive",y),v=_.useState("isOpenedByTrigger",y),x=_.useState("floatingRootContext"),S=qO.useRef(null),C=f??0,{registerTrigger:k,isMountedByThisTrigger:E}=i9(y,S,_,{payload:s,closeOnClick:u,closeDelay:C}),I=B_e(),{activeIdRef:M,delayRef:R,isInstantPhase:T,hasProvider:O}=Hq(x,{open:v}),A=k1(x);_.useSyncedValue("isInstantPhase",T);let D=_.useState("disabled"),V=d??D,H=Er(V),N=_.useState("trackCursorAxis"),L=_.useState("disableHoverablePopup"),z=qO.useRef(!1),j=ur(),F=qO.useRef(void 0);function Y(){return O&&M.current!=null?0:c??I??600}function W(ye){let Te=S.current;if(!Te||!ye)return!1;let te=ds(ye,`[${z_e}]`);return te!==null&&te!==Te&&Ge(Te,te)}function Z(ye){let Te=W(ye);return z.current=Te,Te&&(A.openChangeTimeout.clear(),A.restTimeout.clear(),A.restTimeoutPending=!1,j.clear()),Te}let X=ny(x,{enabled:!V,mouseOnly:!0,move:!1,handleClose:!L&&N!=="both"?ly():null,restMs:Y,delay(){return f==null&&O?{close:ku(R.current,"close")}:{close:C}},triggerElementRef:S,isActiveTrigger:w,isClosing:()=>_.select("transitionStatus")==="ending",shouldOpen(){return!z.current}}),q=k5(x,{enabled:!V}).reference,ce=ye=>{let Te=z.current,te=j_e(ye),ae=Z(te),ue=S.current,re=ue&&te&&Ge(ue,te);if(ae&&_.select("open")&&_.select("lastOpenChangeReason")===pe.triggerHover){_.setOpen(!1,Ne(pe.triggerHover,ye));return}if(Te&&!ae&&re&&!H.current&&!_.select("open")&&ue&&Rd(F.current)){let _e=()=>{!z.current&&!H.current&&!_.select("open")&&_.setOpen(!0,Ne(pe.triggerHover,ye,ue))},xe=Y();xe===0?(j.clear(),_e()):j.start(xe,_e)}},de=_.useState("appliedTriggerProps",E||N!=="none");return Ce("button",t,{state:{open:v},ref:[r,k,S],props:[X,q,de,{onMouseOver(ye){ce(ye.nativeEvent)},onFocus(ye){W(j_e(ye.nativeEvent))&&ye.preventBaseUIHandler()},onMouseLeave(){z.current=!1,j.clear(),F.current=void 0},onPointerEnter(ye){F.current=ye.pointerType},onPointerDown(ye){F.current=ye.pointerType,_.set("closeOnClick",u),u&&!_.select("open")&&_.cancelPendingOpen(ye.nativeEvent)},onClick(ye){u&&!_.select("open")&&_.cancelPendingOpen(ye.nativeEvent)},id:y,[l5]:V?"":void 0,[z_e]:V?void 0:""},g],stateAttributesMapping:bb})});var W_e=l(ee(),1);var KO=l(ee(),1),XX=KO.createContext(void 0);function U_e(){let e=KO.useContext(XX);if(e===void 0)throw new Error(Je(70));return e}var ZX=l(P(),1),G_e=W_e.forwardRef(function(t,r){let{keepMounted:o=!1,...n}=t;return _c().useState("mounted")||o?(0,ZX.jsx)(XX.Provider,{value:o,children:(0,ZX.jsx)(ove,{ref:r,...n})}):null});var ZO=l(ee(),1);var XO=l(ee(),1),QX=XO.createContext(void 0);function fS(){let e=XO.useContext(QX);if(e===void 0)throw new Error(Je(71));return e}var Y_e=l(P(),1),q_e=ZO.forwardRef(function(t,r){let{render:o,className:n,anchor:i,positionMethod:a="absolute",side:s="top",align:d="center",sideOffset:c=0,alignOffset:u=0,collisionBoundary:f="clipping-ancestors",collisionPadding:m=5,arrowPadding:g=5,sticky:h=!1,disableAnchorTracking:b=!1,collisionAvoidance:_=t9,style:y,...w}=t,v=_c(),x=U_e(),S=v.useState("open"),C=v.useState("mounted"),k=v.useState("trackCursorAxis"),E=v.useState("disableHoverablePopup"),I=v.useState("floatingRootContext"),M=v.useState("instantType"),R=v.useState("transitionStatus"),T=v.useState("adaptiveOrigin"),O=Mb({anchor:i,positionMethod:a,floatingRootContext:I,mounted:C,side:s,sideOffset:c,align:d,alignOffset:u,collisionBoundary:f,collisionPadding:m,sticky:h,arrowPadding:g,disableAnchorTracking:b,keepMounted:x,collisionAvoidance:_,adaptiveOrigin:T}),A=ZO.useMemo(()=>({open:S,side:O.side,align:O.align,anchorHidden:O.anchorHidden,instant:k!=="none"?"tracking-cursor":M}),[S,O.side,O.align,O.anchorHidden,k,M]),D=Ab(t,A,{styles:O.positionerStyles,transitionStatus:R,props:w,refs:[r,v.useStateSetter("positionerElement")],hidden:!C,inert:!S||k==="both"||E});return(0,Y_e.jsx)(QX.Provider,{value:O,children:D})});var K_e=l(ee(),1);var X_e=K_e.forwardRef(function(t,r){let{render:o,className:n,style:i,...a}=t,s=_c(),{side:d,align:c}=fS(),u=s.useState("open"),f=s.useState("instantType"),m=s.useState("transitionStatus"),g=s.useState("popupProps"),h=s.useState("floatingRootContext"),b=s.useState("disabled"),_=s.useState("closeDelay");mo({open:u,ref:s.context.popupRef,onComplete(){u&&s.context.onOpenChangeComplete?.(!0)}}),E5(h,{enabled:!b,closeDelay:_});let y=s.useStateSetter("popupElement");return Ce("div",t,{state:{open:u,side:d,align:c,instant:f,transitionStatus:m},ref:[r,s.context.popupRef,y],props:[Eb,g,Of(m),a],stateAttributesMapping:vb})});var Z_e=l(ee(),1);var Q_e=Z_e.forwardRef(function(t,r){let{render:o,className:n,style:i,...a}=t,s=_c(),{arrowRef:d,side:c,align:u,arrowUncentered:f,arrowStyles:m}=fS(),g=s.useState("open"),h=s.useState("instantType");return Ce("div",t,{state:{open:g,side:c,align:u,uncentered:f,instant:h},ref:[r,d],props:[{style:m,"aria-hidden":!0},a],stateAttributesMapping:Aa})});var $_e=l(ee(),1);var $X=l(P(),1),J_e=function(t){let{delay:r,closeDelay:o,timeout:n=400}=t,i=$_e.useMemo(()=>({open:r,close:o}),[r,o]);return(0,$X.jsx)(KX.Provider,{value:r,children:(0,$X.jsx)(jq,{delay:i,timeoutMs:n,children:t.children})})};var ewe=l(ee(),1);var twe=ewe.forwardRef(function(t,r){let{render:o,className:n,style:i,children:a,...s}=t,d=_c(),c=fS(),u=d.useState("instantType"),{children:f,state:m}=tO({store:d,side:c.side,children:a}),g={activationDirection:m.activationDirection,transitioning:m.transitioning,instant:u};return Ce("div",t,{state:g,ref:r,props:[s,{children:f}],stateAttributesMapping:eO})});var _T=class extends v1{constructor(){super(L_e(),"Tooltip")}open(t){this.openByTrigger(t)}close(){this.closePopup()}get isOpen(){return this.attachedStore?.select("open")??!1}};function rwe(){return new _T}function xr(e){return Ce(e.defaultTagName??"div",e,e)}var dwe=l(U(),1);var iwe=l(U(),1),JX="data-wp-hash";function eZ(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&_st(document)),e.__wpStyleRuntime}function vst(e,t){if(!e.head)return!1;for(let r of e.head.querySelectorAll(`style[${JX}]`))if(r.getAttribute(JX)===t)return!0;return!1}function awe(e,t,r){if(!e.head)return;let o=eZ(),n=o.injectedStyles.get(e);if(n||(n=new Set,o.injectedStyles.set(e,n)),n.has(t))return;if(vst(e,t)){n.add(t);return}let i=e.createElement("style");i.setAttribute(JX,t),i.appendChild(e.createTextNode(r)),e.head.appendChild(i),n.add(t)}function _st(e){let t=eZ();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[r,o]of t.styles)awe(e,r,o);return()=>{let r=t.documents.get(e);if(r!==void 0){if(r<=1){t.documents.delete(e);return}t.documents.set(e,r-1)}}}function swe(e,t){let r=eZ();r.styles.set(e,t);for(let o of r.documents.keys())awe(o,e,t)}typeof process>"u",swe("3167e7d116",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._83ed8a8da5dd50ea__text{text-wrap:pretty;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-emphasis,600);--_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-emphasis,600)}._3c78b7fa9b4072dd__heading-xl{--_gcd-heading-font-size:var(--wpds-typography-font-size-xl,20px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-emphasis,600);--_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-emphasis,600);--_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-emphasis,600);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-emphasis,600);--_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-emphasis,600);--_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-emphasis,600);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-default,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-default,400)}.ca1aa3fc2029e958__body-lg{--_gcd-heading-font-size:var(--wpds-typography-font-size-lg,15px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-default,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-default,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-default,400)}._0e8d87a42c1f75fa__body-sm{--_gcd-heading-font-size:var(--wpds-typography-font-size-sm,12px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-default,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 owe={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"};typeof process>"u",swe("abb19c3171","._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);&::placeholder{color:var(--_gcd-input-placeholder-color,var(--wpds-color-foreground-interactive-neutral-weak,#707070))}&: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))}}&:is(textarea,[type=text],[type=password],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){line-height:var(--_gcd-input-line-height,inherit);min-height:var(--_gcd-input-min-height,auto);padding:var(--_gcd-input-padding,0)}}._547d86373d02e108__textarea{box-sizing:var(--_gcd-textarea-box-sizing,border-box);overflow:var(--_gcd-textarea-overflow,auto);resize:var(--_gcd-textarea-resize,block)}._8c15fd0ed9f28ba4__div{outline:var(--_gcd-div-outline,0 solid transparent)}p._43cec3e1eec1066d__p{font-size:var(--_gcd-p-font-size,13px);line-height:var(--_gcd-p-line-height,1.5);margin:var(--_gcd-p-margin,0)}:is(h1,h2,h3,h4,h5,h6).e97669c6d9a38497__heading{color:var(--_gcd-heading-color,var(--wpds-color-foreground-content-neutral,#1e1e1e));font-size:var(--_gcd-heading-font-size,inherit);font-weight:var(--_gcd-heading-font-weight,var(--wpds-typography-font-weight-emphasis,600));margin:var(--_gcd-heading-margin,0)}._2c0831b0499dbd6e__a,._2c0831b0499dbd6e__a:is(:hover,:focus,:active){border-radius:var(--_gcd-a-border-radius,0);box-shadow:var(--_gcd-a-box-shadow,none);color:var(--_gcd-a-color,inherit);outline:var(--_gcd-a-outline,0 solid transparent);transition:var(--_gcd-a-transition,none)}.c59a0ebebd71fa4a__ol{list-style:var(--_gcd-ol-list-style,none);margin:var(--_gcd-ol-margin,0);padding-block:var(--_gcd-ol-padding-block,0);padding-inline:var(--_gcd-ol-padding-inline,0)}._46b5cb0c8e24e8c9__li{margin:var(--_gcd-li-margin,0)}[role=treeitem] span._400bf7ee0c6061a9__span[aria-hidden]{display:var(--_gcd-span-display,inline);font-family:var(--_gcd-span-font-family,inherit);font-size:var(--_gcd-span-font-size,inherit);line-height:var(--_gcd-span-line-height,1);pointer-events:var(--_gcd-span-pointer-events,auto);position:var(--_gcd-span-position,static)}");var nwe={button:"_6defc79820e382c6__button",input:"d2cff2e5dea83bd1__input",textarea:"_547d86373d02e108__textarea",div:"_8c15fd0ed9f28ba4__div",p:"_43cec3e1eec1066d__p",heading:"e97669c6d9a38497__heading",a:"_2c0831b0499dbd6e__a",ol:"c59a0ebebd71fa4a__ol",li:"_46b5cb0c8e24e8c9__li",span:"_400bf7ee0c6061a9__span"},Gt=(0,iwe.forwardRef)(function({variant:t="body-md",render:r,className:o,...n},i){return xr({render:r,defaultTagName:"span",ref:i,props:at(n,{className:K(owe.text,nwe.heading,nwe.p,owe[t],o)})})});var uwe=l(P(),1),tZ="data-wp-hash";function rZ(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&yst(document)),e.__wpStyleRuntime}function wst(e,t){if(!e.head)return!1;for(let r of e.head.querySelectorAll(`style[${tZ}]`))if(r.getAttribute(tZ)===t)return!0;return!1}function cwe(e,t,r){if(!e.head)return;let o=rZ(),n=o.injectedStyles.get(e);if(n||(n=new Set,o.injectedStyles.set(e,n)),n.has(t))return;if(wst(e,t)){n.add(t);return}let i=e.createElement("style");i.setAttribute(tZ,t),i.appendChild(e.createTextNode(r)),e.head.appendChild(i),n.add(t)}function yst(e){let t=rZ();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[r,o]of t.styles)cwe(e,r,o);return()=>{let r=t.documents.get(e);if(r!==void 0){if(r<=1){t.documents.delete(e);return}t.documents.set(e,r-1)}}}function xst(e,t){let r=rZ();r.styles.set(e,t);for(let o of r.documents.keys())cwe(o,e,t)}typeof process>"u",xst("40ea4a6382","@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,#fae5e1);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,#c2f8ca);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 lwe={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"},Md=(0,dwe.forwardRef)(function({intent:t="none",className:r,...o},n){return(0,uwe.jsx)(Gt,{ref:n,className:K(lwe.badge,lwe[`is-${t}-intent`],r),...o,variant:"body-sm"})});var gwe=l(Li(),1),QO=l(U(),1),hwe=l($(),1);var fwe=l(U(),1),nZ=l(P(),1),oZ="data-wp-hash";function iZ(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&Cst(document)),e.__wpStyleRuntime}function Sst(e,t){if(!e.head)return!1;for(let r of e.head.querySelectorAll(`style[${oZ}]`))if(r.getAttribute(oZ)===t)return!0;return!1}function mwe(e,t,r){if(!e.head)return;let o=iZ(),n=o.injectedStyles.get(e);if(n||(n=new Set,o.injectedStyles.set(e,n)),n.has(t))return;if(Sst(e,t)){n.add(t);return}let i=e.createElement("style");i.setAttribute(oZ,t),i.appendChild(e.createTextNode(r)),e.head.appendChild(i),n.add(t)}function Cst(e){let t=iZ();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[r,o]of t.styles)mwe(e,r,o);return()=>{let r=t.documents.get(e);if(r!==void 0){if(r<=1){t.documents.delete(e);return}t.documents.set(e,r-1)}}}function kst(e,t){let r=iZ();r.styles.set(e,t);for(let o of r.documents.keys())mwe(o,e,t)}typeof process>"u",kst("dbe7fd6094","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.ab4d64c07c0ba587__spinner{background-color:transparent;color:var(--wpds-color-foreground-content-neutral-weak,#707070);display:inline-block;height:var(--wpds-dimension-size-2xs,16px);opacity:1;overflow:visible;position:relative;width:var(--wpds-dimension-size-2xs,16px)}.a7654e10245bb7d2__indicator{fill:transparent;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;transform-origin:50% 50%;@media (forced-colors:active){stroke:CanvasText}animation:_02322d973909703c__spinner-spin 1.4s linear infinite both}@keyframes _02322d973909703c__spinner-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}}}");var pwe={spinner:"ab4d64c07c0ba587__spinner",indicator:"a7654e10245bb7d2__indicator","spinner-spin":"_02322d973909703c__spinner-spin"},Fu=(0,fwe.forwardRef)(function({className:t,color:r,style:o,...n},i){return(0,nZ.jsx)("svg",{className:K(pwe.spinner,t),style:r===void 0?o:{...o,color:r},viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",role:"presentation",focusable:"false",...n,ref:i,children:(0,nZ.jsx)("path",{className:pwe.indicator,d:"m 12 0 a 12 12 0 0 1 0 24"})})});var JO=l(P(),1),aZ="data-wp-hash";function sZ(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&Rst(document)),e.__wpStyleRuntime}function Est(e,t){if(!e.head)return!1;for(let r of e.head.querySelectorAll(`style[${aZ}]`))if(r.getAttribute(aZ)===t)return!0;return!1}function bwe(e,t,r){if(!e.head)return;let o=sZ(),n=o.injectedStyles.get(e);if(n||(n=new Set,o.injectedStyles.set(e,n)),n.has(t))return;if(Est(e,t)){n.add(t);return}let i=e.createElement("style");i.setAttribute(aZ,t),i.appendChild(e.createTextNode(r)),e.head.appendChild(i),n.add(t)}function Rst(e){let t=sZ();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[r,o]of t.styles)bwe(e,r,o);return()=>{let r=t.documents.get(e);if(r!==void 0){if(r<=1){t.documents.delete(e);return}t.documents.set(e,r-1)}}}function $O(e,t){let r=sZ();r.styles.set(e,t);for(let o of r.documents.keys())bwe(o,e,t)}typeof process>"u",$O("1052986a11",'@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-emphasis,600);--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:border-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}}}._908205475f9f2a92__is-small{--wp-ui-button-padding-block:0px;--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}>:not(._1322fe375ff021a3__spinner){opacity:0}}}@layer compositions{._1322fe375ff021a3__spinner{color:var(--wp-ui-button-foreground-color);height:var(--wp-ui-button-font-size);inset:0;margin:auto;pointer-events:none;position:absolute;width:var(--wp-ui-button-font-size);>*{stroke-width:2.75}@media (prefers-reduced-motion){>*{animation:none}}@media (forced-colors:active){>*{stroke:ButtonText}}}}}');var mS={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",spinner:"_1322fe375ff021a3__spinner"};typeof process>"u",$O("10f3806643","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}");var Tst={"box-sizing":"_336cd3e4e743482f__box-sizing"};typeof process>"u",$O("7c3267f794","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{.af79fb116edb0dd7__outset-ring--focus:focus,.dfcfdc28396e5d98__outset-ring--focus-visible:focus-visible,.e5cd9ee879f6403a__outset-ring--focus-within:focus-within{--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--focus-color,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(--focus-color,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(--focus-color,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))}._3c9f5ee9fc9c136d__outset-ring--focus-within-except-active:focus-within,.abc777e9713fa711__outset-ring--focus-except-active:focus{outline:none}._3c9f5ee9fc9c136d__outset-ring--focus-within-except-active:focus-within:not(:has(:active)),.abc777e9713fa711__outset-ring--focus-except-active:focus:not(:active){--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--focus-color,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(--focus-color,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(--focus-color,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))}}}");var Pst={"outset-ring--focus":"af79fb116edb0dd7__outset-ring--focus","outset-ring--focus-visible":"dfcfdc28396e5d98__outset-ring--focus-visible","outset-ring--focus-within":"e5cd9ee879f6403a__outset-ring--focus-within","outset-ring--focus-except-active":"abc777e9713fa711__outset-ring--focus-except-active","outset-ring--focus-within-except-active":"_3c9f5ee9fc9c136d__outset-ring--focus-within-except-active"};typeof process>"u",$O("abb19c3171","._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);&::placeholder{color:var(--_gcd-input-placeholder-color,var(--wpds-color-foreground-interactive-neutral-weak,#707070))}&: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))}}&:is(textarea,[type=text],[type=password],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){line-height:var(--_gcd-input-line-height,inherit);min-height:var(--_gcd-input-min-height,auto);padding:var(--_gcd-input-padding,0)}}._547d86373d02e108__textarea{box-sizing:var(--_gcd-textarea-box-sizing,border-box);overflow:var(--_gcd-textarea-overflow,auto);resize:var(--_gcd-textarea-resize,block)}._8c15fd0ed9f28ba4__div{outline:var(--_gcd-div-outline,0 solid transparent)}p._43cec3e1eec1066d__p{font-size:var(--_gcd-p-font-size,13px);line-height:var(--_gcd-p-line-height,1.5);margin:var(--_gcd-p-margin,0)}:is(h1,h2,h3,h4,h5,h6).e97669c6d9a38497__heading{color:var(--_gcd-heading-color,var(--wpds-color-foreground-content-neutral,#1e1e1e));font-size:var(--_gcd-heading-font-size,inherit);font-weight:var(--_gcd-heading-font-weight,var(--wpds-typography-font-weight-emphasis,600));margin:var(--_gcd-heading-margin,0)}._2c0831b0499dbd6e__a,._2c0831b0499dbd6e__a:is(:hover,:focus,:active){border-radius:var(--_gcd-a-border-radius,0);box-shadow:var(--_gcd-a-box-shadow,none);color:var(--_gcd-a-color,inherit);outline:var(--_gcd-a-outline,0 solid transparent);transition:var(--_gcd-a-transition,none)}.c59a0ebebd71fa4a__ol{list-style:var(--_gcd-ol-list-style,none);margin:var(--_gcd-ol-margin,0);padding-block:var(--_gcd-ol-padding-block,0);padding-inline:var(--_gcd-ol-padding-inline,0)}._46b5cb0c8e24e8c9__li{margin:var(--_gcd-li-margin,0)}[role=treeitem] span._400bf7ee0c6061a9__span[aria-hidden]{display:var(--_gcd-span-display,inline);font-family:var(--_gcd-span-font-family,inherit);font-size:var(--_gcd-span-font-size,inherit);line-height:var(--_gcd-span-line-height,1);pointer-events:var(--_gcd-span-pointer-events,auto);position:var(--_gcd-span-position,static)}");var Ist={button:"_6defc79820e382c6__button",input:"d2cff2e5dea83bd1__input",textarea:"_547d86373d02e108__textarea",div:"_8c15fd0ed9f28ba4__div",p:"_43cec3e1eec1066d__p",heading:"e97669c6d9a38497__heading",a:"_2c0831b0499dbd6e__a",ol:"c59a0ebebd71fa4a__ol",li:"_46b5cb0c8e24e8c9__li",span:"_400bf7ee0c6061a9__span"},vwe=(0,QO.forwardRef)(function({tone:t="brand",variant:r="solid",size:o="default",className:n,focusableWhenDisabled:i=!0,disabled:a,loading:s,loadingAnnouncement:d=(0,hwe.__)("Loading"),children:c,...u},f){let m=K(Ist.button,Tst["box-sizing"],Pst["outset-ring--focus-except-active"],r!=="unstyled"&&mS.button,mS[`is-${t}`],mS[`is-${r}`],mS[`is-${o}`],s&&mS["is-loading"],n);return(0,QO.useEffect)(()=>{s&&d&&(0,gwe.speak)(d)},[s,d]),(0,JO.jsxs)(qK,{ref:f,className:m,focusableWhenDisabled:i,disabled:a??s,...u,children:[c,s&&r!=="unstyled"&&(0,JO.jsx)(Fu,{className:mS.spinner})]})});var _we=l(U(),1);var ywe=l(P(),1),lZ="data-wp-hash";function dZ(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&Mst(document)),e.__wpStyleRuntime}function Ost(e,t){if(!e.head)return!1;for(let r of e.head.querySelectorAll(`style[${lZ}]`))if(r.getAttribute(lZ)===t)return!0;return!1}function wwe(e,t,r){if(!e.head)return;let o=dZ(),n=o.injectedStyles.get(e);if(n||(n=new Set,o.injectedStyles.set(e,n)),n.has(t))return;if(Ost(e,t)){n.add(t);return}let i=e.createElement("style");i.setAttribute(lZ,t),i.appendChild(e.createTextNode(r)),e.head.appendChild(i),n.add(t)}function Mst(e){let t=dZ();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[r,o]of t.styles)wwe(e,r,o);return()=>{let r=t.documents.get(e);if(r!==void 0){if(r<=1){t.documents.delete(e);return}t.documents.set(e,r-1)}}}function Ast(e,t){let r=dZ();r.styles.set(e,t);for(let o of r.documents.keys())wwe(o,e,t)}typeof process>"u",Ast("1052986a11",'@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-emphasis,600);--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:border-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}}}._908205475f9f2a92__is-small{--wp-ui-button-padding-block:0px;--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(--wpd
Showing 512.00 KB of 2.37 MB. Use Edit/Download for full content.

Directory Contents

Dirs: 3 × Files: 130
Name Size Perms Modified Actions
- drwxr-xr-x 2026-10-28 14:44:54
Edit Download
- drwxr-xr-x 2026-10-28 14:44:54
Edit Download
vendor DIR
- drwxr-xr-x 2026-10-28 14:44:54
Edit Download
5.56 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
2.55 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
15.74 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
5.84 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
20.32 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
7.68 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
9.79 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
5.57 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
115 B lrw-r--r-- 2026-10-28 14:44:54
Edit Download
142 B lrw-r--r-- 2026-10-28 14:44:54
Edit Download
2.35 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
1.21 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
527.90 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
222.35 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
5.51 MB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
2.34 MB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
3.86 MB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
1.72 MB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
6.68 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
2.54 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
50.59 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
10.48 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
295.67 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
147.18 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
148.74 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
62.35 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
3.47 MB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
1.71 MB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
83.89 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
29.10 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
26.67 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
11.00 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
709.27 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
245.94 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
646.11 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
240.20 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
4.20 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
1.84 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
87.41 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
26.96 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
177.00 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
141.37 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
3.11 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
1.35 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
1.53 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
881 B lrw-r--r-- 2026-10-28 14:44:54
Edit Download
36.56 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
13.68 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
458.55 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
156.13 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
3.50 MB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
1.59 MB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
713.04 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
265.15 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
5.27 MB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
2.37 MB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
28.67 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
12.34 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
2.36 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
1.13 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
858.37 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
397.41 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
12.01 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
4.99 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
1.71 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
950 B lrw-r--r-- 2026-10-28 14:44:54
Edit Download
15.73 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
5.66 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
2.77 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
1.17 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
10.69 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
3.76 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
9.48 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
3.25 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
24.94 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
10.79 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
2.48 MB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
1.15 MB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
516.75 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
214.01 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
4.32 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
1.71 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
107.90 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
45.50 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
18.22 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
7.40 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
18.14 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
5.73 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
21.45 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
7.96 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
5.20 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
2.04 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
10.23 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
3.42 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
4.85 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
2.96 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
3.97 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
1.59 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
25.86 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
9.72 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
5.21 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
2.15 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
108.74 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
43.36 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
36.39 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
14.21 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
12.32 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
4.51 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
8.08 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
3.35 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
19.83 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
7.33 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
161.16 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
70.73 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
6.18 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
1.68 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
5.36 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
1.77 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
119.85 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
50.53 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
20.33 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
8.97 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
7.15 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
2.33 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
1.58 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
816 B lrw-r--r-- 2026-10-28 14:44:54
Edit Download
694.87 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
315.80 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
7.00 KB lrw-r--r-- 2026-10-28 14:44:54
Edit Download
2.51 KB lrw-r--r-- 2026-10-28 14:44:54
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