PageSourceSearch

https://hadashi-movie.com/_next/static/chunks/15m.hxekhhx91.js?dpl=dpl_CC9aFU2353HPgE7DXrjhfCJJcPEy

js hadashi-movie.com collected 2026-10-05 10:30:10 UTC 128,494 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,755838,(e,t,r)=>{"use strict";var n=e.r(271645),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=n.useState,a=n.useEffect,s=n.useLayoutEffect,l=n.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!o(e,r)}catch(e){return!0}}var c="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=i({inst:{value:r,getSnapshot:t}}),o=n[0].inst,c=n[1];return s(function(){o.value=r,o.getSnapshot=t,u(o)&&c({inst:o})},[e,r,t]),a(function(){return u(o)&&c({inst:o}),e(function(){u(o)&&c({inst:o})})},[e]),l(r),r};r.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:c},802239,(e,t,r)=>{"use strict";t.exports=e.r(755838)},752822,(e,t,r)=>{"use strict";var n=e.r(271645),o=e.r(802239),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=o.useSyncExternalStore,s=n.useRef,l=n.useEffect,u=n.useMemo,c=n.useDebugValue;r.useSyncExternalStoreWithSelector=function(e,t,r,n,o){var d=s(null);if(null===d.current){var p={hasValue:!1,value:null};d.current=p}else p=d.current;var f=a(e,(d=u(function(){function e(e){if(!l){if(l=!0,a=e,e=n(e),void 0!==o&&p.hasValue){var t=p.value;if(o(t,e))return s=t}return s=e}if(t=s,i(a,e))return t;var r=n(e);return void 0!==o&&o(t,r)?(a=e,t):(a=e,s=r)}var a,s,l=!1,u=void 0===r?null:r;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]},[t,r,n,o]))[0],d[1]);return l(function(){p.hasValue=!0,p.value=f},[f]),c(f),f}},430224,(e,t,r)=>{"use strict";t.exports=e.r(752822)},494499,e=>{"use strict";e.i(247167);var t=e.i(271645),r=e.i(174080),n=e.i(802239),o=e.i(843476),i=e.i(10552);let{getOwnPropertyNames:a,getOwnPropertySymbols:s}=Object,{hasOwnProperty:l}=Object.prototype;function u(e,t){return function(r,n,o){return e(r,n,o)&&t(r,n,o)}}function c(e){return function(t,r,n){if(!t||!r||"object"!=typeof t||"object"!=typeof r)return e(t,r,n);let{cache:o}=n,i=o.get(t),a=o.get(r);if(i&&a)return i===r&&a===t;o.set(t,r),o.set(r,t);let s=e(t,r,n);return o.delete(t),o.delete(r),s}}function d(e){return a(e).concat(s(e))}let p=Object.hasOwn||((e,t)=>l.call(e,t));function f(e,t){return e===t||!e&&!t&&e!=e&&t!=t}let{getOwnPropertyDescriptor:h,keys:m}=Object;function y(e,t){return e.byteLength===t.byteLength&&P(new Uint8Array(e),new Uint8Array(t))}function v(e,t,r){let n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;return!0}function g(e,t){return e.byteLength===t.byteLength&&P(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}function _(e,t){return f(e.getTime(),t.getTime())}function b(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function x(e,t){return e===t}function w(e,t,r){let n,o,i=e.size;if(i!==t.size)return!1;if(!i)return!0;let a=Array(i),s=e.entries(),l=0;for(;(n=s.next())&&!n.done;){let i=t.entries(),s=!1,u=0;for(;(o=i.next())&&!o.done;){if(a[u]){u++;continue}let i=n.value,c=o.value;if(r.equals(i[0],c[0],l,u,e,t,r)&&r.equals(i[1],c[1],i[0],c[0],e,t,r)){s=a[u]=!0;break}u++}if(!s)return!1;l++}return!0}function E(e,t,r){let n=m(e),o=n.length;if(m(t).length!==o)return!1;for(;o-- >0;)if(!M(e,t,r,n[o]))return!1;return!0}function S(e,t,r){let n,o,i,a=d(e),s=a.length;if(d(t).length!==s)return!1;for(;s-- >0;)if(!M(e,t,r,n=a[s])||(o=h(e,n),i=h(t,n),(o||i)&&(!o||!i||o.configurable!==i.configurable||o.enumerable!==i.enumerable||o.writable!==i.writable)))return!1;return!0}function k(e,t){return f(e.valueOf(),t.valueOf())}function j(e,t){return e.source===t.source&&e.flags===t.flags}function C(e,t,r){let n,o,i=e.size;if(i!==t.size)return!1;if(!i)return!0;let a=Array(i),s=e.values();for(;(n=s.next())&&!n.done;){let i=t.values(),s=!1,l=0;for(;(o=i.next())&&!o.done;){if(!a[l]&&r.equals(n.value,o.value,n.value,o.value,e,t,r)){s=a[l]=!0;break}l++}if(!s)return!1}return!0}function P(e,t){let r=e.byteLength;if(t.byteLength!==r||e.byteOffset!==t.byteOffset)return!1;for(;r-- >0;)if(e[r]!==t[r])return!1;return!0}function O(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function M(e,t,r,n){return("_owner"===n||"__o"===n||"__v"===n)&&(!!e.$$typeof||!!t.$$typeof)||p(t,n)&&r.equals(e[n],t[n],n,n,e,t,r)}let R={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array
1]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},V=Object.prototype.toString,A=N();function N(e={}){let{circular:t=!1,createInternalComparator:r,createState:n,strict:o=!1}=e,i=function({areArrayBuffersEqual:e,areArraysEqual:t,areDataViewsEqual:r,areDatesEqual:n,areErrorsEqual:o,areFunctionsEqual:i,areMapsEqual:a,areNumbersEqual:s,areObjectsEqual:l,arePrimitiveWrappersEqual:u,areRegExpsEqual:c,areSetsEqual:d,areTypedArraysEqual:p,areUrlsEqual:f,unknownTagComparators:h}){return function(m,y,v){if(m===y)return!0;if(null==m||null==y)return!1;let g=typeof m;if(g!==typeof y)return!1;if("object"!==g)return"number"===g?s(m,y,v):"function"===g&&i(m,y,v);let _=m.constructor;if(_!==y.constructor)return!1;if(_===Object)return l(m,y,v);if(Array.isArray(m))return t(m,y,v);if(_===Date)return n(m,y,v);if(_===RegExp)return c(m,y,v);if(_===Map)return a(m,y,v);if(_===Set)return d(m,y,v);let b=V.call(m);if("[object Date]"===b)return n(m,y,v);if("[object RegExp]"===b)return c(m,y,v);if("[object Map]"===b)return a(m,y,v);if("[object Set]"===b)return d(m,y,v);if("[object Object]"===b)return"function"!=typeof m.then&&"function"!=typeof y.then&&l(m,y,v);if("[object URL]"===b)return f(m,y,v);if("[object Error]"===b)return o(m,y,v);if("[object Arguments]"===b)return l(m,y,v);if(R[b])return p(m,y,v);if("[object ArrayBuffer]"===b)return e(m,y,v);if("[object DataView]"===b)return r(m,y,v);if("[object Boolean]"===b||"[object Number]"===b||"[object String]"===b)return u(m,y,v);if(h){let e=h[b];if(!e){let t=null!=m?m[Symbol.toStringTag]:void 0;t&&(e=h[t])}if(e)return e(m,y,v)}return!1}}(function({circular:e,createCustomConfig:t,strict:r}){let n={areArrayBuffersEqual:y,areArraysEqual:r?S:v,areDataViewsEqual:g,areDatesEqual:_,areErrorsEqual:b,areFunctionsEqual:x,areMapsEqual:r?u(w,S):w,areNumbersEqual:f,areObjectsEqual:r?S:E,arePrimitiveWrappersEqual:k,areRegExpsEqual:j,areSetsEqual:r?u(C,S):C,areTypedArraysEqual:r?u(P,S):P,areUrlsEqual:O,unknownTagComparators:void 0};if(t&&(n=Object.assign({},n,t(n))),e){let e=c(n.areArraysEqual),t=c(n.areMapsEqual),r=c(n.areObjectsEqual),o=c(n.areSetsEqual);n=Object.assign({},n,{areArraysEqual:e,areMapsEqual:t,areObjectsEqual:r,areSetsEqual:o})}return n}(e)),a=r?r(i):function(e,t,r,n,o,a,s){return i(e,t,s)};return function({circular:e,comparator:t,createState:r,equals:n,strict:o}){if(r)return function(i,a){let{cache:s=e?new WeakMap:void 0,meta:l}=r();return t(i,a,{cache:s,equals:n,meta:l,strict:o})};if(e)return function(e,r){return t(e,r,{cache:new WeakMap,equals:n,meta:void 0,strict:o})};let i={cache:void 0,equals:n,meta:void 0,strict:o};return function(e,r){return t(e,r,i)}}({circular:t,comparator:i,createState:n,equals:a,strict:o})}N({strict:!0}),N({circular:!0}),N({circular:!0,strict:!0}),N({createInternalComparator:()=>f}),N({strict:!0,createInternalComparator:()=>f}),N({circular:!0,createInternalComparator:()=>f}),N({circular:!0,createInternalComparator:()=>f,strict:!0});var L=e.i(430224),z=({contentComponent:e})=>{let t=(0,n.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getServerSnapshot);return(0,o.jsx)(o.Fragment,{children:Object.values(t)})},T=class extends t.default.Component{constructor(e){super(e),this.editorContentRef=t.default.createRef()}componentDidMount(){this.init()}componentDidUpdate(){this.init()}init(){var e;let t=this.props.editor;if(t&&!t.isDestroyed&&(null==(e=t.view.dom)?void 0:e.parentNode)){let e,n,o,i;if(t.contentComponent)return;let a=this.editorContentRef.current;a.append(...t.view.dom.parentNode.childNodes),t.setOptions({element:a}),e=new Set,n={},o=!1,i=()=>{!o&&e.size&&(o=!0,queueMicrotask(()=>{o=!1,e.forEach(e=>e())}))},t.contentComponent={subscribe:t=>(e.add(t),()=>{e.delete(t)}),getSnapshot:()=>n,getServerSnapshot:()=>n,setRenderer(e,t){n={...n,[e]:r.default.createPortal(t.reactElement,t.element,e)},i()},removeRenderer(e){let t={...n};delete t[e],n=t,i()}},t.createNodeViews(),t.isEditorContentInitialized=!0,this.forceUpdate()}}componentWillUnmount(){var e;let t=this.props.editor;if(t){t.isEditorContentInitialized=!1,t.isDestroyed||t.view.setProps({nodeViews:{}}),t.contentComponent=null;try{if(!(null==(e=t.view.dom)?void 0:e.parentNode))return;let r=document.createElement("div");r.append(...t.view.dom.parentNode.childNodes),t.setOptions({element:r})}catch{}}}render(){let{editor:e,innerRef:t,...r}=this.props;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{ref:((...e)=>t=>
1{e.forEach(e=>{"function"==typeof e?e(t):e&&(e.current=t)})})(t,this.editorContentRef),...r}),(null==e?void 0:e.contentComponent)&&(0,o.jsx)(z,{contentComponent:e.contentComponent})]})}},I=(0,t.forwardRef)((e,r)=>{let n=t.default.useMemo(()=>Math.floor(0xffffffff*Math.random()).toString(),[e.editor]);return t.default.createElement(T,{key:n,innerRef:r,...e})}),D=t.default.memo(I),q="u">typeof window?t.useLayoutEffect:t.useEffect,F=class{constructor(e){this.transactionNumber=0,this.lastTransactionNumber=0,this.subscribers=new Set,this.editor=e,this.lastSnapshot={editor:e,transactionNumber:0},this.getSnapshot=this.getSnapshot.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.watch=this.watch.bind(this),this.subscribe=this.subscribe.bind(this)}getSnapshot(){return this.transactionNumber===this.lastTransactionNumber||(this.lastTransactionNumber=this.transactionNumber,this.lastSnapshot={editor:this.editor,transactionNumber:this.transactionNumber}),this.lastSnapshot}getServerSnapshot(){return{editor:null,transactionNumber:0}}subscribe(e){return this.subscribers.add(e),()=>{this.subscribers.delete(e)}}watch(e){if(this.editor=e,this.editor){let e=()=>{this.transactionNumber+=1,this.subscribers.forEach(e=>e())},t=this.editor;return t.on("transaction",e),()=>{t.off("transaction",e)}}}};function H(e){var r;let[n]=(0,t.useState)(()=>new F(e.editor)),o=(0,L.useSyncExternalStoreWithSelector)(n.subscribe,n.getSnapshot,n.getServerSnapshot,e.selector,null!=(r=e.equalityFn)?r:A);return q(()=>n.watch(e.editor),[e.editor,n]),(0,t.useDebugValue)(o),o}var W="u"<typeof window,B=W||!!("u">typeof window&&window.next),$=class e{constructor(e){this.editor=null,this.subscriptions=new Set,this.isComponentMounted=!1,this.previousDeps=null,this.instanceId="",this.options=e,this.subscriptions=new Set,this.setEditor(this.getInitialEditor()),this.scheduleDestroy(),this.getEditor=this.getEditor.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.subscribe=this.subscribe.bind(this),this.refreshEditorInstance=this.refreshEditorInstance.bind(this),this.scheduleDestroy=this.scheduleDestroy.bind(this),this.onRender=this.onRender.bind(this),this.createEditor=this.createEditor.bind(this)}setEditor(e){this.editor=e,this.instanceId=Math.random().toString(36).slice(2,9),this.subscriptions.forEach(e=>e())}getInitialEditor(){let e=this.options.current.immediatelyRender,t=null==e||e;return W?t=!1:B&&void 0===e&&(t=!1),t?this.createEditor():null}createEditor(){let e={...this.options.current,onBeforeCreate:(...e)=>{var t,r;return null==(r=(t=this.options.current).onBeforeCreate)?void 0:r.call(t,...e)},onBlur:(...e)=>{var t,r;return null==(r=(t=this.options.current).onBlur)?void 0:r.call(t,...e)},onCreate:(...e)=>{var t,r;return null==(r=(t=this.options.current).onCreate)?void 0:r.call(t,...e)},onDestroy:(...e)=>{var t,r;return null==(r=(t=this.options.current).onDestroy)?void 0:r.call(t,...e)},onFocus:(...e)=>{var t,r;return null==(r=(t=this.options.current).onFocus)?void 0:r.call(t,...e)},onSelectionUpdate:(...e)=>{var t,r;return null==(r=(t=this.options.current).onSelectionUpdate)?void 0:r.call(t,...e)},onTransaction:(...e)=>{var t,r;return null==(r=(t=this.options.current).onTransaction)?void 0:r.call(t,...e)},onUpdate:(...e)=>{var t,r;return null==(r=(t=this.options.current).onUpdate)?void 0:r.call(t,...e)},onContentError:(...e)=>{var t,r;return null==(r=(t=this.options.current).onContentError)?void 0:r.call(t,...e)},onDrop:(...e)=>{var t,r;return null==(r=(t=this.options.current).onDrop)?void 0:r.call(t,...e)},onPaste:(...e)=>{var t,r;return null==(r=(t=this.options.current).onPaste)?void 0:r.call(t,...e)},onDelete:(...e)=>{var t,r;return null==(r=(t=this.options.current).onDelete)?void 0:r.call(t,...e)},onMount:(...e)=>{var t,r;return null==(r=(t=this.options.current).onMount)?void 0:r.call(t,...e)},onUnmount:(...e)=>{var t,r;return null==(r=(t=this.options.current).onUnmount)?void 0:r.call(t,...e)}};return new i.Editor(e)}getEditor(){return this.editor}getServerSnapshot(){return null}subscribe(e){return this.subscriptions.add(e),()=>{this.subscriptions.delete(e)}}static compareOptions(e,t){return Object.keys(e).every(r=>!!["onCreate","onBeforeCreate","onDestroy","onUpdate","onTransaction","onFocus","onBlur","onSelectionUpdate","onContentError","onDrop","onPaste"].includes(r)||("extensions"===r&&e.extensions&&t.extensions?e.extensions.length===t.extensions.length&&e.extensions.every((e,r)=>{var n;return e===(null==(n=t.extensions)?void 0:n[r])}):e[r]===t[r]))}onRender(t){return()=>(this.isComponentMounted=!0,clearTimeout(this.scheduledDestructionTimeout),this.editor&&!this.editor.isDestroyed&&0===t.length?e.compareOptions(this.options.current,this.editor.options)||this.editor.setOptions({...this.options.current,editable:this.editor.isEditable}):this.refreshEditorInstance(t),()=>{this.isComponentMounted=!1,this.scheduleDestroy()})}refreshEditorInstance(e){if(this.editor&&!this.editor.isDestroyed){
1if(null===this.previousDeps){this.previousDeps=e;return}if(this.previousDeps.length===e.length&&this.previousDeps.every((t,r)=>t===e[r]))return}this.editor&&!this.editor.isDestroyed&&this.editor.destroy(),this.setEditor(this.createEditor()),this.previousDeps=e}scheduleDestroy(){let e=this.instanceId,t=this.editor;this.scheduledDestructionTimeout=setTimeout(()=>{if(this.isComponentMounted&&this.instanceId===e){t&&t.setOptions(this.options.current);return}t&&!t.isDestroyed&&(t.destroy(),this.instanceId===e&&this.setEditor(null))},1)}},U=(0,t.createContext)({editor:null});U.Consumer;var Z=(0,t.createContext)({onDragStart:()=>{},nodeViewContentChildren:void 0,nodeViewContentRef:()=>{}});t.default.forwardRef((e,r)=>{let{onDragStart:n}=(0,t.useContext)(Z),i=e.as||"div";return(0,o.jsx)(i,{...e,ref:r,"data-node-view-wrapper":"",onDragStart:n,style:{whiteSpace:"normal",...e.style}})}),t.default.createContext({markViewContentRef:()=>{}}),i.MarkView,i.NodeView;var K=(0,t.createContext)({get editor(){throw Error("useTiptap must be used within a <Tiptap> provider")}});function X({children:e,...r}){let n="editor"in r?r.editor:r.instance;if(!n)throw Error("Tiptap: An editor instance is required. Pass a non-null `editor` prop.");let i=(0,t.useMemo)(()=>({editor:n}),[n]),a=(0,t.useMemo)(()=>({editor:n}),[n]);return(0,o.jsx)(U.Provider,{value:a,children:(0,o.jsx)(K.Provider,{value:i,children:e})})}function Y({...e}){let{editor:r}=(0,t.useContext)(K);return(0,o.jsx)(D,{editor:r,...e})}K.displayName="TiptapContext",X.displayName="Tiptap",Y.displayName="Tiptap.Content",Object.assign(X,{Content:Y}),e.s(["EditorContent",0,D,"useEditor",0,function(e={},r=[]){let o=(0,t.useRef)(e);o.current=e;let[i]=(0,t.useState)(()=>new $(o)),a=(0,n.useSyncExternalStore)(i.subscribe,i.getEditor,i.getServerSnapshot);return(0,t.useDebugValue)(a),(0,t.useEffect)(i.onRender(r)),H({editor:a,selector:({transactionNumber:t})=>!1===e.shouldRerenderOnTransaction||void 0===e.shouldRerenderOnTransaction?null:e.immediatelyRender&&0===t?0:t+1}),a},"useEditorState",0,H],494499)},172609,(e,t,r)=>{function n(e){return e&&e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function o(e){return e}function i(e,t){let r=(t=t||{}).delimiter||".",i=t.maxDepth,a=t.transformKey||o,s={};return!function e(o,l,u){u=u||1,Object.keys(o).forEach(function(c){let d=o[c],p=t.safe&&Array.isArray(d),f=Object.prototype.toString.call(d),h=n(d),m=l?l+r+a(c):a(c);if(!p&&!h&&("[object Object]"===f||"[object Array]"===f)&&Object.keys(d).length&&(!t.maxDepth||u<i))return e(d,m,u+1);s[m]=d})}(e),s}t.exports=i,i.flatten=i,i.unflatten=function e(t,r){let a=(r=r||{}).delimiter||".",s=r.overwrite||!1,l=r.transformKey||o,u={};if(n(t)||"[object Object]"!==Object.prototype.toString.call(t))return t;function c(e){let t=Number(e);return isNaN(t)||-1!==e.indexOf(".")||r.object?e:t}return Object.keys(t=Object.keys(t).reduce(function(e,n){var o,s;let l,u=Object.prototype.toString.call(t[n]);return("[object Object]"===u||"[object Array]"===u)&&(s=t[n],l=Object.prototype.toString.call(s),s&&("[object Array]"===l?s.length:"[object Object]"===l?Object.keys(s).length:!void 0))?Object.keys(o=i(t[n],r)).reduce(function(e,t){return e[n+a+t]=o[t],e},e):(e[n]=t[n],e)},{})).forEach(function(n){let o=n.split(a).map(l),i=c(o.shift()),d=c(o[0]),p=u;for(;void 0!==d;){if("__proto__"===i)return;let e=Object.prototype.toString.call(p[i]),t="[object Object]"===e||"[object Array]"===e;if(!s&&!t&&void 0!==p[i])return;(!s||t)&&(s||null!=p[i])||(p[i]="number"!=typeof d||r.object?{}:[]),p=p[i],o.length>0&&(i=c(o.shift()),d=c(o[0]))}p[i]=e(t[n],r)}),u}},616660,362812,614592,481697,724864,408155,768834,579473,e=>{"use strict";let t,r,n;e.i(247167);var o,i,a,s,l,u,c,d,p=e.i(296568),f=e.i(172609);let h="u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),m=new Uint8Array(16),y=[];for(let e=0;e<256;++e)y.push((e+256).toString(16).slice(1));let v=function(e,r,n){if(h&&!r&&!e)return h();let o=(e=e||{}).random||(e.rng||function(){if(!t&&!(t="u">typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return t(m)})();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,r){n=n||0;for(let e=0;e<16;++e)r[n+e]=o[e];return r}return function(e,t=0){return y[e[t+0]]+y[e[t+1]]+y[e[t+2]]+y[e[t+3]]+"-"+y[e[t+4]]+y[e[t+5]]+"-"+y[e[t+6]]+y[e[t+7]]+"-"+y[e[t+8]]+y[e[t+9]]+"-"+y[e[t+10]]+y[e[t+11]]+y[e[t+12]]+y[e[t+13]]+y[e[t+14]]+y[e[t+15]]}(o)};(0,p.init_react_import)(),(0,p.init_react_import)(),(0,p.init_react_import)();var g=(e,t)=>Object.keys(t).reduce((e,r)=>"slot"===t[r].type?(0,p.__spreadValues)({[r]:[]},e):e,e),_=e=>!!e&&"function"==typeof e.then,b=e=>e.reduce((e,t)=>
1(0,p.__spreadValues)((0,p.__spreadValues)({},e),t),{}),x=({value:e,fields:t,mappers:r,propKey:n="",propPath:o="",id:i="",config:a,recurseSlots:s=!1})=>{var l,u,c;let d=null==(l=t[n])?void 0:l.type,f=r[d];if(f&&"slot"===d){let l=e||[],u=s?l.map(e=>{var t;let n=a.components[e.type];if(!n)throw Error(`Could not find component config for ${e.type}`);let o=null!=(t=n.fields)?t:{};return x({value:(0,p.__spreadProps)((0,p.__spreadValues)({},e),{props:g(e.props,o)}),fields:o,mappers:r,id:e.props.id,config:a,recurseSlots:s})}):l;return u.some(_)?Promise.all(u):f({value:u,parentId:i,propName:o,field:t[n],propPath:o})}if(f&&t[n])return f({value:e,parentId:i,propName:n,field:t[n],propPath:o});if(e&&"object"==typeof e)if(!Array.isArray(e))return"$$typeof"in e?e:w({value:e,fields:(null==(c=t[n])?void 0:c.type)==="object"?t[n].objectFields:t,mappers:r,id:i,getPropPath:e=>`${o}.${e}`,config:a,recurseSlots:s});else{let l=(null==(u=t[n])?void 0:u.type)==="array"?t[n].arrayFields:null;if(!l)return e;let c=e.map((e,t)=>x({value:e,fields:l,mappers:r,propKey:n,propPath:`${o}[${t}]`,id:i,config:a,recurseSlots:s}));return c.some(_)?Promise.all(c):c}return e},w=({value:e,fields:t,mappers:r,id:n,getPropPath:o,config:i,recurseSlots:a})=>{let s=Object.entries(e).map(([e,s])=>{let l=x({value:s,fields:t,mappers:r,propKey:e,propPath:o(e),id:n,config:i,recurseSlots:a});return _(l)?l.then(t=>({[e]:t})):{[e]:l}},{});return s.some(_)?Promise.all(s).then(b):b(s)};function E(e,t,r,n=!1,o=!0){var i,a,s,l,u;let c="type"in e?e.type:"root",d="root"===c?r.root:null==(i=r.components)?void 0:i[c],f=w({value:o?g(null!=(a=e.props)?a:{},null!=(s=null==d?void 0:d.fields)?s:{}):e.props,fields:null!=(l=null==d?void 0:d.fields)?l:{},mappers:t,id:e.props&&null!=(u=e.props.id)?u:"root",getPropPath:e=>e,config:r,recurseSlots:n});return _(f)?f.then(t=>(0,p.__spreadProps)((0,p.__spreadValues)({},e),{props:t})):(0,p.__spreadProps)((0,p.__spreadValues)({},e),{props:f})}function S(e,t,r){var n,o;let i=e=>E(e,{slot:({value:e,parentId:t,propName:n})=>{var o;return null!=(o=r(e,{parentId:t,propName:n}))?o:e}},t,!0);if("props"in e)return i(e);let a=null!=(n=e.zones)?n:{},s=e.content.map(i);return{root:i(e.root),content:null!=(o=r(s,{parentId:"root",propName:"default-zone"}))?o:s,zones:Object.keys(a).reduce((e,t)=>(0,p.__spreadProps)((0,p.__spreadValues)({},e),{[t]:a[t].map(i)}),{})}}(0,p.init_react_import)();var k="root",j="default-zone",C=`${k}:${j}`;(0,p.init_react_import)(),(0,p.init_react_import)();var{flatten:P,unflatten:O}=f.default,M=e=>null!=e&&"[object Object]"===Object.prototype.toString.call(e),R="__puck_[]",V="__puck_{}";(0,p.init_react_import)();var A=e=>"type"in e?e:(0,p.__spreadProps)((0,p.__spreadValues)({},e),{props:(0,p.__spreadProps)((0,p.__spreadValues)({},e.props),{id:"root"}),type:"root"});(0,p.init_react_import)(),(0,p.init_react_import)(),(0,p.init_react_import)();var N=e=>e?e&&e.indexOf(":")>-1?e.split(":"):[C,e]:[];function L(e,t,r=e=>e,n=e=>e){var o;let i={},a={},s={},l=(e,t,n,o,i)=>{var s;let[l]=t.split(":"),c=(null!=(s=r(n,t,o))?s:n)||[],[d,p]=t.split(":"),f=`${i||l}:${p}`,h=c.map((t,r)=>u(t,[...e,f],r));return a[f]={contentIds:h.map(e=>e.props.id),type:o},[f,h]},u=(r,o,a)=>{let u,c,d=n(r,o,a);if(!d)return r;let f=d.props.id,h=(0,p.__spreadProps)((0,p.__spreadValues)({},E(d,{slot:({value:e,parentId:t,propPath:r})=>{let[n,i]=l(o,`${t}:${r}`,e,"slot",t);return i}},t).props),{id:f});(function(e,t,r,n=[]){Object.entries(t.zones||{}).forEach(([t,o])=>{let[i]=N(t);i===e.props.id&&r(n,t,o)})})(r,e.data,(e,t,r)=>
1{let[n,o]=l(e,t,r,"dropzone",f);i[n]=o},o);let m=(0,p.__spreadProps)((0,p.__spreadValues)({},d),{props:h}),y=o[o.length-1],[v,g]=y?y.split(":"):[null,""];s[f]={data:m,flatData:(u=m,c=t,(0,p.__spreadProps)((0,p.__spreadValues)({},u),{props:function(e={}){let t={};for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let n=e[r];Array.isArray(n)&&0===n.length?t[r]=R:M(n)&&0===Object.keys(n).length?t[r]=V:t[r]=n}return t}(P(E(u,{slot:()=>null},c).props))})),path:o,parentId:v,zone:g};let _=(0,p.__spreadProps)((0,p.__spreadValues)({},m),{props:(0,p.__spreadValues)({},m.props)});return"root"===h.id&&(delete _.type,delete _.props.id),_},c=e.data.zones||{},[d,f]=l([],C,e.data.content,"root"),h=Object.keys(i);Object.keys(c||{}).forEach(e=>{let[t]=e.split(":");if(h.includes(e))return;let[r,n]=l([C],e,c[e],"dropzone",t);i[e]=n},i);let m=A({props:(0,p.__spreadValues)({},null!=(o=e.data.root.props)?o:e.data.root)});e.data.root.readOnly&&(m.readOnly=e.data.root.readOnly);let y=u(m,[],-1),v=(0,p.__spreadValues)((0,p.__spreadValues)({},e.data.root),y);return(0,p.__spreadProps)((0,p.__spreadValues)({},e),{data:{root:v,content:f,zones:(0,p.__spreadValues)((0,p.__spreadValues)({},e.data.zones),i)},indexes:{nodes:(0,p.__spreadValues)((0,p.__spreadValues)({},e.indexes.nodes),s),zones:(0,p.__spreadValues)((0,p.__spreadValues)({},e.indexes.zones),a)}})}(0,p.init_react_import)();var z=e=>e?`${e}-${v()}`:v();(0,p.init_react_import)();var T=(e,t)=>{if(t===C)return e;let r=(0,p.__spreadProps)((0,p.__spreadValues)({},e),{zones:e.zones?(0,p.__spreadValues)({},e.zones):{}});return r.zones[t]=r.zones[t]||[],r};e.s(["defaultSlots",0,g,"expandNode",0,e=>{let t=O(function(e={}){let t={};for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let n=e[r];n===R?t[r]=[]:n===V?t[r]={}:t[r]=n}return t}(e.props));return(0,p.__spreadProps)((0,p.__spreadValues)({},e),{props:t})},"generateId",0,z,"getZoneId",0,N,"mapFields",0,E,"rootAreaId",0,k,"rootDroppableId",0,C,"rootZone",0,j,"setupZone",0,T,"toComponent",0,A,"walkAppState",0,L,"walkField",0,x,"walkTree",0,S],362812),(0,p.init_react_import)(),(0,p.init_react_import)(),(0,p.init_react_import)(),(0,p.init_react_import)();var I=(e,t,r)=>{let n=Array.from(e||[]);return n.splice(t,0,r),n};(0,p.init_react_import)();var D=(e,t)=>{let[r]=e.split(":"),n=t.indexes.nodes[r];return((null==n?void 0:n.path)||[]).map(e=>e.split(":")[0])};(0,p.init_react_import)();var q=(e,t,r=!1)=>{let n=z(e.type);return S((0,p.__spreadProps)((0,p.__spreadValues)({},e),{props:r?(0,p.__spreadProps)((0,p.__spreadValues)({},e.props),{id:n}):(0,p.__spreadValues)({},e.props)}),t,e=>e.map(e=>{let t=z(e.type);return(0,p.__spreadProps)((0,p.__spreadValues)({},e),{props:r?(0,p.__spreadProps)((0,p.__spreadValues)({},e.props),{id:t}):(0,p.__spreadValues)({id:t},e.props)})}))};function F(e,t,r){let n=t.id||z(t.componentType),o=q({type:t.componentType,props:(0,p.__spreadProps)((0,p.__spreadValues)({},r.config.components[t.componentType].defaultProps||{}),{id:n})},r.config),[i]=t.destinationZone.split(":"),a=D(t.destinationZone,e);return L(e,r.config,(e,r)=>r===t.destinationZone?I(e||[],t.destinationIndex,o):e,(e,r)=>e.props.id===n||e.props.id===i||a.includes(e.props.id)||r.includes(t.destinationZone)?e:null)}function H(e,t){var r,n;let o=null==(r=t.indexes.zones)?void 0:r[e.zone||C];return o?null==(n=t.indexes.nodes[o.contentIds[e.index]])?void 0:n.data:void 0}(0,p.init_react_import)(),(0,p.init_react_import)(),(0,p.init_react_import)(),(0,p.init_react_import)(),(0,p.init_react_import)(),(0,p.init_react_import)(),(0,p.init_react_import)();var W=(e,t)=>{let r=Array.from(e);return r.splice(t,1),r},B=(e,t,r)=>{if(t.sourceZone===t.destinationZone&&t.sourceIndex===t.destinationIndex)return e;let n=H({zone:t.sourceZone,index:t.sourceIndex},e);if(!n)return e;let o=D(t.sourceZone,e),i=D(t.destinationZone,e);return L(e,r.config,(e,r)=>r===t.sourceZone&&r===t.destinationZone?I(W(e,t.sourceIndex),t.destinationIndex,n):r===t.sourceZone?W(e,t.sourceIndex):r===t.destinationZone?I(e,t.destinationIndex,n):e,(e,r)=>{let[a]=t.sourceZone.split(":"),[s]=t.destinationZone.split(":"),l=e.props.id;return a===l||s===l||n.props.id===l||o.indexOf(l)>-1||i.indexOf(l)>-1||r.includes(t.destinationZone)?e:null})};(0,p.init_react_import)(),(0,p.init_react_import)();var $={};(0,p.init_react_import)(),(0,p.init_react_import)(),(0,p.init_react_import)();var U=e=>{let{data:t,ui:r}=e;return{data:t,ui:r}};function Z({record:e,onAction:t,appStore:r}){var n;return n=(e,t)=>{if("set"===t.type){if("object"==typeof t.state){let n=(0,p.__spreadValues)((0,p.__spreadValues)({},e),t.state);return t.state.indexes?n:(console.warn("`set` is expensive and may cause unnecessary re-renders. Consider using a more atomic action instead."),L(n,r.config))}return(0,p.__spreadValues)((0,p.__spreadValues)({},e),t.state(e))}if("insert"===t.type)return F(e,t,r);if("replace"===t.type)return((e,t,r)=>
1{let[n]=t.destinationZone.split(":"),o=D(t.destinationZone,e),i=e.indexes.zones[t.destinationZone].contentIds[t.destinationIndex];if(i!==t.data.props.id)throw Error('Can\'t change the id during a replace action. Please us "remove" and "insert" to define a new node.');let a=[],s=S(t.data,r.config,(e,t)=>(a.push(`${t.parentId}:${t.propName}`),e.map(e=>{let t=z(e.type);return(0,p.__spreadProps)((0,p.__spreadValues)({},e),{props:(0,p.__spreadValues)({id:t},e.props)})}))),l=(0,p.__spreadProps)((0,p.__spreadValues)({},e),{ui:(0,p.__spreadValues)((0,p.__spreadValues)({},e.ui),t.ui)});return Object.keys(e.indexes.zones).forEach(e=>{e.split(":")[0]!==i||a.includes(e)||delete l.indexes.zones[e]}),L(l,r.config,(e,r)=>{let n=[...e];return r===t.destinationZone&&(n[t.destinationIndex]=s),n},(e,t)=>{let r=t.map(e=>e.split(":")[0]);return e.props.id===s.props.id?s:e.props.id===n?e:o.indexOf(e.props.id)>-1?e:r.indexOf(s.props.id)>-1?e:null})})(e,t,r);if("replaceRoot"===t.type)return L(e,r.config,e=>e,e=>"root"===e.props.id?(0,p.__spreadProps)((0,p.__spreadValues)({},e),{props:(0,p.__spreadValues)((0,p.__spreadValues)({},e.props),t.root.props),readOnly:t.root.readOnly}):e);if("duplicate"===t.type){let n,o,i,a;return n=H({index:t.sourceIndex,zone:t.sourceZone},e),o=D(t.sourceZone,e),i=(0,p.__spreadProps)((0,p.__spreadValues)({},n),{props:(0,p.__spreadProps)((0,p.__spreadValues)({},n.props),{id:z(n.type)})}),a=L(e,r.config,(e,r)=>r===t.sourceZone?I(e,t.sourceIndex+1,n):e,(e,r,n)=>{let a=r[r.length-1];if(r.map(e=>e.split(":")[0]).indexOf(i.props.id)>-1)return(0,p.__spreadProps)((0,p.__spreadValues)({},e),{props:(0,p.__spreadProps)((0,p.__spreadValues)({},e.props),{id:z(e.type)})});if(a===t.sourceZone&&n===t.sourceIndex+1)return i;let[s]=t.sourceZone.split(":");return s===e.props.id||o.indexOf(e.props.id)>-1?e:null}),(0,p.__spreadProps)((0,p.__spreadValues)({},a),{ui:(0,p.__spreadProps)((0,p.__spreadValues)({},a.ui),{itemSelector:{index:t.sourceIndex+1,zone:t.sourceZone}})})}if("reorder"===t.type)return B(e,{type:"move",sourceIndex:t.sourceIndex,sourceZone:t.destinationZone,destinationIndex:t.destinationIndex,destinationZone:t.destinationZone},r);if("move"===t.type)return B(e,t,r);if("remove"===t.type){let n,o,i;return n=H({index:t.index,zone:t.zone},e),o=Object.entries(e.indexes.nodes).reduce((e,[t,r])=>r.path.map(e=>e.split(":")[0]).includes(n.props.id)?[...e,t]:e,[n.props.id]),Object.keys((i=L(e,r.config,(e,r)=>r===t.zone?W(e,t.index):e)).data.zones||{}).forEach(e=>{let t=e.split(":")[0];o.includes(t)&&i.data.zones&&delete i.data.zones[e]}),Object.keys(i.indexes.zones).forEach(e=>{let t=e.split(":")[0];o.includes(t)&&delete i.indexes.zones[e]}),o.forEach(e=>{delete i.indexes.nodes[e]}),i}if("registerZone"===t.type)return $[t.zone]?(0,p.__spreadProps)((0,p.__spreadValues)({},e),{data:(0,p.__spreadProps)((0,p.__spreadValues)({},e.data),{zones:(0,p.__spreadProps)((0,p.__spreadValues)({},e.data.zones),{[t.zone]:$[t.zone]})}),indexes:(0,p.__spreadProps)((0,p.__spreadValues)({},e.indexes),{zones:(0,p.__spreadProps)((0,p.__spreadValues)({},e.indexes.zones),{[t.zone]:(0,p.__spreadProps)((0,p.__spreadValues)({},e.indexes.zones[t.zone]),{contentIds:$[t.zone].map(e=>e.props.id),type:"dropzone"})})})}):(0,p.__spreadProps)((0,p.__spreadValues)({},e),{data:T(e.data,t.zone)});if("unregisterZone"===t.type){let r,n;return r=(0,p.__spreadValues)({},e.data.zones||{}),n=(0,p.__spreadValues)({},e.indexes.zones||{}),r[t.zone]&&($[t.zone]=r[t.zone],delete r[t.zone]),delete n[t.zone],(0,p.__spreadProps)((0,p.__spreadValues)({},e),{data:(0,p.__spreadProps)((0,p.__spreadValues)({},e.data),{zones:r}),indexes:(0,p.__spreadProps)((0,p.__spreadValues)({},e.indexes),{zones:n})})}return"setData"===t.type?"object"==typeof t.data?(console.warn("`setData` is expensive and may cause unnecessary re-renders. Consider using a more atomic action instead."),L((0,p.__spreadProps)((0,p.__spreadValues)({},e),{data:(0,p.__spreadValues)((0,p.__spreadValues)({},e.data),t.data)}),r.config)):L((0,p.__spreadProps)((0,p.__spreadValues)({},e),{data:(0,p.__spreadValues)((0,p.__spreadValues)({},e.data),t.data(e.data))}),r.config):"setUi"===t.type?"object"==typeof t.ui?(0,p.__spreadProps)((0,p.__spreadValues)({},e),{ui:(0,p.__spreadValues)((0,p.__spreadValues)({},e.ui),t.ui)}):(0,p.__spreadProps)((0,p.__spreadValues)({},e),{ui:(0,p.__spreadValues)((0,p.__spreadValues)({},e.ui),t.ui(e.ui))}):e},(r,o)=>{let i=n(r,o),a=!["registerZone","unregisterZone","setData","setUi","set"].includes(o.type);return(void 0!==o.recordHistory?o.recordHistory:a)&&e&&e(i),null==t||t(o,U(i),U(r)),i}}(0,p.init_react_import)(),e.s(["createReducer",0,Z,"getItem",0,H,"insert",0,I,"insertAction",0,F,"makeStatePublic",0,U,"populateIds",0,q],614592);var K=Object.getOwnPropertyNames,X=Object.getOwnPropertySymbols,Y=Object.prototype.hasOwnProperty;function G(e,t){return function(r,n,o){return e(r,n,o)&&t(r,n,o)}}function J(e){return function(t,r,n){if(!t||!r||"object"!=typeof t||"object"!=typeof r)return e(t,r,n);var o=n.cache,i=o.get(t),a=o.get(r);if(i&&a)return i===r&&a===t;o.set(t,r),o.set(r,t);var s=e(t,r,n);return o.delete(t),o.delete(r),s}}function Q(e){return K(e).concat(X(e))}var ee=Object.hasOwn||function(e,t){return Y.call(e,t)};function et(e,t){return e===t||!e&&!t&&e!=e&&t!=t}var er=Object.getOwnPropertyDescriptor,en=Object.keys;function eo(e,t,r){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;return!0}function ei(e,t){return et(e.getTime(),t.getTime())}function ea(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function es(e,t){return e===t}function el(e,t,r){var n,o,i=e.size;if(i!==t.size)return!1;if(!i)return!0;for(var a=Array(i),s=e.entries(),l=0;(n=s.next())&&!n.done;){for(var u=t.entries(),c=!1,d=0;(o=u.next())&&!o.done;){if(a[d]){d++;continue}var p=n.value,f=o.value;if(r.equals(p[0],f[0],l,d,e,t,r)&&r.equals(p[1],f[1],p[0],f[0],e,t,r)){c=a[d]=!0;break}d++}if(!c)return!1;l++}return!0}function eu(e,t,r){var n=en(e),o=n.length;if(en(t).length!==o)return!1;for(;o-- >0;)if(!ey(e,t,r,n[o]))return!1;return!0}function ec(e,t,r){var n,o,i,a=Q(e),s=a.length;if(Q(t).length!==s)return!1;for(;s-- >0;)if(!ey(e,t,r,n=a[s])||(o=er(e,n),i=er(t,n),(o||i)&&(!o||!i||o.configurable!==i.configurable||o.enumerable!==i.enumerable||o.writable!==i.writable)))return!1;return!0}function ed(e,t){return et(e.valueOf(),t.valueOf())}function ep(e,t){return e.source===t.source&&e.flags===t.flags}function ef(e,t,r){var n,o,i=e.size;if(i!==t.size)return!1;if(!i)return!0;for(var a=Array(i),s=e.values();(n=s.next())&&!n.done;){for(var l=t.values(),u=!1,c=0;(o=l.next())&&!o.done;
1){if(!a[c]&&r.equals(n.value,o.value,n.value,o.value,e,t,r)){u=a[c]=!0;break}c++}if(!u)return!1}return!0}function eh(e,t){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(e[r]!==t[r])return!1;return!0}function em(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function ey(e,t,r,n){return("_owner"===n||"__o"===n||"__v"===n)&&(!!e.$$typeof||!!t.$$typeof)||ee(t,n)&&r.equals(e[n],t[n],n,n,e,t,r)}var ev=Array.isArray,eg="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,e_=Object.assign,eb=Object.prototype.toString.call.bind(Object.prototype.toString),ex=ew();function ew(e){void 0===e&&(e={});var t,r,n,o,i,a,s,l,u,c,d,p,f,h=e.circular,m=e.createInternalComparator,y=e.createState,v=e.strict,g=(r=(t=function(e){var t=e.circular,r=e.createCustomConfig,n=e.strict,o={areArraysEqual:n?ec:eo,areDatesEqual:ei,areErrorsEqual:ea,areFunctionsEqual:es,areMapsEqual:n?G(el,ec):el,areNumbersEqual:et,areObjectsEqual:n?ec:eu,arePrimitiveWrappersEqual:ed,areRegExpsEqual:ep,areSetsEqual:n?G(ef,ec):ef,areTypedArraysEqual:n?ec:eh,areUrlsEqual:em};if(r&&(o=e_({},o,r(o))),t){var i=J(o.areArraysEqual),a=J(o.areMapsEqual),s=J(o.areObjectsEqual),l=J(o.areSetsEqual);o=e_({},o,{areArraysEqual:i,areMapsEqual:a,areObjectsEqual:s,areSetsEqual:l})}return o}(e)).areArraysEqual,n=t.areDatesEqual,o=t.areErrorsEqual,i=t.areFunctionsEqual,a=t.areMapsEqual,s=t.areNumbersEqual,l=t.areObjectsEqual,u=t.arePrimitiveWrappersEqual,c=t.areRegExpsEqual,d=t.areSetsEqual,p=t.areTypedArraysEqual,f=t.areUrlsEqual,function(e,t,h){if(e===t)return!0;if(null==e||null==t)return!1;var m=typeof e;if(m!==typeof t)return!1;if("object"!==m)return"number"===m?s(e,t,h):"function"===m&&i(e,t,h);var y=e.constructor;if(y!==t.constructor)return!1;if(y===Object)return l(e,t,h);if(ev(e))return r(e,t,h);if(null!=eg&&eg(e))return p(e,t,h);if(y===Date)return n(e,t,h);if(y===RegExp)return c(e,t,h);if(y===Map)return a(e,t,h);if(y===Set)return d(e,t,h);var v=eb(e);return"[object Date]"===v?n(e,t,h):"[object RegExp]"===v?c(e,t,h):"[object Map]"===v?a(e,t,h):"[object Set]"===v?d(e,t,h):"[object Object]"===v?"function"!=typeof e.then&&"function"!=typeof t.then&&l(e,t,h):"[object URL]"===v?f(e,t,h):"[object Error]"===v?o(e,t,h):"[object Arguments]"===v?l(e,t,h):("[object Boolean]"===v||"[object Number]"===v||"[object String]"===v)&&u(e,t,h)}),_=m?m(g):function(e,t,r,n,o,i,a){return g(e,t,a)};return function(e){var t=e.circular,r=e.comparator,n=e.createState,o=e.equals,i=e.strict;if(n)return function(e,a){var s=n(),l=s.cache;return r(e,a,{cache:void 0===l?t?new WeakMap:void 0:l,equals:o,meta:s.meta,strict:i})};if(t)return function(e,t){return r(e,t,{cache:new WeakMap,equals:o,meta:void 0,strict:i})};var a={cache:void 0,equals:o,meta:void 0,strict:i};return function(e,t){return r(e,t,a)}}({circular:void 0!==h&&h,comparator:g,createState:y,equals:_,strict:void 0!==v&&v})}ew({strict:!0}),ew({circular:!0}),ew({circular:!0,strict:!0}),ew({createInternalComparator:function(){return et}}),ew({strict:!0,createInternalComparator:function(){return et}}),ew({circular:!0,createInternalComparator:function(){return et}}),ew({circular:!0,createInternalComparator:function(){return et},strict:!0}),e.s(["deepEqual",0,ex],481697),(0,p.init_react_import)();var eE=[{width:360,height:"auto",icon:"Smartphone",label:"Small"},{width:768,height:"auto",icon:"Tablet",label:"Medium"},{width:1280,height:"auto",icon:"Monitor",label:"Large"},{width:"100%",height:"auto",icon:"FullWidth",label:"Full-width"}];(0,p.init_react_import)(),(0,p.init_react_import)();var eS=(e,t)=>e?Object.keys(e.props||{}).reduce((r,n)=>{let o=(null==e?void 0:e.props)||{},i=(null==t?void 0:t.props)||{};return(0,p.__spreadProps)((0,p.__spreadValues)({},r),{[n]:!ex(i[n],o[n])})},{}):{},ek={},ej=(e,t,...r)=>(0,p.__async)(null,[e,t,...r],function*(e,t,r={},n,o,i="replace",a=null){let s="type"in e&&"root"!==e.type?t.components[e.type]:t.root,l=(0,p.__spreadValues)({},e),u=(null==s?void 0:s.resolveData)&&e.props,c="id"in e.props?e.props.id:"root";if(u){let{item:t=null,resolved:o={},parentId:u=null}=ek[c]||{},d=null!==u&&(null==a?void 0:a.props.id)!==u,f=e&&!ex(e,t);if("move"===i&&!d||"move"!==i&&"force"!==i&&!f)return{node:o,didChange:!1};let h=eS(e,t);n&&n(e);let{props:m,readOnly:y={}}=yield s.resolveData(e,{changed:h,lastData:t,metadata:(0,p.__spreadValues)((0,p.__spreadValues)({},r),s.metadata),trigger:i,parent:a});l.props=(0,p.__spreadValues)((0,p.__spreadValues)({},e.props),m),Object.keys(y).length&&(l.readOnly=y)}let d=A(l),f=yield E(l,{slot:e=>(0,p.__async)(null,[e],function*({value:e}){return yield Promise.all(e.map(e=>(0,p.__async)(null,null,function*(){return(yield ej(e,t,r,n,o,i,d)).node})))})},t);return u&&o&&o(l),ek[c]={item:e,resolved:f,parentId:null==a?void 0:a.props.id},{node:f,didChange:!ex(e,f)}});(0,p.init_react_import)();var eC={data:{content:[],root:{},zones:{}},ui:{leftSideBarVisible:!0,rightSideBarVisible:!0,arrayState:{},itemSelector:null,componentList:{},isDragging:!1,previewMode:"edit",viewports:{current:{width:eE[0].width,height:eE[0].height||"auto"},options:[],controlsVisible:!0},field:{focus:null},plugin:{current:null}},indexes:{nodes:{},zones:{}}};e.s(["defaultAppState",0,eC,"defaultViewports",0,eE,"getChanged",0,eS,"resolve
1ComponentData",0,ej],724864);var eP=e.i(793821),eO=e.i(271645);let eM=e=>{let t,r=new Set,n=(e,n)=>{let o="function"==typeof e?e(t):e;if(!Object.is(o,t)){let e=t;t=(null!=n?n:"object"!=typeof o||null===o)?o:Object.assign({},t,o),r.forEach(r=>r(t,e))}},o=()=>t,i={setState:n,getState:o,getInitialState:()=>a,subscribe:e=>(r.add(e),()=>r.delete(e))},a=t=e(n,o,i);return i},eR=e=>e?eM(e):eM;e.s(["createStore",0,eR],408155);let eV=e=>e;function eA(e,t=eV){let r=eO.default.useSyncExternalStore(e.subscribe,eO.default.useCallback(()=>t(e.getState()),[e,t]),eO.default.useCallback(()=>t(e.getInitialState()),[e,t]));return eO.default.useDebugValue(r),r}let eN=e=>{let t=eR(e),r=e=>eA(t,e);return Object.assign(r,t),r},eL=e=>e?eN(e):eN;e.s(["create",0,eL,"useStore",0,eA],768834);let ez=e=>(t,r,n)=>{let o=n.subscribe;return n.subscribe=(e,t,r)=>{let i=e;if(t){let o=(null==r?void 0:r.equalityFn)||Object.is,a=e(n.getState());i=r=>{let n=e(r);if(!o(a,n)){let e=a;t(a=n,e)}},(null==r?void 0:r.fireImmediately)&&t(a,a)}return o(i)},e(t,r,n)};function eT(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}function eI(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function eD(...e){return t=>{let r=!1,n=e.map(e=>{let n=eI(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():eI(e[t],null)}}}}function eq(...e){return eO.useCallback(eD(...e),e)}e.s(["subscribeWithSelector",0,ez],579473),"u">typeof window&&window.document&&window.document.createElement;var eF=e.i(843476);function eH(e,t=[]){let r=[],n=()=>{let t=r.map(e=>eO.createContext(e));return function(r){let n=r?.[e]||t;return eO.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return n.scopeName=e,[function(t,n){let o=eO.createContext(n),i=r.length;r=[...r,n];let a=t=>{let{scope:r,children:n,...a}=t,s=r?.[e]?.[i]||o,l=eO.useMemo(()=>a,Object.values(a));return(0,eF.jsx)(s.Provider,{value:l,children:n})};return a.displayName=t+"Provider",[a,function(r,a){let s=a?.[e]?.[i]||o,l=eO.useContext(s);if(l)return l;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return eO.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return r.scopeName=t.scopeName,r}(n,...t)]}var eW=e.i(174080);function eB(e){var t;let r,n=(t=e,(r=eO.forwardRef((e,t)=>{let{children:r,...n}=e;if(eO.isValidElement(r)){var o;let e,i,a=(o=r,(i=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(i=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),s=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==eO.Fragment&&(s.ref=t?eD(t,a):a),eO.cloneElement(r,s)}return eO.Children.count(r)>1?eO.Children.only(null):null})).displayName=`${t}.SlotClone`,r),o=eO.forwardRef((e,t)=>{let{children:r,...o}=e,i=eO.Children.toArray(r),a=i.find(eU);if(a){let e=a.props.children,r=i.map(t=>t!==a?t:eO.Children.count(e)>1?eO.Children.only(null):eO.isValidElement(e)?e.props.children:null);return(0,eF.jsx)(n,{...o,ref:t,children:eO.isValidElement(e)?eO.cloneElement(e,void 0,r):null})}return(0,eF.jsx)(n,{...o,ref:t,children:r})});return o.displayName=`${e}.Slot`,o}var e$=Symbol("radix.slottable");function eU(e){return eO.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===e$}var eZ=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=eB(`Primitive.${t}`),n=eO.forwardRef((e,n)=>{let{asChild:o,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,eF.jsx)(o?r:t,{...i,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function eK(e){let t=eO.useRef(e);return eO.useEffect(()=>{t.current=e}),eO.useMemo(()=>(...e)=>t.current?.(...e),[])}var eX="dismissableLayer.update",eY=eO.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),eG=eO.forwardRef((e,t)=>
1{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...l}=e,u=eO.useContext(eY),[d,p]=eO.useState(null),f=d?.ownerDocument??globalThis?.document,[,h]=eO.useState({}),m=eq(t,e=>p(e)),y=Array.from(u.layers),[v]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),g=y.indexOf(v),_=d?y.indexOf(d):-1,b=u.layersWithOutsidePointerEventsDisabled.size>0,x=_>=g,w=function(e,t=globalThis?.document){let r=eK(e),n=eO.useRef(!1),o=eO.useRef(()=>{});return eO.useEffect(()=>{let e=e=>{if(e.target&&!n.current){let n=function(){eQ("dismissableLayer.pointerDownOutside",r,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=n,t.addEventListener("click",o.current,{once:!0})):n()}else t.removeEventListener("click",o.current);n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}(e=>{let t=e.target,r=[...u.branches].some(e=>e.contains(t));x&&!r&&(o?.(e),a?.(e),e.defaultPrevented||s?.())},f),E=function(e,t=globalThis?.document){let r=eK(e),n=eO.useRef(!1);return eO.useEffect(()=>{let e=e=>{e.target&&!n.current&&eQ("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{let t=e.target;![...u.branches].some(e=>e.contains(t))&&(i?.(e),a?.(e),e.defaultPrevented||s?.())},f);return!function(e,t=globalThis?.document){let r=eK(e);eO.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{_===u.layers.size-1&&(n?.(e),!e.defaultPrevented&&s&&(e.preventDefault(),s()))},f),eO.useEffect(()=>{if(d)return r&&(0===u.layersWithOutsidePointerEventsDisabled.size&&(c=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),eJ(),()=>{r&&1===u.layersWithOutsidePointerEventsDisabled.size&&(f.body.style.pointerEvents=c)}},[d,f,r,u]),eO.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),eJ())},[d,u]),eO.useEffect(()=>{let e=()=>h({});return document.addEventListener(eX,e),()=>document.removeEventListener(eX,e)},[]),(0,eF.jsx)(eZ.div,{...l,ref:m,style:{pointerEvents:b?x?"auto":"none":void 0,...e.style},onFocusCapture:eT(e.onFocusCapture,E.onFocusCapture),onBlurCapture:eT(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:eT(e.onPointerDownCapture,w.onPointerDownCapture)})});function eJ(){let e=new CustomEvent(eX);document.dispatchEvent(e)}function eQ(e,t,r,{discrete:n}){let o=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});if(t&&o.addEventListener(e,t,{once:!0}),n)o&&eW.flushSync(()=>o.dispatchEvent(i));else o.dispatchEvent(i)}eG.displayName="DismissableLayer",eO.forwardRef((e,t)=>{let r=eO.useContext(eY),n=eO.useRef(null),o=eq(t,n);return eO.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,eF.jsx)(eZ.div,{...e,ref:o})}).displayName="DismissableLayerBranch";var e0=0;function e1(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var e2="focusScope.autoFocusOnMount",e4="focusScope.autoFocusOnUnmount",e6={bubbles:!1,cancelable:!0},e8=eO.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=eO.useState(null),u=eK(o),c=eK(i),d=eO.useRef(null),p=eq(t,e=>l(e)),f=eO.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;eO.useEffect(()=>{if(n){let e=function(e){if(f.paused||!s)return;let t=e.target;s.contains(t)?d.current=t:e7(d.current,{select:!0})},t=function(e){if(f.paused||!s)return;let t=e.relatedTarget;null!==t&&(s.contains(t)||e7(d.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&e7(s)});return s&&r.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,s,f.paused]),eO.useEffect(()=>{if(s){e9.add(f);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(e2,e6);s.addEventListener(e2,u),s.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(e7(n,{select:t}),document.activeElement!==r)return}(e5(s).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&e7(s))}return()=>{s.removeEventListener(e2,u),setTimeout(()=>{let t=new CustomEvent(e4,e6);s.addEventListener(e4,c),s.dispatchEvent(t),t.defaultPrevented||e7(e??document.body,{select:!0}),s.removeEventListener(e4,c),e9.remove(f)},0)}}},[s,u,c,f]);let h=eO.useCallback(e=>{if(!r&&!n||f.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){var i;let t,n=e.currentTarget,[a,s]=[e3(t=e5(i=n),i),e3(t.reverse(),i)];a&&s?e.shiftKey||o!==s?e.shiftKey&&o===a&&(e.preventDefault(),r&&e7(s,{select:!0})):(e.preventDefault(),r&&e7(a,{select:!0})):o===n&&e.preventDefault()}},[r,n,f.paused]);return(0,eF.jsx)(eZ.div,{tabIndex:-1,...a,ref:p,onKeyDown:h})});function e5(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function e3(e,t){for(let r of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function e7(e,{select:t=!1}={}){if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}e8.displayName="FocusScope";var e9=(n=[],{add(e){let t=n[0];e!==t&&t?.pause(),(n=te(n,e)).unshift(e)},remove(e){n=te(n,e),n[0]?.resume()}});function te(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}var tt=globalThis?.document?eO.useLayoutEffect:()=>{},tr=eO[" useId ".trim().toString()]||(()=>void 0),tn=0;let to=["top","right","bottom","left"],ti=Math.min,ta=Math.max,ts=Math.round,tl=Math.floor,tu=e=>({x:e,y:e}
1),tc={left:"right",right:"left",bottom:"top",top:"bottom"};function td(e,t){return"function"==typeof e?e(t):e}function tp(e){return e.split("-")[0]}function tf(e){return e.split("-")[1]}function th(e){return"x"===e?"y":"x"}function tm(e){return"y"===e?"height":"width"}function ty(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function tv(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let tg=["left","right"],t_=["right","left"],tb=["top","bottom"],tx=["bottom","top"];function tw(e){let t=tp(e);return tc[t]+e.slice(t.length)}function tE(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function tS(e){let{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function tk(e,t,r){let n,{reference:o,floating:i}=e,a=ty(t),s=th(ty(t)),l=tm(s),u=tp(t),c="y"===a,d=o.x+o.width/2-i.width/2,p=o.y+o.height/2-i.height/2,f=o[l]/2-i[l]/2;switch(u){case"top":n={x:d,y:o.y-i.height};break;case"bottom":n={x:d,y:o.y+o.height};break;case"right":n={x:o.x+o.width,y:p};break;case"left":n={x:o.x-i.width,y:p};break;default:n={x:o.x,y:o.y}}switch(tf(t)){case"start":n[s]-=f*(r&&c?-1:1);break;case"end":n[s]+=f*(r&&c?-1:1)}return n}async function tj(e,t){var r;void 0===t&&(t={});let{x:n,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:f=0}=td(t,e),h=tE(f),m=s[p?"floating"===d?"reference":"floating":d],y=tS(await i.getClippingRect({element:null==(r=await (null==i.isElement?void 0:i.isElement(m)))||r?m:m.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),v="floating"===d?{x:n,y:o,width:a.floating.width,height:a.floating.height}:a.reference,g=await (null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),_=await (null==i.isElement?void 0:i.isElement(g))&&await (null==i.getScale?void 0:i.getScale(g))||{x:1,y:1},b=tS(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:g,strategy:l}):v);return{top:(y.top-b.top+h.top)/_.y,bottom:(b.bottom-y.bottom+h.bottom)/_.y,left:(y.left-b.left+h.left)/_.x,right:(b.right-y.right+h.right)/_.x}}let tC=async(e,t,r)=>{let{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:a}=r,s=a.detectOverflow?a:{...a,detectOverflow:tj},l=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=tk(u,n,l),p=n,f=0,h={};for(let r=0;r<i.length;r++){let m=i[r];if(!m)continue;let{name:y,fn:v}=m,{x:g,y:_,data:b,reset:x}=await v({x:c,y:d,initialPlacement:n,placement:p,strategy:o,middlewareData:h,rects:u,platform:s,elements:{reference:e,floating:t}});c=null!=g?g:c,d=null!=_?_:d,h[y]={...h[y],...b},x&&f<50&&(f++,"object"==typeof x&&(x.placement&&(p=x.placement),x.rects&&(u=!0===x.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):x.rects),{x:c,y:d}=tk(u,p,l)),r=-1)}return{x:c,y:d,placement:p,strategy:o,middlewareData:h}};function tP(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function tO(e){return to.some(t=>e[t]>=0)}let tM=new Set(["left","top"]);async function tR(e,t){let{placement:r,platform:n,elements:o}=e,i=await (null==n.isRTL?void 0:n.isRTL(o.floating)),a=tp(r),s=tf(r),l="y"===ty(r),u=tM.has(a)?-1:1,c=i&&l?-1:1,d=td(t,e),{mainAxis:p,crossAxis:f,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof h&&(f="end"===s?-1*h:h),l?{x:f*c,y:p*u}:{x:p*u,y:f*c}}function tV(){return"u">typeof window}function tA(e){return tz(e)?(e.nodeName||"").toLowerCase():"#document"}function tN(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function tL(e){var t;return null==(t=(tz(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function tz(e){return!!tV()&&(e instanceof Node||e instanceof tN(e).Node)}function tT(e){return!!tV()&&(e instanceof Element||e instanceof tN(e).Element)}function tI(e){return!!tV()&&(e instanceof HTMLElement||e instanceof tN(e).HTMLElement)}function tD(e){return!(!tV()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof tN(e).ShadowRoot)}function tq(e){let{overflow:t,overflowX:r,overflowY:n,display:o}=tK(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&"inline"!==o&&"contents"!==o}function tF(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let tH=/transform|translate|scale|rotate|perspective|filter/,tW=/paint|layout|strict|content/,tB=e=>!!e&&"none"!==e;function t$(e){let t=tT(e)?tK(e):e;return tB(t.transform)||tB(t.translate)||tB(t.scale)||tB(t.rotate)||tB(t.perspective)||!tU()&&(tB(t.backdropFilter)||tB(t.filter))||tH.test(t.willChange||"")||tW.test(t.contain||"")}function tU(){return null==r&&(r="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function tZ(e){return/^(html|body|#document)$/.test(tA(e))}function tK(e){return tN(e).getComputedStyle(e)}function tX(e){return tT(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function tY(e){if("html"===tA(e))return e;let t=e.assignedSlot||e.parentNode||tD(e)&&e.host||tL(e);return tD(t)?t.host:t}function tG(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let o=function e(t){let r=tY(t);return tZ(r)?t.ownerDocument?t.ownerDocument.body:t.body:tI(r)&&tq(r)?r:e(r)}(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),a=tN(o);if(!i)return t.concat(o,tG(o,[],r));{let e=tJ(a);
1return t.concat(a,a.visualViewport||[],tq(o)?o:[],e&&r?tG(e):[])}}function tJ(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function tQ(e){let t=tK(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,o=tI(e),i=o?e.offsetWidth:r,a=o?e.offsetHeight:n,s=ts(r)!==i||ts(n)!==a;return s&&(r=i,n=a),{width:r,height:n,$:s}}function t0(e){return tT(e)?e:e.contextElement}function t1(e){let t=t0(e);if(!tI(t))return tu(1);let r=t.getBoundingClientRect(),{width:n,height:o,$:i}=tQ(t),a=(i?ts(r.width):r.width)/n,s=(i?ts(r.height):r.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}let t2=tu(0);function t4(e){let t=tN(e);return tU()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:t2}function t6(e,t,r,n){var o;void 0===t&&(t=!1),void 0===r&&(r=!1);let i=e.getBoundingClientRect(),a=t0(e),s=tu(1);t&&(n?tT(n)&&(s=t1(n)):s=t1(e));let l=(void 0===(o=r)&&(o=!1),n&&(!o||n===tN(a))&&o)?t4(a):tu(0),u=(i.left+l.x)/s.x,c=(i.top+l.y)/s.y,d=i.width/s.x,p=i.height/s.y;if(a){let e=tN(a),t=n&&tT(n)?tN(n):n,r=e,o=tJ(r);for(;o&&n&&t!==r;){let e=t1(o),t=o.getBoundingClientRect(),n=tK(o),i=t.left+(o.clientLeft+parseFloat(n.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(n.paddingTop))*e.y;u*=e.x,c*=e.y,d*=e.x,p*=e.y,u+=i,c+=a,o=tJ(r=tN(o))}}return tS({width:d,height:p,x:u,y:c})}function t8(e,t){let r=tX(e).scrollLeft;return t?t.left+r:t6(tL(e)).left+r}function t5(e,t){let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-t8(e,r),y:r.top+t.scrollTop}}function t3(e,t,r){var n;let o;if("viewport"===t)o=function(e,t){let r=tN(e),n=tL(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;let e=tU();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}let u=t8(n);if(u<=0){let e=n.ownerDocument,t=e.body,r=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,a=Math.abs(n.clientWidth-t.clientWidth-o);a<=25&&(i-=a)}else u<=25&&(i+=u);return{width:i,height:a,x:s,y:l}}(e,r);else if("document"===t){let t,r,i,a,s,l,u;n=tL(e),t=tL(n),r=tX(n),i=n.ownerDocument.body,a=ta(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),s=ta(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),l=-r.scrollLeft+t8(n),u=-r.scrollTop,"rtl"===tK(i).direction&&(l+=ta(t.clientWidth,i.clientWidth)-a),o={width:a,height:s,x:l,y:u}}else if(tT(t)){let e,n,i,a,s,l;n=(e=t6(t,!0,"fixed"===r)).top+t.clientTop,i=e.left+t.clientLeft,a=tI(t)?t1(t):tu(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,o={width:s,height:l,x:i*a.x,y:n*a.y}}else{let r=t4(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return tS(o)}function t7(e){return"static"===tK(e).position}function t9(e,t){if(!tI(e)||"fixed"===tK(e).position)return null;if(t)return t(e);let r=e.offsetParent;return tL(e)===r&&(r=r.ownerDocument.body),r}function re(e,t){var r;let n=tN(e);if(tF(e))return n;if(!tI(e)){let t=tY(e);for(;t&&!tZ(t);){if(tT(t)&&!t7(t))return t;t=tY(t)}return n}let o=t9(e,t);for(;o&&(r=o,/^(table|td|th)$/.test(tA(r)))&&t7(o);)o=t9(o,t);return o&&tZ(o)&&t7(o)&&!t$(o)?n:o||function(e){let t=tY(e);for(;tI(t)&&!tZ(t);){if(t$(t))return t;if(tF(t))break;t=tY(t)}return null}(e)||n}let rt=async function(e){let t=this.getOffsetParent||re,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=tI(t),o=tL(t),i="fixed"===r,a=t6(e,!0,i,t),s={scrollLeft:0,scrollTop:0},l=tu(0);if(n||!n&&!i)if(("body"!==tA(t)||tq(o))&&(s=tX(t)),n){let e=t6(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=t8(o));i&&!n&&o&&(l.x=t8(o));let u=!o||n||i?tu(0):t5(o,s);return{x:a.left+s.scrollLeft-l.x-u.x,y:a.top+s.scrollTop-l.y-u.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},rr={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e,i="fixed"===o,a=tL(n),s=!!t&&tF(t.floating);if(n===a||s&&i)return r;let l={scrollLeft:0,scrollTop:0},u=tu(1),c=tu(0),d=tI(n);if((d||!d&&!i)&&(("body"!==tA(n)||tq(a))&&(l=tX(n)),d)){let e=t6(n);u=t1(n),c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}let p=!a||d||i?tu(0):t5(a,l);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-l.scrollLeft*u.x+c.x+p.x,y:r.y*u.y-l.scrollTop*u.y+c.y+p.y}},getDocumentElement:tL,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e,i=[..."clippingAncestors"===r?tF(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=tG(e,[],!1).filter(e=>tT(e)&&"body"!==tA(e)),o=null,i="fixed"===tK(e).position,a=i?tY(e):e;for(;tT(a)&&!tZ(a);){let t=tK(a),r=t$(a);r||"fixed"!==t.position||(o=null),(i?r||o:!(!r&&"static"===t.position&&o&&("absolute"===o.position||"fixed"===o.position)||tq(a)&&!r&&function e(t,r){let n=tY(t);return!(n===r||!tT(n)||tZ(n))&&("fixed"===tK(n).position||e(n,r))}
1(e,a)))?o=t:n=n.filter(e=>e!==a),a=tY(a)}return t.set(e,n),n}(t,this._c):[].concat(r),n],a=t3(t,i[0],o),s=a.top,l=a.right,u=a.bottom,c=a.left;for(let e=1;e<i.length;e++){let r=t3(t,i[e],o);s=ta(r.top,s),l=ti(r.right,l),u=ti(r.bottom,u),c=ta(r.left,c)}return{width:l-c,height:u-s,x:c,y:s}},getOffsetParent:re,getElementRects:rt,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=tQ(e);return{width:t,height:r}},getScale:t1,isElement:tT,isRTL:function(e){return"rtl"===tK(e).direction}};function rn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ro=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:u,padding:c=0}=td(e,t)||{};if(null==u)return{};let d=tE(c),p={x:r,y:n},f=th(ty(o)),h=tm(f),m=await a.getDimensions(u),y="y"===f,v=y?"clientHeight":"clientWidth",g=i.reference[h]+i.reference[f]-p[f]-i.floating[h],_=p[f]-i.reference[f],b=await (null==a.getOffsetParent?void 0:a.getOffsetParent(u)),x=b?b[v]:0;x&&await (null==a.isElement?void 0:a.isElement(b))||(x=s.floating[v]||i.floating[h]);let w=x/2-m[h]/2-1,E=ti(d[y?"top":"left"],w),S=ti(d[y?"bottom":"right"],w),k=x-m[h]-S,j=x/2-m[h]/2+(g/2-_/2),C=ta(E,ti(j,k)),P=!l.arrow&&null!=tf(o)&&j!==C&&i.reference[h]/2-(j<E?E:S)-m[h]/2<0,O=P?j<E?j-E:j-k:0;return{[f]:p[f]+O,data:{[f]:C,centerOffset:j-C-O,...P&&{alignmentOffset:O}},reset:P}}});var ri="u">typeof document?eO.useLayoutEffect:function(){};function ra(e,t){let r,n,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!ra(e[n],t[n]))return!1;return!0}if((r=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!=n--;){let r=o[n];if(("_owner"!==r||!e.$$typeof)&&!ra(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function rs(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function rl(e,t){let r=rs(e);return Math.round(t*r)/r}function ru(e){let t=eO.useRef(e);return ri(()=>{t.current=e}),t}var rc=eO.forwardRef((e,t)=>{let{children:r,width:n=10,height:o=5,...i}=e;return(0,eF.jsx)(eZ.svg,{...i,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,eF.jsx)("polygon",{points:"0,0 30,0 15,10"})})});rc.displayName="Arrow";var rd="Popper",[rp,rf]=eH(rd),[rh,rm]=rp(rd),ry=e=>{let{__scopePopper:t,children:r}=e,[n,o]=eO.useState(null);return(0,eF.jsx)(rh,{scope:t,anchor:n,onAnchorChange:o,children:r})};ry.displayName=rd;var rv="PopperAnchor",rg=eO.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:n,...o}=e,i=rm(rv,r),a=eO.useRef(null),s=eq(t,a),l=eO.useRef(null);return eO.useEffect(()=>{let e=l.current;l.current=n?.current||a.current,e!==l.current&&i.onAnchorChange(l.current)}),n?null:(0,eF.jsx)(eZ.div,{...o,ref:s})});rg.displayName=rv;var r_="PopperContent",[rb,rx]=rp(r_),rw=eO.forwardRef((e,t)=>{var r,n,o,i,a,s,l,u,c,d,p,f,h,m,y,v,g,_,b,x,w;let E,S,k,j,C,P,{__scopePopper:O,side:M="bottom",sideOffset:R=0,align:V="center",alignOffset:A=0,arrowPadding:N=0,avoidCollisions:L=!0,collisionBoundary:z=[],collisionPadding:T=0,sticky:I="partial",hideWhenDetached:D=!1,updatePositionStrategy:q="optimized",onPlaced:F,...H}=e,W=rm(r_,O),[B,$]=eO.useState(null),U=eq(t,e=>$(e)),[Z,K]=eO.useState(null),X=function(e){let[t,r]=eO.useState(void 0);return tt(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,o=t.blockSize}else n=e.offsetWidth,o=e.offsetHeight;r({width:n,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(Z),Y=X?.width??0,G=X?.height??0,J="number"==typeof T?T:{top:0,right:0,bottom:0,left:0,...T},Q=Array.isArray(z)?z:[z],ee=Q.length>0,et={padding:J,boundary:Q.filter(rj),altBoundary:ee},{refs:er,floatingStyles:en,placement:eo,isPositioned:ei,middlewareData:ea}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:l,open:u}=e,[c,d]=eO.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[p,f]=eO.useState(n);ra(p,n)||f(n);let[h,m]=eO.useState(null),[y,v]=eO.useState(null),g=eO.useCallback(e=>
1{e!==w.current&&(w.current=e,m(e))},[]),_=eO.useCallback(e=>{e!==E.current&&(E.current=e,v(e))},[]),b=i||h,x=a||y,w=eO.useRef(null),E=eO.useRef(null),S=eO.useRef(c),k=null!=l,j=ru(l),C=ru(o),P=ru(u),O=eO.useCallback(()=>{var e,n;let o,i,a;if(!w.current||!E.current)return;let s={placement:t,strategy:r,middleware:p};C.current&&(s.platform=C.current),(e=w.current,n=E.current,o=new Map,a={...(i={platform:rr,...s}).platform,_c:o},tC(e,n,{...i,platform:a})).then(e=>{let t={...e,isPositioned:!1!==P.current};M.current&&!ra(S.current,t)&&(S.current=t,eW.flushSync(()=>{d(t)}))})},[p,t,r,C,P]);ri(()=>{!1===u&&S.current.isPositioned&&(S.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[u]);let M=eO.useRef(!1);ri(()=>(M.current=!0,()=>{M.current=!1}),[]),ri(()=>{if(b&&(w.current=b),x&&(E.current=x),b&&x){if(j.current)return j.current(b,x,O);O()}},[b,x,O,j,k]);let R=eO.useMemo(()=>({reference:w,floating:E,setReference:g,setFloating:_}),[g,_]),V=eO.useMemo(()=>({reference:b,floating:x}),[b,x]),A=eO.useMemo(()=>{let e={position:r,left:0,top:0};if(!V.floating)return e;let t=rl(V.floating,c.x),n=rl(V.floating,c.y);return s?{...e,transform:"translate("+t+"px, "+n+"px)",...rs(V.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,s,V.floating,c.x,c.y]);return eO.useMemo(()=>({...c,update:O,refs:R,elements:V,floatingStyles:A}),[c,O,R,V,A])}({strategy:"fixed",placement:M+("center"!==V?"-"+V:""),whileElementsMounted:(...e)=>(function(e,t,r,n){let o;void 0===n&&(n={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:u=!1}=n,c=t0(e),d=i||a?[...c?tG(c):[],...t?tG(t):[]]:[];d.forEach(e=>{i&&e.addEventListener("scroll",r,{passive:!0}),a&&e.addEventListener("resize",r)});let p=c&&l?function(e,t){let r,n=null,o=tL(e);function i(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return!function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();let u=e.getBoundingClientRect(),{left:c,top:d,width:p,height:f}=u;if(s||t(),!p||!f)return;let h={rootMargin:-tl(d)+"px "+-tl(o.clientWidth-(c+p))+"px "+-tl(o.clientHeight-(d+f))+"px "+-tl(c)+"px",threshold:ta(0,ti(1,l))||1},m=!0;function y(t){let n=t[0].intersectionRatio;if(n!==l){if(!m)return a();n?a(!1,n):r=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==n||rn(u,e.getBoundingClientRect())||a(),m=!1}try{n=new IntersectionObserver(y,{...h,root:o.ownerDocument})}catch(e){n=new IntersectionObserver(y,h)}n.observe(e)}(!0),i}(c,r):null,f=-1,h=null;s&&(h=new ResizeObserver(e=>{let[n]=e;n&&n.target===c&&h&&t&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),r()}),c&&!u&&h.observe(c),t&&h.observe(t));let m=u?t6(e):null;return u&&function t(){let n=t6(e);m&&!rn(m,n)&&r(),m=n,o=requestAnimationFrame(t)}(),r(),()=>{var e;d.forEach(e=>{i&&e.removeEventListener("scroll",r),a&&e.removeEventListener("resize",r)}),null==p||p(),null==(e=h)||e.disconnect(),h=null,u&&cancelAnimationFrame(o)}})(...e,{animationFrame:"always"===q}),elements:{reference:W.anchor},middleware:[{name:(E={name:"offset",options:o=r={mainAxis:R+G,alignmentAxis:A},async fn(e){var t,r;let{x:n,y:i,placement:a,middlewareData:s}=e,l=await tR(e,o);return a===(null==(t=s.offset)?void 0:t.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:n+l.x,y:i+l.y,data:{...l,placement:a}}}}).name,fn:E.fn,options:[r,n]},L&&{name:(S={name:"shift",options:c=l={mainAxis:!0,crossAxis:!1,limiter:"partial"===I?{fn:(void 0===(s=i)&&(s={}),{options:s,fn(e){let{x:t,y:r,placement:n,rects:o,middlewareData:i}=e,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=td(s,e),c={x:t,y:r},d=ty(n),p=th(d),f=c[p],h=c[d],m=td(a,e),y="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){let e="y"===p?"height":"width",t=o.reference[p]-o.floating[e]+y.mainAxis,r=o.reference[p]+o.reference[e]-y.mainAxis;f<t?f=t:f>r&&(f=r)}if(u){var v,g;let e="y"===p?"width":"height",t=tM.has(tp(n)),r=o.reference[d]-o.floating[e]+(t&&(null==(v=i.offset)?void 0:v[d])||0)+(t?0:y.crossAxis),a=o.reference[d]+o.reference[e]+(t?0:(null==(g=i.offset)?void 0:g[d])||0)-(t?y.crossAxis:0);h<r?h=r:h>a&&(h=a)}return{[p]:f,[d]:h}}}).fn,options:[i,a]}:void 0,...et},async fn(e){let{x:t,y:r,placement:n,platform:o}=e,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...l}=td(c,e),u={x:t,y:r},d=await o.detectOverflow(e,l),p=ty(tp(n)),f=th(p),h=u[f],m=u[p];if(i){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",r=h+d[e],n=h-d[t];h=ta(r,ti(h,n))}
1if(a){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",r=m+d[e],n=m-d[t];m=ta(r,ti(m,n))}let y=s.fn({...e,[f]:h,[p]:m});return{...y,data:{x:y.x-t,y:y.y-r,enabled:{[f]:i,[p]:a}}}}}).name,fn:S.fn,options:[l,u]},L&&{name:(k={name:"flip",options:f=d={...et},async fn(e){var t,r,n,o,i,a,s,l;let u,c,d,{placement:p,middlewareData:h,rects:m,initialPlacement:y,platform:v,elements:g}=e,{mainAxis:_=!0,crossAxis:b=!0,fallbackPlacements:x,fallbackStrategy:w="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:S=!0,...k}=td(f,e);if(null!=(t=h.arrow)&&t.alignmentOffset)return{};let j=tp(p),C=ty(y),P=tp(y)===y,O=await (null==v.isRTL?void 0:v.isRTL(g.floating)),M=x||(P||!S?[tw(y)]:(u=tw(y),[tv(y),u,tv(u)])),R="none"!==E;!x&&R&&M.push(...(c=tf(y),d=function(e,t,r){switch(e){case"top":case"bottom":if(r)return t?t_:tg;return t?tg:t_;case"left":case"right":return t?tb:tx;default:return[]}}(tp(y),"start"===E,O),c&&(d=d.map(e=>e+"-"+c),S&&(d=d.concat(d.map(tv)))),d));let V=[y,...M],A=await v.detectOverflow(e,k),N=[],L=(null==(r=h.flip)?void 0:r.overflows)||[];if(_&&N.push(A[j]),b){let e,t,r,n,o=(a=p,s=m,void 0===(l=O)&&(l=!1),e=tf(a),r=tm(t=th(ty(a))),n="x"===t?e===(l?"end":"start")?"right":"left":"start"===e?"bottom":"top",s.reference[r]>s.floating[r]&&(n=tw(n)),[n,tw(n)]);N.push(A[o[0]],A[o[1]])}if(L=[...L,{placement:p,overflows:N}],!N.every(e=>e<=0)){let e=((null==(n=h.flip)?void 0:n.index)||0)+1,t=V[e];if(t&&("alignment"!==b||C===ty(t)||L.every(e=>ty(e.placement)!==C||e.overflows[0]>0)))return{data:{index:e,overflows:L},reset:{placement:t}};let r=null==(o=L.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!r)switch(w){case"bestFit":{let e=null==(i=L.filter(e=>{if(R){let t=ty(e.placement);return t===C||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:i[0];e&&(r=e);break}case"initialPlacement":r=y}if(p!==r)return{reset:{placement:r}}}return{}}}).name,fn:k.fn,options:[d,p]},{name:(j={name:"size",options:y=h={...et,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${r}px`),a.setProperty("--radix-popper-available-height",`${n}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}},async fn(e){var t,r;let n,o,{placement:i,rects:a,platform:s,elements:l}=e,{apply:u=()=>{},...c}=td(y,e),d=await s.detectOverflow(e,c),p=tp(i),f=tf(i),h="y"===ty(i),{width:m,height:v}=a.floating;"top"===p||"bottom"===p?(n=p,o=f===(await (null==s.isRTL?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(o=p,n="end"===f?"top":"bottom");let g=v-d.top-d.bottom,_=m-d.left-d.right,b=ti(v-d[n],g),x=ti(m-d[o],_),w=!e.middlewareData.shift,E=b,S=x;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(S=_),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(E=g),w&&!f){let e=ta(d.left,0),t=ta(d.right,0),r=ta(d.top,0),n=ta(d.bottom,0);h?S=m-2*(0!==e||0!==t?e+t:ta(d.left,d.right)):E=v-2*(0!==r||0!==n?r+n:ta(d.top,d.bottom))}await u({...e,availableWidth:S,availableHeight:E});let k=await s.getDimensions(l.floating);return m!==k.width||v!==k.height?{reset:{rects:!0}}:{}}}).name,fn:j.fn,options:[h,m]},Z&&{name:(C={name:"arrow",options:_=v={element:Z,padding:N},fn(e){let{element:t,padding:r}="function"==typeof _?_(e):_;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?ro({element:t.current,padding:r}).fn(e):{}:t?ro({element:t,padding:r}).fn(e):{}}}).name,fn:C.fn,options:[v,g]},rC({arrowWidth:Y,arrowHeight:G}),D&&{name:(P={name:"hide",options:w=b={strategy:"referenceHidden",...et},async fn(e){let{rects:t,platform:r}=e,{strategy:n="referenceHidden",...o}=td(w,e);switch(n){case"referenceHidden":{let n=tP(await r.detectOverflow(e,{...o,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:tO(n)}}}case"escaped":{let n=tP(await r.detectOverflow(e,{...o,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:tO(n)}}}default:return{}}}}).name,fn:P.fn,options:[b,x]}]}),[es,el]=rP(eo),eu=eK(F);tt(()=>{ei&&eu?.()},[ei,eu]);let ec=ea.arrow?.x,ed=ea.arrow?.y,ep=ea.arrow?.centerOffset!==0,[ef,eh]=eO.useState();return tt(()=>{B&&eh(window.getComputedStyle(B).zIndex)},[B]),(0,eF.jsx)("div",{ref:er.setFloating,"data-radix-popper-content-wrapper":"",style:{...en,transform:ei?en.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ef,"--radix-popper-transform-origin":[ea.transformOrigin?.x,ea.transformOrigin?.y].join(" "),...ea.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eF.jsx)(rb,{scope:O,placedSide:es,onArrowChange:K,arrowX:ec,arrowY:ed,shouldHideArrow:ep,children:(0,eF.jsx)(eZ.div,{"data-side":es,"data-align":el,...H,ref:U,style:{...H.style,animation:ei?void 0:"none"}})})})});rw.displayName=r_;var rE="PopperArrow",rS={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},rk=eO.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,o=rx(rE,r),i=rS[o.placedSide];return(0,eF.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,eF.jsx)(rc,{...n,ref:t,style:{...n.style,display:"block"}})})});function rj(e){return null!==e}rk.displayName=rE;var rC=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:o}=t,i=o.arrow?.centerOffset!==0,a=i?0:e.arrowWidth,s=i?0:e.arrowHeight,[l,u]=rP(r),c={start:"0%",center:"50%",end:"100%"}[u],d=(o.arrow?.x??0)+a/2,p=(o.arrow?.y??0)+s/2,f="",h="";return"bottom"===l?(f=i?c:`${d}px`,h=`${-s}px`):"top"===l?(f=i?c:`${d}px`,h=`${n.floating.height+s}px`):"right"===l?(f=`${-s}px`,h=i?c:`${p}px`):"left"===l&&(f=`${n.floating.width+s}px`,h=i?c:`${p}px`),{data:{x:f,y:h}}}});function rP(e){let[t,r="center"]=e.split("-");return[t,r]}var rO=eO.forwardRef((e,t)=>{let{container:r,...n}=e,[o,i]=eO.useState(!1);tt(()=>i(!0),[]);let a=r||o&&globalThis?.document?.body;return a?eW.default.createPortal((0,eF.jsx)(eZ.div,{...n,ref:t}),a):null});rO.displayName="Portal";var rM=e=>{var t;let r,n,{present:o,children:i}=e,a=function(e){var t,r;let[n,o]=eO.useState(),i=eO.useRef(null),a=eO.useRef(e),s=eO.useRef("none"),[l,u]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},eO.useReducer((e,t)=>r[e][t]??e,t));return eO.useEffect(()=>{let e=rR(i.current);s.current="mounted"===l?e:"none"},[l]),tt(()=>{let t=i.current,r=a.current;if(r!==e){let n=s.current,o=rR(t);e?u("MOUNT"):"none"===o||t?.display==="none"?u("UNMOUNT"):r&&n!==o?u("ANIMATION_OUT"):u("UNMOUNT"),a.current=e}},[e,u]),tt(()=>{if(n){let e,t=n.ownerDocument.defaultView??window,r=r=>{let o=rR(i.current).includes(CSS.escape(r.animationName));if(r.target===n&&o&&(u("ANIMATION_END"),!a.current)){let r=n.style.animationFillMode;n.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=r)})}},o=e=>{e.target===n&&(s.current=rR(i.current))};return n.addEventListener("animationstart",o),n.addEventListener("animationcancel",r),n.addEventListener("animationend",r),()=>{t.clearTimeout(e),n.removeEventListener("animationstart",o),n.removeEventListener("animationcancel",r),n.removeEventListener("animationend",r)}}u("ANIMATION_END")},[n,u]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:eO.useCallback(e=>{i.current=e?getComputedStyle(e):null,o(e)},[])}}(o),s="function"==typeof i?i({present:a.isPresent}):eO.Children.only(i),l=eq(a.ref,(t=s,(n=(r=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.ref:(n=(r=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof i||a.isPresent?eO.cloneElement(s,{ref:l}):null};function rR(e){return e?.animationName||"none"}rM.displayName="Presence",eO[" useEffectEvent ".trim().toString()],eO[" useInsertionEffect ".trim().toString()];var rV=eO[" useInsertionEffect ".trim().toString()]||tt;Symbol("RADIX:SYNC_STATE");var rA=new WeakMap,rN=new WeakMap,rL={},rz=0,rT=function(e){return e&&(e.host||rT(e.parentNode))},rI=function(e,t,r,n){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=rT(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});rL[r]||(rL[r]=new WeakMap);var i=rL[r],a=[],s=new Set,l=new Set(o),u=function(e){!e||s.has(e)||(s.add(e),u(e.parentNode))};o.forEach(u);var c=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))c(e);else try{var t=e.getAttribute(n),o=null!==t&&"false"!==t,l=(rA.get(e)||0)+1,u=(i.get(e)||0)+1;rA.set(e,l),i.set(e,u),a.push(e),1===l&&o&&rN.set(e,!0),1===u&&e.setAttribute(r,"true"),o||e.setAttribute(n,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return c(t),s.clear(),rz++,function(){a.forEach(function(e){var t=rA.get(e)-1,o=i.get(e)-1;rA.set(e,t),i.set(e,o),t||(rN.has(e)||e.removeAttribute(n),rN.delete(e)),o||e.removeAttribute(r)}),--rz||(rA=new WeakMap,rA=new WeakMap,rN=new WeakMap,rL={})}},rD=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live], script"))),rI(n,o,r,"aria-hidden")):function(){return null}},rq=function(){return(rq=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function rF(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}var rH=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),rW="width-before-scroll-bar";function rB(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var r$="u">typeof window?eO.useLayoutEffect:eO.useEffect,rU=new WeakMap,rZ=(void 0===o&&(o={}),(void 0===i&&(i=function(e){return e}),a=[],s=!1,l={read:function(){if(s)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:null},useMedium:function(e){var t=i(e,s);return a.push(t),function(){a=a.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(s=!0;a.length;){var t=a;a=[],t.forEach(e)}a={push:function(t){return e(t)},filter:function(){return a}}},assignMedium:function(e){s=!0;var t=[];if(a.length){var r=a;a=[],r.forEach(e),t=a}var n=function(){var r=t;t=[],r.forEach(e)},o=function(){return Promise.resolve().then(n)};o(),a={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),a}}}}).options=rq({async:!0,ssr:!1},o),l),rK=function(){},rX=eO.forwardRef(function(e,t){var r,n,o,i,a=eO.useRef(null),s=eO.useState({onScrollCapture:rK,onWheelCapture:rK,onTouchMoveCapture:rK}),l=s[0],u=s[1],c=e.forwardProps,d=e.children,p=e.className,f=e.removeScrollBar,h=e.enabled,m=e.shards,y=e.sideCar,v=e.noRelative,g=e.noIsolation,_=e.inert,b=e.allowPinchZoom,x=e.as,w=e.gapMode,E=rF(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=(r=[a,t],n=function(e){return r.forEach(function(t){return rB(t,e)})},(o=(0,eO.useState)(function(){return{value:null,callback:n,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=n,i=o.facade,r$(function(){var e=rU.get(i);if(e){var t=new Set(e),n=new Set(r),o=i.current;t.forEach(function(e){n.has(e)||rB(e,null)}
1),n.forEach(function(e){t.has(e)||rB(e,o)})}rU.set(i,r)},[r]),i),k=rq(rq({},E),l);return eO.createElement(eO.Fragment,null,h&&eO.createElement(y,{sideCar:rZ,removeScrollBar:f,shards:m,noRelative:v,noIsolation:g,inert:_,setCallbacks:u,allowPinchZoom:!!b,lockRef:a,gapMode:w}),c?eO.cloneElement(eO.Children.only(d),rq(rq({},k),{ref:S})):eO.createElement(void 0===x?"div":x,rq({},k,{className:p,ref:S}),d))});rX.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},rX.classNames={fullWidth:rW,zeroRight:rH};var rY=function(e){var t=e.sideCar,r=rF(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return eO.createElement(n,rq({},r))};rY.isSideCarExport=!0;var rG=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=d||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var n,o;(n=t).styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},rJ=function(){var e=rG();return function(t,r){eO.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},rQ=function(){var e=rJ();return function(t){return e(t.styles,t.dynamic),null}},r0={left:0,top:0,right:0,gap:0},r1=function(e){return parseInt(e||"",10)||0},r2=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[r1(r),r1(n),r1(o)]},r4=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return r0;var t=r2(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},r6=rQ(),r8="data-scroll-locked",r5=function(e,t,r,n){var o=e.left,i=e.top,a=e.right,s=e.gap;return void 0===r&&(r="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(n,";\n   padding-right: ").concat(s,"px ").concat(n,";\n  }\n  body[").concat(r8,"] {\n    overflow: hidden ").concat(n,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(i,"px;\n    padding-right: ").concat(a,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(s,"px ").concat(n,";\n    "),"padding"===r&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(rH," {\n    right: ").concat(s,"px ").concat(n,";\n  }\n  \n  .").concat(rW," {\n    margin-right: ").concat(s,"px ").concat(n,";\n  }\n  \n  .").concat(rH," .").concat(rH," {\n    right: 0 ").concat(n,";\n  }\n  \n  .").concat(rW," .").concat(rW," {\n    margin-right: 0 ").concat(n,";\n  }\n  \n  body[").concat(r8,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n  }\n")},r3=function(){var e=parseInt(document.body.getAttribute(r8)||"0",10);return isFinite(e)?e:0},r7=function(){eO.useEffect(function(){return document.body.setAttribute(r8,(r3()+1).toString()),function(){var e=r3()-1;e<=0?document.body.removeAttribute(r8):document.body.setAttribute(r8,e.toString())}},[])},r9=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=void 0===n?"margin":n;r7();var i=eO.useMemo(function(){return r4(o)},[o]);return eO.createElement(r6,{styles:r5(i,!t,o,r?"":"!important")})},ne=!1;if("u">typeof window)try{var nt=Object.defineProperty({},"passive",{get:function(){return ne=!0,!0}});window.addEventListener("test",nt,nt),window.removeEventListener("test",nt,nt)}catch(e){ne=!1}var nr=!!ne&&{passive:!1},nn=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},no=function(e,t){var r=t.ownerDocument,n=t;do{if("u">typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),ni(e,n)){var o=na(e,n
1);if(o[1]>o[2])return!0}n=n.parentNode}while(n&&n!==r.body)return!1},ni=function(e,t){return"v"===e?nn(t,"overflowY"):nn(t,"overflowX")},na=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},ns=function(e,t,r,n,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),s=a*n,l=r.target,u=t.contains(l),c=!1,d=s>0,p=0,f=0;do{if(!l)break;var h=na(e,l),m=h[0],y=h[1]-h[2]-a*m;(m||y)&&ni(e,l)&&(p+=y,f+=m);var v=l.parentNode;l=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!u&&l!==document.body||u&&(t.contains(l)||t===l))return d&&(o&&1>Math.abs(p)||!o&&s>p)?c=!0:!d&&(o&&1>Math.abs(f)||!o&&-s>f)&&(c=!0),c},nl=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},nu=function(e){return[e.deltaX,e.deltaY]},nc=function(e){return e&&"current"in e?e.current:e},nd=0,np=[];let nf=(u=function(e){var t=eO.useRef([]),r=eO.useRef([0,0]),n=eO.useRef(),o=eO.useState(nd++)[0],i=eO.useState(rQ)[0],a=eO.useRef(e);eO.useEffect(function(){a.current=e},[e]),eO.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,r){if(r||2==arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(nc),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=eO.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var o,i=nl(e),s=r.current,l="deltaX"in e?e.deltaX:s[0]-i[0],u="deltaY"in e?e.deltaY:s[1]-i[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var p=window.getSelection(),f=p&&p.anchorNode;if(f&&(f===c||f.contains(c)))return!1;var h=no(d,c);if(!h)return!0;if(h?o=d:(o="v"===d?"h":"v",h=no(d,c)),!h)return!1;if(!n.current&&"changedTouches"in e&&(l||u)&&(n.current=o),!o)return!0;var m=n.current||o;return ns(m,t,e,"h"===m?l:u,!0)},[]),l=eO.useCallback(function(e){if(np.length&&np[np.length-1]===i){var r="deltaY"in e?nu(e):nl(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var o=(a.current.shards||[]).map(nc).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?s(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=eO.useCallback(function(e,r,n,o){var i={name:e,delta:r,target:n,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),c=eO.useCallback(function(e){r.current=nl(e),n.current=void 0},[]),d=eO.useCallback(function(t){u(t.type,nu(t),t.target,s(t,e.lockRef.current))},[]),p=eO.useCallback(function(t){u(t.type,nl(t),t.target,s(t,e.lockRef.current))},[]);eO.useEffect(function(){return np.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",l,nr),document.addEventListener("touchmove",l,nr),document.addEventListener("touchstart",c,nr),function(){np=np.filter(function(e){return e!==i}),document.removeEventListener("wheel",l,nr),document.removeEventListener("touchmove",l,nr),document.removeEventListener("touchstart",c,nr)}},[]);var f=e.removeScrollBar,h=e.inert;return eO.createElement(eO.Fragment,null,h?eO.createElement(i,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,f?eO.createElement(r9,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},rZ.useMedium(u),rY);var nh=eO.forwardRef(function(e,t){return eO.createElement(rX,rq({},e,{ref:t,sideCar:nf}))});nh.classNames=rX.classNames;
1var nm="Popover",[ny,nv]=eH(nm,[rf]),ng=rf(),[n_,nb]=ny(nm),nx=e=>{let{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,s=ng(t),l=eO.useRef(null),[u,c]=eO.useState(!1),[d,p]=function({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){let[o,i,a]=function({defaultProp:e,onChange:t}){let[r,n]=eO.useState(e),o=eO.useRef(r),i=eO.useRef(t);return rV(()=>{i.current=t},[t]),eO.useEffect(()=>{o.current!==r&&(i.current?.(r),o.current=r)},[r,o]),[r,n,i]}({defaultProp:t,onChange:r}),s=void 0!==e,l=s?e:o;{let t=eO.useRef(void 0!==e);eO.useEffect(()=>{let e=t.current;if(e!==s){let t=s?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=s},[s,n])}return[l,eO.useCallback(t=>{if(s){let r="function"==typeof t?t(e):t;r!==e&&a.current?.(r)}else i(t)},[s,e,i,a])]}({prop:n,defaultProp:o??!1,onChange:i,caller:nm});return(0,eF.jsx)(ry,{...s,children:(0,eF.jsx)(n_,{scope:t,contentId:function(){let[e,t]=eO.useState(tr());return tt(()=>{t(e=>e??String(tn++))},[void 0]),e?`radix-${e}`:""}(),triggerRef:l,open:d,onOpenChange:p,onOpenToggle:eO.useCallback(()=>p(e=>!e),[p]),hasCustomAnchor:u,onCustomAnchorAdd:eO.useCallback(()=>c(!0),[]),onCustomAnchorRemove:eO.useCallback(()=>c(!1),[]),modal:a,children:r})})};nx.displayName=nm;var nw="PopoverAnchor";eO.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,o=nb(nw,r),i=ng(r),{onCustomAnchorAdd:a,onCustomAnchorRemove:s}=o;return eO.useEffect(()=>(a(),()=>s()),[a,s]),(0,eF.jsx)(rg,{...i,...n,ref:t})}).displayName=nw;var nE="PopoverTrigger",nS=eO.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,o=nb(nE,r),i=ng(r),a=eq(t,o.triggerRef),s=(0,eF.jsx)(eZ.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":nz(o.open),...n,ref:a,onClick:eT(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?s:(0,eF.jsx)(rg,{asChild:!0,...i,children:s})});nS.displayName=nE;var nk="PopoverPortal",[nj,nC]=ny(nk,{forceMount:void 0}),nP=e=>{let{__scopePopover:t,forceMount:r,children:n,container:o}=e,i=nb(nk,t);return(0,eF.jsx)(nj,{scope:t,forceMount:r,children:(0,eF.jsx)(rM,{present:r||i.open,children:(0,eF.jsx)(rO,{asChild:!0,container:o,children:n})})})};nP.displayName=nk;var nO="PopoverContent",nM=eO.forwardRef((e,t)=>{let r=nC(nO,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,i=nb(nO,e.__scopePopover);return(0,eF.jsx)(rM,{present:n||i.open,children:i.modal?(0,eF.jsx)(nV,{...o,ref:t}):(0,eF.jsx)(nA,{...o,ref:t})})});nM.displayName=nO;var nR=eB("PopoverContent.RemoveScroll"),nV=eO.forwardRef((e,t)=>{let r=nb(nO,e.__scopePopover),n=eO.useRef(null),o=eq(t,n),i=eO.useRef(!1);return eO.useEffect(()=>{let e=n.current;if(e)return rD(e)},[]),(0,eF.jsx)(nh,{as:nR,allowPinchZoom:!0,children:(0,eF.jsx)(nN,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:eT(e.onCloseAutoFocus,e=>{e.preventDefault(),i.current||r.triggerRef.current?.focus()}),onPointerDownOutside:eT(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;i.current=2===t.button||r},{checkForDefaultPrevented:!1}),onFocusOutside:eT(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),nA=eO.forwardRef((e,t)=>{let r=nb(nO,e.__scopePopover),n=eO.useRef(!1),o=eO.useRef(!1);return(0,eF.jsx)(nN,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(n.current||r.triggerRef.current?.focus(),t.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(n.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let i=t.target;r.triggerRef.current?.contains(i)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),nN=eO.forwardRef((e,t)=>{let{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,...d}=e,p=nb(nO,r),f=ng(r);return eO.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??e1()),document.body.insertAdjacentElement("beforeend",e[1]??e1()),e0++,()=>{1===e0&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e
1=>e.remove()),e0--}},[]),(0,eF.jsx)(e8,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:i,children:(0,eF.jsx)(eG,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1),children:(0,eF.jsx)(rw,{"data-state":nz(p.open),role:"dialog",id:p.contentId,...f,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),nL="PopoverClose";function nz(e){return e?"open":"closed"}eO.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,o=nb(nL,r);return(0,eF.jsx)(eZ.button,{type:"button",...n,ref:t,onClick:eT(e.onClick,()=>o.onOpenChange(!1))})}).displayName=nL,eO.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,o=ng(r);return(0,eF.jsx)(rk,{...o,...n,ref:t})}).displayName="PopoverArrow",(0,p.init_react_import)(),(0,p.init_react_import)(),(0,p.init_react_import)();var nT=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();(0,p.init_react_import)(),(0,p.init_react_import)();var nI={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},nD=(0,eO.forwardRef)((e,t)=>{var{color:r="currentColor",size:n=24,strokeWidth:o=2,absoluteStrokeWidth:i,className:a="",children:s,iconNode:l}=e,u=(0,p.__objRest)(e,["color","size","strokeWidth","absoluteStrokeWidth","className","children","iconNode"]);return(0,eO.createElement)("svg",(0,p.__spreadValues)((0,p.__spreadProps)((0,p.__spreadValues)({ref:t},nI),{width:n,height:n,stroke:r,strokeWidth:i?24*Number(o)/Number(n):o,className:nT("lucide",a)}),u),[...l.map(([e,t])=>(0,eO.createElement)(e,t)),...Array.isArray(s)?s:[s]])}),nq=(e,t)=>{let r=(0,eO.forwardRef)((r,n)=>{var{className:o}=r,i=(0,p.__objRest)(r,["className"]);return(0,eO.createElement)(nD,(0,p.__spreadValues)({ref:n,iconNode:t,className:nT(`lucide-${e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,o)},i))});return r.displayName=`${e}`,r},nF=nq("AlignLeft",[["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M17 18H3",key:"1amg6g"}],["path",{d:"M21 6H3",key:"1jwq7v"}]]);(0,p.init_react_import)();var nH=nq("Heading",[["path",{d:"M6 12h12",key:"8npq4p"}],["path",{d:"M6 20V4",key:"1w1bmo"}],["path",{d:"M18 20V4",key:"o2hl4u"}]]);(0,p.init_react_import)();var nW=nq("List",[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]]);(0,p.init_react_import)(),(0,p.init_react_import)();var nB=nq("AlignCenter",[["path",{d:"M17 12H7",key:"16if0g"}],["path",{d:"M19 18H5",key:"18s9l3"}],["path",{d:"M21 6H3",key:"1jwq7v"}]]);(0,p.init_react_import)();var n$=nq("AlignJustify",[["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 18h18",key:"1h113x"}],["path",{d:"M3 6h18",key:"d0wm0j"}]]);(0,p.init_react_import)();var nU=nq("AlignRight",[["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M21 18H7",key:"1ygte8"}],["path",{d:"M21 6H3",key:"1jwq7v"}]]);(0,p.init_react_import)();var nZ=nq("Bold",[["path",{d:"M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",key:"mg9rjx"}]]);(0,p.init_react_import)();var nK=nq("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);(0,p.init_react_import)();var nX=nq("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);(0,p.init_react_import)();var nY=nq("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);(0,p.init_react_import)();var nG=nq("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);(0,p.init_react_import)();var nJ=nq("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]]);(0,p.init_react_import)();
1var nQ=nq("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);(0,p.init_react_import)();var n0=nq("CornerLeftUp",[["polyline",{points:"14 9 9 4 4 9",key:"m9oyvo"}],["path",{d:"M20 20h-7a4 4 0 0 1-4-4V4",key:"1blwi3"}]]);(0,p.init_react_import)();var n1=nq("EllipsisVertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]]);(0,p.init_react_import)();var n2=nq("Expand",[["path",{d:"m21 21-6-6m6 6v-4.8m0 4.8h-4.8",key:"1c15vz"}],["path",{d:"M3 16.2V21m0 0h4.8M3 21l6-6",key:"1fsnz2"}],["path",{d:"M21 7.8V3m0 0h-4.8M21 3l-6 6",key:"hawz9i"}],["path",{d:"M3 7.8V3m0 0h4.8M3 3l6 6",key:"u9ee12"}]]);(0,p.init_react_import)();var n4=nq("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);(0,p.init_react_import)();var n6=nq("Hammer",[["path",{d:"m15 12-8.373 8.373a1 1 0 1 1-3-3L12 9",key:"eefl8a"}],["path",{d:"m18 15 4-4",key:"16gjal"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172V7l-2.26-2.26a6 6 0 0 0-4.202-1.756L9 2.96l.92.82A6.18 6.18 0 0 1 12 8.4V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5",key:"b7pghm"}]]);(0,p.init_react_import)();var n8=nq("Hash",[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]);(0,p.init_react_import)();var n5=nq("Heading1",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"m17 12 3-2v8",key:"1hhhft"}]]);(0,p.init_react_import)();var n3=nq("Heading2",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1",key:"9jr5yi"}]]);(0,p.init_react_import)();var n7=nq("Heading3",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2",key:"68ncm8"}],["path",{d:"M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2",key:"1ejuhz"}]]);(0,p.init_react_import)();var n9=nq("Heading4",[["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M17 10v3a1 1 0 0 0 1 1h3",key:"tj5zdr"}],["path",{d:"M21 10v8",key:"1kdml4"}],["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}]]);(0,p.init_react_import)();var oe=nq("Heading5",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M17 13v-3h4",key:"1nvgqp"}],["path",{d:"M17 17.7c.4.2.8.3 1.3.3 1.5 0 2.7-1.1 2.7-2.5S19.8 13 18.3 13H17",key:"2nebdn"}]]);(0,p.init_react_import)();var ot=nq("Heading6",[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["circle",{cx:"19",cy:"16",r:"2",key:"15mx69"}],["path",{d:"M20 10c-2 2-3 3.5-3 6",key:"f35dl0"}]]);(0,p.init_react_import)();var or=nq("Italic",[["line",{x1:"19",x2:"10",y1:"4",y2:"4",key:"15jd3p"}],["line",{x1:"14",x2:"5",y1:"20",y2:"20",key:"bu0au3"}],["line",{x1:"15",x2:"9",y1:"4",y2:"20",key:"uljnxc"}]]);(0,p.init_react_import)();var on=nq("Layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);(0,p.init_react_import)();var oo=nq("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]);(0,p.init_react_import)();var oi=nq("Link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);(0,p.init_react_import)();var oa=nq("ListOrdered",[["path",{d:"M10 12h11",key:"6m4ad9"}],["path",{d:"M10 18h11",key:"11hvi2"}],["path",{d:"M10 6h11",key:"c7qv1k"}],["path",{d:"M4 10h2",key:"16xx2s"}],["path",{d:"M4 6h1v4",key:"cnovpq"}],["path",{d:"M6 18H4c0-1 2-2 2-3s-1-1.5-2-1",key:"m9a95d"}]]);(0,p.init_react_import)();var os=nq("LockOpen",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 9.9-1",key:"1mm8w8"}]]);(0,p.init_react_import)();
1var ol=nq("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);(0,p.init_react_import)();var ou=nq("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);(0,p.init_react_import)();var oc=nq("Minimize2",[["polyline",{points:"4 14 10 14 10 20",key:"11kfnr"}],["polyline",{points:"20 10 14 10 14 4",key:"rlmsce"}],["line",{x1:"14",x2:"21",y1:"10",y2:"3",key:"o5lafz"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);(0,p.init_react_import)();var od=nq("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);(0,p.init_react_import)();var op=nq("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);(0,p.init_react_import)();var of=nq("PanelLeft",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]]);(0,p.init_react_import)();var oh=nq("PanelRight",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);(0,p.init_react_import)();var om=nq("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);(0,p.init_react_import)();var oy=nq("Quote",[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]]);(0,p.init_react_import)();var ov=nq("RectangleEllipsis",[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M17 12h.01",key:"1m0b6t"}],["path",{d:"M7 12h.01",key:"eqddd0"}]]);(0,p.init_react_import)();var og=nq("Redo2",[["path",{d:"m15 14 5-5-5-5",key:"12vg1m"}],["path",{d:"M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13",key:"6uklza"}]]);(0,p.init_react_import)();var o_=nq("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);(0,p.init_react_import)();var ob=nq("SlidersHorizontal",[["line",{x1:"21",x2:"14",y1:"4",y2:"4",key:"obuewd"}],["line",{x1:"10",x2:"3",y1:"4",y2:"4",key:"1q6298"}],["line",{x1:"21",x2:"12",y1:"12",y2:"12",key:"1iu8h1"}],["line",{x1:"8",x2:"3",y1:"12",y2:"12",key:"ntss68"}],["line",{x1:"21",x2:"16",y1:"20",y2:"20",key:"14d8ph"}],["line",{x1:"12",x2:"3",y1:"20",y2:"20",key:"m0wm8r"}],["line",{x1:"14",x2:"14",y1:"2",y2:"6",key:"14e1ph"}],["line",{x1:"8",x2:"8",y1:"10",y2:"14",key:"1i6ji0"}],["line",{x1:"16",x2:"16",y1:"18",y2:"22",key:"1lctlv"}]]);(0,p.init_react_import)();var ox=nq("Smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]);(0,p.init_react_import)();var ow=nq("SquareCode",[["path",{d:"M10 9.5 8 12l2 2.5",key:"3mjy60"}],["path",{d:"m14 9.5 2 2.5-2 2.5",key:"1bir2l"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);(0,p.init_react_import)();var oE=nq("Strikethrough",[["path",{d:"M16 4H9a3 3 0 0 0-2.83 4",key:"43sutm"}],["path",{d:"M14 12a4 4 0 0 1 0 8H6",key:"nlfj13"}],["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}]]);(0,p.init_react_import)();var oS=nq("Tablet",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["line",{x1:"12",x2:"12.01",y1:"18",y2:"18",key:"1dp563"}]]);(0,p.init_react_import)();var ok=nq("ToyBrick",[["rect",{width:"18",height:"12",x:"3",y:"8",rx:"1",key:"158fvp"}],["path",{d:"M10 8V5c0-.6-.4-1-1-1H6a1 1 0 0 0-1 1v3",key:"s0042v"}],["path",{d:"M19 8V5c0-.6-.4-1-1-1h-3a1 1 0 0 0-1 1v3",key:"9wmeh2"}]]);(0,p.init_react_import)();var oj=nq("Trash",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}]]);(0,p.init_react_import)();var oC=nq("Type",[["polyline",{points:"4 7 4 4 20 4 20 7",key:"1nosan"}],["line",{x1:"9",x2:"15",y1:"20",y2:"20",key:"swin9y"}],["line",{x1:"12",x2:"12",y1:"4",y2:"20",key:"1tx1rr"}]]);(0,p.init_react_import)();
1var oP=nq("Underline",[["path",{d:"M6 4v6a6 6 0 0 0 12 0V4",key:"9kb039"}],["line",{x1:"4",x2:"20",y1:"20",y2:"20",key:"nun2al"}]]);(0,p.init_react_import)();var oO=nq("Undo2",[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]]);(0,p.init_react_import)();var oM=nq("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);(0,p.init_react_import)();var oR=nq("ZoomIn",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);(0,p.init_react_import)();var oV=nq("ZoomOut",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);(0,p.init_react_import)(),(0,p.init_react_import)(),(0,p.init_react_import)();var oA={ControlLeft:"ctrl",ControlRight:"ctrl",MetaLeft:"meta",MetaRight:"meta",ShiftLeft:"shift",ShiftRight:"shift",KeyA:"a",KeyB:"b",KeyC:"c",KeyD:"d",KeyE:"e",KeyF:"f",KeyG:"g",KeyH:"h",KeyI:"i",KeyJ:"j",KeyK:"k",KeyL:"l",KeyM:"m",KeyN:"n",KeyO:"o",KeyP:"p",KeyQ:"q",KeyR:"r",KeyS:"s",KeyT:"t",KeyU:"u",KeyV:"v",KeyW:"w",KeyX:"x",KeyY:"y",KeyZ:"z",Delete:"delete",Backspace:"backspace",AltRight:"altRight"},oN=eL()(ez(e=>({held:{},hold:t=>e(e=>e.held[t]?e:{held:(0,p.__spreadProps)((0,p.__spreadValues)({},e.held),{[t]:!0})}),release:t=>e(e=>e.held[t]?{held:(0,p.__spreadProps)((0,p.__spreadValues)({},e.held),{[t]:!1})}:e),reset:(t={})=>e(()=>({held:t})),triggers:{}}))),oL=e=>{let t=e=>{if(e.getModifierState("AltGraph"))return void oN.getState().hold("altRight");let t=oA[e.code];if(t){oN.getState().hold(t);let{held:r,triggers:n}=oN.getState();Object.values(n).forEach(({combo:t,cb:n})=>{Object.entries(t).every(([e,t])=>!!r[e]===t)&&Object.entries(r).every(([e,r])=>!!t[e]===r)&&!1!==n(e)&&e.preventDefault()}
1),"meta"!==t&&"ctrl"!==t&&"shift"!==t&&oN.getState().release(t)}},r=e=>{if(!e.getModifierState("AltGraph")&&"ControlRight"===e.code)return void oN.getState().release("altRight");let t=oA[e.code];t&&("meta"===t?oN.getState().reset():oN.getState().release(t))},n=e=>{"hidden"===document.visibilityState&&oN.getState().reset()},o=()=>{oN.getState().reset()};return window.addEventListener("blur",o),e.addEventListener("keydown",t),e.addEventListener("keyup",r),e.addEventListener("visibilitychange",n),()=>{e.removeEventListener("keydown",t),e.removeEventListener("keyup",r),e.removeEventListener("visibilitychange",n),window.removeEventListener("blur",o)}},oz=(e,t)=>{(0,eO.useEffect)(()=>oN.setState(r=>({triggers:(0,p.__spreadProps)((0,p.__spreadValues)({},r.triggers),{[`${Object.keys(e).join("+")}`]:{combo:e,cb:t}})})),[])},oT=e=>(0,p.__spreadProps)((0,p.__spreadValues)({},e),{ui:(0,p.__spreadProps)((0,p.__spreadValues)({},e.ui),{field:(0,p.__spreadProps)((0,p.__spreadValues)({},e.ui.field),{focus:null})})});(0,p.init_react_import)(),(0,p.init_react_import)(),(0,p.init_react_import)();var oI=(e,t)=>{let r=[];return L(e,t,e=>e,e=>(r.push(e),e)),r};(0,p.init_react_import)(),(0,p.init_react_import)();var oD={title:{type:"text"}},oq=e=>eL()(ez((t,r)=>{var n,o;let i,a;return(0,p.__spreadProps)((0,p.__spreadValues)({instanceId:z(),state:eC,config:{components:{}},componentState:{},plugins:[],overrides:{},viewports:eE,zoomConfig:{autoZoom:1,rootHeight:0,zoom:1},status:"LOADING",iframe:{},_experimentalFullScreenCanvas:!1,_experimentalVirtualization:!1,metadata:{},fieldTransforms:{}},e),{fields:{fields:{},loading:!1,lastResolvedData:{},id:void 0},history:{initialAppState:{},index:0,histories:[],hasPast:()=>r().history.index>0,hasFuture:()=>r().history.index<r().history.histories.length-1,prevHistory:()=>{let{history:e}=r();
1return e.hasPast()?e.histories[e.index-1]:null},nextHistory:()=>{let e=r().history;return e.hasFuture()?e.histories[e.index+1]:null},currentHistory:()=>r().history.histories[r().history.index],back:()=>{var e;let{history:n,dispatch:o}=r();n.hasPast()&&(o({type:"set",state:oT((null==(e=n.prevHistory())?void 0:e.state)||n.initialAppState)}),t({history:(0,p.__spreadProps)((0,p.__spreadValues)({},n),{index:n.index-1})}))},forward:()=>{var e;let{history:n,dispatch:o}=r();if(n.hasFuture()){let r=null==(e=n.nextHistory())?void 0:e.state;o({type:"set",state:r?oT(r):{}}),t({history:(0,p.__spreadProps)((0,p.__spreadValues)({},n),{index:n.index+1})})}},setHistories:e=>{var n;let{dispatch:o,history:i}=r();o({type:"set",state:(null==(n=e[e.length-1])?void 0:n.state)||i.initialAppState}),t({history:(0,p.__spreadProps)((0,p.__spreadValues)({},i),{histories:e,index:e.length-1})})},setHistoryIndex:e=>{var n;let{dispatch:o,history:i}=r();o({type:"set",state:(null==(n=i.histories[e])?void 0:n.state)||i.initialAppState}),t({history:(0,p.__spreadProps)((0,p.__spreadValues)({},i),{index:e})})},record:function(e,t=300){let r;return(...n)=>{clearTimeout(r),r=setTimeout(()=>{e(...n)},t)}}(e=>{let{histories:n,index:o}=r().history,i={state:e,id:z("history")},a=[...n.slice(0,o+1),i];t({history:(0,p.__spreadProps)((0,p.__spreadValues)({},r().history),{histories:a,index:a.length-1})})},250)},nodes:(i=new Map,{registerNode:(e,t)=>{i.set(e,t)},unregisterNode:e=>{i.delete(e)},syncNode:e=>{var t;e&&(null==(t=i.get(e))||t.sync())},syncNodes:e=>{e.forEach(e=>{var t;e&&(null==(t=i.get(e))||t.sync())})},setOverlayVisible:(e,t)=>{if(!e)return;let r=i.get(e);if(r){if(t)return void r.showOverlay();r.hideOverlay()}}}),permissions:{cache:{},globalPermissions:{drag:!0,edit:!0,delete:!0,duplicate:!0,insert:!0},resolvedPermissions:{},getPermissions:({item:e,type:t,root:n}={})=>{let{config:o,permissions:i}=r(),{globalPermissions:a,resolvedPermissions:s}=i;if(e){let t=o.components[e.type],r=(0,p.__spreadValues)((0,p.__spreadValues)({},a),null==t?void 0:t.permissions),n=s[e.props.id];return n?(0,p.__spreadValues)((0,p.__spreadValues)({},a),n):r}if(t){let e=o.components[t];return(0,p.__spreadValues)((0,p.__spreadValues)({},a),null==e?void 0:e.permissions)}if(n){let e=o.root,t=(0,p.__spreadValues)((0,p.__spreadValues)({},a),null==e?void 0:e.permissions),r=s.root;return r?(0,p.__spreadValues)((0,p.__spreadValues)({},a),r):t}return a},resolvePermissions:a=(...e)=>(0,p.__async)(null,[...e],function*(e={},n){let{state:o,permissions:i,config:a}=r(),{cache:s,globalPermissions:l}=i,u=(e,n=!1)=>(0,p.__async)(null,null,function*(){var o,i;let{config:a,state:u,setComponentLoading:c}=r(),d=s[e.props.id],f=u.indexes.nodes,h=null==(o=f[e.props.id])?void 0:o.parentId,m=h?f[h]:null,y=null!=(i=null==m?void 0:m.data)?i:null,v="root"===e.type?a.root:a.components[e.type];if(!v)return;let g=(0,p.__spreadValues)((0,p.__spreadValues)({},l),v.permissions);if(v.resolvePermissions){let o=eS(e,null==d?void 0:d.lastData),i=Object.values(o).some(e=>!0===e),a=(null==d?void 0:d.lastParentId)!==h;if(i||a||n){let n=c(e.props.id,!0,50),i=yield v.resolvePermissions(e,{changed:o,lastPermissions:(null==d?void 0:d.lastPermissions)||null,permissions:g,appState:U(u),lastData:(null==d?void 0:d.lastData)||null,parent:y}),a=r().permissions;t({permissions:(0,p.__spreadProps)((0,p.__spreadValues)({},a),{cache:(0,p.__spreadProps)((0,p.__spreadValues)({},a.cache),{[e.props.id]:{lastParentId:h,lastData:e,lastPermissions:i}}),resolvedPermissions:(0,p.__spreadProps)((0,p.__spreadValues)({},a.resolvedPermissions),{[e.props.id]:i})})}),n()}}}),{item:c,type:d,root:f}=e;c?yield u(c,n):d?oI(o,a).filter(e=>e.type===d).map(e=>(0,p.__async)(null,null,function*(){yield u(e,n)})):f?((e=!1)=>{let{state:t}=r();u({type:"root",props:(0,p.__spreadProps)((0,p.__spreadValues)({},t.data.root.props),{id:"root"})},e)})(n):oI(o,a).map(e=>(0,p.__async)(null,null,function*(){yield u(e,n)}))}),refreshPermissions:e=>a(e,!0)},getCurrentData:()=>{var e;let t=r();return null!=(e=t.selectedItem)?e:t.state.data.root},getComponentConfig:e=>{var t;let{config:n,selectedItem:o}=r(),i=(null==(t=n.root)?void 0:t.fields)||oD;return e&&"root"!==e?n.components[e]:o?n.components[o.type]:(0,p.__spreadProps)((0,p.__spreadValues)({},n.root),{fields:i})},selectedItem:(null==(n=null==e?void 0:e.state)?void 0:n.ui.itemSelector)?H(null==(o=null==e?void 0:e.state)?void 0:o.ui.itemSelector,e.state):null,dispatch:e=>t(t=>{var n,o;let{record:i}=r().history,a=Z({record:i,appStore:t})(t.state,e),s=a.ui.itemSelector?H(a.ui.itemSelector,a):null;return null==(o=(n=r()).onAction)||o.call(n,e,a,r().state),(0,p.__spreadProps)((0,p.__spreadValues)({},t),{state:a,selectedItem:s})}),setZoomConfig:e=>t({zoomConfig:e}),setStatus:e=>t({status:e}),setComponentState:e=>t({componentState:e}),pendingLoadTimeouts:{},setComponentLoading:(e,n=!0,o=0)=>{let{setComponentState:i,pendingLoadTimeouts:a}=r(),s=z(),l=()=>{var n;
1let{componentState:o}=r();clearTimeout(u),delete a[s],t({pendingLoadTimeouts:a}),i((0,p.__spreadProps)((0,p.__spreadValues)({},o),{[e]:(0,p.__spreadProps)((0,p.__spreadValues)({},o[e]),{loadingCount:Math.max(((null==(n=o[e])?void 0:n.loadingCount)||0)-1,0)})}))},u=setTimeout(()=>{n?(()=>{var t;let{componentState:n}=r();i((0,p.__spreadProps)((0,p.__spreadValues)({},n),{[e]:(0,p.__spreadProps)((0,p.__spreadValues)({},n[e]),{loadingCount:((null==(t=n[e])?void 0:t.loadingCount)||0)+1})}))})():l(),delete a[s],t({pendingLoadTimeouts:a})},o);return t({pendingLoadTimeouts:(0,p.__spreadProps)((0,p.__spreadValues)({},a),{[e]:u})}),l},unsetComponentLoading:e=>{let{setComponentLoading:t}=r();t(e,!1)},setUi:(e,r)=>t(t=>{let n=Z({record:()=>{},appStore:t})(t.state,{type:"setUi",ui:e,recordHistory:r}),o=n.ui.itemSelector?H(n.ui.itemSelector,n):null;return(0,p.__spreadProps)((0,p.__spreadValues)({},t),{state:n,selectedItem:o})}),resolveComponentData:(e,t)=>(0,p.__async)(null,null,function*(){var n,o;let{config:i,metadata:a,setComponentLoading:s,permissions:l,state:u}=r(),c="id"in e.props?e.props.id:"root",d=null==(n=u.indexes.nodes[c])?void 0:n.parentId,f=d?u.indexes.nodes[d]:null,h=null!=(o=null==f?void 0:f.data)?o:null,m={};return yield ej(e,i,a,e=>{let t="id"in e.props?e.props.id:"root";m[t]=s(t,!0,50)},e=>(0,p.__async)(null,null,function*(){let t="id"in e.props?e.props.id:"root";"type"in e?yield l.refreshPermissions({item:e}):yield l.refreshPermissions({root:!0}),m[t]()}),t,h)}),resolveAndCommitData:()=>(0,p.__async)(null,null,function*(){let{config:e,state:t,dispatch:n,resolveComponentData:o}=r();L(t,e,e=>e,(e,t)=>(t.length>1||o(e,"load").then(e=>{let{state:t}=r(),o=t.indexes.nodes[e.node.props.id];if(o&&e.didChange)if("root"===e.node.props.id)n({type:"replaceRoot",root:(e=>{if("type"in e&&"root"!==e.type)throw Error("Converting non-root item to root.");let{readOnly:t}=e;if(e.props){if("id"in e.props){let r=e.props,{id:n}=r;return{props:(0,p.__objRest)(r,["id"]),readOnly:t}}return{props:e.props,readOnly:t}}return{props:{},readOnly:t}})(e.node)});else{let r=`${o.parentId}:${o.zone}`,i=t.indexes.zones[r].contentIds.indexOf(e.node.props.id);n({type:"replace",data:e.node,destinationIndex:i,destinationZone:r})}}),e))})})})),oF=(0,eO.createContext)(oq());function oH(){return(0,eO.useContext)(oF)}(0,p.init_react_import)();var oW=(0,eO.createContext)({}),oB=()=>(0,eO.useContext)(oW);(0,p.init_react_import)(),(0,p.init_react_import)(),(0,p.init_react_import)();var o$={Select:"_Select_xjbef_1","Select-button":"_Select-button_xjbef_6","Select--hasOptions":"_Select--hasOptions_xjbef_19","Select--disabled":"_Select--disabled_xjbef_23","Select-buttonIcon":"_Select-buttonIcon_xjbef_27","Select--standalone":"_Select--standalone_xjbef_33","Select--actionBar":"_Select--actionBar_xjbef_38","Select--hasValue":"_Select--hasValue_xjbef_44","Select-items":"_Select-items_xjbef_61",SelectItem:"_SelectItem_xjbef_72","SelectItem--isSelected":"_SelectItem--isSelected_xjbef_87","SelectItem-icon":"_SelectItem-icon_xjbef_93"};(0,p.init_react_import)(),(0,p.init_react_import)(),(0,p.init_react_import)(),(0,p.init_react_import)(),(0,p.init_react_import)(),(0,p.init_react_import)(),(0,p.init_react_import)(),(0,p.init_react_import)();var oU=function(e){var t=e.top,r=e.right,n=e.bottom,o=e.left;return{top:t,right:r,bottom:n,left:o,width:r-o,height:n-t,x:o,y:t,center:{x:(r+o)/2,y:(n+t)/2}}},oZ=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},oK={top:0,right:0,bottom:0,left:0},oX=function(e){var t=e.borderBox,r=e.margin,n=void 0===r?oK:r,o=e.border,i=void 0===o?oK:o,a=e.padding,s=void 0===a?oK:a,l=oU({top:t.top-n.top,left:t.left-n.left,bottom:t.bottom+n.bottom,right:t.right+n.right}),u=oU(oZ(t,i)),c=oU(oZ(u,s));return{marginBox:l,borderBox:oU(t),paddingBox:u,contentBox:c,margin:n,border:i,padding:s}},oY=function(e){var t=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var r=Number(t);return isNaN(r)&&function(e){if(!e)throw Error("Invariant failed")}(!1),r},oG=function(e,t){var r={top:oY(t.marginTop),right:oY(t.marginRight),bottom:oY(t.marginBottom),left:oY(t.marginLeft)};return oX({borderBox:e,margin:r,padding:{top:oY(t.paddingTop),right:oY(t.paddingRight),bottom:oY(t.paddingBottom),left:oY(t.paddingLeft)},border:{top:oY(t.borderTopWidth),right:oY(t.borderRightWidth),bottom:oY(t.borderBottomWidth),left:oY(t.borderLeftWidth)}})},oJ=function(e){return oG(e.getBoundingClientRect(),window.getComputedStyle(e))},oQ=(0,eP.get_class_name_factory_default)("Select",o$),o0=(0,eP.get_class_name_factory_default)("SelectItem",o$),o1=({children:e,isSelected:t,onClick:r})=>(0,eF.jsx)("button",{className:o0({isSelected:t}),onClick:r,children:e}),o2=({children:e,options:t,onChange:r,value:n,defaultValue:o,mode:i,disabled:a=!1})=>{let[s,l]=(0,eO.useState)(!1),u=t.length>0;return(0,eF.jsx)("div",{className:oQ({hasValue:n!==o,hasOptions:u,actionBar:"actionBar"===i,standalone:"standalone"===i,disabled:a||!u}),children:(0,eF.jsxs)(nx,{open:s,onOpenChange:l,children:[u?(0,eF.jsx)(nS,{asChild:!0,children:(0,eF.jsxs)("button",{className:oQ("button"),children:[(0,eF.jsx)("span",{className:oQ("buttonIcon"),children:e}),(0,eF.jsx)(nK,{size:12})]})}):(0,eF.jsx)("div",{children:(0,eF.jsxs)("div",{className:oQ("button"),children:[(0,eF.jsx)("span",{className:oQ("buttonIcon"),children:e}),(0,eF.jsx)(nK,{size:12})]})}),t.length>0&&(0,eF.jsx)(nP,{children:(0,eF.jsx)(nM,{align:"start",children:(0,eF.jsx)("ul",{className:oQ("items"),"data-puck-rte-menu":!0,children:t.map(e=>{let t=e.icon;return(0,eF.jsx)("li",{children:(0,eF.jsxs)(o1,{isSelected:n===e.value,onClick:()=>{r(e.value),l(!1)},children:[t&&(0,eF.jsx)("div",{className:o0("icon"),children:(0,eF.jsx)(t,{size:16})}),e.label]})},e.value)})})})})]})})};e.s(["AlignCenter",0,nB,"AlignJustify",0,n$,"AlignLeft",0,nF,"AlignRight",0,nU,"Bold",0,nZ,"ChevronDown",0,nK,"ChevronRight",0,nX,"ChevronUp",0,nY,"CircleCheckBig",0,nG,"Code",0,nJ,"ControlContext",0,oW,"Copy",0,nQ,"CornerLeftUp",0,n0,"EllipsisVertical",0,n1,"Expand",0,n2,"Globe",0,n4,"Hammer",0,n6,"Hash",0,n8,"Heading",0,nH,"Heading1",0,n5,"Heading2",0,n3,"Heading3",0,n7,"Heading4",0,n9,"Heading5",0,oe,"Heading6",0,ot,"Italic",0,or,"Layers",0,on,"LayoutGrid",0,oo,"Link",0,oi,"List",0,nW,"ListOrdered",0,oa,"Lock",0,ol,"LockOpen",0,os,"Maximize2",0,ou,"Minimize2",0,oc,"Minus",0,od,"Monitor",0,op,"PanelLeft",0,of,"PanelRight",0,oh,"Plus",0,om,"Quote",0,oy,"RectangleEllipsis",0,ov,"Redo2",0,og,"Search",0,o_,"SelectControl",0,function({renderDefaultIcon:e,onChange:t,options:r,value:n,defaultValue:o}){var i,a;let{inline:s,readOnly:l}=oB(),u=(0,eO.useMemo)(()=>r.reduce((e,t)=>
1(0,p.__spreadProps)((0,p.__spreadValues)({},e),{[t.value]:t}),{}),[r]),c=null!=(a=n&&(null==(i=u[n])?void 0:i.icon))?a:e;return(0,eF.jsx)(o2,{options:r,onChange:t,value:n,defaultValue:o,mode:s?"actionBar":"standalone",disabled:l,children:(0,eF.jsx)(c,{})})},"SlidersHorizontal",0,ob,"Smartphone",0,ox,"SquareCode",0,ow,"Strikethrough",0,oE,"Tablet",0,oS,"ToyBrick",0,ok,"Trash",0,oj,"Type",0,oC,"Underline",0,oP,"Undo2",0,oO,"X",0,oM,"ZoomIn",0,oR,"ZoomOut",0,oV,"appStoreContext",0,oF,"createAppStore",0,oq,"getBox",0,oJ,"monitorHotkeys",0,oL,"reorder",0,(e,t,r)=>{let n=Array.from(e),[o]=n.splice(t,1);return n.splice(r,0,o),n},"replace",0,(e,t,r)=>{let n=Array.from(e);return n.splice(t,1),n.splice(t,0,r),n},"useAppStore",0,function(e){return eA((0,eO.useContext)(oF),e)},"useAppStoreApi",0,oH,"useControlContext",0,oB,"useHotkey",0,oz,"useMonitorHotkeys",0,()=>{(0,eO.useEffect)(()=>oL(document),[])},"useRegisterFieldsSlice",0,(e,t)=>{let r=(0,eO.useCallback)(r=>(0,p.__async)(null,null,function*(){var n,o;let{fields:i,lastResolvedData:a}=e.getState().fields,s=e.getState().metadata,l=e.getState().state.indexes.nodes,u=l[t||"root"],c=null==u?void 0:u.data,d=(null==u?void 0:u.parentId)?l[u.parentId]:null,f=(null==d?void 0:d.data)||null,{getComponentConfig:h,state:m}=e.getState(),y=h(null==c?void 0:c.type);if(!c||!y)return;let v=y.fields||{},g=y.resolveFields,_=i;if(r&&(e.setState(e=>({fields:(0,p.__spreadProps)((0,p.__spreadValues)({},e.fields),{fields:v,id:t})})),_=v),g){let r=setTimeout(()=>{e.setState(e=>({fields:(0,p.__spreadProps)((0,p.__spreadValues)({},e.fields),{loading:!0})}))},50),i=(null==(n=a.props)?void 0:n.id)===t?a:null,l=eS(c,i),u=yield g(c,{changed:l,fields:v,lastFields:_,metadata:(0,p.__spreadValues)((0,p.__spreadValues)({},s),y.metadata),lastData:i,appState:U(m),parent:f});if(clearTimeout(r),(null==(o=e.getState().selectedItem)?void 0:o.props.id)!==t)return;e.setState({fields:{fields:u,loading:!1,lastResolvedData:c,id:t}})}else e.setState(e=>({fields:(0,p.__spreadProps)((0,p.__spreadValues)({},e.fields),{fields:v,id:t})}))}),[t]);(0,eO.useEffect)(()=>(r(!0),e.subscribe(e=>e.state.indexes.nodes[t||"root"],()=>r())),[t])},"useRegisterHistorySlice",0,function(e,{histories:t,index:r,initialAppState:n}){(0,eO.useEffect)(()=>e.setState({history:(0,p.__spreadProps)((0,p.__spreadValues)({},e.getState().history),{histories:t,index:r,initialAppState:n})}),[t,r,n]);let o=()=>{e.getState().history.back()},i=()=>{e.getState().history.forward()};oz({altRight:!1,meta:!0,z:!0},o),oz({altRight:!1,meta:!0,shift:!0,z:!0},i),oz({altRight:!1,meta:!0,y:!0},i),oz({altRight:!1,ctrl:!0,z:!0},o),oz({altRight:!1,ctrl:!0,shift:!0,z:!0},i),oz({altRight:!1,ctrl:!0,y:!0},i)},"useRegisterPermissionsSlice",0,(e,t)=>{(0,eO.useEffect)(()=>{let{permissions:r}=e.getState(),{globalPermissions:n}=r;e.setState({permissions:(0,p.__spreadProps)((0,p.__spreadValues)({},r),{globalPermissions:(0,p.__spreadValues)((0,p.__spreadValues)({},n),t)})}),r.resolvePermissions()},[t]),(0,eO.useEffect)(()=>e.subscribe(e=>e.state.data,()=>{e.getState().permissions.resolvePermissions()}),[]),(0,eO.useEffect)(()=>e.subscribe(e=>e.config,()=>{e.getState().permissions.resolvePermissions()}),[])},"useResetAutoZoom",0,e=>{let t=oH();return r=>{let{state:n,zoomConfig:o,setZoomConfig:i}=t.getState(),{viewports:a}=n.ui,s=(null==r?void 0:r.viewports)||a;e.current&&i(((e,t,r)=>{let{width:n,height:o}=oJ(t).contentBox,i="auto"===e.height?o:e.height,a=0,s=1;if("number"==typeof e.width&&(e.width>n||i>o)){let t=Math.min(n/e.width,1),l=Math.min(o/i,1);r=t,t<l?a=i/r:(a=i,r=l),s=r}else s=1,r=1,a=i;return{autoZoom:s,rootHeight:a,zoom:r}})(null==s?void 0:s.current,e.current,o.zoom))}}],616660)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.