@jxsuite/studio 9.0.0 → 10.0.0
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/chunks/{2020-89fz3pfy.js → 2020-j56903f1.js} +3 -3
- package/dist/chunks/adapter-wc5zvg9a.js +4 -0
- package/dist/chunks/{add-new-flow-nmkqpjym.js → add-new-flow-snx1s4b0.js} +3 -3
- package/dist/chunks/{cf-account-picker-2e06qxey.js → cf-account-picker-xyqw0jex.js} +3 -3
- package/dist/chunks/cf-settings-hp1pjm0n.js +4 -0
- package/dist/chunks/components-nkwphrx3.js +4 -0
- package/dist/chunks/content-source-6a253wmk.js +4 -0
- package/dist/chunks/{convert-to-repeater-j9hfcj4f.js → convert-to-repeater-fhdwyg14.js} +3 -3
- package/dist/chunks/editor-wqrc68ca.js +4 -0
- package/dist/chunks/entry-commands-nef0wrmp.js +4 -0
- package/dist/chunks/{extension-sections-thfke054.js → extension-sections-8ez2rrk8.js} +2 -2
- package/dist/chunks/file-ops-y3w71k1n.js +4 -0
- package/dist/chunks/files-de90apn9.js +4 -0
- package/dist/chunks/format-host-zfjz4rzm.js +4 -0
- package/dist/chunks/fs-events-77c0mr0x.js +4 -0
- package/dist/chunks/grid-open-4n4fjfpf.js +4 -0
- package/dist/chunks/{grid-view-7d2nx83y.js → grid-view-ka55z38f.js} +4 -4
- package/dist/chunks/iframe-host-na2mywz4.js +4 -0
- package/dist/chunks/index-ewmgdb7c.js +4 -0
- package/dist/chunks/{index-jxmt7vh8.js → index-qb98xhse.js} +3 -3
- package/dist/chunks/{javascript-vmqp56ke.js → javascript-ces13wny.js} +2 -2
- package/dist/chunks/{jsonMode-n3wmpant.js → jsonMode-6md16d4v.js} +2 -2
- package/dist/chunks/jx-validate-b309c020.js +4 -0
- package/dist/chunks/layers-8rn8y6qv.js +4 -0
- package/dist/chunks/layers-panel-eyah7h9z.js +4 -0
- package/dist/chunks/media-library-gs3np47y.js +4 -0
- package/dist/chunks/media-picker-tt7dk4tb.js +4 -0
- package/dist/chunks/{monaco-binding-wfhmz89d.js → monaco-binding-p8j80s4w.js} +3 -3
- package/dist/chunks/monaco-buffer-wsf6cmnq.js +4 -0
- package/dist/chunks/{monaco-setup-fty7a8vg.js → monaco-setup-wasktzfg.js} +2 -2
- package/dist/chunks/notify-qwst108r.js +4 -0
- package/dist/chunks/platform-c16mqvmp.js +4 -0
- package/dist/chunks/publish-panel-d34bhvwj.js +4 -0
- package/dist/chunks/{publish-quick-12hh8926.js → publish-quick-vr695j26.js} +3 -3
- package/dist/chunks/publish-workspace-2yr60mt4.js +4 -0
- package/dist/chunks/quick-search-e6xsdv0d.js +4 -0
- package/dist/chunks/references-gsj6trdv.js +4 -0
- package/dist/chunks/right-panel-33jv1knc.js +4 -0
- package/dist/chunks/source-control-bj9bejjv.js +4 -0
- package/dist/chunks/{studio-9ndgd55w.js → studio-03mqh8ax.js} +4 -4
- package/dist/chunks/{studio-apapy17g.js → studio-06j4en5h.js} +2 -2
- package/dist/chunks/{studio-aghsg0ds.js → studio-0ydxv2mr.js} +6 -6
- package/dist/chunks/{studio-ekzbgnjp.js → studio-1e8dw2w2.js} +4 -4
- package/dist/chunks/{studio-0nefxhar.js → studio-2hsqbq7b.js} +5 -5
- package/dist/chunks/{studio-sm2f0sc6.js → studio-2j86y34y.js} +5 -5
- package/dist/chunks/{studio-1cfyd1ys.js → studio-2ks6ka4g.js} +3 -3
- package/dist/chunks/{studio-vtey9w98.js → studio-34jrz12k.js} +4 -4
- package/dist/chunks/{studio-e4rq6x0q.js → studio-35vrtpdq.js} +4 -4
- package/dist/chunks/{studio-a9k86nq6.js → studio-38g0jdz7.js} +4 -4
- package/dist/chunks/{studio-9gzvypw4.js → studio-396srjbk.js} +4 -4
- package/dist/chunks/{studio-4j35hgsw.js → studio-3c8pp7pb.js} +4 -4
- package/dist/chunks/{studio-z1p91z5a.js → studio-3v5cagy9.js} +4 -4
- package/dist/chunks/{studio-a6e5fzve.js → studio-3w35qvay.js} +4 -4
- package/dist/chunks/{studio-ry4789ng.js → studio-3zge48z4.js} +6 -6
- package/dist/chunks/{studio-9ra9e7m4.js → studio-45gyxpcq.js} +4 -4
- package/dist/chunks/{studio-tfmhnwyr.js → studio-4kzbrr5t.js} +3 -3
- package/dist/chunks/{studio-tyzgte21.js → studio-5tzgq6fx.js} +4 -4
- package/dist/chunks/{studio-nqexty8x.js → studio-5wzdy1jc.js} +6 -6
- package/dist/chunks/{studio-14hh60j8.js → studio-771k2n12.js} +4 -4
- package/dist/chunks/{studio-nm86874b.js → studio-7dzyz9n8.js} +98 -98
- package/dist/chunks/{studio-k5n4es74.js → studio-7xag4na8.js} +4 -4
- package/dist/chunks/studio-88bmt9rh.js +5 -0
- package/dist/chunks/{studio-kyw47pet.js → studio-9b7177jq.js} +4 -4
- package/dist/chunks/{studio-yjh9gddd.js → studio-9cxmp61c.js} +5 -5
- package/dist/chunks/{studio-qd0cycm4.js → studio-9dz76yqc.js} +5 -5
- package/dist/chunks/{studio-cg54vtet.js → studio-agyvzfm4.js} +4 -4
- package/dist/chunks/{studio-x2trkhk5.js → studio-c1pxszat.js} +4 -4
- package/dist/chunks/{studio-qs5fmhtj.js → studio-cpkamjdn.js} +7 -7
- package/dist/chunks/{studio-n4qq1n57.js → studio-d038kqbs.js} +4 -4
- package/dist/chunks/{studio-fj6jzgxw.js → studio-d83m0wyq.js} +4 -4
- package/dist/chunks/studio-dbxv7w4s.js +5 -0
- package/dist/chunks/{studio-7q6jdd4h.js → studio-de1s2x9v.js} +4 -4
- package/dist/chunks/{studio-h4jbgne2.js → studio-dx73md4n.js} +6 -6
- package/dist/chunks/{studio-nfwacw31.js → studio-ekgtrndg.js} +4 -4
- package/dist/chunks/{studio-79r8msnr.js → studio-epenqmvk.js} +3 -3
- package/dist/chunks/{studio-sc35ttdk.js → studio-et2q4s8n.js} +4 -4
- package/dist/chunks/{studio-g45r5vm8.js → studio-ewarnzm4.js} +2 -2
- package/dist/chunks/{studio-nfmpmkqb.js → studio-fy7jzj9j.js} +4 -4
- package/dist/chunks/{studio-kqh7fxn6.js → studio-gr36vnte.js} +4 -4
- package/dist/chunks/{studio-spza69tb.js → studio-gwrhcrss.js} +5 -5
- package/dist/chunks/{studio-8hf8qcm1.js → studio-h310mbqm.js} +4 -4
- package/dist/chunks/{studio-qevf5z9d.js → studio-h5tpz5ke.js} +4 -4
- package/dist/chunks/studio-h7weqf2q.js +5 -0
- package/dist/chunks/{studio-gk9yk8dj.js → studio-hcsba201.js} +6 -6
- package/dist/chunks/{studio-ws2r1d7e.js → studio-hwejq03c.js} +4 -4
- package/dist/chunks/{studio-9179bsm7.js → studio-hy4ye0dx.js} +6 -6
- package/dist/chunks/{studio-myb4mf0h.js → studio-jttyqrmh.js} +4 -4
- package/dist/chunks/{studio-k6hbx2fc.js → studio-jw0q5j6k.js} +4 -4
- package/dist/chunks/{studio-s4fq9jht.js → studio-k3a8rp3d.js} +4 -4
- package/dist/chunks/{studio-by8x0jvc.js → studio-k3bcy02e.js} +4 -4
- package/dist/chunks/{studio-3hpcawh8.js → studio-m48v13s3.js} +3 -3
- package/dist/chunks/{studio-4qg61g9j.js → studio-ndskgqef.js} +4 -4
- package/dist/chunks/studio-p1n2xjda.js +5 -0
- package/dist/chunks/{studio-ae7a69jc.js → studio-pgm83a2f.js} +5 -5
- package/dist/chunks/{studio-0rg30pvs.js → studio-pqqq6v85.js} +4 -4
- package/dist/chunks/{studio-gskkgfe3.js → studio-r17asgs0.js} +4 -4
- package/dist/chunks/{studio-8pne0rx4.js → studio-ry81j4q1.js} +4 -4
- package/dist/chunks/{studio-mkw17ngg.js → studio-rzg8hnkf.js} +4 -4
- package/dist/chunks/{studio-trcfer2b.js → studio-s0fg2wav.js} +4 -4
- package/dist/chunks/{studio-gczve8zf.js → studio-tj2s0tks.js} +3 -3
- package/dist/chunks/{studio-tn7v8gey.js → studio-v9ywz2se.js} +5 -5
- package/dist/chunks/{studio-nvfa137z.js → studio-vswcpzk7.js} +5 -5
- package/dist/chunks/{studio-ztppbam0.js → studio-vzgmyt0v.js} +4 -4
- package/dist/chunks/{studio-fg4fj9ec.js → studio-wxdcd42g.js} +5 -5
- package/dist/chunks/{studio-xzgp0cp7.js → studio-wxhy1yh7.js} +4 -4
- package/dist/chunks/{studio-4rgem12q.js → studio-x08a3m0a.js} +4 -4
- package/dist/chunks/{studio-t6dqnnft.js → studio-x3mjr5cc.js} +4 -4
- package/dist/chunks/{studio-9ff0vqff.js → studio-x97ay0v4.js} +4 -4
- package/dist/chunks/{studio-32d8wyxq.js → studio-xdpz9rpe.js} +29 -29
- package/dist/chunks/{studio-6k9djnxw.js → studio-xh683qzy.js} +4 -4
- package/dist/chunks/{studio-c88gq88j.js → studio-xkxetm65.js} +5 -5
- package/dist/chunks/{studio-jr30g4ae.js → studio-y26hx9re.js} +4 -4
- package/dist/chunks/{studio-hcy9zeac.js → studio-yg3djpnm.js} +4 -4
- package/dist/chunks/studio-yx8hzqja.js +5 -0
- package/dist/chunks/{studio-ht81xjkr.js → studio-zg16eeq1.js} +4 -4
- package/dist/chunks/{studio-6rbaedw2.js → studio-zgx7svjd.js} +6 -6
- package/dist/chunks/{studio-ywf9y1e2.js → studio-zkq3r91p.js} +4 -4
- package/dist/chunks/{tsMode-byje4a01.js → tsMode-h6tkz0ea.js} +2 -2
- package/dist/chunks/workspace-home-zkkrxq3r.js +4 -0
- package/dist/chunks/workspace-tdqqjqaa.js +4 -0
- package/dist/chunks/{ws-client-h09h6sqg.js → ws-client-e951my95.js} +3 -3
- package/dist/iframe-entry.js +8 -8
- package/dist/manifest.json +72 -72
- package/dist/studio.js +64 -65
- package/package.json +11 -11
- package/src/canvas/iframe-editable-root.ts +32 -2
- package/src/format/format-host.ts +1 -1
- package/src/github/github-auth-status.ts +2 -2
- package/src/media/media-library.ts +73 -3
- package/src/packages/ensure-deps.ts +5 -5
- package/src/packages/pull-package-sync.ts +4 -4
- package/src/panels/activity-panel.ts +1 -1
- package/src/platforms/cloud.ts +48 -34
- package/src/settings/extension-commands.ts +1 -1
- package/src/settings/extension-rows.ts +1 -6
- package/src/settings/extensions-section.ts +3 -6
- package/src/surfaces/block-action-bar.json +1 -3
- package/src/surfaces/media-library.json +35 -0
- package/src/surfaces/media-library.ts +2 -0
- package/src/surfaces/menu.ts +62 -1
- package/src/surfaces/settings-packages.ts +1 -1
- package/src/types.ts +10 -8
- package/src/ui/layers.ts +1 -1
- package/src/ui/progress-modal.ts +3 -3
- package/dist/chunks/adapter-ay13gema.js +0 -4
- package/dist/chunks/cf-settings-5y04810c.js +0 -4
- package/dist/chunks/components-3vf75n83.js +0 -4
- package/dist/chunks/content-source-4f2raf4a.js +0 -4
- package/dist/chunks/editor-645krvtz.js +0 -4
- package/dist/chunks/entry-commands-3qmv8wkr.js +0 -4
- package/dist/chunks/file-ops-kkhp9ma7.js +0 -4
- package/dist/chunks/files-yswdhxrf.js +0 -4
- package/dist/chunks/format-host-4g8ex6bz.js +0 -4
- package/dist/chunks/fs-events-z9gpvc6t.js +0 -4
- package/dist/chunks/grid-open-fm4j183c.js +0 -4
- package/dist/chunks/iframe-host-q7fedsmr.js +0 -4
- package/dist/chunks/index-pt4wh98x.js +0 -4
- package/dist/chunks/jx-validate-19y62knt.js +0 -4
- package/dist/chunks/layers-panel-1qvc83y9.js +0 -4
- package/dist/chunks/layers-qf0bc7ze.js +0 -4
- package/dist/chunks/media-library-f9d5qcjb.js +0 -4
- package/dist/chunks/media-picker-rsb1fmk2.js +0 -4
- package/dist/chunks/monaco-buffer-ak0raadw.js +0 -4
- package/dist/chunks/notify-4qj70q0x.js +0 -4
- package/dist/chunks/platform-ehg6t9vd.js +0 -4
- package/dist/chunks/publish-panel-yhmda3cd.js +0 -4
- package/dist/chunks/publish-workspace-hx8qdv9p.js +0 -4
- package/dist/chunks/quick-search-r955m3q1.js +0 -4
- package/dist/chunks/references-8gxv0x7t.js +0 -4
- package/dist/chunks/right-panel-jarwqjpy.js +0 -4
- package/dist/chunks/source-control-84qt25m9.js +0 -4
- package/dist/chunks/studio-2bq7hheq.js +0 -5
- package/dist/chunks/studio-dvhxxxbd.js +0 -5
- package/dist/chunks/studio-ge08zwpv.js +0 -5
- package/dist/chunks/studio-nr0kcqc6.js +0 -5
- package/dist/chunks/studio-y47090vq.js +0 -5
- package/dist/chunks/workspace-7q4arnt3.js +0 -4
- package/dist/chunks/workspace-home-ge027kr6.js +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{te}from"./studio-psh8mwnw.js";import{p}from"./studio-
|
|
1
|
+
import{te}from"./studio-psh8mwnw.js";import{p}from"./studio-03mqh8ax.js";import{ge,ne,Kr,Jr,g,de,oM,C}from"./studio-4kzbrr5t.js";import{Pn,yx,ln,go,vC,xx,iv,I$,an,lv,Fm,Hi,Vn,Ce,ui,To,Y,hi,zm,m,kr,Ql,jt}from"./studio-vzgmyt0v.js";import{nf}from"./studio-3w35qvay.js";import{pt,Uo,xr}from"./studio-771k2n12.js";import{S,Xc,wn}from"./studio-45gyxpcq.js";import{n,Z,Ze,Iv,Q,_,v}from"./studio-zkq3r91p.js";import{le}from"./studio-7xag4na8.js";function F(e){return e.replaceAll("~","~0").replaceAll("/","~1")}var Ue=100;function H(e){let t={blankAfter:new Set,escaped:new Map,inline:new Map},o=0,r=()=>{let l=0;while(o<e.length&&(e[o]===" "||e[o]==="\t"||e[o]==="\r"||e[o]===`
|
|
2
2
|
`)){if(e[o]===`
|
|
3
3
|
`)l+=1;o+=1}return l},s=()=>{let l=o,u=new Set;o+=1;while(o<e.length&&e[o]!=='"')if(e[o]==="\\")if(e[o+1]==="u"){let d=Number.parseInt(e.slice(o+2,o+6),16);if(d>=128)u.add(d);o+=6}else o+=2;else o+=1;return o+=1,{escaped:u,raw:e.slice(l,o)}},i=(l,u)=>{let d=r();if(e[o]===u)return o+=1,!0;if(o+=1,d+=r(),d>=2)t.blankAfter.add(l);return!1},a=(l)=>{r();let u=e[o];if(u==="{"){o+=1;let d=r()>0;if(e[o]==="}"){o+=1;return}t.inline.set(l,!d);while(o<e.length){let c=JSON.parse(s().raw);r(),o+=1;let f=`${l}/${F(c)}`;if(a(f),i(f,"}"))return}}else if(u==="["){if(o+=1,r(),e[o]==="]"){o+=1;return}for(let d=0;o<e.length;d+=1){let c=`${l}/${d}`;if(a(c),i(c,"]"))return}}else if(u==='"'){let{escaped:d}=s();if(d.size>0)t.escaped.set(l,d)}else while(o<e.length&&!`,]} \r
|
|
4
|
-
`.includes(e[o]))o+=1};return a(""),t}function ks(e){return{document:JSON.parse(e),layout:H(e)}}var Ve=/[^\u0020-\u007E]/,He=/^[\p{Mn}\p{Me}\p{Cf}]$/u,Ge=/^\p{Emoji_Presentation}$/u;function Ke(e){return e>=4352&&(e<=4447||e===9001||e===9002||e>=11904&&e<=12871&&e!==12351||e>=12880&&e<=19903||e>=19968&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65131||e>=65281&&e<=65376||e>=65504&&e<=65510||e>=110592&&e<=110593||e>=127488&&e<=127569||e>=131072&&e<=262141)}function me(e){if(!Ve.test(e))return e.length;let t=0;for(let o of e){if(He.test(o))continue;t+=Ke(o.codePointAt(0))||Ge.test(o)?2:1}return t}function be(e){return e===void 0||Q(e)
|
|
4
|
+
`.includes(e[o]))o+=1};return a(""),t}function ks(e){return{document:JSON.parse(e),layout:H(e)}}var Ve=/[^\u0020-\u007E]/,He=/^[\p{Mn}\p{Me}\p{Cf}]$/u,Ge=/^\p{Emoji_Presentation}$/u;function Ke(e){return e>=4352&&(e<=4447||e===9001||e===9002||e>=11904&&e<=12871&&e!==12351||e>=12880&&e<=19903||e>=19968&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65131||e>=65281&&e<=65376||e>=65504&&e<=65510||e>=110592&&e<=110593||e>=127488&&e<=127569||e>=131072&&e<=262141)}function me(e){if(!Ve.test(e))return e.length;let t=0;for(let o of e){if(He.test(o))continue;t+=Ke(o.codePointAt(0))||Ge.test(o)?2:1}return t}function be(e){return e===void 0||Q(e)||Iv(e)}function U(e){return Object.entries(e).filter(([,t])=>!be(t))}function M(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)}function qe(e){if(e.length<2)return!1;let t=Array.isArray(e[0])?"array":M(e[0])?"object":null;if(t===null)return!1;return e.every((o)=>t==="array"?Array.isArray(o)&&o.length>1:M(o)&&U(o).length>1)}function Ye(e){return e.length>1&&e.every((t)=>Z(t))}function V(e,t){let o=be(e)?"null":JSON.stringify(e);return t===void 0?o:o.replaceAll(/[\u0080-\uFFFF]/g,(r)=>{let s=r.codePointAt(0);return t.has(s)?`\\u${s.toString(16).padStart(4,"0")}`:r})}function Co(e,t,o=Ue){let r=t?.inline??new Map,s=t?.blankAfter??new Set,i=t?.escaped??new Map,a=(c,f)=>r.get(c)??f,l=(c,f,b)=>{if(Array.isArray(c)){if(c.length===0)return"[]";if(qe(c))return null;let y=[];for(let[x,P]of c.entries()){let T=`${f}/${x}`,w=s.has(T)?null:l(P,T,b);if(w===null)return null;y.push(w)}return`[${y.join(", ")}]`}if(M(c)){let y=U(c);if(y.length===0)return"{}";if(!a(f,b))return null;let x=[];for(let[P,T]of y){let w=`${f}/${F(P)}`,E=s.has(w)?null:l(T,w,!0);if(E===null)return null;x.push(`${JSON.stringify(P)}: ${E}`)}return`{ ${x.join(", ")} }`}return V(c,i.get(f))},u=(c)=>c.map(({path:f,text:b},y)=>y===c.length-1?b:`${b},
|
|
5
5
|
${s.has(f)?`
|
|
6
6
|
`:""}`).join(""),d=(c,f,b,y,x,P)=>{if(!Array.isArray(c)&&!M(c))return V(c,i.get(f));let T=l(c,f,x);if(T!==null&&y+me(T)+P<=o)return T;let w=" ".repeat(b+2),E=`
|
|
7
7
|
${" ".repeat(b)}`;if(Array.isArray(c)){if(Ye(c))return`[
|
|
@@ -9,8 +9,8 @@ ${Xe(c,w,o,(A)=>s.has(`${f}/${A}`))}${E}]`;let L=c.map((R,A)=>{let O=`${f}/${A}`
|
|
|
9
9
|
${u(L)}${E}]`}let pe=U(c),Be=a(f,x),We=pe.map(([L,R],A)=>{let O=`${f}/${F(L)}`,J=`${JSON.stringify(L)}: `,z=A===pe.length-1,ze=w.length+me(J),Fe=d(R,O,b+2,ze,Be,z?0:1);return{path:O,text:`${w}${J}${Fe}`}});return`{
|
|
10
10
|
${u(We)}${E}}`};return`${d(e,"",0,0,!1,0)}
|
|
11
11
|
`}function Xe(e,t,o,r){let s=[],i="";for(let[a,l]of e.entries()){let u=`${V(l)}${a===e.length-1?"":","}`;if(i==="")i=`${t}${u}`;else if(i.length+1+u.length<=o)i=`${i} ${u}`;else s.push(i),i=`${t}${u}`;if(r(a)&&a<e.length-1)s.push(i,""),i=""}return s.push(i),s.join(`
|
|
12
|
-
`)}function Cm(e){return Co(e,ye())}var k=null,j=null,N=null,I=null;function ye(){return we()?.doc.layout??I}var G=null;function we(){let e=m.tabs.get(an);return e?de(e):null}function Qe(){if(j)Pm(j),j=null;k=null,N=null,I=null,G=null}function ve(){return G??=(async()=>{try{let e=await p().readFile(an),{document:t,layout:o}=ks(e);I=o,N=Co(t,ye())}catch{N=null}})(),G}async function jL(e){if(await ve(),e.doc.layout===null&&I!==null)e.doc.layout=I}function et(e){let t=wn();if(t.projectConfig===e)return;Xc({...t,projectConfig:e}),Ql(m.projectRoot,e)}function tt(){let e=S?.projectConfig;return e?de(e):null}function K(e){return de(e)}function xe(e,t){for(let o of Object.keys(e))delete e[o];Object.assign(e,t)}function he(e){return k=e,e.scope.run(()=>{ne(()=>{let t=e.doc.document;if(k!==e||!S)return;et(K(t))})}),e}function XS(){let e=wn(),t=we();if(k&&(k!==(t??j)||de(k.doc.document)!==e.projectConfig))Qe();if(k)return k;if(t)return he(t);return j=av({document:e.projectConfig??{},documentPath:an,id:an}),he(j)}function Se(e){return JSON.stringify(e.extensions??null)}async function ot(){let{loadFormats:e,refreshExtensionUi:t,refreshFormats:o}=await (le("4g8ex6bz"),import("./format-host-4g8ex6bz.js"));o(),e(),t(p())}async function Gl(e){let t=tt(),o=XS();await jL(o);let r=K(o.doc.document),s=Cm(r),i=t&&t!==r&&Cm(t)!==s?t:null;if(i&&o.doc.dirty){let b=Error(`${an} has unsaved changes in its editor tab`);return C.error(`Could not save ${an} — the file is open with unsaved changes. Save or `+"revert that tab, then make the settings change again.",{key:`save:${an}`,path:an,source:"Settings"}),{error:b,ok:!1}}let a=i??r,l=e?{...a,...e}:a,u=Cm(l);if(!i&&!o.doc.dirty&&u===N)return{ok:!0};let d=Se(r);Y(o,(b)=>{let y=b.doc.document;if(i)xe(y,i);for(let[x,P]of Object.entries(e??{}))y[x]=P});let c=K(o.doc.document),f=Cm(c);try{await p().writeFile(an,f)}catch(b){return C.error(`Could not save ${an} — ${te(b)}`,{key:`save:${an}`,path:an,source:"Settings"}),{error:b,ok:!1}}if(N=f,o.doc.dirty=!1,Se(c)!==d)await ot();return{ok:!0}}async function YN(e,t){if(!S){Ql(m.projectRoot,e);return}let o=XS();Y(o,(r)=>xe(r.doc.document,e),{skipHistory:!0}),o.doc.dirty=!1,await ve(),I=H(t),o.doc.layout=I,N=Cm(e)}function to(e){let t=S?.projectConfig?.$media;if(!t)return e||{};if(!e)return{...t};return{...t,...e}}function wr(e){let t=S?.projectConfig?.style;if(!t)return e||{};if(!e)return{...t};let o={...t};for(let[r,s]of Object.entries(e)){let i=o[r];o[r]=_(s)&&_(i)?{...i,...s}:s}return o}function ZN(e,t=[]){return{...HL(t),...S?.projectConfig?.imports,...e}}function HL(e){let t=e.flatMap((o)=>(o.classes??[]).filter((r)=>r.path.endsWith(".class.json")).map((r)=>[r.name,r.path]));return Object.fromEntries(t.toReversed())}function Xw(e){let t=S?.projectConfig?.$elements;if(!t?.length)return e||[];if(!e?.length)return[...t];let o=new Set,r=[];for(let s of[...t,...e]){let i=n(s)?s:_(s)?s.$ref:void 0;if(i&&!o.has(i))o.add(i),r.push(s)}return r}function Qw(e){let t=S?.projectConfig?.$head;if(!t?.length)return e||[];if(!e?.length)return[...t];let o=new Set,r=[];for(let s of[...t,...e]){let i=_(s)?s.attributes:void 0,a=String(i?.href||i?.src||"")||JSON.stringify(s);if(!o.has(a))o.add(a),r.push(s)}return r}function Es(){let e=S?.projectConfig;return e?ln(e).i18n:null}function Ip(e,t){let o=Es();if(o===null)return null;let r=Pn(e);if(r!==null&&o.locales.includes(r))return r;return go(t??"",o)??o.defaultLocale}var q=new Map;function XN(){q.clear()}function il(e){if(e===!1)return null;let t=S?.projectConfig?.defaults?.layout;return e||t||null}async function ex(e){let t=e.replace(/^\.\//,""),o=q.get(t);if(o!==void 0)return structuredClone(o);try{let s=await p().readFile(t),i=JSON.parse(s);return q.set(t,i),structuredClone(i)}catch{return null}}function BL(e,t){let o=t.children??[],r=Array.isArray(o)?o:[],s=new Map,i=[];for(let a of r){let l=n(a)?void 0:a.attributes?.slot;if(!n(a)&&n(l)&&l){if(!s.has(l))s.set(l,[]);s.get(l).push(a)}else i.push(a)}if(Pe(e,s,i),t.state)e.state={...e.state,...t.state};if(t.$media)e.$media={...e.$media,...t.$media};if(t.style)e.style={...e.style,...t.style};if(t.attributes)e.attributes={...e.attributes,...t.attributes};return e}function Pe(e,t,o){if(!Array.isArray(e.children))return;let r=[];for(let s of e.children)if(_(s)&&s.tagName==="slot"){let i=s.attributes?.name;if(n(i)&&i&&t.has(i))r.push(...t.get(i)),t.delete(i);else if(!i&&o.length>0)r.push(...o);else if(Array.isArray(s.children))r.push(...s.children)}else{if(_(s))Pe(s,t,o);r.push(s)}e.children=r}async function no(e){let t=await Gl(e);if(!t.ok)throw t.error}var Te=new Set([hi,Bm]),nt=new Set(["auto","light","dark"]);function rt(e){return n(e)&&nt.has(e)}function it(e){let{ui:t}=e.session;return{activeMedia:t.activeMedia,canvasMode:t.canvasMode,editZoom:t.editZoom,preview:t.preview,previewColorScheme:t.previewColorScheme,previewLocale:t.previewLocale,showLayout:t.showLayout,zoom:t.zoom}}function ke(){let e={},t=[];for(let o of m.panes){if(o.derived)continue;let r=[];for(let i of o.tabOrder){let a=m.tabs.get(i);if(!a?.documentPath)continue;r.push(a.documentPath),e[a.documentPath]=it(a)}if(r.length===0)continue;let s=o.activeTabId?m.tabs.get(o.activeTabId):null;t.push({activeFile:s?.documentPath??null,files:r,id:o.id})}return{focusedPane:m.activePaneId,panes:t,ui:e}}function st(e){if(!v(e))return{};let t={};if(n(e.canvasMode))t.canvasMode=e.canvasMode;if(Ze(e.preview))t.preview=e.preview;if(Z(e.zoom)&&Number.isFinite(e.zoom))t.zoom=e.zoom;if(Z(e.editZoom)&&Number.isFinite(e.editZoom))t.editZoom=e.editZoom;if(e.activeMedia===null||n(e.activeMedia))t.activeMedia=e.activeMedia;if(rt(e.previewColorScheme))t.previewColorScheme=e.previewColorScheme;if(e.previewLocale===null||n(e.previewLocale)&&yx(e.previewLocale))t.previewLocale=e.previewLocale;if(Ze(e.showLayout))t.showLayout=e.showLayout;return t}function Ie(e){if(!v(e)||!Array.isArray(e.panes))return null;let t=[];for(let r of e.panes){if(!v(r)||!n(r.id)||!Te.has(r.id))continue;let s=Array.isArray(r.files)?r.files.filter((i)=>n(i)&&i!==""):[];if(s.length===0)continue;t.push({activeFile:n(r.activeFile)&&s.includes(r.activeFile)?r.activeFile:null,files:s,id:r.id})}if(t.length===0)return null;let o={};if(_(e.ui))for(let[r,s]of Object.entries(e.ui))o[r]=st(s);return{focusedPane:n(e.focusedPane)&&Te.has(e.focusedPane)?e.focusedPane:hi,panes:t,ui:o}}async function QN(e,t){let o=0;if(e.panes.some((i)=>i.id===Bm))t.ensureSecondPane();for(let i of e.panes)for(let a of i.files){try{await t.openFile(a,i.id)}catch{}if([...m.tabs.values()].some((l)=>l.documentPath===a))o+=1}if(o===0)return 0;for(let i of m.tabs.values()){let a=i.documentPath?e.ui[i.documentPath]:void 0;if(!a)continue;let{ui:l}=i.session;if(a.canvasMode&&i.capabilities.modes.includes(a.canvasMode))l.canvasMode=a.canvasMode;if(a.preview!==void 0)l.preview=a.preview;if(a.zoom!==void 0)l.zoom=a.zoom;if(a.editZoom!==void 0)l.editZoom=a.editZoom;if(a.activeMedia!==void 0)l.activeMedia=a.activeMedia;if(a.previewColorScheme!==void 0)l.previewColorScheme=a.previewColorScheme;if(a.previewLocale!==void 0)l.previewLocale=a.previewLocale;if(a.showLayout!==void 0)l.showLayout=a.showLayout}let r=m.panes.some((i)=>i.id===e.focusedPane)?e.focusedPane:null,s=null;for(let i of e.panes){let a=m.panes.find((u)=>u.id===i.id);if(!a||!i.activeFile)continue;let l=a.tabOrder.find((u)=>m.tabs.get(u)?.documentPath===i.activeFile);if(!l)continue;if(a.id===r)s=l;else jt(l,{focus:!1})}if(s)jt(s);else if(r)kr(r);return o}var km=["review","deploys","branches","hosting"],QS={branches:"Branches",deploys:"Deploys",hosting:"Hosting",review:"Review changes"},at=["live","review"],_e="review",Ee="live",lt=new Set(km),ct=new Set(at);function eA(e){return typeof e==="string"&<.has(e)}function tx(e){return typeof e==="string"&&ct.has(e)}var ut={default:{description:"Resume whatever was persisted — layout, recents, settings, chat history.",id:"default",reset:"none"},fresh:{description:"A first-run app: no layout, no recents, no settings, no history.",id:"fresh",reset:"app-state"}},Ae=new Map(Object.entries(ut)),ft="default",dt=/^jx[-._:]/;function mt(e){return dt.test(e)}function gt(){let e=typeof localStorage>"u"?void 0:localStorage;if(!e)return[];let t=[];try{for(let o=0;o<e.length;o++){let r=e.key(o);if(r&&mt(r))t.push(r)}for(let o of t)e.removeItem(o)}catch{}return t}function bt(e){let t=Ae.get(e);if(!t)throw RangeError(`unknown startup profile "${e}"; declared: ${[...Ae.keys()].join(", ")}`);if(t.reset==="app-state")gt();return t}var B=null;function je(e){if(B)return B;let t=new URLSearchParams(e??(typeof location>"u"?"":location.search)),o=bt(t.get("profile")??ft),r=t.get("clock");return B={clock:r===null?null:iM(r),profile:o},B}var W=["site","collections","styles","files","search","i18n","layers","data","packages","insert"],ht=new Set(["collections","styles"]);function Oe(e){return e&&!ht.has(e)?e:yt}var St=new Map([["blocks","insert"],["head","site"],["page","site"],["imports","packages"],["git","site"],["state","data"]]),yt="site";function eC(e,t){let o=W.find((r)=>r===e);if(o===void 0)throw Error(`${t}: "${e}" is not a declared Navigator panel id.`);return o}function se(e){if(!n(e))return null;let t=St.get(e);if(t)return t;return W.find((o)=>o===e)??null}var oe=["page","properties","style","events","assistant"],nx="page",wt=["properties","style","events"],tC="properties";function ix(e){return typeof e==="string"&&wt.some((t)=>t===e)}function zL(e){return typeof e==="string"&&oe.some((t)=>t===e)}var ox=["problems","logic","activity"],WL="problems";function VL(e){return typeof e==="string"&&ox.some((t)=>t===e)}var rx=["light","dark"],Hc={content:{id:"content",inspector:{open:!1,whileWriting:!0},navigator:{open:!0,panel:"collections"},rail:!1,tabStrip:!0},design:{id:"design",inspector:{open:!0},navigator:{initial:"site",open:!0},rail:!0,tabStrip:!0},media:{id:"media",inspector:{open:!1},navigator:{open:!1},rail:!1,tabStrip:!1},publish:{id:"publish",inspector:{open:!1},navigator:{open:!1},rail:!1,tabStrip:!1},styles:{id:"styles",inspector:{open:!1,tab:"style",whileWriting:!0},navigator:{open:!0,panel:"styles"},rail:!1,tabStrip:!1}},De="jx-studio-panel-widths",Le="jx-studio-project::",vt="dark";function UL(e){return typeof e==="string"&&rx.some((t)=>t===e)}function xt(){let e=Uo(pt.theme);return UL(e)?e:vt}var sx=["left","right","bottom"],D={bottom:{collapsed:!0,size:220},left:{collapsed:!1,size:240},right:{collapsed:!1,size:280}},tA={bottom:D.bottom.size,left:D.left.size,right:D.right.size},Pt={bottom:"--dock-h-bottom",left:"--panel-w-left",right:"--panel-w-right"},Tt={bottom:"bottom-collapsed",left:"left-collapsed",right:"right-collapsed"},qL=0.5,nC=0.2,iC=0.8;function kt(e){return Z(e)&&e>=nC&&e<=iC?e:qL}function nA(e){h.paneSplit=Math.min(iC,Math.max(nC,e))}function It(){try{let e=JSON.parse(localStorage.getItem(De)||"{}");return v(e)?e:{}}catch{return{}}}function _t(e){return{left:e("left"),right:e("right"),bottom:e("bottom")}}function Re(){return{branches:null,commitMessage:"",diffState:null,error:null,lastUpdated:null,loading:!1,logEntries:null,rev:0,status:null}}function $e(){return{build:{for:"",state:"idle",text:""},deploys:{error:"",project:"",rows:[],state:"idle"},destination:Ee,review:{number:0,url:""},tab:_e}}var Et="tokens";function Je(){return{customizedOnly:!1,filter:"",selection:null,variable:null,view:Et}}function Ct(){let e=It(),t=_t((o)=>{let r=e[o],s=e[`${o}Collapsed`];return{collapsed:Ze(s)?s:D[o].collapsed,size:Z(r)&&r>0?r:D[o].size}});return{bottomTab:VL(e.bottomTab)?e.bottomTab:WL,docks:t,focusRegion:"pane",paneSplit:kt(e.paneSplit),git:Re(),publish:$e(),layoutSelection:null,leftTab:Oe(se(e.leftTab)),stylebook:Je(),theme:xt(),workspace:xx}}je();var At=["jx-studio-doc-header-expanded"];function Nt(){try{for(let e of At)localStorage.removeItem(e)}catch{}}Nt();var h=g(Ct());function Ad(){try{localStorage.setItem(De,JSON.stringify({bottom:h.docks.bottom.size,bottomCollapsed:h.docks.bottom.collapsed,bottomTab:h.bottomTab,left:h.docks.left.size,leftCollapsed:h.docks.left.collapsed,leftTab:h.leftTab,paneSplit:h.paneSplit,right:h.docks.right.size,rightCollapsed:h.docks.right.collapsed}))}catch{}}var re,ae={};function ce(e){if(!e)return{};try{let t=JSON.parse(localStorage.getItem(`${Le}${e}`)||"{}");return v(t)?t:{}}catch{return{}}}function GL(e){let t=ce(e).workspace;return I$(t)?t:xx}function iA(e){return Ie(ce(e).session)}var ue=null;function ax(e){ue=e}function oA(){fe()}function fe(){let e=m.projectRoot;if(!e)return;try{localStorage.setItem(`${Le}${e}`,JSON.stringify({session:e===ue?ke():ce(e).session,workspace:h.workspace}))}catch{}}function Ot(e){if(e===re)return;if(re=e,ae={},h.workspace=GL(e),e===null){h.leftTab=Oe(se(h.leftTab));return}Kr();try{Me(h.workspace),Ad()}finally{Jr()}}function KL(e,t){let{inspector:o}=Hc[e];return o.open||o.whileWriting===!0&&t}function Me(e,t){let o=Hc[e],r=se(o.navigator.panel??ae[e]??o.navigator.initial??h.leftTab);if(r)h.leftTab=r;if(h.docks.left.collapsed=!o.navigator.open,h.docks.right.collapsed=!KL(e,t?.writingOnCanvas?.()===!0),o.inspector.tab&&t)t.setInspectorTab(o.inspector.tab)}function oC(e,t){if(h.workspace===e)return!1;if(!Hc[h.workspace].navigator.panel)ae[h.workspace]=h.leftTab;return h.workspace=e,Me(e,t),Ad(),fe(),!0}function Em(e=h.theme){return e==="light"?"vs":"vs-dark"}function Dt(){document.documentElement.dataset.theme=h.theme,nf()?.editor.setTheme(Em())}var Lt="rail-hidden",Rt="tabs-hidden";function Mb(e=h.workspace){return Hc[e].tabStrip}function $t(){let e=document.documentElement;for(let o of sx)e.style.setProperty(Pt[o],`${h.docks[o].size}px`);let t=document.querySelector("#app");if(!t)return;for(let o of sx)t.classList.toggle(Tt[o],h.docks[o].collapsed);t.classList.toggle(Lt,!Hc[h.workspace].rail),t.classList.toggle(Rt,!Hc[h.workspace].tabStrip)}var X=null,ie=[];function Pb(e){if(!ie.includes(e))ie.push(e)}function rA(){if(X)return;for(let e of ie)e.mount();X=ge(),X.run(()=>{ne(()=>{$t()}),ne(()=>{Dt()}),ne(()=>{Ot(m.projectRoot)}),ne(()=>{let e=m.projectRoot;m.activePaneId;for(let t of m.panes)t.id,t.activeTabId,t.tabOrder.join("\x00");if(e)fe()})})}function ko(e,t){if(h.docks[e].collapsed===t){Ad();return}h.docks[e].collapsed=t,Ad()}function Jt(e){ko(e,!h.docks[e].collapsed)}function sA(e,t){h.docks[e].size=t}function Bc(e){h.leftTab=e,ko("left",!1),Ad()}function oh(e){h.bottomTab=e,ko("bottom",!1),Ad()}function JL(e){if(h.theme===e)return;h.theme=e,xr(pt.theme,e)}function aA(e){if(e===h.leftTab&&!h.docks.left.collapsed){ko("left",!0);return}Bc(e)}function YL(e){h.layoutSelection=e}function lx(){Object.assign(h.git,Re()),Object.assign(h.publish,$e()),Object.assign(h.stylebook,Je()),h.layoutSelection=null,ue=null,re=void 0}function Ne(e,t){if(t.showWorkspace){t.showWorkspace(e);return}oC(e,t)}var ee=(e)=>e.project.open;function Mt(e){return[{args:Ce({tab:ui(W,"Which Navigator panel to show.")}),category:"View",id:"view.setActivity",level:"application",menus:["commandbar/overflow","palette"],group:"4_docks",requires:"an open project",when:ee,run:(t,o)=>{let r=Vn("view.setActivity",o,"tab",W);if(e.panelAvailable&&!e.panelAvailable(r))throw RangeError(`command "view.setActivity" argument "tab": "${r}" names a panel that is registered but not available right now, so showing it would persist a Navigator tab nothing can draw`);Bc(r)},title:"Show Navigator Panel"},{args:Ce({tab:ui(oe,"Which Inspector tab to show.")}),category:"View",id:"view.setRightTab",level:"document",menus:["palette"],group:"4_docks",requires:"an open document",when:(t)=>t.document.open,run:(t,o)=>{e.setInspectorTab(Vn("view.setRightTab",o,"tab",oe))},title:"Show Inspector Tab"},{args:Ce({open:To("True to show the Navigator dock, false to collapse it.")}),category:"View",id:"view.setNavigator",level:"application",menus:["palette"],group:"4_docks",run:(t,o)=>{ko("left",!Hi("view.setNavigator",o,"open"))},title:"Show Navigator Dock"},{args:Ce({open:To("True to show the Inspector dock, false to collapse it.")}),category:"View",id:"view.setRightPanel",level:"application",menus:["palette"],group:"4_docks",run:(t,o)=>{ko("right",!Hi("view.setRightPanel",o,"open"))},title:"Show Inspector Dock"},{args:Ce({open:To("True to show the Bottom dock, false to collapse it.")}),category:"View",id:"view.setBottomDock",level:"application",menus:["palette"],group:"4_docks",run:(t,o)=>{ko("bottom",!Hi("view.setBottomDock",o,"open"))},title:"Show Bottom Dock"},{category:"View",id:"view.toggleBottomDock",keybinding:"mod+j",level:"application",menus:["commandbar/overflow","palette"],group:"4_docks",run:()=>{Jt("bottom")},title:"Toggle Bottom Dock"},{args:Ce({tab:ui(ox,"Which Bottom dock tab to show.")}),category:"View",id:"view.setBottomTab",level:"application",menus:["palette"],group:"4_docks",run:(t,o)=>{let r=Vn("view.setBottomTab",o,"tab",ox);if(e.panelAvailable&&!e.panelAvailable(r))throw RangeError(`command "view.setBottomTab" argument "tab": "${r}" names a panel that is registered but not available right now, so showing it would persist a Bottom dock tab nothing can draw`);oh(r)},title:"Show Bottom Dock Tab"},{args:Ce({open:To("True to show the Assistant tab, false to step off it.")}),category:"View",id:"view.setAssistant",level:"application",menus:["never"],group:"4_docks",run:(t,o)=>{if(Hi("view.setAssistant",o,"open")){ko("right",!1),e.setInspectorTab("assistant");return}if(e.inspectorTab()==="assistant")e.setInspectorTab(e.restingInspectorTab?.()??nx)},title:"Show Assistant"},{args:Ce({workspace:ui(vC,"Which workspace to show.")}),category:"View",id:"view.setWorkspace",level:"application",menus:["never"],group:"4_workspaces",requires:"an open project",when:ee,run:(t,o)=>{Ne(Vn("view.setWorkspace",o,"workspace",vC),e)},title:"Switch Workspace"},...nv.map((t,o)=>({category:"View",id:`workspace.focus.${t.id}`,keybinding:`mod+${o+1}`,level:"application",menus:["palette"],group:"4_workspaces",requires:"an open project",when:ee,run:()=>{Ne(t.id,e)},title:`Go to ${t.title}`})),{args:Ce({color:ui(rx,"The Studio chrome's theme.")}),category:"View",id:"view.setTheme",level:"application",menus:["palette"],group:"6_appearance",run:(t,o)=>{JL(Vn("view.setTheme",o,"color",rx))},title:"Set Theme"}]}function lA(e,t){e.registerAll(Mt(t))}
|
|
13
|
-
export{ks,Co,
|
|
12
|
+
`)}function km(e){return Co(e,ye())}var k=null,j=null,N=null,I=null;function ye(){return we()?.doc.layout??I}var G=null;function we(){let e=m.tabs.get(an);return e?de(e):null}function Qe(){if(j)Fm(j),j=null;k=null,N=null,I=null,G=null}function ve(){return G??=(async()=>{try{let e=await p().readFile(an),{document:t,layout:o}=ks(e);I=o,N=Co(t,ye())}catch{N=null}})(),G}async function jL(e){if(await ve(),e.doc.layout===null&&I!==null)e.doc.layout=I}function et(e){let t=wn();if(t.projectConfig===e)return;Xc({...t,projectConfig:e}),Ql(m.projectRoot,e)}function tt(){let e=S?.projectConfig;return e?de(e):null}function K(e){return de(e)}function xe(e,t){for(let o of Object.keys(e))delete e[o];Object.assign(e,t)}function he(e){return k=e,e.scope.run(()=>{ne(()=>{let t=e.doc.document;if(k!==e||!S)return;et(K(t))})}),e}function XS(){let e=wn(),t=we();if(k&&(k!==(t??j)||de(k.doc.document)!==e.projectConfig))Qe();if(k)return k;if(t)return he(t);return j=lv({document:e.projectConfig??{},documentPath:an,id:an}),he(j)}function Se(e){return JSON.stringify(e.extensions??null)}async function ot(){let{loadFormats:e,refreshExtensionUi:t,refreshFormats:o}=await (le("zfjz4rzm"),import("./format-host-zfjz4rzm.js"));o(),e(),t(p())}async function Gl(e){let t=tt(),o=XS();await jL(o);let r=K(o.doc.document),s=km(r),i=t&&t!==r&&km(t)!==s?t:null;if(i&&o.doc.dirty){let b=Error(`${an} has unsaved changes in its editor tab`);return C.error(`Could not save ${an} — the file is open with unsaved changes. Save or `+"revert that tab, then make the settings change again.",{key:`save:${an}`,path:an,source:"Settings"}),{error:b,ok:!1}}let a=i??r,l=e?{...a,...e}:a,u=km(l);if(!i&&!o.doc.dirty&&u===N)return{ok:!0};let d=Se(r);Y(o,(b)=>{let y=b.doc.document;if(i)xe(y,i);for(let[x,P]of Object.entries(e??{}))y[x]=P});let c=K(o.doc.document),f=km(c);try{await p().writeFile(an,f)}catch(b){return C.error(`Could not save ${an} — ${te(b)}`,{key:`save:${an}`,path:an,source:"Settings"}),{error:b,ok:!1}}if(N=f,o.doc.dirty=!1,Se(c)!==d)await ot();return{ok:!0}}async function ZN(e,t){if(!S){Ql(m.projectRoot,e);return}let o=XS();Y(o,(r)=>xe(r.doc.document,e),{skipHistory:!0}),o.doc.dirty=!1,await ve(),I=H(t),o.doc.layout=I,N=km(e)}function to(e){let t=S?.projectConfig?.$media;if(!t)return e||{};if(!e)return{...t};return{...t,...e}}function wr(e){let t=S?.projectConfig?.style;if(!t)return e||{};if(!e)return{...t};let o={...t};for(let[r,s]of Object.entries(e)){let i=o[r];o[r]=_(s)&&_(i)?{...i,...s}:s}return o}function XN(e,t=[]){return{...HL(t),...S?.projectConfig?.imports,...e}}function HL(e){let t=e.flatMap((o)=>(o.classes??[]).filter((r)=>r.path.endsWith(".class.json")).map((r)=>[r.name,r.path]));return Object.fromEntries(t.toReversed())}function Xw(e){let t=S?.projectConfig?.$elements;if(!t?.length)return e||[];if(!e?.length)return[...t];let o=new Set,r=[];for(let s of[...t,...e]){let i=n(s)?s:_(s)?s.$ref:void 0;if(i&&!o.has(i))o.add(i),r.push(s)}return r}function Qw(e){let t=S?.projectConfig?.$head;if(!t?.length)return e||[];if(!e?.length)return[...t];let o=new Set,r=[];for(let s of[...t,...e]){let i=_(s)?s.attributes:void 0,a=String(i?.href||i?.src||"")||JSON.stringify(s);if(!o.has(a))o.add(a),r.push(s)}return r}function Es(){let e=S?.projectConfig;return e?ln(e).i18n:null}function Ip(e,t){let o=Es();if(o===null)return null;let r=Pn(e);if(r!==null&&o.locales.includes(r))return r;return go(t??"",o)??o.defaultLocale}var q=new Map;function QN(){q.clear()}function il(e){if(e===!1)return null;let t=S?.projectConfig?.defaults?.layout;return e||t||null}async function ex(e){let t=e.replace(/^\.\//,""),o=q.get(t);if(o!==void 0)return structuredClone(o);try{let s=await p().readFile(t),i=JSON.parse(s);return q.set(t,i),structuredClone(i)}catch{return null}}function BL(e,t){let o=t.children??[],r=Array.isArray(o)?o:[],s=new Map,i=[];for(let a of r){let l=n(a)?void 0:a.attributes?.slot;if(!n(a)&&n(l)&&l){if(!s.has(l))s.set(l,[]);s.get(l).push(a)}else i.push(a)}if(Pe(e,s,i),t.state)e.state={...e.state,...t.state};if(t.$media)e.$media={...e.$media,...t.$media};if(t.style)e.style={...e.style,...t.style};if(t.attributes)e.attributes={...e.attributes,...t.attributes};return e}function Pe(e,t,o){if(!Array.isArray(e.children))return;let r=[];for(let s of e.children)if(_(s)&&s.tagName==="slot"){let i=s.attributes?.name;if(n(i)&&i&&t.has(i))r.push(...t.get(i)),t.delete(i);else if(!i&&o.length>0)r.push(...o);else if(Array.isArray(s.children))r.push(...s.children)}else{if(_(s))Pe(s,t,o);r.push(s)}e.children=r}async function no(e){let t=await Gl(e);if(!t.ok)throw t.error}var Te=new Set([hi,zm]),nt=new Set(["auto","light","dark"]);function rt(e){return n(e)&&nt.has(e)}function it(e){let{ui:t}=e.session;return{activeMedia:t.activeMedia,canvasMode:t.canvasMode,editZoom:t.editZoom,preview:t.preview,previewColorScheme:t.previewColorScheme,previewLocale:t.previewLocale,showLayout:t.showLayout,zoom:t.zoom}}function ke(){let e={},t=[];for(let o of m.panes){if(o.derived)continue;let r=[];for(let i of o.tabOrder){let a=m.tabs.get(i);if(!a?.documentPath)continue;r.push(a.documentPath),e[a.documentPath]=it(a)}if(r.length===0)continue;let s=o.activeTabId?m.tabs.get(o.activeTabId):null;t.push({activeFile:s?.documentPath??null,files:r,id:o.id})}return{focusedPane:m.activePaneId,panes:t,ui:e}}function st(e){if(!v(e))return{};let t={};if(n(e.canvasMode))t.canvasMode=e.canvasMode;if(Ze(e.preview))t.preview=e.preview;if(Z(e.zoom)&&Number.isFinite(e.zoom))t.zoom=e.zoom;if(Z(e.editZoom)&&Number.isFinite(e.editZoom))t.editZoom=e.editZoom;if(e.activeMedia===null||n(e.activeMedia))t.activeMedia=e.activeMedia;if(rt(e.previewColorScheme))t.previewColorScheme=e.previewColorScheme;if(e.previewLocale===null||n(e.previewLocale)&&yx(e.previewLocale))t.previewLocale=e.previewLocale;if(Ze(e.showLayout))t.showLayout=e.showLayout;return t}function Ie(e){if(!v(e)||!Array.isArray(e.panes))return null;let t=[];for(let r of e.panes){if(!v(r)||!n(r.id)||!Te.has(r.id))continue;let s=Array.isArray(r.files)?r.files.filter((i)=>n(i)&&i!==""):[];if(s.length===0)continue;t.push({activeFile:n(r.activeFile)&&s.includes(r.activeFile)?r.activeFile:null,files:s,id:r.id})}if(t.length===0)return null;let o={};if(_(e.ui))for(let[r,s]of Object.entries(e.ui))o[r]=st(s);return{focusedPane:n(e.focusedPane)&&Te.has(e.focusedPane)?e.focusedPane:hi,panes:t,ui:o}}async function eA(e,t){let o=0;if(e.panes.some((i)=>i.id===zm))t.ensureSecondPane();for(let i of e.panes)for(let a of i.files){try{await t.openFile(a,i.id)}catch{}if([...m.tabs.values()].some((l)=>l.documentPath===a))o+=1}if(o===0)return 0;for(let i of m.tabs.values()){let a=i.documentPath?e.ui[i.documentPath]:void 0;if(!a)continue;let{ui:l}=i.session;if(a.canvasMode&&i.capabilities.modes.includes(a.canvasMode))l.canvasMode=a.canvasMode;if(a.preview!==void 0)l.preview=a.preview;if(a.zoom!==void 0)l.zoom=a.zoom;if(a.editZoom!==void 0)l.editZoom=a.editZoom;if(a.activeMedia!==void 0)l.activeMedia=a.activeMedia;if(a.previewColorScheme!==void 0)l.previewColorScheme=a.previewColorScheme;if(a.previewLocale!==void 0)l.previewLocale=a.previewLocale;if(a.showLayout!==void 0)l.showLayout=a.showLayout}let r=m.panes.some((i)=>i.id===e.focusedPane)?e.focusedPane:null,s=null;for(let i of e.panes){let a=m.panes.find((u)=>u.id===i.id);if(!a||!i.activeFile)continue;let l=a.tabOrder.find((u)=>m.tabs.get(u)?.documentPath===i.activeFile);if(!l)continue;if(a.id===r)s=l;else jt(l,{focus:!1})}if(s)jt(s);else if(r)kr(r);return o}var Em=["review","deploys","branches","hosting"],QS={branches:"Branches",deploys:"Deploys",hosting:"Hosting",review:"Review changes"},at=["live","review"],_e="review",Ee="live",lt=new Set(Em),ct=new Set(at);function tA(e){return typeof e==="string"&<.has(e)}function tx(e){return typeof e==="string"&&ct.has(e)}var ut={default:{description:"Resume whatever was persisted — layout, recents, settings, chat history.",id:"default",reset:"none"},fresh:{description:"A first-run app: no layout, no recents, no settings, no history.",id:"fresh",reset:"app-state"}},Ae=new Map(Object.entries(ut)),ft="default",dt=/^jx[-._:]/;function mt(e){return dt.test(e)}function gt(){let e=typeof localStorage>"u"?void 0:localStorage;if(!e)return[];let t=[];try{for(let o=0;o<e.length;o++){let r=e.key(o);if(r&&mt(r))t.push(r)}for(let o of t)e.removeItem(o)}catch{}return t}function bt(e){let t=Ae.get(e);if(!t)throw RangeError(`unknown startup profile "${e}"; declared: ${[...Ae.keys()].join(", ")}`);if(t.reset==="app-state")gt();return t}var B=null;function je(e){if(B)return B;let t=new URLSearchParams(e??(typeof location>"u"?"":location.search)),o=bt(t.get("profile")??ft),r=t.get("clock");return B={clock:r===null?null:oM(r),profile:o},B}var W=["site","collections","styles","files","search","i18n","layers","data","packages","insert"],ht=new Set(["collections","styles"]);function Oe(e){return e&&!ht.has(e)?e:yt}var St=new Map([["blocks","insert"],["head","site"],["page","site"],["imports","packages"],["git","site"],["state","data"]]),yt="site";function eC(e,t){let o=W.find((r)=>r===e);if(o===void 0)throw Error(`${t}: "${e}" is not a declared Navigator panel id.`);return o}function se(e){if(!n(e))return null;let t=St.get(e);if(t)return t;return W.find((o)=>o===e)??null}var oe=["page","properties","style","events","assistant"],nx="page",wt=["properties","style","events"],tC="properties";function ix(e){return typeof e==="string"&&wt.some((t)=>t===e)}function zL(e){return typeof e==="string"&&oe.some((t)=>t===e)}var ox=["problems","logic","activity"],WL="problems";function VL(e){return typeof e==="string"&&ox.some((t)=>t===e)}var rx=["light","dark"],Hc={content:{id:"content",inspector:{open:!1,whileWriting:!0},navigator:{open:!0,panel:"collections"},rail:!1,tabStrip:!0},design:{id:"design",inspector:{open:!0},navigator:{initial:"site",open:!0},rail:!0,tabStrip:!0},media:{id:"media",inspector:{open:!1},navigator:{open:!1},rail:!1,tabStrip:!1},publish:{id:"publish",inspector:{open:!1},navigator:{open:!1},rail:!1,tabStrip:!1},styles:{id:"styles",inspector:{open:!1,tab:"style",whileWriting:!0},navigator:{open:!0,panel:"styles"},rail:!1,tabStrip:!1}},De="jx-studio-panel-widths",Le="jx-studio-project::",vt="dark";function UL(e){return typeof e==="string"&&rx.some((t)=>t===e)}function xt(){let e=Uo(pt.theme);return UL(e)?e:vt}var sx=["left","right","bottom"],D={bottom:{collapsed:!0,size:220},left:{collapsed:!1,size:240},right:{collapsed:!1,size:280}},nA={bottom:D.bottom.size,left:D.left.size,right:D.right.size},Pt={bottom:"--dock-h-bottom",left:"--panel-w-left",right:"--panel-w-right"},Tt={bottom:"bottom-collapsed",left:"left-collapsed",right:"right-collapsed"},qL=0.5,nC=0.2,iC=0.8;function kt(e){return Z(e)&&e>=nC&&e<=iC?e:qL}function iA(e){h.paneSplit=Math.min(iC,Math.max(nC,e))}function It(){try{let e=JSON.parse(localStorage.getItem(De)||"{}");return v(e)?e:{}}catch{return{}}}function _t(e){return{left:e("left"),right:e("right"),bottom:e("bottom")}}function Re(){return{branches:null,commitMessage:"",diffState:null,error:null,lastUpdated:null,loading:!1,logEntries:null,rev:0,status:null}}function $e(){return{build:{for:"",state:"idle",text:""},deploys:{error:"",project:"",rows:[],state:"idle"},destination:Ee,review:{number:0,url:""},tab:_e}}var Et="tokens";function Je(){return{customizedOnly:!1,filter:"",selection:null,variable:null,view:Et}}function Ct(){let e=It(),t=_t((o)=>{let r=e[o],s=e[`${o}Collapsed`];return{collapsed:Ze(s)?s:D[o].collapsed,size:Z(r)&&r>0?r:D[o].size}});return{bottomTab:VL(e.bottomTab)?e.bottomTab:WL,docks:t,focusRegion:"pane",paneSplit:kt(e.paneSplit),git:Re(),publish:$e(),layoutSelection:null,leftTab:Oe(se(e.leftTab)),stylebook:Je(),theme:xt(),workspace:xx}}je();var At=["jx-studio-doc-header-expanded"];function Nt(){try{for(let e of At)localStorage.removeItem(e)}catch{}}Nt();var h=g(Ct());function Ad(){try{localStorage.setItem(De,JSON.stringify({bottom:h.docks.bottom.size,bottomCollapsed:h.docks.bottom.collapsed,bottomTab:h.bottomTab,left:h.docks.left.size,leftCollapsed:h.docks.left.collapsed,leftTab:h.leftTab,paneSplit:h.paneSplit,right:h.docks.right.size,rightCollapsed:h.docks.right.collapsed}))}catch{}}var re,ae={};function ce(e){if(!e)return{};try{let t=JSON.parse(localStorage.getItem(`${Le}${e}`)||"{}");return v(t)?t:{}}catch{return{}}}function GL(e){let t=ce(e).workspace;return I$(t)?t:xx}function oA(e){return Ie(ce(e).session)}var ue=null;function ax(e){ue=e}function rA(){fe()}function fe(){let e=m.projectRoot;if(!e)return;try{localStorage.setItem(`${Le}${e}`,JSON.stringify({session:e===ue?ke():ce(e).session,workspace:h.workspace}))}catch{}}function Ot(e){if(e===re)return;if(re=e,ae={},h.workspace=GL(e),e===null){h.leftTab=Oe(se(h.leftTab));return}Kr();try{Me(h.workspace),Ad()}finally{Jr()}}function KL(e,t){let{inspector:o}=Hc[e];return o.open||o.whileWriting===!0&&t}function Me(e,t){let o=Hc[e],r=se(o.navigator.panel??ae[e]??o.navigator.initial??h.leftTab);if(r)h.leftTab=r;if(h.docks.left.collapsed=!o.navigator.open,h.docks.right.collapsed=!KL(e,t?.writingOnCanvas?.()===!0),o.inspector.tab&&t)t.setInspectorTab(o.inspector.tab)}function oC(e,t){if(h.workspace===e)return!1;if(!Hc[h.workspace].navigator.panel)ae[h.workspace]=h.leftTab;return h.workspace=e,Me(e,t),Ad(),fe(),!0}function Tm(e=h.theme){return e==="light"?"vs":"vs-dark"}function Dt(){document.documentElement.dataset.theme=h.theme,nf()?.editor.setTheme(Tm())}var Lt="rail-hidden",Rt="tabs-hidden";function Pb(e=h.workspace){return Hc[e].tabStrip}function $t(){let e=document.documentElement;for(let o of sx)e.style.setProperty(Pt[o],`${h.docks[o].size}px`);let t=document.querySelector("#app");if(!t)return;for(let o of sx)t.classList.toggle(Tt[o],h.docks[o].collapsed);t.classList.toggle(Lt,!Hc[h.workspace].rail),t.classList.toggle(Rt,!Hc[h.workspace].tabStrip)}var X=null,ie=[];function Fb(e){if(!ie.includes(e))ie.push(e)}function sA(){if(X)return;for(let e of ie)e.mount();X=ge(),X.run(()=>{ne(()=>{$t()}),ne(()=>{Dt()}),ne(()=>{Ot(m.projectRoot)}),ne(()=>{let e=m.projectRoot;m.activePaneId;for(let t of m.panes)t.id,t.activeTabId,t.tabOrder.join("\x00");if(e)fe()})})}function ko(e,t){if(h.docks[e].collapsed===t){Ad();return}h.docks[e].collapsed=t,Ad()}function Jt(e){ko(e,!h.docks[e].collapsed)}function aA(e,t){h.docks[e].size=t}function Bc(e){h.leftTab=e,ko("left",!1),Ad()}function oh(e){h.bottomTab=e,ko("bottom",!1),Ad()}function JL(e){if(h.theme===e)return;h.theme=e,xr(pt.theme,e)}function lA(e){if(e===h.leftTab&&!h.docks.left.collapsed){ko("left",!0);return}Bc(e)}function YL(e){h.layoutSelection=e}function lx(){Object.assign(h.git,Re()),Object.assign(h.publish,$e()),Object.assign(h.stylebook,Je()),h.layoutSelection=null,ue=null,re=void 0}function Ne(e,t){if(t.showWorkspace){t.showWorkspace(e);return}oC(e,t)}var ee=(e)=>e.project.open;function Mt(e){return[{args:Ce({tab:ui(W,"Which Navigator panel to show.")}),category:"View",id:"view.setActivity",level:"application",menus:["commandbar/overflow","palette"],group:"4_docks",requires:"an open project",when:ee,run:(t,o)=>{let r=Vn("view.setActivity",o,"tab",W);if(e.panelAvailable&&!e.panelAvailable(r))throw RangeError(`command "view.setActivity" argument "tab": "${r}" names a panel that is registered but not available right now, so showing it would persist a Navigator tab nothing can draw`);Bc(r)},title:"Show Navigator Panel"},{args:Ce({tab:ui(oe,"Which Inspector tab to show.")}),category:"View",id:"view.setRightTab",level:"document",menus:["palette"],group:"4_docks",requires:"an open document",when:(t)=>t.document.open,run:(t,o)=>{e.setInspectorTab(Vn("view.setRightTab",o,"tab",oe))},title:"Show Inspector Tab"},{args:Ce({open:To("True to show the Navigator dock, false to collapse it.")}),category:"View",id:"view.setNavigator",level:"application",menus:["palette"],group:"4_docks",run:(t,o)=>{ko("left",!Hi("view.setNavigator",o,"open"))},title:"Show Navigator Dock"},{args:Ce({open:To("True to show the Inspector dock, false to collapse it.")}),category:"View",id:"view.setRightPanel",level:"application",menus:["palette"],group:"4_docks",run:(t,o)=>{ko("right",!Hi("view.setRightPanel",o,"open"))},title:"Show Inspector Dock"},{args:Ce({open:To("True to show the Bottom dock, false to collapse it.")}),category:"View",id:"view.setBottomDock",level:"application",menus:["palette"],group:"4_docks",run:(t,o)=>{ko("bottom",!Hi("view.setBottomDock",o,"open"))},title:"Show Bottom Dock"},{category:"View",id:"view.toggleBottomDock",keybinding:"mod+j",level:"application",menus:["commandbar/overflow","palette"],group:"4_docks",run:()=>{Jt("bottom")},title:"Toggle Bottom Dock"},{args:Ce({tab:ui(ox,"Which Bottom dock tab to show.")}),category:"View",id:"view.setBottomTab",level:"application",menus:["palette"],group:"4_docks",run:(t,o)=>{let r=Vn("view.setBottomTab",o,"tab",ox);if(e.panelAvailable&&!e.panelAvailable(r))throw RangeError(`command "view.setBottomTab" argument "tab": "${r}" names a panel that is registered but not available right now, so showing it would persist a Bottom dock tab nothing can draw`);oh(r)},title:"Show Bottom Dock Tab"},{args:Ce({open:To("True to show the Assistant tab, false to step off it.")}),category:"View",id:"view.setAssistant",level:"application",menus:["never"],group:"4_docks",run:(t,o)=>{if(Hi("view.setAssistant",o,"open")){ko("right",!1),e.setInspectorTab("assistant");return}if(e.inspectorTab()==="assistant")e.setInspectorTab(e.restingInspectorTab?.()??nx)},title:"Show Assistant"},{args:Ce({workspace:ui(vC,"Which workspace to show.")}),category:"View",id:"view.setWorkspace",level:"application",menus:["never"],group:"4_workspaces",requires:"an open project",when:ee,run:(t,o)=>{Ne(Vn("view.setWorkspace",o,"workspace",vC),e)},title:"Switch Workspace"},...iv.map((t,o)=>({category:"View",id:`workspace.focus.${t.id}`,keybinding:`mod+${o+1}`,level:"application",menus:["palette"],group:"4_workspaces",requires:"an open project",when:ee,run:()=>{Ne(t.id,e)},title:`Go to ${t.title}`})),{args:Ce({color:ui(rx,"The Studio chrome's theme.")}),category:"View",id:"view.setTheme",level:"application",menus:["palette"],group:"6_appearance",run:(t,o)=>{JL(Vn("view.setTheme",o,"color",rx))},title:"Set Theme"}]}function cA(e,t){e.registerAll(Mt(t))}
|
|
13
|
+
export{ks,Co,km,jL,XS,Gl,ZN,to,wr,XN,HL,Xw,Qw,Es,Ip,QN,il,ex,BL,no,eA,Em,QS,tA,tx,eC,nx,tC,ix,zL,ox,WL,VL,rx,Hc,UL,sx,nA,qL,nC,iC,iA,h,Ad,GL,oA,ax,rA,KL,oC,Tm,Pb,Fb,sA,ko,aA,Bc,oh,JL,lA,YL,lx,cA};
|
|
14
14
|
|
|
15
|
-
//# debugId=
|
|
16
|
-
//# sourceMappingURL=studio-
|
|
15
|
+
//# debugId=FB1C2A90793D979A64756E2164756E21
|
|
16
|
+
//# sourceMappingURL=studio-5wzdy1jc.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{p,_e}from"./studio-
|
|
2
|
-
export{pt,Uo
|
|
1
|
+
import{p,_e}from"./studio-03mqh8ax.js";import{C}from"./studio-4kzbrr5t.js";function v(e){return e.trim().replace(/\/+$/,"")}function u(e){return e.trim()}var pt={aiBaseUrl:{default:"",key:"jx.ai.baseUrl",normalize:v,scope:"user"},aiOpenAiKey:{default:"",key:"jx.ai.openaiKey",normalize:u,scope:"user",secret:!0},aiModel:{default:"gpt-4o",key:"jx.ai.model",normalize:u,scope:"user"},keybindings:{default:"",key:"jx.keybindings",normalize:(e)=>e.trim()==="{}"?"":e.trim(),scope:"user"},theme:{default:"",key:"jx-studio-theme",normalize:u,scope:"user"},showIgnoredFiles:{default:"",key:"jx.files.showIgnored",normalize:u,scope:"user"},developerPanels:{default:"",key:"jx.panels.developer",normalize:u,scope:"user"},cfAccountId:{default:"",key:"jx.cf.accountId",normalize:u,scope:"user"},cfToken:{default:"",key:"jx.cf.token",normalize:u,scope:"user",secret:!0}},S=Object.values(pt),f=S.filter((e)=>e.scope==="user"),P=f.map((e)=>e.key);function h(e){let t=e.schedule??queueMicrotask,n=null,i=Promise.resolve(),r=Promise.resolve();function s(){let o=n;if(n=null,!o)return i;return i=i.then(()=>e.send(o)).catch((a)=>{e.onError?.(a,o)}),i}return{enqueue(o){if(n){Object.assign(n,o);return}n={...o},r=new Promise((a)=>{t(()=>{s().then(a)})})},settled(){return r}}}var c=new Map;function m(){return typeof localStorage>"u"?void 0:localStorage}function k(e,t){try{if(t===null)m()?.removeItem(e);else m()?.setItem(e,t)}catch{}}try{for(let e of S){let t=m()?.getItem(e.key);if(t!==null&&t!==void 0)c.set(e.key,t)}}catch{}function Uo(e){return c.get(e.key)??""}function IA(e){return(c.get(e.key)??"")!==""}var y=new Set;function Np(e){return y.add(e),()=>{y.delete(e)}}function l(e){for(let t of y)t(e)}var g=h({onError(e){C("error","Your settings could not be saved.",{detail:e instanceof Error?e.message:String(e),key:"settings-write",source:"Settings"})},async send(e){if(!_e())return;let t=p();if(!t.patchSettings)return;let n={},i=[];for(let[r,s]of Object.entries(e))if(s)n[r]=s;else i.push(r);await t.patchSettings({remove:i,set:n})}});function RA(){return g.settled()}function d(e){let t=[];for(let[n,i]of Object.entries(e)){if((c.get(n)??null)===i)continue;if(i===null)c.delete(n);else c.set(n,i);k(n,i),t.push(n)}return t}function fx(e,t){return e.normalize?e.normalize(t):t}function xr(e,t){let n=fx(e,t),i=d({[e.key]:n});if(i.length>0)g.enqueue({[e.key]:n}),l(i)}function DA(e){let t={};for(let[i,r]of e)t[i.key]=fx(i,r);let n=d(t);if(n.length>0)g.enqueue(t),l(n)}function Ap(e){let t={};for(let i of e)t[i.key]=null;let n=d(t);if(n.length>0)g.enqueue(t),l(n)}async function NA(){if(!_e())return;let e=p();if(!e.getSettings)return;let t;try{t=await e.getSettings()}catch{return}let n={},i=!1;for(let s of f){let o=t[s.key];if(o)n[s.key]=o;else if(c.get(s.key))i=!0}let r=d(n);if(r.length>0)l(r);if(i){let s={};for(let o of f){let a=c.get(o.key);if(a&&!t[o.key])s[o.key]=a}g.enqueue(s)}}function x(e){let t={};for(let i of f)t[i.key]=e[i.key]??null;let n=d(t);if(n.length>0)l(n)}function AA(){if(!_e())return;p().subscribeSettings?.(x)}
|
|
2
|
+
export{pt,Uo,IA,Np,RA,fx,xr,DA,Ap,NA,AA};
|
|
3
3
|
|
|
4
|
-
//# debugId=
|
|
5
|
-
//# sourceMappingURL=studio-
|
|
4
|
+
//# debugId=8D0B12C760CA6AFC64756E2164756E21
|
|
5
|
+
//# sourceMappingURL=studio-771k2n12.js.map
|