@camstack/addon-admin-ui 1.2.61 → 1.2.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/dist/assets/{AddLocationWizard-BVrPN8yV.js → AddLocationWizard-DL-p2pfI.js} +1 -1
  2. package/dist/assets/{AddonCollectionPage-Cluggqrl.js → AddonCollectionPage-GmBzeWfb.js} +1 -1
  3. package/dist/assets/{Addons-pf4_6Np6.js → Addons-DJZ0fLKa.js} +1 -1
  4. package/dist/assets/{AdminTabs-D4DXIa-o.js → AdminTabs-BJAp46Yc.js} +1 -1
  5. package/dist/assets/AiProfiles-Dr3P3tTd.js +3 -0
  6. package/dist/assets/{BrokerForm-DpZEb2oo.js → BrokerForm-B5lFCkpx.js} +1 -1
  7. package/dist/assets/{Build-DFf7JJQN.js → Build-BF5TjhPZ.js} +1 -1
  8. package/dist/assets/{Capabilities-fyyhemKk.js → Capabilities-dM4kxoPi.js} +1 -1
  9. package/dist/assets/{CapabilityBadges-CFAqIVEN.js → CapabilityBadges-BXTtPMj5.js} +1 -1
  10. package/dist/assets/{Cluster-BI79yXHi.js → Cluster-Bc9KL5vo.js} +1 -1
  11. package/dist/assets/{Data-BnH1FBcv.js → Data-Ck3PTxjk.js} +1 -1
  12. package/dist/assets/{DetectionIntelligence-pZ34_QKw.js → DetectionIntelligence-CQAuuHZJ.js} +1 -1
  13. package/dist/assets/{DeviceAggregateSection-DcU4HtPo.js → DeviceAggregateSection-BUdjIJ3K.js} +1 -1
  14. package/dist/assets/{DeviceDetail-D4IEMIPA.js → DeviceDetail-BcCMnGp5.js} +1 -1
  15. package/dist/assets/{Devices-Qvmjz6OV.js → Devices-BcsFIXeR.js} +1 -1
  16. package/dist/assets/{EmbedPlayerPage-BiOYECZo.js → EmbedPlayerPage-BvDdFRwh.js} +1 -1
  17. package/dist/assets/{Events-BkGGzjc6.js → Events-BPJx8pMN.js} +1 -1
  18. package/dist/assets/{FormBuilder-Ce9uWxtp.js → FormBuilder-eO_2opNc.js} +1 -1
  19. package/dist/assets/{Identity-Dz2q6O35.js → Identity-cScC97Mq.js} +1 -1
  20. package/dist/assets/{IntegrationDetail-BgYnCOqc.js → IntegrationDetail-BrI5QbcU.js} +1 -1
  21. package/dist/assets/{Integrations-JZkpFkbO.js → Integrations-BDRRlSaJ.js} +1 -1
  22. package/dist/assets/{Integrations-CGDgpbY3.js → Integrations-DJuPZXOa.js} +1 -1
  23. package/dist/assets/{Logs-Dc8myuGB.js → Logs-DgjSPchK.js} +1 -1
  24. package/dist/assets/{MotionZonesSettings-CNAneuwi.js → MotionZonesSettings-B2pHjyow.js} +1 -1
  25. package/dist/assets/{MyAccess-BplkKorv.js → MyAccess-Cb_qTJZZ.js} +1 -1
  26. package/dist/assets/{Network-DkXgbHRL.js → Network-Bc4x3mCD.js} +1 -1
  27. package/dist/assets/{NodeAddonsSettingsPanel-qSFnzXqZ.js → NodeAddonsSettingsPanel-S9qh9oix.js} +1 -1
  28. package/dist/assets/{NodeInferenceDevices-B7RYmrXb.js → NodeInferenceDevices-egUQGuFl.js} +1 -1
  29. package/dist/assets/Notifications-1ARXHzBI.js +1 -0
  30. package/dist/assets/{Pipeline-BVix_5wm.js → Pipeline-D1NEy1ZN.js} +1 -1
  31. package/dist/assets/{Plates-Cn1Al2WA.js → Plates-WUDggEuV.js} +1 -1
  32. package/dist/assets/{PrivacyMaskSettings-GAkxAsA3.js → PrivacyMaskSettings-x5jpJN6L.js} +1 -1
  33. package/dist/assets/{ProviderIcon-CQo4yDQS.js → ProviderIcon-C5_0vsMH.js} +1 -1
  34. package/dist/assets/{Recordings-DZMmDA_4.js → Recordings-CiwNtOmP.js} +1 -1
  35. package/dist/assets/{ScanNetworkModal-TrU5QhWB.js → ScanNetworkModal-CuyJeqBI.js} +1 -1
  36. package/dist/assets/SceneMonitorEditor-lhBYjABG.js +1 -0
  37. package/dist/assets/{Scenes-bMn8sgm0.js → Scenes-DGv23Apk.js} +1 -1
  38. package/dist/assets/{Settings-B1YsrVcn.js → Settings-DG4iqZOC.js} +1 -1
  39. package/dist/assets/{Showroom-Cik2ivrC.js → Showroom-BdcMmdVm.js} +1 -1
  40. package/dist/assets/{Terminal-BWct2hhL.js → Terminal-Cll24Ext.js} +1 -1
  41. package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-B59PxHv9.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-CWCjzW96.js} +1 -1
  42. package/dist/assets/{bell-ring-CtdRZtjG.js → bell-ring-_rBBDOOp.js} +1 -1
  43. package/dist/assets/{boxes-BN_wTQoj.js → boxes-D21_Gtau.js} +1 -1
  44. package/dist/assets/{build-cluster-graph-JVj1fl5o.js → build-cluster-graph-B2YakfxI.js} +1 -1
  45. package/dist/assets/circle-check-big-CdgHxf2K.js +1 -0
  46. package/dist/assets/{circle-x-DKEv2fk-.js → circle-x-Dme7swuV.js} +1 -1
  47. package/dist/assets/clock-LRrp-sNT.js +1 -0
  48. package/dist/assets/{copy-C0Y9pMFE.js → copy-D-RYlseV.js} +1 -1
  49. package/dist/assets/{debounced-invalidate-CYoigLZW.js → debounced-invalidate-DUItRp3z.js} +1 -1
  50. package/dist/assets/dist-B2dk3x-1.js +345 -0
  51. package/dist/assets/{dist-DVOPUibu.js → dist-DM5W_-lf.js} +1 -1
  52. package/dist/assets/{download-B538th-h.js → download-2daKodbc.js} +1 -1
  53. package/dist/assets/{face-bbox-0omHJ2v9.js → face-bbox-C1EmZtcs.js} +1 -1
  54. package/dist/assets/{hard-drive-DFBgqBxK.js → hard-drive-CN2O-rzf.js} +1 -1
  55. package/dist/assets/{hostInit-CiIhfzzr.js → hostInit-CIIBSAj3.js} +1 -1
  56. package/dist/assets/{index-Dr-ap6SH.js → index-D9F3sdd-.js} +3 -3
  57. package/dist/assets/{key-round-D1XSxvLS.js → key-round-Bq2pdPu0.js} +1 -1
  58. package/dist/assets/{mf-entry-bootstrap-0-82869dcc.js → mf-entry-bootstrap-0-e5e0dfd2.js} +2 -2
  59. package/dist/assets/{pencil-CZ2gMyTB.js → pencil-DA48cMNw.js} +1 -1
  60. package/dist/assets/play-Bg5-lqI9.js +1 -0
  61. package/dist/assets/player-overlays-DG8Qq2SN.js +1 -0
  62. package/dist/assets/plus-B17_qT4q.js +1 -0
  63. package/dist/assets/power-B3ls9EjL.js +1 -0
  64. package/dist/assets/{radio-C0T0_Ki5.js → radio-D5YXD5Mk.js} +1 -1
  65. package/dist/assets/{refresh-cw-DuE4ONv-.js → refresh-cw-CeN01FBy.js} +1 -1
  66. package/dist/assets/remoteEntry-CmQ-DXMH.js +1 -0
  67. package/dist/assets/rotate-ccw-DdaLkN93.js +1 -0
  68. package/dist/assets/rotate-cw-DiDpzlTp.js +1 -0
  69. package/dist/assets/search-5IKob3Pf.js +1 -0
  70. package/dist/assets/{send-CiGeFhM_.js → send-DtoGJcOc.js} +1 -1
  71. package/dist/assets/{server-BBJTl0ih.js → server-DVYSamal.js} +1 -1
  72. package/dist/assets/square-BSJyk4ja.js +1 -0
  73. package/dist/assets/{square-check-big-DEpi1DZf.js → square-check-big-BVgrKc-i.js} +1 -1
  74. package/dist/assets/src-B2p9OhlL.js +345 -0
  75. package/dist/assets/src-DpB-8ADl.js +67 -0
  76. package/dist/assets/{undo-2-BEASNScj.js → undo-2-RQcgGfE7.js} +1 -1
  77. package/dist/assets/{upload-CCWw0hX4.js → upload-CIlYkZ_R.js} +1 -1
  78. package/dist/assets/{use-scenes-feed-BrAVTu20.js → use-scenes-feed-asIA0HHK.js} +1 -1
  79. package/dist/assets/{useEventInvalidation-CnCqhaHZ.js → useEventInvalidation-C4hcZ266.js} +1 -1
  80. package/dist/assets/{video-BEAVV4bf.js → video-C0rp1BOP.js} +1 -1
  81. package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-D8I8UoDY.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-8FeeO_xT.js} +2 -2
  82. package/dist/assets/{wifi-sgX03Yna.js → wifi-CEXNRrIb.js} +1 -1
  83. package/dist/assets/{zap-DVVII2tr.js → zap-DZBO_poe.js} +1 -1
  84. package/dist/index.html +5 -5
  85. package/dist/server/addon.js +185 -6
  86. package/package.json +1 -1
  87. package/dist/assets/AiProfiles-Dc-3w9Z5.js +0 -3
  88. package/dist/assets/Notifications-CsUJcPdF.js +0 -1
  89. package/dist/assets/SceneMonitorEditor-DcTfkrW3.js +0 -1
  90. package/dist/assets/circle-check-big-KvCernzh.js +0 -1
  91. package/dist/assets/clock-Ddu_eThB.js +0 -1
  92. package/dist/assets/dist-Bz6O5BsH.js +0 -345
  93. package/dist/assets/play-BrdA8mXB.js +0 -1
  94. package/dist/assets/player-overlays-7AKPeTm-.js +0 -1
  95. package/dist/assets/plus-ChsVL8uT.js +0 -1
  96. package/dist/assets/power-Dz2il9ai.js +0 -1
  97. package/dist/assets/remoteEntry-CgpjK5QJ.js +0 -1
  98. package/dist/assets/rotate-ccw-DS5e2J2f.js +0 -1
  99. package/dist/assets/rotate-cw-Bb9OhnRT.js +0 -1
  100. package/dist/assets/search-BunRfhTv.js +0 -1
  101. package/dist/assets/square-BlgtgcV9.js +0 -1
  102. package/dist/assets/src-BaVKQIP9.js +0 -345
  103. package/dist/assets/src-CgOOvCVA.js +0 -67
