1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,75830,e=>{"use strict";var t=e.i(271645),r=e.i(30030),n=e.i(820783),o=e.i(843476);function i(e){var r;let i,l=(r=e,(i=t.forwardRef((e,r)=>{let{children:o,...i}=e;if(t.isValidElement(o)){var l;let e,a,s=(l=o,(a=(e=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.ref:(a=(e=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.props.ref:l.props.ref||l.ref),c=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}}(i,o.props);return o.type!==t.Fragment&&(c.ref=r?(0,n.composeRefs)(r,s):s),t.cloneElement(o,c)}return t.Children.count(o)>1?t.Children.only(null):null})).displayName=`${r}.SlotClone`,i),s=t.forwardRef((e,r)=>{let{children:n,...i}=e,s=t.Children.toArray(n),c=s.find(a);if(c){let e=c.props.children,n=s.map(r=>r!==c?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,o.jsx)(l,{...i,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,n):null})}return(0,o.jsx)(l,{...i,ref:r,children:n})});return s.displayName=`${e}.Slot`,s}var l=Symbol("radix.slottable");function a(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===l}e.s(["createCollection",0,function(e){let l=e+"CollectionProvider",[a,s]=(0,r.createContextScope)(l),[c,u]=a(l,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:r,children:n}=e,i=t.default.useRef(null),l=t.default.useRef(new Map).current;return(0,o.jsx)(c,{scope:r,itemMap:l,collectionRef:i,children:n})};d.displayName=l;let f=e+"CollectionSlot",p=i(f),m=t.default.forwardRef((e,t)=>{let{scope:r,children:i}=e,l=u(f,r),a=(0,n.useComposedRefs)(t,l.collectionRef);return(0,o.jsx)(p,{ref:a,children:i})});m.displayName=f;let g=e+"CollectionItemSlot",v="data-radix-collection-item",h=i(g),y=t.default.forwardRef((e,r)=>{let{scope:i,children:l,...a}=e,s=t.default.useRef(null),c=(0,n.useComposedRefs)(r,s),d=u(g,i);return t.default.useEffect(()=>(d.itemMap.set(s,{ref:s,...a}),()=>void d.itemMap.delete(s))),(0,o.jsx)(h,{...{[v]:""},ref:c,children:l})});return y.displayName=g,[{Provider:d,Slot:m,ItemSlot:y},function(r){let n=u(e+"CollectionConsumer",r);return t.default.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${v}]`));return Array.from(n.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[n.collectionRef,n.itemMap])},s]}],75830)},326999,e=>{"use strict";let t,r,n;var o=e.i(271645),i=e.i(981140),l=e.i(820783),a=e.i(30030),s=e.i(610772),c=e.i(369340),u=e.i(726330),d=e.i(765491),f=e.i(774606),p=e.i(296626),m=e.i(248425),g=e.i(303536),v=e.i(985369),h=e.i(186312),y=e.i(843476),x=Symbol("radix.slottable");function b(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===x}var w="Dialog",[C,j]=(0,a.createContextScope)(w),[R,E]=C(w),D=e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:i,onOpenChange:l,modal:a=!0}=e,u=o.useRef(null),d=o.useRef(null),[f,p]=(0,c.useControllableState)({prop:n,defaultProp:i??!1,onChange:l,caller:w});return(0,y.jsx)(R,{scope:t,triggerRef:u,contentRef:d,contentId:(0,s.useId)(),titleId:(0,s.useId)(),descriptionId:(0,s.useId)(),open:f,onOpenChange:p,onOpenToggle:o.useCallback(()=>p(e=>!e),[p]),modal:a,children:r})};D.displayName=w;var O="DialogTrigger",S=o.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=E(O,r),a=(0,l.useComposedRefs)(t,o.triggerRef);return(0,y.jsx)(m.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":q(o.open),...n,ref:a,onClick:(0,i.composeEventHandlers)(e.onClick,o.onOpenToggle)})});S.displayName=O;var I="DialogPortal",[N,P]=C(I,{forceMount:void 0}),k=e=>{let{__scopeDialog:t,forceMount:r,children:n,container:i}=e,l=E(I,t);return(0,y.jsx)(N,{scope:t,forceMount:r,children:o.Children.map(n,e=>(0,y.jsx)(p.Presence,{present:r||l.open,children:(0,y.jsx)(f.Portal,{asChild:!0,container:i,children:e})}))})};k.displayName=I;var F="DialogOverlay",A=o.forwardRef((e,t)=>
1{let r=P(F,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,i=E(F,e.__scopeDialog);return i.modal?(0,y.jsx)(p.Presence,{present:n||i.open,children:(0,y.jsx)(_,{...o,ref:t})}):null});A.displayName=F;var T=((n=o.forwardRef((e,t)=>{let{children:r,...n}=e;if(o.isValidElement(r)){var i;let e,a,s=(i=r,(a=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(a=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),c=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!==o.Fragment&&(c.ref=t?(0,l.composeRefs)(t,s):s),o.cloneElement(r,c)}return o.Children.count(r)>1?o.Children.only(null):null})).displayName="DialogOverlay.RemoveScroll.SlotClone",t=n,(r=o.forwardRef((e,r)=>{let{children:n,...i}=e,l=o.Children.toArray(n),a=l.find(b);if(a){let e=a.props.children,n=l.map(t=>t!==a?t:o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null);return(0,y.jsx)(t,{...i,ref:r,children:o.isValidElement(e)?o.cloneElement(e,void 0,n):null})}return(0,y.jsx)(t,{...i,ref:r,children:n})})).displayName="DialogOverlay.RemoveScroll.Slot",r),_=o.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=E(F,r);return(0,y.jsx)(v.RemoveScroll,{as:T,allowPinchZoom:!0,shards:[o.contentRef],children:(0,y.jsx)(m.Primitive.div,{"data-state":q(o.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),M="DialogContent",H=o.forwardRef((e,t)=>{let r=P(M,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,i=E(M,e.__scopeDialog);return(0,y.jsx)(p.Presence,{present:n||i.open,children:i.modal?(0,y.jsx)(W,{...o,ref:t}):(0,y.jsx)(L,{...o,ref:t})})});H.displayName=M;var W=o.forwardRef((e,t)=>{let r=E(M,e.__scopeDialog),n=o.useRef(null),a=(0,l.useComposedRefs)(t,r.contentRef,n);return o.useEffect(()=>{let e=n.current;if(e)return(0,h.hideOthers)(e)},[]),(0,y.jsx)(B,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:(0,i.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,i.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),L=o.forwardRef((e,t)=>{let r=E(M,e.__scopeDialog),n=o.useRef(!1),i=o.useRef(!1);return(0,y.jsx)(B,{...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,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(n.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let o=t.target;r.triggerRef.current?.contains(o)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),B=o.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:a,...s}=e,c=E(M,r),f=o.useRef(null),p=(0,l.useComposedRefs)(t,f);return(0,g.useFocusGuards)(),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(d.FocusScope,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,y.jsx)(u.DismissableLayer,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":q(c.open),...s,ref:p,onDismiss:()=>c.onOpenChange(!1)})}),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(X,{titleId:c.titleId}),(0,y.jsx)(Y,{contentRef:f,descriptionId:c.descriptionId})]})]})}),$="DialogTitle",K=o.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=E($,r);return(0,y.jsx)(m.Primitive.h2,{id:o.titleId,...n,ref:t})});K.displayName=$;var V="DialogDescription",z=o.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=E(V,r);return(0,y.jsx)(m.Primitive.p,{id:o.descriptionId,...n,ref:t})});z.displayName=V;var G="DialogClose",U=o.forwardRef((e,t)=>
1{let{__scopeDialog:r,...n}=e,o=E(G,r);return(0,y.jsx)(m.Primitive.button,{type:"button",...n,ref:t,onClick:(0,i.composeEventHandlers)(e.onClick,()=>o.onOpenChange(!1))})});function q(e){return e?"open":"closed"}U.displayName=G;var Z="DialogTitleWarning",[J,Q]=(0,a.createContext)(Z,{contentName:M,titleName:$,docsSlug:"dialog"}),X=({titleId:e})=>{let t=Q(Z),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 2 3If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 4 5For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return o.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},Y=({contentRef:e,descriptionId:t})=>{let r=Q("DialogDescriptionWarning"),n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${r.contentName}}.`;return o.useEffect(()=>{let r=e.current?.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null};e.s(["Close",0,U,"Content",0,H,"Description",0,z,"Overlay",0,A,"Portal",0,k,"Root",0,D,"Title",0,K,"Trigger",0,S,"WarningProvider",0,J,"createDialogScope",0,j],326999)},586318,e=>{"use strict";var t=e.i(271645);e.i(843476);var r=t.createContext(void 0);e.s(["useDirection",0,function(e){let n=t.useContext(r);return e||n||"ltr"}])},842727,e=>{"use strict";var t=e.i(271645),r=e.i(981140),n=e.i(75830),o=e.i(820783),i=e.i(30030),l=e.i(610772),a=e.i(248425),s=e.i(30207),c=e.i(369340),u=e.i(586318),d=e.i(843476),f="rovingFocusGroup.onEntryFocus",p={bubbles:!1,cancelable:!0},m="RovingFocusGroup",[g,v,h]=(0,n.createCollection)(m),[y,x]=(0,i.createContextScope)(m,[h]),[b,w]=y(m),C=t.forwardRef((e,t)=>(0,d.jsx)(g.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,d.jsx)(g.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,d.jsx)(j,{...e,ref:t})})}));C.displayName=m;var j=t.forwardRef((e,n)=>{let{__scopeRovingFocusGroup:i,orientation:l,loop:g=!1,dir:h,currentTabStopId:y,defaultCurrentTabStopId:x,onCurrentTabStopIdChange:w,onEntryFocus:C,preventScrollOnEntryFocus:j=!1,...R}=e,E=t.useRef(null),D=(0,o.useComposedRefs)(n,E),S=(0,u.useDirection)(h),[I,N]=(0,c.useControllableState)({prop:y,defaultProp:x??null,onChange:w,caller:m}),[P,k]=t.useState(!1),F=(0,s.useCallbackRef)(C),A=v(i),T=t.useRef(!1),[_,M]=t.useState(0);return t.useEffect(()=>{let e=E.current;if(e)return e.addEventListener(f,F),()=>e.removeEventListener(f,F)},[F]),(0,d.jsx)(b,{scope:i,orientation:l,dir:S,loop:g,currentTabStopId:I,onItemFocus:t.useCallback(e=>N(e),[N]),onItemShiftTab:t.useCallback(()=>k(!0),[]),onFocusableItemAdd:t.useCallback(()=>M(e=>e+1),[]),onFocusableItemRemove:t.useCallback(()=>M(e=>e-1),[]),children:(0,d.jsx)(a.Primitive.div,{tabIndex:P||0===_?-1:0,"data-orientation":l,...R,ref:D,style:{outline:"none",...e.style},onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,()=>{T.current=!0}),onFocus:(0,r.composeEventHandlers)(e.onFocus,e=>{let t=!T.current;if(e.target===e.currentTarget&&t&&!P){let t=new CustomEvent(f,p);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=A().filter(e=>e.focusable);O([e.find(e=>e.active),e.find(e=>e.id===I),...e].filter(Boolean).map(e=>e.ref.current),j)}}T.current=!1}),onBlur:(0,r.composeEventHandlers)(e.onBlur,()=>k(!1))})})}),R="RovingFocusGroupItem",E=t.forwardRef((e,n)=>{let{__scopeRovingFocusGroup:o,focusable:i=!0,active:s=!1,tabStopId:c,children:u,...f}=e,p=(0,l.useId)(),m=c||p,h=w(R,o),y=h.currentTabStopId===m,x=v(o),{onFocusableItemAdd:b,onFocusableItemRemove:C,currentTabStopId:j}=h;return t.useEffect(()=>{if(i)return b(),()=>C()},[i,b,C]),(0,d.jsx)(g.ItemSlot,{scope:o,id:m,focusable:i,active:s,children:(0,d.jsx)(a.Primitive.span,{tabIndex:y?0:-1,"data-orientation":h.orientation,...f,ref:n,onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,e=>{i?h.onItemFocus(m):e.preventDefault()}),onFocus:(0,r.composeEventHandlers)(e.onFocus,()=>h.onItemFocus(m)),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void h.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let o=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return D[o]}(e,h.orientation,h.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let o=x().filter(e=>
5e.focusable).map(e=>e.ref.current);if("last"===t)o.reverse();else if("prev"===t||"next"===t){var r,n;"prev"===t&&o.reverse();let i=o.indexOf(e.currentTarget);o=h.loop?(r=o,n=i+1,r.map((e,t)=>r[(n+t)%r.length])):o.slice(i+1)}setTimeout(()=>O(o))}}),children:"function"==typeof u?u({isCurrentTabStop:y,hasTabStop:null!=j}):u})})});E.displayName=R;var D={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function O(e,t=!1){let r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}e.s(["Item",0,E,"Root",0,C,"createRovingFocusGroupScope",0,x])},940141,450286,e=>{"use strict";var t=e.i(271645),r={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},n=t.default.createContext&&t.default.createContext(r);e.s(["DefaultContext",0,r,"IconContext",0,n],450286);var o=["attr","size","title"];function i(){return(i=Object.assign.bind()).apply(null,arguments)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e){var l=r=>{var n,{attr:l,size:s,title:c}=e,u=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&({}).propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,o),d=s||r.size||"1em";return r.className&&(n=r.className),e.className&&(n=(n?n+" ":"")+e.className),t.default.createElement("svg",i({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,l,u,{className:n,style:a(a({color:e.color||r.color},r.style),e.style),height:d,width:d,xmlns:"http://www.w3.org/2000/svg"}),c&&t.default.createElement("title",null,c),e.children)};return void 0!==n?t.default.createElement(n.Consumer,null,e=>l(e)):l(r)}e.s(["GenIcon",0,function(e){return r=>t.default.createElement(s,i({attr:a({},e.attr)},r),function e(r){return r&&r.map((r,n)=>t.default.createElement(r.tag,a({key:n},r.attr),e(r.child)))}(e.child))},"IconBase",0,s],940141)},455263,e=>{"use strict";let t=0;e.s(["createSettingsHistorySessionId",0,e=>{let r=(t=(t+1)%1e6).toString(36),n=Math.random().toString(36).slice(2,8);return`${e}-${Date.now().toString(36)}-${r}-${n}`},"emitEditorSettingsHistoryEvent",0,e=>{try{window.dispatchEvent(new CustomEvent("hiveality:editor-settings-change",{detail:{...e,at:e.at??Date.now()}}))}catch{}},"emitEditorSettingsSessionActiveEvent",0,e=>{try{window.dispatchEvent(new CustomEvent("hiveality:editor-settings-session-active",{detail:{...e,at:e.at??Date.now()}}))}catch{}}])},776639,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(326999),o=e.i(62704),i=e.i(975157),l=e.i(758299),a=e.i(455263);let s=()=>window.location.pathname.includes("/ws/design"),c=n.Trigger,u=n.Portal,d=n.Close,f=r.forwardRef(({className:e,...r},o)=>(0,t.jsx)(n.Overlay,{ref:o,className:(0,i.cn)("dialog-overlay fixed inset-0 z-50",e),...r}));f.displayName=n.Overlay.displayName;let p=r.forwardRef(({className:e,overlayClassName:r,style:a,hideCloseButton:s=!1,container:c,children:d,...p},m)=>{let g=(0,l.usePortalTheme)(),v=!!document.querySelector(".app-shell");return(0,t.jsxs)(u,{container:c??void 0,children:[(0,t.jsx)(f,{className:r}),(0,t.jsxs)(n.Content,{ref:m,style:{...g.style,...a},className:(0,i.cn)("dialog-content fixed z-50 grid w-full max-w-lg gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 sm:rounded-lg","left-[50%] top-[50%] translate-x-[-50%] translate-y-[-50%] data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",v&&"app-shell-dialog",g.className,e),...p,children:[d,!s&&(0,t.jsxs)(n.Close,{className:"absolute right-4 top-4 roun
5ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,t.jsx)(o.CloseControlIcon,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});p.displayName=n.Content.displayName;let m=({className:e,...r})=>(0,t.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-1.5 text-center sm:text-left",e),...r});m.displayName="DialogHeader";let g=({className:e,...r})=>(0,t.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...r});g.displayName="DialogFooter";let v=r.forwardRef(({className:e,...r},o)=>(0,t.jsx)(n.Title,{ref:o,className:(0,i.cn)("text-lg font-semibold leading-none tracking-tight",e),...r}));v.displayName=n.Title.displayName;let h=r.forwardRef(({className:e,...r},o)=>(0,t.jsx)(n.Description,{ref:o,className:(0,i.cn)("text-sm text-muted-foreground",e),...r}));h.displayName=n.Description.displayName,e.s(["Dialog",0,({children:e,open:o,onOpenChange:i,historySessionSource:l="ui-dialog",historySessionEnabled:c=!0,...u})=>{let d=r.useRef(null),f=r.useRef(null),p=r.useCallback(()=>{if(!c||!s())return null;try{let e={};return window.dispatchEvent(new CustomEvent("craftjs-read-state-hash",{detail:e})),"string"==typeof e.hash?e.hash:null}catch{return null}},[c]),m=r.useCallback(()=>{if(!c||!s()||d.current)return;let e=(0,a.createSettingsHistorySessionId)(l);d.current=e,f.current=p(),(0,a.emitEditorSettingsSessionActiveEvent)({source:l,sessionId:e,phase:"open"})},[c,l,p]),g=r.useCallback(()=>{let e=d.current;if(!e)return;let t=f.current,r=p(),n="string"==typeof t&&"string"==typeof r&&t.length>0&&r.length>0&&t!==r;(0,a.emitEditorSettingsSessionActiveEvent)({source:l,sessionId:e,phase:"close"}),(0,a.emitEditorSettingsHistoryEvent)({source:l,sessionId:e,phase:n?"commit":"cancel",label:"Properties changed",force:n}),d.current=null,f.current=null},[l,p]);r.useEffect(()=>{if("boolean"==typeof o){if(o)return void m();g()}},[g,o,m]),r.useEffect(()=>()=>g(),[g]);let v=r.useCallback(e=>{e?m():g(),i?.(e)},[g,i,m]);return(0,t.jsx)(n.Root,{open:o,onOpenChange:v,...u,children:e})},"DialogClose",0,d,"DialogContent",0,p,"DialogDescription",0,h,"DialogFooter",0,g,"DialogHeader",0,m,"DialogTitle",0,v,"DialogTrigger",0,c])},793479,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(975157);let o=r.forwardRef(({className:e,type:r,...o},i)=>(0,t.jsx)("input",{type:r,className:(0,n.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
5ing-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-0 focus-visible:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-50",e),ref:i,...o}));o.displayName="Input",e.s(["Input",0,o])},62704,e=>{"use strict";var t=e.i(843476);e.s(["CloseControlIcon",0,function(e){return(0,t.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...e,children:(0,t.jsx)("path",{d:"M18 6 6 18 M6 6l12 12"})})},"PhoneCheckIcon",0,function(e){return(0,t.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...e,children:(0,t.jsx)("polyline",{points:"20 6 9 17 4 12"})})},"PhoneChevronsIcon",0,function(e){return(0,t.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...e,children:(0,t.jsx)("path",{d:"m7 15 5 5 5-5 M7 9l5-5 5 5"})})},"SearchControlIcon",0,function(e){return(0,t.jsxs)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...e,children:[(0,t.jsx)("circle",{cx:"11",cy:"11",r:"8"}),(0,t.jsx)("path",{d:"m21 21-4.3-4.3"})]})}])}]);
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.