glimmervoid 0.50.1-next.607 → 0.50.1-next.609
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.
- package/dist/client/assets/{action-status-Cba0k2s7.js → action-status-C0fGW07T.js} +1 -1
- package/dist/client/assets/action-status-C0fGW07T.js.br +0 -0
- package/dist/client/assets/{benchmark-panel-yrKYcdbW.js → benchmark-panel-BNkFlU9u.js} +1 -1
- package/dist/client/assets/benchmark-panel-BNkFlU9u.js.br +0 -0
- package/dist/client/assets/{boards-view-DwMgwjpi.js → boards-view-B_Isj7JA.js} +1 -1
- package/dist/client/assets/boards-view-B_Isj7JA.js.br +0 -0
- package/dist/client/assets/{community-panel-B8WRhUio.js → community-panel-CPLoFXFL.js} +1 -1
- package/dist/client/assets/community-panel-CPLoFXFL.js.br +0 -0
- package/dist/client/assets/{dialogs-KjuhLy5k.js → dialogs-D2stAblB.js} +1 -1
- package/dist/client/assets/dialogs-D2stAblB.js.br +0 -0
- package/dist/client/assets/{doc-editor-ui-DLZtqZFx.js → doc-editor-ui-B1Ov58Cc.js} +1 -1
- package/dist/client/assets/doc-editor-ui-B1Ov58Cc.js.br +0 -0
- package/dist/client/assets/{feature-hint-DH7vtUem.js → feature-hint-DtkbYPAY.js} +1 -1
- package/dist/client/assets/feature-hint-DtkbYPAY.js.br +0 -0
- package/dist/client/assets/{first-run-checklist-B7XKO2_T.js → first-run-checklist-ByCgZtzK.js} +1 -1
- package/dist/client/assets/first-run-checklist-ByCgZtzK.js.br +0 -0
- package/dist/client/assets/{hooks-panel-BZa67gf9.js → hooks-panel-anyTU8Wf.js} +1 -1
- package/dist/client/assets/hooks-panel-anyTU8Wf.js.br +0 -0
- package/dist/client/assets/index-CuysP1qU.js +78 -0
- package/dist/client/assets/index-CuysP1qU.js.br +0 -0
- package/dist/client/assets/{index-o0wOxnlP.css → index-SQV09Jdb.css} +1 -1
- package/dist/client/assets/index-SQV09Jdb.css.br +0 -0
- package/dist/client/assets/{issues-panel-B6hwNGY3.js → issues-panel-QvEPwXb6.js} +1 -1
- package/dist/client/assets/issues-panel-QvEPwXb6.js.br +0 -0
- package/dist/client/assets/{my-prs-panel-BBiX47qo.js → my-prs-panel-BzVslgSo.js} +1 -1
- package/dist/client/assets/my-prs-panel-BzVslgSo.js.br +0 -0
- package/dist/client/assets/{nyan-cat-DTphhJaa.js → nyan-cat-CvnpFM5y.js} +1 -1
- package/dist/client/assets/nyan-cat-CvnpFM5y.js.br +0 -0
- package/dist/client/assets/phone-shell-B-DxtlAD.js +1 -0
- package/dist/client/assets/phone-shell-B-DxtlAD.js.br +0 -0
- package/dist/client/assets/{plan-face-D86ibN_a.js → plan-face-BvSyPaIP.js} +1 -1
- package/dist/client/assets/plan-face-BvSyPaIP.js.br +0 -0
- package/dist/client/assets/{plan-render-pgZm-jz4.js → plan-render-Cc9VNMio.js} +1 -1
- package/dist/client/assets/plan-render-Cc9VNMio.js.br +0 -0
- package/dist/client/assets/{pr-queue-columns-CVXoQO_t.js → pr-queue-columns-tRFmw7La.js} +1 -1
- package/dist/client/assets/pr-queue-columns-tRFmw7La.js.br +0 -0
- package/dist/client/assets/{radar-panel-D3g8HpZj.js → radar-panel-Cta7iVtn.js} +1 -1
- package/dist/client/assets/radar-panel-Cta7iVtn.js.br +0 -0
- package/dist/client/assets/{repo-roots-adder-DXggbumP.js → repo-roots-adder-CV202yhZ.js} +1 -1
- package/dist/client/assets/repo-roots-adder-CV202yhZ.js.br +0 -0
- package/dist/client/assets/{resume-dialog-hNnqBJEg.js → resume-dialog-BH9o6eLx.js} +1 -1
- package/dist/client/assets/resume-dialog-BH9o6eLx.js.br +0 -0
- package/dist/client/assets/{review-queue-panel-Cs5iryeb.js → review-queue-panel-jtRXfElf.js} +1 -1
- package/dist/client/assets/review-queue-panel-jtRXfElf.js.br +0 -0
- package/dist/client/assets/{settings-panel-C6L2lHti.js → settings-panel--zIvR77B.js} +2 -2
- package/dist/client/assets/settings-panel--zIvR77B.js.br +0 -0
- package/dist/client/assets/shown-face-B2oXxLTJ.js +1 -0
- package/dist/client/assets/shown-face-B2oXxLTJ.js.br +0 -0
- package/dist/client/assets/svg-dom-C7OuHrq0.js +1 -0
- package/dist/client/assets/svg-dom-C7OuHrq0.js.br +0 -0
- package/dist/client/assets/{team-review-queue-row-CfehV6NS.js → team-review-queue-row-B7DqUVH5.js} +2 -2
- package/dist/client/assets/team-review-queue-row-B7DqUVH5.js.br +0 -0
- package/dist/client/assets/{trace-panel-LT5S_clY.js → trace-panel-892C454E.js} +1 -1
- package/dist/client/assets/trace-panel-892C454E.js.br +0 -0
- package/dist/client/assets/{usage-panel-n5VkIDxA.js → usage-panel-BbCyiHIW.js} +1 -1
- package/dist/client/assets/usage-panel-BbCyiHIW.js.br +0 -0
- package/dist/client/assets/{your-day-tip-PQY5eEqe.js → your-day-tip-DEYUHyXA.js} +1 -1
- package/dist/client/assets/your-day-tip-DEYUHyXA.js.br +0 -0
- package/dist/client/index.html +4 -4
- package/dist/client/index.html.br +0 -0
- package/package.json +1 -1
- package/dist/client/assets/action-status-Cba0k2s7.js.br +0 -0
- package/dist/client/assets/benchmark-panel-yrKYcdbW.js.br +0 -0
- package/dist/client/assets/boards-view-DwMgwjpi.js.br +0 -0
- package/dist/client/assets/community-panel-B8WRhUio.js.br +0 -0
- package/dist/client/assets/dialogs-KjuhLy5k.js.br +0 -0
- package/dist/client/assets/doc-editor-ui-DLZtqZFx.js.br +0 -0
- package/dist/client/assets/feature-hint-DH7vtUem.js.br +0 -0
- package/dist/client/assets/first-run-checklist-B7XKO2_T.js.br +0 -0
- package/dist/client/assets/hooks-panel-BZa67gf9.js.br +0 -0
- package/dist/client/assets/index-Mv8tFWL_.js +0 -78
- package/dist/client/assets/index-Mv8tFWL_.js.br +0 -0
- package/dist/client/assets/index-o0wOxnlP.css.br +0 -0
- package/dist/client/assets/issues-panel-B6hwNGY3.js.br +0 -0
- package/dist/client/assets/my-prs-panel-BBiX47qo.js.br +0 -0
- package/dist/client/assets/nyan-cat-DTphhJaa.js.br +0 -0
- package/dist/client/assets/phone-shell-XAWOLpTz.js +0 -1
- package/dist/client/assets/phone-shell-XAWOLpTz.js.br +0 -0
- package/dist/client/assets/plan-face-D86ibN_a.js.br +0 -0
- package/dist/client/assets/plan-render-pgZm-jz4.js.br +0 -0
- package/dist/client/assets/pr-queue-columns-CVXoQO_t.js.br +0 -0
- package/dist/client/assets/radar-panel-D3g8HpZj.js.br +0 -0
- package/dist/client/assets/repo-roots-adder-DXggbumP.js.br +0 -0
- package/dist/client/assets/resume-dialog-hNnqBJEg.js.br +0 -0
- package/dist/client/assets/review-queue-panel-Cs5iryeb.js.br +0 -0
- package/dist/client/assets/settings-panel-C6L2lHti.js.br +0 -0
- package/dist/client/assets/shown-face-COZ9fGBr.js +0 -1
- package/dist/client/assets/shown-face-COZ9fGBr.js.br +0 -0
- package/dist/client/assets/svg-dom-C3hJvwJE.js +0 -1
- package/dist/client/assets/svg-dom-C3hJvwJE.js.br +0 -0
- package/dist/client/assets/team-review-queue-row-CfehV6NS.js.br +0 -0
- package/dist/client/assets/trace-panel-LT5S_clY.js.br +0 -0
- package/dist/client/assets/usage-panel-n5VkIDxA.js.br +0 -0
- package/dist/client/assets/your-day-tip-PQY5eEqe.js.br +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as e,i as t,t as n}from"./button-B79gBrzu.js";import{X as r,_ as i,g as a,p as o,s,t as c}from"./dom-helpers-qjWTsLGI.js";import{a as l,g as u,h as ee,o as d,p as f,t as p,u as m,v as h}from"./card-registry-BxBmyha2.js";import{n as g}from"./ui-state-core-Nssh-6QJ.js";import{T as _,a as v,g as y,k as b,l as x,t as te}from"./svg-dom-C3hJvwJE.js";import{i as ne}from"./action-status-Cba0k2s7.js";import{a as S,n as re,r as C,s as w,t as ie}from"./session-tick-BHot_5UU.js";import{$ as ae,Ai as oe,Ar as T,B as se,Br as E,Cn as ce,En as le,Fr as D,G as O,H as k,Hr as ue,Ir as de,J as fe,K as pe,Lr as me,Nt as he,Pr as A,Q as ge,Sn as _e,Tn as ve,U as ye,Ut as be,V as xe,W as Se,X as Ce,Y as we,Z as Te,_n as Ee,at as De,bn as Oe,fi as ke,it as Ae,ji as je,jr as Me,q as Ne,rt as Pe,vn as Fe,wn as Ie,yn as Le,z as Re,zr as ze}from"./index-Mv8tFWL_.js";var Be=e=>e.ui.path;function Ve({onSelectSession:e,shownSessionId:t}){let n=s(`div`,`phone-board`),r=s(`header`,`phone-topbar`),i=ye({onJump:()=>{O(i);let e=ee(oe(),null)[0]?.id;e&&c(e)},rowFor:e=>_.get(e)}),a=null;function c(e){a=e,_.get(e)?.scrollIntoView({block:`nearest`}),pe(i,e,()=>{a===e&&l(e)})}function l(t){a=null,e?.(t)}let f=s(`div`,`phone-board-list`),p=s(`div`,`phone-empty`),h=s(`p`,`phone-empty-title`,`No sessions`),g=s(`p`,`phone-empty-desc`,`Spawn a session to start watching.`);p.append(h,g),n.append(r,f,p,i);let _=new Map,v=new Map,y=new WeakMap,b=new WeakMap,x=new WeakMap;o(r);function te(e){let{row:t,refs:n}=Ee();t.dataset.id=e,t.addEventListener(`click`,()=>l(e));let{item:r}=Oe(t,()=>me(e),()=>E(e));return r.setAttribute(`role`,`listitem`),y.set(t,{refs:n,item:r}),t}function ne(){let e=s(`section`,`phone-board-group`),t=Ne({onAdd:A,onForget:e=>{ge(e),T()}}),n=s(`div`,`phone-board-group-rows`);return n.setAttribute(`role`,`list`),e.append(t.header,n),b.set(e,{...t,rows:n}),e}function S(e,n,r){let i=y.get(e);if(!i)return;let{ui:a,state:o,name:s}=n;e.classList.toggle(`focused`,n.id===t?.()),Fe(e,i.refs,{ui:a,state:o,name:s,mergeStatus:a.card?.dataset.merge||``,attentionPosition:r})}function re(e,t){let n=b.get(e);n&&(fe(n,t),n.rows.setAttribute(`aria-label`,`${t.label} sessions`))}function oe(){return u(D())}function T(){let e=oe(),t=we(e,Be,Te(e,Be)),n=m(e),r=ee(e,null),a=new Map(r.map(({id:e},t)=>[e,t+1]));Se(i,n,r);let o=new Set(t.order),s=t.order.join(`,`),c=x.get(f)===s&&f.childElementCount===t.groups.length;for(let e of t.groups){let t=v.get(e.key);t||(t=ne(),v.set(e.key,t)),re(t,e),c||f.appendChild(t);let n=e.rows.map(e=>e.id).join(`,`),r=b.get(t);if(!r)continue;let i=x.get(r.rows)===n&&r.rows.childElementCount===e.rows.length;for(let t of e.rows){let e=_.get(t.id);e||(e=te(t.id),_.set(t.id,e)),S(e,t,a.get(t.id)??null);let n=y.get(e);n&&(i||r.rows.appendChild(n.item))}x.set(r.rows,n)}x.set(f,s);for(let[e,t]of[...v])o.has(e)||(t.remove(),v.delete(e));let l=new Set(Ce(t));for(let[e,t]of[..._]){if(l.has(e))continue;let n=y.get(t);n&&n.item.remove(),_.delete(e)}let u=t.groups.length>0,C=d.size===0;f.hidden=!u,p.hidden=u,ae(p,C),h.hidden=C,g.hidden=C,i.hidden=C}function se(e,t){let n=e.card?.dataset.id,r=n?_.get(n):void 0;r&&(t===`flag`?r.dataset.activity=e._activity||``:w(y.get(r)?.refs.glyph))}return ie((e,t)=>{let n=_.get(e),r=n?y.get(n):void 0;r&&ue(r.refs.elapsed,C(t))}),{el:n,topBarEl:r,refresh:T,renderActivity:se}}var He=`clipboard`,Ue=`upload`,We=24,Ge=Object.freeze([Object.freeze({id:`esc`,label:`Esc`,bytes:`\x1B`,title:`Send Escape`}),Object.freeze({id:`tab`,label:`Tab`,bytes:` `,title:`Send Tab`}),Object.freeze({id:`left`,label:`←`,bytes:`\x1B[D`,isArrow:!0,title:`Arrow left`}),Object.freeze({id:`up`,label:`↑`,bytes:`\x1B[A`,isArrow:!0,title:`Arrow up`}),Object.freeze({id:`down`,label:`↓`,bytes:`\x1B[B`,isArrow:!0,title:`Arrow down`}),Object.freeze({id:`right`,label:`→`,bytes:`\x1B[C`,isArrow:!0,title:`Arrow right`}),Object.freeze({id:`paste`,label:`Paste`,bytes:null,action:He,title:`Paste from the clipboard`}),Object.freeze({id:`attach`,label:`Attach`,bytes:null,action:Ue,title:`Upload a photo or file to this session`})]);function Ke(e){let t=Ge.find(t=>t.id===e);return t?t.bytes:null}function qe(e){return!!e&&e.action===He}function Je(e){return!!e&&e.action===Ue}function Ye(e,t,n=We){let r=Math.abs(e)>=Math.abs(t),i=r?e:t;return Math.abs(i)<n?null:r?i>0?`right`:`left`:i>0?`down`:`up`}function Xe(e,t,n=We){let r=Ye(e,t,n);if(!r)return null;let i=r===`left`||r===`right`,a=i?e:t,o=Math.floor(Math.abs(a)/n),s=Math.sign(a)*o*n;return{arrowKeyId:r,stepCount:o,consumedX:i?s:e,consumedY:i?t:s}}var Ze={" ":`\0`,"@":`\0`,"[":`\x1B`,"\\":``,"]":``,"^":``,_:``,"?":``};function Qe(e){if(e.length!==1)return null;let t=e.toLowerCase();return t>=`a`&&t<=`z`?String.fromCharCode(t.charCodeAt(0)-96):Ze[e]??null}function $e({send:e,getSessionId:n,reportProblem:r}){let i=s(`div`,`phone-key-strip`);i.setAttribute(`role`,`toolbar`),i.setAttribute(`aria-label`,`Terminal keys`);let a=null,o=null,c=t(`phone-key phone-key-ctrl`,`Ctrl`);c.title=`Hold Ctrl for the next key you type`,c.setAttribute(`aria-pressed`,`false`),c.addEventListener(`pointerdown`,e=>e.preventDefault()),c.addEventListener(`click`,()=>u(!l()));function l(){return c.getAttribute(`aria-pressed`)===`true`}function u(e){c.setAttribute(`aria-pressed`,String(e))}function ee(){return l()?(u(!1),!0):!1}for(let n of Ge){n.id===`tab`&&i.appendChild(c),n.id===`left`&&i.appendChild(et(e));let r=t(n.isArrow?`phone-key phone-key-arrow`:`phone-key`,n.label);r.dataset.key=n.id,r.title=n.title,n.isArrow&&r.setAttribute(`aria-label`,n.title),r.addEventListener(`pointerdown`,e=>e.preventDefault()),r.addEventListener(`click`,()=>d(n,r)),i.appendChild(r)}function d(t,n){Je(t)?f(n):qe(t)?nt(e,r):e(Ke(t.id))}function f(e){o=e,a||(a=s(`input`,`phone-file-picker`),a.type=`file`,a.hidden=!0,a.addEventListener(`change`,p),i.appendChild(a)),a.click()}function p(){let e=a;if(!e)return;let t=e.files?e.files[0]:null;if(e.value=``,!t)return;let i=n?.();i?m(i,t,o):r(`No session is open to upload to.`)}async function m(e,t,n){n&&(n.disabled=!0),await je(e,t),n&&(n.disabled=!1)}return{element:i,takeHeldControl:ee}}function et(e){let n=t(`phone-key phone-arrow-pad`,`Arrows`);n.title=`Swipe to send arrow keys`;let r=null,i=null;n.addEventListener(`pointerdown`,e=>{e.preventDefault(),i===null&&(n.setPointerCapture(e.pointerId),i=e.pointerId,r={x:e.clientX,y:e.clientY})}),n.addEventListener(`pointermove`,t=>{if(t.pointerId!==i||!r)return;let n=Xe(t.clientX-r.x,t.clientY-r.y);if(n){for(let t=0;t<n.stepCount;t++)e(Ke(n.arrowKeyId));r={x:r.x+n.consumedX,y:r.y+n.consumedY}}});let a=e=>{e.pointerId===i&&(i=null,r=null)};return n.addEventListener(`pointerup`,a),n.addEventListener(`pointercancel`,a),n}var tt=`Paste needs clipboard permission.`;function nt(e,t){let n=null;try{n=navigator.clipboard?.readText?.()}catch{t(tt);return}n?n.then(t=>{t&&e(t)}).catch(()=>t(tt)):t(`Paste is unavailable in this browser.`)}function rt({onBack:t,onShowChanges:o}){let l=s(`div`,`phone-terminal`),u=s(`header`,`phone-topbar phone-terminal-bar`),ee=n({variant:`icon`,label:`Back to board`,icon:b(te),action:`back-to-board`,onClick:()=>t?.()}),f=s(`div`,`phone-terminal-identity`),p=s(`span`,`phone-terminal-name`);p.title=`Double-tap to rename`,p.addEventListener(`dblclick`,()=>pe());let m=s(`span`,`session-task-title phone-terminal-title`);ce(m,()=>me());let h=s(`span`,`phone-terminal-badge`);h.innerHTML=`<span class="phone-terminal-glyph" aria-hidden="true"></span><span class="phone-terminal-label"></span><span class="phone-terminal-elapsed" aria-hidden="true"></span>`;let g=a(h,`.phone-terminal-glyph`,`span`),_=a(h,`.phone-terminal-label`,`span`),y=a(h,`.phone-terminal-elapsed`,`span`);_.before(p),f.append(m,h);let x=n({variant:`icon`,label:`Show this session's code changes`,icon:b(v),action:`show-changes`,onClick:()=>o?.()}),S=s(`div`,`phone-terminal-actions`);u.append(ee,f,x,S);let w=s(`div`,`phone-card-slot`),ie=s(`div`,`phone-empty`);ie.innerHTML=`<p class="phone-empty-title">No session selected</p><p class="phone-empty-desc">Select a session from the board to watch it here.</p>`;let ae=ne(`phone-key-status m-0 px-3 py-1`),{element:T,takeHeldControl:se}=$e({send:ue,getSessionId:()=>E,reportProblem:e=>ae.show(`error`,e)});l.append(u,w,ie,ae.element,T);let E=null,D=null,O=null,k=null;function ue(t){let n=E?d.get(E):null;n&&(oe(n,t)?ae.clear():ae.show(`error`,e))}function de(){let e=E?d.get(E):null;e?.term&&e.term.focus()}w.addEventListener(`click`,de);function fe(e){let t=Qe(e);return!t||!se()?!1:(ue(t),!0)}w.addEventListener(`keydown`,e=>{e.ctrlKey||e.metaKey||e.altKey||fe(e.key)&&(e.preventDefault(),e.stopPropagation())},!0),w.addEventListener(`input`,e=>{e instanceof InputEvent&&e.data&&fe(e.data.slice(-1))&&(e.stopPropagation(),(E?d.get(E):null)?._resetSoftKeyboardBuffer?.())},!0);function pe(){let e=E?d.get(E):null;e&&E&&ve(e,E,{returnsFocusToTerminal:!1})}function me(){let e=E?d.get(E):null;e&&E&&le(e,E)}function A(){let e=E?d.get(E):null,t=!!e;if(ie.hidden=t,w.hidden=!t,T.hidden=!t,f.hidden=!t,x.hidden=!t,!t){u.removeAttribute(`data-state`),u.removeAttribute(`data-monitoring`),u.removeAttribute(`data-prompt`);return}let n=e.currentState||r.DORMANT;Le(u,{glyph:g,label:_},n,e.awaitingBackgroundTasks,e.pendingPromptKind);let i=e.card?.dataset.session||E;_e(p)||(p.textContent=i),m.dataset.sessionName=i??``,Ie(m,e.taskTitle),y.textContent=C(e)}function ge(){k&&=(delete k.renameTargetEl,delete k.titleTargetEl,null),p.replaceChildren(),ye(O,h),O=null,ye(D,S),D=null}function ye(e,t){e&&(i(e),e.parentElement===t&&e.remove())}function be(e){let t=d.get(e);t&&(E===e&&Ae()===e&&t.card.parentElement===w||(ge(),E=e,Pe(t,e,w,{className:`phone-centered`}),D=a(t.card,`.session-actions`,`div`),c(D,S),O=t.tags,c(O,h),t.renameTargetEl=p,t.titleTargetEl=m,k=t),A())}function xe(){ge(),Ae()===E&&De(),E=null,A()}function Se(){if(!E){A();return}let e=d.get(E);e?e.card.parentElement===w?A():(be(E),l.hidden||ke(e,E,!0)):xe()}function Ce(){let e=E;e&&ke(d.get(e),e,!1)}function we(){Se();let e=E;if(!e)return;let t=d.get(e);t&&(ke(t,e,!0),he(e))}return re(()=>{let e=E?d.get(E):null;e&&(y.textContent=C(e))}),A(),{el:l,show:be,clear:xe,refresh:Se,reveal:we,unview:Ce,getSessionId:()=>E}}var j=`board`,M=`terminal`,N=`changes`,it=Object.freeze({[N]:M}),at=Object.freeze([{id:j,label:`Focus`,iconPath:x},{id:M,label:`Terminal`,iconPath:_}]),P=[],ot=new Map,F=null,I=new Map,st=new Map,ct=new Map,L=null,R=null,lt=null,z=null,B=null,V=null,H=new Map,U=new Set,W={},G=!1,K=!1,ut=120,q=0,dt=0,J=0,Y=null;function ft(){q=0,dt=0}function pt(){let e=window.visualViewport;F&&(!G||!e?F.removeAttribute(`data-keyboard`):(F.style.setProperty(`--phone-vh`,`${e.height}px`),F.style.setProperty(`--phone-vv-top`,`${e.offsetTop}px`),e.width!==dt&&(dt=e.width,q=0),q=Math.max(q,e.height),q-e.height>ut?F.dataset.keyboard=`open`:F.removeAttribute(`data-keyboard`)))}function mt(e,n,r=`phone-nav-item`,i=`phone-nav-dot`){let a=t(r),o=s(`span`,`phone-nav-glyph`);o.appendChild(b(n)),o.setAttribute(`aria-hidden`,`true`),a.append(o,s(`span`,`phone-nav-label`,e));let c=s(`span`,i);return c.setAttribute(`aria-hidden`,`true`),c.hidden=!0,a.appendChild(c),a}function ht(e){return e?.querySelector(`.phone-nav-dot`)||null}function gt(e,t){e&&(e.hidden=!t,typeof t==`string`&&(e.dataset.attention=t),typeof t!=`string`&&delete e.dataset.attention)}function _t(){let e=[];for(let t of P){if(U.has(t.id))continue;let n=ct.get(t.id)||!1;t.isNavScreen?gt(ht(I.get(t.id)),n):(e.push(n),gt(ht(H.get(t.id)),n))}gt(ht(B),h(e))}function vt(){let e=s(`div`,`phone-nav-more-menu`);e.hidden=!0;for(let t of P){if(t.isNavScreen)continue;let n=mt(t.label,t.iconPath,`phone-nav-menu-item`,`phone-nav-dot phone-nav-menu-dot`);n.dataset.screen=t.id,n.hidden=U.has(t.id),n.addEventListener(`click`,()=>{X(!1),$(t.id)}),H.set(t.id,n),e.appendChild(n)}return e}function X(e){V&&B&&(V.hidden=!e,B.setAttribute(`aria-expanded`,String(e)))}function yt(){return!!V&&!V.hidden}function bt(){let e=s(`nav`,`phone-nav`);e.setAttribute(`aria-label`,`Screens`);for(let t of at){let n=mt(t.label,t.iconPath);n.dataset.screen=t.id,n.addEventListener(`click`,()=>{t.id===M&&g.snapshot().phoneScreen===M&&Rt(),$(t.id)}),I.set(t.id,n),e.appendChild(n)}for(let t of P){if(!t.isNavScreen)continue;let n=mt(t.label,t.iconPath);n.dataset.screen=t.id,n.hidden=U.has(t.id),n.addEventListener(`click`,()=>$(t.id)),I.set(t.id,n),e.appendChild(n)}return B=mt(`More`,y),B.setAttribute(`aria-expanded`,`false`),B.addEventListener(`click`,()=>X(!yt())),e.appendChild(B),V=vt(),e.appendChild(V),e}function xt(e,t,n){let r=s(`section`,`phone-screen`);return r.dataset.screen=e,r.setAttribute(`aria-label`,t),r.hidden=!0,n&&r.appendChild(n),st.set(e,r),r}function St(){if(F)return;L=Ve({onSelectSession:Tt,shownSessionId:()=>R?.getSessionId()??null}),S((e,t)=>{G&&L?.renderActivity(e,t)}),R=rt({onBack:()=>$(j),onShowChanges:()=>$(N)}),lt=s(`div`,`phone-review`),xe(Z);let e=s(`div`,`phone-screens`),t={[j]:L.el,[M]:R.el};for(let n of at)e.appendChild(xt(n.id,n.label,t[n.id]));e.appendChild(xt(N,`Changes`,Ct(lt)));for(let t of P){let n=s(`div`,`phone-panel phone-${t.id}`);ot.set(t.id,n),e.appendChild(xt(t.id,t.label,n))}F=s(`div`,`phone-shell`),F.id=`phone-shell`,F.append(e,bt()),document.body.appendChild(F),_t(),window.visualViewport?.addEventListener(`resize`,pt),window.visualViewport?.addEventListener(`scroll`,pt),window.addEventListener(`popstate`,Ft),document.addEventListener(`click`,e=>{yt()&&V&&B&&e.target instanceof Node&&(V.contains(e.target)||B.contains(e.target)||X(!1))}),document.addEventListener(`keydown`,e=>{e.key===`Escape`&&yt()&&X(!1)})}function Ct(e){let t=s(`div`,`phone-changes-screen`),r=s(`header`,`phone-topbar phone-changes-bar`),i=n({variant:`icon`,label:`Back`,icon:b(te),action:`back-to-terminal`,onClick:wt});return z=s(`span`,`phone-changes-session`),r.append(i,s(`span`,`phone-changes-title`,`Changes`),z),t.append(r,e),t}function wt(){se()?Re():$(M)}function Tt(e){if(d.has(e)){if(!L||!R)throw Error(`Phone shell is not built`);de(e,`dormant-fallback`),ze(e),R.show(e),K=!0,$(M)}}function Et(e){return it[e]??e}function Dt(e,t){return t>1?{glimmervoidScreen:e,glimmervoidNested:!0,glimmervoidDepth:t}:{glimmervoidScreen:Et(e)}}function Ot(e){let t=e?.glimmervoidScreen;return typeof t==`string`?t:null}function kt(e){if(!Ot(e))return 0;let{glimmervoidDepth:t,glimmervoidNested:n}=e;return typeof t==`number`&&Number.isInteger(t)&&t>1?t:n===!0?2:1}function At(e){return e===N?se():W.canGoBack?.(e)??!1}function jt(e){e===N?Re():W.onBack?.(e)}function Mt(e){if(e===j)return 0;let t=it[e]?2:1;return At(e)?t+1:t}function Nt(e,t){let n=t>1?e:Et(e);return Ot(history.state)===n&&kt(history.state)===t}function Z(){if(!G||Y!==null)return;let e=g.snapshot().phoneScreen||j,t=Mt(e);if(J>t)Y=location.href,history.go(t-J),J=t;else for(J>0&&!Nt(e,J)&&history.replaceState(Dt(e,J),``);J<t;)J+=1,history.pushState(Dt(e,J),``)}function Pt(){let e=Ot(history.state);return e&&Q(e)?(J=kt(history.state),e):(e&&history.replaceState(null,``),J=0,j)}function Ft(e){if(!G)return;if(Y!==null){history.replaceState(history.state,``,Y),Y=null,Z();return}let t=Ot(e.state),n=t&&Q(t)?t:j;J=kt(e.state);let r=g.snapshot().phoneScreen;n===r&&At(r)&&J<Mt(r)&&jt(r),Lt(n),Z()}function It(e,t){for(let[n,r]of e)n===t?r.setAttribute(`aria-current`,`page`):r.removeAttribute(`aria-current`)}function Lt(e){if(!B||!R)throw Error(`Phone shell is not built`);g.dispatch(`setPhoneScreen`,e),X(!1),zt();for(let[t,n]of st)n.hidden=t!==e;e===j&&K&&(K=!1,L?.refresh()),W.onScreenShown?.(e),It(I,Et(e));let t=H.has(e);t&&B.setAttribute(`aria-current`,`page`),t||B.removeAttribute(`aria-current`),It(H,e),e===M?R.reveal():R.unview()}function Rt(){let e=R?.getSessionId();e&&d.get(e)?._showTerminalFace?.()}function Q(e){return st.has(e)&&!U.has(e)}function zt(){if(!z||!R)return;let e=R.getSessionId(),t=e?d.get(e):null,n=t?l(t):``;z.textContent=n,z.title=n}function $(e){F&&Q(e)&&(Lt(e),Z())}function Bt(e){P.sort((t,n)=>e.indexOf(t.id)-e.indexOf(n.id)),V?.append(...P.flatMap(e=>H.get(e.id)??[]))}function Vt(e){W=e||{},P=W.panels||[]}function Ht({sessionId:e,linkedScreenId:t}={}){if(G)return;if(St(),!F||!L||!R)throw Error(`Phone shell is not built`);G=!0,F.hidden=!1;for(let e of W.headerControls||[])c(e,L.topBarEl);k(lt);for(let e of P)c(e.el,ot.get(e.id)),e.el.hidden=!1;pt(),e&&R.show(e);let n=Pt();qt(),t&&Q(t)?$(t):e&&n===j?$(M):(Lt(n),Z())}function Ut(){if(G){if(!F||!R)throw Error(`Phone shell is not built`);G=!1,R.clear(),k(null);for(let e of P)i(e.el);for(let e of W.headerControls||[])i(e);X(!1),F.hidden=!0,F.removeAttribute(`data-keyboard`),ft(),J>0&&history.go(-J),J=0,Y=null}}function Wt(e){return!G||!L||!R||!d.has(e)?!1:(Tt(e),be(e))}function Gt(){return G}function Kt(){return G&&R?R.getSessionId():null}function qt(){if(!G)return;if(!L||!R)throw Error(`Phone shell is not built`);Qt();let e=Et(g.snapshot().phoneScreen||j);K=e!==j,K||L.refresh(),R.refresh(),zt();let t=R.getSessionId(),n=!t||!Me(t);e===M&&n&&$(j);let r=ht(I.get(j));r&&(r.hidden=f(p.counts)===0)}function Jt(e){return G?(Tt(e),!0):!1}function Yt(e){return!G||!Q(e)?!1:($(e),!0)}function Xt(e,t){t&&U.delete(e),t||U.add(e);let n=H.get(e)??I.get(e);n&&(n.hidden=!t);let r=st.get(e);r&&!t&&(r.hidden=!0),_t(),!t&&G&&g.snapshot().phoneScreen===e&&$(j)}function Zt(e,t){ct.set(e,typeof t==`string`&&t?t:t===!0),_t()}function Qt(){if(!R)throw Error(`Phone shell is not built`);if(R.getSessionId())return;let e=T();e&&(R.show(e),ze(e,{rememberFocus:!1}))}export{Ht as activatePhoneShell,Ut as deactivatePhoneShell,Kt as getPhoneSessionId,Gt as isPhoneShellActive,Vt as mountPhoneShell,Bt as orderPhonePanels,qt as refreshPhoneBoard,Zt as setPhoneScreenAttention,Xt as setPhoneScreenAvailable,Wt as showPhonePlan,Yt as showPhoneScreen,Jt as showPhoneSession,Z as syncPhoneHistory};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as e,t}from"./button-B79gBrzu.js";import{s as n}from"./dom-helpers-qjWTsLGI.js";import{o as r}from"./card-registry-BxBmyha2.js";import{_ as i,h as a,k as o,t as ee,u as te}from"./svg-dom-C3hJvwJE.js";import{Dn as s,On as c,jt as ne}from"./index-Mv8tFWL_.js";import{t as l}from"./sandboxed-frame-CuXBO7oa.js";var u={scale:1,offsetX:0,offsetY:0},d=1,f=1.5,p=2,m=.01,h=25;function g(e){return Math.min(8,Math.max(d,e))}function _(e,t,n){let r=Math.max(0,(t-n)/2);return Math.min(r,Math.max(-r,e))}function v(e,t){let n=g(e.scale);return{scale:n,offsetX:_(e.offsetX,t.media.width*n,t.stage.width),offsetY:_(e.offsetY,t.media.height*n,t.stage.height)}}function y(e,t,n,r){let i=g(t),a=(n.x-e.offsetX)/e.scale,o=(n.y-e.offsetY)/e.scale;return v({scale:i,offsetX:n.x-a*i,offsetY:n.y-o*i},r)}function b(e,t,n,r){return v({scale:e.scale,offsetX:e.offsetX+t,offsetY:e.offsetY+n},r)}function re({startView:e,startMidpoint:t,startDistance:n,midpoint:r,distance:i,bounds:a}){return n<=0||i<=0?e:b(y(e,e.scale*(i/n),t,a),r.x-t.x,r.y-t.y,a)}function ie(e,t){return g(e*Math.exp(-Math.min(h,Math.max(-25,t))*m))}function ae(e,t,n){return e.scale>d?u:y(e,p,t,n)}function x(e){return e>d}function oe(e){return`${Math.round(e*100)}%`}var se=3,ce=6,le=300,ue=30,de=16,S={image:`Image`,video:`Video`,page:`Page`};function C(e,t){return`/shown/${encodeURIComponent(e)}/${encodeURIComponent(t.id)}`}function w(e){return e.pageTitle??e.name}function fe(e,t){let r=C(e,t);if(t.kind===`image`){let e=n(`img`,`shown-stage-media`);return e.src=r,e.alt=t.caption??t.name,e.decoding=`async`,e.draggable=!1,e}if(t.kind===`video`){let e=n(`video`,`shown-stage-media`);return e.src=r,e.preload=`metadata`,e.controls=!0,e.playsInline=!0,e}return l({source:{kind:`url`,url:r},className:`shown-stage-frame`,title:w(t),allowsScripts:!0})}function pe(e,t){let r=c(e,t);if(r){let e=n(`img`,`shown-thumb-media`);return e.src=r,e.alt=``,e.loading=`lazy`,e.decoding=`async`,e}let i=n(`span`,`shown-thumb-label`);return i.append(n(`span`,`shown-page-kind`,S[t.kind]),n(`span`,`shown-page-title`,w(t))),i}function me(e){let t=new Image;t.src=e,t.decode().catch(()=>{})}var T=`glimmervoidShownZoom`;function E(e){return e instanceof HTMLImageElement||e instanceof HTMLVideoElement}function D(e,t){e.contentWindow?.postMessage({[T]:t},`*`)}function he(e){if(typeof e!=`object`||!e||!(T in e))return null;let t=Reflect.get(e,T);return typeof t!=`number`||!Number.isFinite(t)?null:t}function ge(e){return!(`scale`in e)||typeof e.scale!=`number`?null:e.scale}function _e(e){return!(`clientX`in e)||!(`clientY`in e)||typeof e.clientX!=`number`||typeof e.clientY!=`number`?null:{x:e.clientX,y:e.clientY}}function O(e){return{x:e.reduce((e,t)=>e+t.x,0)/e.length,y:e.reduce((e,t)=>e+t.y,0)/e.length}}function k(e){let[t,n]=e;return!t||!n?0:Math.hypot(t.x-n.x,t.y-n.y)}function ve(e,t){let r=n(`div`,`shown-step ${t}`);return r.append(e),r}function A({sessionId:c}){let l=n(`section`,`shown-face`);l.hidden=!0,l.tabIndex=-1,l.setAttribute(`aria-label`,`Shown files`);let d=n(`div`,`shown-stage`),p=t({variant:`icon`,label:`Previous file`,icon:o(ee),action:`previous-file`}),m=t({variant:`icon`,label:`Next file`,icon:o(te),action:`next-file`}),h=n(`div`,`shown-stage-frame-wrap`);h.append(d,ve(p,`shown-step-previous`),ve(m,`shown-step-next`));let g=n(`p`,`shown-caption`),_=n(`p`,`shown-meta`),v=n(`span`,`shown-position`),S=t({variant:`secondary`,size:`small`,label:`Open full size`,action:`open-full-size`}),T=t({variant:`icon`,size:`small`,label:`Zoom out`,icon:o(a),action:`zoom-out`}),A=t({variant:`secondary`,size:`small`,label:`Fit`,action:`zoom-to-fit`});A.setAttribute(`aria-label`,`Fit to stage`);let j=t({variant:`icon`,size:`small`,label:`Zoom in`,icon:o(i),action:`zoom-in`}),M=n(`span`,`shown-zoom-percent`);M.setAttribute(`aria-live`,`polite`);let N=n(`div`,`shown-zoom-controls`);N.append(T,A,j,M);let ye=n(`div`,`shown-details`),be=n(`div`,`shown-detail-text`);be.append(g,_),ye.append(be,N,v,S);let P=n(`div`,`shown-strip`);P.setAttribute(`aria-label`,`Shown files`),l.append(h,ye,P);let F=new Map,I=new Map,L=null,R=null,z=u,B=null,V=null,xe=`mouse`,H=null,U=new Map,Se=new WeakSet;function W(){let e=s(c);return e.find(e=>e.id===L)??e.at(-1)??null}function Ce(t){let n=e(`shown-thumb`);return n.title=t.caption??w(t),n.setAttribute(`aria-label`,w(t)),n.append(pe(c,t)),n.addEventListener(`click`,()=>$(t.id)),n}function we(e){let t=new Set(e.map(e=>e.id));for(let[e,n]of F)t.has(e)||(n.remove(),F.delete(e));for(let t of e){if(F.has(t.id))continue;let e=Ce(t);F.set(t.id,e),P.append(e)}P.hidden=e.length<2}function Te(e){if(!e)return;let t=e.offsetLeft-P.offsetLeft,n=t+e.offsetWidth;t<P.scrollLeft?P.scrollLeft=t:n>P.scrollLeft+P.clientWidth&&(P.scrollLeft=n-P.clientWidth)}function Ee(e){let t=new Set(e.map(e=>e.id));for(let[e,n]of I)t.has(e)||(n.remove(),I.delete(e));let n=[...I.keys()].filter(e=>I.get(e)instanceof HTMLIFrameElement);for(let e of n.slice(0,Math.max(0,n.length-se)))I.get(e)?.remove(),I.delete(e);for(let[e,t]of I)t instanceof HTMLIFrameElement||e===L||(t.remove(),I.delete(e))}function De(e){let t=I.get(e.id),n=t??fe(c,e);I.delete(e.id),I.set(e.id,n),!t&&n instanceof HTMLIFrameElement&&n.addEventListener(`load`,()=>D(n,`report`)),t||d.append(n);for(let[t,n]of I)n.hidden=t!==e.id;for(let e of d.querySelectorAll(`video`))e!==n&&e.pause()}function G(){return L?I.get(L)??null:null}function K(e){return{media:{width:e.offsetWidth,height:e.offsetHeight},stage:{width:d.clientWidth,height:d.clientHeight}}}function q(e){let t=d.getBoundingClientRect();return{x:e.x-t.left-t.width/2,y:e.y-t.top-t.height/2}}function Oe(){let e=G();N.hidden=!e||e instanceof HTMLIFrameElement&&!Se.has(e),M.textContent=oe(z.scale),T.disabled=!x(z.scale),A.disabled=!x(z.scale),j.disabled=z.scale>=8}function J(e){z=e;let t=G();E(t)&&(t.style.transform=x(z.scale)?`translate(${z.offsetX}px, ${z.offsetY}px) scale(${z.scale})`:``),d.classList.toggle(`is-zoomed`,x(z.scale)),Oe()}function Y(e){let t=G();return t instanceof HTMLIFrameElement&&(D(t,e),!0)}function ke(e){let t=G();if(!(t instanceof HTMLIFrameElement)||e.source!==t.contentWindow)return;let n=he(e.data);n!==null&&(Se.add(t),J({scale:n,offsetX:0,offsetY:0}))}function X(e,t){let n=G();E(n)&&J(y(z,e,t,K(n)))}function Ae(e){let t=G();t instanceof HTMLImageElement&&J(ae(z,q(e),K(t)))}function je(e){if(R!==e){R=e;for(let e of I.values())E(e)&&(e.style.transform=``);B=null,U.clear(),Y(`fit`),Y(`report`),J(u)}}function Me(){let e=[...U.values()];if(e.length>=2){B={kind:`pinch`,startView:z,startMidpoint:q(O(e)),startDistance:k(e)};return}let[t,n]=[...U.entries()][0]??[];t!==void 0&&n&&(B={kind:`pan`,pointerId:t,origin:n,last:n,isPanning:!1})}function Ne(e){if(E(G())&&!(e.target instanceof Element&&e.target.closest(`.shown-step`))&&(e.pointerType!==`mouse`||e.button===0)){if(xe=e.pointerType,U.set(e.pointerId,{x:e.clientX,y:e.clientY}),U.size>=2)for(let e of U.keys())d.setPointerCapture(e);Me()}}function Pe(e){if(!U.has(e.pointerId))return;let t={x:e.clientX,y:e.clientY};U.set(e.pointerId,t);let n=G();if(!E(n)||!B)return;if(B.kind===`pinch`){let e=[...U.values()];J(re({...B,midpoint:q(O(e)),distance:k(e),bounds:K(n)}));return}if(B.pointerId!==e.pointerId||!x(z.scale))return;let r=Math.hypot(t.x-B.origin.x,t.y-B.origin.y)>=ce;(B.isPanning||r)&&(B.isPanning||d.setPointerCapture(e.pointerId),B.isPanning=!0,J(b(z,t.x-B.last.x,t.y-B.last.y,K(n))),B.last=t)}function Fe(){d.addEventListener(`click`,e=>{e.preventDefault(),e.stopPropagation()},{capture:!0,once:!0})}function Ie(e){let t={x:e.clientX,y:e.clientY},n=V;if(V={at:e.timeStamp,point:t},!n)return;let r=e.timeStamp-n.at<=le,i=Math.hypot(t.x-n.point.x,t.y-n.point.y)<=ue;r&&i&&(V=null,Ae(t))}function Le(e){if(!U.delete(e.pointerId))return;let t=B;B=null,t?.kind===`pinch`?(V=null,U.size>0&&Me()):t?.kind===`pan`&&t.isPanning?(V=null,e.pointerType!==`touch`&&Fe()):e.type===`pointerup`&&e.pointerType===`touch`&&Ie(e)}function Re(e){let t=G();if(!E(t))return;let n=e.deltaMode===WheelEvent.DOM_DELTA_LINE?de:1;e.ctrlKey||e.metaKey?(e.preventDefault(),X(ie(z.scale,e.deltaY*n),q({x:e.clientX,y:e.clientY}))):x(z.scale)&&(e.preventDefault(),J(b(z,-e.deltaX*n,-e.deltaY*n,K(t))))}function ze(e){E(G())&&(e.preventDefault(),H=z)}function Be(e){if(!E(G()))return;e.preventDefault();let t=ge(e);if(U.size>0||!H||t===null)return;let n=_e(e),r=n?q(n):{x:0,y:0};z=H,X(H.scale*t,r)}function Ve(e,t){for(let n of[e[t-1],e[t+1]])n?.kind===`image`&&me(C(c,n))}function Z(){let e=s(c);we(e);let t=W();if(!t)return;L=t.id;let n=e.indexOf(t);De(t),Ee(e),je(t.id),g.textContent=t.caption??w(t),_.textContent=`${t.name}, shown ${ne(t.shownAt)}`,v.textContent=`${n+1} of ${e.length}`,p.disabled=n<=0,m.disabled=n>=e.length-1;for(let[e,n]of F)n.setAttribute(`aria-current`,String(e===t.id));Te(F.get(t.id)),Ve(e,n)}function Q(e){let t=s(c),n=W();if(!n)return;let r=t[t.indexOf(n)+e];r&&$(r.id)}function $(e){L=e,Z()}T.addEventListener(`click`,()=>{Y(`out`)||X(z.scale/f,{x:0,y:0})}),j.addEventListener(`click`,()=>{Y(`in`)||X(z.scale*f,{x:0,y:0})});function He(){A.disabled?r.get(c)?._showTerminalFace?.():A.click()}return A.addEventListener(`click`,()=>{Y(`fit`)||J(u)}),d.addEventListener(`pointerdown`,Ne),d.addEventListener(`pointermove`,Pe),d.addEventListener(`pointerup`,Le),d.addEventListener(`pointercancel`,Le),d.addEventListener(`wheel`,Re,{passive:!1}),d.addEventListener(`dblclick`,e=>{xe!==`touch`&&Ae({x:e.clientX,y:e.clientY})}),d.addEventListener(`gesturestart`,ze),d.addEventListener(`gesturechange`,Be),p.addEventListener(`click`,()=>Q(-1)),m.addEventListener(`click`,()=>Q(1)),S.addEventListener(`click`,()=>{let e=W();e&&window.open(C(c,e),`_blank`,`noopener`)}),l.addEventListener(`keydown`,e=>{if(e.altKey||e.metaKey||e.ctrlKey||e.shiftKey)return;if(e.key===`Escape`){e.preventDefault(),He();return}let t={ArrowLeft:-1,ArrowRight:1}[e.key];t!==void 0&&(e.preventDefault(),Q(t))}),{el:l,show(e){L=e,l.hidden=!1,window.addEventListener(`message`,ke),Z(),l.contains(document.activeElement)||l.focus({preventScroll:!0})},hide(){l.hidden=!0,R=null,window.removeEventListener(`message`,ke);for(let e of d.querySelectorAll(`video`))e.pause()},applyArrivals(){l.hidden?we(s(c)):Z()},select:$}}export{A as createShownFace};
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=`http://www.w3.org/2000/svg`;function t(t,n){let r=document.createElementNS(e,t);for(let[e,t]of Object.entries(n))r.setAttribute(e,t);return r}function n(t,n){let r=document.createElementNS(e,`svg`);return r.setAttribute(`width`,String(t)),r.setAttribute(`height`,String(n)),r.setAttribute(`viewBox`,`0 0 ${t} ${n}`),r.setAttribute(`aria-hidden`,`true`),r}var r=`M4 4L12 12M12 4L4 12`,i=`M8 3v10M3 8h10`,a=`M10 3L5 8L10 13`,o=`M5.1 5.3a3 3 0 1 1 4.2 2.9c-0.8 0.3-1.3 1-1.3 1.8v0.6 M8 13.3h0.01`,s=`M8 1.5v6 M4.4 3.6a5.5 5.5 0 1 0 7.2 0`,c=`M4.5 2h7v3.5a3.5 3.5 0 0 1-7 0z M4.5 3.5H2.5a2 2 0 0 0 2 2.5 M11.5 3.5h2a2 2 0 0 1-2 2.5 M8 9v3 M5.5 14h5`,l=`M2.5 3h11a1 1 0 0 1 1 1v6.5a1 1 0 0 1-1 1h-11a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z M5.5 14h5 M8 11.5V14`,u=`M6 3L11 8L6 13`,d=`M3 8h10`,f=`M3 8h0.01M8 8h0.01M13 8h0.01`,p=`M8 2.5v6M5 5.5h6M5 12.5h6`,m=`M4.5 12.5h7a3 3 0 0 0 0.4-5.97a4 4 0 0 0-7.7 0.57a2.7 2.7 0 0 0 0.3 5.4z`,h=`M8 1.8l5.2 2v4c0 3.2-2.2 5.4-5.2 6.4c-3-1-5.2-3.2-5.2-6.4v-4z`,g=`M9.2 1.5L3.5 9h4.3l-1 5.5L12.5 7H8.2z`,_=`M8.7 4.2L5.6 8.6h2.5l-.6 3.2l3.1-4.4H8.1z`,v=`M3 4.5L6.5 8L3 11.5 M8.5 11.5h4.5`,y=`M2.5 3.5h11v9h-11z M2.5 10.5l3-3l3 3l2-2l3 3 M10.5 6.2h0.01`,b=`M3 13V9M8 13V3M13 13V6.5`,x=`M2.5 5.5v-3h3 M10.5 2.5h3v3 M13.5 10.5v3h-3 M5.5 13.5h-3v-3 M8 5c0.3 1.6 1.4 2.7 3 3c-1.6 0.3-2.7 1.4-3 3c-0.3-1.6-1.4-2.7-3-3c1.6-0.3 2.7-1.4 3-3z`,S=`M3 1.5v12.5 M3 1.5h4a2.75 2.75 0 0 1 0 5.5H3 M3 7h5a3 3 0 0 1 0 6H5 M6.75 11.25L5 13l1.75 1.75`,C=`M5 13V3M2.5 5.5L5 3l2.5 2.5 M11 3v10M8.5 10.5L11 13l2.5-2.5`,w=`M2.5 8a5.5 5.5 0 1 0 11 0a5.5 5.5 0 1 0 -11 0z M8 8h0.01`,T=`M2.5 8a5.5 5.5 0 1 0 11 0a5.5 5.5 0 1 0 -11 0z M8 8L11.5 4.5`,E=`M2.5 3.5h11v7h-6l-3 2.5v-2.5h-2z`,D=`M10.5 2.5v7.5a3 3 0 0 1 -6 0V7.5 M4.5 7.5l2 2`,O=`M2 8.5h3l2 -5l2 9l2 -4h3`,k=`M3.5 9a4.5 4.5 0 1 0 9 0a4.5 4.5 0 1 0 -9 0z M8 9V6.5 M6.5 2h3`,A=`M2.5 5h11 M2.5 11h11 M6 3v4 M10 9v4`;function j(e,r=`2`){let i=n(16,16);return i.classList.add(`line-icon`),i.append(t(`path`,{d:e,fill:`none`,stroke:`currentColor`,"stroke-width":r,"stroke-linecap":`round`,"stroke-linejoin":`round`})),i}export{n as A,_ as C,c as D,O as E,b as O,A as S,v as T,i as _,p as a,C as b,E as c,o as d,D as f,f as g,d as h,g as i,t as j,j as k,x as l,w as m,k as n,r as o,y as p,S as r,m as s,a as t,u,s as v,h as w,l as x,T as y};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|