@@ -1 +0,0 @@
1
- import{K as e}from"./index-Dr-ap6SH.js";var t=e(`play`,[[`polygon`,{points:`6 3 20 12 6 21 6 3`,key:`1oa8hb`}]]);export{t};
@@ -1 +0,0 @@
1
- import{D as e,I as t,J as n,L as r,O as i,Q as a,S as o,W as s,b as c,k as l,q as u,x as d,z as f}from"./_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-DhP-Lgiq.js";import{N as p}from"./src-BaVKQIP9.js";a();var m=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),h=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),ee=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),g=e=>{let t=ee(e);return t.charAt(0).toUpperCase()+t.slice(1)},_={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`},v=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},te=l(({color:e=`currentColor`,size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a=``,children:o,iconNode:s,...c},l)=>i(`svg`,{ref:l,..._,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:m(`lucide`,a),...!o&&!v(c)&&{"aria-hidden":`true`},...c},[...s.map(([e,t])=>i(e,t)),...Array.isArray(o)?o:[o]]));a();var y=(e,t)=>{let n=l(({className:n,...r},a)=>i(te,{ref:a,iconNode:t,className:m(`lucide-${h(g(e))}`,`lucide-${e}`,n),...r}));return n.displayName=g(e),n},b=y(`camera`,[[`path`,{d:`M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z`,key:`18u6gg`}],[`circle`,{cx:`12`,cy:`13`,r:`3`,key:`1vg3eu`}]]),x=y(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),S=y(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),C=y(`eye-off`,[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),w=y(`mic`,[[`path`,{d:`M12 19v3`,key:`npa21l`}],[`path`,{d:`M19 10v2a7 7 0 0 1-14 0v-2`,key:`1vc78b`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`13`,rx:`3`,key:`s6n7sd`}]]),T=y(`rotate-ccw`,[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]),ne=y(`square`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]),re=y(`trash-2`,[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]]);a();function E(t,n){if(typeof globalThis>`u`)return e(n);let r=globalThis.__camstackSharedContexts,i=r??new Map;r||(globalThis.__camstackSharedContexts=i);let a=i.get(t);if(a)return a;let o=e(n);return i.set(t,o),o}a();var D=E(`camstack:system`,null);function O({system:e,children:t}){return d(D.Provider,{value:e,children:t})}function k(){let e=r(D);if(!e)throw Error(`useSystem(): no <SystemProvider> in tree`);return e}function A(){return r(D)}a();function j({title:e,icon:t,headerRight:n,collapsible:r=!1,defaultOpen:i=!0,bodyClassName:a=`p-3`,children:s}){let[l,f]=u(i),p=!r||l,m=o(c,{children:[o(`span`,{className:`flex items-center gap-2 text-xs font-semibold uppercase tracking-wider text-foreground`,children:[t,e]}),r?d(l?x:S,{className:`h-3.5 w-3.5 text-foreground-subtle`}):n]}),h=`px-4 py-2 flex items-center justify-between ${p?`border-b border-border`:``}`;return o(`div`,{className:`rounded-lg border border-border bg-surface overflow-hidden`,children:[r?d(`button`,{type:`button`,onClick:()=>f(e=>!e),className:`w-full text-left ${h}`,children:m}):d(`div`,{className:h,children:m}),p?d(`div`,{className:a,children:s}):null]})}function M({label:e,icon:t,children:n,footer:r}){return o(`div`,{className:`rounded-md border border-border/60 bg-background/40 px-3 py-2`,children:[o(`div`,{className:`mb-1 flex items-center gap-1.5 text-[11px] uppercase tracking-wider text-foreground-subtle`,children:[t,e]}),d(`div`,{className:`text-sm font-medium text-foreground`,children:n}),r?d(`div`,{className:`mt-0.5 text-[10px] text-foreground-subtle`,children:r}):null]})}a();var N=`capability.binding-changed`;function P(e,t){let[n,r]=u(null);return f(()=>{if(t===null){r(null);return}let n=!1,i=async()=>{try{let i=await e.deviceManager.getBindings.query({deviceId:t});n||r(i)}catch{n||r(e=>e)}};i();let a=e.live?.onEvent.subscribe({category:N},{onData:e=>{let n=e.data?.source;if(!n){i();return}n.type===`device`&&n.id===t&&i()}});return()=>{n=!0,a?.unsubscribe()}},[e,t]),s(()=>n?p(e,n):null,[e,n])}function F(e){let r=t(t=>e?e.subscribe(()=>t()):()=>void 0,[e]),i=t(()=>e?.value,[e]);return n(r,i,i)}function I(e,t,n){let r=P(e,t);return F(r?n(r.state):void 0)}function L(e){if(typeof e!=`object`||!e)return null;let t=Reflect.get(e,`data`);if(typeof t==`object`&&t){let e=Reflect.get(t,`capRouteReason`);if(typeof e==`string`)return e}return null}function R(e){let t=L(e);return t===null?(e instanceof Error?e.message:String(e)).includes(`provider not available`):t===`no-provider`||t===`node-offline`}var z=[`day`,`ir`],B={day:`Daylight`,ir:`Night (IR)`,night:`Night`,dawn:`Dawn`,dusk:`Dusk`};function V(e){return B[e]??e}function H(e){let t=new Set(e.coveredConditions),n=z.map(e=>`${V(e)} ${t.has(e)?`✓`:`✗`}`),r=[...t].filter(e=>!z.some(t=>t===e));for(let e of r)n.push(`${V(e)} ✓`);let i=z.filter(e=>!t.has(e));return i.length===0?n.join(` · `):`${n.join(` · `)} — reports “can’t tell” in ${i.map(e=>V(e).toLowerCase()).join(` and `)}`}var U={"no-reference-for-condition":`can’t tell — nothing was captured in this light yet. Use “Capture now” when the camera is in it.`,"view-shifted":`can’t tell — the camera view has moved since the reference was captured. Re-capture it.`,"no-vision-profile":`can’t tell — the vision model is unreachable, so the change is on hold.`,"encoder-model-changed":`can’t tell — the embedding model changed, so the stored references are unreadable. Re-capture them.`,"no-snapshot":`can’t tell — this camera did not return a frame.`};function W(e,t){if(e.states.length===0)return`Not armed yet — capture the initial state to start watching.`;if(e.verdict===`unknown`)return e.unavailable===null?`can’t tell right now.`:U[e.unavailable];let n=e.verdict===`diverged`?e.divergedAt:e.armedAt,r=n===null?``:` for ${J(Math.max(0,t-n))}`;return e.latched?e.verdict===`diverged`?`CHANGED${r} — press Reset when you have dealt with it.`:`Back to normal, but still flagged as changed${r}. Press Reset to clear it.`:e.verdict===`diverged`?`CHANGED${r}`:`Normal${r}`}function G(e){return e.states.length===0?{text:`Not armed`,tone:`unknown`}:e.latched?{text:`Changed`,tone:`alarm`}:e.verdict===`unknown`?{text:`Can’t tell`,tone:`unknown`}:e.verdict===`diverged`?{text:`Changed`,tone:`alarm`}:{text:`Normal`,tone:`ok`}}var K=.4;function q(e){return e.width*e.height>K}function J(e){let t=Math.floor(e/1e3);if(t<60)return`${t}s`;let n=Math.floor(t/60);if(n<60)return`${n}m`;let r=Math.floor(n/60);return r<48?`${r}h`:`${Math.floor(r/24)}d`}var Y=`rounded-lg border border-border bg-surface overflow-hidden`,X=`border-b border-border px-3 sm:px-4 py-1.5 sm:py-2`,ie=`p-2 sm:p-3 lg:p-4`,ae=`space-y-3 sm:space-y-4`,oe=`gap-2 sm:gap-3`,se=`px-3 sm:px-4 py-1.5 sm:py-2`,ce=`grid grid-cols-2 sm:grid-cols-2 lg:grid-cols-4`,le=`grid grid-cols-1 lg:grid-cols-2`,ue=`flex flex-col-reverse md:flex-row`,de=`w-full md:w-44 lg:w-52 md:flex-shrink-0 border-b md:border-b-0 md:border-l border-border`,fe=`sm`,pe=`flex min-w-0 flex-col gap-0.5 py-1.5 sm:flex-row sm:items-center`,me=`min-w-0 text-[11px] leading-tight text-foreground-subtle sm:w-32 sm:shrink-0 sm:pr-2`,he=`flex w-full min-w-0 items-center gap-1 sm:flex-1`,ge=`min-w-0 break-all text-xs text-foreground sm:truncate`,_e=`text-[10px] sm:text-[11px] font-semibold text-foreground uppercase tracking-wider`,ve=`text-[11px] sm:text-xs text-foreground`,ye=`text-[10px] text-foreground-subtle`,be=`text-[11px] sm:text-xs font-medium text-foreground`,xe=`text-base sm:text-lg font-semibold leading-tight text-foreground`,Se=`inline-flex items-center justify-center gap-1 rounded border border-border bg-surface px-1.5 py-0.5 sm:px-2 sm:py-1 text-[10px] sm:text-[11px] font-medium text-foreground hover:bg-surface-hover transition-colors disabled:opacity-40`,Ce=`inline-flex items-center justify-center gap-1 rounded border border-primary/40 bg-primary/15 px-1.5 py-0.5 sm:px-2 sm:py-1 text-[10px] sm:text-[11px] font-medium text-primary hover:bg-primary/25 transition-colors disabled:opacity-40`,we=`inline-flex items-center justify-center gap-1 rounded border border-danger/40 bg-danger/10 px-1.5 py-0.5 sm:px-2 sm:py-1 text-[10px] sm:text-[11px] font-medium text-danger hover:bg-danger/20 transition-colors disabled:opacity-40`,Te=`inline-flex items-center justify-center gap-1 rounded border border-warning/40 bg-warning/10 px-1.5 py-0.5 sm:px-2 sm:py-1 text-[10px] sm:text-[11px] font-medium text-warning hover:bg-warning/20 transition-colors disabled:opacity-40`,Ee=`w-full rounded border border-border bg-background px-1.5 py-0.5 sm:px-2 sm:py-1 text-[11px] sm:text-xs text-foreground focus:border-primary focus:ring-1 focus:ring-primary/30 outline-none`,De=`inline-flex items-center gap-1 rounded-full border px-1.5 py-0.5 text-[10px] font-medium transition-colors`,Oe=`border-primary/50 bg-primary/15 text-primary`,ke=`border-border bg-surface text-foreground-subtle hover:bg-surface-hover`;a();var Z=`/addon/snapshot/media`;function Ae(e,n={}){let{width:r,baseUrl:i}=n,[a,o]=u(0);return{src:s(()=>{if(e===null||e<=0)return null;let t=i===void 0?``:i.replace(/\/+$/,``),n=new URLSearchParams;r!==void 0&&Number.isInteger(r)&&r>0&&n.set(`w`,String(r)),a>0&&(n.set(`force`,`1`),n.set(`r`,String(a)));let o=n.toString();return`${t}${Z}/${String(e)}.jpg${o.length>0?`?${o}`:``}`},[e,r,i,a]),loading:!1,refresh:t(()=>{o(e=>e+1)},[])}}a();var Q=E(`camstack:player-overlays-state`,null),$=E(`camstack:player-overlays-actions`,null);function je({children:e}){let[n,r]=u(()=>new Map),[i,a]=u(()=>new Map),o=t(e=>{r(t=>{let n=new Map(t);return n.set(e.id,e),n})},[]),c=t(e=>{r(t=>{if(!t.has(e))return t;let n=new Map(t);return n.delete(e),n})},[]),l=t(e=>{a(t=>{let n=new Map(t);return n.set(e.id,e),n})},[]),f=t(e=>{a(t=>{if(!t.has(e))return t;let n=new Map(t);return n.delete(e),n})},[]),p=s(()=>({layers:n,buttons:i}),[n,i]),m=s(()=>({setLayer:o,removeLayer:c,setButton:l,removeButton:f}),[o,c,l,f]);return d(Q.Provider,{value:p,children:d($.Provider,{value:m,children:e})})}function Me(){let e=r(Q);return s(()=>e?[...e.layers.values()].toSorted((e,t)=>e.order-t.order):[],[e])}function Ne(){let e=r(Q);return s(()=>e?[...e.buttons.values()].toSorted((e,t)=>e.order-t.order):[],[e])}function Pe(e){let t=r($);f(()=>{if(!(!t||!e))return t.setLayer(e),()=>t.removeLayer(e.id)},[t,e])}function Fe(e){let t=r($);f(()=>{if(!(!t||!e))return t.setButton(e),()=>t.removeButton(e.id)},[t,e])}export{re as $,ve as A,q as B,me as C,ue as D,ge as E,K as F,I as G,V as H,z as I,j as J,F as K,G as L,xe as M,_e as N,de as O,be as P,E as Q,H as R,pe as S,he as T,R as U,W as V,P as W,A as X,O as Y,k as Z,Ee as _,Ne as a,x as at,Y as b,we as c,Oe as d,ne as et,De as f,ce as g,le as h,Fe as i,S as it,ye as j,ae as k,Ce as l,oe as m,Pe as n,w as nt,Ae as o,b as ot,ke as p,M as q,Me as r,C as rt,Se as s,y as st,je as t,T as tt,Te as u,se as v,fe as w,X as x,ie as y,J as z};
@@ -1 +0,0 @@
1
- import{K as e}from"./index-Dr-ap6SH.js";var t=e(`plus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]);export{t};
@@ -1 +0,0 @@
1
- import{K as e}from"./index-Dr-ap6SH.js";var t=e(`power`,[[`path`,{d:`M12 2v10`,key:`mnfbl`}],[`path`,{d:`M18.4 6.6a9 9 0 1 1-12.77.04`,key:`obofu9`}]]);export{t};
@@ -1 +0,0 @@
1
- import{n as e,t}from"./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-D8I8UoDY.js";export{t as get,e as init};
@@ -1 +0,0 @@
1
- import{K as e}from"./index-Dr-ap6SH.js";var t=e(`rotate-ccw`,[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]);export{t};
@@ -1 +0,0 @@
1
- import{K as e}from"./index-Dr-ap6SH.js";var t=e(`rotate-cw`,[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]]);export{t};
@@ -1 +0,0 @@
1
- import{K as e}from"./index-Dr-ap6SH.js";var t=e(`search`,[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]);export{t};
@@ -1 +0,0 @@
1
- import{K as e}from"./index-Dr-ap6SH.js";var t=e(`square`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]);export{t};