@vyr/cli 0.0.1
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/.bin/default/index.js +74 -0
- package/.bin/index.js +17 -0
- package/.entry/app.js +78575 -0
- package/README.md +168 -0
- package/README.zh-CN.md +169 -0
- package/build/css/1060.a79f9d80.css +1 -0
- package/build/css/1111.7f5086f2.css +1 -0
- package/build/css/1124.b91daf98.css +1 -0
- package/build/css/1583.69c975fc.css +1 -0
- package/build/css/2505.39376622.css +1 -0
- package/build/css/4296.963f15af.css +1 -0
- package/build/css/530.e132216c.css +1 -0
- package/build/css/6357.7bd0168e.css +1 -0
- package/build/css/6827.7d5b54a4.css +1 -0
- package/build/css/6881.972ad8f8.css +1 -0
- package/build/css/8093.21e188eb.css +3 -0
- package/build/css/8743.b91daf98.css +1 -0
- package/build/css/9157.971090af.css +1 -0
- package/build/css/9339.e14b8c45.css +1 -0
- package/build/css/login.de13ff0c.css +1 -0
- package/build/css.worker.js +1 -0
- package/build/deps/locale.js +1 -0
- package/build/deps/socket.js +6 -0
- package/build/editor.worker.js +1 -0
- package/build/favicon.ico +0 -0
- package/build/fonts/codicon.5b7d6fac.ttf +0 -0
- package/build/fonts/iconfont.01dfbc15.ttf +0 -0
- package/build/fonts/iconfont.2e5056cd.woff +0 -0
- package/build/html.worker.js +1 -0
- package/build/index.html +1 -0
- package/build/js/1008.1212a92b.js +1 -0
- package/build/js/1018.094a4eaf.js +1 -0
- package/build/js/1048.959d2b15.js +1 -0
- package/build/js/1060.331f9a15.js +1 -0
- package/build/js/1111.8555bd5c.js +1 -0
- package/build/js/112.43f83ad0.js +1 -0
- package/build/js/1124.4cf01e6d.js +1 -0
- package/build/js/1176.03ce189a.js +1 -0
- package/build/js/1320.11b1f843.js +1 -0
- package/build/js/1346.07f056a0.js +1 -0
- package/build/js/1349.8c9198a0.js +1 -0
- package/build/js/1376.c78b811b.js +1 -0
- package/build/js/1384.330a9809.js +1 -0
- package/build/js/1402.4e06e186.js +1 -0
- package/build/js/150.0eb50ff3.js +1 -0
- package/build/js/1583.e8f36a93.js +1 -0
- package/build/js/1592.2007c851.js +1 -0
- package/build/js/1696.67999338.js +7 -0
- package/build/js/1704.a712bcfe.js +1 -0
- package/build/js/1877.41a30a46.js +1 -0
- package/build/js/1978.d78b7ff2.js +1 -0
- package/build/js/2024.61ad4ff8.js +1 -0
- package/build/js/2132.0f13c789.js +1 -0
- package/build/js/220.332f13be.js +1 -0
- package/build/js/2264.74826096.js +1 -0
- package/build/js/2320.01b45f7e.js +1 -0
- package/build/js/2328.91f4fab2.js +1 -0
- package/build/js/2424.1b901127.js +1 -0
- package/build/js/2472.fd550726.js +1 -0
- package/build/js/250.369da5c4.js +1 -0
- package/build/js/2505.b43421df.js +1 -0
- package/build/js/2521.64e8a1c3.js +1 -0
- package/build/js/2576.af7b57dd.js +1 -0
- package/build/js/2674.a0fefa3b.js +1 -0
- package/build/js/2808.2a6f1a99.js +1 -0
- package/build/js/2868.2c921d66.js +1 -0
- package/build/js/2958.148f2f28.js +1 -0
- package/build/js/3084.f01b8161.js +1 -0
- package/build/js/3124.865bbeea.js +1 -0
- package/build/js/3160.ad6a00b2.js +1 -0
- package/build/js/3328.0e752372.js +1 -0
- package/build/js/3416.59bed435.js +1 -0
- package/build/js/3454.fc17644a.js +1 -0
- package/build/js/3507.aafa886d.js +1 -0
- package/build/js/3785.151db669.js +1 -0
- package/build/js/3792.c95b5a4d.js +1 -0
- package/build/js/3944.0eafa506.js +1 -0
- package/build/js/4040.bd29cbd3.js +1 -0
- package/build/js/4124.1c353188.js +1 -0
- package/build/js/4171.ecaed70c.js +1 -0
- package/build/js/4196.1ecc5bb3.js +1 -0
- package/build/js/4230.d1f2577c.js +1 -0
- package/build/js/4263.870a448a.js +1 -0
- package/build/js/4288.cfaa98a7.js +1 -0
- package/build/js/4291.cea6a8d5.js +12 -0
- package/build/js/4296.634b3fe2.js +1 -0
- package/build/js/4416.8faeee6a.js +1 -0
- package/build/js/4490.afacfe53.js +1 -0
- package/build/js/4530.60b7c78d.js +1 -0
- package/build/js/4570.312d27c5.js +1 -0
- package/build/js/4582.a686fadd.js +1 -0
- package/build/js/4587.9701b203.js +1 -0
- package/build/js/4744.fb66347f.js +1 -0
- package/build/js/4764.df45c000.js +1 -0
- package/build/js/4786.89599e34.js +1 -0
- package/build/js/4816.cd55469f.js +1 -0
- package/build/js/4872.0bafb3d5.js +1 -0
- package/build/js/4900.cdee80ca.js +1 -0
- package/build/js/530.b4e0e136.js +1 -0
- package/build/js/5354.9e7d2a59.js +1 -0
- package/build/js/5388.ba7b29bd.js +1 -0
- package/build/js/5620.4ebcd1ef.js +1 -0
- package/build/js/5639.7661231d.js +1 -0
- package/build/js/5694.4e720480.js +1 -0
- package/build/js/5696.1ec004f6.js +5 -0
- package/build/js/5768.ff6d1da1.js +1 -0
- package/build/js/5788.fb009553.js +1 -0
- package/build/js/5804.a7530102.js +1 -0
- package/build/js/5888.e88a2170.js +1 -0
- package/build/js/5918.fd8226fe.js +1 -0
- package/build/js/6136.a7604e8a.js +1 -0
- package/build/js/6166.c3ca51e8.js +1 -0
- package/build/js/6234.8760a038.js +1 -0
- package/build/js/6248.d7c77c1a.js +1 -0
- package/build/js/6308.358e0a94.js +1 -0
- package/build/js/6315.81f5e202.js +7 -0
- package/build/js/6357.1354eb2c.js +1 -0
- package/build/js/6476.133083f0.js +1 -0
- package/build/js/6488.a1bb6380.js +1 -0
- package/build/js/6552.af7ecaa3.js +1 -0
- package/build/js/6600.66570635.js +1 -0
- package/build/js/6720.7e4d97d6.js +1 -0
- package/build/js/677.618fc137.js +1 -0
- package/build/js/6827.62f794a0.js +1 -0
- package/build/js/6881.e7455ee6.js +1 -0
- package/build/js/6937.53af487b.js +1 -0
- package/build/js/6968.07bbc3cd.js +1 -0
- package/build/js/7128.bddbefa5.js +1 -0
- package/build/js/7132.784f034a.js +1 -0
- package/build/js/7167.ba37f9e6.js +1 -0
- package/build/js/7195.7a9c1589.js +1 -0
- package/build/js/7227.9320ac5b.js +7 -0
- package/build/js/7380.378a750c.js +1 -0
- package/build/js/7390.cb73108e.js +6 -0
- package/build/js/7409.871dc004.js +7 -0
- package/build/js/7494.0fecaf55.js +1 -0
- package/build/js/7692.217959b6.js +1 -0
- package/build/js/7713.e38c75be.js +1 -0
- package/build/js/7769.15f4d355.js +1 -0
- package/build/js/7820.84cbe06d.js +1 -0
- package/build/js/7960.6e25b569.js +1 -0
- package/build/js/7980.816096c5.js +1 -0
- package/build/js/800.7696b6c7.js +1 -0
- package/build/js/8004.80b538a1.js +1 -0
- package/build/js/8030.70f27b26.js +1 -0
- package/build/js/8093.b4466960.js +3 -0
- package/build/js/8328.d2170039.js +1 -0
- package/build/js/8344.e4b1e024.js +1 -0
- package/build/js/8366.2854dcb7.js +1 -0
- package/build/js/8438.72c0fcbf.js +1 -0
- package/build/js/8550.69a717cc.js +1 -0
- package/build/js/8554.1dbe7424.js +1 -0
- package/build/js/8632.da334e90.js +1 -0
- package/build/js/8637.20577619.js +1 -0
- package/build/js/8657.d3a8799b.js +1 -0
- package/build/js/8743.2cffd0be.js +1 -0
- package/build/js/88.4db81116.js +1 -0
- package/build/js/8856.9f70af00.js +1 -0
- package/build/js/9020.b3a4d09b.js +1 -0
- package/build/js/9044.73639ece.js +1 -0
- package/build/js/9157.58a8fa2d.js +1 -0
- package/build/js/9256.85fca918.js +1 -0
- package/build/js/931.88800e05.js +1 -0
- package/build/js/9339.d75f7c2e.js +1 -0
- package/build/js/9384.adddd8c7.js +1 -0
- package/build/js/94.59ed492b.js +1 -0
- package/build/js/9620.e7e75a12.js +1 -0
- package/build/js/9751.8b76fab5.js +1 -0
- package/build/js/9842.d1ed9070.js +1 -0
- package/build/js/9947.e172d61d.js +1 -0
- package/build/js/chunk-vendors.fea3dfe0.js +24 -0
- package/build/js/index.b935de87.js +1 -0
- package/build/js/login.1488a09a.js +1 -0
- package/build/js/preview.6c550af7.js +1 -0
- package/build/json.worker.js +1 -0
- package/build/login.html +1 -0
- package/build/logo//344/270/273LOGO.png +0 -0
- package/build/logo//344/270/273/345/233/276/346/240/207.png +0 -0
- package/build/logo//344/270/273/346/226/271/345/275/242.png +0 -0
- package/build/logo//347/201/260/345/272/246LOGO.png +0 -0
- package/build/logo//351/200/217/346/230/216/345/233/276/346/240/207.png +0 -0
- package/build/logo//351/200/217/346/230/216/350/203/214/346/231/257LOGO.png +0 -0
- package/build/preview.html +1 -0
- package/build/ts.worker.js +6 -0
- package/pack/auto-provider-plugin/index.js +38 -0
- package/pack/auto-provider-plugin/loader.js +53 -0
- package/pack/auto-provider-plugin/package.json +8 -0
- package/pack/class-wrapper-plugin/index.js +42 -0
- package/pack/class-wrapper-plugin/loaders/descriptor.js +89 -0
- package/pack/class-wrapper-plugin/loaders/dynamic-interpreter.js +54 -0
- package/pack/class-wrapper-plugin/loaders/index.js +30 -0
- package/pack/class-wrapper-plugin/loaders/input-system.js +31 -0
- package/pack/class-wrapper-plugin/loaders/object-pool.js +79 -0
- package/pack/class-wrapper-plugin/package.json +8 -0
- package/pack/class-wrapper-plugin/utils.js +79 -0
- package/pack/rollup-config-plugin/build/index.d.ts +3 -0
- package/pack/rollup-config-plugin/build/index.js +34 -0
- package/pack/rollup-config-plugin/package.json +8 -0
- package/pack/rollup-config-plugin/src/index.ts +47 -0
- package/pack/rollup-config-plugin/tsconfig.json +31 -0
- package/pack/var-rename-plugin/index.js +74 -0
- package/pack/var-rename-plugin/package.json +8 -0
- package/package.json +83 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self["webpackChunk_vyr_cli"]=self["webpackChunk_vyr_cli"]||[]).push([[931],{1355:function(t,e,i){function s(t,e,i){return Math.max(e,Math.min(i,t))}i.d(e,{q:function(){return s}})},2181:function(t,e,i){i.d(e,{P:function(){return u}});var s=i(64006),n=i(38132),r=i(35085),o=Object.defineProperty,a=(t,e,i)=>e in t?o(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,l=(t,e,i)=>a(t,"symbol"!==typeof e?e+"":e,i);class u extends n.o{constructor(t={}){var e,i,n,o,a,u,c,h,d,f,p,y,g,m,v,b,x,w,C,M,P,z,_;super(t),l(this,"visible"),l(this,"active"),l(this,"style"),l(this,"display"),l(this,"flexWrap"),l(this,"flexDirection"),l(this,"justifyContent"),l(this,"alignItems"),l(this,"alignContent"),l(this,"margin"),l(this,"flexGrow"),l(this,"width"),l(this,"wUnit"),l(this,"calcWidth"),l(this,"height"),l(this,"hUnit"),l(this,"calcHeight"),l(this,"position"),l(this,"location"),l(this,"xAxis"),l(this,"xUnit"),l(this,"yAxis"),l(this,"yUnit"),l(this,"translate"),l(this,"opacity"),l(this,"zIndex"),this.visible=null==(e=t.visible)||e,this.active=null!=(i=t.active)&&i,this.style=null!=(n=t.style)?n:"",this.display=null!=(o=t.display)?o:"block",this.flexWrap=null!=(a=t.flexWrap)?a:"nowrap",this.flexDirection=null!=(u=t.flexDirection)?u:"row",this.justifyContent=null!=(c=t.justifyContent)?c:"flex-start",this.alignItems=null!=(h=t.alignItems)?h:"stretch",this.alignContent=null!=(d=t.alignContent)?d:"stretch",this.flexGrow=null!=(f=t.flexGrow)?f:0,this.margin=new r.Dg(t.margin),this.width=null!=(p=t.width)?p:100,this.wUnit=null!=(y=t.wUnit)?y:"px",this.calcWidth=null!=(g=t.calcWidth)?g:0,this.calcHeight=null!=(m=t.calcHeight)?m:0,this.height=null!=(v=t.height)?v:100,this.hUnit=null!=(b=t.hUnit)?b:"px",this.position=null!=(x=t.position)?x:"static",this.location=s.I9.create(t.location),this.xAxis=null!=(w=t.xAxis)?w:"left",this.xUnit=null!=(C=t.xUnit)?C:"px",this.yAxis=null!=(M=t.yAxis)?M:"top",this.yUnit=null!=(P=t.yUnit)?P:"px",this.translate=s.I9.create(t.translate),this.opacity=null!=(z=t.opacity)?z:1,this.zIndex=null!=(_=t.zIndex)?_:"auto"}}l(u,"type","HTML")},2320:function(t,e,i){i.d(e,{g:function(){return d}});var s=i(64006),n=i(21865),r=i(42778),o=i(48583),a=i(69776),l=i(83912),u=Object.defineProperty,c=(t,e,i)=>e in t?u(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,h=(t,e,i)=>c(t,"symbol"!==typeof e?e+"":e,i);class d extends l.A{constructor(t){super(),h(this,"play"),h(this,"startTime"),h(this,"duration"),h(this,"mode"),h(this,"path"),h(this,"keys"),h(this,"count"),h(this,"uptime"),h(this,"unlisten"),h(this,"target"),h(this,"rawValue"),h(this,"update",t=>{if(!1===r.DM.enabled)return;if(!1===this.play)return;const e=this.uptime+t.delta,i=(this.uptime-this.startTime)/this.duration;if(i>this.count)return void(this.uptime=e);const s=e-this.startTime;if(s<0)return void(this.uptime=e);const n=s/this.duration;let o;o=n>this.count?2===this.mode?this.count%2===1?1:0:1:this.getRadio(n%1,Math.floor(n)),this.setValue(o),this.uptime=e}),this.play=t.play,this.startTime=t.startTime,this.duration=t.duration,this.mode=t.mode,this.path=t.path,this.keys=o.B.parseKey(t.path),this.count=t.count,this.uptime=0}static parse(t){switch(t.frameData.type){case"number":return new f(t,t.frameData.startValue,t.frameData.endValue);case"vector2":return new y(t,new s.I9(...t.frameData.startValue),new s.I9(...t.frameData.endValue));case"vector3":return new m(t,new s.Pq(...t.frameData.startValue),new s.Pq(...t.frameData.endValue));case"euler":return new w(t,new s.O9(...t.frameData.startValue),new s.O9(...t.frameData.endValue));case"boolean":return new C(t,t.frameData.startValue,t.frameData.endValue);case"color":return new M(t,new a.Q1(t.frameData.startValue),new a.Q1(t.frameData.endValue))}}listen(t){t.engine.listen("afterRender",this.update),this.unlisten=()=>{t.engine.unlisten("afterRender",this.update),this.reset()}}setTarget(t){this.target=t;let e=t;for(const i of this.keys)if(e=e[i],void 0===e)return;this.rawValue=n.oJ.deepClone(e)}getRadio(t,e){return 2===this.mode&&(t=e%2===1?1-t:t),t}traverseWithTailCallback(t){let e=this.target;const i=this.keys.length-1;for(let s=0;s<=i;s++)if(s===i){const i=this.keys[s];if(void 0===e[i])return;t(e,i),this.target.setNeedsUpdate()}else if(e=e[this.keys[s]],!e)return}reset(t=0){this.uptime=0,this.traverseWithTailCallback((t,e)=>{t[e]=n.oJ.deepClone(this.rawValue)}),this.update({delta:t})}}class f extends d{constructor(t,e,i){super(t),h(this,"startValue"),h(this,"distance"),this.startValue=e,this.distance=i-e}setValue(t){const e=this.startValue+this.distance*t;this.traverseWithTailCallback((t,i)=>{t[i]=e})}}let p=null;class y extends d{constructor(t,e,i){super(t),h(this,"startValue"),h(this,"endValue"),this.startValue=e,this.endValue=i}static get vector(){return null===p&&(p=new s.I9),p}setValue(t){this.traverseWithTailCallback((e,i)=>{y.vector.lerpVectors(this.startValue,this.endValue,t),e[i].x=y.vector.x,e[i].y=y.vector.y})}}let g=null;class m extends d{static get vector(){return null===g&&(g=new s.Pq),g}constructor(t,e,i){super(t),this.startValue=e,this.endValue=i}setValue(t){this.traverseWithTailCallback((e,i)=>{m.vector.lerpVectors(this.startValue,this.endValue,t),e[i].x=m.vector.x,e[i].y=m.vector.y,e[i].z=m.vector.z})}}let v=null,b=null,x=null;class w extends d{static get euler(){return null===v&&(v=new s.O9),v}static get startQuat(){return null===b&&(b=new s.PT),b}static get endQuat(){return null===x&&(x=new s.PT),x}constructor(t,e,i){super(t),this.startValue=e,this.endValue=i}setValue(t){this.traverseWithTailCallback((e,i)=>{w.startQuat.setFromEuler(this.startValue),w.endQuat.setFromEuler(this.endValue),w.startQuat.slerp(w.endQuat,t),w.euler.setFromQuaternion(w.startQuat),e[i].x=w.euler.x,e[i].y=w.euler.y,e[i].y=w.euler.y,e[i].order=w.euler.order})}}class C extends d{constructor(t,e,i){super(t),this.startValue=e,this.endValue=i}setValue(t){switch(t){case 0:this.traverseWithTailCallback((t,e)=>{t[e]=this.startValue});break;case 1:this.traverseWithTailCallback((t,e)=>{t[e]=this.endValue});break}}}class M extends d{constructor(t,e,i){super(t),this.startValue=e,this.endValue=i}setValue(t){this.traverseWithTailCallback((e,i)=>{const s=a.Q1.mix(this.startValue,this.endValue,t);e[i]=s.toHexString()})}}},2538:function(t,e,i){i.r(e),i.d(e,{switch:function(){return s}});var s=i(23680)},3615:function(t,e,i){i.d(e,{Z:function(){return h}});var s=i(64006),n=i(10692),r=i(21865),o=i(83912),a=Object.defineProperty,l=(t,e,i)=>e in t?a(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,u=(t,e,i)=>l(t,"symbol"!==typeof e?e+"":e,i);class c{constructor(){u(this,"isDragging",!1),u(this,"isResizing",!1),u(this,"offset",new s.I9),u(this,"resizeData",{direction:"",startWidth:0,startHeight:0,calcHeight:0,calcWidth:0,startX:0,startY:0}),u(this,"target",{element:document.createElement("div"),parent:null,initialRect:new DOMRect})}}class h extends o.A{constructor(){super(),u(this,"state",new c),u(this,"offset",new s.I9),u(this,"events",[]),u(this,"element"),u(this,"circles"),u(this,"target"),u(this,"descriptor"),u(this,"change",(t="change")=>{const e=n.Vd.get(this.descriptor.event);if(null===e)return;const i=o.A.getGraphics(this),s={delta:0,event:{type:t,target:this.descriptor.target}};e.execute(this.descriptor,i,s)}),u(this,"selectTargetElement",t=>{this.state.target.element=t,this.state.target.parent=t.parentElement,this.state.target.initialRect=t.getBoundingClientRect(),this.updateOffset(this.state.target.initialRect),this.updateDraggableElement(),this.element.style.display="block"}),u(this,"updateDraggableElement",()=>{if(!this.state.target.element)return;const t=this.state.target.element.getBoundingClientRect();this.element.style.left=`${t.left}px`,this.element.style.top=`${t.top}px`,this.element.style.width=`${t.width}px`,this.element.style.height=`${t.height}px`}),u(this,"syncTargetPosition",(t=!0)=>{if(!this.state.target.element)return;if(!this.state.target.parent)return;const e=this.element.getBoundingClientRect(),i=this.state.target.parent.getBoundingClientRect();t&&(this.setDimension("width",e.width-this.state.resizeData.calcWidth,i.width,this.target.wUnit),this.setDimension("height",e.height-this.state.resizeData.calcHeight,i.height,this.target.hUnit)),"fixed"===this.target.position?this.setFixedPosition(e):this.setRelativePosition(e,i),this.target.setNeedsUpdate()}),u(this,"setDimension",(t,e,i,s)=>{this.target[t]="%"===s?e/i*100:e}),u(this,"setFixedPosition",t=>{if("left"===this.target.xAxis){const e=t.left-this.offset.x;this.target.location.x="%"===this.target.xUnit?e/window.innerWidth*100:e}else{const e=window.innerWidth-t.right+this.offset.x;this.target.location.x="%"===this.target.xUnit?e/window.innerWidth*100:e}if("top"===this.target.yAxis){const e=t.top-this.offset.y;this.target.location.y="%"===this.target.yUnit?e/window.innerHeight*100:e}else{const e=window.innerHeight-t.bottom+this.offset.y;this.target.location.y="%"===this.target.yUnit?e/window.innerHeight*100:e}}),u(this,"setRelativePosition",(t,e)=>{if("left"===this.target.xAxis){const i=t.left-e.left-this.offset.x;this.target.location.x="%"===this.target.xUnit?i/e.width*100:i}else{const i=e.right-t.right+this.offset.x;this.target.location.x="%"===this.target.xUnit?i/e.width*100:i}if("top"===this.target.yAxis){const i=t.top-e.top-this.offset.y;this.target.location.y="%"===this.target.yUnit?i/e.height*100:i}else{const i=e.bottom-t.bottom+this.offset.y;this.target.location.y="%"===this.target.yUnit?i/e.height*100:i}}),u(this,"handleDragStart",t=>{if(!1!==this.descriptor.enabled&&this.state.target.element&&"static"!==this.target.position&&"relative"!==this.target.position&&t.target instanceof HTMLElement&&!1===t.target.classList.contains("resize-handle")){this.state.isDragging=!0;const e=this.element.getBoundingClientRect();this.state.offset=new s.I9(t.clientX-e.left,t.clientY-e.top),this.state.target.element.style.transition="none",t.preventDefault(),this.change("mousedown")}}),u(this,"handleResizeStart",t=>{if(!1!==this.descriptor.enabled&&this.state.target.element&&"static"!==this.target.position&&"relative"!==this.target.position&&t.target instanceof HTMLElement){this.state.isResizing=!0,this.state.resizeData.direction=t.target.classList[1];const e=this.element.getBoundingClientRect();this.state.resizeData.calcWidth=this.target.calcWidth,this.state.resizeData.calcHeight=this.target.calcHeight,this.state.resizeData.startWidth=e.width,this.state.resizeData.startHeight=e.height,this.state.resizeData.startX=e.left,this.state.resizeData.startY=e.top,this.state.offset=new s.I9(t.clientX,t.clientY),this.state.target.element.style.transition="none",t.preventDefault(),this.change("mousedown")}}),u(this,"handleMouseMove",t=>{this.state.target.element&&(this.state.isDragging?(this.element.style.left=t.clientX-this.state.offset.x+"px",this.element.style.top=t.clientY-this.state.offset.y+"px",this.syncTargetPosition(!1),this.change()):this.state.isResizing&&(this.handleResizing(t),this.change()))}),u(this,"handleResizing",t=>{const e=t.clientX-this.state.offset.x,i=t.clientY-this.state.offset.y,{direction:s,startWidth:n,startHeight:r,startX:o,startY:a}=this.state.resizeData;let l=n,u=r,c=o,h=a;switch(s){case"0":l=Math.max(20,n-e),u=Math.max(20,r-i),c=o+(n-l),h=a+(r-u);break;case"1":l=Math.max(20,n+e),u=Math.max(20,r-i),h=a+(r-u);break;case"3":l=Math.max(20,n-e),u=Math.max(20,r+i),c=o+(n-l);break;case"2":l=Math.max(20,n+e),u=Math.max(20,r+i);break}this.element.style.width=`${l}px`,this.element.style.height=`${u}px`,this.element.style.left=`${c}px`,this.element.style.top=`${h}px`,this.updateOffset(this.element.getBoundingClientRect()),this.syncTargetPosition()}),u(this,"handleMouseEnd",()=>{this.state.target.element&&(this.state.isDragging?this.state.isDragging=!1:this.state.isResizing&&(this.state.isResizing=!1),this.change("mouseup"))}),this.element=this.createElement(),this.circles=this.createCircle();for(const t of this.circles)this.element.appendChild(t);document.body.appendChild(this.element)}createElement(){const t=document.createElement("div");t.style.width="100px",t.style.height="100px",t.style.position="fixed",t.style.top="0px",t.style.left="0px",t.style.zIndex="2147483647",t.style.userSelect="none",t.addEventListener("contextmenu",t=>{t.stopPropagation(),t.preventDefault(),this.change("contextmenu")});const e=document.createElement("div");return e.style.position="absolute",e.style.top="50%",e.style.left="50%",e.style.transform="translate(-50%,-50%)",e.style.width="100%",e.style.height="100%",e.style.border="6px double #1b8fdfcc",e.style.boxSizing="content-box",e.style.pointerEvents="none",t.appendChild(e),t}createCircle(){const t=[],e=[[0,0],[100,0],[100,100],[0,100]];for(let i=0;i<e.length;i++){const s=document.createElement("div");this.setCircleStyle(s,i,e[i]),t.push(s)}return t}setCircleStyle(t,e,i){t.classList.add("resize-handle",e.toString()),t.style.borderRadius="50%",t.style.width="12px",t.style.height="12px",t.style.position="absolute",t.style.left=i[0]+"%",t.style.top=i[1]+"%",t.style.transform="translate(-50%,-50%)",t.style.border="2px double #1b8fdfcc",t.style.background="#ffffff",t.style.boxShadow="0 0 4px #1b8fdfcc",t.style.zIndex="99999",t.style.cursor=[1,3].includes(e)?"nesw-resize":"nwse-resize"}listen(t,e){this.reset();const i=o.A.getGraphics(this),s=i.variableProxy.get(t.target,i,e);if(s instanceof r.Pp){const n=i.getActor(s,e);if(null===n)return;const r=n.getWrapper();if(null===r)return;this.descriptor=t,this.target=s,this.selectTargetElement(r),this.events.push(i.engine.inputSystem.listen("mousedown",this.handleDragStart,{target:this.element}));for(const t of this.circles)this.events.push(i.engine.inputSystem.listen("mousedown",this.handleResizeStart,{target:t}));this.events.push(i.engine.inputSystem.listen("mousemove",this.handleMouseMove,{target:document})),this.events.push(i.engine.inputSystem.listen("mouseup",this.handleMouseEnd,{target:document}))}}unlisten(){this.reset()}update(t,e){this.listen(t,e)}reset(){const t=o.A.getGraphics(this);for(const e of this.events)t.engine.inputSystem.unlisten(e);this.events.length=0,this.element.style.display="none",this.state.target.element=document.createElement("div"),this.state.target.parent=null,this.target=void 0}dispose(){this.reset(),this.element.remove()}updateOffset(t=this.state.target.initialRect){this.offset.set(t.width*(this.target.translate.x/100),t.height*(this.target.translate.y/100))}}},8061:function(t,e,i){i.d(e,{D:function(){return g}});var s=i(48583),n=i(10692),r=i(21865),o=Object.defineProperty,a=Object.defineProperties,l=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,d=(t,e,i)=>e in t?o(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,f=(t,e)=>{for(var i in e||(e={}))c.call(e,i)&&d(t,i,e[i]);if(u)for(var i of u(e))h.call(e,i)&&d(t,i,e[i]);return t},p=(t,e)=>a(t,l(e)),y=(t,e,i)=>d(t,"symbol"!==typeof e?e+"":e,i);class g{constructor(){y(this,"proxyCollection",new Map),y(this,"variablesCollection",new Map),y(this,"createNestedProxy",(t,e,i="")=>new Proxy(t,{get:(t,s)=>{if("symbol"===typeof s)return Reflect.get(t,s);const n=i?`${i}.${s}`:s,r=this.variablesCollection.get(e);if(void 0!==r[n])return r[n];const o=Reflect.get(t,s);return null===o||"object"!==typeof o||Array.isArray(o)?o:this.createNestedProxy(o,e,n)}})),y(this,"getVariableValue",(t,e,i,r,o,a)=>{if("key"===r.type)return s.B.getValueByKey(e,r.value);if("custom"===r.type){const s=n.Vd.get(r.value);if(null===s)return;const l=p(f({},a),{key:i,config:r,data:e});return s.execute(t,o,l)}})}get(t,e,i){const s=r.oJ.get(t);if(null===s)return null;let n=this.proxyCollection.get(s),o=this.variablesCollection.get(s);if(void 0===o||o.version>0){o=Object.create(null),o.version=0;const t=r.Y2.getData(s.dataset);if(null!==t){const n=Object.keys(s.variables);for(const r of n){const n=s.variables[r];if(!1===n.enabled)continue;const a=this.getVariableValue(s,t,r,n,e,i);void 0!==a&&(o[r]=a)}}this.variablesCollection.set(s,o),n=this.createNestedProxy(s,s),this.proxyCollection.set(s,n)}else void 0===n&&(n=this.createNestedProxy(s,s),this.proxyCollection.set(s,n));return n}update(t){const e=this.variablesCollection.get(t);void 0!==e&&e.version++}}},9115:function(t,e,i){i.d(e,{O:function(){return u}});var s=i(21865),n=i(81789),r=i(27740),o=Object.defineProperty,a=(t,e,i)=>e in t?o(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,l=(t,e,i)=>a(t,"symbol"!==typeof e?e+"":e,i);class u extends r.${createActor(t,e){const i=new n.ZQ;return i}update(t,e){super.update(t,e);const i=this.getActor(t,e);i.update(t,e)}mount(t,e,i,s){super.mount(t,e,i,s),this.getActor(t,e)}unmount(t,e,i,s){const n=this.getActor(t,e);n.unlisten(),super.unmount(t,e,i,s)}free(t,e){const i=this.getActor(t,e);i.dispose(),super.free(t,e)}}l(u,"type",s.xq.type),r.$.register(u)},10692:function(t,e,i){i.d(e,{FD:function(){return n.F},Vd:function(){return s.V},jB:function(){return n.j},nP:function(){return s.n}});var s=i(72968),n=i(90154)},13507:function(t,e,i){i.d(e,{r:function(){return o}});var s=Object.defineProperty,n=(t,e,i)=>e in t?s(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,r=(t,e,i)=>n(t,"symbol"!==typeof e?e+"":e,i);class o{constructor(){r(this,"registrys",{})}listen(t,e,i={}){var s;let n=this.registrys[t];void 0===n&&(n=[],this.registrys[t]=n);const r=void 0===i.insertIndex?n.length:i.insertIndex,o=n.find(t=>t.callback===e);o||n.splice(r,0,{once:null!=(s=i.once)&&s,callback:e});const a=()=>this.unlisten(t,e);return a}unlisten(t,e){let i=this.registrys[t];if(void 0!==i)for(let s=0;s<i.length;s++)if(i[s].callback===e)return i.splice(s,1),void(0===i.length&&delete this.registrys[t])}trigger(t,...e){let i=this.registrys[t];if(void 0!==i&&0!==i.length){i=[...this.registrys[t]];for(let s=0;s<i.length;s++)i[s].callback(...e),!0===i[s].once&&this.unlisten(t,i[s].callback)}}}},13591:function(t,e,i){i.d(e,{b:function(){return a}});var s=Object.defineProperty,n=(t,e,i)=>e in t?s(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,r=(t,e,i)=>n(t,"symbol"!==typeof e?e+"":e,i);const o=class t{static getCategory(t){return t===this.tsSuffix?this.ts:t===this.prefabSuffix?this.prefab:t===this.datasetSuffix?this.dataset:t===this.styleSuffix?this.style:t===this.fontSuffix?this.font:t===this.routineSuffix?this.routine:t===this.textureSuffix?this.texture:t===this.materialSuffix?this.material:t===this.geometrySuffix?this.geometry:t===this.sceneSuffix?this.scene:this.jsonSuffixs.includes(t)?this.json:this.imageSuffixs.includes(t)?this.image:this.audioSuffixs.includes(t)?this.audio:this.videoSuffixs.includes(t)?this.video:this.modelSuffixs.includes(t)?this.model:this.other}static parseName(t){var e;const i={name:"",suffix:"",category:"other"};if(void 0===t||""===t)return i;const s=t.split(".");i.name=null!=(e=s[0])?e:"";for(let n=1;n<s.length;n++)i.suffix+=`.${s[n]}`;return i.category=this.getCategory(i.suffix),i}static isDescriptor(e,i="suffix"){const s="suffix"===i?t.descriptorSuffixs:t.descriptorCategorys;return s.includes(e)}};r(o,"ts","ts"),r(o,"prefab","prefab"),r(o,"dataset","dataset"),r(o,"style","style"),r(o,"font","font"),r(o,"routine","routine"),r(o,"texture","texture"),r(o,"material","material"),r(o,"geometry","geometry"),r(o,"scene","scene"),r(o,"json","json"),r(o,"image","image"),r(o,"audio","audio"),r(o,"video","video"),r(o,"model","model"),r(o,"other","other"),r(o,"tsSuffix",`.${o.ts}`),r(o,"prefabSuffix",`.${o.prefab}.json`),r(o,"datasetSuffix",`.${o.dataset}.json`),r(o,"styleSuffix",`.${o.style}.json`),r(o,"fontSuffix",`.${o.font}.json`),r(o,"routineSuffix",`.${o.routine}.json`),r(o,"textureSuffix",`.${o.texture}.json`),r(o,"materialSuffix",`.${o.material}.json`),r(o,"geometrySuffix",`.${o.geometry}.json`),r(o,"sceneSuffix",`.${o.scene}.json`),r(o,"manifestSuffix",".manifest.json"),r(o,"jsonSuffixs",[".json"]),r(o,"imageSuffixs",[".png",".jpg",".jpeg",".bmp",".gif"]),r(o,"audioSuffixs",[".mp3",".wav",".wmv"]),r(o,"videoSuffixs",[".mp4",".m2v",".mkv",".rmvb",".wmv",".avi",".flv",".mov",".m4v"]),r(o,"modelSuffixs",[".glb",".gltf"]),r(o,"descriptorSuffixs",[o.prefabSuffix,o.datasetSuffix,o.styleSuffix,o.routineSuffix,o.textureSuffix,o.materialSuffix,o.geometrySuffix,o.sceneSuffix]),r(o,"descriptorCategorys",[o.prefab,o.dataset,o.style,o.routine,o.texture,o.material,o.geometry,o.scene]);let a=o},16033:function(t,e,i){i.d(e,{R:function(){return a}});var s=i(21865),n=i(42778),r=i(81789);let o=!1;const a=()=>{if(!0===o)return;o=!0;const t=new r.XI;t.update(s.Jf.basicStyle,s.Jf.basicName);const e=t.getStyleValue();n.KQ.insertRule(e)}},17227:function(t,e,i){i.d(e,{B:function(){return s}});class s{static pre(t,e,i=null){const s=[{parent:i,des:t}];while(s.length>0){const t=s.pop();e(t.des,t.parent);for(let e=t.des.children.length-1;e>=0;e--)s.push({parent:t.des,des:t.des.children[e]})}}static preTerminated(t,e,i=null){const s=[{parent:i,des:t}];while(s.length>0){const t=s.pop();if(!0!==e(t.des,t.parent))for(let e=t.des.children.length-1;e>=0;e--)s.push({parent:t.des,des:t.des.children[e]})}}}},17244:function(t,e,i){i.d(e,{e:function(){return a}});var s=Object.defineProperty,n=(t,e,i)=>e in t?s(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,r=(t,e,i)=>n(t,"symbol"!==typeof e?e+"":e,i),o=(t,e,i)=>new Promise((s,n)=>{var r=t=>{try{a(i.next(t))}catch(e){n(e)}},o=t=>{try{a(i.throw(t))}catch(e){n(e)}},a=t=>t.done?s(t.value):Promise.resolve(t.value).then(r,o);a((i=i.apply(t,e)).next())});class a{constructor(t){r(this,"uuid"),this.uuid=t}get url(){return this.uuid}ready(){return o(this,null,function*(){})}execute(t,e,i){}}},18419:function(t,e,i){i.d(e,{_:function(){return l}});var s=i(21865),n=i(27740),r=Object.defineProperty,o=(t,e,i)=>e in t?r(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,a=(t,e,i)=>o(t,"symbol"!==typeof e?e+"":e,i);class l extends n.${clear(t,e){}beforeRender(t,e){}render(t,e){}afterRender(t,e){}beforePickup(t,e,i){}orderBy(t){}}a(l,"type",s.RE.type),n.$.register(l)},21627:function(t,e,i){i.d(e,{z:function(){return o}});const s=[{parse:1/0,stringify:"__vyr_infinity+__"},{parse:-1/0,stringify:"__vyr_infinity-__"}],n=(t,e)=>{for(const i of s)if(i.parse===e)return i.stringify;return e},r=(t,e)=>{for(const i of s)if(i.stringify===e)return i.parse;return e};class o{static stringify(t){return JSON.stringify(t,n)}static parse(t){return JSON.parse(t,r)}static deepClone(t){return this.parse(this.stringify(t))}}},21865:function(t,e,i){i.d(e,{CH:function(){return r.CH},Dg:function(){return r.Dg},Jf:function(){return r.Jf},K4:function(){return b.K},KM:function(){return d.K},Pp:function(){return c.P},RE:function(){return m.R},SS:function(){return y.S},Ts:function(){return u.T},Vp:function(){return f.V},X7:function(){return l.X},Y2:function(){return n.Y},YM:function(){return a.Y},Zl:function(){return o.Z},aq:function(){return r.aq},fX:function(){return h.f},oJ:function(){return s.o},q5:function(){return v.q},uj:function(){return p.u},xq:function(){return g.x}});var s=i(38132),n=i(29124),r=i(35085),o=i(70858),a=i(89508),l=i(89237),u=i(85337),c=i(2181),h=i(86487),d=i(32432),f=i(89219),p=i(29364),y=i(76644),g=i(76299),m=i(66119),v=i(63072),b=i(49436)},23083:function(t,e,i){i.d(e,{K:function(){return n},N:function(){return s}});var s=i(94499),n=i(83880)},23680:function(t,e,i){i.r(e),i.d(e,{nodes:function(){return l},url:function(){return a}});var s=i(10692),n=i(21865),r=i(94499),o=(t,e,i)=>new Promise((s,n)=>{var r=t=>{try{a(i.next(t))}catch(e){n(e)}},o=t=>{try{a(i.throw(t))}catch(e){n(e)}},a=t=>t.done?s(t.value):Promise.resolve(t.value).then(r,o);a((i=i.apply(t,e)).next())});const a=s.Vd.createVirtualUrl("preset/scheduler/switch.routine.json"),l={switch:"switch"};let u=null;const c=()=>o(null,null,function*(){if(null===u){u=new n.YM;const t=r.scheduler["switch"].createExecuteNode({id:l.switch});u.nodes.push(t),u.roots.push(t.id)}return u});s.Vd.provider(a,c)},24566:function(t,e,i){i.d(e,{T:function(){return l}});var s=i(21865),n=i(25716),r=Object.defineProperty,o=(t,e,i)=>e in t?r(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,a=(t,e,i)=>o(t,"symbol"!==typeof e?e+"":e,i);class l extends n.F{}a(l,"type",s.Zl.type),n.F.register(l)},25716:function(t,e,i){i.d(e,{F:function(){return u}});var s=i(81789),n=i(21865),r=i(27740),o=Object.defineProperty,a=(t,e,i)=>e in t?o(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,l=(t,e,i)=>a(t,"symbol"!==typeof e?e+"":e,i);class u extends r.${createActor(t,e){return new s.aj}mount(t,e,i,s){super.mount(t,e,i,s);const n=this.getActor(t,e);n.bind(s.uuid)}unmount(t,e,i,s){super.unmount(t,e,i,s)}free(t,e){const i=this.getActor(t,e);i.unbind(),super.free(t,e)}}l(u,"type",n.oJ.type),r.$.register(u)},25946:function(t,e,i){i.d(e,{U:function(){return d}});var s=Object.defineProperty,n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,a=(t,e,i)=>e in t?s(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,l=(t,e)=>{for(var i in e||(e={}))r.call(e,i)&&a(t,i,e[i]);if(n)for(var i of n(e))o.call(e,i)&&a(t,i,e[i]);return t},u=(t,e,i)=>a(t,"symbol"!==typeof e?e+"":e,i);const c={id:1,listener:{default:(t,e)=>i=>{t.event=i,t.enable||(t.enable=!0,e.quaua.push(t))},once:(t,e)=>{const i=c.listener.default(t,e);return s=>{i(s),e.unlisten(t.id)}}}};class h{constructor(t,e,i,s){u(this,"id",c.id++),u(this,"type"),u(this,"target"),u(this,"callback"),u(this,"listener"),u(this,"enable",!1),u(this,"event"),this.type=t,this.target=s.target,this.callback=e,this.listener=s.once?c.listener.once(this,i):c.listener.default(this,i)}execute(){this.callback(this.event),this.enable=!1}}class d{constructor(t){u(this,"_target"),u(this,"_registry",[]),u(this,"quaua",[]),this._target=t}listen(t,e,i={}){if(!0===window["__VYR_RUNTIME.DISABLED_INPUT"])return;const s=l({once:!1,target:this._target,passive:!1,capture:!1},i);for(const r of this._registry)if(r.type===t&&r.callback===e&&i.target===r.target)return r.id;const n=new h(t,e,this,s);return this._registry.push(n),n.target.addEventListener(t,n.listener,s.capture),n.id}unlisten(t){for(let e=0;e<this._registry.length;e++){const i=this._registry[e];if(i.id===t)return this._registry.splice(e,1),void i.target.removeEventListener(i.type,i.listener)}}process(){const t=[...this.quaua];for(const e of t)e.execute();this.quaua.length=0}}},27740:function(t,e,i){i.d(e,{$:function(){return u},n:function(){return l}});var s=i(64898),n=i(81789),r=Object.defineProperty,o=(t,e,i)=>e in t?r(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,a=(t,e,i)=>o(t,"symbol"!==typeof e?e+"":e,i);const l={factory:!1,classCollection:new Map,actorCollection:new Map};class u{constructor(t,e){if(a(this,"unit"),a(this,"graphics"),!1===l.factory)throw s.B.get("interpreter.new.fail");this.unit=t,this.graphics=e}static register(t){l.classCollection.set(t.type,t)}static getClass(t){var e;return null!=(e=l.classCollection.get(t))?e:null}createActor(t,e){return new n.Ag}getActor(t,e){let i=l.actorCollection.get(this);return void 0!==i||(i=this.createActor(t,e),n.Ag.seGraphics(i,this.graphics),l.actorCollection.set(this,i)),i}update(t,e){}mount(t,e,i,s){}unmount(t,e,i,s){}free(t,e){const i=l.actorCollection.get(this);void 0!==i&&(n.Ag.seGraphics(i,this.graphics),l.actorCollection.delete(this))}pickup(t,e,i){}}a(u,"type","Interpreter")},27761:function(t,e,i){i.r(e),i.d(e,{switch:function(){return s}});var s=i(91521)},29124:function(t,e,i){i.d(e,{Y:function(){return y}});var s=i(10692),n=i(79351),r=i(38132),o=Object.defineProperty,a=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,c=(t,e,i)=>e in t?o(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,h=(t,e)=>{var i={};for(var s in t)l.call(t,s)&&e.indexOf(s)<0&&(i[s]=t[s]);if(null!=t&&a)for(var s of a(t))e.indexOf(s)<0&&u.call(t,s)&&(i[s]=t[s]);return i},d=(t,e,i)=>c(t,"symbol"!==typeof e?e+"":e,i),f=(t,e,i)=>new Promise((s,n)=>{var r=t=>{try{a(i.next(t))}catch(e){n(e)}},o=t=>{try{a(i.throw(t))}catch(e){n(e)}},a=t=>t.done?s(t.value):Promise.resolve(t.value).then(r,o);a((i=i.apply(t,e)).next())});const p=class t extends r.o{constructor(t={}){var e,i;super(t),d(this,"_extraData",{}),d(this,"_data"),d(this,"defaultData"),d(this,"url"),d(this,"auto"),this.defaultData=void 0===t.defaultData?{}:r.o.deepClone(t.defaultData),this.url=null!=(e=t.url)?e:"",this.auto=null==(i=t.auto)||i,this._updateData(this.defaultData)}static getData(e){const i=s.Vd.get(e);return i instanceof t?i.getData():null}static getCollection(t){const e=this.getData(t);return e?Array.isArray(e)?e:[e]:[]}fetch(){return f(this,null,function*(){if(this.url)try{const t=yield s.Vd.fetch(s.Vd.joinUrl(this.url)),e=yield t.json();Object.hasOwn(e,"data")?null!==e.data&&"object"===typeof e.data&&this.setData(e.data):this.setData(e)}catch(t){console.warn(t)}})}_updateData(t){this._data=t}getData(){var t;return null!=(t=this._data)?t:null}setData(t){this._updateData(t),n.P.trigger("updateDeps",{self:this.uuid})}setExtraData(t){this._extraData=t}getExtraData(){return this._extraData}toJSON(){const t=this,{_data:e,_extraData:i}=t,s=h(t,["_data","_extraData"]);return s}};d(p,"type","Dataset");let y=p;r.o.register(y)},29364:function(t,e,i){i.d(e,{u:function(){return a}});var s=i(38132),n=Object.defineProperty,r=(t,e,i)=>e in t?n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,o=(t,e,i)=>r(t,"symbol"!==typeof e?e+"":e,i);class a extends s.o{constructor(t={}){var e,i,n,r,a,l;super(t),o(this,"play"),o(this,"duration"),o(this,"count"),o(this,"mode"),o(this,"startTime"),o(this,"path"),o(this,"frameData"),this.play=null!=(e=t.play)&&e,this.duration=null!=(i=t.duration)?i:0,this.count=null!=(n=t.count)?n:1/0,this.mode=null!=(r=t.mode)?r:1,this.startTime=null!=(a=t.startTime)?a:0,this.path=null!=(l=t.path)?l:"",this.frameData=t.frameData?s.o.deepClone(t.frameData):{type:"vector2",startValue:[],endValue:[]}}}o(a,"type","AnimationUnit"),s.o.register(a)},31622:function(t,e,i){i.r(e),i.d(e,{RequestType:function(){return g},createExecuteInput:function(){return b},createExecuteNode:function(){return x},scriptable:function(){return m}});var s=i(64898),n=i(10692),r=i(17244),o=Object.defineProperty,a=Object.defineProperties,l=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,d=(t,e,i)=>e in t?o(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,f=(t,e)=>{for(var i in e||(e={}))c.call(e,i)&&d(t,i,e[i]);if(u)for(var i of u(e))h.call(e,i)&&d(t,i,e[i]);return t},p=(t,e)=>a(t,l(e)),y=(t,e,i)=>new Promise((s,n)=>{var r=t=>{try{a(i.next(t))}catch(e){n(e)}},o=t=>{try{a(i.throw(t))}catch(e){n(e)}},a=t=>t.done?s(t.value):Promise.resolve(t.value).then(r,o);a((i=i.apply(t,e)).next())}),g=(t=>(t["GET"]="GET",t["POST"]="POST",t["PUT"]="PUT",t["DELETE"]="DELETE",t))(g||{});const m=n.Vd.createVirtualUrl("preset/net/request.ts");class v extends r.e{joinUrl(t,e){const i=new URL(t);return Object.entries(e).forEach(([t,e])=>{null!==e&&void 0!==e&&i.searchParams.set(t,String(e))}),i.toString()}execute(t,e,i){return y(this,null,function*(){var t,e,s,n,r,o;const{input:a,result:l}=i;let u=null!=(e=null==(t=null==a?void 0:a.user)?void 0:t.url.value)?e:a.default.url.value;const c=null!=(n=null==(s=null==a?void 0:a.user)?void 0:s.type.value)?n:a.default.type.value,h=null!=(o=null==(r=null==a?void 0:a.user)?void 0:r.data.value)?o:a.default.data.value,d={},y=[];0===h.trim().length?y.push(...l.keys()):y.push(...h.split(","));for(const i of y){const t=l.get(i);Object.assign(d,null!=t?t:{})}u=u.replace(/\${(\w+)}/g,(t,e)=>d.hasOwnProperty(e)?d[e]:t);const g={method:c,headers:{"Content-Type":"application/json"}};let m;m="GET"===c?yield fetch(this.joinUrl(u,d),g):yield fetch(u,p(f({},g),{body:JSON.stringify(d)}));const v=yield m.json();return v})}}n.Vd.provider(m,()=>y(null,null,function*(){return{default:v}}));const b=(t={})=>{var e,i,s;const n={url:{value:null!=(e=t.url)?e:""},type:{value:null!=(i=t.type)?i:""},data:{value:null!=(s=t.data)?s:""}};return n},x=t=>{var e,i,n,r;const o={id:t.id,label:s.B.get(m),position:{x:null!=(i=null==(e=null==t?void 0:t.position)?void 0:e.x)?i:20,y:null!=(r=null==(n=null==t?void 0:t.position)?void 0:n.y)?r:20},routine:"Execute",url:m,input:b(t.input)};return o}},32432:function(t,e,i){i.d(e,{K:function(){return l}});var s=i(64006),n=i(38132),r=Object.defineProperty,o=(t,e,i)=>e in t?r(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,a=(t,e,i)=>o(t,"symbol"!==typeof e?e+"":e,i);class l extends n.o{constructor(t={}){var e,i,n,r,o;super(t),a(this,"scale"),a(this,"position"),a(this,"rotation"),a(this,"layer",0),a(this,"visible",!0),a(this,"renderOrder",0),a(this,"castShadow",!1),a(this,"receiveShadow",!1),this.scale=t.scale?s.Pq.create(t.scale):s.Pq.create(1,1,1),this.position=s.Pq.create(t.position),this.rotation=s.O9.create(t.rotation),this.layer=null!=(e=t.layer)?e:0,this.visible=null==(i=t.visible)||i,this.renderOrder=null!=(n=t.renderOrder)?n:0,this.castShadow=null!=(r=t.castShadow)&&r,this.receiveShadow=null!=(o=t.receiveShadow)&&o}}a(l,"type","Node"),n.o.register(l)},32952:function(t,e,i){i.d(e,{P:function(){return a}});var s=i(1355),n=Object.defineProperty,r=(t,e,i)=>e in t?n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,o=(t,e,i)=>r(t,"symbol"!==typeof e?e+"":e,i);class a{constructor(t=0,e=0,i=0,s=1){o(this,"x"),o(this,"y"),o(this,"z"),o(this,"w"),this.x=t,this.y=e,this.z=i,this.w=s}static slerpFlat(t,e,i,s,n,r,o){let a=i[s+0],l=i[s+1],u=i[s+2],c=i[s+3];const h=n[r+0],d=n[r+1],f=n[r+2],p=n[r+3];if(0===o)return t[e+0]=a,t[e+1]=l,t[e+2]=u,void(t[e+3]=c);if(1===o)return t[e+0]=h,t[e+1]=d,t[e+2]=f,void(t[e+3]=p);if(c!==p||a!==h||l!==d||u!==f){let t=1-o;const e=a*h+l*d+u*f+c*p,i=e>=0?1:-1,s=1-e*e;if(s>Number.EPSILON){const n=Math.sqrt(s),r=Math.atan2(n,e*i);t=Math.sin(t*r)/n,o=Math.sin(o*r)/n}const n=o*i;if(a=a*t+h*n,l=l*t+d*n,u=u*t+f*n,c=c*t+p*n,t===1-o){const t=1/Math.sqrt(a*a+l*l+u*u+c*c);a*=t,l*=t,u*=t,c*=t}}t[e]=a,t[e+1]=l,t[e+2]=u,t[e+3]=c}static multiplyQuaternionsFlat(t,e,i,s,n,r){const o=i[s],a=i[s+1],l=i[s+2],u=i[s+3],c=n[r],h=n[r+1],d=n[r+2],f=n[r+3];return t[e]=o*f+u*c+a*d-l*h,t[e+1]=a*f+u*h+l*c-o*d,t[e+2]=l*f+u*d+o*h-a*c,t[e+3]=u*f-o*c-a*h-l*d,t}set(t,e,i,s){return this.x=t,this.y=e,this.z=i,this.w=s,this}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(t){return this.x=t.x,this.y=t.y,this.z=t.z,this.w=t.w,this}setFromEuler(t){const e=t.x,i=t.y,s=t.z,n=t.order,r=Math.cos,o=Math.sin,a=r(e/2),l=r(i/2),u=r(s/2),c=o(e/2),h=o(i/2),d=o(s/2);switch(n){case"XYZ":this.x=c*l*u+a*h*d,this.y=a*h*u-c*l*d,this.z=a*l*d+c*h*u,this.w=a*l*u-c*h*d;break;case"YXZ":this.x=c*l*u+a*h*d,this.y=a*h*u-c*l*d,this.z=a*l*d-c*h*u,this.w=a*l*u+c*h*d;break;case"ZXY":this.x=c*l*u-a*h*d,this.y=a*h*u+c*l*d,this.z=a*l*d+c*h*u,this.w=a*l*u-c*h*d;break;case"ZYX":this.x=c*l*u-a*h*d,this.y=a*h*u+c*l*d,this.z=a*l*d-c*h*u,this.w=a*l*u+c*h*d;break;case"YZX":this.x=c*l*u+a*h*d,this.y=a*h*u+c*l*d,this.z=a*l*d-c*h*u,this.w=a*l*u-c*h*d;break;case"XZY":this.x=c*l*u-a*h*d,this.y=a*h*u-c*l*d,this.z=a*l*d+c*h*u,this.w=a*l*u+c*h*d;break;default:console.warn("Quaternion: .setFromEuler() encountered an unknown order: "+n)}return this}setFromAxisAngle(t,e){const i=e/2,s=Math.sin(i);return this.x=t.x*s,this.y=t.y*s,this.z=t.z*s,this.w=Math.cos(i),this}setFromRotationMatrix(t){const e=t.elements,i=e[0],s=e[4],n=e[8],r=e[1],o=e[5],a=e[9],l=e[2],u=e[6],c=e[10],h=i+o+c;if(h>0){const t=.5/Math.sqrt(h+1);this.w=.25/t,this.x=(u-a)*t,this.y=(n-l)*t,this.z=(r-s)*t}else if(i>o&&i>c){const t=2*Math.sqrt(1+i-o-c);this.w=(u-a)/t,this.x=.25*t,this.y=(s+r)/t,this.z=(n+l)/t}else if(o>c){const t=2*Math.sqrt(1+o-i-c);this.w=(n-l)/t,this.x=(s+r)/t,this.y=.25*t,this.z=(a+u)/t}else{const t=2*Math.sqrt(1+c-i-o);this.w=(r-s)/t,this.x=(n+l)/t,this.y=(a+u)/t,this.z=.25*t}return this}setFromUnitVectors(t,e){let i=t.dot(e)+1;return i<Number.EPSILON?(i=0,Math.abs(t.x)>Math.abs(t.z)?(this.x=-t.y,this.y=t.x,this.z=0,this.w=i):(this.x=0,this.y=-t.z,this.z=t.y,this.w=i)):(this.x=t.y*e.z-t.z*e.y,this.y=t.z*e.x-t.x*e.z,this.z=t.x*e.y-t.y*e.x,this.w=i),this.normalize()}angleTo(t){return 2*Math.acos(Math.abs((0,s.q)(this.dot(t),-1,1)))}rotateTowards(t,e){const i=this.angleTo(t);if(0===i)return this;const s=Math.min(1,e/i);return this.slerp(t,s),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this.x*=-1,this.y*=-1,this.z*=-1,this}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z+this.w*t.w}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}normalize(){let t=this.length();return 0===t?(this.x=0,this.y=0,this.z=0,this.w=1):(t=1/t,this.x=this.x*t,this.y=this.y*t,this.z=this.z*t,this.w=this.w*t),this}multiply(t){return this.multiplyQuaternions(this,t)}premultiply(t){return this.multiplyQuaternions(t,this)}multiplyQuaternions(t,e){const i=t.x,s=t.y,n=t.z,r=t.w,o=e.x,a=e.y,l=e.z,u=e.w;return this.x=i*u+r*o+s*l-n*a,this.y=s*u+r*a+n*o-i*l,this.z=n*u+r*l+i*a-s*o,this.w=r*u-i*o-s*a-n*l,this}slerp(t,e){if(0===e)return this;if(1===e)return this.copy(t);const i=this.x,s=this.y,n=this.z,r=this.w;let o=r*t.w+i*t.x+s*t.y+n*t.z;if(o<0?(this.w=-t.w,this.x=-t.x,this.y=-t.y,this.z=-t.z,o=-o):this.copy(t),o>=1)return this.w=r,this.x=i,this.y=s,this.z=n,this;const a=1-o*o;if(a<=Number.EPSILON){const t=1-e;return this.w=t*r+e*this.w,this.x=t*i+e*this.x,this.y=t*s+e*this.y,this.z=t*n+e*this.z,this.normalize(),this}const l=Math.sqrt(a),u=Math.atan2(l,o),c=Math.sin((1-e)*u)/l,h=Math.sin(e*u)/l;return this.w=r*c+this.w*h,this.x=i*c+this.x*h,this.y=s*c+this.y*h,this.z=n*c+this.z*h,this}slerpQuaternions(t,e,i){return this.copy(t).slerp(e,i)}random(){const t=2*Math.PI*Math.random(),e=2*Math.PI*Math.random(),i=Math.random(),s=Math.sqrt(1-i),n=Math.sqrt(i);return this.set(s*Math.sin(t),s*Math.cos(t),n*Math.sin(e),n*Math.cos(e))}equals(t){return t.x===this.x&&t.y===this.y&&t.z===this.z&&t.w===this.w}fromArray(t,e=0){return this.x=t[e],this.y=t[e+1],this.z=t[e+2],this.w=t[e+3],this}toArray(t=[],e=0){return t[e]=this.x,t[e+1]=this.y,t[e+2]=this.z,t[e+3]=this.w,t}toJSON(){return this.toArray()}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z,yield this.w}}},35085:function(t,e,i){i.d(e,{CH:function(){return l},Dg:function(){return u},Jf:function(){return f},aq:function(){return c}});var s=i(69776),n=i(38132),r=Object.defineProperty,o=(t,e,i)=>e in t?r(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,a=(t,e,i)=>o(t,"symbol"!==typeof e?e+"":e,i);class l{constructor(t={}){var e,i,n,r,o,l;a(this,"type"),a(this,"color"),a(this,"inset"),a(this,"offsetX"),a(this,"offsetY"),a(this,"blur"),a(this,"spread"),this.type=null!=(e=t.type)?e:0,this.color=new s.E8(t.color),this.inset=null!=(i=t.inset)&&i,this.offsetX=null!=(n=t.offsetX)?n:0,this.offsetY=null!=(r=t.offsetY)?r:0,this.blur=null!=(o=t.blur)?o:0,this.spread=null!=(l=t.spread)?l:0}getStyleValue(t="px"){if(0===this.type){const e=this.inset?"inset":"";return`${e} ${this.offsetX}${t} ${this.offsetY}${t} ${this.blur}${t} ${this.spread}${t} ${this.color.getColor()}`}return` ${this.offsetX}${t} ${this.offsetY}${t} ${this.spread}${t} ${this.color.getColor()}`}}class u{constructor(t={}){var e,i,s,n;a(this,"left"),a(this,"top"),a(this,"right"),a(this,"bottom"),this.left=null!=(e=t.left)?e:0,this.top=null!=(i=t.top)?i:0,this.right=null!=(s=t.right)?s:0,this.bottom=null!=(n=t.bottom)?n:0}getStyleValue(t="px"){return`${this.top}${t} ${this.right}${t} ${this.bottom}${t} ${this.left}${t}`}}class c{constructor(t,e,i=!1,s=""){a(this,"name"),a(this,"value"),a(this,"inherit"),a(this,"unit"),this.name=t,this.value=e,this.inherit=i,this.unit=s}static clone(t){let e;return e=["box-shadow","text-shadow"].includes(t.name)?new l(t.value):["background","border-color","color"].includes(t.name)?s.Ru.create(t.value):["border-width","padding","margin"].includes(t.name)?new u(t.value):t.value,new c(t.name,e,t.inherit,t.unit)}getValue(){return this.value instanceof s.Ru?this.value.getColor():this.value instanceof l||this.value instanceof u?this.value.getStyleValue(this.unit):"transition"===this.name?`all ${this.value}s`:this.value+this.unit}}let h=null;const d=class t extends n.o{constructor(e={}){var i;if(super(e),a(this,"inherit"),a(this,"rules"),a(this,"hoverRules"),a(this,"activeRules"),this.inherit=null!=(i=e.inherit)?i:"",Array.isArray(e.rules)){this.rules=[];for(const t of e.rules)this.addRule(c.clone(t),this.rules)}else this.rules=t.generateRule(!0);if(Array.isArray(e.hoverRules)){this.hoverRules=[];for(const t of e.hoverRules)this.addRule(c.clone(t),this.hoverRules)}else this.hoverRules=t.generateRule(!0);if(Array.isArray(e.activeRules)){this.activeRules=[];for(const t of e.activeRules)this.addRule(c.clone(t),this.activeRules)}else this.activeRules=t.generateRule(!0)}static get basicStyle(){if(null===h){h=new t({name:"basic",rules:[]});const e=t.generateRule(!1);for(const t of e)h.addRule(t)}return h}addRule(t,e=this.rules){for(const i of e)if(t.name===i.name)return;e.push(t)}removeRule(t,e=this.rules){for(let i=0;i<e.length;i++){const s=this.rules[i];if(t.name===s.name)return void e.splice(i,1)}}clearRule(t=this.rules){t.length=0}};a(d,"type","Style"),a(d,"basicName","vyr_basic_style"),a(d,"activeName","vyr_active_style"),a(d,"generateRule",(t=!0)=>{const e=[];return e.push(new c("cursor","default",t)),e.push(new c("padding",new u,t,"px")),e.push(new c("box-sizing","border-box",t)),e.push(new c("overflow-x","visible",t)),e.push(new c("overflow-y","visible",t)),e.push(new c("vertical-align","baseline",t)),e.push(new c("transition",.5,t)),e.push(new c("background",new s.E8({opacity:0}),t)),e.push(new c("background-blend-mode","normal",t)),e.push(new c("background-clip","border-box",t)),e.push(new c("box-shadow",new l({type:0}),t,"px")),e.push(new c("text-shadow",new l({type:1}),t,"px")),e.push(new c("border-style","solid",t)),e.push(new c("border-color",new s.E8,t)),e.push(new c("border-width",new u,t,"px")),e.push(new c("color",new s.E8({value:"#000000"}),t)),e.push(new c("font-size",16,t,"px")),e.push(new c("text-align","left",t)),e.push(new c("font-weight","normal",t)),e.push(new c("line-height",1.2,t)),e.push(new c("font-style","normal",t)),e.push(new c("text-decoration","none",t)),e.push(new c("letter-spacing",0,t,"px")),e.push(new c("white-space","normal",t)),e.push(new c("font-family","unset",t)),e});let f=d;n.o.register(f)},35265:function(t,e,i){i(67824)},35793:function(t,e,i){i.r(e),i.d(e,{invoke:function(){return s}});var s=i(47813)},38132:function(t,e,i){i.d(e,{o:function(){return z}});var s=i(64898),n=i(97338),r=i(14291),o=i(48393),a=i(47552),l=i(17227),u=i(48583),c=i(21627),h=i(79351),d=Object.defineProperty,f=Object.defineProperties,p=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,v=(t,e,i)=>e in t?d(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,b=(t,e)=>{for(var i in e||(e={}))g.call(e,i)&&v(t,i,e[i]);if(y)for(var i of y(e))m.call(e,i)&&v(t,i,e[i]);return t},x=(t,e)=>f(t,p(e)),w=(t,e,i)=>v(t,"symbol"!==typeof e?e+"":e,i);const C=t=>"editor"===window["__VYR_RUNTIME_MODE"]?(0,r.Kh)(t):t,M={classCollection:new Map,prefabToInstanceCollection:new Map,instanceToPrefabCollection:new Map,refGraph:new Map,getParent:t=>{const e=M.refGraph.get(t);return void 0===e?null:z.get(e)},setPrefabInstance(t){if(!1===t.prefab)return;let e=this.prefabToInstanceCollection.get(t.prefab.uuid);void 0===e&&(e=[],this.prefabToInstanceCollection.set(t.prefab.uuid,e)),o.l.insert(e,t.uuid),this.instanceToPrefabCollection.set(t.uuid,t.prefab.uuid)},markclone:(t,e,i,s)=>{const n=t.clone(!1);i.set(t.uuid,n),n.interactions.length>0&&s.push(n),!1===n.prefab&&(n.prefab={root:e,uuid:t.uuid});for(const r of t.children){const t=M.markclone(r,e,i,s);n.add(t)}return n}},P=class t extends n.iy{constructor(e={}){var i,s,n;if(super(e.uuid),w(this,"type"),w(this,"children"),w(this,"generatedBy",""),w(this,"name"),w(this,"dataset"),w(this,"variables"),w(this,"interactions"),w(this,"selectable"),w(this,"prefab"),this.type=this.constructor.type,this.name=null!=(i=e.name)?i:"",this.dataset=null!=(s=e.dataset)?s:"",this.variables=e.variables?t.deepClone(e.variables):{},this.interactions=e.interactions?t.deepClone(e.interactions):[],this.selectable=null==(n=e.selectable)||n,this.prefab=!!e.prefab&&t.deepClone(e.prefab),this.children=[],M.setPrefabInstance(this),Array.isArray(e.children)&&e.children.length>0)for(const r of e.children)C(this).add(t.create(r));return C(this)}static register(t){M.classCollection.set(t.type,t)}static getClass(t){var e;return null!=(e=M.classCollection.get(t))?e:null}static create(e){var i;const n=this.getClass(null!=(i=e.type)?i:t.type);if(null===n)throw s.B.get("descriptor.notRegister",{type:e.type});return new n(e)}static serialization(t){return c.z.stringify(t)}static deserialization(t){return c.z.parse(t)}static deepClone(t){return c.z.deepClone(t)}static fixReferences(t,e){for(const i of t)for(const t of i.interactions){const i=Object.keys(t.inputs);for(const s of i){const i=t.inputs[s],n=Object.keys(i);for(const t of n){const s=i[t],n=e.get(s.value);void 0!==n&&(s.value=n.uuid)}}}}static cloneAndFixReferences(t){const e=new Map,i=[],s=M.markclone(t,t.uuid,e,i);return this.fixReferences(i,e),s}static getPrefab(t){var e;return null!=(e=M.instanceToPrefabCollection.get(t))?e:null}static getInstanceCollection(t){var e;return null!=(e=M.prefabToInstanceCollection.get(t))?e:null}beenInstantiated(t){C(t).clear()}add(...t){for(const e of t){if(this.children.indexOf(e)>-1)continue;const t=e.traceAncestor(!1);null!==t.parent&&t.parent.remove(e),this.children.push(e),M.refGraph.set(e.uuid,this.uuid),h.P.trigger("add",{self:e.uuid,puid:this.uuid})}}remove(...t){for(const e of t)for(let t=0;t<this.children.length;t++)if(this.children[t].uuid===e.uuid){h.P.trigger("remove",{self:e.uuid,puid:this.uuid}),this.children.splice(t,1),M.refGraph.delete(e.uuid);break}}traceAncestor(t=!0,e=1/0){let i=M.getParent(this.uuid);const s={parent:i,uuids:[],collection:[]};if(null===i)return s;if(s.collection.push(i),s.uuids.push(i.uuid),!0===t){let t=1;i=M.getParent(i.uuid);while(i&&t<e)t++,s.collection.push(i),s.uuids.push(i.uuid),i=M.getParent(i.uuid)}return s}insert(e,i){const n=t.get(e);if(null===n)return console.warn(s.B.get("descriptor.insert.uuid.notFound",{uuid:e}));const r=t.get(i);if(null===r)return console.warn(s.B.get("descriptor.insert.target.notFound",{target:i}));const o=n.traceAncestor(!1);o.parent&&o.parent.remove(n),r.add(n)}insertBefore(e,i,n=0){const r=t.get(e);if(null===r)return console.warn(s.B.get("descriptor.insert.uuid.notFound",{uuid:e}));const o=t.get(i);if(null===o)return console.warn(s.B.get("descriptor.insert.target.notFound",{target:i}));const a=o.traceAncestor(!1);if(null===a.parent)return;const l=a.parent,u=r.traceAncestor(!1);null!==u.parent&&u.parent.remove(r);let c=-1;for(let t=0;t<l.children.length;t++){const e=l.children[t];e===o&&(c=t+n),h.P.trigger("remove",{self:e.uuid,puid:l.uuid})}l.children.splice(c,0,r),M.refGraph.set(r.uuid,l.uuid);for(const t of l.children)h.P.trigger("add",{self:t.uuid,puid:l.uuid})}insertAfter(t,e){return this.insertBefore(t,e,1)}getAdjacent(){const t={parent:"",prev:"",next:""},e=this.traceAncestor(!1);if(null===e.parent)return t;t.parent=e.parent.uuid;const i=e.parent.children.indexOf(this);return i>0&&(t.prev=e.parent.children[i-1].uuid),i<e.parent.children.length-1&&(t.next=e.parent.children[i+1].uuid),t}clone(e=!0){const i=a.w.uuid(),s=t.create(x(b({},this),{uuid:i,children:void 0}));if(!1===e)return s;for(const t of this.children)s.add(t.clone(e));return s}syncWith(e,i=[]){if(this.type!==e.type)return console.warn(s.B.get("descriptor.syncWith.fail"));const n=t.create(x(b({},e),{type:this.type,uuid:void 0,children:void 0}));delete n["uuid"],delete n["type"],delete n["children"],delete n["prefab"],delete n["generatedBy"];for(const t of i)delete n[t];Object.assign(this,n)}traverse(t,e=!1,i=null){e?l.B.preTerminated(this,t,i):l.B.pre(this,t,i)}clear(){this.remove(...this.children)}serialization(){return t.serialization(this)}equals(t,e=["children"]){return u.B.equals(this,t,e)}setNeedsUpdate(){h.P.trigger("update",{self:this.uuid})}};w(P,"type","Descriptor");let z=P;z.register(z),(0,n.pU)("free",t=>{h.P.trigger("free",{self:t}),M.refGraph.delete(t);const e=M.instanceToPrefabCollection.get(t);if(void 0===e)return;M.instanceToPrefabCollection.delete(t);const i=M.prefabToInstanceCollection.get(t);void 0!==i&&o.l.remove(i,t)})},38528:function(t,e,i){i.r(e),i.d(e,{invoke:function(){return s}});var s=i(78506)},40826:function(t,e,i){i.d(e,{D:function(){return d}});var s=i(21865),n=i(48393),r=i(27740),o=i(81789),a=Object.defineProperty,l=(t,e,i)=>e in t?a(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,u=(t,e,i)=>l(t,"symbol"!==typeof e?e+"":e,i);const c={collection:[]},h=class t extends r.${constructor(){super(...arguments),u(this,"animationUnit",null)}static reset(e=0){const i=t.enabled;t.enabled=!0;for(const t of c.collection)t.reset(e);t.enabled=i}freeUnit(){null!==this.animationUnit&&(n.l.remove(c.collection,this.animationUnit),this.animationUnit.unlisten(),this.animationUnit=null)}update(t,e){super.update(t,e),this.freeUnit();const i=s.uj.get(this.unit.parent);null!==i&&(this.animationUnit=o.g1.parse(t),n.l.insert(c.collection,this.animationUnit),this.animationUnit.setTarget(i),this.animationUnit.listen(this.graphics))}unmount(t,e,i,s){this.freeUnit(),super.unmount(t,e,i,s)}};u(h,"type",s.uj.type),u(h,"enabled",!0);let d=h;r.$.register(d)},42646:function(t,e,i){i.d(e,{r:function(){return m}});var s=i(10692),n=i(21865),r=i(27740),o=Object.defineProperty,a=Object.defineProperties,l=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,d=(t,e,i)=>e in t?o(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,f=(t,e)=>{for(var i in e||(e={}))c.call(e,i)&&d(t,i,e[i]);if(u)for(var i of u(e))h.call(e,i)&&d(t,i,e[i]);return t},p=(t,e)=>a(t,l(e)),y=(t,e,i)=>d(t,"symbol"!==typeof e?e+"":e,i),g=(t,e,i)=>new Promise((s,n)=>{var r=t=>{try{a(i.next(t))}catch(e){n(e)}},o=t=>{try{a(i.throw(t))}catch(e){n(e)}},a=t=>t.done?s(t.value):Promise.resolve(t.value).then(r,o);a((i=i.apply(t,e)).next())});class m extends r.${constructor(){super(...arguments),y(this,"collection",new Map),y(this,"linkCollection",new Map)}update(t,e){super.update(t,e),this.collection.clear(),this.linkCollection.clear();for(const i of t.nodes)this.collection.set(i.id,i);for(const i of t.mappers){let t=this.linkCollection.get(i.source);void 0===t&&(t=[],this.linkCollection.set(i.source,t)),t.push(i.target)}}doBranch(t,e,i,s,n,r){return g(this,null,function*(){this.doExecute(t,e,i,s,n,r)})}doCondition(t,e,i,s,n,r){return g(this,null,function*(){const o=r.get(e),a=r.get(t);o===(null==a?void 0:a.condition.value)&&this.doExecute(t,e,i,s,n,r)})}doExecute(t,e,i,s,n,r){return g(this,null,function*(){const e=this.linkCollection.get(t);if(void 0!==e)for(const o of e)yield this.doNext(o,t,i,s,n,r)})}doNext(t,e,i,n,r,o){return g(this,null,function*(){var a;const l=this.collection.get(t);if(void 0===l)return;const u=null!=(a=i[t])?a:{},c=s.Vd.get(l.url);if(c){const i=p(f({},r),{input:{previous:e,default:l.input,user:u},result:o}),s=yield c.execute(n,this.graphics,i);o.set(t,s)}"Branch"===l.routine?this.doBranch(t,e,i,n,r,o):"Condition"===l.routine?(!1===o.has(t)&&o.set(t,l.input),this.doCondition(t,e,i,n,r,o)):this.doExecute(t,e,i,n,r,o)})}do(t,e,i){for(const s of e.roots){const n=new Map;this.doNext(s,"",t,e,i,n)}}}y(m,"type",n.YM.type),r.$.register(m)},42662:function(t,e,i){i.d(e,{P:function(){return u}});var s=i(21865),n=i(42778),r=i(81789),o=Object.defineProperty,a=(t,e,i)=>e in t?o(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,l=(t,e,i)=>a(t,"symbol"!==typeof e?e+"":e,i);class u extends n._J{createActor(t,e){const i=new r.u2(t.uuid);return i.DOM.addEventListener("pointerdown",t=>t.stopPropagation()),i}update(t,e){super.update(t,e);const i=this.getActor(t,e);i.update(t,e)}mount(t,e,i,s){super.mount(t,e,i,s);const n=this.getActor(t,e),r=i.getActor(s,e);r.add(n)}unmount(t,e,i,s){const n=this.getActor(t,e);n.clearStyleClass(n.DOM),n.cleanInteraction();const r=i.getActor(s,e);r.remove(n),super.unmount(t,e,i,s)}pickup(t,e,i){i.push({uuid:t.uuid,generatedBy:t.generatedBy})}}l(u,"type",s.q5.type),n._J.register(u)},42778:function(t,e,i){i.d(e,{$R:function(){return s.$},B0:function(){return y.B},DM:function(){return o.D},FG:function(){return a.F},Gd:function(){return c.G},KQ:function(){return r.K},OH:function(){return d.O},Pk:function(){return p.P},TS:function(){return u.T},_J:function(){return f._},oA:function(){return h.o},rE:function(){return l.r},zI:function(){return n.z}});var s=i(27740),n=i(67302),r=i(91881),o=i(40826),a=i(25716),l=(i(58721),i(42646)),u=i(24566),c=i(70455),h=i(98415),d=i(9115),f=i(18419),p=i(42662),y=i(83792)},44870:function(t,e,i){i.d(e,{O:function(){return u}});var s=i(51456),n=i(10692),r=i(21865),o=Object.defineProperty,a=(t,e,i)=>e in t?o(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,l=(t,e,i)=>a(t,"symbol"!==typeof e?e+"":e,i);class u{constructor(){l(this,"collection",new Map)}get(t){var e;return null!=(e=this.collection.get(t.uuid))?e:null}listen(t,e){const i=n.Vd.getUrlByUuid(t.uuid);if(i){let n=this.collection.get(t.uuid);return void 0===n&&(n=new s.A(i,t,e),this.collection.set(t.uuid,n)),n.listen({delta:0}),n}}unlisten(t,e){const i=this.collection.get(t.uuid);void 0!==i&&(i.unlisten({delta:0}),this.collection.delete(t.uuid))}process(t,e){n.Vd.free();const i=this.collection.values();for(const s of i)s.process(e),s.clear(e),t.trigger(r.uj.type,e),this.beforeRender(e),t.trigger("beforeRender",e),this.render(e),this.afterRender(e),t.trigger("afterRender",e)}beforeRender(t){const e=this.collection.values();for(const i of e)i.beforeRender(t)}render(t){const e=this.collection.values();for(const i of e)i.render(t)}afterRender(t){const e=this.collection.values();for(const i of e)i.afterRender(t)}clear(t){const e=this.collection.values();for(const i of e)this.unlisten(i.scheduler,t)}}},46339:function(t,e,i){i.d(e,{t:function(){return s}});const s={id:"zh_CN",name:"@vyr/engine","asyncTask.task.was.cancelled":"任务已取消","asset.load.fail":"资产加载失败:未注册 {{category}} 类别的工厂方法","asset.already.exists":"已存在同名资产,覆盖可能导致异常","asset.provider.notFound":"未找到资源提供方:{{url}}","descriptor.notRegister":"未注册描述器:{{type}}","descriptor.insert.uuid.notFound":"节点不存在:${uuid}","descriptor.insert.target.notFound":"目标节点不存在:${target}","descriptor.syncWith.fail":"只能从同类型实例同步属性","interpreter.new.fail":"请使用静态 create 方法创建实例","graphics.interpreter.notRegister":"未注册解释器:{{type}}","graphics.unit.notFound":"单元不存在:{{uuid}}","engine.run.container.notFound":"挂载节点不存在","/virtual:/preset/net/request.ts":"网络请求","/virtual:/preset/dataset/update.ts":"更新数据集","/virtual:/preset/scheduler/switch.ts":"切换场景","/virtual:/preset/graphics/invoke.ts":"调用交互"}},46597:function(t,e,i){i.d(e,{N:function(){return f}});var s=i(64898),n=i(21865),r=i(47552),o=i(25946),a=i(13507),l=i(51329),u=i(16033),c=Object.defineProperty,h=(t,e,i)=>e in t?c(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,d=(t,e,i)=>h(t,"symbol"!==typeof e?e+"":e,i);class f extends a.r{constructor(t={}){super(),d(this,"compilation",new l.O2),d(this,"prevTimestamp",0),d(this,"frame",0),d(this,"uuid",r.w.uuid()),d(this,"DOM",document.createElement("div")),d(this,"inputSystem",new o.U(this.DOM)),this.DOM.style.width="100%",this.DOM.style.height="100%",this.DOM.style.position="relative",this.DOM.style.top="0",this.DOM.style.left="0",this.DOM.style.overflow="hidden",this.DOM.classList.add("vyr-engine",n.Jf.basicName),this.DOM.setAttribute("data-vyr","vyr-engine"),this.DOM.addEventListener("contextmenu",t=>t.preventDefault())}getDelta(t){return(t-this.prevTimestamp)/1e3}tick(t){const e=this.getDelta(t);this.prevTimestamp=t,this.frame=requestAnimationFrame(t=>this.tick(t));const i={delta:e};this.inputSystem.process(),this.compilation.process(this,i)}run(t){if(0===this.frame){if("string"===typeof t){const e=document.getElementById(t);if(null===e)throw s.B.get("engine.run.container.notFound");t=e}t.appendChild(this.DOM),(0,u.R)(),this.prevTimestamp=performance.now(),this.tick(this.prevTimestamp)}}stop(){0!==this.frame&&(cancelAnimationFrame(this.frame),this.frame=0)}switch(t){this.compilation.clear(this),this.compilation.listen(t,this),window.dispatchEvent(new Event("resize")),this.compilation.process(this,{delta:0})}clear(){this.compilation.clear(this)}getGraphics(t){return this.compilation.get(t)}}},47552:function(t,e,i){i.d(e,{w:function(){return r}});let s=1;const n=["00","01","02","03","04","05","06","07","08","09","0a","0b","0c","0d","0e","0f","10","11","12","13","14","15","16","17","18","19","1a","1b","1c","1d","1e","1f","20","21","22","23","24","25","26","27","28","29","2a","2b","2c","2d","2e","2f","30","31","32","33","34","35","36","37","38","39","3a","3b","3c","3d","3e","3f","40","41","42","43","44","45","46","47","48","49","4a","4b","4c","4d","4e","4f","50","51","52","53","54","55","56","57","58","59","5a","5b","5c","5d","5e","5f","60","61","62","63","64","65","66","67","68","69","6a","6b","6c","6d","6e","6f","70","71","72","73","74","75","76","77","78","79","7a","7b","7c","7d","7e","7f","80","81","82","83","84","85","86","87","88","89","8a","8b","8c","8d","8e","8f","90","91","92","93","94","95","96","97","98","99","9a","9b","9c","9d","9e","9f","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","aa","ab","ac","ad","ae","af","b0","b1","b2","b3","b4","b5","b6","b7","b8","b9","ba","bb","bc","bd","be","bf","c0","c1","c2","c3","c4","c5","c6","c7","c8","c9","ca","cb","cc","cd","ce","cf","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9","da","db","dc","dd","de","df","e0","e1","e2","e3","e4","e5","e6","e7","e8","e9","ea","eb","ec","ed","ee","ef","f0","f1","f2","f3","f4","f5","f6","f7","f8","f9","fa","fb","fc","fd","fe","ff"];class r{static id(){return s++}static uuid(){const t=4294967295*Math.random()|0,e=4294967295*Math.random()|0,i=4294967295*Math.random()|0,s=4294967295*Math.random()|0,r=n[255&t]+n[t>>8&255]+n[t>>16&255]+n[t>>24&255]+"-"+n[255&e]+n[e>>8&255]+"-"+n[e>>16&15|64]+n[e>>24&255]+"-"+n[63&i|128]+n[i>>8&255]+"-"+n[i>>16&255]+n[i>>24&255]+n[255&s]+n[s>>8&255]+n[s>>16&255]+n[s>>24&255];return r.toLowerCase()}static delayExecute(t){const e={args:[],execute:!1},i=(...i)=>{e.args=i,!0!==e.execute&&(e.execute=!0,requestAnimationFrame(()=>{t(...e.args),e.execute=!1}))};return i}}},47813:function(t,e,i){i.r(e),i.d(e,{createExecuteInput:function(){return c},createExecuteNode:function(){return h},scriptable:function(){return l}});var s=i(64898),n=i(10692),r=i(21865),o=i(17244),a=(t,e,i)=>new Promise((s,n)=>{var r=t=>{try{a(i.next(t))}catch(e){n(e)}},o=t=>{try{a(i.throw(t))}catch(e){n(e)}},a=t=>t.done?s(t.value):Promise.resolve(t.value).then(r,o);a((i=i.apply(t,e)).next())});const l=n.Vd.createVirtualUrl("preset/graphics/invoke.ts");class u extends o.e{execute(t,e,i){return a(this,null,function*(){var t,s,n,o;const{input:a}=i,l=null!=(s=null==(t=null==a?void 0:a.user)?void 0:t.interaction.value)?s:a.default.interaction.value,u=null!=(o=null==(n=null==a?void 0:a.user)?void 0:n.target.value)?o:a.default.target.value,c=r.oJ.get(u);l&&c&&e.invoke(l,c)})}}n.Vd.provider(l,()=>a(null,null,function*(){return{default:u}}));const c=(t={})=>{var e,i;const s={target:{value:null!=(e=t.target)?e:""},interaction:{value:null!=(i=t.interaction)?i:""}};return s},h=t=>{var e,i,n,r;const o={id:t.id,label:s.B.get(l),position:{x:null!=(i=null==(e=null==t?void 0:t.position)?void 0:e.x)?i:20,y:null!=(r=null==(n=null==t?void 0:t.position)?void 0:n.y)?r:20},routine:"Execute",url:l,input:c(t.input)};return o}},48035:function(t,e,i){i.d(e,{N:function(){return u},o:function(){return l}});var s=i(48393),n=Object.defineProperty,r=(t,e,i)=>e in t?n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,o=(t,e,i)=>r(t,"symbol"!==typeof e?e+"":e,i);const a=class t{constructor(t){o(this,"url"),o(this,"operationCollection",[]),o(this,"updateCollection",[]),this.url=t}iterator(e,i){let s;switch(i){case t.Update:s=[...this.updateCollection],this.updateCollection.length=0;break;default:s=[...this.operationCollection],this.operationCollection.length=0;break}for(const t of s)e(t);return s}clear(e){let i;switch(e){case t.Update:i=this.updateCollection;break;default:i=this.operationCollection;break}i.length=0}};o(a,"Add",1),o(a,"Remove",2),o(a,"Update",3);let l=a;class u{constructor(t,e,i){o(this,"uuid"),o(this,"parent"),o(this,"queue"),this.uuid=t,this.parent=e,this.queue=i}trigger(t){switch(t){case l.Add:this.queue.operationCollection.push({type:t,unit:this});break;case l.Remove:this.queue.operationCollection.push({type:t,unit:this});break;case l.Update:s.l.insert(this.queue.updateCollection,this);break}}}},48393:function(t,e,i){i.d(e,{l:function(){return n}});var s=i(48583);class n{static insert(t,e){const i=t.indexOf(e);-1===i&&t.push(e)}static remove(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}static auto(t,e){const i=t.indexOf(e);-1===i?t.push(e):t.splice(i,1)}static insertByKey(t,e,i){const s=t.length;for(let n=0;n<s;n++)if(t[n][e]===i[e])return;t.push(i)}static removeByKey(t,e,i){const s=t.length;for(let n=0;n<s;n++){const s=t[n];if(s[e]===i)return void t.splice(n,1)}}static equals(t,e,i=[]){if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++){const o=t[r],a=typeof o;if(("string"===a||"boolean"===a||"number"===a||"bigint"===a||"undefined"===a||"symbol"===a||null===a)&&o!==e[r])return!1;if(Array.isArray(o)){if(0==n.equals(o,e[r],i))return!1}else if("object"!==a);else if(!1===s.B.equals(o,e[r],i))return!1}return!0}}},48583:function(t,e,i){i.d(e,{B:function(){return n}});var s=i(48393);class n{static equals(t,e,i=[]){const r=Object.keys(t),o=Object.keys(e);if(r.length!==o.length)return!1;const a=new Set(o);for(const l of r){if(!1===a.has(l))return!1;if(i.includes(l))continue;const r=t[l],o=typeof r;if(("string"===o||"boolean"===o||"number"===o||"bigint"===o||"undefined"===o||"symbol"===o||null===o)&&r!==e[l])return!1;if(Array.isArray(r)){if(0==s.l.equals(r,e[l],i))return!1}else if("object"!==o);else if(!1===n.equals(r,e[l],i))return!1}return!0}static parseKey(t){return t.split(".").filter(t=>""!==t)}static getValueByKey(t,e){if(!t)return;const i=this.parseKey(e);for(const s of i)if(t=t[s],void 0===t)return;return t}}},49436:function(t,e,i){i.d(e,{K:function(){return a}});var s=i(38132),n=Object.defineProperty,r=(t,e,i)=>e in t?n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,o=(t,e,i)=>r(t,"symbol"!==typeof e?e+"":e,i);class a extends s.o{constructor(t={}){var e;super(t),o(this,"camera"),this.camera=null!=(e=t.camera)?e:""}}o(a,"type","ServiceScheduler"),s.o.register(a)},50931:function(t,e,i){i.r(e),i.d(e,{Actor:function(){return b.Ag},AnimationUnitActor:function(){return b.g1},AnimationUnitDescriptor:function(){return m.uj},AnimationUnitInterpreter:function(){return v.DM},ArrayUtils:function(){return l.l},Asset:function(){return w.Vd},AssetGraph:function(){return w.jB},AsyncTask:function(){return y.g},BasicStyleColor:function(){return r.Ru},CameraDescriptor:function(){return m.Vp},Category:function(){return a.b},Color:function(){return r.Q1},Compilation:function(){return x.O2},ControllerDescriptor:function(){return m.SS},DatasetDescriptor:function(){return m.Y2},DatasetInterpreter:function(){return v.zI},DefaultStyleColor:function(){return r.E8},Dependencide:function(){return w.FD},Descriptor:function(){return m.oJ},DivActor:function(){return b.TD},DivDescriptor:function(){return m.fX},DivInterpreter:function(){return v.oA},DynamicDescriptor:function(){return m.Ts},Engine:function(){return M.N},Euler:function(){return n.O9},FragmentActor:function(){return b.aj},FragmentInterpreter:function(){return v.FG},Generate:function(){return c.w},Graphics:function(){return x.A1},HTMLActor:function(){return b.NA},HTMLDescriptor:function(){return m.Pp},HTMLServiceActor:function(){return b.u2},HTMLServiceDescriptor:function(){return m.q5},HTMLServiceInterpreter:function(){return v.Pk},HTMLTransformControllerActor:function(){return b.ZQ},HTMLTransformControllerDescriptor:function(){return m.xq},HTMLTransformControllerInterpreter:function(){return v.OH},InputSystem:function(){return f.U},Interpreter:function(){return v.$R},LinearStyleColor:function(){return r.yq},Listener:function(){return d.r},Matrix4:function(){return n.kn},NodeDescriptor:function(){return m.KM},ObjectUtils:function(){return u.B},PrefaInterpreter:function(){return v.TS},PrefabInstanceDescriptor:function(){return m.X7},PrefabInstanceInterpreter:function(){return v.Gd},PrefabeDescriptor:function(){return m.Zl},Quaternion:function(){return n.PT},Queue:function(){return x.op},RadialStyleColor:function(){return r.GH},RoutineDescriptor:function(){return m.YM},RoutineInterpreter:function(){return v.rE},Scriptable:function(){return g.e},Serialization:function(){return o.z},ServiceDescriptor:function(){return m.RE},ServiceInterpreter:function(){return v._J},ServiceSchedulerDescriptor:function(){return m.K4},ServiceSchedulerInterpreter:function(){return v.B0},StyleActor:function(){return b.XI},StyleDescriptor:function(){return m.Jf},StyleInterpreter:function(){return v.KQ},StyleRule:function(){return m.aq},StyleShadow:function(){return m.CH},StyleSpacing:function(){return m.Dg},Traverser:function(){return h.B},Unit:function(){return x.Nf},VariableProxy:function(){return x.D_},Vector2:function(){return n.I9},Vector3:function(){return n.Pq},destroyInstance:function(){return p.Sh},executePreset:function(){return C.N},language:function(){return s.B},observer:function(){return x.PA},privateState:function(){return w.nP},routinePreset:function(){return C.K},zhCnLanguageProvider:function(){return s.t}});var s=i(64898),n=i(64006),r=i(69776),o=i(21627),a=i(13591),l=i(48393),u=i(48583),c=i(47552),h=i(17227),d=i(13507),f=i(25946),p=i(97338),y=i(72094),g=i(17244),m=i(21865),v=i(42778),b=(i(35265),i(81789)),x=i(51329),w=i(10692),C=i(23083),M=i(46597)},51329:function(t,e,i){i.d(e,{A1:function(){return o.A},D_:function(){return r.D},Nf:function(){return n.N},O2:function(){return a.O},PA:function(){return s.P},op:function(){return n.o}});var s=i(79351),n=i(48035),r=i(8061),o=i(51456),a=i(44870)},51456:function(t,e,i){i.d(e,{A:function(){return g}});var s=i(64898),n=i(48393),r=i(10692),o=i(21865),a=i(27740),l=i(42778),u=i(79351),c=i(48035),h=i(94233),d=i(8061),f=Object.defineProperty,p=(t,e,i)=>e in t?f(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,y=(t,e,i)=>p(t,"symbol"!==typeof e?e+"":e,i);class g{constructor(t,e,i){y(this,"__VYR_REMOTE_WRAPPER"),y(this,"_overwriteUpdate",new Map),y(this,"_interpreterCollection",new Map),y(this,"_staticAssetQueue",[]),y(this,"_assetCollection",new Map),y(this,"_freeCollection",new Map),y(this,"_dependencide",new r.FD),y(this,"_services",[]),y(this,"_freeQueue",[]),y(this,"_currentCamera",""),y(this,"unitCollection",new h.r),y(this,"variableProxy",new d.D),y(this,"scheduler"),y(this,"engine"),y(this,"url"),y(this,"addWatcher",t=>{const e=this.unitCollection.get(t.puid);if(void 0===e)return;this.addCallback(t,e);const i=o.oJ.get(t.self);i.traverse(t=>u.P.trigger("update",{self:t.uuid}))}),y(this,"removeWatcher",t=>{const e=this.unitCollection.get(t.self);void 0!==e&&this.removeCallback(t)}),y(this,"updateWatcher",t=>{const e=this.unitCollection.get(t.self);if(void 0===e)return;const i=o.oJ.get(t.self);this.variableProxy.update(i),e.trigger(c.o.Update)}),y(this,"updateDepsWatcher",t=>{const e=this.unitCollection.get(t.self);if(void 0===e)return;const i=r.Vd.graph.getDependents(e.queue.url);for(const s of i)for(const t of s.ports)r.Vd.graph.hasAssetReference(t,e.queue.url)&&u.P.trigger("update",{self:t.descriptor})}),y(this,"freeWatcher",t=>{let e=this.unitCollection.get(t.self);if(void 0===e){if(e=this._freeCollection.get(t.self),void 0===e)return;this._freeCollection.delete(t.self)}this._freeQueue.push(e)}),this.scheduler=e,this.engine=i,this.url=t}static createInterpreter(t,e){const i=l.$R.getClass(t.type);if(null===i)throw s.B.get("graphics.interpreter.notRegister",{type:t.type});a.n.factory=!0;let n=e.unitCollection.get(t.uuid);void 0===n&&(n=e._freeCollection.get(t.uuid));const r=new i(n,e);return a.n.factory=!1,r}listen(t){u.P.listen("add",this.addWatcher),u.P.listen("remove",this.removeWatcher),u.P.listen("update",this.updateWatcher),u.P.listen("updateDeps",this.updateDepsWatcher),u.P.listen("free",this.freeWatcher);const e=r.Vd.get(this.url);e instanceof o.oJ&&this.addRoot(this.url,e),r.Vd.graph.getDependencide(this.url,this._dependencide),this._dependencide.foreach(t=>{const e=r.Vd.get(t);e instanceof o.oJ&&this._assetCollection.set(t,this.addRoot(t,e))});const i=this.variableProxy.get(this.scheduler.uuid,this,t),s=this.getInterpreter(i);s.install(i,t)}unlisten(t){const e=this.variableProxy.get(this.scheduler.uuid,this,t),i=this.getInterpreter(e);i.uninstall(e,t);const s=this.unitCollection.get(this.scheduler.uuid),n=[...this._assetCollection.values(),s];for(const o of n){const e=this.removeRoot(o.queue.url);null!==e&&(e.queue.iterator(e=>this.do(e,t)),this._assetCollection.delete(o.queue.url))}const r=this._freeCollection.values();for(const o of r)this.doFree(o,t);u.P.unlisten("add",this.addWatcher),u.P.unlisten("remove",this.removeWatcher),u.P.unlisten("update",this.updateWatcher),u.P.unlisten("updateDeps",this.updateDepsWatcher),u.P.unlisten("free",this.freeWatcher),this._dependencide.clear()}process(t){for(const r of this._freeQueue)this.doFree(r,t);this._freeQueue.length=0,this.updateStaticAsset(t),this._dependencide.clear(),r.Vd.graph.getDependencide(this.url,this._dependencide),r.Vd.activate(...this._dependencide.all,this.url);const e=this.diffAsset();for(const r of e.removeQueue){const e=this.removeRoot(r);null!==e&&e.queue.iterator(e=>this.do(e,t)),this._assetCollection.delete(r)}for(const a of e.addQueue){const t=r.Vd.get(a);t instanceof o.oJ&&this._assetCollection.set(a,this.addRoot(a,t))}const i=[];this._dependencide.foreach(t=>{const e=r.Vd.get(t),s=this.unitCollection.get(e.uuid);if(void 0===s)return console.warn(t,e);i.push(s)}),i.push(...this._staticAssetQueue);for(const r of i)r.queue.iterator(e=>this.do(e,t));const s=this.unitCollection.get(this.scheduler.uuid);s.queue.iterator(e=>this.do(e,t));for(const r of i)r.queue.iterator(e=>this.doUpdate(e,t),c.o.Update);const n=s.queue.iterator(e=>this.doUpdate(e,t),c.o.Update);for(const r of n){const t=o.oJ.get(r.uuid);this.invoke("mount",t)}this._freeQueue.push(...this._freeCollection.values()),this._freeCollection.clear()}clear(t){for(const e of this._services){const i=this.variableProxy.get(e.uuid,this,t),s=this.getInterpreter(i);s.clear(i,t)}}beforeRender(t){for(const e of this._services){const i=this.variableProxy.get(e.uuid,this,t),s=this.getInterpreter(i);s.beforeRender(i,t)}}render(t){for(const e of this._services){const i=this.variableProxy.get(e.uuid,this,t),s=this.getInterpreter(i);s.render(i,t)}}afterRender(t){for(const e of this._services){const i=this.variableProxy.get(e.uuid,this,t),s=this.getInterpreter(i);s.afterRender(i,t)}}addRoot(t,e){const i=new c.N(e.uuid,"",new c.o(t));this.unitCollection.set(i),this._freeCollection.delete(i.uuid),i.trigger(c.o.Update);for(const s of e.children)u.P.trigger("add",{self:s.uuid,puid:e.uuid});return i}removeRoot(t){const e=r.Vd.get(t),i=this.unitCollection.get(e.uuid);if(void 0===i)return null;this.unitCollection.delete(i.uuid),i.queue.clear(),this._freeCollection.set(i.uuid,i);for(const s of e.children)u.P.trigger("remove",{self:s.uuid,puid:e.uuid});return i}addCallback(t,e){const i=o.oJ.get(e.uuid),s=o.oJ.get(t.self);s.traverse((t,i)=>{const s=new c.N(t.uuid,i.uuid,e.queue);this.unitCollection.set(s),s.trigger(c.o.Add),this._freeCollection.delete(s.uuid)},!1,i)}removeCallback(t){const e=o.oJ.get(t.self);e.traverse(t=>{const e=this.unitCollection.get(t.uuid);void 0!==e&&(this.unitCollection.delete(t.uuid),e.trigger(c.o.Remove),this._freeCollection.set(e.uuid,e))})}updateStaticAsset(t){if(this.scheduler.camera!==this._currentCamera){const t=o.oJ.get(this.scheduler.camera);if(null===t)return;const e=this.unitCollection.get(this._currentCamera);e&&(this.unitCollection.delete(this._currentCamera),this._freeCollection.set(e.uuid,e),n.l.remove(this._staticAssetQueue,e));const i=new c.N(t.uuid,"",new c.o(r.Vd.createVirtualUrl("graphics/camera.ts")));this.unitCollection.set(i),n.l.insert(this._staticAssetQueue,i),this._currentCamera=this.scheduler.camera}}diffAsset(){const t=new Map(this._assetCollection),e=[],i=[];return this._dependencide.foreach(i=>{t.has(i)?t.delete(i):e.push(i)}),i.push(...t.keys()),{addQueue:e,removeQueue:i}}onMount(t,e){const i=this.variableProxy.get(t.parent,this,e),s=this.getInterpreter(i),r=this.variableProxy.get(t.uuid,this,e),a=this.getInterpreter(r);r instanceof o.RE&&n.l.insert(this._services,r),a.mount(r,e,s,i)}onUnmount(t,e){const i=this.variableProxy.get(t.parent,this,e),s=this.getInterpreter(i),r=this.variableProxy.get(t.uuid,this,e),a=this.getInterpreter(r);r instanceof o.RE&&n.l.remove(this._services,r),a.unmount(r,e,s,i)}getUnit(t){var e;return null!=(e=this.unitCollection.get(t))?e:null}do(t,e){switch(t.type){case c.o.Add:this.onMount(t.unit,e);break;case c.o.Remove:this.onUnmount(t.unit,e);break;default:console.log("do",t.type);break}}doUpdate(t,e){const i=this.variableProxy.get(t.uuid,this,e),s=this.getInterpreter(i),n=this._overwriteUpdate.get(i.uuid);void 0===n?s.update(i,e):n(i,s,e)}doFree(t,e){const i=this._interpreterCollection.get(t.uuid);if(void 0===i)return;const s=this.variableProxy.get(t.uuid,this,e);i.free(s,e),this._interpreterCollection.delete(t.uuid)}getInterpreter(t){let e=this._interpreterCollection.get(t.uuid);return void 0===e&&(e=g.createInterpreter(t,this),this._interpreterCollection.set(t.uuid,e)),e}getParent(t){const e=this.unitCollection.get(t);return void 0===e?null:o.oJ.get(e.parent)}getActor(t,e){const i=this.getInterpreter(t);return i.getActor(t,e)}_pickupItem(t,e,i){if(!1===t.selectable)return;const s=this._interpreterCollection.get(t.uuid);void 0!==s&&s.pickup(t,e,i)}_pickupScene(t,e){const i=this.unitCollection.get(this.scheduler.uuid);if(void 0===i)return e;const s=this.unitCollection.values();for(const n of s){const i=o.oJ.get(n.uuid);i instanceof o.Pp||this._pickupItem(i,t,e)}}getMouseAndRect(t){const e=t.target.getBoundingClientRect(),i={x:t.clientX-e.left,y:t.clientY-e.top};return{mouse:i,rect:e}}traceService(t){if(t instanceof o.RE)return t;const e=this.getParent(t.uuid);return null===e?null:this.traceService(e)}pickup(t){const e=[],i=t.target instanceof Element;if(!1===i)return e;const s=t.target.getAttribute("data-vyr-uuid");if(null===s)return e;const{mouse:n,rect:r}=this.getMouseAndRect(t),a=o.oJ.get(s),l={delta:0};if(a instanceof o.RE)if(a instanceof o.q5)this._pickupItem(a,l,e);else{const t=this.getInterpreter(a);t.beforePickup(n,r,l),this._pickupScene(l,e),t.orderBy(e)}else this._pickupItem(a,l,e);return e}invoke(t,e){if(0===e.interactions.length)return;const i={delta:0,trigger:e};for(const s of e.interactions)if(s.type===t){const t=r.Vd.get(s.url),e=this.getInterpreter(t);e.do(s.inputs,t,i);break}}setOverrideByUpdate(t,e){this._overwriteUpdate.set(t,e)}deleteOverrideByUpdate(t){this._overwriteUpdate.delete(t)}}},53463:function(t,e,i){i.d(e,{O:function(){return d}});var s=i(1355),n=i(32952),r=i(79389),o=Object.defineProperty,a=(t,e,i)=>e in t?o(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,l=(t,e,i)=>a(t,"symbol"!==typeof e?e+"":e,i);const u=new r.k,c=new n.P,h=class t{constructor(e=0,i=0,s=0,n=t.DEFAULT_ORDER){l(this,"x"),l(this,"y"),l(this,"z"),l(this,"order"),this.x=e,this.y=i,this.z=s,this.order=n}static create(e,i,s,n){return void 0===e?new t:"number"===typeof e?new t(e,i,s,n):new t(e.x,e.y,e.z,e.order)}set(t,e,i,s=this.order){return this.x=t,this.y=e,this.z=i,this.order=s,this}clone(){return new this.constructor(this.x,this.y,this.z,this.order)}copy(t){return this.x=t.x,this.y=t.y,this.z=t.z,this.order=t.order,this}setFromRotationMatrix(t,e=this.order){const i=t.elements,n=i[0],r=i[4],o=i[8],a=i[1],l=i[5],u=i[9],c=i[2],h=i[6],d=i[10];switch(e){case"XYZ":this.y=Math.asin((0,s.q)(o,-1,1)),Math.abs(o)<.9999999?(this.x=Math.atan2(-u,d),this.z=Math.atan2(-r,n)):(this.x=Math.atan2(h,l),this.z=0);break;case"YXZ":this.x=Math.asin(-(0,s.q)(u,-1,1)),Math.abs(u)<.9999999?(this.y=Math.atan2(o,d),this.z=Math.atan2(a,l)):(this.y=Math.atan2(-c,n),this.z=0);break;case"ZXY":this.x=Math.asin((0,s.q)(h,-1,1)),Math.abs(h)<.9999999?(this.y=Math.atan2(-c,d),this.z=Math.atan2(-r,l)):(this.y=0,this.z=Math.atan2(a,n));break;case"ZYX":this.y=Math.asin(-(0,s.q)(c,-1,1)),Math.abs(c)<.9999999?(this.x=Math.atan2(h,d),this.z=Math.atan2(a,n)):(this.x=0,this.z=Math.atan2(-r,l));break;case"YZX":this.z=Math.asin((0,s.q)(a,-1,1)),Math.abs(a)<.9999999?(this.x=Math.atan2(-u,l),this.y=Math.atan2(-c,n)):(this.x=0,this.y=Math.atan2(o,d));break;case"XZY":this.z=Math.asin(-(0,s.q)(r,-1,1)),Math.abs(r)<.9999999?(this.x=Math.atan2(h,l),this.y=Math.atan2(o,n)):(this.x=Math.atan2(-u,d),this.y=0);break;default:console.warn("Euler: .setFromRotationMatrix() encountered an unknown order: "+e)}return this.order=e,this}setFromQuaternion(t,e){return u.makeRotationFromQuaternion(t),this.setFromRotationMatrix(u,e)}setFromVector3(t,e=this.order){return this.set(t.x,t.y,t.z,e)}reorder(t){return c.setFromEuler(this),this.setFromQuaternion(c,t)}equals(t){return t.x===this.x&&t.y===this.y&&t.z===this.z&&t.order===this.order}fromArray(t){return this.x=t[0],this.y=t[1],this.z=t[2],void 0!==t[3]&&(this.order=t[3]),this}toArray(t=[],e=0){return t[e]=this.x,t[e+1]=this.y,t[e+2]=this.z,t[e+3]=this.order,t}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z,yield this.order}};l(h,"DEFAULT_ORDER","XYZ");let d=h},58721:function(t,e,i){var s=i(48393),n=i(10692),r=i(21865),o=i(51329),a=i(13591),l=i(42778),u=Object.defineProperty,c=(t,e,i)=>e in t?u(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,h=(t,e,i)=>c(t,"symbol"!==typeof e?e+"":e,i);class d extends l.FG{constructor(){super(...arguments),h(this,"_currentDepth",0),h(this,"_datasetCloneCollection",new Map),h(this,"_rawToCloneCollection",new Map),h(this,"_cloneCollection",new Map),h(this,"_onAdd",t=>{const e=this._rawToCloneCollection.get(t.puid);if(void 0===e)return;const i=e.length,s=r.oJ.get(t.self);for(let n=0;n<i;n++){const t=e[n],i=new Map,o=[],a=this._markAndClone(s,t.dataset,t.generatedBy,i,o);r.oJ.fixReferences(o,i),t.add(a)}}),h(this,"_onRemove",t=>{const e=this._rawToCloneCollection.get(t.self);if(void 0===e)return;while(e.length>0){const t=e.pop();if(void 0===t)continue;const i=this.graphics.getParent(t.uuid);null!==i&&(i.remove(t),s.l.remove(e,t))}const i=r.oJ.get(t.self);i.traverse(t=>{this._rawToCloneCollection.delete(t.uuid)})}),h(this,"_onUpdate",t=>{const e=this._rawToCloneCollection.get(t.self);if(void 0===e)return;const i=r.oJ.get(t.self);if(i instanceof r.Ts){const e=i.traceAncestor();if(null===e.parent)return;const s={self:t.self,puid:e.parent.uuid};this._onRemove(s),this._onAdd(s)}else for(const s of e)s.syncWith(i),s.setNeedsUpdate()}),h(this,"_clearByOnUpdate",t=>{if(t.self!==this.unit.uuid)return;this._rawToCloneCollection.clear(),this._datasetCloneCollection.clear();const e=this._cloneCollection.values();for(const i of e)o.PA.trigger("remove",{self:i.uuid,puid:this.unit.uuid});this._cloneCollection.clear()})}_getDataset(t,e,i){const s=n.Vd.createVirtualUrl(`dynamic/dataset/${t.uuid}-${i}-${this._currentDepth}${a.b.datasetSuffix}`);if(this._datasetCloneCollection.has(s))return s;const o=e[i],l=new r.Y2;return l.setExtraData({index:i}),l.setData(o),n.Vd.set(s,l),this._datasetCloneCollection.set(s,l),s}_getDataByDataset(t){var e;const i=this._datasetCloneCollection.get(t);return null!=(e=null==i?void 0:i.getData())?e:null}_setCache(t,e){let i=this._rawToCloneCollection.get(t.uuid);void 0===i&&(i=[],this._rawToCloneCollection.set(t.uuid,i)),i.push(e)}_markSubDynamic(t,e,i,s,r){if(this._currentDepth>3e3)return void o.PA.trigger("__VYR_RUNTIME@remote",{type:"Dynamic",uuid:this.unit.uuid});this._currentDepth+=1;const a=n.Vd.get(t.url);if(2===t.dataConfig){const n=this._getDataByDataset(e.dataset);if(null===n||"object"!==typeof n)return;const o=n[t.dataPath];if(!1===Array.isArray(o)||0===o.length)return;for(let l=0;l<o.length;l++){const n=this._getDataset(t,o,l),u=this._markAndClone(a,n,i,s,r);e.add(u)}}else{const n=this._getDataByDataset(t.dataset);if(!1===Array.isArray(n)||0===n.length)return;for(let o=0;o<n.length;o++){const l=this._getDataset(t,n,o),u=this._markAndClone(a,l,i,s,r);e.add(u)}}}_markAndClone(t,e,i,s,n){let o;t instanceof r.Ts?(o=new r.oJ({dataset:e}),t.url&&this._markSubDynamic(t,o,i,s,n)):t instanceof r.Zl?o=new r.oJ({dataset:e}):(o=t.clone(!1),o.dataset=e,s.set(t.uuid,o),o.interactions.length>0&&n.push(o)),o.generatedBy=i;for(const r of t.children){const t=this._markAndClone(r,e,i,s,n);o.add(t)}return this._setCache(t,o),o}mount(t,e,i,s){super.mount(t,e,i,s),o.PA.listen("update",this._clearByOnUpdate)}unmount(t,e,i,s){o.PA.unlisten("update",this._clearByOnUpdate),super.unmount(t,e,i,s)}update(t,e){if(super.update(t,e),o.PA.unlisten("add",this._onAdd),o.PA.unlisten("remove",this._onRemove),o.PA.unlisten("update",this._onUpdate),t.dataset&&t.url){const e=r.Y2.getCollection(t.dataset);if(e.length>0){const i=n.Vd.get(t.url);for(let s=0;s<e.length;s++){this._currentDepth=0;const n=this._getDataset(t,e,s),a=new Map,l=[],u=this._markAndClone(i,n,t.uuid,a,l);r.oJ.fixReferences(l,a),this._cloneCollection.set(s,u),o.PA.trigger("add",{self:u.uuid,puid:t.uuid})}}}o.PA.listen("add",this._onAdd),o.PA.listen("remove",this._onRemove),o.PA.listen("update",this._onUpdate)}free(t,e){o.PA.unlisten("add",this._onAdd),o.PA.unlisten("remove",this._onRemove),o.PA.unlisten("update",this._onUpdate),super.free(t,e)}}h(d,"type",r.Ts.type),l.FG.register(d)},62769:function(t,e,i){i.d(e,{N:function(){return g}});var s=i(10692),n=i(83912),r=Object.defineProperty,o=Object.defineProperties,a=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,h=(t,e,i)=>e in t?r(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,d=(t,e)=>{for(var i in e||(e={}))u.call(e,i)&&h(t,i,e[i]);if(l)for(var i of l(e))c.call(e,i)&&h(t,i,e[i]);return t},f=(t,e)=>o(t,a(e)),p=(t,e,i)=>h(t,"symbol"!==typeof e?e+"":e,i);const y=class t extends n.A{constructor(t){super(),p(this,"uuid"),p(this,"unlisteners",[]),p(this,"className"),this.uuid=t}createDOM(){const e=document.createElement("div");return e.setAttribute(t.uuidKey,this.uuid),e.style.width="100%",e.style.height="100%",e.style.position="relative",e.style.backgroundSize="100% 100%",e.style.backgroundRepeat="no-repeat",e.style.backgroundPosition="0% 0%",e}getWrapperStyle(t,e){const i={pointerEvents:"auto"};i.flexGrow=t.flexGrow+"",!1===t.visible?i.display="none":i.display=t.display;const s=t.width;i.width=s<0?"auto":`calc(${s+t.wUnit} + ${t.calcWidth}px)`;const n=t.height;i.height=n<0?"auto":`calc(${n+t.hUnit} + ${t.calcHeight}px)`,i.position=t.position,i.transform="",0!==t.translate.x&&(i.transform+=`translateX(${t.translate.x}%) `),0!==t.translate.y&&(i.transform+=`translateY(${t.translate.y}%) `);const r=t.location.x+t.xUnit;"left"===t.xAxis?(i.left=r,i.right=""):(i.right=r,i.left="");const o=t.location.y+t.yUnit;return"top"===t.yAxis?(i.top=o,i.bottom=""):(i.bottom=o,i.top=""),i.marginLeft=t.margin.left+"px",i.marginTop=t.margin.top+"px",i.marginRight=t.margin.right+"px",i.marginBottom=t.margin.bottom+"px",i}getLayoutStyle(t,e){const i={};return i.display=t.display,i.flexWrap=t.flexWrap,i.flexDirection=t.flexDirection,i.justifyContent=t.justifyContent,i.alignItems=t.alignItems,i.alignContent=t.alignContent,i.opacity=t.opacity+"",i.zIndex=t.zIndex,i}setHTMLStyle(t,e){Object.assign(t.style,e)}getStyleClass(t,e){const i=s.Vd.get(t.style);if(null===i)return[];const r=n.A.getGraphics(this),o=r.getInterpreter(i).getActor(t,e);return o.getClassName()}setStyleClass(t,e){this.clearStyleClass(t),this.className=e,t.classList.add(...e)}clearStyleClass(t){void 0!==this.className&&(t.classList.remove(...this.className),delete this.className)}bindInteraction(t,e,i,n,r){const o=s.Vd.get(e.url),a=n.getInterpreter(o),l=f(d({},r),{trigger:i}),u=t=>{t.stopPropagation(),a.do(e.inputs,o,l)},c=n.engine.inputSystem.listen(e.type,u,{target:t});this.unlisteners.push(()=>n.engine.inputSystem.unlisten(c))}cleanInteraction(){for(const t of this.unlisteners)t();this.unlisteners.length=0}setHTMLInteraction(e,i,s){this.cleanInteraction();const n=t.getGraphics(this);for(const t of i.interactions)t.url&&this.bindInteraction(e,t,i,n,s)}};p(y,"className","vyr-html-wrapper"),p(y,"uuidKey","data-vyr-uuid");let g=y},63072:function(t,e,i){i.d(e,{q:function(){return a}});var s=i(66119),n=Object.defineProperty,r=(t,e,i)=>e in t?n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,o=(t,e,i)=>r(t,"symbol"!==typeof e?e+"":e,i);class a extends s.R{constructor(t={}){var e,i,s,n,r;super(t),this.width=null!=(e=t.width)?e:100,this.wUnit=null!=(i=t.wUnit)?i:"%",this.height=null!=(s=t.height)?s:100,this.hUnit=null!=(n=t.hUnit)?n:"%",this.position=null!=(r=t.position)?r:"absolute"}}o(a,"type","HTMLService"),s.R.register(a)},64006:function(t,e,i){i.d(e,{I9:function(){return s.I},O9:function(){return r.O},PT:function(){return o.P},Pq:function(){return n.P},kn:function(){return a.k}});var s=i(95997),n=i(74630),r=i(53463),o=i(32952),a=i(79389)},64898:function(t,e,i){i.d(e,{B:function(){return n.B},t:function(){return s.t}});var s=i(46339),n=i(67538)},66119:function(t,e,i){i.d(e,{R:function(){return u}});var s=i(69776),n=i(2181),r=Object.defineProperty,o=(t,e,i)=>e in t?r(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,a=(t,e,i)=>o(t,"symbol"!==typeof e?e+"":e,i);const l=class t extends n.P{constructor(t={}){super(t),a(this,"backgroundColor"),this.backgroundColor=t.backgroundColor?s.E8.create(t.backgroundColor):new s.E8({opacity:0})}static traceService(e){if(null===e)return null;if(e instanceof t)return e instanceof t?e:null;{const t=e.traceAncestor(!1);return this.traceService(t.parent)}}};a(l,"type","Service");let u=l},67302:function(t,e,i){i.d(e,{z:function(){return l}});var s=i(21865),n=i(27740),r=Object.defineProperty,o=(t,e,i)=>e in t?r(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,a=(t,e,i)=>o(t,"symbol"!==typeof e?e+"":e,i);class l extends n.${}a(l,"type",s.Y2.type),n.$.register(l)},67538:function(t,e,i){i.d(e,{B:function(){return r}});var s=i(75133),n=i(46339);s.Locale.register(n.t);const r=s.Locale.getLanguage(n.t.name)},67824:function(t,e,i){var s=i(21865),n=i(10692),r=i(13591);const o=(t,e,i)=>{const s=Object.keys(t.inputs);for(const n of s){const s=t.inputs[n],o=Object.keys(s);for(const t of o){const o=s[t];void 0!==o.type&&!1!==r.b.isDescriptor(o.type,"category")&&(o.value&&i.edges.push({key:`${e}.inputs.${n}.${t}.value`,category:o.type,asset:o.value}))}}},a=(t,e,i)=>{const s=Object.keys(t.input);for(const n of s){const s=t.input[n];void 0!==s.type&&!1!==r.b.isDescriptor(s.type,"category")&&(s.value&&i.edges.push({key:`${e}.input.${n}.value`,category:s.type,asset:s.value}))}},l=(t,e)=>{if(t.interactions.length>0)for(let i=0;i<t.interactions.length;i++){const s=t.interactions[i];s.url&&(o(s,`interactions[${i}]`,e),e.edges.push({key:`interactions[${i}].url`,category:r.b.routine,asset:s.url}))}t.dataset&&e.edges.push({key:"dataset",category:r.b.dataset,asset:t.dataset})},u=(t,e)=>{t.inherit&&e.edges.push({key:"inherit",category:r.b.style,asset:t.inherit})},c=(t,e)=>{if(t.nodes.length>0)for(let i=0;i<t.nodes.length;i++){const s=t.nodes[i];s.url&&(a(s,`nodes[${i}]`,e),e.edges.push({key:`nodes[${i}].url`,category:r.b.ts,asset:s.url}))}},h=(t,e)=>{t.style&&e.edges.push({key:"style",category:r.b.style,asset:t.style})},d=(t,e)=>{t.url&&e.edges.push({key:"url",category:r.b.prefab,asset:t.url})},f=(t,e)=>{t.url&&e.edges.push({key:"url",category:r.b.prefab,asset:t.url})};n.jB.register(s.oJ.type,l),n.jB.register(s.Jf.type,u),n.jB.register(s.YM.type,c),n.jB.register(s.Pp.type,h),n.jB.register(s.Ts.type,d),n.jB.register(s.X7.type,f)},69251:function(t,e,i){i.d(e,{X:function(){return u}});var s=i(10692),n=i(83912),r=i(21865),o=Object.defineProperty,a=(t,e,i)=>e in t?o(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,l=(t,e,i)=>a(t,"symbol"!==typeof e?e+"":e,i);class u extends n.A{constructor(){super(...arguments),l(this,"_styleCollection",new Map),l(this,"_className",[])}getStyleValue(){const t=[],e=this._styleCollection.entries();for(const[i,s]of e){const e=[];if(e.push(`${i}{`),0===s.length)e.push("/* 如果需要样式,在这里添加 */");else for(const t of s)e.push(`${t.name}:${t.value};`);e.push("}"),t.push(e.join("\n"))}return t}getClassName(){return[...this._className]}updateRule(t){let e=0;for(const i of t.cssRules)if(i instanceof CSSStyleRule){const t=this._styleCollection.get(i.selectorText);if(void 0===t)continue;e++,i.style.cssText="";for(const e of t)i.style.setProperty(e.name,e.value);if(2===e)return!0}return!1}update(t,e){this._className.length=0,this._styleCollection.clear();let i=s.Vd.get(t.inherit);if(i){const t=n.A.getGraphics(this),e=t.getInterpreter(i);this._className.push(e.className)}this._className.push(e);const o=[];for(const s of t.rules){if(!0===s.inherit)continue;const t=s.getValue();o.push({name:s.name,value:t})}this._styleCollection.set(`.${e}`,o);const a=[];for(const s of t.hoverRules){if(!0===s.inherit)continue;const t=s.getValue();a.push({name:s.name,value:t})}this._styleCollection.set(`.${e}:hover`,a);const l=[];for(const s of t.activeRules){if(!0===s.inherit)continue;const t=s.getValue();l.push({name:s.name,value:t})}this._styleCollection.set(`.${e}.${r.Jf.activeName}`,l)}}},69776:function(t,e,i){i.d(e,{E8:function(){return c},GH:function(){return d},Q1:function(){return l},Ru:function(){return u},yq:function(){return h}});var s=i(78366),n=i(21627),r=Object.defineProperty,o=(t,e,i)=>e in t?r(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,a=(t,e,i)=>o(t,"symbol"!==typeof e?e+"":e,i);class l extends s.A{}class u{constructor(){a(this,"type"),this.type=this.constructor.type}static create(t){switch(t.type){case"linear":return new h(t);case"radial":return new d(t);default:return new c(t)}}static getColor(t){return"rgba(0,0,0,0)"}getColor(){return this.constructor.getColor(this)}}a(u,"type","basic");class c extends u{constructor(t={}){var e,i;super(),a(this,"value"),a(this,"opacity"),this.value=null!=(e=t.value)?e:"#ffffff",this.opacity=null!=(i=t.opacity)?i:1}static getColor(t){return new l(t.value).setAlpha(t.opacity).toRgbString()}}a(c,"type","default");class h extends u{constructor(t={}){var e;super(),a(this,"angle"),a(this,"value"),this.angle=null!=(e=t.angle)?e:0,this.value=t.value?n.z.deepClone(t.value):[{value:"#ffffff",opacity:1,ratio:0},{value:"#ffffff",opacity:1,ratio:1}]}static getColor(t){let e="";for(const i of t.value)e+=`, ${new l(i.value).setAlpha(i.opacity).toRgbString()} ${100*i.ratio}%`;return`linear-gradient(${t.angle}deg ${e})`}}a(h,"type","linear");class d extends u{constructor(t={}){var e;super(),a(this,"center"),a(this,"radius"),a(this,"value"),this.center=t.center?n.z.deepClone(t.center):{x:.5,y:.5},this.radius=null!=(e=t.radius)?e:-1,this.value=t.value?n.z.deepClone(t.value):[{value:"#ffffff",opacity:1,ratio:0},{value:"#ffffff",opacity:1,ratio:1}]}static getColor(t){let e="";e=t.radius<0?"farthest-corner":`${t.radius}px`;let i="";i=`${100*t.center.x}% ${100*t.center.y}%`;let s="";for(const n of t.value)s+=`, ${new l(n.value).setAlpha(n.opacity).toRgbString()} ${100*n.ratio}%`;return`radial-gradient(circle ${e} at ${i} ${s})`}}a(d,"type","radial")},70455:function(t,e,i){i.d(e,{G:function(){return l}});var s=i(21865),n=i(25716),r=Object.defineProperty,o=(t,e,i)=>e in t?r(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,a=(t,e,i)=>o(t,"symbol"!==typeof e?e+"":e,i);class l extends n.F{}a(l,"type",s.X7.type),n.F.register(l)},70858:function(t,e,i){i.d(e,{Z:function(){return a}});var s=i(38132),n=Object.defineProperty,r=(t,e,i)=>e in t?n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,o=(t,e,i)=>r(t,"symbol"!==typeof e?e+"":e,i);class a extends s.o{constructor(t={}){var e;super(t),o(this,"category"),this.category=null!=(e=t.category)?e:"html"}static add(t,e){t.add(e);const i=this.getInstanceCollection(t.uuid);if(null!==i)for(const s of i){const t=this.get(s);t.add(e.clone(!0))}}static remove(t,e){t.remove(e);const i=this.getInstanceCollection(e.uuid);if(null!==i)for(const s of i){const t=this.get(s),e=t.traceAncestor(!1);null!==e.parent&&e.parent.remove(t)}}static update(t){t.setNeedsUpdate();const e=this.getInstanceCollection(t.uuid);if(null!==e)for(const i of e){const e=this.get(i);e.syncWith(t),e.setNeedsUpdate()}}}o(a,"type","Prefab"),s.o.register(a)},72094:function(t,e,i){i.d(e,{g:function(){return l}});var s=i(64898),n=Object.defineProperty,r=(t,e,i)=>e in t?n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,o=(t,e,i)=>r(t,"symbol"!==typeof e?e+"":e,i),a=(t,e,i)=>new Promise((s,n)=>{var r=t=>{try{a(i.next(t))}catch(e){n(e)}},o=t=>{try{a(i.throw(t))}catch(e){n(e)}},a=t=>t.done?s(t.value):Promise.resolve(t.value).then(r,o);a((i=i.apply(t,e)).next())});class l{constructor(t){o(this,"_task"),o(this,"_status"),o(this,"_promise"),o(this,"_resolve"),o(this,"_reject"),this._task=null!=t?t:()=>a(this,null,function*(){}),this._status=1,this._promise=new Promise((t,e)=>{this._resolve=t,this._reject=e})}run(){return 1!==this._status||(this._status=2,Promise.resolve(this._task()).then(t=>{2===this._status&&(this._status=3,this._resolve(t))}).catch(t=>{2===this._status&&(this._status=4,this._reject(t))})),this._promise}cancel(){return(1===this._status||2===this._status)&&(this._status=5,this._reject&&this._reject(new Error(s.B.get("asyncTask.task.was.cancelled"))),!0)}done(){return this._promise}}},72968:function(t,e,i){i.d(e,{V:function(){return p},n:function(){return d}});var s=i(64898),n=i(13591),r=i(21865),o=i(72094),a=i(90154),l=Object.defineProperty,u=(t,e,i)=>e in t?l(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,c=(t,e,i)=>u(t,"symbol"!==typeof e?e+"":e,i),h=(t,e,i)=>new Promise((s,n)=>{var r=t=>{try{a(i.next(t))}catch(e){n(e)}},o=t=>{try{a(i.throw(t))}catch(e){n(e)}},a=t=>t.done?s(t.value):Promise.resolve(t.value).then(r,o);a((i=i.apply(t,e)).next())});const d={requestpPrefix:["http://","https://"],assetCache:new Map,idToUrlCache:new Map,providerCollection:new Map,assetFactoryCollection:new Map,taskCollection:new Map,activeAssets:[],parseStatus(t){const e=t.split("/"),i=e[e.length-1];return void 0===i?null:n.b.parseName(i.split("?")[0])}},f=class t{static fetch(t,e){return new Promise((i,s)=>h(null,null,function*(){const n=yield fetch(t,e);n.ok?i(n):s(t)}))}static dumpCache(){return[...d.assetCache.entries()]}static createVirtualUrl(t){return`/virtual:/${t}`}static provider(t,e){d.providerCollection.set(t,e)}static hasProvider(t){return d.providerCollection.has(t)}static register(t,e){d.assetFactoryCollection.set(t,e)}static joinUrl(e){for(const t of d.requestpPrefix)if(e.indexOf(t)>-1)return e;return`${t.baseUrl}${e}`}static load(t,e=!1){return h(this,null,function*(){const i=Array.isArray(t)?t:[t],n=[];for(const t of i){if(!t)continue;const i=this.get(t);if(!1===e&&null!==i)continue;const a=d.taskCollection.get(t);if(a){n.push(a.done());continue}const l=d.parseStatus(t);if(null===l)continue;let u=d.assetFactoryCollection.get(l.category);if(void 0===u)throw s.B.get("asset.load.fail",{category:l.category});const c=new o.g(()=>h(this,null,function*(){const i=yield u(t,e);this.set(t,i)}));d.taskCollection.set(t,c),n.push(c.run());try{yield c.done()}catch(r){console.log(r)}finally{d.taskCollection.delete(t)}}return Promise.all(n)})}static unload(t){const e=this.get(t);null!==e&&d.assetCache.delete(t)}static readly(){const t=d.taskCollection.values(),e=[];for(const i of t)e.push(i.done());return Promise.all(e)}static get(t){var e;return null!=(e=d.assetCache.get(t))?e:null}static set(t,e){d.assetCache.has(t)&&console.log(t,s.B.get("asset.already.exists")),d.assetCache.set(t,e),e instanceof r.oJ&&(d.idToUrlCache.set(e.uuid,t),this.graph.create(t))}static getTask(t){var e;return null!=(e=d.taskCollection.get(t))?e:null}static getUrlByUuid(t){var e;return null!=(e=d.idToUrlCache.get(t))?e:""}static activate(...t){d.activeAssets.push(...t)}static free(){d.activeAssets.length=0}static loadAll(e){return h(this,arguments,function*(e,i=!1,s=[]){yield t.load(e,i),t.graph.create(e),s.push(e);const n=t.graph.getDependencide(e),r=[];for(const o of n.all){if(s.includes(o))continue;const e=!t.get(o);r.push(this.loadAll(o,e,s))}yield Promise.all(r)})}};c(f,"baseUrl",""),c(f,"graph",new a.j);let p=f;const y=t=>h(null,null,function*(){const e=d.providerCollection.get(t);return void 0===e?null:yield e()}),g=t=>h(null,null,function*(){const e=yield y(t);if(null!==e)return e;const i=yield p.fetch(p.joinUrl(t)),s=yield i.text(),n=r.oJ.create(r.oJ.deserialization(s));return n});p.register(n.b.style,g),p.register(n.b.material,g),p.register(n.b.geometry,g),p.register(n.b.texture,g),p.register(n.b.prefab,g),p.register(n.b.routine,g);const m=t=>h(null,null,function*(){const e=yield g(t);return e.auto&&(yield e.fetch()),e});p.register(n.b.dataset,m);const v=t=>h(null,null,function*(){const e=yield p.fetch(p.joinUrl(t)),i=yield e.text();return r.oJ.deserialization(i)});p.register(n.b.json,v);const b=(t,e)=>new Promise((e,i)=>h(null,null,function*(){const s=p.joinUrl(t);try{const t=yield p.fetch(s),i=yield t.text(),n=r.oJ.create(r.oJ.deserialization(i));e(n)}catch(n){i(n)}}));p.register(n.b.scene,b);const x=t=>new Promise((e,i)=>h(null,null,function*(){try{const n=yield y(t);if(null===n)return i(s.B.get("asset.provider.notFound",{url:t}));const r=new n.default(t);yield r.ready(),e(r)}catch(n){i(n)}}));p.register(n.b.ts,x);const w=t=>h(null,null,function*(){const e=yield p.fetch(p.joinUrl(t));return yield e.arrayBuffer()});p.register(n.b.other,w)},74630:function(t,e,i){i.d(e,{P:function(){return l}});var s=i(1355),n=i(32952),r=Object.defineProperty,o=(t,e,i)=>e in t?r(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,a=(t,e,i)=>o(t,"symbol"!==typeof e?e+"":e,i);class l{constructor(t=0,e=0,i=0){a(this,"x"),a(this,"y"),a(this,"z"),this.x=t,this.y=e,this.z=i}static create(t,e,i){return void 0===t?new l:"number"===typeof t?new l(t,e,i):new l(t.x,t.y,t.z)}set(t,e,i){return void 0===i&&(i=this.z),this.x=t,this.y=e,this.z=i,this}setScalar(t){return this.x=t,this.y=t,this.z=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setZ(t){return this.z=t,this}setComponent(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;case 2:this.z=e;break;default:throw new Error("index is out of range: "+t)}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+t)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(t){return this.x=t.x,this.y=t.y,this.z=t.z,this}add(t){return this.x+=t.x,this.y+=t.y,this.z+=t.z,this}addScalar(t){return this.x+=t,this.y+=t,this.z+=t,this}addVectors(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this.z=t.z+e.z,this}addScaledVector(t,e){return this.x+=t.x*e,this.y+=t.y*e,this.z+=t.z*e,this}sub(t){return this.x-=t.x,this.y-=t.y,this.z-=t.z,this}subScalar(t){return this.x-=t,this.y-=t,this.z-=t,this}subVectors(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this.z=t.z-e.z,this}multiply(t){return this.x*=t.x,this.y*=t.y,this.z*=t.z,this}multiplyScalar(t){return this.x*=t,this.y*=t,this.z*=t,this}multiplyVectors(t,e){return this.x=t.x*e.x,this.y=t.y*e.y,this.z=t.z*e.z,this}applyEuler(t){return this.applyQuaternion(c.setFromEuler(t))}applyAxisAngle(t,e){return this.applyQuaternion(c.setFromAxisAngle(t,e))}applyMatrix4(t){const e=this.x,i=this.y,s=this.z,n=t.elements,r=1/(n[3]*e+n[7]*i+n[11]*s+n[15]);return this.x=(n[0]*e+n[4]*i+n[8]*s+n[12])*r,this.y=(n[1]*e+n[5]*i+n[9]*s+n[13])*r,this.z=(n[2]*e+n[6]*i+n[10]*s+n[14])*r,this}applyQuaternion(t){const e=this.x,i=this.y,s=this.z,n=t.x,r=t.y,o=t.z,a=t.w,l=2*(r*s-o*i),u=2*(o*e-n*s),c=2*(n*i-r*e);return this.x=e+a*l+r*c-o*u,this.y=i+a*u+o*l-n*c,this.z=s+a*c+n*u-r*l,this}project(t,e){return this.applyMatrix4(t).applyMatrix4(e)}unproject(t,e){return this.applyMatrix4(t).applyMatrix4(e)}transformDirection(t){const e=this.x,i=this.y,s=this.z,n=t.elements;return this.x=n[0]*e+n[4]*i+n[8]*s,this.y=n[1]*e+n[5]*i+n[9]*s,this.z=n[2]*e+n[6]*i+n[10]*s,this.normalize()}divide(t){return this.x/=t.x,this.y/=t.y,this.z/=t.z,this}divideScalar(t){return this.multiplyScalar(1/t)}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.z=Math.min(this.z,t.z),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this.z=Math.max(this.z,t.z),this}clamp(t,e){return this.x=(0,s.q)(this.x,t.x,e.x),this.y=(0,s.q)(this.y,t.y,e.y),this.z=(0,s.q)(this.z,t.z,e.z),this}clampScalar(t,e){return this.x=(0,s.q)(this.x,t,e),this.y=(0,s.q)(this.y,t,e),this.z=(0,s.q)(this.z,t,e),this}clampLength(t,e){const i=this.length();return this.divideScalar(i||1).multiplyScalar((0,s.q)(i,t,e))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this.z+=(t.z-this.z)*e,this}lerpVectors(t,e,i){return this.x=t.x+(e.x-t.x)*i,this.y=t.y+(e.y-t.y)*i,this.z=t.z+(e.z-t.z)*i,this}cross(t){return this.crossVectors(this,t)}crossVectors(t,e){const i=t.x,s=t.y,n=t.z,r=e.x,o=e.y,a=e.z;return this.x=s*a-n*o,this.y=n*r-i*a,this.z=i*o-s*r,this}projectOnVector(t){const e=t.lengthSq();if(0===e)return this.set(0,0,0);const i=t.dot(this)/e;return this.copy(t).multiplyScalar(i)}projectOnPlane(t){return u.copy(this).projectOnVector(t),this.sub(u)}reflect(t){return this.sub(u.copy(t).multiplyScalar(2*this.dot(t)))}angleTo(t){const e=Math.sqrt(this.lengthSq()*t.lengthSq());if(0===e)return Math.PI/2;const i=this.dot(t)/e;return Math.acos((0,s.q)(i,-1,1))}distanceTo(t){return Math.sqrt(this.distanceToSquared(t))}distanceToSquared(t){const e=this.x-t.x,i=this.y-t.y,s=this.z-t.z;return e*e+i*i+s*s}manhattanDistanceTo(t){return Math.abs(this.x-t.x)+Math.abs(this.y-t.y)+Math.abs(this.z-t.z)}setFromSpherical(t){return this.setFromSphericalCoords(t.radius,t.phi,t.theta)}setFromSphericalCoords(t,e,i){const s=Math.sin(e)*t;return this.x=s*Math.sin(i),this.y=Math.cos(e)*t,this.z=s*Math.cos(i),this}setFromCylindrical(t){return this.setFromCylindricalCoords(t.radius,t.theta,t.y)}setFromCylindricalCoords(t,e,i){return this.x=t*Math.sin(e),this.y=i,this.z=t*Math.cos(e),this}setFromMatrixPosition(t){const e=t.elements;return this.x=e[12],this.y=e[13],this.z=e[14],this}setFromMatrixScale(t){const e=this.setFromMatrixColumn(t,0).length(),i=this.setFromMatrixColumn(t,1).length(),s=this.setFromMatrixColumn(t,2).length();return this.x=e,this.y=i,this.z=s,this}setFromMatrixColumn(t,e){return this.fromArray(t.elements,4*e)}setFromEuler(t){return this.x=t.x,this.y=t.y,this.z=t.z,this}setFromColor(t){const e=t.toRgb();return this.x=e.r,this.y=e.g,this.z=e.b,this}equals(t){return t.x===this.x&&t.y===this.y&&t.z===this.z}fromArray(t,e=0){return this.x=t[e],this.y=t[e+1],this.z=t[e+2],this}toArray(t=[],e=0){return t[e]=this.x,t[e+1]=this.y,t[e+2]=this.z,t}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){const t=Math.random()*Math.PI*2,e=2*Math.random()-1,i=Math.sqrt(1-e*e);return this.x=i*Math.cos(t),this.y=e,this.z=i*Math.sin(t),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}const u=new l,c=new n.P},76299:function(t,e,i){i.d(e,{x:function(){return a}});var s=i(76644),n=Object.defineProperty,r=(t,e,i)=>e in t?n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,o=(t,e,i)=>r(t,"symbol"!==typeof e?e+"":e,i);class a extends s.S{constructor(t={}){var e,i,s,n;super(t),o(this,"camera"),o(this,"mode"),o(this,"target"),o(this,"event"),this.camera=null!=(e=t.camera)?e:"",this.mode=null!=(i=t.mode)?i:"",this.target=null!=(s=t.target)?s:"",this.event=null!=(n=t.event)?n:""}}o(a,"type","HTMLTransformController"),s.S.register(a)},76644:function(t,e,i){i.d(e,{S:function(){return a}});var s=i(38132),n=Object.defineProperty,r=(t,e,i)=>e in t?n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,o=(t,e,i)=>r(t,"symbol"!==typeof e?e+"":e,i);class a extends s.o{constructor(t={}){var e;super(t),o(this,"enabled"),this.enabled=null!=(e=t.enabled)&&e}}o(a,"type","Controller")},78506:function(t,e,i){i.r(e),i.d(e,{nodes:function(){return l},url:function(){return a}});var s=i(10692),n=i(21865),r=i(94499),o=(t,e,i)=>new Promise((s,n)=>{var r=t=>{try{a(i.next(t))}catch(e){n(e)}},o=t=>{try{a(i.throw(t))}catch(e){n(e)}},a=t=>t.done?s(t.value):Promise.resolve(t.value).then(r,o);a((i=i.apply(t,e)).next())});const a=s.Vd.createVirtualUrl("preset/graphics/invoke.routine.json"),l={invoke:"invoke"};let u=null;const c=()=>o(null,null,function*(){if(null===u){u=new n.YM;const t=r.graphics.invoke.createExecuteNode({id:l.invoke});u.nodes.push(t),u.roots.push(t.id)}return u});s.Vd.provider(a,c)},79351:function(t,e,i){i.d(e,{P:function(){return n}});var s=i(13507);const n=new s.r},79389:function(t,e,i){i.d(e,{k:function(){return u}});var s=i(74630),n=Object.defineProperty,r=(t,e,i)=>e in t?n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,o=(t,e,i)=>r(t,"symbol"!==typeof e?e+"":e,i);const a=1,l=2;class u{constructor(t,e,i,s,n,r,a,l,u,c,h,d,f,p,y,g){o(this,"elements"),this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],void 0!==t&&this.set(t,e,i,s,n,r,a,l,u,c,h,d,f,p,y,g)}set(t,e,i,s,n,r,o,a,l,u,c,h,d,f,p,y){const g=this.elements;return g[0]=t,g[4]=e,g[8]=i,g[12]=s,g[1]=n,g[5]=r,g[9]=o,g[13]=a,g[2]=l,g[6]=u,g[10]=c,g[14]=h,g[3]=d,g[7]=f,g[11]=p,g[15]=y,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return(new u).fromArray(this.elements)}copy(t){const e=this.elements,i=t.elements;return e[0]=i[0],e[1]=i[1],e[2]=i[2],e[3]=i[3],e[4]=i[4],e[5]=i[5],e[6]=i[6],e[7]=i[7],e[8]=i[8],e[9]=i[9],e[10]=i[10],e[11]=i[11],e[12]=i[12],e[13]=i[13],e[14]=i[14],e[15]=i[15],this}copyPosition(t){const e=this.elements,i=t.elements;return e[12]=i[12],e[13]=i[13],e[14]=i[14],this}extractBasis(t,e,i){return t.setFromMatrixColumn(this,0),e.setFromMatrixColumn(this,1),i.setFromMatrixColumn(this,2),this}makeBasis(t,e,i){return this.set(t.x,e.x,i.x,0,t.y,e.y,i.y,0,t.z,e.z,i.z,0,0,0,0,1),this}extractRotation(t){const e=this.elements,i=t.elements,s=1/c.setFromMatrixColumn(t,0).length(),n=1/c.setFromMatrixColumn(t,1).length(),r=1/c.setFromMatrixColumn(t,2).length();return e[0]=i[0]*s,e[1]=i[1]*s,e[2]=i[2]*s,e[3]=0,e[4]=i[4]*n,e[5]=i[5]*n,e[6]=i[6]*n,e[7]=0,e[8]=i[8]*r,e[9]=i[9]*r,e[10]=i[10]*r,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,this}makeRotationFromEuler(t){const e=this.elements,i=t.x,s=t.y,n=t.z,r=Math.cos(i),o=Math.sin(i),a=Math.cos(s),l=Math.sin(s),u=Math.cos(n),c=Math.sin(n);if("XYZ"===t.order){const t=r*u,i=r*c,s=o*u,n=o*c;e[0]=a*u,e[4]=-a*c,e[8]=l,e[1]=i+s*l,e[5]=t-n*l,e[9]=-o*a,e[2]=n-t*l,e[6]=s+i*l,e[10]=r*a}else if("YXZ"===t.order){const t=a*u,i=a*c,s=l*u,n=l*c;e[0]=t+n*o,e[4]=s*o-i,e[8]=r*l,e[1]=r*c,e[5]=r*u,e[9]=-o,e[2]=i*o-s,e[6]=n+t*o,e[10]=r*a}else if("ZXY"===t.order){const t=a*u,i=a*c,s=l*u,n=l*c;e[0]=t-n*o,e[4]=-r*c,e[8]=s+i*o,e[1]=i+s*o,e[5]=r*u,e[9]=n-t*o,e[2]=-r*l,e[6]=o,e[10]=r*a}else if("ZYX"===t.order){const t=r*u,i=r*c,s=o*u,n=o*c;e[0]=a*u,e[4]=s*l-i,e[8]=t*l+n,e[1]=a*c,e[5]=n*l+t,e[9]=i*l-s,e[2]=-l,e[6]=o*a,e[10]=r*a}else if("YZX"===t.order){const t=r*a,i=r*l,s=o*a,n=o*l;e[0]=a*u,e[4]=n-t*c,e[8]=s*c+i,e[1]=c,e[5]=r*u,e[9]=-o*u,e[2]=-l*u,e[6]=i*c+s,e[10]=t-n*c}else if("XZY"===t.order){const t=r*a,i=r*l,s=o*a,n=o*l;e[0]=a*u,e[4]=-c,e[8]=l*u,e[1]=t*c+n,e[5]=r*u,e[9]=i*c-s,e[2]=s*c-i,e[6]=o*u,e[10]=n*c+t}return e[3]=0,e[7]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,this}makeRotationFromQuaternion(t){return this.compose(d,t,f)}lookAt(t,e,i){const s=this.elements;return g.subVectors(t,e),0===g.lengthSq()&&(g.z=1),g.normalize(),p.crossVectors(i,g),0===p.lengthSq()&&(1===Math.abs(i.z)?g.x+=1e-4:g.z+=1e-4,g.normalize(),p.crossVectors(i,g)),p.normalize(),y.crossVectors(g,p),s[0]=p.x,s[4]=y.x,s[8]=g.x,s[1]=p.y,s[5]=y.y,s[9]=g.y,s[2]=p.z,s[6]=y.z,s[10]=g.z,this}multiply(t){return this.multiplyMatrices(this,t)}premultiply(t){return this.multiplyMatrices(t,this)}multiplyMatrices(t,e){const i=t.elements,s=e.elements,n=this.elements,r=i[0],o=i[4],a=i[8],l=i[12],u=i[1],c=i[5],h=i[9],d=i[13],f=i[2],p=i[6],y=i[10],g=i[14],m=i[3],v=i[7],b=i[11],x=i[15],w=s[0],C=s[4],M=s[8],P=s[12],z=s[1],_=s[5],S=s[9],D=s[13],O=s[2],A=s[6],k=s[10],j=s[14],R=s[3],V=s[7],T=s[11],I=s[15];return n[0]=r*w+o*z+a*O+l*R,n[4]=r*C+o*_+a*A+l*V,n[8]=r*M+o*S+a*k+l*T,n[12]=r*P+o*D+a*j+l*I,n[1]=u*w+c*z+h*O+d*R,n[5]=u*C+c*_+h*A+d*V,n[9]=u*M+c*S+h*k+d*T,n[13]=u*P+c*D+h*j+d*I,n[2]=f*w+p*z+y*O+g*R,n[6]=f*C+p*_+y*A+g*V,n[10]=f*M+p*S+y*k+g*T,n[14]=f*P+p*D+y*j+g*I,n[3]=m*w+v*z+b*O+x*R,n[7]=m*C+v*_+b*A+x*V,n[11]=m*M+v*S+b*k+x*T,n[15]=m*P+v*D+b*j+x*I,this}multiplyScalar(t){const e=this.elements;return e[0]*=t,e[4]*=t,e[8]*=t,e[12]*=t,e[1]*=t,e[5]*=t,e[9]*=t,e[13]*=t,e[2]*=t,e[6]*=t,e[10]*=t,e[14]*=t,e[3]*=t,e[7]*=t,e[11]*=t,e[15]*=t,this}determinant(){const t=this.elements,e=t[0],i=t[4],s=t[8],n=t[12],r=t[1],o=t[5],a=t[9],l=t[13],u=t[2],c=t[6],h=t[10],d=t[14],f=t[3],p=t[7],y=t[11],g=t[15];return f*(+n*a*c-s*l*c-n*o*h+i*l*h+s*o*d-i*a*d)+p*(+e*a*d-e*l*h+n*r*h-s*r*d+s*l*u-n*a*u)+y*(+e*l*c-e*o*d-n*r*c+i*r*d+n*o*u-i*l*u)+g*(-s*o*u-e*a*c+e*o*h+s*r*c-i*r*h+i*a*u)}transpose(){const t=this.elements;let e;return e=t[1],t[1]=t[4],t[4]=e,e=t[2],t[2]=t[8],t[8]=e,e=t[6],t[6]=t[9],t[9]=e,e=t[3],t[3]=t[12],t[12]=e,e=t[7],t[7]=t[13],t[13]=e,e=t[11],t[11]=t[14],t[14]=e,this}setPosition(t,e,i){const s=this.elements;return"number"===typeof t?(s[12]=t,s[13]=e,s[14]=i):(s[12]=t.x,s[13]=t.y,s[14]=t.z),this}invert(){const t=this.elements,e=t[0],i=t[1],s=t[2],n=t[3],r=t[4],o=t[5],a=t[6],l=t[7],u=t[8],c=t[9],h=t[10],d=t[11],f=t[12],p=t[13],y=t[14],g=t[15],m=c*y*l-p*h*l+p*a*d-o*y*d-c*a*g+o*h*g,v=f*h*l-u*y*l-f*a*d+r*y*d+u*a*g-r*h*g,b=u*p*l-f*c*l+f*o*d-r*p*d-u*o*g+r*c*g,x=f*c*a-u*p*a-f*o*h+r*p*h+u*o*y-r*c*y,w=e*m+i*v+s*b+n*x;if(0===w)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const C=1/w;return t[0]=m*C,t[1]=(p*h*n-c*y*n-p*s*d+i*y*d+c*s*g-i*h*g)*C,t[2]=(o*y*n-p*a*n+p*s*l-i*y*l-o*s*g+i*a*g)*C,t[3]=(c*a*n-o*h*n-c*s*l+i*h*l+o*s*d-i*a*d)*C,t[4]=v*C,t[5]=(u*y*n-f*h*n+f*s*d-e*y*d-u*s*g+e*h*g)*C,t[6]=(f*a*n-r*y*n-f*s*l+e*y*l+r*s*g-e*a*g)*C,t[7]=(r*h*n-u*a*n+u*s*l-e*h*l-r*s*d+e*a*d)*C,t[8]=b*C,t[9]=(f*c*n-u*p*n-f*i*d+e*p*d+u*i*g-e*c*g)*C,t[10]=(r*p*n-f*o*n+f*i*l-e*p*l-r*i*g+e*o*g)*C,t[11]=(u*o*n-r*c*n-u*i*l+e*c*l+r*i*d-e*o*d)*C,t[12]=x*C,t[13]=(u*p*s-f*c*s+f*i*h-e*p*h-u*i*y+e*c*y)*C,t[14]=(f*o*s-r*p*s-f*i*a+e*p*a+r*i*y-e*o*y)*C,t[15]=(r*c*s-u*o*s+u*i*a-e*c*a-r*i*h+e*o*h)*C,this}scale(t){const e=this.elements,i=t.x,s=t.y,n=t.z;return e[0]*=i,e[4]*=s,e[8]*=n,e[1]*=i,e[5]*=s,e[9]*=n,e[2]*=i,e[6]*=s,e[10]*=n,e[3]*=i,e[7]*=s,e[11]*=n,this}getMaxScaleOnAxis(){const t=this.elements,e=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],i=t[4]*t[4]+t[5]*t[5]+t[6]*t[6],s=t[8]*t[8]+t[9]*t[9]+t[10]*t[10];return Math.sqrt(Math.max(e,i,s))}makeTranslation(t,e,i){return"number"===typeof t?this.set(1,0,0,t,0,1,0,e,0,0,1,i,0,0,0,1):this.set(1,0,0,t.x,0,1,0,t.y,0,0,1,t.z,0,0,0,1),this}makeRotationX(t){const e=Math.cos(t),i=Math.sin(t);return this.set(1,0,0,0,0,e,-i,0,0,i,e,0,0,0,0,1),this}makeRotationY(t){const e=Math.cos(t),i=Math.sin(t);return this.set(e,0,i,0,0,1,0,0,-i,0,e,0,0,0,0,1),this}makeRotationZ(t){const e=Math.cos(t),i=Math.sin(t);return this.set(e,-i,0,0,i,e,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(t,e){const i=Math.cos(e),s=Math.sin(e),n=1-i,r=t.x,o=t.y,a=t.z,l=n*r,u=n*o;return this.set(l*r+i,l*o-s*a,l*a+s*o,0,l*o+s*a,u*o+i,u*a-s*r,0,l*a-s*o,u*a+s*r,n*a*a+i,0,0,0,0,1),this}makeScale(t,e,i){return this.set(t,0,0,0,0,e,0,0,0,0,i,0,0,0,0,1),this}makeShear(t,e,i,s,n,r){return this.set(1,i,n,0,t,1,r,0,e,s,1,0,0,0,0,1),this}compose(t,e,i){const s=this.elements,n=e.x,r=e.y,o=e.z,a=e.w,l=n+n,u=r+r,c=o+o,h=n*l,d=n*u,f=n*c,p=r*u,y=r*c,g=o*c,m=a*l,v=a*u,b=a*c,x=i.x,w=i.y,C=i.z;return s[0]=(1-(p+g))*x,s[1]=(d+b)*x,s[2]=(f-v)*x,s[3]=0,s[4]=(d-b)*w,s[5]=(1-(h+g))*w,s[6]=(y+m)*w,s[7]=0,s[8]=(f+v)*C,s[9]=(y-m)*C,s[10]=(1-(h+p))*C,s[11]=0,s[12]=t.x,s[13]=t.y,s[14]=t.z,s[15]=1,this}decompose(t,e,i){const s=this.elements;let n=c.set(s[0],s[1],s[2]).length();const r=c.set(s[4],s[5],s[6]).length(),o=c.set(s[8],s[9],s[10]).length(),a=this.determinant();a<0&&(n=-n),t.x=s[12],t.y=s[13],t.z=s[14],h.copy(this);const l=1/n,u=1/r,d=1/o;return h.elements[0]*=l,h.elements[1]*=l,h.elements[2]*=l,h.elements[4]*=u,h.elements[5]*=u,h.elements[6]*=u,h.elements[8]*=d,h.elements[9]*=d,h.elements[10]*=d,e.setFromRotationMatrix(h),i.x=n,i.y=r,i.z=o,this}makePerspective(t,e,i,s,n,r,o=a){const u=this.elements,c=2*n/(e-t),h=2*n/(i-s),d=(e+t)/(e-t),f=(i+s)/(i-s);let p,y;if(o===a)p=-(r+n)/(r-n),y=-2*r*n/(r-n);else{if(o!==l)throw new Error("Matrix4.makePerspective(): Invalid coordinate system: "+o);p=-r/(r-n),y=-r*n/(r-n)}return u[0]=c,u[4]=0,u[8]=d,u[12]=0,u[1]=0,u[5]=h,u[9]=f,u[13]=0,u[2]=0,u[6]=0,u[10]=p,u[14]=y,u[3]=0,u[7]=0,u[11]=-1,u[15]=0,this}makeOrthographic(t,e,i,s,n,r,o=a){const u=this.elements,c=1/(e-t),h=1/(i-s),d=1/(r-n),f=(e+t)*c,p=(i+s)*h;let y,g;if(o===a)y=(r+n)*d,g=-2*d;else{if(o!==l)throw new Error("Matrix4.makeOrthographic(): Invalid coordinate system: "+o);y=n*d,g=-1*d}return u[0]=2*c,u[4]=0,u[8]=0,u[12]=-f,u[1]=0,u[5]=2*h,u[9]=0,u[13]=-p,u[2]=0,u[6]=0,u[10]=g,u[14]=-y,u[3]=0,u[7]=0,u[11]=0,u[15]=1,this}equals(t){const e=this.elements,i=t.elements;for(let s=0;s<16;s++)if(e[s]!==i[s])return!1;return!0}fromArray(t,e=0){for(let i=0;i<16;i++)this.elements[i]=t[i+e];return this}toArray(t=[],e=0){const i=this.elements;return t[e]=i[0],t[e+1]=i[1],t[e+2]=i[2],t[e+3]=i[3],t[e+4]=i[4],t[e+5]=i[5],t[e+6]=i[6],t[e+7]=i[7],t[e+8]=i[8],t[e+9]=i[9],t[e+10]=i[10],t[e+11]=i[11],t[e+12]=i[12],t[e+13]=i[13],t[e+14]=i[14],t[e+15]=i[15],t}}const c=new s.P,h=new u,d=new s.P(0,0,0),f=new s.P(1,1,1),p=new s.P,y=new s.P,g=new s.P},81789:function(t,e,i){i.d(e,{Ag:function(){return s.A},NA:function(){return a.N},TD:function(){return l.T},XI:function(){return n.X},ZQ:function(){return c.Z},aj:function(){return o.a},g1:function(){return r.g},u2:function(){return u.u}});var s=i(83912),n=i(69251),r=i(2320),o=i(92904),a=i(62769),l=i(82769),u=i(82782),c=i(3615)},82769:function(t,e,i){i.d(e,{T:function(){return l}});var s=i(21865),n=i(62769),r=Object.defineProperty,o=(t,e,i)=>e in t?r(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,a=(t,e,i)=>o(t,"symbol"!==typeof e?e+"":e,i);class l extends n.N{constructor(t){super(t),a(this,"_text",null),a(this,"_wrapper",null),a(this,"DOM"),this.DOM=this.createDOM();const e=this.getWrapper();e.appendChild(this.DOM)}get text(){return null===this._text&&(this._text=document.createTextNode("")),this._text}createWrapper(){const t=document.createElement("div");return t.setAttribute("class",n.N.className),t.setAttribute(n.N.uuidKey,this.uuid),t}getWrapper(){return null===this._wrapper&&(this._wrapper=this.createWrapper()),this._wrapper}add(t){if(t instanceof n.N){const e=t.getWrapper();if(null===e)return;if(this.DOM.contains(e))return;this.DOM.appendChild(e)}}remove(t){if(t instanceof n.N){const e=t.getWrapper();if(null===e)return;this.DOM.contains(e)&&this.DOM.removeChild(e)}}update(t,e){const i=this.getWrapper(),n=this.getWrapperStyle(t,e);this.setHTMLStyle(i,n),this.setHTMLInteraction(i,t,e),this.setHTMLStyle(this.DOM,this.getLayoutStyle(t,e));const r=[...this.getStyleClass(t,e)];t.active&&r.push(s.Jf.activeName),this.setStyleClass(this.DOM,r),this.DOM.style.backgroundImage=t.backroundIamge?`url(${t.backroundIamge})`:"",this.text.textContent=t.text,!1===this.DOM.contains(this.text)&&this.DOM.appendChild(this.text)}}},82782:function(t,e,i){i.d(e,{u:function(){return l}});var s=i(21865),n=i(62769),r=Object.defineProperty,o=(t,e,i)=>e in t?r(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,a=(t,e,i)=>o(t,"symbol"!==typeof e?e+"":e,i);class l extends n.N{constructor(t){super(t),a(this,"_wrapper",null),a(this,"DOM"),this.DOM=this.createDOM();const e=this.getWrapper();e.appendChild(this.DOM)}createWrapper(){const t=document.createElement("div");return t.setAttribute("class",n.N.className),t.setAttribute(n.N.uuidKey,this.uuid),t}getWrapper(){return null===this._wrapper&&(this._wrapper=this.createWrapper()),this._wrapper}add(t){if(t instanceof n.N){const e=t.getWrapper();if(null===e)return;if(this.DOM.contains(e))return;this.DOM.appendChild(e)}}remove(t){if(t instanceof n.N){const e=t.getWrapper();if(null===e)return;this.DOM.contains(e)&&this.DOM.removeChild(e)}}update(t,e){const i=this.getWrapper();this.setHTMLStyle(i,this.getWrapperStyle(t,e));const n=[...this.getStyleClass(t,e)];t.active&&n.push(s.Jf.activeName),this.setStyleClass(this.DOM,n)}}},83792:function(t,e,i){i.d(e,{B:function(){return u}});var s=i(21865),n=i(81789),r=i(27740),o=Object.defineProperty,a=(t,e,i)=>e in t?o(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,l=(t,e,i)=>a(t,"symbol"!==typeof e?e+"":e,i);class u extends r.${constructor(){super(...arguments),l(this,"resize",()=>{}),l(this,"unresize",()=>{})}createActor(t,e){const i=new n.TD(t.uuid);return i}install(t,e){const i=this.getActor(t,e),s=i.getWrapper();this.graphics.engine.DOM.appendChild(s),this.resize=()=>{s.style.width=this.graphics.engine.DOM.clientWidth+"px",s.style.height=this.graphics.engine.DOM.clientHeight+"px",i.DOM.style.width="100%",i.DOM.style.height="100%"};const n=this.graphics.engine.inputSystem.listen("resize",this.resize,{target:window});this.unresize=()=>this.graphics.engine.inputSystem.unlisten(n),this.resize()}uninstall(t,e){this.unresize();const i=this.getActor(t,e),s=i.getWrapper();s.remove()}}l(u,"type",s.K4.type),r.$.register(u)},83880:function(t,e,i){i.r(e),i.d(e,{graphics:function(){return n},scheduler:function(){return s}});var s=i(2538),n=i(38528)},83912:function(t,e,i){i.d(e,{A:function(){return a}});var s=Object.defineProperty,n=(t,e,i)=>e in t?s(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,r=(t,e,i)=>n(t,"symbol"!==typeof e?e+"":e,i);const o={idBuilder:0,collection:new Map};class a{constructor(){r(this,"id",o.idBuilder++),r(this,"object")}static seGraphics(t,e){o.collection.set(t.id,e)}static getGraphics(t){var e;return null!=(e=o.collection.get(t.id))?e:null}static deleteGraphics(t){o.collection.delete(t.id)}add(t){}remove(t){}}},85337:function(t,e,i){i.d(e,{T:function(){return a}});var s=i(38132),n=Object.defineProperty,r=(t,e,i)=>e in t?n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,o=(t,e,i)=>r(t,"symbol"!==typeof e?e+"":e,i);class a extends s.o{constructor(t={}){var e,i,s;super(t),o(this,"url"),o(this,"dataConfig"),o(this,"dataPath"),this.url=null!=(e=t.url)?e:"",this.dataConfig=null!=(i=t.dataConfig)?i:1,this.dataPath=null!=(s=t.dataPath)?s:""}}o(a,"type","Dynamic"),s.o.register(a)},86487:function(t,e,i){i.d(e,{f:function(){return a}});var s=i(2181),n=Object.defineProperty,r=(t,e,i)=>e in t?n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,o=(t,e,i)=>r(t,"symbol"!==typeof e?e+"":e,i);class a extends s.P{constructor(t={}){var e,i;super(t),o(this,"text"),o(this,"backroundIamge"),this.text=null!=(e=t.text)?e:"",this.backroundIamge=null!=(i=t.backroundIamge)?i:""}}o(a,"type","Div"),s.P.register(a)},89219:function(t,e,i){i.d(e,{V:function(){return a}});var s=i(32432),n=Object.defineProperty,r=(t,e,i)=>e in t?n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,o=(t,e,i)=>r(t,"symbol"!==typeof e?e+"":e,i);class a extends s.K{constructor(t={}){super(t)}}o(a,"type","Camera")},89237:function(t,e,i){i.d(e,{X:function(){return l}});var s=i(38132),n=Object.defineProperty,r=(t,e,i)=>e in t?n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,o=(t,e,i)=>r(t,"symbol"!==typeof e?e+"":e,i);const a=class t extends s.o{constructor(t={}){var e;super(t),o(this,"url"),this.url=null!=(e=t.url)?e:""}static fromPrefab(e,i){const n=s.o.cloneAndFixReferences(i),r=new t({name:n.name?`${n.name}-prefab`:"prefab",interactions:n.interactions,prefab:n.prefab,url:e});return r.add(...n.children),r}};o(a,"type","PrefabInstance");let l=a;s.o.register(l)},89508:function(t,e,i){i.d(e,{Y:function(){return a}});var s=i(21865),n=Object.defineProperty,r=(t,e,i)=>e in t?n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,o=(t,e,i)=>r(t,"symbol"!==typeof e?e+"":e,i);class a extends s.oJ{constructor(t={}){super(t),o(this,"roots"),o(this,"nodes"),o(this,"mappers"),this.roots=t.roots?s.oJ.deepClone(t.roots):[],this.nodes=t.nodes?s.oJ.deepClone(t.nodes):[],this.mappers=t.mappers?s.oJ.deepClone(t.mappers):[]}addNode(t){const e=t.length,i=e-1;for(let s=0;s<e;s++){const e=t[s];this.nodes.push(e),s<i&&this.mappers.push({source:e.id,target:t[s+1].id})}}}o(a,"type","Routine"),s.oJ.register(a)},90154:function(t,e,i){i.d(e,{F:function(){return d},j:function(){return f}});var s=i(72968),n=i(13591),r=i(48393),o=i(97338),a=i(21865),l=Object.defineProperty,u=(t,e,i)=>e in t?l(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,c=(t,e,i)=>u(t,"symbol"!==typeof e?e+"":e,i);const h={providerCollection:new Map};class d{constructor(){c(this,"all",[]),c(this,"descriptor",[]),c(this,"prefab",[]),c(this,"dataset",[]),c(this,"style",[]),c(this,"routine",[]),c(this,"texture",[]),c(this,"material",[]),c(this,"geometry",[])}add(t,e){const i=this[t];if(void 0===i)return console.warn(t,e);i.push(e),this.descriptor.push(e)}foreach(t){for(const e of this.dataset)t(e);for(const e of this.style)t(e);for(const e of this.routine)t(e);for(const e of this.texture)t(e);for(const e of this.material)t(e);for(const e of this.geometry)t(e)}clear(){this.all.length=0,this.descriptor.length=0,this.prefab.length=0,this.dataset.length=0,this.style.length=0,this.routine.length=0,this.texture.length=0,this.material.length=0,this.geometry.length=0}}class f{constructor(){c(this,"_dependencideCollection",new Map),c(this,"_dependentCollection",new Map)}static build(t,e){let i=t.constructor;while(i.prototype instanceof o.iy){const s=h.providerCollection.get(i.type);i=Object.getPrototypeOf(i),void 0!==s&&s(t,e)}}static register(t,e){h.providerCollection.set(t,e)}static get(t,e=[]){const i={descriptor:t.uuid,edges:[]};return this.build(t,i),i.edges.length>0&&e.push(i),e}getDescriptor(t){return s.V.get(t)}compiler(t){const e={url:t,uuid:"",ports:[]},i=this.getDescriptor(t);return i instanceof a.oJ&&(e.uuid=i.uuid,this.build(i,e.ports)),e}setCell(t,e){let i=this._dependentCollection.get(t);void 0===i?(i=[e],this._dependentCollection.set(t,i)):r.l.insert(i,e)}deleteCell(t,e){let i=this._dependentCollection.get(t);void 0!==i&&r.l.remove(i,e)}collection(t,e,i,s){const n=e.all.indexOf(t);n>-1||(e.all.push(t),i&&e.add(s,t),this.getDependencide(t,e))}get(t){var e;return null!=(e=this._dependencideCollection.get(t))?e:null}create(t){this.delete(t);const e=this.compiler(t);this._dependencideCollection.set(t,e);for(const i of e.ports)for(const t of i.edges)this.setCell(t.asset,e)}build(t,e=[]){return t.traverse(t=>{f.get(t,e)}),e}update(t){this.delete(t),this.create(t)}delete(t){const e=this._dependencideCollection.get(t);if(void 0!==e){this._dependencideCollection.delete(t);for(const t of e.ports)for(const i of t.edges)this.deleteCell(i.asset,e)}}getDependencidesByPorts(t,e=new d){if(0===t.length)return e;for(const i of t)for(const t of i.edges){const i=n.b.isDescriptor(t.category,"category");this.collection(t.asset,e,i,t.category)}return e}getDependencide(t,e=new d){const i=this._dependencideCollection.get(t);return void 0===i||this.getDependencidesByPorts(i.ports,e),e}getDependents(t){var e;return null!=(e=this._dependentCollection.get(t))?e:[]}getUrlCells(t,e=[]){for(const i of t){const t=this.getDependents(i);t.length>0&&e.push({url:i,cells:t})}return e}forEdge(t,e){for(const i of t.ports)for(const t of i.edges)e(i,t)}hasAssetReference(t,e){for(const i of t.edges)if(Array.isArray(i.asset)){for(const t of i.asset)if(t===e)return!0}else if(i.asset===e)return!0;return!1}}},90559:function(t,e,i){i.r(e),i.d(e,{request:function(){return s}});var s=i(31622)},91521:function(t,e,i){i.r(e),i.d(e,{createExecuteInput:function(){return u},createExecuteNode:function(){return c},scriptable:function(){return a}});var s=i(64898),n=i(10692),r=i(17244),o=(t,e,i)=>new Promise((s,n)=>{var r=t=>{try{a(i.next(t))}catch(e){n(e)}},o=t=>{try{a(i.throw(t))}catch(e){n(e)}},a=t=>t.done?s(t.value):Promise.resolve(t.value).then(r,o);a((i=i.apply(t,e)).next())});const a=n.Vd.createVirtualUrl("preset/scheduler/switch.ts");class l extends r.e{execute(t,e,i){return o(this,null,function*(){var t,s;const r=null==(s=null==(t=i.input)?void 0:t.user)?void 0:s.url.value;if(!r)return;yield n.Vd.loadAll(r);const o=n.Vd.get(r);e.engine.switch(o)})}}n.Vd.provider(a,()=>o(null,null,function*(){return{default:l}}));const u=(t={})=>{var e;const i={url:{value:null!=(e=t.url)?e:""}};return i},c=t=>{var e,i,n,r;const o={id:t.id,label:s.B.get(a),position:{x:null!=(i=null==(e=null==t?void 0:t.position)?void 0:e.x)?i:20,y:null!=(r=null==(n=null==t?void 0:t.position)?void 0:n.y)?r:20},routine:"Execute",url:a,input:u(t.input)};return o}},91881:function(t,e,i){i.d(e,{K:function(){return h}});var s=i(21865),n=i(81789),r=i(27740),o=Object.defineProperty,a=(t,e,i)=>e in t?o(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,l=(t,e,i)=>a(t,"symbol"!==typeof e?e+"":e,i);let u=null;const c=class t extends r.${constructor(t,e){super(t,e),l(this,"className"),this.className=`vyr_${t.uuid}`}static get sheet(){if(null===u){const t=document.createElement("style");t.setAttribute("type","text/css"),document.head.appendChild(t),u=t.sheet}return u}static insertRule(e){for(const i of e)this.sheet.insertRule(i,t.sheet.cssRules.length)}createActor(t,e){return new n.XI}update(e,i){super.update(e,i);const s=this.getActor(e,i);if(s.update(e,this.className),!0===s.updateRule(t.sheet))return;const n=s.getStyleValue();t.insertRule(n)}free(e,i){const s=[`.${this.className}`,`.${this.className}:hover`];for(let n=t.sheet.cssRules.length-1;n>=0;n--){const e=t.sheet.cssRules[n];if(e instanceof CSSStyleRule){const i=s.indexOf(e.selectorText);if(i>-1&&(t.sheet.deleteRule(i),s.splice(i,1),0===s.length))return}}super.free(e,i)}};l(c,"type",s.Jf.type);let h=c;r.$.register(h)},92904:function(t,e,i){i.d(e,{a:function(){return u}});var s=i(21865),n=i(48393),r=i(83912),o=Object.defineProperty,a=(t,e,i)=>e in t?o(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,l=(t,e,i)=>a(t,"symbol"!==typeof e?e+"":e,i);class u extends r.A{constructor(){super(...arguments),l(this,"_parent",""),l(this,"collection",[])}bind(t){this._parent=t}unbind(){if(""===this._parent)return;const t=r.A.getGraphics(this),e=s.oJ.get(this._parent);if(e instanceof s.oJ){const i=t.getActor(e,{delta:0});if(null!==i)for(const t of this.collection)i.remove(t)}this.collection.length=0,this._parent=""}add(t){if(t instanceof u)return;const e=r.A.getGraphics(this),i=s.oJ.get(this._parent);if(i instanceof s.oJ){const s=e.getActor(i,{delta:0});null!==s&&s.add(t)}n.l.insert(this.collection,t)}remove(t){if(t instanceof u)return;const e=r.A.getGraphics(this),i=s.oJ.get(this._parent);if(i instanceof s.oJ){const s=e.getActor(i,{delta:0});null!==s&&s.remove(t)}n.l.remove(this.collection,t)}}},93835:function(t,e,i){i.r(e),i.d(e,{createExecuteInput:function(){return h},createExecuteNode:function(){return d},scriptable:function(){return u}});var s=i(64898),n=i(10692),r=i(21865),o=i(17244),a=i(13591),l=(t,e,i)=>new Promise((s,n)=>{var r=t=>{try{a(i.next(t))}catch(e){n(e)}},o=t=>{try{a(i.throw(t))}catch(e){n(e)}},a=t=>t.done?s(t.value):Promise.resolve(t.value).then(r,o);a((i=i.apply(t,e)).next())});const u=n.Vd.createVirtualUrl("preset/dataset/update.ts");class c extends o.e{execute(t,e,i){return l(this,null,function*(){var t,e;const{input:s,result:o}=i,a=null!=(e=null==(t=null==s?void 0:s.user)?void 0:t.url.value)?e:s.default.url.value,l=o.get(s.previous),u=n.Vd.get(a);return u instanceof r.Y2&&l&&u.setData(l),{}})}}n.Vd.provider(u,()=>l(null,null,function*(){return{default:c}}));const h=(t={})=>{var e;const i={url:{value:null!=(e=t.url)?e:"",type:a.b.dataset}};return i},d=t=>{var e,i,n,r;const o={id:t.id,label:s.B.get(u),position:{x:null!=(i=null==(e=null==t?void 0:t.position)?void 0:e.x)?i:20,y:null!=(r=null==(n=null==t?void 0:t.position)?void 0:n.y)?r:20},routine:"Execute",url:u,input:h(t.input)};return o}},94233:function(t,e,i){i.d(e,{r:function(){return o}});var s=Object.defineProperty,n=(t,e,i)=>e in t?s(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,r=(t,e,i)=>n(t,"symbol"!==typeof e?e+"":e,i);class o{constructor(){r(this,"instanceCollection",new Map)}set(t){this.instanceCollection.set(t.uuid,t)}delete(t){this.instanceCollection.delete(t)}get(t){return this.instanceCollection.get(t)}values(){return[...this.instanceCollection.values()]}}},94499:function(t,e,i){i.r(e),i.d(e,{dataset:function(){return n},graphics:function(){return o},net:function(){return s},scheduler:function(){return r}});var s=i(90559),n=i(95920),r=i(27761),o=i(35793)},95920:function(t,e,i){i.r(e),i.d(e,{update:function(){return s}});var s=i(93835)},95997:function(t,e,i){i.d(e,{I:function(){return a}});var s=i(1355),n=Object.defineProperty,r=(t,e,i)=>e in t?n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,o=(t,e,i)=>r(t,"symbol"!==typeof e?e+"":e,i);class a{constructor(t=0,e=0){o(this,"x"),o(this,"y"),this.x=t,this.y=e}static create(t,e){return void 0===t?new a:"number"===typeof t?new a(t,e):new a(t.x,t.y)}get width(){return this.x}set width(t){this.x=t}get height(){return this.y}set height(t){this.y=t}set(t,e){return this.x=t,this.y=e,this}setScalar(t){return this.x=t,this.y=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setComponent(t,e){switch(t){case 0:this.x=e;break;case 1:this.y=e;break;default:throw new Error("index is out of range: "+t)}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: "+t)}}clone(){return new this.constructor(this.x,this.y)}copy(t){return this.x=t.x,this.y=t.y,this}add(t){return this.x+=t.x,this.y+=t.y,this}addScalar(t){return this.x+=t,this.y+=t,this}addVectors(t,e){return this.x=t.x+e.x,this.y=t.y+e.y,this}addScaledVector(t,e){return this.x+=t.x*e,this.y+=t.y*e,this}sub(t){return this.x-=t.x,this.y-=t.y,this}subScalar(t){return this.x-=t,this.y-=t,this}subVectors(t,e){return this.x=t.x-e.x,this.y=t.y-e.y,this}multiply(t){return this.x*=t.x,this.y*=t.y,this}multiplyScalar(t){return this.x*=t,this.y*=t,this}divide(t){return this.x/=t.x,this.y/=t.y,this}divideScalar(t){return this.multiplyScalar(1/t)}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this}clamp(t,e){return this.x=(0,s.q)(this.x,t.x,e.x),this.y=(0,s.q)(this.y,t.y,e.y),this}clampScalar(t,e){return this.x=(0,s.q)(this.x,t,e),this.y=(0,s.q)(this.y,t,e),this}clampLength(t,e){const i=this.length();return this.divideScalar(i||1).multiplyScalar((0,s.q)(i,t,e))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(t){return this.x*t.x+this.y*t.y}cross(t){return this.x*t.y-this.y*t.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){const t=Math.atan2(-this.y,-this.x)+Math.PI;return t}angleTo(t){const e=Math.sqrt(this.lengthSq()*t.lengthSq());if(0===e)return Math.PI/2;const i=this.dot(t)/e;return Math.acos((0,s.q)(i,-1,1))}distanceTo(t){return Math.sqrt(this.distanceToSquared(t))}distanceToSquared(t){const e=this.x-t.x,i=this.y-t.y;return e*e+i*i}manhattanDistanceTo(t){return Math.abs(this.x-t.x)+Math.abs(this.y-t.y)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,e){return this.x+=(t.x-this.x)*e,this.y+=(t.y-this.y)*e,this}lerpVectors(t,e,i){return this.x=t.x+(e.x-t.x)*i,this.y=t.y+(e.y-t.y)*i,this}equals(t){return t.x===this.x&&t.y===this.y}fromArray(t,e=0){return this.x=t[e],this.y=t[e+1],this}toArray(t=[],e=0){return t[e]=this.x,t[e+1]=this.y,t}rotateAround(t,e){const i=Math.cos(e),s=Math.sin(e),n=this.x-t.x,r=this.y-t.y;return this.x=n*i-r*s+t.x,this.y=n*s+r*i+t.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}}},97338:function(t,e,i){i.d(e,{Sh:function(){return h},iy:function(){return d},pU:function(){return c}});var s=i(47552),n=i(14291),r=Object.defineProperty,o=(t,e,i)=>e in t?r(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,a=(t,e,i)=>o(t,"symbol"!==typeof e?e+"":e,i);const l={instances:new Map,freeWatcher:[],monitoring:()=>{let t=0;const e=()=>{setTimeout(e,5e3);const i=[...l.instances.keys()],s=i.length;t>=s&&(t=0);let n=0,r=t;const o=performance.now();while(n<500&&performance.now()-o<5){if(r>=s)break;n++;const e=i[r++];null===d.get(e)?h(e):t++}};e()}},u=t=>"editor"===window["__VYR_RUNTIME_MODE"]?(0,n.Kh)(t):t,c=(t,e)=>{switch(t){case"free":l.freeWatcher.push(e);break;default:break}},h=t=>{const e=l.instances.get(t);if(void 0!==e){for(const e of l.freeWatcher)e(t);l.instances.delete(t)}};class d{constructor(t=s.w.uuid()){a(this,"uuid");const e=d.get(t);if(null!==e)return e.beenInstantiated(e),e;this.uuid=t,l.instances.set(t,new WeakRef(this))}static get(t){var e;const i=l.instances.get(t);return void 0===i?null:null!=(e=u(i.deref()))?e:null}beenInstantiated(t){}}l.monitoring()},98415:function(t,e,i){i.d(e,{o:function(){return u}});var s=i(21865),n=i(27740),r=i(81789),o=Object.defineProperty,a=(t,e,i)=>e in t?o(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,l=(t,e,i)=>a(t,"symbol"!==typeof e?e+"":e,i);class u extends n.${createActor(t,e){return new r.TD(t.uuid)}update(t,e){super.update(t,e);const i=this.getActor(t,e);i.update(t,e)}mount(t,e,i,s){super.mount(t,e,i,s);const n=this.getActor(t,e),r=i.getActor(s,e);r.add(n)}unmount(t,e,i,s){const n=this.getActor(t,e);n.clearStyleClass(n.DOM),n.cleanInteraction();const r=i.getActor(s,e);r.remove(n),super.unmount(t,e,i,s)}pickup(t,e,i){i.push({uuid:t.uuid,generatedBy:t.generatedBy})}}l(u,"type",s.fX.type),n.$.register(u)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self["webpackChunk_vyr_cli"]=self["webpackChunk_vyr_cli"]||[]).push([[9339],{79339:function(e,a,t){t.r(a),t.d(a,{default:function(){return _}});var n=t(67227),l=t(14291),r=t(89035),s=t(77409),o=t(81336),c=t(32132),d=t(21275),i=t(31230),u=t(5787);const v={class:"vyr-scene-item"},m={class:"scene-text"};var f=(0,n.pM)({__name:"SceneItem",props:{data:{default(){return{children:[]}}}},emits:["visible"],setup(e,{emit:a}){const t=e,l=a,o=(0,n.EW)(()=>{const e=[];return"boolean"===typeof t.data.visible?t.data.visible?e.push("vyr-kejian"):e.push("vyr-bukejian"):e.push("vyr-kejian","none"),e});return(a,t)=>((0,n.uX)(),(0,n.CE)("div",v,[(0,n.Lk)("div",m,(0,r.v_)(e.data.name),1),(0,n.Lk)("div",{class:"scene-icons",onMousedown:t[1]||(t[1]=(0,s.D$)(()=>{},["stop"])),onClick:t[2]||(t[2]=(0,s.D$)(()=>{},["stop"]))},[(0,n.Lk)("i",{class:(0,r.C4)(["vyrfont scene-icon",o.value]),onClick:t[0]||(t[0]=a=>l("visible",e.data))},null,2)],32)]))}}),p=t(45904);const y=(0,p.A)(f,[["__scopeId","data-v-35e23b72"]]);var k=y;const g={class:"scene-selector"},h={class:"scene-search"},R={class:"scene-tree"};var b=(0,n.pM)({__name:"Scene",setup(e){const a=o.runtime.get("data"),t=a.sidebar.get(i.a.key),v=o.runtime.get("shortcutkey"),m=o.runtime.get("draggable"),f=o.runtime.get("scene"),p=(0,n.rk)("refSearch"),y=(0,n.rk)("refScroll"),b=(0,n.rk)("refTree"),S=new URLSearchParams(window.location.search),_=!!S.get("scene"),C={expand:(e,a)=>{var t;return null==(t=b.value)?void 0:t.expand(e,a)},change:e=>{var a;return null==(a=b.value)?void 0:a.change(e)},search:()=>{var e;return null==(e=p.value)?void 0:e.focus()}},V=v.get("sidebar"),w=V.get(u.ControllerAction.id);w.setController(C);const I=(0,n.EW)(()=>m.get(m.key.scene)),L=()=>{t.status.mouseItem=null},M=(e,a)=>{t.status.mouseItem=e,d.rightMenu.show(V,a.clientX,a.clientY).catch(L)},x=(e,n,l)=>{""!==n&&("add"===e?w.addSceneItem(n,l,f,a):w.renameSceneItem(n,l,f,a)),L(),t.status.modifyMode="close",t.status.modifyValue=null,t.status.modifyContent=null},A=e=>{w.setSceneItemVisible(e,f)},D=()=>{t.createScene()},F=e=>{t.deleteScene(e)},O=()=>{0===t.selectAll.length&&C.change([])};return(0,n.wB)(()=>t.selectAll.length,O),V.reset(!0),(0,n.sV)(()=>{t.selectRootNode()}),(0,n.xo)(()=>{v.unactive()}),(e,a)=>((0,n.uX)(),(0,n.CE)("div",{class:"vyr-scene",onMousedown:a[4]||(a[4]=e=>(0,l.R1)(v).active("sidebar"))},[(0,n.Lk)("div",g,[(0,n.bF)((0,l.R1)(c.VyrDrapdown),{popoverClass:"vyr-scene-popover","model-value":(0,l.R1)(t).url,data:[...(0,l.R1)(t).sceneOptions,(0,l.R1)(t).createSceneOption],disabled:(0,l.R1)(_),removable:!0,onChange:(0,l.R1)(w).changeScene,onClose:a[2]||(a[2]=e=>(0,l.R1)(t).addScene=!1),onRemove:F},{default:(0,n.k6)(()=>[(0,n.eW)((0,r.v_)((0,l.R1)(t).url),1)]),option:(0,n.k6)(({option:e})=>[e.value===(0,l.R1)(t).createSceneOption.value&&!1===(0,l.R1)(t).addScene?((0,n.uX)(),(0,n.Wv)((0,l.R1)(c.VyrOption),{key:0,onClick:a[0]||(a[0]=(0,s.D$)(e=>(0,l.R1)(t).addScene=!0,["stop"]))},{default:(0,n.k6)(()=>[...a[5]||(a[5]=[(0,n.Lk)("div",{style:{width:"100%","text-align":"center"}},[(0,n.Lk)("i",{class:"vyrfont vyr-add"})],-1)])]),_:1})):(0,n.Q3)("",!0),e.value===(0,l.R1)(t).createSceneOption.value&&(0,l.R1)(t).addScene?((0,n.uX)(),(0,n.Wv)((0,l.R1)(c.VyrInput),{key:1,class:"add-input",modelValue:(0,l.R1)(t).newSceneName,"onUpdate:modelValue":a[1]||(a[1]=e=>(0,l.R1)(t).newSceneName=e),autofocus:!0,clearable:!0},{icon:(0,n.k6)(()=>[(0,n.Lk)("i",{class:"vyrfont vyr-queren vyr-create handle",onClick:(0,s.D$)(D,["stop"])})]),_:1},8,["modelValue"])):(0,n.Q3)("",!0)]),_:1},8,["model-value","data","disabled","onChange"])]),(0,n.Lk)("div",h,[(0,n.bF)((0,l.R1)(c.VyrInput),{ref_key:"refSearch",ref:p,modelValue:(0,l.R1)(t).status.search,"onUpdate:modelValue":a[3]||(a[3]=e=>(0,l.R1)(t).status.search=e),clearable:!0},null,8,["modelValue"])]),(0,n.Lk)("div",R,[(0,n.bF)((0,l.R1)(c.VyrScroll),{ref_key:"refScroll",ref:y,margin:6,padding:4},{default:(0,n.k6)(()=>{var e;return[(0,n.bF)((0,l.R1)(c.VyrTree),{ref_key:"refTree",ref:b,data:(0,l.R1)(t).root.children,getter:(0,l.R1)(t).getter,draggable:I.value,modify:(0,l.R1)(t).status.modifyMode,multiple:!0,"modify-value":null==(e=(0,l.R1)(t).status.modifyValue)?void 0:e.uuid,visible:(0,l.R1)(w).getSceneItemVisible,onModify:x,onRightClick:M,onChange:(0,l.R1)(w).changeSceneItem},{default:(0,n.k6)(({item:e})=>[(0,n.bF)(k,{data:e,onVisible:A},null,8,["data"])]),_:1},8,["data","getter","draggable","modify","modify-value","visible","onChange"])]}),_:1},512)])],32))}});const S=(0,p.A)(b,[["__scopeId","data-v-688fc6fe"]]);var _=S}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self["webpackChunk_vyr_cli"]=self["webpackChunk_vyr_cli"]||[]).push([[9384],{89384:function(e,n,o){o.r(n),o.d(n,{conf:function(){return t},language:function(){return r}});const t={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}]},r={defaultToken:"",tokenPostfix:".ecl",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],pounds:["append","break","declare","demangle","end","for","getdatatype","if","inmodule","loop","mangle","onwarning","option","set","stored","uniquename"].join("|"),keywords:["__compressed__","after","all","and","any","as","atmost","before","beginc","best","between","case","cluster","compressed","compression","const","counter","csv","default","descend","embed","encoding","encrypt","end","endc","endembed","endmacro","enum","escape","except","exclusive","expire","export","extend","fail","few","fileposition","first","flat","forward","from","full","function","functionmacro","group","grouped","heading","hole","ifblock","import","in","inner","interface","internal","joined","keep","keyed","last","left","limit","linkcounted","literal","little_endian","load","local","locale","lookup","lzw","macro","many","maxcount","maxlength","min skew","module","mofn","multiple","named","namespace","nocase","noroot","noscan","nosort","not","noxpath","of","onfail","only","opt","or","outer","overwrite","packed","partition","penalty","physicallength","pipe","prefetch","quote","record","repeat","retry","return","right","right1","right2","rows","rowset","scan","scope","self","separator","service","shared","skew","skip","smart","soapaction","sql","stable","store","terminator","thor","threshold","timelimit","timeout","token","transform","trim","type","unicodeorder","unordered","unsorted","unstable","update","use","validate","virtual","whole","width","wild","within","wnotrim","xml","xpath"],functions:["abs","acos","aggregate","allnodes","apply","ascii","asin","assert","asstring","atan","atan2","ave","build","buildindex","case","catch","choose","choosen","choosesets","clustersize","combine","correlation","cos","cosh","count","covariance","cron","dataset","dedup","define","denormalize","dictionary","distribute","distributed","distribution","ebcdic","enth","error","evaluate","event","eventextra","eventname","exists","exp","fail","failcode","failmessage","fetch","fromunicode","fromxml","getenv","getisvalid","global","graph","group","hash","hash32","hash64","hashcrc","hashmd5","having","httpcall","httpheader","if","iff","index","intformat","isvalid","iterate","join","keydiff","keypatch","keyunicode","length","library","limit","ln","loadxml","local","log","loop","map","matched","matchlength","matchposition","matchtext","matchunicode","max","merge","mergejoin","min","nofold","nolocal","nonempty","normalize","nothor","notify","output","parallel","parse","pipe","power","preload","process","project","pull","random","range","rank","ranked","realformat","recordof","regexfind","regexreplace","regroup","rejected","rollup","round","roundup","row","rowdiff","sample","sequential","set","sin","sinh","sizeof","soapcall","sort","sorted","sqrt","stepped","stored","sum","table","tan","tanh","thisnode","topn","tounicode","toxml","transfer","transform","trim","truncate","typeof","ungroup","unicodeorder","variance","wait","which","workunit","xmldecode","xmlencode","xmltext","xmlunicode"],typesint:["integer","unsigned"].join("|"),typesnum:["data","qstring","string","unicode","utf8","varstring","varunicode"],typesone:["ascii","big_endian","boolean","data","decimal","ebcdic","grouped","integer","linkcounted","pattern","qstring","real","record","rule","set of","streamed","string","token","udecimal","unicode","unsigned","utf8","varstring","varunicode"].join("|"),operators:["+","-","/",":=","<","<>","=",">","\\","and","in","not","or"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/@typesint[4|8]/,"type"],[/#(@pounds)/,"type"],[/@typesone/,"type"],[/[a-zA-Z_$][\w-$]*/,{cases:{"@functions":"keyword.function","@keywords":"keyword","@operators":"operator"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]+/,"number.hex"],[/0[bB][01]+/,"number.hex"],[/[0-9_]+/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\v\f\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]]}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self["webpackChunk_vyr_cli"]=self["webpackChunk_vyr_cli"]||[]).push([[94,2328,3785,6166,7713,9947],{81336:function(n,r,t){t.r(r),t.d(r,{Action:function(){return i.r},ActionGroup:function(){return i.K},DataService:function(){return o.u},Draggable:function(){return f.s},DraggableService:function(){return f.f},InspectorService:function(){return a.j},PresetService:function(){return c.R},RemoteService:function(){return g.e},Runtime:function(){return s.v},ShortcutkeyService:function(){return v.t},SidebarNavigator:function(){return u.I},Status:function(){return u.n},language:function(){return e.B},runtime:function(){return s.f},zhCnLanguageProvider:function(){return e.t}});var e=t(72931),u=t(34361),i=t(1520),o=t(97633),c=t(34774),f=t(2284),a=t(21822),g=t(52913),v=t(20986),s=t(69188)},92328:function(n,r,t){t.r(r),t.d(r,{Bridge:function(){return i.q},Collection:function(){return o.p},Job:function(){return u._},RemoteExecutor:function(){return c.Q},RemoteInvoker:function(){return a.p},RemoteProcess:function(){return f.u},language:function(){return e.B},zhCnLanguageProvider:function(){return e.t}});var e=t(28723),u=t(84105),i=t(76379),o=t(70026),c=t(93355),f=t(70151),a=t(22984)},93785:function(n,r,t){t.r(r),t.d(r,{Message:function(){return e.QB},Method:function(){return e.IT},NoticeMessage:function(){return e.qe},Operation:function(){return e.I},RpcService:function(){return i.R},UseRecord:function(){return e.Nk},User:function(){return e.KJ},VirtualNode:function(){return e.UV},defineScheme:function(){return e.XZ},language:function(){return u.B},path:function(){return e.Ae},tokenKey:function(){return e.bV},topic:function(){return e.At},zhCnLanguageProvider:function(){return u.t}});var e=t(38788),u=t(70584),i=t(9763)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self["webpackChunk_vyr_cli"]=self["webpackChunk_vyr_cli"]||[]).push([[9620],{69620:function(l,e,a){a.r(e),a.d(e,{default:function(){return s}});var t=a(67227),u=a(14291),n=a(50931),r=a(32132),o=a(12350),d=a(67476),V=a(85196),m=a(81336),R=a(30582),b=(0,t.pM)({__name:"AnimationUnitFragment",props:{raw:{}},setup(l){const e=l,a=(0,o.bf)(),V=m.runtime.get("draggable"),b=((0,t.EW)(()=>V.get(V.key.inspector)),(l,e,a="")=>{const t=Object.keys(l);for(const u of t){if(["uuid","type","children","variables","dataSource","events","selectable","dataset","prefab","generatedBy"].includes(u))continue;const t=`${a?a+".":""}${u}`,n={label:t,value:t,children:[]};e.push(n);const r=l[u];null!==r&&"object"===typeof r&&!1===Array.isArray(r)&&b(r,e,n.value)}}),f=(0,t.EW)(()=>{const l=[];if(a.value){const a=n.AnimationUnitDescriptor.get(e.raw);if(null===a)return l;const{parent:t}=a.traceAncestor(!1);if(null===t)return l;b(t,l)}return l}),p=l=>{if("color"===a.value.frameData.type&&"string"===typeof l){const e=new n.Color(l);return e.toHexString()}return"#000000"},y=l=>{if("color"===a.value.frameData.type){const e=new n.Color(l);a.value.frameData.startValue=e.toHexString()}},i=l=>{if("color"===a.value.frameData.type){const e=new n.Color(l);a.value.frameData.endValue=e.toHexString()}},s=(0,t.EW)(()=>p(a.value.frameData.startValue)),F=(0,t.EW)(()=>p(a.value.frameData.endValue));return(l,e)=>((0,t.uX)(),(0,t.CE)(t.FK,null,[(0,t.bF)((0,u.R1)(r.VyrRow),null,{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrLabel),{label:(0,u.R1)(d.B).get("inspector.AnimationUnit.play")},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrCol),null,{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrSelect),{modelValue:(0,u.R1)(a).play,"onUpdate:modelValue":e[0]||(e[0]=l=>(0,u.R1)(a).play=l),data:(0,u.R1)(R.Animation).playOptions},null,8,["modelValue","data"])]),_:1})]),_:1},8,["label"])]),_:1}),(0,t.bF)((0,u.R1)(r.VyrRow),null,{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrLabel),{label:(0,u.R1)(d.B).get("inspector.AnimationUnit.type")},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrCol),null,{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrSelect),{modelValue:(0,u.R1)(a).frameData.type,"onUpdate:modelValue":e[1]||(e[1]=l=>(0,u.R1)(a).frameData.type=l),data:(0,u.R1)(R.Animation).unitOptions},null,8,["modelValue","data"])]),_:1})]),_:1},8,["label"])]),_:1}),(0,t.bF)((0,u.R1)(r.VyrRow),null,{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrLabel),{label:(0,u.R1)(d.B).get("inspector.AnimationUnit.path")},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrCol),null,{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrCascader),{modelValue:(0,u.R1)(a).path,"onUpdate:modelValue":e[2]||(e[2]=l=>(0,u.R1)(a).path=l),data:f.value,searchable:!0,clearable:!0},null,8,["modelValue","data"])]),_:1})]),_:1},8,["label"])]),_:1}),(0,t.bF)((0,u.R1)(r.VyrRow),null,{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrLabel),{label:(0,u.R1)(d.B).get("inspector.AnimationUnit.startValue")},{default:(0,t.k6)(()=>["number"===(0,u.R1)(a).frameData.type?((0,t.uX)(),(0,t.Wv)((0,u.R1)(r.VyrCol),{key:0},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrInputNumber),{modelValue:(0,u.R1)(a).frameData.startValue,"onUpdate:modelValue":e[3]||(e[3]=l=>(0,u.R1)(a).frameData.startValue=l),"allow-null":!1},null,8,["modelValue"])]),_:1})):(0,t.Q3)("",!0),"boolean"===(0,u.R1)(a).frameData.type?((0,t.uX)(),(0,t.Wv)((0,u.R1)(r.VyrCol),{key:1},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrSelect),{modelValue:(0,u.R1)(a).frameData.startValue,"onUpdate:modelValue":e[4]||(e[4]=l=>(0,u.R1)(a).frameData.startValue=l),data:(0,u.R1)(R.booleanOptions)},null,8,["modelValue","data"])]),_:1})):(0,t.Q3)("",!0),"color"===(0,u.R1)(a).frameData.type?((0,t.uX)(),(0,t.Wv)((0,u.R1)(r.VyrCol),{key:2},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrColorPicker),{modelValue:s.value,width:"all","allow-null":!1,"onUpdate:modelValue":y},null,8,["modelValue"])]),_:1})):(0,t.Q3)("",!0),"vector2"===(0,u.R1)(a).frameData.type?((0,t.uX)(),(0,t.CE)(t.FK,{key:3},[(0,t.bF)((0,u.R1)(r.VyrCol),{span:12},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrInputNumber),{modelValue:(0,u.R1)(a).frameData.startValue[0],"onUpdate:modelValue":e[5]||(e[5]=l=>(0,u.R1)(a).frameData.startValue[0]=l),"allow-null":!1},null,8,["modelValue"])]),_:1}),(0,t.bF)((0,u.R1)(r.VyrCol),{span:12},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrInputNumber),{modelValue:(0,u.R1)(a).frameData.startValue[1],"onUpdate:modelValue":e[6]||(e[6]=l=>(0,u.R1)(a).frameData.startValue[1]=l),"allow-null":!1},null,8,["modelValue"])]),_:1})],64)):(0,t.Q3)("",!0),"vector3"===(0,u.R1)(a).frameData.type?((0,t.uX)(),(0,t.CE)(t.FK,{key:4},[(0,t.bF)((0,u.R1)(r.VyrCol),{span:8},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrInputNumber),{modelValue:(0,u.R1)(a).frameData.startValue[0],"onUpdate:modelValue":e[7]||(e[7]=l=>(0,u.R1)(a).frameData.startValue[0]=l),"allow-null":!1},null,8,["modelValue"])]),_:1}),(0,t.bF)((0,u.R1)(r.VyrCol),{span:8},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrInputNumber),{modelValue:(0,u.R1)(a).frameData.startValue[1],"onUpdate:modelValue":e[8]||(e[8]=l=>(0,u.R1)(a).frameData.startValue[1]=l),"allow-null":!1},null,8,["modelValue"])]),_:1}),(0,t.bF)((0,u.R1)(r.VyrCol),{span:8},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrInputNumber),{modelValue:(0,u.R1)(a).frameData.startValue[2],"onUpdate:modelValue":e[9]||(e[9]=l=>(0,u.R1)(a).frameData.startValue[2]=l),"allow-null":!1},null,8,["modelValue"])]),_:1})],64)):(0,t.Q3)("",!0),"euler"===(0,u.R1)(a).frameData.type?((0,t.uX)(),(0,t.CE)(t.FK,{key:5},[(0,t.bF)((0,u.R1)(r.VyrCol),{span:8},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrInputNumber),{modelValue:(0,u.R1)(a).frameData.startValue[0],"onUpdate:modelValue":e[10]||(e[10]=l=>(0,u.R1)(a).frameData.startValue[0]=l),"allow-null":!1},null,8,["modelValue"])]),_:1}),(0,t.bF)((0,u.R1)(r.VyrCol),{span:8},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrInputNumber),{modelValue:(0,u.R1)(a).frameData.startValue[1],"onUpdate:modelValue":e[11]||(e[11]=l=>(0,u.R1)(a).frameData.startValue[1]=l),"allow-null":!1},null,8,["modelValue"])]),_:1}),(0,t.bF)((0,u.R1)(r.VyrCol),{span:8},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrInputNumber),{modelValue:(0,u.R1)(a).frameData.startValue[2],"onUpdate:modelValue":e[12]||(e[12]=l=>(0,u.R1)(a).frameData.startValue[2]=l),"allow-null":!1},null,8,["modelValue"])]),_:1})],64)):(0,t.Q3)("",!0)]),_:1},8,["label"])]),_:1}),(0,t.bF)((0,u.R1)(r.VyrRow),null,{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrLabel),{label:(0,u.R1)(d.B).get("inspector.AnimationUnit.endValue")},{default:(0,t.k6)(()=>["number"===(0,u.R1)(a).frameData.type?((0,t.uX)(),(0,t.Wv)((0,u.R1)(r.VyrCol),{key:0},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrInputNumber),{modelValue:(0,u.R1)(a).frameData.endValue,"onUpdate:modelValue":e[13]||(e[13]=l=>(0,u.R1)(a).frameData.endValue=l),"allow-null":!1},null,8,["modelValue"])]),_:1})):(0,t.Q3)("",!0),"boolean"===(0,u.R1)(a).frameData.type?((0,t.uX)(),(0,t.Wv)((0,u.R1)(r.VyrCol),{key:1},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrSelect),{modelValue:(0,u.R1)(a).frameData.endValue,"onUpdate:modelValue":e[14]||(e[14]=l=>(0,u.R1)(a).frameData.endValue=l),data:(0,u.R1)(R.booleanOptions)},null,8,["modelValue","data"])]),_:1})):(0,t.Q3)("",!0),"color"===(0,u.R1)(a).frameData.type?((0,t.uX)(),(0,t.Wv)((0,u.R1)(r.VyrCol),{key:2},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrColorPicker),{modelValue:F.value,width:"all","allow-null":!1,"onUpdate:modelValue":i},null,8,["modelValue"])]),_:1})):(0,t.Q3)("",!0),"vector2"===(0,u.R1)(a).frameData.type?((0,t.uX)(),(0,t.CE)(t.FK,{key:3},[(0,t.bF)((0,u.R1)(r.VyrCol),{span:12},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrInputNumber),{modelValue:(0,u.R1)(a).frameData.endValue[0],"onUpdate:modelValue":e[15]||(e[15]=l=>(0,u.R1)(a).frameData.endValue[0]=l),"allow-null":!1},null,8,["modelValue"])]),_:1}),(0,t.bF)((0,u.R1)(r.VyrCol),{span:12},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrInputNumber),{modelValue:(0,u.R1)(a).frameData.endValue[1],"onUpdate:modelValue":e[16]||(e[16]=l=>(0,u.R1)(a).frameData.endValue[1]=l),"allow-null":!1},null,8,["modelValue"])]),_:1})],64)):(0,t.Q3)("",!0),"vector3"===(0,u.R1)(a).frameData.type?((0,t.uX)(),(0,t.CE)(t.FK,{key:4},[(0,t.bF)((0,u.R1)(r.VyrCol),{span:8},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrInputNumber),{modelValue:(0,u.R1)(a).frameData.endValue[0],"onUpdate:modelValue":e[17]||(e[17]=l=>(0,u.R1)(a).frameData.endValue[0]=l),"allow-null":!1},null,8,["modelValue"])]),_:1}),(0,t.bF)((0,u.R1)(r.VyrCol),{span:8},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrInputNumber),{modelValue:(0,u.R1)(a).frameData.endValue[1],"onUpdate:modelValue":e[18]||(e[18]=l=>(0,u.R1)(a).frameData.endValue[1]=l),"allow-null":!1},null,8,["modelValue"])]),_:1}),(0,t.bF)((0,u.R1)(r.VyrCol),{span:8},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrInputNumber),{modelValue:(0,u.R1)(a).frameData.endValue[2],"onUpdate:modelValue":e[19]||(e[19]=l=>(0,u.R1)(a).frameData.endValue[2]=l),"allow-null":!1},null,8,["modelValue"])]),_:1})],64)):(0,t.Q3)("",!0),"euler"===(0,u.R1)(a).frameData.type?((0,t.uX)(),(0,t.CE)(t.FK,{key:5},[(0,t.bF)((0,u.R1)(r.VyrCol),{span:8},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrInputNumber),{modelValue:(0,u.R1)(a).frameData.endValue[0],"onUpdate:modelValue":e[20]||(e[20]=l=>(0,u.R1)(a).frameData.endValue[0]=l),"allow-null":!1},null,8,["modelValue"])]),_:1}),(0,t.bF)((0,u.R1)(r.VyrCol),{span:8},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrInputNumber),{modelValue:(0,u.R1)(a).frameData.endValue[1],"onUpdate:modelValue":e[21]||(e[21]=l=>(0,u.R1)(a).frameData.endValue[1]=l),"allow-null":!1},null,8,["modelValue"])]),_:1}),(0,t.bF)((0,u.R1)(r.VyrCol),{span:8},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrInputNumber),{modelValue:(0,u.R1)(a).frameData.endValue[2],"onUpdate:modelValue":e[22]||(e[22]=l=>(0,u.R1)(a).frameData.endValue[2]=l),"allow-null":!1},null,8,["modelValue"])]),_:1})],64)):(0,t.Q3)("",!0)]),_:1},8,["label"])]),_:1}),(0,t.bF)((0,u.R1)(r.VyrRow),null,{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrLabel),{label:(0,u.R1)(d.B).get("inspector.AnimationUnit.duration")},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrCol),null,{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrInputNumber),{modelValue:(0,u.R1)(a).duration,"onUpdate:modelValue":e[23]||(e[23]=l=>(0,u.R1)(a).duration=l),"allow-null":!1},null,8,["modelValue"])]),_:1})]),_:1},8,["label"])]),_:1}),(0,t.bF)((0,u.R1)(r.VyrRow),null,{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrLabel),{label:(0,u.R1)(d.B).get("inspector.AnimationUnit.startTime")},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrCol),null,{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrInputNumber),{modelValue:(0,u.R1)(a).startTime,"onUpdate:modelValue":e[24]||(e[24]=l=>(0,u.R1)(a).startTime=l),"allow-null":!1},null,8,["modelValue"])]),_:1})]),_:1},8,["label"])]),_:1}),(0,t.bF)((0,u.R1)(r.VyrRow),null,{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrLabel),{label:(0,u.R1)(d.B).get("inspector.AnimationUnit.count")},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrCol),null,{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrInputNumber),{modelValue:(0,u.R1)(a).count,"onUpdate:modelValue":e[25]||(e[25]=l=>(0,u.R1)(a).count=l),"allow-null":!1},null,8,["modelValue"])]),_:1})]),_:1},8,["label"])]),_:1}),(0,t.bF)((0,u.R1)(r.VyrRow),null,{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrLabel),{label:(0,u.R1)(d.B).get("inspector.AnimationUnit.mode")},{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrCol),null,{default:(0,t.k6)(()=>[(0,t.bF)((0,u.R1)(r.VyrSelect),{modelValue:(0,u.R1)(a).mode,"onUpdate:modelValue":e[26]||(e[26]=l=>(0,u.R1)(a).mode=l),data:(0,u.R1)(R.Animation).modelOptions},null,8,["modelValue","data"])]),_:1})]),_:1},8,["label"])]),_:1})],64))}});const f=b;var p=f,y=(0,t.pM)({__name:"AnimationUnitViewer",props:{raw:{},uuid:{}},setup(l){const e=l,a=(0,u.KR)(null),m=l=>{if(!l)return a.value=null;a.value=n.AnimationUnitDescriptor.get(l)};return(0,t.wB)(()=>e.uuid,m,{immediate:!0}),(0,o.nh)(a),(e,n)=>a.value?((0,t.uX)(),(0,t.Wv)((0,u.R1)(r.VyrCard),{key:0,title:(0,u.R1)(d.B).get("descriptor.type.AnimationUnit"),scroll:!0},{default:(0,t.k6)(()=>[(0,t.bF)(V.A,{raw:l.raw},null,8,["raw"]),(0,t.bF)(p,{raw:l.raw},null,8,["raw"])]),_:1},8,["title"])):(0,t.Q3)("",!0)}});const i=y;var s=i}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self["webpackChunk_vyr_cli"]=self["webpackChunk_vyr_cli"]||[]).push([[2132,9751],{32132:function(n,r,t){t.r(r),t.d(r,{ArrayUtils:function(){return M.lv},Color:function(){return M.Q1},DraggableController:function(){return _.g},Listener:function(){return M.rZ},Loading:function(){return E.Rh},NotifySetting:function(){return G.G8},ResizeListener:function(){return w.T},RightMenuSetting:function(){return G.Eo},Theme:function(){return e.S},VyrButton:function(){return o.A},VyrCard:function(){return c.A},VyrCascader:function(){return f.A},VyrChecked:function(){return a.A},VyrCheckedGroup:function(){return y.A},VyrCol:function(){return g.A},VyrColorPicker:function(){return l.A},VyrDialog:function(){return V.A},VyrDivider:function(){return i.A},VyrDraggable:function(){return p.A},VyrDrapdown:function(){return A.A},VyrDynamicLayouter:function(){return s.A},VyrForm:function(){return d.A},VyrInput:function(){return C.A},VyrInputNumber:function(){return L.A},VyrLabel:function(){return m.A},VyrMask:function(){return v.A},VyrOption:function(){return h.A},VyrOptions:function(){return D.A},VyrPopover:function(){return S.A},VyrProvider:function(){return b.A},VyrRightMenu:function(){return P.A},VyrRow:function(){return R.A},VyrScroll:function(){return k.A},VyrSelect:function(){return F.A},VyrSlot:function(){return u.A},VyrTree:function(){return O.A},addFloatLayer:function(){return G.r4},computedFloatLayer:function(){return G.tg},confirm:function(){return E.lJ},confirmKey:function(){return G.GR},createPopper:function(){return G.n4},dialog:function(){return E.r3},dialogKey:function(){return G.SE},dialogPrivateWarp:function(){return G.g_},dynamicLayouterlisteners:function(){return G.CG},floatLayer:function(){return G.iF},generateFloatLayer:function(){return G.pi},getConfirmState:function(){return G.Wz},getDialogHeight:function(){return G.Ub},getDialogState:function(){return G.MX},getDialogWrapHeight:function(){return G.YZ},getDialogWrapRect:function(){return G.Tl},getDirective:function(){return G.e8},getFirstVNode:function(){return G.RB},getInputValue:function(){return G.y5},getOnlyNode:function(){return G.ZO},getOptions:function(){return G.$E},getSearchOptions:function(){return G.Ds},getSelectOptions:function(){return G.pN},inputNumberReExp:function(){return G.ap},isActiveLayer:function(){return G.mo},isContains:function(){return G.c5},language:function(){return N.B},loading:function(){return E.Lq},notify:function(){return E.me},observer:function(){return G.PA},removeFloatLayer:function(){return G.Cn},seActiveLayer:function(){return G.gV},tooltip:function(){return G.YL},useConfirmState:function(){return G.V2},useDialogState:function(){return G.pA},zhCnLanguageProvider:function(){return N.t}});var e=t(32946),u=t(7931),o=t(62687),i=t(41030),c=t(62517),f=t(67079),a=t(43554),y=t(33947),g=t(15687),l=t(38430),A=t(68676),V=t(8715),p=t(66384),s=t(91905),d=t(75465),C=t(18985),L=t(55522),m=t(91023),v=t(73923),h=t(81320),D=t(54963),S=t(67698),b=t(72756),R=t(98433),k=t(60460),F=t(62263),O=t(60651),P=t(78966),N=t(7135),_=t(57744),w=t(4615),E=t(1307),G=t(93623),M=t(29255)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self["webpackChunk_vyr_cli"]=self["webpackChunk_vyr_cli"]||[]).push([[9842],{19842:function(e,t,i){i.r(t),i.d(t,{conf:function(){return r},language:function(){return l}});i(99771),i(50596),i(11500),i(77600),i(36830),i(26555),i(90124),i(35185),i(63646),i(4668),i(71618),i(63308),i(36078),i(15650),i(30228),i(16525),i(38155),i(84382),i(52822),i(83894),i(313),i(73910),i(93850),i(80662),i(61637),i(60102),i(23898),i(38203),i(68814),i(62037),i(2514),i(28188),i(82211),i(70998),i(6186),i(3998),i(6618),i(77998),i(48348),i(51806),i(33298),i(70496),i(14742),i(52356),i(35763),i(3364),i(33468),i(92030),i(23766),i(25726),i(59036),i(13612),i(5014),i(93168),i(68520),i(69962),i(28510),i(91516),i(185),i(46142),i(2009),i(36999),i(6872),i(9742),i(63558),i(65795),i(21233),i(14990),i(17791),i(36496);var n=i(44755);const o=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],r={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,brackets:[["\x3c!--","--\x3e"],["<",">"],["{{","}}"],["{%","%}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"%",close:"%"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${o.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:n.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${o.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:n.languages.IndentAction.Indent}}]},l={defaultToken:"",tokenPostfix:"",builtinTags:["if","else","elseif","endif","render","assign","capture","endcapture","case","endcase","comment","endcomment","cycle","decrement","for","endfor","include","increment","layout","raw","endraw","render","tablerow","endtablerow","unless","endunless"],builtinFilters:["abs","append","at_least","at_most","capitalize","ceil","compact","date","default","divided_by","downcase","escape","escape_once","first","floor","join","json","last","lstrip","map","minus","modulo","newline_to_br","plus","prepend","remove","remove_first","replace","replace_first","reverse","round","rstrip","size","slice","sort","sort_natural","split","strip","strip_html","strip_newlines","times","truncate","truncatewords","uniq","upcase","url_decode","url_encode","where"],constants:["true","false"],operators:["==","!=",">","<",">=","<="],symbol:/[=><!]+/,identifier:/[a-zA-Z_][\w]*/,tokenizer:{root:[[/\{\%\s*comment\s*\%\}/,"comment.start.liquid","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@liquidState.root"}],[/\{\%/,{token:"@rematch",switchTo:"@liquidState.root"}],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)([\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/\{/,"delimiter.html"],[/[^<{]+/]],comment:[[/\{\%\s*endcomment\s*\%\}/,"comment.end.liquid","@pop"],[/./,"comment.content.liquid"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@liquidState.otherTag"}],[/\{\%/,{token:"@rematch",switchTo:"@liquidState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],liquidState:[[/\{\{/,"delimiter.output.liquid"],[/\}\}/,{token:"delimiter.output.liquid",switchTo:"@$S2.$S3"}],[/\{\%/,"delimiter.tag.liquid"],[/raw\s*\%\}/,"delimiter.tag.liquid","@liquidRaw"],[/\%\}/,{token:"delimiter.tag.liquid",switchTo:"@$S2.$S3"}],{include:"liquidRoot"}],liquidRaw:[[/^(?!\{\%\s*endraw\s*\%\}).+/],[/\{\%/,"delimiter.tag.liquid"],[/@identifier/],[/\%\}/,{token:"delimiter.tag.liquid",next:"@root"}]],liquidRoot:[[/\d+(\.\d+)?/,"number.liquid"],[/"[^"]*"/,"string.liquid"],[/'[^']*'/,"string.liquid"],[/\s+/],[/@symbol/,{cases:{"@operators":"operator.liquid","@default":""}}],[/\./],[/@identifier/,{cases:{"@constants":"keyword.liquid","@builtinFilters":"predefined.liquid","@builtinTags":"predefined.liquid","@default":"variable.liquid"}}],[/[^}|%]/,"variable.liquid"]]}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self["webpackChunk_vyr_cli"]=self["webpackChunk_vyr_cli"]||[]).push([[2328,9947],{92328:function(n,e,r){r.r(e),r.d(e,{Bridge:function(){return o.q},Collection:function(){return c.p},Job:function(){return u._},RemoteExecutor:function(){return i.Q},RemoteInvoker:function(){return a.p},RemoteProcess:function(){return f.u},language:function(){return t.B},zhCnLanguageProvider:function(){return t.t}});var t=r(28723),u=r(84105),o=r(76379),c=r(70026),i=r(93355),f=r(70151),a=r(22984)}}]);
|