@realsee/vreo 1.0.0-alpha.2 → 1.0.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/docs/assets/search.js +1 -1
  2. package/docs/classes/Player.AudioLike.html +2 -2
  3. package/docs/classes/Player.Controller.html +3 -3
  4. package/docs/classes/Player.Player-1.html +4 -4
  5. package/docs/classes/Player.VideoAgentMesh.html +11 -11
  6. package/docs/classes/Player.VideoAgentScene.html +1 -1
  7. package/docs/demo/assets/{AppReact.d0ee843a.js → AppReact.af796f8b.js} +1 -1
  8. package/docs/demo/assets/{default.63925584.js → default.3cc022d8.js} +1 -1
  9. package/docs/demo/assets/{dynamic.76506c2c.js → dynamic.f0c02245.js} +1 -1
  10. package/docs/demo/assets/{examples.3d8323db.js → examples.2f3e9989.js} +1 -1
  11. package/docs/demo/assets/{index.7e31122c.js → index.9a1e2626.js} +1 -1
  12. package/docs/demo/assets/{main.79b11b9d.js → main.8bd82ead.js} +1 -1
  13. package/docs/demo/assets/{react.c1c07c14.js → react.6dba1116.js} +1 -1
  14. package/docs/demo/examples.html +2 -2
  15. package/docs/demo/index-react-dynamic.html +4 -4
  16. package/docs/demo/index-react.html +4 -4
  17. package/docs/demo/index.html +3 -3
  18. package/docs/enums/Player.InfoPanelStyleEnum.html +1 -1
  19. package/docs/enums/Player.InfoPanelTypeEnum.html +1 -1
  20. package/docs/enums/Player.PanoEffectEnum.html +1 -1
  21. package/docs/enums/Player.PanoTagEnum.html +1 -1
  22. package/docs/enums/Player.PanoTagStyleEnum.html +2 -2
  23. package/docs/enums/Player.VreoKeyframeEnum.html +12 -12
  24. package/docs/enums/fivePlugins.CameraMovementEffect.html +1 -1
  25. package/docs/enums/fivePlugins.Rotation.html +1 -1
  26. package/docs/interfaces/Player.CustomVreoKeyframeProps.html +1 -1
  27. package/docs/interfaces/Player.PlayerConfigs.html +3 -3
  28. package/docs/interfaces/Player.Vertex.html +1 -1
  29. package/docs/interfaces/Player.VideoAgentMeshOptions.html +3 -3
  30. package/docs/interfaces/Player.VreoKeyframe.html +1 -1
  31. package/docs/interfaces/Player.VreoUnit.html +1 -1
  32. package/docs/interfaces/Player.VreoVideo.html +1 -1
  33. package/docs/interfaces/fivePlugins.CSS3DRenderPluginExportType.html +2 -2
  34. package/docs/interfaces/fivePlugins.CameraMovementOptsCallback.html +1 -1
  35. package/docs/interfaces/fivePlugins.CameraMovementPluginExportType.html +2 -2
  36. package/docs/interfaces/fivePlugins.ModelTVVideoPluginData.html +1 -1
  37. package/docs/interfaces/fivePlugins.ModelTVVideoPluginExportType.html +1 -1
  38. package/docs/interfaces/fivePlugins.ModelTVVideoPluginParameterType.html +1 -1
  39. package/docs/interfaces/fivePlugins.Vector3Position.html +1 -1
  40. package/docs/interfaces/react.VreoActionCallbacks.html +6 -6
  41. package/docs/interfaces/react.VreoProviderProps.html +1 -1
  42. package/docs/modules/Player.html +16 -16
  43. package/docs/modules/custom.html +1 -1
  44. package/docs/modules/fivePlugins.html +3 -3
  45. package/docs/modules/react.html +1 -1
  46. package/lib/Player/Controller.d.ts +2 -2
  47. package/lib/Player/Controller.js +10 -2
  48. package/lib/typings/VreoUnit.d.ts +1 -1
  49. package/package.json +1 -1
  50. package/resources/Player/Controller.ts +3 -6
  51. package/resources/typings/VreoUnit.ts +1 -1
@@ -3692,7 +3692,7 @@ Z
3692
3692
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var storedAnnotationsSymbol=Symbol("mobx-stored-annotations");function createDecoratorAnnotation(_u){function Tu(Cu,Pu){storeAnnotation(Cu,Pu,_u)}return Object.assign(Tu,_u)}function storeAnnotation(_u,Tu,Cu){hasProp(_u,storedAnnotationsSymbol)||addHiddenProp(_u,storedAnnotationsSymbol,_extends({},_u[storedAnnotationsSymbol])),isOverride(Cu)||(_u[storedAnnotationsSymbol][Tu]=Cu)}function collectStoredAnnotations(_u){return hasProp(_u,storedAnnotationsSymbol)||addHiddenProp(_u,storedAnnotationsSymbol,_extends({},_u[storedAnnotationsSymbol])),_u[storedAnnotationsSymbol]}var $mobx=Symbol("mobx administration"),Atom=function(){function _u(Cu){Cu===void 0&&(Cu="Atom"),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=IDerivationState_.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=Cu}var Tu=_u.prototype;return Tu.onBO=function(){this.onBOL&&this.onBOL.forEach(function(Pu){return Pu()})},Tu.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(Pu){return Pu()})},Tu.reportObserved=function(){return reportObserved(this)},Tu.reportChanged=function(){startBatch(),propagateChanged(this),endBatch()},Tu.toString=function(){return this.name_},_u}(),isAtom=createInstanceofPredicate("Atom",Atom);function createAtom(_u,Tu,Cu){Tu===void 0&&(Tu=noop$1),Cu===void 0&&(Cu=noop$1);var Pu=new Atom(_u);return Tu!==noop$1&&onBecomeObserved(Pu,Tu),Cu!==noop$1&&onBecomeUnobserved(Pu,Cu),Pu}function identityComparer(_u,Tu){return _u===Tu}function structuralComparer(_u,Tu){return deepEqual(_u,Tu)}function shallowComparer(_u,Tu){return deepEqual(_u,Tu,1)}function defaultComparer(_u,Tu){return Object.is?Object.is(_u,Tu):_u===Tu?_u!==0||1/_u===1/Tu:_u!==_u&&Tu!==Tu}var comparer={identity:identityComparer,structural:structuralComparer,default:defaultComparer,shallow:shallowComparer};function deepEnhancer(_u,Tu,Cu){return isObservable(_u)?_u:Array.isArray(_u)?observable.array(_u,{name:Cu}):isPlainObject(_u)?observable.object(_u,void 0,{name:Cu}):isES6Map(_u)?observable.map(_u,{name:Cu}):isES6Set(_u)?observable.set(_u,{name:Cu}):typeof _u=="function"&&!isAction(_u)&&!isFlow(_u)?isGenerator(_u)?flow(_u):autoAction(Cu,_u):_u}function shallowEnhancer(_u,Tu,Cu){if(_u==null||isObservableObject(_u)||isObservableArray(_u)||isObservableMap(_u)||isObservableSet(_u))return _u;if(Array.isArray(_u))return observable.array(_u,{name:Cu,deep:!1});if(isPlainObject(_u))return observable.object(_u,void 0,{name:Cu,deep:!1});if(isES6Map(_u))return observable.map(_u,{name:Cu,deep:!1});if(isES6Set(_u))return observable.set(_u,{name:Cu,deep:!1})}function referenceEnhancer(_u){return _u}function refStructEnhancer(_u,Tu){return deepEqual(_u,Tu)?Tu:_u}var OVERRIDE="override";function isOverride(_u){return _u.annotationType_===OVERRIDE}function createActionAnnotation(_u,Tu){return{annotationType_:_u,options_:Tu,make_:make_$1,extend_:extend_$1}}function make_$1(_u,Tu,Cu,Pu){var Bu;if((Bu=this.options_)!=null&&Bu.bound)return this.extend_(_u,Tu,Cu,!1)===null?0:1;if(Pu===_u.target_)return this.extend_(_u,Tu,Cu,!1)===null?0:2;if(isAction(Cu.value))return 1;var Ru=createActionDescriptor(_u,this,Tu,Cu,!1);return defineProperty(Pu,Tu,Ru),2}function extend_$1(_u,Tu,Cu,Pu){var Bu=createActionDescriptor(_u,this,Tu,Cu);return _u.defineProperty_(Tu,Bu,Pu)}function assertActionDescriptor(_u,Tu,Cu,Pu){Tu.annotationType_,Pu.value}function createActionDescriptor(_u,Tu,Cu,Pu,Bu){var Ru,Lu,Ou,Du,$u,ku,Fu;Bu===void 0&&(Bu=globalState.safeDescriptors),assertActionDescriptor(_u,Tu,Cu,Pu);var Nu=Pu.value;if((Ru=Tu.options_)!=null&&Ru.bound){var Vu;Nu=Nu.bind((Vu=_u.proxy_)!=null?Vu:_u.target_)}return{value:createAction((Lu=(Ou=Tu.options_)==null?void 0:Ou.name)!=null?Lu:Cu.toString(),Nu,(Du=($u=Tu.options_)==null?void 0:$u.autoAction)!=null?Du:!1,(ku=Tu.options_)!=null&&ku.bound?(Fu=_u.proxy_)!=null?Fu:_u.target_:void 0),configurable:Bu?_u.isPlainObject_:!0,enumerable:!1,writable:!Bu}}function createFlowAnnotation(_u,Tu){return{annotationType_:_u,options_:Tu,make_:make_$2,extend_:extend_$2}}function make_$2(_u,Tu,Cu,Pu){var Bu;if(Pu===_u.target_)return this.extend_(_u,Tu,Cu,!1)===null?0:2;if((Bu=this.options_)!=null&&Bu.bound&&(!hasProp(_u.target_,Tu)||!isFlow(_u.target_[Tu]))&&this.extend_(_u,Tu,Cu,!1)===null)return 0;if(isFlow(Cu.value))return 1;var Ru=createFlowDescriptor(_u,this,Tu,Cu,!1,!1);return defineProperty(Pu,Tu,Ru),2}function extend_$2(_u,Tu,Cu,Pu){var Bu,Ru=createFlowDescriptor(_u,this,Tu,Cu,(Bu=this.options_)==null?void 0:Bu.bound);return _u.defineProperty_(Tu,Ru,Pu)}function assertFlowDescriptor(_u,Tu,Cu,Pu){Tu.annotationType_,Pu.value}function createFlowDescriptor(_u,Tu,Cu,Pu,Bu,Ru){Ru===void 0&&(Ru=globalState.safeDescriptors),assertFlowDescriptor(_u,Tu,Cu,Pu);var Lu=Pu.value;if(isFlow(Lu)||(Lu=flow(Lu)),Bu){var Ou;Lu=Lu.bind((Ou=_u.proxy_)!=null?Ou:_u.target_),Lu.isMobXFlow=!0}return{value:Lu,configurable:Ru?_u.isPlainObject_:!0,enumerable:!1,writable:!Ru}}function createComputedAnnotation(_u,Tu){return{annotationType_:_u,options_:Tu,make_:make_$3,extend_:extend_$3}}function make_$3(_u,Tu,Cu){return this.extend_(_u,Tu,Cu,!1)===null?0:1}function extend_$3(_u,Tu,Cu,Pu){return assertComputedDescriptor(_u,this,Tu,Cu),_u.defineComputedProperty_(Tu,_extends({},this.options_,{get:Cu.get,set:Cu.set}),Pu)}function assertComputedDescriptor(_u,Tu,Cu,Pu){Tu.annotationType_,Pu.get}function createObservableAnnotation(_u,Tu){return{annotationType_:_u,options_:Tu,make_:make_$4,extend_:extend_$4}}function make_$4(_u,Tu,Cu){return this.extend_(_u,Tu,Cu,!1)===null?0:1}function extend_$4(_u,Tu,Cu,Pu){var Bu,Ru;return assertObservableDescriptor(_u,this),_u.defineObservableProperty_(Tu,Cu.value,(Bu=(Ru=this.options_)==null?void 0:Ru.enhancer)!=null?Bu:deepEnhancer,Pu)}function assertObservableDescriptor(_u,Tu,Cu,Pu){Tu.annotationType_}var AUTO="true",autoAnnotation=createAutoAnnotation();function createAutoAnnotation(_u){return{annotationType_:AUTO,options_:_u,make_:make_$5,extend_:extend_$5}}function make_$5(_u,Tu,Cu,Pu){var Bu,Ru;if(Cu.get)return computed.make_(_u,Tu,Cu,Pu);if(Cu.set){var Lu=createAction(Tu.toString(),Cu.set);return Pu===_u.target_?_u.defineProperty_(Tu,{configurable:globalState.safeDescriptors?_u.isPlainObject_:!0,set:Lu})===null?0:2:(defineProperty(Pu,Tu,{configurable:!0,set:Lu}),2)}if(Pu!==_u.target_&&typeof Cu.value=="function"){var Ou;if(isGenerator(Cu.value)){var Du,$u=(Du=this.options_)!=null&&Du.autoBind?flow.bound:flow;return $u.make_(_u,Tu,Cu,Pu)}var ku=(Ou=this.options_)!=null&&Ou.autoBind?autoAction.bound:autoAction;return ku.make_(_u,Tu,Cu,Pu)}var Fu=((Bu=this.options_)==null?void 0:Bu.deep)===!1?observable.ref:observable;if(typeof Cu.value=="function"&&(Ru=this.options_)!=null&&Ru.autoBind){var Nu;Cu.value=Cu.value.bind((Nu=_u.proxy_)!=null?Nu:_u.target_)}return Fu.make_(_u,Tu,Cu,Pu)}function extend_$5(_u,Tu,Cu,Pu){var Bu,Ru;if(Cu.get)return computed.extend_(_u,Tu,Cu,Pu);if(Cu.set)return _u.defineProperty_(Tu,{configurable:globalState.safeDescriptors?_u.isPlainObject_:!0,set:createAction(Tu.toString(),Cu.set)},Pu);if(typeof Cu.value=="function"&&(Bu=this.options_)!=null&&Bu.autoBind){var Lu;Cu.value=Cu.value.bind((Lu=_u.proxy_)!=null?Lu:_u.target_)}var Ou=((Ru=this.options_)==null?void 0:Ru.deep)===!1?observable.ref:observable;return Ou.extend_(_u,Tu,Cu,Pu)}var OBSERVABLE="observable",OBSERVABLE_REF="observable.ref",OBSERVABLE_SHALLOW="observable.shallow",OBSERVABLE_STRUCT="observable.struct",defaultCreateObservableOptions={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};Object.freeze(defaultCreateObservableOptions);function asCreateObservableOptions(_u){return _u||defaultCreateObservableOptions}var observableAnnotation=createObservableAnnotation(OBSERVABLE),observableRefAnnotation=createObservableAnnotation(OBSERVABLE_REF,{enhancer:referenceEnhancer}),observableShallowAnnotation=createObservableAnnotation(OBSERVABLE_SHALLOW,{enhancer:shallowEnhancer}),observableStructAnnotation=createObservableAnnotation(OBSERVABLE_STRUCT,{enhancer:refStructEnhancer}),observableDecoratorAnnotation=createDecoratorAnnotation(observableAnnotation);function getEnhancerFromOptions(_u){return _u.deep===!0?deepEnhancer:_u.deep===!1?referenceEnhancer:getEnhancerFromAnnotation(_u.defaultDecorator)}function getAnnotationFromOptions(_u){var Tu;return _u?(Tu=_u.defaultDecorator)!=null?Tu:createAutoAnnotation(_u):void 0}function getEnhancerFromAnnotation(_u){var Tu,Cu;return _u&&(Tu=(Cu=_u.options_)==null?void 0:Cu.enhancer)!=null?Tu:deepEnhancer}function createObservable(_u,Tu,Cu){if(isStringish(Tu)){storeAnnotation(_u,Tu,observableAnnotation);return}return isObservable(_u)?_u:isPlainObject(_u)?observable.object(_u,Tu,Cu):Array.isArray(_u)?observable.array(_u,Tu):isES6Map(_u)?observable.map(_u,Tu):isES6Set(_u)?observable.set(_u,Tu):typeof _u=="object"&&_u!==null?_u:observable.box(_u,Tu)}Object.assign(createObservable,observableDecoratorAnnotation);var observableFactories={box:function _u(Tu,Cu){var Pu=asCreateObservableOptions(Cu);return new ObservableValue(Tu,getEnhancerFromOptions(Pu),Pu.name,!0,Pu.equals)},array:function _u(Tu,Cu){var Pu=asCreateObservableOptions(Cu);return(globalState.useProxies===!1||Pu.proxy===!1?createLegacyArray:createObservableArray)(Tu,getEnhancerFromOptions(Pu),Pu.name)},map:function _u(Tu,Cu){var Pu=asCreateObservableOptions(Cu);return new ObservableMap(Tu,getEnhancerFromOptions(Pu),Pu.name)},set:function _u(Tu,Cu){var Pu=asCreateObservableOptions(Cu);return new ObservableSet(Tu,getEnhancerFromOptions(Pu),Pu.name)},object:function _u(Tu,Cu,Pu){return extendObservable(globalState.useProxies===!1||(Pu==null?void 0:Pu.proxy)===!1?asObservableObject({},Pu):asDynamicObservableObject({},Pu),Tu,Cu)},ref:createDecoratorAnnotation(observableRefAnnotation),shallow:createDecoratorAnnotation(observableShallowAnnotation),deep:observableDecoratorAnnotation,struct:createDecoratorAnnotation(observableStructAnnotation)},observable=assign$1(createObservable,observableFactories),COMPUTED="computed",COMPUTED_STRUCT="computed.struct",computedAnnotation=createComputedAnnotation(COMPUTED),computedStructAnnotation=createComputedAnnotation(COMPUTED_STRUCT,{equals:comparer.structural}),computed=function _u(Tu,Cu){if(isStringish(Cu))return storeAnnotation(Tu,Cu,computedAnnotation);if(isPlainObject(Tu))return createDecoratorAnnotation(createComputedAnnotation(COMPUTED,Tu));var Pu=isPlainObject(Cu)?Cu:{};return Pu.get=Tu,Pu.name||(Pu.name=Tu.name||""),new ComputedValue(Pu)};Object.assign(computed,computedAnnotation);computed.struct=createDecoratorAnnotation(computedStructAnnotation);var _getDescriptor$config,_getDescriptor,currentActionId=0,nextActionId=1,isFunctionNameConfigurable=(_getDescriptor$config=(_getDescriptor=getDescriptor(function(){},"name"))==null?void 0:_getDescriptor.configurable)!=null?_getDescriptor$config:!1,tmpNameDescriptor={value:"action",configurable:!0,writable:!1,enumerable:!1};function createAction(_u,Tu,Cu,Pu){Cu===void 0&&(Cu=!1);function Bu(){return executeAction(_u,Cu,Tu,Pu||this,arguments)}return Bu.isMobxAction=!0,isFunctionNameConfigurable&&(tmpNameDescriptor.value=_u,Object.defineProperty(Bu,"name",tmpNameDescriptor)),Bu}function executeAction(_u,Tu,Cu,Pu,Bu){var Ru=_startAction(_u,Tu);try{return Cu.apply(Pu,Bu)}catch(Lu){throw Ru.error_=Lu,Lu}finally{_endAction(Ru)}}function _startAction(_u,Tu,Cu,Pu){var Bu=!1,Ru=0,Lu=globalState.trackingDerivation,Ou=!Tu||!Lu;startBatch();var Du=globalState.allowStateChanges;Ou&&(untrackedStart(),Du=allowStateChangesStart(!0));var $u=allowStateReadsStart(!0),ku={runAsAction_:Ou,prevDerivation_:Lu,prevAllowStateChanges_:Du,prevAllowStateReads_:$u,notifySpy_:Bu,startTime_:Ru,actionId_:nextActionId++,parentActionId_:currentActionId};return currentActionId=ku.actionId_,ku}function _endAction(_u){currentActionId!==_u.actionId_&&die(30),currentActionId=_u.parentActionId_,_u.error_!==void 0&&(globalState.suppressReactionErrors=!0),allowStateChangesEnd(_u.prevAllowStateChanges_),allowStateReadsEnd(_u.prevAllowStateReads_),endBatch(),_u.runAsAction_&&untrackedEnd(_u.prevDerivation_),globalState.suppressReactionErrors=!1}function allowStateChanges(_u,Tu){var Cu=allowStateChangesStart(_u);try{return Tu()}finally{allowStateChangesEnd(Cu)}}function allowStateChangesStart(_u){var Tu=globalState.allowStateChanges;return globalState.allowStateChanges=_u,Tu}function allowStateChangesEnd(_u){globalState.allowStateChanges=_u}var _Symbol$toPrimitive;_Symbol$toPrimitive=Symbol.toPrimitive;var ObservableValue=function(_u,Tu){_inheritsLoose(Cu,_u);function Cu(Bu,Ru,Lu,Ou,Du){var $u;return Lu===void 0&&(Lu="ObservableValue"),Du===void 0&&(Du=comparer.default),$u=_u.call(this,Lu)||this,$u.enhancer=void 0,$u.name_=void 0,$u.equals=void 0,$u.hasUnreportedChange_=!1,$u.interceptors_=void 0,$u.changeListeners_=void 0,$u.value_=void 0,$u.dehancer=void 0,$u.enhancer=Ru,$u.name_=Lu,$u.equals=Du,$u.value_=Ru(Bu,void 0,Lu),$u}var Pu=Cu.prototype;return Pu.dehanceValue=function(Ru){return this.dehancer!==void 0?this.dehancer(Ru):Ru},Pu.set=function(Ru){this.value_,Ru=this.prepareNewValue_(Ru),Ru!==globalState.UNCHANGED&&this.setNewValue_(Ru)},Pu.prepareNewValue_=function(Ru){if(hasInterceptors(this)){var Lu=interceptChange(this,{object:this,type:UPDATE,newValue:Ru});if(!Lu)return globalState.UNCHANGED;Ru=Lu.newValue}return Ru=this.enhancer(Ru,this.value_,this.name_),this.equals(this.value_,Ru)?globalState.UNCHANGED:Ru},Pu.setNewValue_=function(Ru){var Lu=this.value_;this.value_=Ru,this.reportChanged(),hasListeners(this)&&notifyListeners(this,{type:UPDATE,object:this,newValue:Ru,oldValue:Lu})},Pu.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},Pu.intercept_=function(Ru){return registerInterceptor(this,Ru)},Pu.observe_=function(Ru,Lu){return Lu&&Ru({observableKind:"value",debugObjectName:this.name_,object:this,type:UPDATE,newValue:this.value_,oldValue:void 0}),registerListener(this,Ru)},Pu.raw=function(){return this.value_},Pu.toJSON=function(){return this.get()},Pu.toString=function(){return this.name_+"["+this.value_+"]"},Pu.valueOf=function(){return toPrimitive(this.get())},Pu[Tu]=function(){return this.valueOf()},Cu}(Atom,_Symbol$toPrimitive),_Symbol$toPrimitive$1;_Symbol$toPrimitive$1=Symbol.toPrimitive;var ComputedValue=function(_u){function Tu(Pu){this.dependenciesState_=IDerivationState_.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.isBeingObserved_=!1,this.isPendingUnobservation_=!1,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=IDerivationState_.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new CaughtException(null),this.name_=void 0,this.triggeredBy_=void 0,this.isComputing_=!1,this.isRunningSetter_=!1,this.derivation=void 0,this.setter_=void 0,this.isTracing_=TraceMode.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,Pu.get||die(31),this.derivation=Pu.get,this.name_=Pu.name||"ComputedValue",Pu.set&&(this.setter_=createAction("ComputedValue-setter",Pu.set)),this.equals_=Pu.equals||(Pu.compareStructural||Pu.struct?comparer.structural:comparer.default),this.scope_=Pu.context,this.requiresReaction_=Pu.requiresReaction,this.keepAlive_=!!Pu.keepAlive}var Cu=Tu.prototype;return Cu.onBecomeStale_=function(){propagateMaybeChanged(this)},Cu.onBO=function(){this.onBOL&&this.onBOL.forEach(function(Bu){return Bu()})},Cu.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(Bu){return Bu()})},Cu.get=function(){if(this.isComputing_&&die(32,this.name_,this.derivation),globalState.inBatch===0&&this.observers_.size===0&&!this.keepAlive_)shouldCompute(this)&&(this.warnAboutUntrackedRead_(),startBatch(),this.value_=this.computeValue_(!1),endBatch());else if(reportObserved(this),shouldCompute(this)){var Bu=globalState.trackingContext;this.keepAlive_&&!Bu&&(globalState.trackingContext=this),this.trackAndCompute()&&propagateChangeConfirmed(this),globalState.trackingContext=Bu}var Ru=this.value_;if(isCaughtException(Ru))throw Ru.cause;return Ru},Cu.set=function(Bu){if(this.setter_){this.isRunningSetter_&&die(33,this.name_),this.isRunningSetter_=!0;try{this.setter_.call(this.scope_,Bu)}finally{this.isRunningSetter_=!1}}else die(34,this.name_)},Cu.trackAndCompute=function(){var Bu=this.value_,Ru=this.dependenciesState_===IDerivationState_.NOT_TRACKING_,Lu=this.computeValue_(!0),Ou=Ru||isCaughtException(Bu)||isCaughtException(Lu)||!this.equals_(Bu,Lu);return Ou&&(this.value_=Lu),Ou},Cu.computeValue_=function(Bu){this.isComputing_=!0;var Ru=allowStateChangesStart(!1),Lu;if(Bu)Lu=trackDerivedFunction(this,this.derivation,this.scope_);else if(globalState.disableErrorBoundaries===!0)Lu=this.derivation.call(this.scope_);else try{Lu=this.derivation.call(this.scope_)}catch(Ou){Lu=new CaughtException(Ou)}return allowStateChangesEnd(Ru),this.isComputing_=!1,Lu},Cu.suspend_=function(){this.keepAlive_||(clearObserving(this),this.value_=void 0)},Cu.observe_=function(Bu,Ru){var Lu=this,Ou=!0,Du=void 0;return autorun(function(){var $u=Lu.get();if(!Ou||Ru){var ku=untrackedStart();Bu({observableKind:"computed",debugObjectName:Lu.name_,type:UPDATE,object:Lu,newValue:$u,oldValue:Du}),untrackedEnd(ku)}Ou=!1,Du=$u})},Cu.warnAboutUntrackedRead_=function(){},Cu.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},Cu.valueOf=function(){return toPrimitive(this.get())},Cu[_u]=function(){return this.valueOf()},Tu}(_Symbol$toPrimitive$1),isComputedValue=createInstanceofPredicate("ComputedValue",ComputedValue),IDerivationState_;(function(_u){_u[_u.NOT_TRACKING_=-1]="NOT_TRACKING_",_u[_u.UP_TO_DATE_=0]="UP_TO_DATE_",_u[_u.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",_u[_u.STALE_=2]="STALE_"})(IDerivationState_||(IDerivationState_={}));var TraceMode;(function(_u){_u[_u.NONE=0]="NONE",_u[_u.LOG=1]="LOG",_u[_u.BREAK=2]="BREAK"})(TraceMode||(TraceMode={}));var CaughtException=function _u(Tu){this.cause=void 0,this.cause=Tu};function isCaughtException(_u){return _u instanceof CaughtException}function shouldCompute(_u){switch(_u.dependenciesState_){case IDerivationState_.UP_TO_DATE_:return!1;case IDerivationState_.NOT_TRACKING_:case IDerivationState_.STALE_:return!0;case IDerivationState_.POSSIBLY_STALE_:{for(var Tu=allowStateReadsStart(!0),Cu=untrackedStart(),Pu=_u.observing_,Bu=Pu.length,Ru=0;Ru<Bu;Ru++){var Lu=Pu[Ru];if(isComputedValue(Lu)){if(globalState.disableErrorBoundaries)Lu.get();else try{Lu.get()}catch{return untrackedEnd(Cu),allowStateReadsEnd(Tu),!0}if(_u.dependenciesState_===IDerivationState_.STALE_)return untrackedEnd(Cu),allowStateReadsEnd(Tu),!0}}return changeDependenciesStateTo0(_u),untrackedEnd(Cu),allowStateReadsEnd(Tu),!1}}}function checkIfStateModificationsAreAllowed(_u){}function trackDerivedFunction(_u,Tu,Cu){var Pu=allowStateReadsStart(!0);changeDependenciesStateTo0(_u),_u.newObserving_=new Array(_u.observing_.length+100),_u.unboundDepsCount_=0,_u.runId_=++globalState.runId;var Bu=globalState.trackingDerivation;globalState.trackingDerivation=_u,globalState.inBatch++;var Ru;if(globalState.disableErrorBoundaries===!0)Ru=Tu.call(Cu);else try{Ru=Tu.call(Cu)}catch(Lu){Ru=new CaughtException(Lu)}return globalState.inBatch--,globalState.trackingDerivation=Bu,bindDependencies(_u),allowStateReadsEnd(Pu),Ru}function bindDependencies(_u){for(var Tu=_u.observing_,Cu=_u.observing_=_u.newObserving_,Pu=IDerivationState_.UP_TO_DATE_,Bu=0,Ru=_u.unboundDepsCount_,Lu=0;Lu<Ru;Lu++){var Ou=Cu[Lu];Ou.diffValue_===0&&(Ou.diffValue_=1,Bu!==Lu&&(Cu[Bu]=Ou),Bu++),Ou.dependenciesState_>Pu&&(Pu=Ou.dependenciesState_)}for(Cu.length=Bu,_u.newObserving_=null,Ru=Tu.length;Ru--;){var Du=Tu[Ru];Du.diffValue_===0&&removeObserver(Du,_u),Du.diffValue_=0}for(;Bu--;){var $u=Cu[Bu];$u.diffValue_===1&&($u.diffValue_=0,addObserver($u,_u))}Pu!==IDerivationState_.UP_TO_DATE_&&(_u.dependenciesState_=Pu,_u.onBecomeStale_())}function clearObserving(_u){var Tu=_u.observing_;_u.observing_=[];for(var Cu=Tu.length;Cu--;)removeObserver(Tu[Cu],_u);_u.dependenciesState_=IDerivationState_.NOT_TRACKING_}function untracked(_u){var Tu=untrackedStart();try{return _u()}finally{untrackedEnd(Tu)}}function untrackedStart(){var _u=globalState.trackingDerivation;return globalState.trackingDerivation=null,_u}function untrackedEnd(_u){globalState.trackingDerivation=_u}function allowStateReadsStart(_u){var Tu=globalState.allowStateReads;return globalState.allowStateReads=_u,Tu}function allowStateReadsEnd(_u){globalState.allowStateReads=_u}function changeDependenciesStateTo0(_u){if(_u.dependenciesState_!==IDerivationState_.UP_TO_DATE_){_u.dependenciesState_=IDerivationState_.UP_TO_DATE_;for(var Tu=_u.observing_,Cu=Tu.length;Cu--;)Tu[Cu].lowestObserverState_=IDerivationState_.UP_TO_DATE_}}var MobXGlobals=function _u(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},canMergeGlobalState=!0,isolateCalled=!1,globalState=function(){var _u=getGlobal();return _u.__mobxInstanceCount>0&&!_u.__mobxGlobals&&(canMergeGlobalState=!1),_u.__mobxGlobals&&_u.__mobxGlobals.version!==new MobXGlobals().version&&(canMergeGlobalState=!1),canMergeGlobalState?_u.__mobxGlobals?(_u.__mobxInstanceCount+=1,_u.__mobxGlobals.UNCHANGED||(_u.__mobxGlobals.UNCHANGED={}),_u.__mobxGlobals):(_u.__mobxInstanceCount=1,_u.__mobxGlobals=new MobXGlobals):(setTimeout(function(){isolateCalled||die(35)},1),new MobXGlobals)}();function isolateGlobalState(){if((globalState.pendingReactions.length||globalState.inBatch||globalState.isRunningReactions)&&die(36),isolateCalled=!0,canMergeGlobalState){var _u=getGlobal();--_u.__mobxInstanceCount===0&&(_u.__mobxGlobals=void 0),globalState=new MobXGlobals}}function addObserver(_u,Tu){_u.observers_.add(Tu),_u.lowestObserverState_>Tu.dependenciesState_&&(_u.lowestObserverState_=Tu.dependenciesState_)}function removeObserver(_u,Tu){_u.observers_.delete(Tu),_u.observers_.size===0&&queueForUnobservation(_u)}function queueForUnobservation(_u){_u.isPendingUnobservation_===!1&&(_u.isPendingUnobservation_=!0,globalState.pendingUnobservations.push(_u))}function startBatch(){globalState.inBatch++}function endBatch(){if(--globalState.inBatch===0){runReactions();for(var _u=globalState.pendingUnobservations,Tu=0;Tu<_u.length;Tu++){var Cu=_u[Tu];Cu.isPendingUnobservation_=!1,Cu.observers_.size===0&&(Cu.isBeingObserved_&&(Cu.isBeingObserved_=!1,Cu.onBUO()),Cu instanceof ComputedValue&&Cu.suspend_())}globalState.pendingUnobservations=[]}}function reportObserved(_u){var Tu=globalState.trackingDerivation;return Tu!==null?(Tu.runId_!==_u.lastAccessedBy_&&(_u.lastAccessedBy_=Tu.runId_,Tu.newObserving_[Tu.unboundDepsCount_++]=_u,!_u.isBeingObserved_&&globalState.trackingContext&&(_u.isBeingObserved_=!0,_u.onBO())),!0):(_u.observers_.size===0&&globalState.inBatch>0&&queueForUnobservation(_u),!1)}function propagateChanged(_u){_u.lowestObserverState_!==IDerivationState_.STALE_&&(_u.lowestObserverState_=IDerivationState_.STALE_,_u.observers_.forEach(function(Tu){Tu.dependenciesState_===IDerivationState_.UP_TO_DATE_&&Tu.onBecomeStale_(),Tu.dependenciesState_=IDerivationState_.STALE_}))}function propagateChangeConfirmed(_u){_u.lowestObserverState_!==IDerivationState_.STALE_&&(_u.lowestObserverState_=IDerivationState_.STALE_,_u.observers_.forEach(function(Tu){Tu.dependenciesState_===IDerivationState_.POSSIBLY_STALE_?Tu.dependenciesState_=IDerivationState_.STALE_:Tu.dependenciesState_===IDerivationState_.UP_TO_DATE_&&(_u.lowestObserverState_=IDerivationState_.UP_TO_DATE_)}))}function propagateMaybeChanged(_u){_u.lowestObserverState_===IDerivationState_.UP_TO_DATE_&&(_u.lowestObserverState_=IDerivationState_.POSSIBLY_STALE_,_u.observers_.forEach(function(Tu){Tu.dependenciesState_===IDerivationState_.UP_TO_DATE_&&(Tu.dependenciesState_=IDerivationState_.POSSIBLY_STALE_,Tu.onBecomeStale_())}))}var Reaction=function(){function _u(Cu,Pu,Bu,Ru){Cu===void 0&&(Cu="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=IDerivationState_.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=TraceMode.NONE,this.name_=Cu,this.onInvalidate_=Pu,this.errorHandler_=Bu,this.requiresObservable_=Ru}var Tu=_u.prototype;return Tu.onBecomeStale_=function(){this.schedule_()},Tu.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,globalState.pendingReactions.push(this),runReactions())},Tu.isScheduled=function(){return this.isScheduled_},Tu.runReaction_=function(){if(!this.isDisposed_){startBatch(),this.isScheduled_=!1;var Pu=globalState.trackingContext;if(globalState.trackingContext=this,shouldCompute(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(Bu){this.reportExceptionInDerivation_(Bu)}}globalState.trackingContext=Pu,endBatch()}},Tu.track=function(Pu){if(!this.isDisposed_){startBatch(),this.isRunning_=!0;var Bu=globalState.trackingContext;globalState.trackingContext=this;var Ru=trackDerivedFunction(this,Pu,void 0);globalState.trackingContext=Bu,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&clearObserving(this),isCaughtException(Ru)&&this.reportExceptionInDerivation_(Ru.cause),endBatch()}},Tu.reportExceptionInDerivation_=function(Pu){var Bu=this;if(this.errorHandler_){this.errorHandler_(Pu,this);return}if(globalState.disableErrorBoundaries)throw Pu;var Ru="[mobx] uncaught error in '"+this+"'";globalState.suppressReactionErrors||console.error(Ru,Pu),globalState.globalReactionErrorHandlers.forEach(function(Lu){return Lu(Pu,Bu)})},Tu.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(startBatch(),clearObserving(this),endBatch()))},Tu.getDisposer_=function(){var Pu=this.dispose.bind(this);return Pu[$mobx]=this,Pu},Tu.toString=function(){return"Reaction["+this.name_+"]"},Tu.trace=function(Pu){Pu===void 0&&(Pu=!1),trace(this,Pu)},_u}(),MAX_REACTION_ITERATIONS=100,reactionScheduler=function _u(Tu){return Tu()};function runReactions(){globalState.inBatch>0||globalState.isRunningReactions||reactionScheduler(runReactionsHelper)}function runReactionsHelper(){globalState.isRunningReactions=!0;for(var _u=globalState.pendingReactions,Tu=0;_u.length>0;){++Tu===MAX_REACTION_ITERATIONS&&(console.error("[mobx] cycle in reaction: "+_u[0]),_u.splice(0));for(var Cu=_u.splice(0),Pu=0,Bu=Cu.length;Pu<Bu;Pu++)Cu[Pu].runReaction_()}globalState.isRunningReactions=!1}var isReaction=createInstanceofPredicate("Reaction",Reaction);function setReactionScheduler(_u){var Tu=reactionScheduler;reactionScheduler=function(Pu){return _u(function(){return Tu(Pu)})}}function isSpyEnabled(){return!1}function spyReport(_u){}function spyReportStart(_u){}function spyReportEnd(_u){}function spy(_u){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}}var ACTION="action",ACTION_BOUND="action.bound",AUTOACTION="autoAction",AUTOACTION_BOUND="autoAction.bound",DEFAULT_ACTION_NAME="<unnamed action>",actionAnnotation=createActionAnnotation(ACTION),actionBoundAnnotation=createActionAnnotation(ACTION_BOUND,{bound:!0}),autoActionAnnotation=createActionAnnotation(AUTOACTION,{autoAction:!0}),autoActionBoundAnnotation=createActionAnnotation(AUTOACTION_BOUND,{autoAction:!0,bound:!0});function createActionFactory(_u){var Tu=function(Pu,Bu){if(isFunction(Pu))return createAction(Pu.name||DEFAULT_ACTION_NAME,Pu,_u);if(isFunction(Bu))return createAction(Pu,Bu,_u);if(isStringish(Bu))return storeAnnotation(Pu,Bu,_u?autoActionAnnotation:actionAnnotation);if(isStringish(Pu))return createDecoratorAnnotation(createActionAnnotation(_u?AUTOACTION:ACTION,{name:Pu,autoAction:_u}))};return Tu}var action=createActionFactory(!1);Object.assign(action,actionAnnotation);var autoAction=createActionFactory(!0);Object.assign(autoAction,autoActionAnnotation);action.bound=createDecoratorAnnotation(actionBoundAnnotation);autoAction.bound=createDecoratorAnnotation(autoActionBoundAnnotation);function runInAction(_u){return executeAction(_u.name||DEFAULT_ACTION_NAME,!1,_u,this,void 0)}function isAction(_u){return isFunction(_u)&&_u.isMobxAction===!0}function autorun(_u,Tu){var Cu,Pu;Tu===void 0&&(Tu=EMPTY_OBJECT);var Bu=(Cu=(Pu=Tu)==null?void 0:Pu.name)!=null?Cu:"Autorun",Ru=!Tu.scheduler&&!Tu.delay,Lu;if(Ru)Lu=new Reaction(Bu,function(){this.track($u)},Tu.onError,Tu.requiresObservable);else{var Ou=createSchedulerFromOptions(Tu),Du=!1;Lu=new Reaction(Bu,function(){Du||(Du=!0,Ou(function(){Du=!1,Lu.isDisposed_||Lu.track($u)}))},Tu.onError,Tu.requiresObservable)}function $u(){_u(Lu)}return Lu.schedule_(),Lu.getDisposer_()}var run$1=function _u(Tu){return Tu()};function createSchedulerFromOptions(_u){return _u.scheduler?_u.scheduler:_u.delay?function(Tu){return setTimeout(Tu,_u.delay)}:run$1}function reaction(_u,Tu,Cu){var Pu;Cu===void 0&&(Cu=EMPTY_OBJECT);var Bu=(Pu=Cu.name)!=null?Pu:"Reaction",Ru=action(Bu,Cu.onError?wrapErrorHandler(Cu.onError,Tu):Tu),Lu=!Cu.scheduler&&!Cu.delay,Ou=createSchedulerFromOptions(Cu),Du=!0,$u=!1,ku,Fu,Nu=Cu.compareStructural?comparer.structural:Cu.equals||comparer.default,Vu=new Reaction(Bu,function(){Du||Lu?Gu():$u||($u=!0,Ou(Gu))},Cu.onError,Cu.requiresObservable);function Gu(){if($u=!1,!Vu.isDisposed_){var Hu=!1;Vu.track(function(){var ju=allowStateChanges(!1,function(){return _u(Vu)});Hu=Du||!Nu(ku,ju),Fu=ku,ku=ju}),(Du&&Cu.fireImmediately||!Du&&Hu)&&Ru(ku,Fu,Vu),Du=!1}}return Vu.schedule_(),Vu.getDisposer_()}function wrapErrorHandler(_u,Tu){return function(){try{return Tu.apply(this,arguments)}catch(Cu){_u.call(this,Cu)}}}var ON_BECOME_OBSERVED="onBO",ON_BECOME_UNOBSERVED="onBUO";function onBecomeObserved(_u,Tu,Cu){return interceptHook(ON_BECOME_OBSERVED,_u,Tu,Cu)}function onBecomeUnobserved(_u,Tu,Cu){return interceptHook(ON_BECOME_UNOBSERVED,_u,Tu,Cu)}function interceptHook(_u,Tu,Cu,Pu){var Bu=typeof Pu=="function"?getAtom(Tu,Cu):getAtom(Tu),Ru=isFunction(Pu)?Pu:Cu,Lu=_u+"L";return Bu[Lu]?Bu[Lu].add(Ru):Bu[Lu]=new Set([Ru]),function(){var Ou=Bu[Lu];Ou&&(Ou.delete(Ru),Ou.size===0&&delete Bu[Lu])}}var NEVER="never",ALWAYS="always",OBSERVED="observed";function configure(_u){_u.isolateGlobalState===!0&&isolateGlobalState();var Tu=_u.useProxies,Cu=_u.enforceActions;if(Tu!==void 0&&(globalState.useProxies=Tu===ALWAYS?!0:Tu===NEVER?!1:typeof Proxy!="undefined"),Tu==="ifavailable"&&(globalState.verifyProxies=!0),Cu!==void 0){var Pu=Cu===ALWAYS?ALWAYS:Cu===OBSERVED;globalState.enforceActions=Pu,globalState.allowStateChanges=!(Pu===!0||Pu===ALWAYS)}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(Bu){Bu in _u&&(globalState[Bu]=!!_u[Bu])}),globalState.allowStateReads=!globalState.observableRequiresReaction,_u.reactionScheduler&&setReactionScheduler(_u.reactionScheduler)}function extendObservable(_u,Tu,Cu,Pu){var Bu=getOwnPropertyDescriptors(Tu),Ru=asObservableObject(_u,Pu)[$mobx];startBatch();try{ownKeys(Bu).forEach(function(Lu){Ru.extend_(Lu,Bu[Lu],Cu&&Lu in Cu?Cu[Lu]:!0)})}finally{endBatch()}return _u}function getDependencyTree(_u,Tu){return nodeToDependencyTree(getAtom(_u,Tu))}function nodeToDependencyTree(_u){var Tu={name:_u.name_};return _u.observing_&&_u.observing_.length>0&&(Tu.dependencies=unique(_u.observing_).map(nodeToDependencyTree)),Tu}function unique(_u){return Array.from(new Set(_u))}var generatorId=0;function FlowCancellationError(){this.message="FLOW_CANCELLED"}FlowCancellationError.prototype=Object.create(Error.prototype);var flowAnnotation=createFlowAnnotation("flow"),flowBoundAnnotation=createFlowAnnotation("flow.bound",{bound:!0}),flow=Object.assign(function _u(Tu,Cu){if(isStringish(Cu))return storeAnnotation(Tu,Cu,flowAnnotation);var Pu=Tu,Bu=Pu.name||"<unnamed flow>",Ru=function(){var Ou=this,Du=arguments,$u=++generatorId,ku=action(Bu+" - runid: "+$u+" - init",Pu).apply(Ou,Du),Fu,Nu=void 0,Vu=new Promise(function(Gu,Hu){var ju=0;Fu=Hu;function Uu(Qu){Nu=void 0;var qu;try{qu=action(Bu+" - runid: "+$u+" - yield "+ju++,ku.next).call(ku,Qu)}catch(Yu){return Hu(Yu)}Wu(qu)}function zu(Qu){Nu=void 0;var qu;try{qu=action(Bu+" - runid: "+$u+" - yield "+ju++,ku.throw).call(ku,Qu)}catch(Yu){return Hu(Yu)}Wu(qu)}function Wu(Qu){if(isFunction(Qu==null?void 0:Qu.then)){Qu.then(Wu,Hu);return}return Qu.done?Gu(Qu.value):(Nu=Promise.resolve(Qu.value),Nu.then(Uu,zu))}Uu(void 0)});return Vu.cancel=action(Bu+" - runid: "+$u+" - cancel",function(){try{Nu&&cancelPromise(Nu);var Gu=ku.return(void 0),Hu=Promise.resolve(Gu.value);Hu.then(noop$1,noop$1),cancelPromise(Hu),Fu(new FlowCancellationError)}catch(ju){Fu(ju)}}),Vu};return Ru.isMobXFlow=!0,Ru},flowAnnotation);flow.bound=createDecoratorAnnotation(flowBoundAnnotation);function cancelPromise(_u){isFunction(_u.cancel)&&_u.cancel()}function isFlow(_u){return(_u==null?void 0:_u.isMobXFlow)===!0}function _isObservable(_u,Tu){return _u?Tu!==void 0?isObservableObject(_u)?_u[$mobx].values_.has(Tu):!1:isObservableObject(_u)||!!_u[$mobx]||isAtom(_u)||isReaction(_u)||isComputedValue(_u):!1}function isObservable(_u){return _isObservable(_u)}function trace(){die("trace() is not available in production builds");for(var _u=!1,Tu=arguments.length,Cu=new Array(Tu),Pu=0;Pu<Tu;Pu++)Cu[Pu]=arguments[Pu];typeof Cu[Cu.length-1]=="boolean"&&(_u=Cu.pop());var Bu=getAtomFromArgs(Cu);if(!Bu)return die("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");Bu.isTracing_===TraceMode.NONE&&console.log("[mobx.trace] '"+Bu.name_+"' tracing enabled"),Bu.isTracing_=_u?TraceMode.BREAK:TraceMode.LOG}function getAtomFromArgs(_u){switch(_u.length){case 0:return globalState.trackingDerivation;case 1:return getAtom(_u[0]);case 2:return getAtom(_u[0],_u[1])}}function transaction(_u,Tu){Tu===void 0&&(Tu=void 0),startBatch();try{return _u.apply(Tu)}finally{endBatch()}}function getAdm(_u){return _u[$mobx]}var objectProxyTraps={has:function _u(Tu,Cu){return getAdm(Tu).has_(Cu)},get:function _u(Tu,Cu){return getAdm(Tu).get_(Cu)},set:function _u(Tu,Cu,Pu){var Bu;return isStringish(Cu)?(Bu=getAdm(Tu).set_(Cu,Pu,!0))!=null?Bu:!0:!1},deleteProperty:function _u(Tu,Cu){var Pu;return isStringish(Cu)?(Pu=getAdm(Tu).delete_(Cu,!0))!=null?Pu:!0:!1},defineProperty:function _u(Tu,Cu,Pu){var Bu;return(Bu=getAdm(Tu).defineProperty_(Cu,Pu))!=null?Bu:!0},ownKeys:function _u(Tu){return getAdm(Tu).ownKeys_()},preventExtensions:function _u(Tu){die(13)}};function asDynamicObservableObject(_u,Tu){var Cu,Pu;return assertProxies(),_u=asObservableObject(_u,Tu),(Pu=(Cu=_u[$mobx]).proxy_)!=null?Pu:Cu.proxy_=new Proxy(_u,objectProxyTraps)}function hasInterceptors(_u){return _u.interceptors_!==void 0&&_u.interceptors_.length>0}function registerInterceptor(_u,Tu){var Cu=_u.interceptors_||(_u.interceptors_=[]);return Cu.push(Tu),once(function(){var Pu=Cu.indexOf(Tu);Pu!==-1&&Cu.splice(Pu,1)})}function interceptChange(_u,Tu){var Cu=untrackedStart();try{for(var Pu=[].concat(_u.interceptors_||[]),Bu=0,Ru=Pu.length;Bu<Ru&&(Tu=Pu[Bu](Tu),Tu&&!Tu.type&&die(14),!!Tu);Bu++);return Tu}finally{untrackedEnd(Cu)}}function hasListeners(_u){return _u.changeListeners_!==void 0&&_u.changeListeners_.length>0}function registerListener(_u,Tu){var Cu=_u.changeListeners_||(_u.changeListeners_=[]);return Cu.push(Tu),once(function(){var Pu=Cu.indexOf(Tu);Pu!==-1&&Cu.splice(Pu,1)})}function notifyListeners(_u,Tu){var Cu=untrackedStart(),Pu=_u.changeListeners_;if(!!Pu){Pu=Pu.slice();for(var Bu=0,Ru=Pu.length;Bu<Ru;Bu++)Pu[Bu](Tu);untrackedEnd(Cu)}}function makeObservable(_u,Tu,Cu){var Pu=asObservableObject(_u,Cu)[$mobx];startBatch();try{var Bu;(Bu=Tu)!=null||(Tu=collectStoredAnnotations(_u)),ownKeys(Tu).forEach(function(Ru){return Pu.make_(Ru,Tu[Ru])})}finally{endBatch()}return _u}var SPLICE="splice",UPDATE="update",MAX_SPLICE_SIZE=1e4,arrayTraps={get:function _u(Tu,Cu){var Pu=Tu[$mobx];return Cu===$mobx?Pu:Cu==="length"?Pu.getArrayLength_():typeof Cu=="string"&&!isNaN(Cu)?Pu.get_(parseInt(Cu)):hasProp(arrayExtensions,Cu)?arrayExtensions[Cu]:Tu[Cu]},set:function _u(Tu,Cu,Pu){var Bu=Tu[$mobx];return Cu==="length"&&Bu.setArrayLength_(Pu),typeof Cu=="symbol"||isNaN(Cu)?Tu[Cu]=Pu:Bu.set_(parseInt(Cu),Pu),!0},preventExtensions:function _u(){die(15)}},ObservableArrayAdministration=function(){function _u(Cu,Pu,Bu,Ru){Cu===void 0&&(Cu="ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=Bu,this.legacyMode_=Ru,this.atom_=new Atom(Cu),this.enhancer_=function(Lu,Ou){return Pu(Lu,Ou,"ObservableArray[..]")}}var Tu=_u.prototype;return Tu.dehanceValue_=function(Pu){return this.dehancer!==void 0?this.dehancer(Pu):Pu},Tu.dehanceValues_=function(Pu){return this.dehancer!==void 0&&Pu.length>0?Pu.map(this.dehancer):Pu},Tu.intercept_=function(Pu){return registerInterceptor(this,Pu)},Tu.observe_=function(Pu,Bu){return Bu===void 0&&(Bu=!1),Bu&&Pu({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),registerListener(this,Pu)},Tu.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},Tu.setArrayLength_=function(Pu){(typeof Pu!="number"||isNaN(Pu)||Pu<0)&&die("Out of range: "+Pu);var Bu=this.values_.length;if(Pu!==Bu)if(Pu>Bu){for(var Ru=new Array(Pu-Bu),Lu=0;Lu<Pu-Bu;Lu++)Ru[Lu]=void 0;this.spliceWithArray_(Bu,0,Ru)}else this.spliceWithArray_(Pu,Bu-Pu)},Tu.updateArrayLength_=function(Pu,Bu){Pu!==this.lastKnownLength_&&die(16),this.lastKnownLength_+=Bu,this.legacyMode_&&Bu>0&&reserveArrayBuffer(Pu+Bu+1)},Tu.spliceWithArray_=function(Pu,Bu,Ru){var Lu=this;this.atom_;var Ou=this.values_.length;if(Pu===void 0?Pu=0:Pu>Ou?Pu=Ou:Pu<0&&(Pu=Math.max(0,Ou+Pu)),arguments.length===1?Bu=Ou-Pu:Bu==null?Bu=0:Bu=Math.max(0,Math.min(Bu,Ou-Pu)),Ru===void 0&&(Ru=EMPTY_ARRAY),hasInterceptors(this)){var Du=interceptChange(this,{object:this.proxy_,type:SPLICE,index:Pu,removedCount:Bu,added:Ru});if(!Du)return EMPTY_ARRAY;Bu=Du.removedCount,Ru=Du.added}if(Ru=Ru.length===0?Ru:Ru.map(function(Fu){return Lu.enhancer_(Fu,void 0)}),this.legacyMode_){var $u=Ru.length-Bu;this.updateArrayLength_(Ou,$u)}var ku=this.spliceItemsIntoValues_(Pu,Bu,Ru);return(Bu!==0||Ru.length!==0)&&this.notifyArraySplice_(Pu,Ru,ku),this.dehanceValues_(ku)},Tu.spliceItemsIntoValues_=function(Pu,Bu,Ru){if(Ru.length<MAX_SPLICE_SIZE){var Lu;return(Lu=this.values_).splice.apply(Lu,[Pu,Bu].concat(Ru))}else{var Ou=this.values_.slice(Pu,Pu+Bu),Du=this.values_.slice(Pu+Bu);this.values_.length+=Ru.length-Bu;for(var $u=0;$u<Ru.length;$u++)this.values_[Pu+$u]=Ru[$u];for(var ku=0;ku<Du.length;ku++)this.values_[Pu+Ru.length+ku]=Du[ku];return Ou}},Tu.notifyArrayChildUpdate_=function(Pu,Bu,Ru){var Lu=!this.owned_&&isSpyEnabled(),Ou=hasListeners(this),Du=Ou||Lu?{observableKind:"array",object:this.proxy_,type:UPDATE,debugObjectName:this.atom_.name_,index:Pu,newValue:Bu,oldValue:Ru}:null;this.atom_.reportChanged(),Ou&&notifyListeners(this,Du)},Tu.notifyArraySplice_=function(Pu,Bu,Ru){var Lu=!this.owned_&&isSpyEnabled(),Ou=hasListeners(this),Du=Ou||Lu?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:SPLICE,index:Pu,removed:Ru,added:Bu,removedCount:Ru.length,addedCount:Bu.length}:null;this.atom_.reportChanged(),Ou&&notifyListeners(this,Du)},Tu.get_=function(Pu){if(Pu<this.values_.length)return this.atom_.reportObserved(),this.dehanceValue_(this.values_[Pu]);console.warn("[mobx.array] Attempt to read an array index ("+Pu+") that is out of bounds ("+this.values_.length+"). Please check length first. Out of bound indices will not be tracked by MobX")},Tu.set_=function(Pu,Bu){var Ru=this.values_;if(Pu<Ru.length){this.atom_;var Lu=Ru[Pu];if(hasInterceptors(this)){var Ou=interceptChange(this,{type:UPDATE,object:this.proxy_,index:Pu,newValue:Bu});if(!Ou)return;Bu=Ou.newValue}Bu=this.enhancer_(Bu,Lu);var Du=Bu!==Lu;Du&&(Ru[Pu]=Bu,this.notifyArrayChildUpdate_(Pu,Bu,Lu))}else Pu===Ru.length?this.spliceWithArray_(Pu,0,[Bu]):die(17,Pu,Ru.length)},_u}();function createObservableArray(_u,Tu,Cu,Pu){Cu===void 0&&(Cu="ObservableArray"),Pu===void 0&&(Pu=!1),assertProxies();var Bu=new ObservableArrayAdministration(Cu,Tu,Pu,!1);addHiddenFinalProp(Bu.values_,$mobx,Bu);var Ru=new Proxy(Bu.values_,arrayTraps);if(Bu.proxy_=Ru,_u&&_u.length){var Lu=allowStateChangesStart(!0);Bu.spliceWithArray_(0,0,_u),allowStateChangesEnd(Lu)}return Ru}var arrayExtensions={clear:function _u(){return this.splice(0)},replace:function _u(Tu){var Cu=this[$mobx];return Cu.spliceWithArray_(0,Cu.values_.length,Tu)},toJSON:function _u(){return this.slice()},splice:function _u(Tu,Cu){for(var Pu=arguments.length,Bu=new Array(Pu>2?Pu-2:0),Ru=2;Ru<Pu;Ru++)Bu[Ru-2]=arguments[Ru];var Lu=this[$mobx];switch(arguments.length){case 0:return[];case 1:return Lu.spliceWithArray_(Tu);case 2:return Lu.spliceWithArray_(Tu,Cu)}return Lu.spliceWithArray_(Tu,Cu,Bu)},spliceWithArray:function _u(Tu,Cu,Pu){return this[$mobx].spliceWithArray_(Tu,Cu,Pu)},push:function _u(){for(var Tu=this[$mobx],Cu=arguments.length,Pu=new Array(Cu),Bu=0;Bu<Cu;Bu++)Pu[Bu]=arguments[Bu];return Tu.spliceWithArray_(Tu.values_.length,0,Pu),Tu.values_.length},pop:function _u(){return this.splice(Math.max(this[$mobx].values_.length-1,0),1)[0]},shift:function _u(){return this.splice(0,1)[0]},unshift:function _u(){for(var Tu=this[$mobx],Cu=arguments.length,Pu=new Array(Cu),Bu=0;Bu<Cu;Bu++)Pu[Bu]=arguments[Bu];return Tu.spliceWithArray_(0,0,Pu),Tu.values_.length},reverse:function _u(){return globalState.trackingDerivation&&die(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function _u(){globalState.trackingDerivation&&die(37,"sort");var Tu=this.slice();return Tu.sort.apply(Tu,arguments),this.replace(Tu),this},remove:function _u(Tu){var Cu=this[$mobx],Pu=Cu.dehanceValues_(Cu.values_).indexOf(Tu);return Pu>-1?(this.splice(Pu,1),!0):!1}};addArrayExtension("concat",simpleFunc);addArrayExtension("flat",simpleFunc);addArrayExtension("includes",simpleFunc);addArrayExtension("indexOf",simpleFunc);addArrayExtension("join",simpleFunc);addArrayExtension("lastIndexOf",simpleFunc);addArrayExtension("slice",simpleFunc);addArrayExtension("toString",simpleFunc);addArrayExtension("toLocaleString",simpleFunc);addArrayExtension("every",mapLikeFunc);addArrayExtension("filter",mapLikeFunc);addArrayExtension("find",mapLikeFunc);addArrayExtension("findIndex",mapLikeFunc);addArrayExtension("flatMap",mapLikeFunc);addArrayExtension("forEach",mapLikeFunc);addArrayExtension("map",mapLikeFunc);addArrayExtension("some",mapLikeFunc);addArrayExtension("reduce",reduceLikeFunc);addArrayExtension("reduceRight",reduceLikeFunc);function addArrayExtension(_u,Tu){typeof Array.prototype[_u]=="function"&&(arrayExtensions[_u]=Tu(_u))}function simpleFunc(_u){return function(){var Tu=this[$mobx];Tu.atom_.reportObserved();var Cu=Tu.dehanceValues_(Tu.values_);return Cu[_u].apply(Cu,arguments)}}function mapLikeFunc(_u){return function(Tu,Cu){var Pu=this,Bu=this[$mobx];Bu.atom_.reportObserved();var Ru=Bu.dehanceValues_(Bu.values_);return Ru[_u](function(Lu,Ou){return Tu.call(Cu,Lu,Ou,Pu)})}}function reduceLikeFunc(_u){return function(){var Tu=this,Cu=this[$mobx];Cu.atom_.reportObserved();var Pu=Cu.dehanceValues_(Cu.values_),Bu=arguments[0];return arguments[0]=function(Ru,Lu,Ou){return Bu(Ru,Lu,Ou,Tu)},Pu[_u].apply(Pu,arguments)}}var isObservableArrayAdministration=createInstanceofPredicate("ObservableArrayAdministration",ObservableArrayAdministration);function isObservableArray(_u){return isObject$3(_u)&&isObservableArrayAdministration(_u[$mobx])}var _Symbol$iterator,_Symbol$toStringTag,ObservableMapMarker={},ADD="add",DELETE="delete";_Symbol$iterator=Symbol.iterator;_Symbol$toStringTag=Symbol.toStringTag;var ObservableMap=function(_u,Tu){function Cu(Bu,Ru,Lu){var Ou=this;Ru===void 0&&(Ru=deepEnhancer),Lu===void 0&&(Lu="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[$mobx]=ObservableMapMarker,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=Ru,this.name_=Lu,isFunction(Map)||die(18),this.keysAtom_=createAtom("ObservableMap.keys()"),this.data_=new Map,this.hasMap_=new Map,allowStateChanges(!0,function(){Ou.merge(Bu)})}var Pu=Cu.prototype;return Pu.has_=function(Ru){return this.data_.has(Ru)},Pu.has=function(Ru){var Lu=this;if(!globalState.trackingDerivation)return this.has_(Ru);var Ou=this.hasMap_.get(Ru);if(!Ou){var Du=Ou=new ObservableValue(this.has_(Ru),referenceEnhancer,"ObservableMap.key?",!1);this.hasMap_.set(Ru,Du),onBecomeUnobserved(Du,function(){return Lu.hasMap_.delete(Ru)})}return Ou.get()},Pu.set=function(Ru,Lu){var Ou=this.has_(Ru);if(hasInterceptors(this)){var Du=interceptChange(this,{type:Ou?UPDATE:ADD,object:this,newValue:Lu,name:Ru});if(!Du)return this;Lu=Du.newValue}return Ou?this.updateValue_(Ru,Lu):this.addValue_(Ru,Lu),this},Pu.delete=function(Ru){var Lu=this;if(this.keysAtom_,hasInterceptors(this)){var Ou=interceptChange(this,{type:DELETE,object:this,name:Ru});if(!Ou)return!1}if(this.has_(Ru)){var Du=isSpyEnabled(),$u=hasListeners(this),ku=$u||Du?{observableKind:"map",debugObjectName:this.name_,type:DELETE,object:this,oldValue:this.data_.get(Ru).value_,name:Ru}:null;return transaction(function(){var Fu;Lu.keysAtom_.reportChanged(),(Fu=Lu.hasMap_.get(Ru))==null||Fu.setNewValue_(!1);var Nu=Lu.data_.get(Ru);Nu.setNewValue_(void 0),Lu.data_.delete(Ru)}),$u&&notifyListeners(this,ku),!0}return!1},Pu.updateValue_=function(Ru,Lu){var Ou=this.data_.get(Ru);if(Lu=Ou.prepareNewValue_(Lu),Lu!==globalState.UNCHANGED){var Du=isSpyEnabled(),$u=hasListeners(this),ku=$u||Du?{observableKind:"map",debugObjectName:this.name_,type:UPDATE,object:this,oldValue:Ou.value_,name:Ru,newValue:Lu}:null;Ou.setNewValue_(Lu),$u&&notifyListeners(this,ku)}},Pu.addValue_=function(Ru,Lu){var Ou=this;this.keysAtom_,transaction(function(){var Fu,Nu=new ObservableValue(Lu,Ou.enhancer_,"ObservableMap.key",!1);Ou.data_.set(Ru,Nu),Lu=Nu.value_,(Fu=Ou.hasMap_.get(Ru))==null||Fu.setNewValue_(!0),Ou.keysAtom_.reportChanged()});var Du=isSpyEnabled(),$u=hasListeners(this),ku=$u||Du?{observableKind:"map",debugObjectName:this.name_,type:ADD,object:this,name:Ru,newValue:Lu}:null;$u&&notifyListeners(this,ku)},Pu.get=function(Ru){return this.has(Ru)?this.dehanceValue_(this.data_.get(Ru).get()):this.dehanceValue_(void 0)},Pu.dehanceValue_=function(Ru){return this.dehancer!==void 0?this.dehancer(Ru):Ru},Pu.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},Pu.values=function(){var Ru=this,Lu=this.keys();return makeIterable({next:function(){var Du=Lu.next(),$u=Du.done,ku=Du.value;return{done:$u,value:$u?void 0:Ru.get(ku)}}})},Pu.entries=function(){var Ru=this,Lu=this.keys();return makeIterable({next:function(){var Du=Lu.next(),$u=Du.done,ku=Du.value;return{done:$u,value:$u?void 0:[ku,Ru.get(ku)]}}})},Pu[_u]=function(){return this.entries()},Pu.forEach=function(Ru,Lu){for(var Ou=_createForOfIteratorHelperLoose(this),Du;!(Du=Ou()).done;){var $u=Du.value,ku=$u[0],Fu=$u[1];Ru.call(Lu,Fu,ku,this)}},Pu.merge=function(Ru){var Lu=this;return isObservableMap(Ru)&&(Ru=new Map(Ru)),transaction(function(){isPlainObject(Ru)?getPlainObjectKeys(Ru).forEach(function(Ou){return Lu.set(Ou,Ru[Ou])}):Array.isArray(Ru)?Ru.forEach(function(Ou){var Du=Ou[0],$u=Ou[1];return Lu.set(Du,$u)}):isES6Map(Ru)?(Ru.constructor!==Map&&die(19,Ru),Ru.forEach(function(Ou,Du){return Lu.set(Du,Ou)})):Ru!=null&&die(20,Ru)}),this},Pu.clear=function(){var Ru=this;transaction(function(){untracked(function(){for(var Lu=_createForOfIteratorHelperLoose(Ru.keys()),Ou;!(Ou=Lu()).done;){var Du=Ou.value;Ru.delete(Du)}})})},Pu.replace=function(Ru){var Lu=this;return transaction(function(){for(var Ou=convertToMap(Ru),Du=new Map,$u=!1,ku=_createForOfIteratorHelperLoose(Lu.data_.keys()),Fu;!(Fu=ku()).done;){var Nu=Fu.value;if(!Ou.has(Nu)){var Vu=Lu.delete(Nu);if(Vu)$u=!0;else{var Gu=Lu.data_.get(Nu);Du.set(Nu,Gu)}}}for(var Hu=_createForOfIteratorHelperLoose(Ou.entries()),ju;!(ju=Hu()).done;){var Uu=ju.value,zu=Uu[0],Wu=Uu[1],Qu=Lu.data_.has(zu);if(Lu.set(zu,Wu),Lu.data_.has(zu)){var qu=Lu.data_.get(zu);Du.set(zu,qu),Qu||($u=!0)}}if(!$u)if(Lu.data_.size!==Du.size)Lu.keysAtom_.reportChanged();else for(var Yu=Lu.data_.keys(),Xc=Du.keys(),_h=Yu.next(),_d=Xc.next();!_h.done;){if(_h.value!==_d.value){Lu.keysAtom_.reportChanged();break}_h=Yu.next(),_d=Xc.next()}Lu.data_=Du}),this},Pu.toString=function(){return"[object ObservableMap]"},Pu.toJSON=function(){return Array.from(this)},Pu.observe_=function(Ru,Lu){return registerListener(this,Ru)},Pu.intercept_=function(Ru){return registerInterceptor(this,Ru)},_createClass(Cu,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Tu,get:function(){return"Map"}}]),Cu}(_Symbol$iterator,_Symbol$toStringTag),isObservableMap=createInstanceofPredicate("ObservableMap",ObservableMap);function convertToMap(_u){if(isES6Map(_u)||isObservableMap(_u))return _u;if(Array.isArray(_u))return new Map(_u);if(isPlainObject(_u)){var Tu=new Map;for(var Cu in _u)Tu.set(Cu,_u[Cu]);return Tu}else return die(21,_u)}var _Symbol$iterator$1,_Symbol$toStringTag$1,ObservableSetMarker={};_Symbol$iterator$1=Symbol.iterator;_Symbol$toStringTag$1=Symbol.toStringTag;var ObservableSet=function(_u,Tu){function Cu(Bu,Ru,Lu){Ru===void 0&&(Ru=deepEnhancer),Lu===void 0&&(Lu="ObservableSet"),this.name_=void 0,this[$mobx]=ObservableSetMarker,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=Lu,isFunction(Set)||die(22),this.atom_=createAtom(this.name_),this.enhancer_=function(Ou,Du){return Ru(Ou,Du,Lu)},Bu&&this.replace(Bu)}var Pu=Cu.prototype;return Pu.dehanceValue_=function(Ru){return this.dehancer!==void 0?this.dehancer(Ru):Ru},Pu.clear=function(){var Ru=this;transaction(function(){untracked(function(){for(var Lu=_createForOfIteratorHelperLoose(Ru.data_.values()),Ou;!(Ou=Lu()).done;){var Du=Ou.value;Ru.delete(Du)}})})},Pu.forEach=function(Ru,Lu){for(var Ou=_createForOfIteratorHelperLoose(this),Du;!(Du=Ou()).done;){var $u=Du.value;Ru.call(Lu,$u,$u,this)}},Pu.add=function(Ru){var Lu=this;if(this.atom_,hasInterceptors(this)){var Ou=interceptChange(this,{type:ADD,object:this,newValue:Ru});if(!Ou)return this}if(!this.has(Ru)){transaction(function(){Lu.data_.add(Lu.enhancer_(Ru,void 0)),Lu.atom_.reportChanged()});var Du=!1,$u=hasListeners(this),ku=$u||Du?{observableKind:"set",debugObjectName:this.name_,type:ADD,object:this,newValue:Ru}:null;$u&&notifyListeners(this,ku)}return this},Pu.delete=function(Ru){var Lu=this;if(hasInterceptors(this)){var Ou=interceptChange(this,{type:DELETE,object:this,oldValue:Ru});if(!Ou)return!1}if(this.has(Ru)){var Du=!1,$u=hasListeners(this),ku=$u||Du?{observableKind:"set",debugObjectName:this.name_,type:DELETE,object:this,oldValue:Ru}:null;return transaction(function(){Lu.atom_.reportChanged(),Lu.data_.delete(Ru)}),$u&&notifyListeners(this,ku),!0}return!1},Pu.has=function(Ru){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(Ru))},Pu.entries=function(){var Ru=0,Lu=Array.from(this.keys()),Ou=Array.from(this.values());return makeIterable({next:function(){var $u=Ru;return Ru+=1,$u<Ou.length?{value:[Lu[$u],Ou[$u]],done:!1}:{done:!0}}})},Pu.keys=function(){return this.values()},Pu.values=function(){this.atom_.reportObserved();var Ru=this,Lu=0,Ou=Array.from(this.data_.values());return makeIterable({next:function(){return Lu<Ou.length?{value:Ru.dehanceValue_(Ou[Lu++]),done:!1}:{done:!0}}})},Pu.replace=function(Ru){var Lu=this;return isObservableSet(Ru)&&(Ru=new Set(Ru)),transaction(function(){Array.isArray(Ru)?(Lu.clear(),Ru.forEach(function(Ou){return Lu.add(Ou)})):isES6Set(Ru)?(Lu.clear(),Ru.forEach(function(Ou){return Lu.add(Ou)})):Ru!=null&&die("Cannot initialize set from "+Ru)}),this},Pu.observe_=function(Ru,Lu){return registerListener(this,Ru)},Pu.intercept_=function(Ru){return registerInterceptor(this,Ru)},Pu.toJSON=function(){return Array.from(this)},Pu.toString=function(){return"[object ObservableSet]"},Pu[_u]=function(){return this.values()},_createClass(Cu,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Tu,get:function(){return"Set"}}]),Cu}(_Symbol$iterator$1,_Symbol$toStringTag$1),isObservableSet=createInstanceofPredicate("ObservableSet",ObservableSet),descriptorCache=Object.create(null),REMOVE="remove",ObservableObjectAdministration=function(){function _u(Cu,Pu,Bu,Ru){Pu===void 0&&(Pu=new Map),Ru===void 0&&(Ru=autoAnnotation),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=Cu,this.values_=Pu,this.name_=Bu,this.defaultAnnotation_=Ru,this.keysAtom_=new Atom("ObservableObject.keys"),this.isPlainObject_=isPlainObject(this.target_)}var Tu=_u.prototype;return Tu.getObservablePropValue_=function(Pu){return this.values_.get(Pu).get()},Tu.setObservablePropValue_=function(Pu,Bu){var Ru=this.values_.get(Pu);if(Ru instanceof ComputedValue)return Ru.set(Bu),!0;if(hasInterceptors(this)){var Lu=interceptChange(this,{type:UPDATE,object:this.proxy_||this.target_,name:Pu,newValue:Bu});if(!Lu)return null;Bu=Lu.newValue}if(Bu=Ru.prepareNewValue_(Bu),Bu!==globalState.UNCHANGED){var Ou=hasListeners(this),Du=!1,$u=Ou||Du?{type:UPDATE,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:Ru.value_,name:Pu,newValue:Bu}:null;Ru.setNewValue_(Bu),Ou&&notifyListeners(this,$u)}return!0},Tu.get_=function(Pu){return globalState.trackingDerivation&&!hasProp(this.target_,Pu)&&this.has_(Pu),this.target_[Pu]},Tu.set_=function(Pu,Bu,Ru){return Ru===void 0&&(Ru=!1),hasProp(this.target_,Pu)?this.values_.has(Pu)?this.setObservablePropValue_(Pu,Bu):Ru?Reflect.set(this.target_,Pu,Bu):(this.target_[Pu]=Bu,!0):this.extend_(Pu,{value:Bu,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,Ru)},Tu.has_=function(Pu){if(!globalState.trackingDerivation)return Pu in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var Bu=this.pendingKeys_.get(Pu);return Bu||(Bu=new ObservableValue(Pu in this.target_,referenceEnhancer,"ObservableObject.key?",!1),this.pendingKeys_.set(Pu,Bu)),Bu.get()},Tu.make_=function(Pu,Bu){if(Bu===!0&&(Bu=this.defaultAnnotation_),Bu!==!1){if(!(Pu in this.target_)){var Ru;if((Ru=this.target_[storedAnnotationsSymbol])!=null&&Ru[Pu])return;die(1,Bu.annotationType_,this.name_+"."+Pu.toString())}for(var Lu=this.target_;Lu&&Lu!==objectPrototype;){var Ou=getDescriptor(Lu,Pu);if(Ou){var Du=Bu.make_(this,Pu,Ou,Lu);if(Du===0)return;if(Du===1)break}Lu=Object.getPrototypeOf(Lu)}recordAnnotationApplied(this,Bu,Pu)}},Tu.extend_=function(Pu,Bu,Ru,Lu){if(Lu===void 0&&(Lu=!1),Ru===!0&&(Ru=this.defaultAnnotation_),Ru===!1)return this.defineProperty_(Pu,Bu,Lu);var Ou=Ru.extend_(this,Pu,Bu,Lu);return Ou&&recordAnnotationApplied(this,Ru,Pu),Ou},Tu.defineProperty_=function(Pu,Bu,Ru){Ru===void 0&&(Ru=!1);try{startBatch();var Lu=this.delete_(Pu);if(!Lu)return Lu;if(hasInterceptors(this)){var Ou=interceptChange(this,{object:this.proxy_||this.target_,name:Pu,type:ADD,newValue:Bu.value});if(!Ou)return null;var Du=Ou.newValue;Bu.value!==Du&&(Bu=_extends({},Bu,{value:Du}))}if(Ru){if(!Reflect.defineProperty(this.target_,Pu,Bu))return!1}else defineProperty(this.target_,Pu,Bu);this.notifyPropertyAddition_(Pu,Bu.value)}finally{endBatch()}return!0},Tu.defineObservableProperty_=function(Pu,Bu,Ru,Lu){Lu===void 0&&(Lu=!1);try{startBatch();var Ou=this.delete_(Pu);if(!Ou)return Ou;if(hasInterceptors(this)){var Du=interceptChange(this,{object:this.proxy_||this.target_,name:Pu,type:ADD,newValue:Bu});if(!Du)return null;Bu=Du.newValue}var $u=getCachedObservablePropDescriptor(Pu),ku={configurable:globalState.safeDescriptors?this.isPlainObject_:!0,enumerable:!0,get:$u.get,set:$u.set};if(Lu){if(!Reflect.defineProperty(this.target_,Pu,ku))return!1}else defineProperty(this.target_,Pu,ku);var Fu=new ObservableValue(Bu,Ru,"ObservableObject.key",!1);this.values_.set(Pu,Fu),this.notifyPropertyAddition_(Pu,Fu.value_)}finally{endBatch()}return!0},Tu.defineComputedProperty_=function(Pu,Bu,Ru){Ru===void 0&&(Ru=!1);try{startBatch();var Lu=this.delete_(Pu);if(!Lu)return Lu;if(hasInterceptors(this)){var Ou=interceptChange(this,{object:this.proxy_||this.target_,name:Pu,type:ADD,newValue:void 0});if(!Ou)return null}Bu.name||(Bu.name="ObservableObject.key"),Bu.context=this.proxy_||this.target_;var Du=getCachedObservablePropDescriptor(Pu),$u={configurable:globalState.safeDescriptors?this.isPlainObject_:!0,enumerable:!1,get:Du.get,set:Du.set};if(Ru){if(!Reflect.defineProperty(this.target_,Pu,$u))return!1}else defineProperty(this.target_,Pu,$u);this.values_.set(Pu,new ComputedValue(Bu)),this.notifyPropertyAddition_(Pu,void 0)}finally{endBatch()}return!0},Tu.delete_=function(Pu,Bu){if(Bu===void 0&&(Bu=!1),!hasProp(this.target_,Pu))return!0;if(hasInterceptors(this)){var Ru=interceptChange(this,{object:this.proxy_||this.target_,name:Pu,type:REMOVE});if(!Ru)return null}try{var Lu,Ou;startBatch();var Du=hasListeners(this),$u=!1,ku=this.values_.get(Pu),Fu=void 0;if(!ku&&(Du||$u)){var Nu;Fu=(Nu=getDescriptor(this.target_,Pu))==null?void 0:Nu.value}if(Bu){if(!Reflect.deleteProperty(this.target_,Pu))return!1}else delete this.target_[Pu];if(ku&&(this.values_.delete(Pu),ku instanceof ObservableValue&&(Fu=ku.value_),propagateChanged(ku)),this.keysAtom_.reportChanged(),(Lu=this.pendingKeys_)==null||(Ou=Lu.get(Pu))==null||Ou.set(Pu in this.target_),Du||$u){var Vu={type:REMOVE,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:Fu,name:Pu};Du&&notifyListeners(this,Vu)}}finally{endBatch()}return!0},Tu.observe_=function(Pu,Bu){return registerListener(this,Pu)},Tu.intercept_=function(Pu){return registerInterceptor(this,Pu)},Tu.notifyPropertyAddition_=function(Pu,Bu){var Ru,Lu,Ou=hasListeners(this),Du=!1;if(Ou||Du){var $u=Ou||Du?{type:ADD,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:Pu,newValue:Bu}:null;Ou&&notifyListeners(this,$u)}(Ru=this.pendingKeys_)==null||(Lu=Ru.get(Pu))==null||Lu.set(!0),this.keysAtom_.reportChanged()},Tu.ownKeys_=function(){return this.keysAtom_.reportObserved(),ownKeys(this.target_)},Tu.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},_u}();function asObservableObject(_u,Tu){var Cu;if(hasProp(_u,$mobx))return _u;var Pu=(Cu=Tu==null?void 0:Tu.name)!=null?Cu:"ObservableObject",Bu=new ObservableObjectAdministration(_u,new Map,String(Pu),getAnnotationFromOptions(Tu));return addHiddenProp(_u,$mobx,Bu),_u}var isObservableObjectAdministration=createInstanceofPredicate("ObservableObjectAdministration",ObservableObjectAdministration);function getCachedObservablePropDescriptor(_u){return descriptorCache[_u]||(descriptorCache[_u]={get:function(){return this[$mobx].getObservablePropValue_(_u)},set:function(Cu){return this[$mobx].setObservablePropValue_(_u,Cu)}})}function isObservableObject(_u){return isObject$3(_u)?isObservableObjectAdministration(_u[$mobx]):!1}function recordAnnotationApplied(_u,Tu,Cu){var Pu;(Pu=_u.target_[storedAnnotationsSymbol])==null||delete Pu[Cu]}var OBSERVABLE_ARRAY_BUFFER_SIZE=0,StubArray=function _u(){};function inherit(_u,Tu){Object.setPrototypeOf?Object.setPrototypeOf(_u.prototype,Tu):_u.prototype.__proto__!==void 0?_u.prototype.__proto__=Tu:_u.prototype=Tu}inherit(StubArray,Array.prototype);var LegacyObservableArray=function(_u,Tu,Cu){_inheritsLoose(Pu,_u);function Pu(Ru,Lu,Ou,Du){var $u;Ou===void 0&&(Ou="ObservableArray"),Du===void 0&&(Du=!1),$u=_u.call(this)||this;var ku=new ObservableArrayAdministration(Ou,Lu,Du,!0);if(ku.proxy_=_assertThisInitialized($u),addHiddenFinalProp(_assertThisInitialized($u),$mobx,ku),Ru&&Ru.length){var Fu=allowStateChangesStart(!0);$u.spliceWithArray(0,0,Ru),allowStateChangesEnd(Fu)}return $u}var Bu=Pu.prototype;return Bu.concat=function(){this[$mobx].atom_.reportObserved();for(var Lu=arguments.length,Ou=new Array(Lu),Du=0;Du<Lu;Du++)Ou[Du]=arguments[Du];return Array.prototype.concat.apply(this.slice(),Ou.map(function($u){return isObservableArray($u)?$u.slice():$u}))},Bu[Cu]=function(){var Ru=this,Lu=0;return makeIterable({next:function(){return Lu<Ru.length?{value:Ru[Lu++],done:!1}:{done:!0,value:void 0}}})},_createClass(Pu,[{key:"length",get:function(){return this[$mobx].getArrayLength_()},set:function(Lu){this[$mobx].setArrayLength_(Lu)}},{key:Tu,get:function(){return"Array"}}]),Pu}(StubArray,Symbol.toStringTag,Symbol.iterator);Object.entries(arrayExtensions).forEach(function(_u){var Tu=_u[0],Cu=_u[1];Tu!=="concat"&&addHiddenProp(LegacyObservableArray.prototype,Tu,Cu)});function createArrayEntryDescriptor(_u){return{enumerable:!1,configurable:!0,get:function(){return this[$mobx].get_(_u)},set:function(Cu){this[$mobx].set_(_u,Cu)}}}function createArrayBufferItem(_u){defineProperty(LegacyObservableArray.prototype,""+_u,createArrayEntryDescriptor(_u))}function reserveArrayBuffer(_u){if(_u>OBSERVABLE_ARRAY_BUFFER_SIZE){for(var Tu=OBSERVABLE_ARRAY_BUFFER_SIZE;Tu<_u+100;Tu++)createArrayBufferItem(Tu);OBSERVABLE_ARRAY_BUFFER_SIZE=_u}}reserveArrayBuffer(1e3);function createLegacyArray(_u,Tu,Cu){return new LegacyObservableArray(_u,Tu,Cu)}function getAtom(_u,Tu){if(typeof _u=="object"&&_u!==null){if(isObservableArray(_u))return Tu!==void 0&&die(23),_u[$mobx].atom_;if(isObservableSet(_u))return _u[$mobx];if(isObservableMap(_u)){if(Tu===void 0)return _u.keysAtom_;var Cu=_u.data_.get(Tu)||_u.hasMap_.get(Tu);return Cu||die(25,Tu,getDebugName(_u)),Cu}if(isObservableObject(_u)){if(!Tu)return die(26);var Pu=_u[$mobx].values_.get(Tu);return Pu||die(27,Tu,getDebugName(_u)),Pu}if(isAtom(_u)||isComputedValue(_u)||isReaction(_u))return _u}else if(isFunction(_u)&&isReaction(_u[$mobx]))return _u[$mobx];die(28)}function getAdministration(_u,Tu){if(_u||die(29),Tu!==void 0)return getAdministration(getAtom(_u,Tu));if(isAtom(_u)||isComputedValue(_u)||isReaction(_u)||isObservableMap(_u)||isObservableSet(_u))return _u;if(_u[$mobx])return _u[$mobx];die(24,_u)}function getDebugName(_u,Tu){var Cu;if(Tu!==void 0)Cu=getAtom(_u,Tu);else{if(isAction(_u))return _u.name;isObservableObject(_u)||isObservableMap(_u)||isObservableSet(_u)?Cu=getAdministration(_u):Cu=getAtom(_u)}return Cu.name_}var toString=objectPrototype.toString;function deepEqual(_u,Tu,Cu){return Cu===void 0&&(Cu=-1),eq$1(_u,Tu,Cu)}function eq$1(_u,Tu,Cu,Pu,Bu){if(_u===Tu)return _u!==0||1/_u===1/Tu;if(_u==null||Tu==null)return!1;if(_u!==_u)return Tu!==Tu;var Ru=typeof _u;if(Ru!=="function"&&Ru!=="object"&&typeof Tu!="object")return!1;var Lu=toString.call(_u);if(Lu!==toString.call(Tu))return!1;switch(Lu){case"[object RegExp]":case"[object String]":return""+_u==""+Tu;case"[object Number]":return+_u!=+_u?+Tu!=+Tu:+_u==0?1/+_u===1/Tu:+_u==+Tu;case"[object Date]":case"[object Boolean]":return+_u==+Tu;case"[object Symbol]":return typeof Symbol!="undefined"&&Symbol.valueOf.call(_u)===Symbol.valueOf.call(Tu);case"[object Map]":case"[object Set]":Cu>=0&&Cu++;break}_u=unwrap(_u),Tu=unwrap(Tu);var Ou=Lu==="[object Array]";if(!Ou){if(typeof _u!="object"||typeof Tu!="object")return!1;var Du=_u.constructor,$u=Tu.constructor;if(Du!==$u&&!(isFunction(Du)&&Du instanceof Du&&isFunction($u)&&$u instanceof $u)&&"constructor"in _u&&"constructor"in Tu)return!1}if(Cu===0)return!1;Cu<0&&(Cu=-1),Pu=Pu||[],Bu=Bu||[];for(var ku=Pu.length;ku--;)if(Pu[ku]===_u)return Bu[ku]===Tu;if(Pu.push(_u),Bu.push(Tu),Ou){if(ku=_u.length,ku!==Tu.length)return!1;for(;ku--;)if(!eq$1(_u[ku],Tu[ku],Cu-1,Pu,Bu))return!1}else{var Fu=Object.keys(_u),Nu;if(ku=Fu.length,Object.keys(Tu).length!==ku)return!1;for(;ku--;)if(Nu=Fu[ku],!(hasProp(Tu,Nu)&&eq$1(_u[Nu],Tu[Nu],Cu-1,Pu,Bu)))return!1}return Pu.pop(),Bu.pop(),!0}function unwrap(_u){return isObservableArray(_u)?_u.slice():isES6Map(_u)||isObservableMap(_u)||isES6Set(_u)||isObservableSet(_u)?Array.from(_u.entries()):_u}function makeIterable(_u){return _u[Symbol.iterator]=getSelf,_u}function getSelf(){return this}["Symbol","Map","Set"].forEach(function(_u){var Tu=getGlobal();typeof Tu[_u]=="undefined"&&die("MobX requires global '"+_u+"' to be available or polyfilled")});typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__=="object"&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy,extras:{getDebugName},$mobx});if(!react$1.exports.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!makeObservable)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");function defaultNoopBatch(_u){_u()}function observerBatching(_u){_u||(_u=defaultNoopBatch),configure({reactionScheduler:_u})}function printDebugValue(_u){return getDependencyTree(_u)}var FinalizationRegistryLocal=typeof FinalizationRegistry=="undefined"?void 0:FinalizationRegistry;function createTrackingData(_u){var Tu={reaction:_u,mounted:!1,changedBeforeMount:!1,cleanAt:Date.now()+CLEANUP_LEAKED_REACTIONS_AFTER_MILLIS};return Tu}var CLEANUP_LEAKED_REACTIONS_AFTER_MILLIS=1e4,CLEANUP_TIMER_LOOP_MILLIS=1e4;function createReactionCleanupTrackingUsingFinalizationRegister(_u){var Tu=new Map,Cu=1,Pu=new _u(function(Ru){var Lu=Tu.get(Ru);Lu&&(Lu.reaction.dispose(),Tu.delete(Ru))});return{addReactionToTrack:function(Bu,Ru,Lu){var Ou=Cu++;return Pu.register(Lu,Ou,Bu),Bu.current=createTrackingData(Ru),Bu.current.finalizationRegistryCleanupToken=Ou,Tu.set(Ou,Bu.current),Bu.current},recordReactionAsCommitted:function(Bu){Pu.unregister(Bu),Bu.current&&Bu.current.finalizationRegistryCleanupToken&&Tu.delete(Bu.current.finalizationRegistryCleanupToken)},forceCleanupTimerToRunNowForTests:function(){},resetCleanupScheduleForTests:function(){}}}var __values=globalThis&&globalThis.__values||function(_u){var Tu=typeof Symbol=="function"&&Symbol.iterator,Cu=Tu&&_u[Tu],Pu=0;if(Cu)return Cu.call(_u);if(_u&&typeof _u.length=="number")return{next:function(){return _u&&Pu>=_u.length&&(_u=void 0),{value:_u&&_u[Pu++],done:!_u}}};throw new TypeError(Tu?"Object is not iterable.":"Symbol.iterator is not defined.")};function createTimerBasedReactionCleanupTracking(){var _u=new Set,Tu;function Cu(){Tu&&(clearTimeout(Tu),Ou())}function Pu(){var Du,$u;if(_u.size>0){try{for(var ku=__values(_u),Fu=ku.next();!Fu.done;Fu=ku.next()){var Nu=Fu.value,Vu=Nu.current;Vu&&(Vu.reaction.dispose(),Nu.current=null)}}catch(Gu){Du={error:Gu}}finally{try{Fu&&!Fu.done&&($u=ku.return)&&$u.call(ku)}finally{if(Du)throw Du.error}}_u.clear()}Tu&&(clearTimeout(Tu),Tu=void 0)}function Bu(){Tu===void 0&&(Tu=setTimeout(Ou,CLEANUP_TIMER_LOOP_MILLIS))}function Ru(Du){_u.add(Du),Bu()}function Lu(Du){_u.delete(Du)}function Ou(){Tu=void 0;var Du=Date.now();_u.forEach(function($u){var ku=$u.current;ku&&Du>=ku.cleanAt&&(ku.reaction.dispose(),$u.current=null,_u.delete($u))}),_u.size>0&&Bu()}return{addReactionToTrack:function(Du,$u,ku){return Du.current=createTrackingData($u),Ru(Du),Du.current},recordReactionAsCommitted:Lu,forceCleanupTimerToRunNowForTests:Cu,resetCleanupScheduleForTests:Pu}}var _a=FinalizationRegistryLocal?createReactionCleanupTrackingUsingFinalizationRegister(FinalizationRegistryLocal):createTimerBasedReactionCleanupTracking(),addReactionToTrack=_a.addReactionToTrack,recordReactionAsCommitted=_a.recordReactionAsCommitted,__read=globalThis&&globalThis.__read||function(_u,Tu){var Cu=typeof Symbol=="function"&&_u[Symbol.iterator];if(!Cu)return _u;var Pu=Cu.call(_u),Bu,Ru=[],Lu;try{for(;(Tu===void 0||Tu-- >0)&&!(Bu=Pu.next()).done;)Ru.push(Bu.value)}catch(Ou){Lu={error:Ou}}finally{try{Bu&&!Bu.done&&(Cu=Pu.return)&&Cu.call(Pu)}finally{if(Lu)throw Lu.error}}return Ru};function observerComponentNameFor(_u){return"observer".concat(_u)}var ObjectToBeRetainedByReact=function(){function _u(){}return _u}();function objectToBeRetainedByReactFactory(){return new ObjectToBeRetainedByReact}function useObserver(_u,Tu){Tu===void 0&&(Tu="observed");var Cu=__read(React.useState(objectToBeRetainedByReactFactory),1),Pu=Cu[0],Bu=__read(React.useState(),2),Ru=Bu[1],Lu=function(){return Ru([])},Ou=React.useRef(null);if(!Ou.current)var Du=new Reaction(observerComponentNameFor(Tu),function(){$u.mounted?Lu():$u.changedBeforeMount=!0}),$u=addReactionToTrack(Ou,Du,Pu);var ku=Ou.current.reaction;React.useDebugValue(ku,printDebugValue),React.useEffect(function(){return recordReactionAsCommitted(Ou),Ou.current?(Ou.current.mounted=!0,Ou.current.changedBeforeMount&&(Ou.current.changedBeforeMount=!1,Lu())):(Ou.current={reaction:new Reaction(observerComponentNameFor(Tu),function(){Lu()}),mounted:!0,changedBeforeMount:!1,cleanAt:1/0},Lu()),function(){Ou.current.reaction.dispose(),Ou.current=null}},[]);var Fu,Nu;if(ku.track(function(){try{Fu=_u()}catch(Vu){Nu=Vu}}),Nu)throw Nu;return Fu}var hasSymbol=typeof Symbol=="function"&&Symbol.for,ReactForwardRefSymbol=hasSymbol?Symbol.for("react.forward_ref"):typeof react$1.exports.forwardRef=="function"&&react$1.exports.forwardRef(function(_u){return null}).$$typeof,ReactMemoSymbol=hasSymbol?Symbol.for("react.memo"):typeof react$1.exports.memo=="function"&&react$1.exports.memo(function(_u){return null}).$$typeof;function observer$1(_u,Tu){var Cu;if(ReactMemoSymbol&&_u.$$typeof===ReactMemoSymbol)throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");var Pu=(Cu=Tu==null?void 0:Tu.forwardRef)!==null&&Cu!==void 0?Cu:!1,Bu=_u,Ru=_u.displayName||_u.name;if(ReactForwardRefSymbol&&_u.$$typeof===ReactForwardRefSymbol&&(Pu=!0,Bu=_u.render,typeof Bu!="function"))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var Lu=function(Ou,Du){return useObserver(function(){return Bu(Ou,Du)},Ru)};return Ru!==""&&(Lu.displayName=Ru),_u.contextTypes&&(Lu.contextTypes=_u.contextTypes),Pu&&(Lu=react$1.exports.forwardRef(Lu)),Lu=react$1.exports.memo(Lu),copyStaticProperties(_u,Lu),Lu}var hoistBlackList={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function copyStaticProperties(_u,Tu){Object.keys(_u).forEach(function(Cu){hoistBlackList[Cu]||Object.defineProperty(Tu,Cu,Object.getOwnPropertyDescriptor(_u,Cu))})}globalThis&&globalThis.__read;observerBatching(reactDom.exports.unstable_batchedUpdates);var symbolId=0;function createSymbol$1(_u){if(typeof Symbol=="function")return Symbol(_u);var Tu="__$mobx-react "+_u+" ("+symbolId+")";return symbolId++,Tu}var createdSymbols={};function newSymbol(_u){return createdSymbols[_u]||(createdSymbols[_u]=createSymbol$1(_u)),createdSymbols[_u]}function shallowEqual(_u,Tu){if(is$2(_u,Tu))return!0;if(typeof _u!="object"||_u===null||typeof Tu!="object"||Tu===null)return!1;var Cu=Object.keys(_u),Pu=Object.keys(Tu);if(Cu.length!==Pu.length)return!1;for(var Bu=0;Bu<Cu.length;Bu++)if(!Object.hasOwnProperty.call(Tu,Cu[Bu])||!is$2(_u[Cu[Bu]],Tu[Cu[Bu]]))return!1;return!0}function is$2(_u,Tu){return _u===Tu?_u!==0||1/_u===1/Tu:_u!==_u&&Tu!==Tu}function setHiddenProp(_u,Tu,Cu){Object.hasOwnProperty.call(_u,Tu)?_u[Tu]=Cu:Object.defineProperty(_u,Tu,{enumerable:!1,configurable:!0,writable:!0,value:Cu})}var mobxMixins=newSymbol("patchMixins"),mobxPatchedDefinition=newSymbol("patchedDefinition");function getMixins(_u,Tu){var Cu=_u[mobxMixins]=_u[mobxMixins]||{},Pu=Cu[Tu]=Cu[Tu]||{};return Pu.locks=Pu.locks||0,Pu.methods=Pu.methods||[],Pu}function wrapper(_u,Tu){for(var Cu=this,Pu=arguments.length,Bu=new Array(Pu>2?Pu-2:0),Ru=2;Ru<Pu;Ru++)Bu[Ru-2]=arguments[Ru];Tu.locks++;try{var Lu;return _u!=null&&(Lu=_u.apply(this,Bu)),Lu}finally{Tu.locks--,Tu.locks===0&&Tu.methods.forEach(function(Ou){Ou.apply(Cu,Bu)})}}function wrapFunction(_u,Tu){var Cu=function(){for(var Bu=arguments.length,Ru=new Array(Bu),Lu=0;Lu<Bu;Lu++)Ru[Lu]=arguments[Lu];wrapper.call.apply(wrapper,[this,_u,Tu].concat(Ru))};return Cu}function patch(_u,Tu,Cu){var Pu=getMixins(_u,Tu);Pu.methods.indexOf(Cu)<0&&Pu.methods.push(Cu);var Bu=Object.getOwnPropertyDescriptor(_u,Tu);if(!(Bu&&Bu[mobxPatchedDefinition])){var Ru=_u[Tu],Lu=createDefinition(_u,Tu,Bu?Bu.enumerable:void 0,Pu,Ru);Object.defineProperty(_u,Tu,Lu)}}function createDefinition(_u,Tu,Cu,Pu,Bu){var Ru,Lu=wrapFunction(Bu,Pu);return Ru={},Ru[mobxPatchedDefinition]=!0,Ru.get=function(){return Lu},Ru.set=function(Du){if(this===_u)Lu=wrapFunction(Du,Pu);else{var $u=createDefinition(this,Tu,Cu,Pu,Du);Object.defineProperty(this,Tu,$u)}},Ru.configurable=!0,Ru.enumerable=Cu,Ru}var mobxAdminProperty=$mobx||"$mobx",mobxObserverProperty=newSymbol("isMobXReactObserver"),mobxIsUnmounted=newSymbol("isUnmounted"),skipRenderKey=newSymbol("skipRender"),isForcingUpdateKey=newSymbol("isForcingUpdate");function makeClassComponentObserver(_u){var Tu=_u.prototype;if(_u[mobxObserverProperty]){var Cu=getDisplayName(Tu);console.warn("The provided component class ("+Cu+`)
3693
3693
  has already been declared as an observer component.`)}else _u[mobxObserverProperty]=!0;if(Tu.componentWillReact)throw new Error("The componentWillReact life-cycle event is no longer supported");if(_u.__proto__!==react$1.exports.PureComponent){if(!Tu.shouldComponentUpdate)Tu.shouldComponentUpdate=observerSCU;else if(Tu.shouldComponentUpdate!==observerSCU)throw new Error("It is not allowed to use shouldComponentUpdate in observer based components.")}makeObservableProp(Tu,"props"),makeObservableProp(Tu,"state");var Pu=Tu.render;if(typeof Pu!="function"){var Bu=getDisplayName(Tu);throw new Error("[mobx-react] class component ("+Bu+") is missing `render` method.\n`observer` requires `render` being a function defined on prototype.\n`render = () => {}` or `render = function() {}` is not supported.")}return Tu.render=function(){return makeComponentReactive.call(this,Pu)},patch(Tu,"componentWillUnmount",function(){var Ru;if((Ru=this.render[mobxAdminProperty])==null||Ru.dispose(),this[mobxIsUnmounted]=!0,!this.render[mobxAdminProperty]){var Lu=getDisplayName(this);console.warn("The reactive render of an observer class component ("+Lu+`)
3694
3694
  was overriden after MobX attached. This may result in a memory leak if the
3695
- overriden reactive render was not properly disposed.`)}}),_u}function getDisplayName(_u){return _u.displayName||_u.name||_u.constructor&&(_u.constructor.displayName||_u.constructor.name)||"<component>"}function makeComponentReactive(_u){var Tu=this;setHiddenProp(this,skipRenderKey,!1),setHiddenProp(this,isForcingUpdateKey,!1);var Cu=getDisplayName(this),Pu=_u.bind(this),Bu=!1,Ru=new Reaction(Cu+".render()",function(){if(!Bu&&(Bu=!0,Tu[mobxIsUnmounted]!==!0)){var Ou=!0;try{setHiddenProp(Tu,isForcingUpdateKey,!0),Tu[skipRenderKey]||react$1.exports.Component.prototype.forceUpdate.call(Tu),Ou=!1}finally{setHiddenProp(Tu,isForcingUpdateKey,!1),Ou&&Ru.dispose()}}});Ru.reactComponent=this,Lu[mobxAdminProperty]=Ru,this.render=Lu;function Lu(){Bu=!1;var Ou=void 0,Du=void 0;if(Ru.track(function(){try{Du=allowStateChanges(!1,Pu)}catch($u){Ou=$u}}),Ou)throw Ou;return Du}return Lu.call(this)}function observerSCU(_u,Tu){return this.state!==Tu?!0:!shallowEqual(this.props,_u)}function makeObservableProp(_u,Tu){var Cu=newSymbol("reactProp_"+Tu+"_valueHolder"),Pu=newSymbol("reactProp_"+Tu+"_atomHolder");function Bu(){return this[Pu]||setHiddenProp(this,Pu,createAtom("reactive "+Tu)),this[Pu]}Object.defineProperty(_u,Tu,{configurable:!0,enumerable:!0,get:function(){var Lu=!1;return allowStateReadsStart&&allowStateReadsEnd&&(Lu=allowStateReadsStart(!0)),Bu.call(this).reportObserved(),allowStateReadsStart&&allowStateReadsEnd&&allowStateReadsEnd(Lu),this[Cu]},set:function(Lu){!this[isForcingUpdateKey]&&!shallowEqual(this[Cu],Lu)?(setHiddenProp(this,Cu,Lu),setHiddenProp(this,skipRenderKey,!0),Bu.call(this).reportChanged(),setHiddenProp(this,skipRenderKey,!1)):setHiddenProp(this,Cu,Lu)}})}function observer(_u){return _u.isMobxInjector===!0&&console.warn("Mobx observer: You are trying to use `observer` on a component that already has `inject`. Please apply `observer` before applying `inject`"),Object.prototype.isPrototypeOf.call(react$1.exports.Component,_u)||Object.prototype.isPrototypeOf.call(react$1.exports.PureComponent,_u)?makeClassComponentObserver(_u):observer$1(_u)}if(!react$1.exports.Component)throw new Error("mobx-react requires React to be available");if(!observable)throw new Error("mobx-react requires mobx to be available");const _requestAnimationFrame$1=window.requestAnimationFrame||(_u=>setTimeout(_u,16)),_cancelAnimationFrame$1=window.cancelAnimationFrame||clearTimeout;function nextFrame(_u,Tu=0){Tu<=0?_requestAnimationFrame$1(_u):_requestAnimationFrame$1(()=>nextFrame(_u,Tu-1))}function requestAnimationFrameInterval$1(_u,Tu=60){let Cu=-1,Pu=0,Bu=-1;const Ru=1e3/Tu;function Lu(Ou){Bu===-1&&(Bu=Ou),Cu=_requestAnimationFrame$1(Lu),!(Ou-Pu<Ru)&&(Pu=Ou,_u&&_u(Ou-Bu))}return Cu=_requestAnimationFrame$1(Lu),function(){_cancelAnimationFrame$1(Cu)}}function setElementDataset(_u,Tu){_u&&Object.keys(Tu).forEach(Cu=>{const Pu=Tu[Cu].toString();_u instanceof Element?_u.setAttribute(`data-${Cu}`,Pu):_u instanceof Document?_u.documentElement.setAttribute(`data-${Cu}`,Pu):_u instanceof HTMLElement?_u.dataset[Cu]=Pu:_u.setAttribute(`data-${Cu}`,Pu)})}function getFileExpandedName(_u){if(!_u)return"";const Tu=_u.lastIndexOf(".");return _u.substring(Tu+1).toLowerCase()}function getMediaType(_u){const Tu=getFileExpandedName(_u);return getMediaTypeByExpandedName(Tu)}function getMediaTypeByExpandedName(_u){return _u?/jpg|jpeg|png$/.test(_u)?"image":/mp3|wav$/.test(_u)?"audio":/avi|wmv|mpeg|mp4|m4v|mov|asf|flv|f4v|rmvb|rm|3gp|vob$/.test(_u)?"video":"unknown":"unknown"}class Controller extends Subscribe$1{constructor({five:Cu,container:Pu,configs:Bu}){super();hm(this,"five");hm(this,"configs");hm(this,"videoAgentScene");hm(this,"vreoUnit");hm(this,"stopInterval");hm(this,"playing",!1);hm(this,"ended",!1);hm(this,"loading",!1);hm(this,"containerSize");hm(this,"appSize");hm(this,"container");hm(this,"waveAppearance",null);hm(this,"appearance",{waveStyle:"solid"});hm(this,"avatar");hm(this,"visible",!1);hm(this,"popUp",null);hm(this,"drawerConfig",null);this.configs=Bu,this.container=Pu,this.five=Cu,this.appSize=Bu.appSize,this.appearance=Ym(Ym({},this.appearance),Bu.appearance),makeObservable(this,{visible:observable,setVisible:action,playing:observable,setPlaying:action,loading:observable,setLoading:action,popUp:observable.ref,openPopUp:action,drawerConfig:observable.ref,openDrawer:action,ended:observable,waveAppearance:observable,avatar:observable,containerSize:observable,setContainerSize:action,appearance:observable,setAppearance:action,configs:observable.ref,setEnded:action,setAvatar:action}),reaction(()=>[this.appearance.waveStyle,this.loading],([Ru,Lu])=>{if(Lu===null){this.waveAppearance=null;return}if(Ru==="wave")switch(Lu){case!0:this.waveAppearance="double";break;case!1:this.waveAppearance="solid";break}else if(Ru==="solid")switch(Lu){case!0:this.waveAppearance="swap";break;case!1:this.waveAppearance="expand";break}},{fireImmediately:!0}),this.appSize?setElementDataset(this.container,{size:this.appSize}):reaction(()=>this.containerSize,Ru=>{if(!Ru)return;const Lu=Ru.width,Ou=Ru.height,Du=(()=>Lu<=500?"S":Lu<=1024?"M":Lu<=2048?"L":"XL")(),$u=(()=>Ou>Lu?"portrait":"landscape")();setElementDataset(this.container,{size:Du}),setElementDataset(this.container,{orientation:$u})},{fireImmediately:!0}),reaction(()=>this.ended,Ru=>{Ru&&this.emit("paused",!0)}),reaction(()=>this.playing,Ru=>{this.ended||this.emit(Ru?"playing":"paused")})}get agentType(){var Pu,Bu;const Cu=getMediaType((Pu=this.videoAgentScene)==null?void 0:Pu.videoAgentMesh.videoUrl);return(Bu=this.avatar)!=null&&Bu.force?"avatar":Cu==="video"?"video":"none"}openPopUp(Cu){if(!Cu){this.popUp=null;return}this.popUp=Cu}setLoading(Cu){this.loading=Cu}setAvatar(Cu){this.avatar=Cu}setContainerSize(Cu,Pu){this.containerSize={width:Cu,height:Pu}}setVisible(Cu){this.visible=Cu}setPlaying(Cu){this.playing=Cu}setEnded(Cu){this.ended=Cu}setAppearance(Cu){this.appearance=Ym(Ym({},this.appearance),Cu)}openDrawer(Cu){var Pu;if(!Cu){this.drawerConfig={content:"",height:(Pu=this.drawerConfig)==null?void 0:Pu.height};return}this.drawerConfig=Cu}get ready(){return!!this.videoAgentScene}get currentTime(){var Cu;return((Cu=this.videoAgentScene)==null?void 0:Cu.videoAgentMesh.currentTime)||0}get currentKeyframes(){return this.vreoUnit?this.vreoUnit.keyframes.filter(Pu=>{if(Pu.parsed)return!1;const Bu=this.currentTime-Pu.start;return Bu<=100&&Bu>=0}):[]}get mediaInstance(){var Cu;return(Cu=this.videoAgentScene)==null?void 0:Cu.videoAgentMesh.mediaInstance}requestAnimationFrameLoop(Cu){var Bu,Ru,Lu,Ou;if((Bu=this.mediaInstance)!=null&&Bu.ended){this.setEnded(!0),this.setPlaying(!1),this.mediaInstance.pause();return}if(!this.playing){(Ru=this.mediaInstance)!=null&&Ru.paused||(Lu=this.mediaInstance)==null||Lu.pause();return}((Ou=this.mediaInstance)==null?void 0:Ou.paused)&&this.playing&&this.mediaInstance.play(),this.currentKeyframes.forEach(Du=>{Du.parsed||(Du.parsed=!0,this.emit(Du.type,Du),Cu&&Cu(Du.type,Du))})}run(Cu){this.stopInterval||(this.stopInterval=requestAnimationFrameInterval$1(()=>this.requestAnimationFrameLoop(Cu)))}dispose(){this.setPlaying(!1),this.currentKeyframes&&this.currentKeyframes.forEach(Cu=>Cu.parsed=!1),this.vreoUnit=void 0,this.mediaInstance&&(this.mediaInstance.currentTime=0),this.stopInterval&&(this.stopInterval(),this.stopInterval=void 0)}}const ControllerContext=react$1.exports.createContext(null);function useController(){const _u=React.useContext(ControllerContext);if(!_u)throw new Error('\u6CA1\u6709\u627E\u5230 "ControllerContext"');return _u}function useFiveInstance(){const _u=useController();if(!_u.five)throw new Error('\u6CA1\u6709\u627E\u5230 "five" \u5B9E\u4F8B');return _u.five}function useFiveProject2d(){const _u=useFiveInstance();return Tu=>_u.project2d(Tu,!1)}var CameraMovementEffect$1=(_u=>(_u.Move="Move",_u.Rotate="Rotate",_u))(CameraMovementEffect$1||{}),Rotation$1=(_u=>(_u.Clockwise="Clockwise",_u.Anticlockwise="Anticlockwise",_u.Loop="Loop",_u))(Rotation$1||{}),Easing$1={Linear:{None:function(_u){return _u}},Quadratic:{In:function(_u){return _u*_u},Out:function(_u){return _u*(2-_u)},InOut:function(_u){return(_u*=2)<1?.5*_u*_u:-.5*(--_u*(_u-2)-1)}},Cubic:{In:function(_u){return _u*_u*_u},Out:function(_u){return--_u*_u*_u+1},InOut:function(_u){return(_u*=2)<1?.5*_u*_u*_u:.5*((_u-=2)*_u*_u+2)}},Quartic:{In:function(_u){return _u*_u*_u*_u},Out:function(_u){return 1- --_u*_u*_u*_u},InOut:function(_u){return(_u*=2)<1?.5*_u*_u*_u*_u:-.5*((_u-=2)*_u*_u*_u-2)}},Quintic:{In:function(_u){return _u*_u*_u*_u*_u},Out:function(_u){return--_u*_u*_u*_u*_u+1},InOut:function(_u){return(_u*=2)<1?.5*_u*_u*_u*_u*_u:.5*((_u-=2)*_u*_u*_u*_u+2)}},Sinusoidal:{In:function(_u){return 1-Math.cos(_u*Math.PI/2)},Out:function(_u){return Math.sin(_u*Math.PI/2)},InOut:function(_u){return .5*(1-Math.cos(Math.PI*_u))}},Exponential:{In:function(_u){return _u===0?0:Math.pow(1024,_u-1)},Out:function(_u){return _u===1?1:1-Math.pow(2,-10*_u)},InOut:function(_u){return _u===0?0:_u===1?1:(_u*=2)<1?.5*Math.pow(1024,_u-1):.5*(-Math.pow(2,-10*(_u-1))+2)}},Circular:{In:function(_u){return 1-Math.sqrt(1-_u*_u)},Out:function(_u){return Math.sqrt(1- --_u*_u)},InOut:function(_u){return(_u*=2)<1?-.5*(Math.sqrt(1-_u*_u)-1):.5*(Math.sqrt(1-(_u-=2)*_u)+1)}},Elastic:{In:function(_u){return _u===0?0:_u===1?1:-Math.pow(2,10*(_u-1))*Math.sin((_u-1.1)*5*Math.PI)},Out:function(_u){return _u===0?0:_u===1?1:Math.pow(2,-10*_u)*Math.sin((_u-.1)*5*Math.PI)+1},InOut:function(_u){return _u===0?0:_u===1?1:(_u*=2,_u<1?-.5*Math.pow(2,10*(_u-1))*Math.sin((_u-1.1)*5*Math.PI):.5*Math.pow(2,-10*(_u-1))*Math.sin((_u-1.1)*5*Math.PI)+1)}},Back:{In:function(_u){var Tu=1.70158;return _u*_u*((Tu+1)*_u-Tu)},Out:function(_u){var Tu=1.70158;return--_u*_u*((Tu+1)*_u+Tu)+1},InOut:function(_u){var Tu=2.5949095;return(_u*=2)<1?.5*(_u*_u*((Tu+1)*_u-Tu)):.5*((_u-=2)*_u*((Tu+1)*_u+Tu)+2)}},Bounce:{In:function(_u){return 1-Easing$1.Bounce.Out(1-_u)},Out:function(_u){return _u<1/2.75?7.5625*_u*_u:_u<2/2.75?7.5625*(_u-=1.5/2.75)*_u+.75:_u<2.5/2.75?7.5625*(_u-=2.25/2.75)*_u+.9375:7.5625*(_u-=2.625/2.75)*_u+.984375},InOut:function(_u){return _u<.5?Easing$1.Bounce.In(_u*2)*.5:Easing$1.Bounce.Out(_u*2-1)*.5+.5}}},now$2;typeof self=="undefined"&&typeof process!="undefined"&&process.hrtime?now$2=function(){var _u=process.hrtime();return _u[0]*1e3+_u[1]/1e6}:typeof self!="undefined"&&self.performance!==void 0&&self.performance.now!==void 0?now$2=self.performance.now.bind(self.performance):Date.now!==void 0?now$2=Date.now:now$2=function(){return new Date().getTime()};var now$1$1=now$2,Group=function(){function _u(){this._tweens={},this._tweensAddedDuringUpdate={}}return _u.prototype.getAll=function(){var Tu=this;return Object.keys(this._tweens).map(function(Cu){return Tu._tweens[Cu]})},_u.prototype.removeAll=function(){this._tweens={}},_u.prototype.add=function(Tu){this._tweens[Tu.getId()]=Tu,this._tweensAddedDuringUpdate[Tu.getId()]=Tu},_u.prototype.remove=function(Tu){delete this._tweens[Tu.getId()],delete this._tweensAddedDuringUpdate[Tu.getId()]},_u.prototype.update=function(Tu,Cu){Tu===void 0&&(Tu=now$1$1()),Cu===void 0&&(Cu=!1);var Pu=Object.keys(this._tweens);if(Pu.length===0)return!1;for(;Pu.length>0;){this._tweensAddedDuringUpdate={};for(var Bu=0;Bu<Pu.length;Bu++){var Ru=this._tweens[Pu[Bu]],Lu=!Cu;Ru&&Ru.update(Tu,Lu)===!1&&!Cu&&delete this._tweens[Pu[Bu]]}Pu=Object.keys(this._tweensAddedDuringUpdate)}return!0},_u}(),Interpolation={Linear:function(_u,Tu){var Cu=_u.length-1,Pu=Cu*Tu,Bu=Math.floor(Pu),Ru=Interpolation.Utils.Linear;return Tu<0?Ru(_u[0],_u[1],Pu):Tu>1?Ru(_u[Cu],_u[Cu-1],Cu-Pu):Ru(_u[Bu],_u[Bu+1>Cu?Cu:Bu+1],Pu-Bu)},Bezier:function(_u,Tu){for(var Cu=0,Pu=_u.length-1,Bu=Math.pow,Ru=Interpolation.Utils.Bernstein,Lu=0;Lu<=Pu;Lu++)Cu+=Bu(1-Tu,Pu-Lu)*Bu(Tu,Lu)*_u[Lu]*Ru(Pu,Lu);return Cu},CatmullRom:function(_u,Tu){var Cu=_u.length-1,Pu=Cu*Tu,Bu=Math.floor(Pu),Ru=Interpolation.Utils.CatmullRom;return _u[0]===_u[Cu]?(Tu<0&&(Bu=Math.floor(Pu=Cu*(1+Tu))),Ru(_u[(Bu-1+Cu)%Cu],_u[Bu],_u[(Bu+1)%Cu],_u[(Bu+2)%Cu],Pu-Bu)):Tu<0?_u[0]-(Ru(_u[0],_u[0],_u[1],_u[1],-Pu)-_u[0]):Tu>1?_u[Cu]-(Ru(_u[Cu],_u[Cu],_u[Cu-1],_u[Cu-1],Pu-Cu)-_u[Cu]):Ru(_u[Bu?Bu-1:0],_u[Bu],_u[Cu<Bu+1?Cu:Bu+1],_u[Cu<Bu+2?Cu:Bu+2],Pu-Bu)},Utils:{Linear:function(_u,Tu,Cu){return(Tu-_u)*Cu+_u},Bernstein:function(_u,Tu){var Cu=Interpolation.Utils.Factorial;return Cu(_u)/Cu(Tu)/Cu(_u-Tu)},Factorial:function(){var _u=[1];return function(Tu){var Cu=1;if(_u[Tu])return _u[Tu];for(var Pu=Tu;Pu>1;Pu--)Cu*=Pu;return _u[Tu]=Cu,Cu}}(),CatmullRom:function(_u,Tu,Cu,Pu,Bu){var Ru=(Cu-_u)*.5,Lu=(Pu-Tu)*.5,Ou=Bu*Bu,Du=Bu*Ou;return(2*Tu-2*Cu+Ru+Lu)*Du+(-3*Tu+3*Cu-2*Ru-Lu)*Ou+Ru*Bu+Tu}}},Sequence=function(){function _u(){}return _u.nextId=function(){return _u._nextId++},_u._nextId=0,_u}(),mainGroup=new Group,Tween=function(){function _u(Tu,Cu){Cu===void 0&&(Cu=mainGroup),this._object=Tu,this._group=Cu,this._isPaused=!1,this._pauseStart=0,this._valuesStart={},this._valuesEnd={},this._valuesStartRepeat={},this._duration=1e3,this._initialRepeat=0,this._repeat=0,this._yoyo=!1,this._isPlaying=!1,this._reversed=!1,this._delayTime=0,this._startTime=0,this._easingFunction=Easing$1.Linear.None,this._interpolationFunction=Interpolation.Linear,this._chainedTweens=[],this._onStartCallbackFired=!1,this._id=Sequence.nextId(),this._isChainStopped=!1,this._goToEnd=!1}return _u.prototype.getId=function(){return this._id},_u.prototype.isPlaying=function(){return this._isPlaying},_u.prototype.isPaused=function(){return this._isPaused},_u.prototype.to=function(Tu,Cu){return this._valuesEnd=Object.create(Tu),Cu!==void 0&&(this._duration=Cu),this},_u.prototype.duration=function(Tu){return this._duration=Tu,this},_u.prototype.start=function(Tu){if(this._isPlaying)return this;if(this._group&&this._group.add(this),this._repeat=this._initialRepeat,this._reversed){this._reversed=!1;for(var Cu in this._valuesStartRepeat)this._swapEndStartRepeatValues(Cu),this._valuesStart[Cu]=this._valuesStartRepeat[Cu]}return this._isPlaying=!0,this._isPaused=!1,this._onStartCallbackFired=!1,this._isChainStopped=!1,this._startTime=Tu!==void 0?typeof Tu=="string"?now$1$1()+parseFloat(Tu):Tu:now$1$1(),this._startTime+=this._delayTime,this._setupProperties(this._object,this._valuesStart,this._valuesEnd,this._valuesStartRepeat),this},_u.prototype._setupProperties=function(Tu,Cu,Pu,Bu){for(var Ru in Pu){var Lu=Tu[Ru],Ou=Array.isArray(Lu),Du=Ou?"array":typeof Lu,$u=!Ou&&Array.isArray(Pu[Ru]);if(!(Du==="undefined"||Du==="function")){if($u){var ku=Pu[Ru];if(ku.length===0)continue;ku=ku.map(this._handleRelativeValue.bind(this,Lu)),Pu[Ru]=[Lu].concat(ku)}if((Du==="object"||Ou)&&Lu&&!$u){Cu[Ru]=Ou?[]:{};for(var Fu in Lu)Cu[Ru][Fu]=Lu[Fu];Bu[Ru]=Ou?[]:{},this._setupProperties(Lu,Cu[Ru],Pu[Ru],Bu[Ru])}else typeof Cu[Ru]=="undefined"&&(Cu[Ru]=Lu),Ou||(Cu[Ru]*=1),$u?Bu[Ru]=Pu[Ru].slice().reverse():Bu[Ru]=Cu[Ru]||0}}},_u.prototype.stop=function(){return this._isChainStopped||(this._isChainStopped=!0,this.stopChainedTweens()),this._isPlaying?(this._group&&this._group.remove(this),this._isPlaying=!1,this._isPaused=!1,this._onStopCallback&&this._onStopCallback(this._object),this):this},_u.prototype.end=function(){return this._goToEnd=!0,this.update(1/0),this},_u.prototype.pause=function(Tu){return Tu===void 0&&(Tu=now$1$1()),this._isPaused||!this._isPlaying?this:(this._isPaused=!0,this._pauseStart=Tu,this._group&&this._group.remove(this),this)},_u.prototype.resume=function(Tu){return Tu===void 0&&(Tu=now$1$1()),!this._isPaused||!this._isPlaying?this:(this._isPaused=!1,this._startTime+=Tu-this._pauseStart,this._pauseStart=0,this._group&&this._group.add(this),this)},_u.prototype.stopChainedTweens=function(){for(var Tu=0,Cu=this._chainedTweens.length;Tu<Cu;Tu++)this._chainedTweens[Tu].stop();return this},_u.prototype.group=function(Tu){return this._group=Tu,this},_u.prototype.delay=function(Tu){return this._delayTime=Tu,this},_u.prototype.repeat=function(Tu){return this._initialRepeat=Tu,this._repeat=Tu,this},_u.prototype.repeatDelay=function(Tu){return this._repeatDelayTime=Tu,this},_u.prototype.yoyo=function(Tu){return this._yoyo=Tu,this},_u.prototype.easing=function(Tu){return this._easingFunction=Tu,this},_u.prototype.interpolation=function(Tu){return this._interpolationFunction=Tu,this},_u.prototype.chain=function(){for(var Tu=[],Cu=0;Cu<arguments.length;Cu++)Tu[Cu]=arguments[Cu];return this._chainedTweens=Tu,this},_u.prototype.onStart=function(Tu){return this._onStartCallback=Tu,this},_u.prototype.onUpdate=function(Tu){return this._onUpdateCallback=Tu,this},_u.prototype.onRepeat=function(Tu){return this._onRepeatCallback=Tu,this},_u.prototype.onComplete=function(Tu){return this._onCompleteCallback=Tu,this},_u.prototype.onStop=function(Tu){return this._onStopCallback=Tu,this},_u.prototype.update=function(Tu,Cu){if(Tu===void 0&&(Tu=now$1$1()),Cu===void 0&&(Cu=!0),this._isPaused)return!0;var Pu,Bu,Ru=this._startTime+this._duration;if(!this._goToEnd&&!this._isPlaying){if(Tu>Ru)return!1;Cu&&this.start(Tu)}if(this._goToEnd=!1,Tu<this._startTime)return!0;this._onStartCallbackFired===!1&&(this._onStartCallback&&this._onStartCallback(this._object),this._onStartCallbackFired=!0),Bu=(Tu-this._startTime)/this._duration,Bu=this._duration===0||Bu>1?1:Bu;var Lu=this._easingFunction(Bu);if(this._updateProperties(this._object,this._valuesStart,this._valuesEnd,Lu),this._onUpdateCallback&&this._onUpdateCallback(this._object,Bu),Bu===1)if(this._repeat>0){isFinite(this._repeat)&&this._repeat--;for(Pu in this._valuesStartRepeat)!this._yoyo&&typeof this._valuesEnd[Pu]=="string"&&(this._valuesStartRepeat[Pu]=this._valuesStartRepeat[Pu]+parseFloat(this._valuesEnd[Pu])),this._yoyo&&this._swapEndStartRepeatValues(Pu),this._valuesStart[Pu]=this._valuesStartRepeat[Pu];return this._yoyo&&(this._reversed=!this._reversed),this._repeatDelayTime!==void 0?this._startTime=Tu+this._repeatDelayTime:this._startTime=Tu+this._delayTime,this._onRepeatCallback&&this._onRepeatCallback(this._object),!0}else{this._onCompleteCallback&&this._onCompleteCallback(this._object);for(var Ou=0,Du=this._chainedTweens.length;Ou<Du;Ou++)this._chainedTweens[Ou].start(this._startTime+this._duration);return this._isPlaying=!1,!1}return!0},_u.prototype._updateProperties=function(Tu,Cu,Pu,Bu){for(var Ru in Pu)if(Cu[Ru]!==void 0){var Lu=Cu[Ru]||0,Ou=Pu[Ru],Du=Array.isArray(Tu[Ru]),$u=Array.isArray(Ou),ku=!Du&&$u;ku?Tu[Ru]=this._interpolationFunction(Ou,Bu):typeof Ou=="object"&&Ou?this._updateProperties(Tu[Ru],Lu,Ou,Bu):(Ou=this._handleRelativeValue(Lu,Ou),typeof Ou=="number"&&(Tu[Ru]=Lu+(Ou-Lu)*Bu))}},_u.prototype._handleRelativeValue=function(Tu,Cu){return typeof Cu!="string"?Cu:Cu.charAt(0)==="+"||Cu.charAt(0)==="-"?Tu+parseFloat(Cu):parseFloat(Cu)},_u.prototype._swapEndStartRepeatValues=function(Tu){var Cu=this._valuesStartRepeat[Tu],Pu=this._valuesEnd[Tu];typeof Pu=="string"?this._valuesStartRepeat[Tu]=this._valuesStartRepeat[Tu]+parseFloat(Pu):this._valuesStartRepeat[Tu]=this._valuesEnd[Tu],this._valuesEnd[Tu]=Cu},_u}(),VERSION="18.6.4",nextId=Sequence.nextId,TWEEN=mainGroup,getAll=TWEEN.getAll.bind(TWEEN),removeAll=TWEEN.removeAll.bind(TWEEN),add=TWEEN.add.bind(TWEEN),remove$1=TWEEN.remove.bind(TWEEN),update$2=TWEEN.update.bind(TWEEN),exports={Easing:Easing$1,Group,Interpolation,now:now$1$1,Sequence,nextId,Tween,VERSION,getAll,removeAll,add,remove:remove$1,update:update$2};const Easing=Easing$1;function tween(_u,Tu,Cu,Pu=Easing.Linear.None){const Bu=new Tween(_u).to(Tu,Cu).easing(Pu);nextFrame(()=>Bu.start(0));const Ru=requestAnimationFrameInterval$1(Ou=>{Bu.update(Ou)===!1&&Ru()}),Lu=[];return Bu.onDestroy=Ou=>(Lu.push(Ou),Bu),Bu.destroy=function(){this.stop(),Object.assign(Bu,{_onStartCallback:null,_onUpdateCallback:null,_onCompleteCallback:null,_onStopCallbackL:null});let Ou;for(;Ou=Lu.shift();)Ou();Ru()},Bu}function tweenProgress$1(_u,Tu){return tween({progress:0},{progress:1},_u,Tu)}const PI$1=Math.PI,PI_2$1=PI$1*2;function formatLatitude(_u){return _u%PI_2$1}function formatLongitude(_u){return _u%PI_2$1}const getLongitudeParams=(_u,Tu,Cu)=>{if(_u=formatLongitude(_u),Tu=formatLongitude(Tu),Cu===Rotation$1.Anticlockwise&&_u>Tu)Tu+=PI_2$1;else if(Cu===Rotation$1.Clockwise&&Tu>_u)_u+=PI_2$1;else{if(Cu!==Rotation$1.Anticlockwise&&Cu!==Rotation$1.Clockwise&&Tu-_u>PI$1)return getLongitudeParams(_u,Tu,Rotation$1.Clockwise);if(Cu!==Rotation$1.Anticlockwise&&Cu!==Rotation$1.Clockwise&&_u-Tu>PI$1)return getLongitudeParams(_u,Tu,Rotation$1.Anticlockwise)}return{from:_u,to:Tu}};function progressNumber(_u,Tu,Cu){return _u+(Tu-_u)*Cu}const CameraMovementPlugin=_u=>{const Tu=(Bu,Ru,Lu={preload:!0})=>new Promise(async(Ou,Du)=>{if(Lu.asyncStartCallback&&Lu.asyncStartCallback(),_u.panoIndex===void 0)return Du(!1);if(Bu.mode&&Bu.mode!==_u.currentMode&&await new Promise(ku=>{!Bu.mode||(_u.once("modeChange",Fu=>{_u.once("initAnimationEnded",()=>{Fu===Bu.mode&&ku(!0)})}),_u.changeMode(Bu.mode,{fov:Bu.fov||void 0,latitude:Bu.latitude||void 0,longitude:Bu.longitude||void 0,panoIndex:Bu.panoIndex||void 0}))}),Bu.mode===Five.Mode.Floorplan||(Lu.preload&&Bu.panoIndex!==void 0&&Bu.panoIndex!==_u.panoIndex&&await _u.preloadPano(Bu.panoIndex),Lu.asyncEndCallback&&Lu.asyncEndCallback(),Bu.panoIndex===void 0&&Bu.fov===void 0&&Bu.latitude===void 0&&Bu.longitude===void 0))return Ou(!0);const $u=Bu.panoIndex!==void 0?Bu.panoIndex:_u.panoIndex;if($u!==void 0){const ku=Object.assign(Bu,{duration:Ru,moveEndCallback:()=>Ou(!0),moveCancelCallback:()=>{Ou(!0)}});await _u.moveToPano($u,ku)}else Du(!1)}),Cu=Bu=>{const Ru=_u.state,Lu=formatLatitude(Ru.latitude),Ou=formatLatitude(Bu.latitude),{from:Du,to:$u}=getLongitudeParams(Ru.longitude,Bu.longitude,Bu.rotation||Rotation$1.Loop),ku=Ru.fov,Fu=Bu.fov;return{from:{latitude:Lu,longitude:Du,fov:ku},to:{latitude:Ou,longitude:$u,fov:Fu}}};return{move:Tu,rotate:async(Bu,Ru,Lu={})=>{Lu.asyncStartCallback&&Lu.asyncStartCallback(),Bu.mode&&_u.currentMode!==Bu.mode&&await _u.changeMode(Bu.mode),Bu.mode===Five.Mode.Panorama&&_u.currentMode===Five.Mode.Panorama&&Bu.panoIndex!==void 0&&Bu.panoIndex!==_u.panoIndex&&(Lu.preload&&await _u.preloadPano(Bu.panoIndex),await new Promise(($u,ku)=>{_u.moveToPano(Bu.panoIndex,{moveEndCallback:()=>$u(!0),moveCancelCallback:()=>ku(!1),effect:"fade"})})),Lu.asyncEndCallback&&Lu.asyncEndCallback();const{from:Ou,to:Du}=Cu(Bu);return await new Promise(($u,ku)=>{const Fu=({progress:ju})=>{const Uu={};Uu.longitude=progressNumber(Ou.longitude,Du.longitude,ju)%PI_2$1,Uu.latitude=progressNumber(Ou.latitude,Du.latitude,ju),Uu.fov=progressNumber(Ou.fov,Du.fov,ju),_u.setState(Uu,!0)},Nu=()=>{$u(!0)},Vu=()=>{$u(!1)};let Gu=Ru;Bu.rotation===Rotation$1.Loop&&(Gu=Bu.rotateSpeed?Math.ceil(Math.abs(Du.longitude-Ou.longitude)/Bu.rotateSpeed*1e3):Ru);const Hu=tweenProgress$1(Gu,Easing.Linear.None).onUpdate(Fu).onComplete(Nu).onDestroy(Vu);Bu.rotation===Rotation$1.Loop&&Hu.repeat(1/0).yoyo(!0),setTimeout(()=>{Hu.destroy(),$u(!0)},Ru)})}}};var VreoKeyframeEnum=(_u=>(_u.CameraMovement="CameraMovement",_u.PanoTag="PanoTag",_u.PanoTextLabel="PanoTextLabel",_u.Prompter="Prompter",_u.UpdateVRPanorama="UpdateVRPanorama",_u.ModelVideo="ModelVideo",_u.PanoEffect="PanoEffect",_u.InfoPanel="InfoPanel",_u.VideoEffect="VideoEffect",_u.BgMusic="BgMusic",_u.Exit="Exit",_u.Custom="Custom",_u))(VreoKeyframeEnum||{}),InfoPanelTypeEnum=(_u=>(_u.Image="Image",_u.Video="Video",_u))(InfoPanelTypeEnum||{}),InfoPanelStyleEnum=(_u=>(_u.Drawer="Drawer",_u.PopUp="PopUp",_u))(InfoPanelStyleEnum||{});function CameraMovement(){const _u=useController(),Tu=useFiveInstance(),Cu=react$1.exports.useRef();return react$1.exports.useEffect(()=>{const Pu=async Bu=>{Cu.current||(Cu.current=CameraMovementPlugin(Tu));const{start:Ru,end:Lu,data:Ou}=Bu,Du=Ou,$u=Du.effect;$u===CameraMovementEffect$1.Rotate?await Cu.current.rotate(Ou,Lu-Ru):$u===CameraMovementEffect$1.Move?await Cu.current.move(Ou,Lu-Ru):Du.panoIndex!==void 0&&Du.panoIndex!==Tu.panoIndex?await Cu.current.move(Ou,Lu-Ru):await Cu.current.rotate(Ou,Lu-Ru)};return _u.on(VreoKeyframeEnum.CameraMovement,Pu),()=>{_u.off(VreoKeyframeEnum.CameraMovement,Pu)}},[_u]),jsx(Fragment,{})}const resizeObserverCache=new Map;function addResizeListener(_u,Tu,Cu=!0){if(!_u)return()=>{};if(Cu&&Tu(_u.clientWidth,_u.clientHeight),typeof ResizeObserver!="undefined"&&ResizeObserver){const Pu=new ResizeObserver(()=>Tu(_u.clientWidth,_u.clientHeight));return Pu.observe(_u),resizeObserverCache.set(_u,resizeObserverCache.get(_u)||0+1),()=>{_u&&Pu.unobserve(_u),resizeObserverCache.get(_u)===1&&resizeObserverCache.delete(_u)}}else{const Pu=document.createElement("iframe");return Pu.style.cssText="position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;opacity:0;visibility:hidden;margin:0;border:0;padding:0;z-index:-1;",Pu.classList.add("resize-sensor-iframe"),_u.appendChild(Pu),Pu.contentWindow?(Pu.contentWindow.addEventListener("resize",()=>{Tu(Pu.clientWidth,Pu.clientHeight)}),resizeObserverCache.set(_u,resizeObserverCache.get(_u)||0+1),()=>{_u.removeChild(Pu),resizeObserverCache.get(_u)===1&&resizeObserverCache.delete(_u)}):()=>{}}}function hasResizeListener(_u){return _u?resizeObserverCache.get(_u)||0>0:!1}function ResizeObserver$1(){const _u=React.useRef(null),Tu=useController();return React.useEffect(()=>{if(!_u.current)return;const Cu=Tu.container.parentElement;if(hasResizeListener(Cu))return;const Pu=addResizeListener(Cu,(Bu,Ru)=>{Tu.setContainerSize(Bu,Ru)});return()=>{Pu()}},[]),jsx("div",{className:"resizeObserver-element",ref:_u})}function InfoPanelImg({url:_u,children:Tu}){return jsx("div",{className:"vreo-infoPanel-container",children:jsx("div",{className:"vreo-infoPanel vreo-infoPanel--img",children:jsx("div",{className:"ratio-4-5 vreo-infoPanel-wrapper",children:jsxs("div",{className:"vreo-infoPanel-inner",children:[Tu,jsx("img",{className:"vreo-infoPanelImg",src:_u})]})})})})}function InfoPanelVideo({url:_u,children:Tu}){return jsx("div",{className:"vreo-infoPanel-container",children:jsx("div",{className:"vreo-infoPanel vreo-infoPanel--video",children:jsx("div",{className:"ratio-4-5 vreo-infoPanel-wrapper",children:jsxs("div",{className:"vreo-infoPanel-inner",children:[Tu,jsx("div",{className:"vreo-infoPanelVideo",children:jsx("video",{playsInline:!0,autoPlay:!0,className:"vreo-infoPanelVideo",src:_u})})]})})})})}const Title=_u=>!_u.title&&!_u.subTitle?null:jsxs(Fragment,{children:[jsx("div",{className:"vreo-infoPanel-title-shadow"}),jsxs("div",{className:"vreo-infoPanel-title",children:[jsx("div",{className:"vreo-infoPanel-t1",children:_u.title}),jsx("div",{className:"vreo-infoPanel-t2",children:_u.subTitle})]})]});function InfoPanel(){const _u=react$1.exports.useRef(),Tu=useController();return react$1.exports.useEffect(()=>{var Pu;if(((Pu=Tu.configs)==null?void 0:Pu.keyframeMap.InfoPanel)===!1)return;const Cu=Bu=>{const{start:Ru,end:Lu,data:Ou}=Bu,Du=Ou,{title:$u,subTitle:ku,style:Fu}=Du;do{if(Fu===InfoPanelStyleEnum.PopUp){Du.type===InfoPanelTypeEnum.Image?Tu.openPopUp(jsx(InfoPanelImg,{url:Du.url,children:jsx(Title,{title:$u,subTitle:ku})})):Du.type===InfoPanelTypeEnum.Video&&Tu.openPopUp(jsx(InfoPanelVideo,{url:Du.url,children:jsx(Title,{title:$u,subTitle:ku})}));break}Du.type===InfoPanelTypeEnum.Image?Tu.openDrawer({content:jsx(InfoPanelImg,{url:Du.url,children:jsx(Title,{title:$u,subTitle:ku})}),height:"60vh"}):Du.type===InfoPanelTypeEnum.Video&&Tu.openDrawer({content:jsx(InfoPanelVideo,{url:Du.url,children:jsx(Title,{title:$u,subTitle:ku})}),height:"60vh"})}while(!1);_u.current=setTimeout(()=>{Tu.openDrawer(!1),Tu.openPopUp(!1)},Lu-Ru)};return Tu.on(VreoKeyframeEnum.InfoPanel,Cu),()=>{Tu.off(VreoKeyframeEnum.InfoPanel,Cu),_u.current&&clearTimeout(_u.current)}},[Tu]),jsx(Fragment,{})}const ModelTVVideoPlugin=(_u,{videoElement:Tu})=>{const Cu={videoMeshes:[],videoTextureEnabled:!1,videoSource:"",rectPoints:[],enabled:!1,videoElement:Tu},Pu=Fu=>{Cu.videoTexture&&(Cu.videoTexture.image.muted=Fu,Cu.videoTexture.image.play())},Bu=()=>Cu.videoTexture?Cu.videoTexture.image.muted:!0,Ru=()=>{if(Cu.enabled||!Cu.videoTexture)return;Cu.enabled=!0,Cu.videoMeshes=Ou(),Cu.videoMeshes.forEach(Nu=>_u.scene.add(Nu));const Fu=()=>{if(!Cu.videoTexture)return;const Nu=()=>{var Vu;!Cu.videoTexture||((Vu=Cu.videoTexture)==null||Vu.image.removeEventListener("timeupdate",Nu),Cu.videoTextureEnabled=!0,Cu.videoMeshes.forEach(Gu=>{Gu.material.map!==Cu.videoTexture&&(Gu.material.map=Cu.videoTexture)}),_u.needsRender=!0)};Cu.videoTexture.image.addEventListener("timeupdate",Nu),Cu.videoTexture&&Cu.videoMeshes.length&&Cu.videoTexture.image.play()};if(_u.model.loaded)Fu();else return _u.once("modelLoaded",()=>Fu())},Lu=()=>{!Cu.enabled||(Cu.enabled=!1,Cu.videoMeshes.forEach(Fu=>{Fu.geometry.dispose(),Fu.material.dispose(),_u.scene.remove(Fu),Cu.videoTexture&&Cu.videoTexture.image.pause()}),Cu.videoMeshes=[],_u.needsRender=!0)},Ou=()=>Cu.rectPoints.map((Fu,Nu)=>{const Vu=new BufferGeometry,Gu=128,Hu=[];Hu.push(Fu[0].x,Fu[0].y,Fu[0].z);for(let Qu=1;Qu<Gu;Qu++)Hu.push(Fu[0].x+(Fu[1].x-Fu[0].x)*Qu/Gu,Fu[0].y+(Fu[1].y-Fu[0].y)*Qu/Gu,Fu[0].z+(Fu[1].z-Fu[0].z)*Qu/Gu);Hu.push(Fu[1].x,Fu[1].y,Fu[1].z),Hu.push(Fu[2].x,Fu[2].y,Fu[2].z);for(let Qu=1;Qu<Gu;Qu++)Hu.push(Fu[2].x+(Fu[3].x-Fu[2].x)*Qu/Gu,Fu[2].y+(Fu[3].y-Fu[2].y)*Qu/Gu,Fu[2].z+(Fu[3].z-Fu[2].z)*Qu/Gu);Hu.push(Fu[3].x,Fu[3].y,Fu[3].z);const ju=[];ju.push(0,1);for(let Qu=1;Qu<Gu;Qu++)ju.push(0,1-Qu/Gu);ju.push(0,0),ju.push(1,0);for(let Qu=1;Qu<Gu;Qu++)ju.push(1,Qu/Gu);ju.push(1,1);const Uu=[];for(let Qu=0;Qu<Gu;Qu++)Uu.push(Qu,Qu+1,Gu*2-Qu,Qu,Gu*2-Qu,Gu*2+1-Qu);Vu.setAttribute("position",new BufferAttribute(new Float32Array(Hu),3)),Vu.setAttribute("uv",new BufferAttribute(new Float32Array(ju),2)),Vu.setIndex(new BufferAttribute(new Uint32Array(Uu),1));const zu=new MeshBasicMaterial({map:Cu.videoTextureEnabled?Cu.videoTexture:Cu.imageTexture,side:DoubleSide}),Wu=new Mesh(Vu,zu);return Wu.renderOrder=1,Wu.name=`video-${Nu}-${performance.now()}`,Wu}),Du=Fu=>{const Nu=new TextureLoader().load(Fu);return Nu.minFilter=LinearFilter,Nu.magFilter=LinearFilter,Nu.format=RGBFormat,Nu},$u=(Fu,Nu)=>new Promise((Vu,Gu)=>{const Hu=new XMLHttpRequest;Hu.onreadystatechange=()=>{if(Hu.readyState==4)if(Hu.status==200){const ju=window.URL||window.webkitURL;Nu=Nu||document.createElement("video"),Nu.crossOrigin="anonymous",Nu.autoplay=!0,Nu.muted=!0,Nu.loop=!0,Nu.playsInline=!0,Nu.src=ju.createObjectURL(Hu.response);const Uu=new VideoTexture(Nu);Uu.minFilter=LinearFilter,Uu.magFilter=LinearFilter,Uu.format=RGBFormat,Vu(Object.assign(Uu,{videoSource:Fu}))}else Gu(new Error("Video download Error: "+Hu.status))},Hu.onerror=ju=>Gu(ju),Hu.open("GET",Fu),Hu.responseType="blob",Hu.send()}),ku=async(Fu,Nu)=>{const{video_src:Vu,video_poster_src:Gu,points:Hu}=Fu;Cu.videoSource=Vu,Cu.rectPoints=Hu.map(ju=>ju.map(({x:Uu,y:zu,z:Wu})=>new Vector3(Uu,zu,Wu))),Cu.imageTexture=Du(Gu),Nu&&(Cu.videoElement=Nu),Cu.videoTexture=await $u(Cu.videoSource,Cu.videoElement),Cu.enabled=!!Fu.enable,Cu.enabled&&Ru()};return _u.on("modeChange",()=>Pu(!0)),_u.on("wantsTapGesture",Fu=>{if(!Cu.enabled)return;const[Nu]=Fu.intersectObjects(_u.scene.children,!0);if(!!Nu&&/^video/.test(Nu.object.name))return Cu.videoTexture&&Pu(!Cu.videoTexture.image.muted),!1}),_u.on("panoArrived",()=>{if(!Cu.enabled||Bu())return;const Fu=_u.camera.position;Cu.rectPoints.find(Vu=>{const Gu=Vu.reduce((Hu,ju)=>new Vector3(Hu.x+ju.x/Vu.length,Hu.y+ju.y/Vu.length,Hu.z+ju.z/Vu.length),new Vector3);return Vu.map(Hu=>new Vector3((Hu.x+Gu.x)/2,(Hu.y+Gu.y)/2,(Hu.z+Gu.z)/2)).filter(Hu=>{Hu=Hu.clone().sub(Fu).normalize();const ju=new Raycaster(Fu,Hu),[Uu]=ju.intersectObjects(_u.scene.children,!0);return!!Uu&&/^video/.test(Uu.object.name)}).length>=2})||Pu(!0)}),_u.on("renderFrame",()=>{Cu.videoMeshes.forEach(Fu=>{Fu&&(Fu.needsRender=!0)})}),_u.on("load",Fu=>{Fu.modelTVVideoData&&ku(Fu.modelTVVideoData)}),{enable:Ru,disable:Lu,load:ku}};function createTransMatrix(_u){const Tu=new Matrix4;return Tu.fromArray(_u),Cu=>{const Pu=new Vector3(...Cu);return Pu.applyMatrix4(Tu),Pu.toArray()}}function ModelVideo(){const _u=useController(),Tu=useFiveInstance(),Cu=react$1.exports.useRef(),Pu=react$1.exports.useRef();return react$1.exports.useEffect(()=>{const Bu=async Ru=>{var Gu,Hu;Cu.current||(Cu.current=ModelTVVideoPlugin(Tu,{}));const{start:Lu,end:Ou}=Ru,{videoSrc:Du,videoPosterSrc:$u,vertexs:ku,matrixWorld:Fu}=Ru.data,Nu=(()=>{if(ku.length<4)throw new Error("ModelVideo: \u9876\u70B9\u6570\u636E\u96C6\u5408\u4E0D\u591F\uFF0C\u65E0\u6CD5\u7EC4\u6210\u77E9\u5F62 ....");if(ku.length===4)return ku;const ju=new Box3;return ku.forEach(Uu=>ju.expandByPoint(new Vector3(Uu.x,Uu.y,Uu.z))),[new Vector3(ju.min.x,ju.max.y,ju.max.z),new Vector3(ju.min.x,ju.min.y,ju.max.z),new Vector3(ju.max.x,ju.min.y,ju.max.z),new Vector3(ju.max.x,ju.max.y,ju.max.z)]})(),Vu=(()=>{if(Fu){const ju=createTransMatrix(Fu);return[Nu.map(Uu=>{const zu=ju([Uu.x,Uu.y,Uu.z]);return{x:zu[0],y:zu[1],z:zu[2]}})]}return[Nu]})();Cu.current.disable(),await Cu.current.load({video_src:Du,video_poster_src:$u,points:Vu},(Hu=(Gu=_u.configs)==null?void 0:Gu.videos)==null?void 0:Hu.modelTVVideo),Cu.current.enable(),Pu.current=setTimeout(()=>{var ju;return(ju=Cu.current)==null?void 0:ju.disable()},Ou-Lu)};return _u.on(VreoKeyframeEnum.ModelVideo,Bu),()=>{_u.off(VreoKeyframeEnum.ModelVideo,Bu),Pu.current&&clearTimeout(Pu.current)}},[_u]),jsx(Fragment,{})}var line={},Line;Object.defineProperty(line,"__esModule",{value:!0});var t$1=tslib.exports;function e(_u){if(_u&&_u.__esModule)return _u;var Tu=Object.create(null);return _u&&Object.keys(_u).forEach(function(Cu){if(Cu!=="default"){var Pu=Object.getOwnPropertyDescriptor(_u,Cu);Object.defineProperty(Tu,Cu,Pu.get?Pu:{enumerable:!0,get:function(){return _u[Cu]}})}}),Tu.default=_u,Object.freeze(Tu)}var n=e(require$$1),i=function(_u){function Tu(){var Cu=_u.call(this)||this;return Cu.type="LineSegmentsGeometry",Cu.setIndex([0,2,1,2,3,1,2,4,3,4,5,3,4,6,5,6,7,5]),Cu.setAttribute("position",new n.Float32BufferAttribute([-1,2,0,1,2,0,-1,1,0,1,1,0,-1,0,0,1,0,0,-1,-1,0,1,-1,0],3)),Cu.setAttribute("uv",new n.Float32BufferAttribute([-1,2,1,2,-1,1,1,1,-1,-1,1,-1,-1,-2,1,-2],2)),Cu}return t$1.__extends(Tu,_u),Tu.prototype.applyMatrix4=function(Cu){var Pu=this.attributes.instanceStart,Bu=this.attributes.instanceEnd;return Pu!==void 0&&(Pu.applyMatrix4(Cu),Bu.applyMatrix4(Cu),Pu.needsUpdate=!0),this.boundingBox!==null&&this.computeBoundingBox(),this.boundingSphere!==null&&this.computeBoundingSphere(),this},Tu.prototype.setPositions=function(Cu){var Pu;Pu=Cu instanceof Float32Array?Cu:Array.isArray(Cu)?new Float32Array(Cu):new Float32Array;var Bu=new n.InstancedInterleavedBuffer(Pu,6,1);return this.setAttribute("instanceStart",new n.InterleavedBufferAttribute(Bu,3,0)),this.setAttribute("instanceEnd",new n.InterleavedBufferAttribute(Bu,3,3)),this.computeBoundingBox(),this.computeBoundingSphere(),this},Tu.prototype.setColors=function(Cu){var Pu;Pu=Cu instanceof Float32Array?Cu:Array.isArray(Cu)?new Float32Array(Cu):new Float32Array;var Bu=new n.InstancedInterleavedBuffer(Pu,6,1);return this.setAttribute("instanceColorStart",new n.InterleavedBufferAttribute(Bu,3,0)),this.setAttribute("instanceColorEnd",new n.InterleavedBufferAttribute(Bu,3,3)),this},Tu.prototype.fromWireframeGeometry=function(Cu){return this.setPositions(Cu.attributes.position.array),this},Tu.prototype.fromEdgesGeometry=function(Cu){return this.setPositions(Cu.attributes.position.array),this},Tu.prototype.fromMesh=function(Cu){return this.fromWireframeGeometry(new n.WireframeGeometry(Cu.geometry)),this},Tu.prototype.fromLineSegments=function(Cu){var Pu=Cu.geometry;if(Pu instanceof n.Geometry){var Bu=new n.BufferGeometry().fromGeometry(Pu);this.setPositions(Bu.attributes.position.array)}else Pu instanceof n.BufferGeometry&&this.setPositions(Pu.attributes.position.array);return this},Tu.prototype.computeBoundingBox=function(){this.boundingBox===null&&(this.boundingBox=new n.Box3);var Cu=this.attributes.instanceStart,Pu=this.attributes.instanceEnd;if(Cu!==void 0&&Pu!==void 0){var Bu=new n.Box3;this.boundingBox.setFromBufferAttribute(Cu),Bu.setFromBufferAttribute(Pu),this.boundingBox.union(Bu)}},Tu.prototype.computeBoundingSphere=function(){this.boundingSphere===null&&(this.boundingSphere=new n.Sphere),this.boundingBox===null&&this.computeBoundingBox();var Cu=this.attributes.instanceStart,Pu=this.attributes.instanceEnd;if(Cu!==void 0&&Pu!==void 0){var Bu=this.boundingSphere.center;this.boundingBox.getCenter(Bu);for(var Ru=0,Lu=new n.Vector3,Ou=0,Du=Cu.count;Ou<Du;Ou++)Lu.fromBufferAttribute(Cu,Ou),Ru=Math.max(Ru,Bu.distanceToSquared(Lu)),Lu.fromBufferAttribute(Pu,Ou),Ru=Math.max(Ru,Bu.distanceToSquared(Lu));this.boundingSphere.radius=Math.sqrt(Ru),isNaN(this.boundingSphere.radius)&&console.error("THREE.LineSegmentsGeometry.computeBoundingSphere(): Computed radius is NaN. The instanced position data is likely to have NaN values.",this)}},Tu.prototype.toJSON=function(){},Tu}(n.InstancedBufferGeometry);Object.assign(i.prototype,{isLineSegmentsGeometry:!0});var r$1={uniforms:n.UniformsUtils.merge([n.UniformsLib.common,n.UniformsLib.fog,{linewidth:{value:1},resolution:{value:new n.Vector2(1,1)},dashScale:{value:1},dashSize:{value:1},gapSize:{value:1},opacity:{value:1}}]),vertexShader:`
3695
+ overriden reactive render was not properly disposed.`)}}),_u}function getDisplayName(_u){return _u.displayName||_u.name||_u.constructor&&(_u.constructor.displayName||_u.constructor.name)||"<component>"}function makeComponentReactive(_u){var Tu=this;setHiddenProp(this,skipRenderKey,!1),setHiddenProp(this,isForcingUpdateKey,!1);var Cu=getDisplayName(this),Pu=_u.bind(this),Bu=!1,Ru=new Reaction(Cu+".render()",function(){if(!Bu&&(Bu=!0,Tu[mobxIsUnmounted]!==!0)){var Ou=!0;try{setHiddenProp(Tu,isForcingUpdateKey,!0),Tu[skipRenderKey]||react$1.exports.Component.prototype.forceUpdate.call(Tu),Ou=!1}finally{setHiddenProp(Tu,isForcingUpdateKey,!1),Ou&&Ru.dispose()}}});Ru.reactComponent=this,Lu[mobxAdminProperty]=Ru,this.render=Lu;function Lu(){Bu=!1;var Ou=void 0,Du=void 0;if(Ru.track(function(){try{Du=allowStateChanges(!1,Pu)}catch($u){Ou=$u}}),Ou)throw Ou;return Du}return Lu.call(this)}function observerSCU(_u,Tu){return this.state!==Tu?!0:!shallowEqual(this.props,_u)}function makeObservableProp(_u,Tu){var Cu=newSymbol("reactProp_"+Tu+"_valueHolder"),Pu=newSymbol("reactProp_"+Tu+"_atomHolder");function Bu(){return this[Pu]||setHiddenProp(this,Pu,createAtom("reactive "+Tu)),this[Pu]}Object.defineProperty(_u,Tu,{configurable:!0,enumerable:!0,get:function(){var Lu=!1;return allowStateReadsStart&&allowStateReadsEnd&&(Lu=allowStateReadsStart(!0)),Bu.call(this).reportObserved(),allowStateReadsStart&&allowStateReadsEnd&&allowStateReadsEnd(Lu),this[Cu]},set:function(Lu){!this[isForcingUpdateKey]&&!shallowEqual(this[Cu],Lu)?(setHiddenProp(this,Cu,Lu),setHiddenProp(this,skipRenderKey,!0),Bu.call(this).reportChanged(),setHiddenProp(this,skipRenderKey,!1)):setHiddenProp(this,Cu,Lu)}})}function observer(_u){return _u.isMobxInjector===!0&&console.warn("Mobx observer: You are trying to use `observer` on a component that already has `inject`. Please apply `observer` before applying `inject`"),Object.prototype.isPrototypeOf.call(react$1.exports.Component,_u)||Object.prototype.isPrototypeOf.call(react$1.exports.PureComponent,_u)?makeClassComponentObserver(_u):observer$1(_u)}if(!react$1.exports.Component)throw new Error("mobx-react requires React to be available");if(!observable)throw new Error("mobx-react requires mobx to be available");const _requestAnimationFrame$1=window.requestAnimationFrame||(_u=>setTimeout(_u,16)),_cancelAnimationFrame$1=window.cancelAnimationFrame||clearTimeout;function nextFrame(_u,Tu=0){Tu<=0?_requestAnimationFrame$1(_u):_requestAnimationFrame$1(()=>nextFrame(_u,Tu-1))}function requestAnimationFrameInterval$1(_u,Tu=60){let Cu=-1,Pu=0,Bu=-1;const Ru=1e3/Tu;function Lu(Ou){Bu===-1&&(Bu=Ou),Cu=_requestAnimationFrame$1(Lu),!(Ou-Pu<Ru)&&(Pu=Ou,_u&&_u(Ou-Bu))}return Cu=_requestAnimationFrame$1(Lu),function(){_cancelAnimationFrame$1(Cu)}}function setElementDataset(_u,Tu){_u&&Object.keys(Tu).forEach(Cu=>{const Pu=Tu[Cu].toString();_u instanceof Element?_u.setAttribute(`data-${Cu}`,Pu):_u instanceof Document?_u.documentElement.setAttribute(`data-${Cu}`,Pu):_u instanceof HTMLElement?_u.dataset[Cu]=Pu:_u.setAttribute(`data-${Cu}`,Pu)})}function getFileExpandedName(_u){if(!_u)return"";const Tu=_u.lastIndexOf(".");return _u.substring(Tu+1).toLowerCase()}function getMediaType(_u){const Tu=getFileExpandedName(_u);return getMediaTypeByExpandedName(Tu)}function getMediaTypeByExpandedName(_u){return _u?/jpg|jpeg|png$/.test(_u)?"image":/mp3|wav$/.test(_u)?"audio":/avi|wmv|mpeg|mp4|m4v|mov|asf|flv|f4v|rmvb|rm|3gp|vob$/.test(_u)?"video":"unknown":"unknown"}class Controller extends Subscribe$1{constructor({five:Cu,container:Pu,configs:Bu}){super();hm(this,"five");hm(this,"configs");hm(this,"videoAgentScene");hm(this,"vreoUnit");hm(this,"stopInterval");hm(this,"playing",!1);hm(this,"ended",!1);hm(this,"loading",!1);hm(this,"containerSize",{width:0,height:0});hm(this,"appSize");hm(this,"container");hm(this,"waveAppearance",null);hm(this,"appearance",{waveStyle:"solid"});hm(this,"avatar",{});hm(this,"visible",!1);hm(this,"popUp",null);hm(this,"drawerConfig",null);this.configs=Bu,this.container=Pu,this.five=Cu,this.appSize=Bu.appSize,this.appearance=Ym(Ym({},this.appearance),Bu.appearance),makeObservable(this,{visible:observable,setVisible:action,playing:observable,setPlaying:action,loading:observable,setLoading:action,popUp:observable.ref,openPopUp:action,drawerConfig:observable.ref,openDrawer:action,ended:observable,waveAppearance:observable,avatar:observable,containerSize:observable,setContainerSize:action,appearance:observable,setAppearance:action,configs:observable.ref,setEnded:action,setAvatar:action}),reaction(()=>[this.appearance.waveStyle,this.loading],([Ru,Lu])=>{if(Lu===null){this.waveAppearance=null;return}if(Ru==="wave")switch(Lu){case!0:this.waveAppearance="double";break;case!1:this.waveAppearance="solid";break}else if(Ru==="solid")switch(Lu){case!0:this.waveAppearance="swap";break;case!1:this.waveAppearance="expand";break}},{fireImmediately:!0}),this.appSize?setElementDataset(this.container,{size:this.appSize}):reaction(()=>this.containerSize,Ru=>{if(!(Ru!=null&&Ru.width))return;const Lu=Ru.width,Ou=Ru.height,Du=(()=>Lu<=500?"S":Lu<=1024?"M":Lu<=2048?"L":"XL")(),$u=(()=>Ou>Lu?"portrait":"landscape")();setElementDataset(this.container,{size:Du}),setElementDataset(this.container,{orientation:$u})},{fireImmediately:!0}),reaction(()=>this.ended,Ru=>{Ru&&this.emit("paused",!0)}),reaction(()=>this.playing,Ru=>{this.ended||this.emit(Ru?"playing":"paused")})}get agentType(){var Pu,Bu;const Cu=getMediaType((Pu=this.videoAgentScene)==null?void 0:Pu.videoAgentMesh.videoUrl);return(Bu=this.avatar)!=null&&Bu.force?"avatar":Cu==="video"?"video":"none"}openPopUp(Cu){if(!Cu){this.popUp=null;return}this.popUp=Cu}setLoading(Cu){this.loading=Cu}setAvatar(Cu){this.avatar=Cu}setContainerSize(Cu,Pu){this.containerSize={width:Cu,height:Pu}}setVisible(Cu){this.visible=Cu}setPlaying(Cu){this.playing=Cu}setEnded(Cu){this.ended=Cu}setAppearance(Cu){this.appearance=Ym(Ym({},this.appearance),Cu)}openDrawer(Cu){var Pu;if(!Cu){this.drawerConfig={content:"",height:(Pu=this.drawerConfig)==null?void 0:Pu.height};return}this.drawerConfig=Cu}get ready(){return!!this.videoAgentScene}get currentTime(){var Cu;return((Cu=this.videoAgentScene)==null?void 0:Cu.videoAgentMesh.currentTime)||0}get currentKeyframes(){return this.vreoUnit?this.vreoUnit.keyframes.filter(Pu=>{if(Pu.parsed)return!1;const Bu=this.currentTime-Pu.start;return Bu<=100&&Bu>=0}):[]}get mediaInstance(){var Cu;return(Cu=this.videoAgentScene)==null?void 0:Cu.videoAgentMesh.mediaInstance}requestAnimationFrameLoop(Cu){var Bu,Ru,Lu,Ou;if((Bu=this.mediaInstance)!=null&&Bu.ended){this.setEnded(!0),this.setPlaying(!1),this.mediaInstance.pause();return}if(!this.playing){(Ru=this.mediaInstance)!=null&&Ru.paused||(Lu=this.mediaInstance)==null||Lu.pause();return}((Ou=this.mediaInstance)==null?void 0:Ou.paused)&&this.playing&&this.mediaInstance.play(),this.currentKeyframes.forEach(Du=>{Du.parsed||(Du.parsed=!0,this.emit(Du.type,Du),Cu&&Cu(Du.type,Du))})}run(Cu){this.stopInterval||(this.stopInterval=requestAnimationFrameInterval$1(()=>this.requestAnimationFrameLoop(Cu)))}dispose(){this.setPlaying(!1),this.currentKeyframes&&this.currentKeyframes.forEach(Cu=>Cu.parsed=!1),this.vreoUnit=void 0,this.mediaInstance&&(this.mediaInstance.currentTime=0),this.stopInterval&&(this.stopInterval(),this.stopInterval=void 0)}}const ControllerContext=react$1.exports.createContext(null);function useController(){const _u=React.useContext(ControllerContext);if(!_u)throw new Error('\u6CA1\u6709\u627E\u5230 "ControllerContext"');return _u}function useFiveInstance(){const _u=useController();if(!_u.five)throw new Error('\u6CA1\u6709\u627E\u5230 "five" \u5B9E\u4F8B');return _u.five}function useFiveProject2d(){const _u=useFiveInstance();return Tu=>_u.project2d(Tu,!1)}var CameraMovementEffect$1=(_u=>(_u.Move="Move",_u.Rotate="Rotate",_u))(CameraMovementEffect$1||{}),Rotation$1=(_u=>(_u.Clockwise="Clockwise",_u.Anticlockwise="Anticlockwise",_u.Loop="Loop",_u))(Rotation$1||{}),Easing$1={Linear:{None:function(_u){return _u}},Quadratic:{In:function(_u){return _u*_u},Out:function(_u){return _u*(2-_u)},InOut:function(_u){return(_u*=2)<1?.5*_u*_u:-.5*(--_u*(_u-2)-1)}},Cubic:{In:function(_u){return _u*_u*_u},Out:function(_u){return--_u*_u*_u+1},InOut:function(_u){return(_u*=2)<1?.5*_u*_u*_u:.5*((_u-=2)*_u*_u+2)}},Quartic:{In:function(_u){return _u*_u*_u*_u},Out:function(_u){return 1- --_u*_u*_u*_u},InOut:function(_u){return(_u*=2)<1?.5*_u*_u*_u*_u:-.5*((_u-=2)*_u*_u*_u-2)}},Quintic:{In:function(_u){return _u*_u*_u*_u*_u},Out:function(_u){return--_u*_u*_u*_u*_u+1},InOut:function(_u){return(_u*=2)<1?.5*_u*_u*_u*_u*_u:.5*((_u-=2)*_u*_u*_u*_u+2)}},Sinusoidal:{In:function(_u){return 1-Math.cos(_u*Math.PI/2)},Out:function(_u){return Math.sin(_u*Math.PI/2)},InOut:function(_u){return .5*(1-Math.cos(Math.PI*_u))}},Exponential:{In:function(_u){return _u===0?0:Math.pow(1024,_u-1)},Out:function(_u){return _u===1?1:1-Math.pow(2,-10*_u)},InOut:function(_u){return _u===0?0:_u===1?1:(_u*=2)<1?.5*Math.pow(1024,_u-1):.5*(-Math.pow(2,-10*(_u-1))+2)}},Circular:{In:function(_u){return 1-Math.sqrt(1-_u*_u)},Out:function(_u){return Math.sqrt(1- --_u*_u)},InOut:function(_u){return(_u*=2)<1?-.5*(Math.sqrt(1-_u*_u)-1):.5*(Math.sqrt(1-(_u-=2)*_u)+1)}},Elastic:{In:function(_u){return _u===0?0:_u===1?1:-Math.pow(2,10*(_u-1))*Math.sin((_u-1.1)*5*Math.PI)},Out:function(_u){return _u===0?0:_u===1?1:Math.pow(2,-10*_u)*Math.sin((_u-.1)*5*Math.PI)+1},InOut:function(_u){return _u===0?0:_u===1?1:(_u*=2,_u<1?-.5*Math.pow(2,10*(_u-1))*Math.sin((_u-1.1)*5*Math.PI):.5*Math.pow(2,-10*(_u-1))*Math.sin((_u-1.1)*5*Math.PI)+1)}},Back:{In:function(_u){var Tu=1.70158;return _u*_u*((Tu+1)*_u-Tu)},Out:function(_u){var Tu=1.70158;return--_u*_u*((Tu+1)*_u+Tu)+1},InOut:function(_u){var Tu=2.5949095;return(_u*=2)<1?.5*(_u*_u*((Tu+1)*_u-Tu)):.5*((_u-=2)*_u*((Tu+1)*_u+Tu)+2)}},Bounce:{In:function(_u){return 1-Easing$1.Bounce.Out(1-_u)},Out:function(_u){return _u<1/2.75?7.5625*_u*_u:_u<2/2.75?7.5625*(_u-=1.5/2.75)*_u+.75:_u<2.5/2.75?7.5625*(_u-=2.25/2.75)*_u+.9375:7.5625*(_u-=2.625/2.75)*_u+.984375},InOut:function(_u){return _u<.5?Easing$1.Bounce.In(_u*2)*.5:Easing$1.Bounce.Out(_u*2-1)*.5+.5}}},now$2;typeof self=="undefined"&&typeof process!="undefined"&&process.hrtime?now$2=function(){var _u=process.hrtime();return _u[0]*1e3+_u[1]/1e6}:typeof self!="undefined"&&self.performance!==void 0&&self.performance.now!==void 0?now$2=self.performance.now.bind(self.performance):Date.now!==void 0?now$2=Date.now:now$2=function(){return new Date().getTime()};var now$1$1=now$2,Group=function(){function _u(){this._tweens={},this._tweensAddedDuringUpdate={}}return _u.prototype.getAll=function(){var Tu=this;return Object.keys(this._tweens).map(function(Cu){return Tu._tweens[Cu]})},_u.prototype.removeAll=function(){this._tweens={}},_u.prototype.add=function(Tu){this._tweens[Tu.getId()]=Tu,this._tweensAddedDuringUpdate[Tu.getId()]=Tu},_u.prototype.remove=function(Tu){delete this._tweens[Tu.getId()],delete this._tweensAddedDuringUpdate[Tu.getId()]},_u.prototype.update=function(Tu,Cu){Tu===void 0&&(Tu=now$1$1()),Cu===void 0&&(Cu=!1);var Pu=Object.keys(this._tweens);if(Pu.length===0)return!1;for(;Pu.length>0;){this._tweensAddedDuringUpdate={};for(var Bu=0;Bu<Pu.length;Bu++){var Ru=this._tweens[Pu[Bu]],Lu=!Cu;Ru&&Ru.update(Tu,Lu)===!1&&!Cu&&delete this._tweens[Pu[Bu]]}Pu=Object.keys(this._tweensAddedDuringUpdate)}return!0},_u}(),Interpolation={Linear:function(_u,Tu){var Cu=_u.length-1,Pu=Cu*Tu,Bu=Math.floor(Pu),Ru=Interpolation.Utils.Linear;return Tu<0?Ru(_u[0],_u[1],Pu):Tu>1?Ru(_u[Cu],_u[Cu-1],Cu-Pu):Ru(_u[Bu],_u[Bu+1>Cu?Cu:Bu+1],Pu-Bu)},Bezier:function(_u,Tu){for(var Cu=0,Pu=_u.length-1,Bu=Math.pow,Ru=Interpolation.Utils.Bernstein,Lu=0;Lu<=Pu;Lu++)Cu+=Bu(1-Tu,Pu-Lu)*Bu(Tu,Lu)*_u[Lu]*Ru(Pu,Lu);return Cu},CatmullRom:function(_u,Tu){var Cu=_u.length-1,Pu=Cu*Tu,Bu=Math.floor(Pu),Ru=Interpolation.Utils.CatmullRom;return _u[0]===_u[Cu]?(Tu<0&&(Bu=Math.floor(Pu=Cu*(1+Tu))),Ru(_u[(Bu-1+Cu)%Cu],_u[Bu],_u[(Bu+1)%Cu],_u[(Bu+2)%Cu],Pu-Bu)):Tu<0?_u[0]-(Ru(_u[0],_u[0],_u[1],_u[1],-Pu)-_u[0]):Tu>1?_u[Cu]-(Ru(_u[Cu],_u[Cu],_u[Cu-1],_u[Cu-1],Pu-Cu)-_u[Cu]):Ru(_u[Bu?Bu-1:0],_u[Bu],_u[Cu<Bu+1?Cu:Bu+1],_u[Cu<Bu+2?Cu:Bu+2],Pu-Bu)},Utils:{Linear:function(_u,Tu,Cu){return(Tu-_u)*Cu+_u},Bernstein:function(_u,Tu){var Cu=Interpolation.Utils.Factorial;return Cu(_u)/Cu(Tu)/Cu(_u-Tu)},Factorial:function(){var _u=[1];return function(Tu){var Cu=1;if(_u[Tu])return _u[Tu];for(var Pu=Tu;Pu>1;Pu--)Cu*=Pu;return _u[Tu]=Cu,Cu}}(),CatmullRom:function(_u,Tu,Cu,Pu,Bu){var Ru=(Cu-_u)*.5,Lu=(Pu-Tu)*.5,Ou=Bu*Bu,Du=Bu*Ou;return(2*Tu-2*Cu+Ru+Lu)*Du+(-3*Tu+3*Cu-2*Ru-Lu)*Ou+Ru*Bu+Tu}}},Sequence=function(){function _u(){}return _u.nextId=function(){return _u._nextId++},_u._nextId=0,_u}(),mainGroup=new Group,Tween=function(){function _u(Tu,Cu){Cu===void 0&&(Cu=mainGroup),this._object=Tu,this._group=Cu,this._isPaused=!1,this._pauseStart=0,this._valuesStart={},this._valuesEnd={},this._valuesStartRepeat={},this._duration=1e3,this._initialRepeat=0,this._repeat=0,this._yoyo=!1,this._isPlaying=!1,this._reversed=!1,this._delayTime=0,this._startTime=0,this._easingFunction=Easing$1.Linear.None,this._interpolationFunction=Interpolation.Linear,this._chainedTweens=[],this._onStartCallbackFired=!1,this._id=Sequence.nextId(),this._isChainStopped=!1,this._goToEnd=!1}return _u.prototype.getId=function(){return this._id},_u.prototype.isPlaying=function(){return this._isPlaying},_u.prototype.isPaused=function(){return this._isPaused},_u.prototype.to=function(Tu,Cu){return this._valuesEnd=Object.create(Tu),Cu!==void 0&&(this._duration=Cu),this},_u.prototype.duration=function(Tu){return this._duration=Tu,this},_u.prototype.start=function(Tu){if(this._isPlaying)return this;if(this._group&&this._group.add(this),this._repeat=this._initialRepeat,this._reversed){this._reversed=!1;for(var Cu in this._valuesStartRepeat)this._swapEndStartRepeatValues(Cu),this._valuesStart[Cu]=this._valuesStartRepeat[Cu]}return this._isPlaying=!0,this._isPaused=!1,this._onStartCallbackFired=!1,this._isChainStopped=!1,this._startTime=Tu!==void 0?typeof Tu=="string"?now$1$1()+parseFloat(Tu):Tu:now$1$1(),this._startTime+=this._delayTime,this._setupProperties(this._object,this._valuesStart,this._valuesEnd,this._valuesStartRepeat),this},_u.prototype._setupProperties=function(Tu,Cu,Pu,Bu){for(var Ru in Pu){var Lu=Tu[Ru],Ou=Array.isArray(Lu),Du=Ou?"array":typeof Lu,$u=!Ou&&Array.isArray(Pu[Ru]);if(!(Du==="undefined"||Du==="function")){if($u){var ku=Pu[Ru];if(ku.length===0)continue;ku=ku.map(this._handleRelativeValue.bind(this,Lu)),Pu[Ru]=[Lu].concat(ku)}if((Du==="object"||Ou)&&Lu&&!$u){Cu[Ru]=Ou?[]:{};for(var Fu in Lu)Cu[Ru][Fu]=Lu[Fu];Bu[Ru]=Ou?[]:{},this._setupProperties(Lu,Cu[Ru],Pu[Ru],Bu[Ru])}else typeof Cu[Ru]=="undefined"&&(Cu[Ru]=Lu),Ou||(Cu[Ru]*=1),$u?Bu[Ru]=Pu[Ru].slice().reverse():Bu[Ru]=Cu[Ru]||0}}},_u.prototype.stop=function(){return this._isChainStopped||(this._isChainStopped=!0,this.stopChainedTweens()),this._isPlaying?(this._group&&this._group.remove(this),this._isPlaying=!1,this._isPaused=!1,this._onStopCallback&&this._onStopCallback(this._object),this):this},_u.prototype.end=function(){return this._goToEnd=!0,this.update(1/0),this},_u.prototype.pause=function(Tu){return Tu===void 0&&(Tu=now$1$1()),this._isPaused||!this._isPlaying?this:(this._isPaused=!0,this._pauseStart=Tu,this._group&&this._group.remove(this),this)},_u.prototype.resume=function(Tu){return Tu===void 0&&(Tu=now$1$1()),!this._isPaused||!this._isPlaying?this:(this._isPaused=!1,this._startTime+=Tu-this._pauseStart,this._pauseStart=0,this._group&&this._group.add(this),this)},_u.prototype.stopChainedTweens=function(){for(var Tu=0,Cu=this._chainedTweens.length;Tu<Cu;Tu++)this._chainedTweens[Tu].stop();return this},_u.prototype.group=function(Tu){return this._group=Tu,this},_u.prototype.delay=function(Tu){return this._delayTime=Tu,this},_u.prototype.repeat=function(Tu){return this._initialRepeat=Tu,this._repeat=Tu,this},_u.prototype.repeatDelay=function(Tu){return this._repeatDelayTime=Tu,this},_u.prototype.yoyo=function(Tu){return this._yoyo=Tu,this},_u.prototype.easing=function(Tu){return this._easingFunction=Tu,this},_u.prototype.interpolation=function(Tu){return this._interpolationFunction=Tu,this},_u.prototype.chain=function(){for(var Tu=[],Cu=0;Cu<arguments.length;Cu++)Tu[Cu]=arguments[Cu];return this._chainedTweens=Tu,this},_u.prototype.onStart=function(Tu){return this._onStartCallback=Tu,this},_u.prototype.onUpdate=function(Tu){return this._onUpdateCallback=Tu,this},_u.prototype.onRepeat=function(Tu){return this._onRepeatCallback=Tu,this},_u.prototype.onComplete=function(Tu){return this._onCompleteCallback=Tu,this},_u.prototype.onStop=function(Tu){return this._onStopCallback=Tu,this},_u.prototype.update=function(Tu,Cu){if(Tu===void 0&&(Tu=now$1$1()),Cu===void 0&&(Cu=!0),this._isPaused)return!0;var Pu,Bu,Ru=this._startTime+this._duration;if(!this._goToEnd&&!this._isPlaying){if(Tu>Ru)return!1;Cu&&this.start(Tu)}if(this._goToEnd=!1,Tu<this._startTime)return!0;this._onStartCallbackFired===!1&&(this._onStartCallback&&this._onStartCallback(this._object),this._onStartCallbackFired=!0),Bu=(Tu-this._startTime)/this._duration,Bu=this._duration===0||Bu>1?1:Bu;var Lu=this._easingFunction(Bu);if(this._updateProperties(this._object,this._valuesStart,this._valuesEnd,Lu),this._onUpdateCallback&&this._onUpdateCallback(this._object,Bu),Bu===1)if(this._repeat>0){isFinite(this._repeat)&&this._repeat--;for(Pu in this._valuesStartRepeat)!this._yoyo&&typeof this._valuesEnd[Pu]=="string"&&(this._valuesStartRepeat[Pu]=this._valuesStartRepeat[Pu]+parseFloat(this._valuesEnd[Pu])),this._yoyo&&this._swapEndStartRepeatValues(Pu),this._valuesStart[Pu]=this._valuesStartRepeat[Pu];return this._yoyo&&(this._reversed=!this._reversed),this._repeatDelayTime!==void 0?this._startTime=Tu+this._repeatDelayTime:this._startTime=Tu+this._delayTime,this._onRepeatCallback&&this._onRepeatCallback(this._object),!0}else{this._onCompleteCallback&&this._onCompleteCallback(this._object);for(var Ou=0,Du=this._chainedTweens.length;Ou<Du;Ou++)this._chainedTweens[Ou].start(this._startTime+this._duration);return this._isPlaying=!1,!1}return!0},_u.prototype._updateProperties=function(Tu,Cu,Pu,Bu){for(var Ru in Pu)if(Cu[Ru]!==void 0){var Lu=Cu[Ru]||0,Ou=Pu[Ru],Du=Array.isArray(Tu[Ru]),$u=Array.isArray(Ou),ku=!Du&&$u;ku?Tu[Ru]=this._interpolationFunction(Ou,Bu):typeof Ou=="object"&&Ou?this._updateProperties(Tu[Ru],Lu,Ou,Bu):(Ou=this._handleRelativeValue(Lu,Ou),typeof Ou=="number"&&(Tu[Ru]=Lu+(Ou-Lu)*Bu))}},_u.prototype._handleRelativeValue=function(Tu,Cu){return typeof Cu!="string"?Cu:Cu.charAt(0)==="+"||Cu.charAt(0)==="-"?Tu+parseFloat(Cu):parseFloat(Cu)},_u.prototype._swapEndStartRepeatValues=function(Tu){var Cu=this._valuesStartRepeat[Tu],Pu=this._valuesEnd[Tu];typeof Pu=="string"?this._valuesStartRepeat[Tu]=this._valuesStartRepeat[Tu]+parseFloat(Pu):this._valuesStartRepeat[Tu]=this._valuesEnd[Tu],this._valuesEnd[Tu]=Cu},_u}(),VERSION="18.6.4",nextId=Sequence.nextId,TWEEN=mainGroup,getAll=TWEEN.getAll.bind(TWEEN),removeAll=TWEEN.removeAll.bind(TWEEN),add=TWEEN.add.bind(TWEEN),remove$1=TWEEN.remove.bind(TWEEN),update$2=TWEEN.update.bind(TWEEN),exports={Easing:Easing$1,Group,Interpolation,now:now$1$1,Sequence,nextId,Tween,VERSION,getAll,removeAll,add,remove:remove$1,update:update$2};const Easing=Easing$1;function tween(_u,Tu,Cu,Pu=Easing.Linear.None){const Bu=new Tween(_u).to(Tu,Cu).easing(Pu);nextFrame(()=>Bu.start(0));const Ru=requestAnimationFrameInterval$1(Ou=>{Bu.update(Ou)===!1&&Ru()}),Lu=[];return Bu.onDestroy=Ou=>(Lu.push(Ou),Bu),Bu.destroy=function(){this.stop(),Object.assign(Bu,{_onStartCallback:null,_onUpdateCallback:null,_onCompleteCallback:null,_onStopCallbackL:null});let Ou;for(;Ou=Lu.shift();)Ou();Ru()},Bu}function tweenProgress$1(_u,Tu){return tween({progress:0},{progress:1},_u,Tu)}const PI$1=Math.PI,PI_2$1=PI$1*2;function formatLatitude(_u){return _u%PI_2$1}function formatLongitude(_u){return _u%PI_2$1}const getLongitudeParams=(_u,Tu,Cu)=>{if(_u=formatLongitude(_u),Tu=formatLongitude(Tu),Cu===Rotation$1.Anticlockwise&&_u>Tu)Tu+=PI_2$1;else if(Cu===Rotation$1.Clockwise&&Tu>_u)_u+=PI_2$1;else{if(Cu!==Rotation$1.Anticlockwise&&Cu!==Rotation$1.Clockwise&&Tu-_u>PI$1)return getLongitudeParams(_u,Tu,Rotation$1.Clockwise);if(Cu!==Rotation$1.Anticlockwise&&Cu!==Rotation$1.Clockwise&&_u-Tu>PI$1)return getLongitudeParams(_u,Tu,Rotation$1.Anticlockwise)}return{from:_u,to:Tu}};function progressNumber(_u,Tu,Cu){return _u+(Tu-_u)*Cu}const CameraMovementPlugin=_u=>{const Tu=(Bu,Ru,Lu={preload:!0})=>new Promise(async(Ou,Du)=>{if(Lu.asyncStartCallback&&Lu.asyncStartCallback(),_u.panoIndex===void 0)return Du(!1);if(Bu.mode&&Bu.mode!==_u.currentMode&&await new Promise(ku=>{!Bu.mode||(_u.once("modeChange",Fu=>{_u.once("initAnimationEnded",()=>{Fu===Bu.mode&&ku(!0)})}),_u.changeMode(Bu.mode,{fov:Bu.fov||void 0,latitude:Bu.latitude||void 0,longitude:Bu.longitude||void 0,panoIndex:Bu.panoIndex||void 0}))}),Bu.mode===Five.Mode.Floorplan||(Lu.preload&&Bu.panoIndex!==void 0&&Bu.panoIndex!==_u.panoIndex&&await _u.preloadPano(Bu.panoIndex),Lu.asyncEndCallback&&Lu.asyncEndCallback(),Bu.panoIndex===void 0&&Bu.fov===void 0&&Bu.latitude===void 0&&Bu.longitude===void 0))return Ou(!0);const $u=Bu.panoIndex!==void 0?Bu.panoIndex:_u.panoIndex;if($u!==void 0){const ku=Object.assign(Bu,{duration:Ru,moveEndCallback:()=>Ou(!0),moveCancelCallback:()=>{Ou(!0)}});await _u.moveToPano($u,ku)}else Du(!1)}),Cu=Bu=>{const Ru=_u.state,Lu=formatLatitude(Ru.latitude),Ou=formatLatitude(Bu.latitude),{from:Du,to:$u}=getLongitudeParams(Ru.longitude,Bu.longitude,Bu.rotation||Rotation$1.Loop),ku=Ru.fov,Fu=Bu.fov;return{from:{latitude:Lu,longitude:Du,fov:ku},to:{latitude:Ou,longitude:$u,fov:Fu}}};return{move:Tu,rotate:async(Bu,Ru,Lu={})=>{Lu.asyncStartCallback&&Lu.asyncStartCallback(),Bu.mode&&_u.currentMode!==Bu.mode&&await _u.changeMode(Bu.mode),Bu.mode===Five.Mode.Panorama&&_u.currentMode===Five.Mode.Panorama&&Bu.panoIndex!==void 0&&Bu.panoIndex!==_u.panoIndex&&(Lu.preload&&await _u.preloadPano(Bu.panoIndex),await new Promise(($u,ku)=>{_u.moveToPano(Bu.panoIndex,{moveEndCallback:()=>$u(!0),moveCancelCallback:()=>ku(!1),effect:"fade"})})),Lu.asyncEndCallback&&Lu.asyncEndCallback();const{from:Ou,to:Du}=Cu(Bu);return await new Promise(($u,ku)=>{const Fu=({progress:ju})=>{const Uu={};Uu.longitude=progressNumber(Ou.longitude,Du.longitude,ju)%PI_2$1,Uu.latitude=progressNumber(Ou.latitude,Du.latitude,ju),Uu.fov=progressNumber(Ou.fov,Du.fov,ju),_u.setState(Uu,!0)},Nu=()=>{$u(!0)},Vu=()=>{$u(!1)};let Gu=Ru;Bu.rotation===Rotation$1.Loop&&(Gu=Bu.rotateSpeed?Math.ceil(Math.abs(Du.longitude-Ou.longitude)/Bu.rotateSpeed*1e3):Ru);const Hu=tweenProgress$1(Gu,Easing.Linear.None).onUpdate(Fu).onComplete(Nu).onDestroy(Vu);Bu.rotation===Rotation$1.Loop&&Hu.repeat(1/0).yoyo(!0),setTimeout(()=>{Hu.destroy(),$u(!0)},Ru)})}}};var VreoKeyframeEnum=(_u=>(_u.CameraMovement="CameraMovement",_u.PanoTag="PanoTag",_u.PanoTextLabel="PanoTextLabel",_u.Prompter="Prompter",_u.UpdateVRPanorama="UpdateVRPanorama",_u.ModelVideo="ModelVideo",_u.PanoEffect="PanoEffect",_u.InfoPanel="InfoPanel",_u.VideoEffect="VideoEffect",_u.BgMusic="BgMusic",_u.Exit="Exit",_u.Custom="Custom",_u))(VreoKeyframeEnum||{}),InfoPanelTypeEnum=(_u=>(_u.Image="Image",_u.Video="Video",_u))(InfoPanelTypeEnum||{}),InfoPanelStyleEnum=(_u=>(_u.Drawer="Drawer",_u.PopUp="PopUp",_u))(InfoPanelStyleEnum||{});function CameraMovement(){const _u=useController(),Tu=useFiveInstance(),Cu=react$1.exports.useRef();return react$1.exports.useEffect(()=>{const Pu=async Bu=>{Cu.current||(Cu.current=CameraMovementPlugin(Tu));const{start:Ru,end:Lu,data:Ou}=Bu,Du=Ou,$u=Du.effect;$u===CameraMovementEffect$1.Rotate?await Cu.current.rotate(Ou,Lu-Ru):$u===CameraMovementEffect$1.Move?await Cu.current.move(Ou,Lu-Ru):Du.panoIndex!==void 0&&Du.panoIndex!==Tu.panoIndex?await Cu.current.move(Ou,Lu-Ru):await Cu.current.rotate(Ou,Lu-Ru)};return _u.on(VreoKeyframeEnum.CameraMovement,Pu),()=>{_u.off(VreoKeyframeEnum.CameraMovement,Pu)}},[_u]),jsx(Fragment,{})}const resizeObserverCache=new Map;function addResizeListener(_u,Tu,Cu=!0){if(!_u)return()=>{};if(Cu&&Tu(_u.clientWidth,_u.clientHeight),typeof ResizeObserver!="undefined"&&ResizeObserver){const Pu=new ResizeObserver(()=>Tu(_u.clientWidth,_u.clientHeight));return Pu.observe(_u),resizeObserverCache.set(_u,resizeObserverCache.get(_u)||0+1),()=>{_u&&Pu.unobserve(_u),resizeObserverCache.get(_u)===1&&resizeObserverCache.delete(_u)}}else{const Pu=document.createElement("iframe");return Pu.style.cssText="position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;opacity:0;visibility:hidden;margin:0;border:0;padding:0;z-index:-1;",Pu.classList.add("resize-sensor-iframe"),_u.appendChild(Pu),Pu.contentWindow?(Pu.contentWindow.addEventListener("resize",()=>{Tu(Pu.clientWidth,Pu.clientHeight)}),resizeObserverCache.set(_u,resizeObserverCache.get(_u)||0+1),()=>{_u.removeChild(Pu),resizeObserverCache.get(_u)===1&&resizeObserverCache.delete(_u)}):()=>{}}}function hasResizeListener(_u){return _u?resizeObserverCache.get(_u)||0>0:!1}function ResizeObserver$1(){const _u=React.useRef(null),Tu=useController();return React.useEffect(()=>{if(!_u.current)return;const Cu=Tu.container.parentElement;if(hasResizeListener(Cu))return;const Pu=addResizeListener(Cu,(Bu,Ru)=>{Tu.setContainerSize(Bu,Ru)});return()=>{Pu()}},[]),jsx("div",{className:"resizeObserver-element",ref:_u})}function InfoPanelImg({url:_u,children:Tu}){return jsx("div",{className:"vreo-infoPanel-container",children:jsx("div",{className:"vreo-infoPanel vreo-infoPanel--img",children:jsx("div",{className:"ratio-4-5 vreo-infoPanel-wrapper",children:jsxs("div",{className:"vreo-infoPanel-inner",children:[Tu,jsx("img",{className:"vreo-infoPanelImg",src:_u})]})})})})}function InfoPanelVideo({url:_u,children:Tu}){return jsx("div",{className:"vreo-infoPanel-container",children:jsx("div",{className:"vreo-infoPanel vreo-infoPanel--video",children:jsx("div",{className:"ratio-4-5 vreo-infoPanel-wrapper",children:jsxs("div",{className:"vreo-infoPanel-inner",children:[Tu,jsx("div",{className:"vreo-infoPanelVideo",children:jsx("video",{playsInline:!0,autoPlay:!0,className:"vreo-infoPanelVideo",src:_u})})]})})})})}const Title=_u=>!_u.title&&!_u.subTitle?null:jsxs(Fragment,{children:[jsx("div",{className:"vreo-infoPanel-title-shadow"}),jsxs("div",{className:"vreo-infoPanel-title",children:[jsx("div",{className:"vreo-infoPanel-t1",children:_u.title}),jsx("div",{className:"vreo-infoPanel-t2",children:_u.subTitle})]})]});function InfoPanel(){const _u=react$1.exports.useRef(),Tu=useController();return react$1.exports.useEffect(()=>{var Pu;if(((Pu=Tu.configs)==null?void 0:Pu.keyframeMap.InfoPanel)===!1)return;const Cu=Bu=>{const{start:Ru,end:Lu,data:Ou}=Bu,Du=Ou,{title:$u,subTitle:ku,style:Fu}=Du;do{if(Fu===InfoPanelStyleEnum.PopUp){Du.type===InfoPanelTypeEnum.Image?Tu.openPopUp(jsx(InfoPanelImg,{url:Du.url,children:jsx(Title,{title:$u,subTitle:ku})})):Du.type===InfoPanelTypeEnum.Video&&Tu.openPopUp(jsx(InfoPanelVideo,{url:Du.url,children:jsx(Title,{title:$u,subTitle:ku})}));break}Du.type===InfoPanelTypeEnum.Image?Tu.openDrawer({content:jsx(InfoPanelImg,{url:Du.url,children:jsx(Title,{title:$u,subTitle:ku})}),height:"60vh"}):Du.type===InfoPanelTypeEnum.Video&&Tu.openDrawer({content:jsx(InfoPanelVideo,{url:Du.url,children:jsx(Title,{title:$u,subTitle:ku})}),height:"60vh"})}while(!1);_u.current=setTimeout(()=>{Tu.openDrawer(!1),Tu.openPopUp(!1)},Lu-Ru)};return Tu.on(VreoKeyframeEnum.InfoPanel,Cu),()=>{Tu.off(VreoKeyframeEnum.InfoPanel,Cu),_u.current&&clearTimeout(_u.current)}},[Tu]),jsx(Fragment,{})}const ModelTVVideoPlugin=(_u,{videoElement:Tu})=>{const Cu={videoMeshes:[],videoTextureEnabled:!1,videoSource:"",rectPoints:[],enabled:!1,videoElement:Tu},Pu=Fu=>{Cu.videoTexture&&(Cu.videoTexture.image.muted=Fu,Cu.videoTexture.image.play())},Bu=()=>Cu.videoTexture?Cu.videoTexture.image.muted:!0,Ru=()=>{if(Cu.enabled||!Cu.videoTexture)return;Cu.enabled=!0,Cu.videoMeshes=Ou(),Cu.videoMeshes.forEach(Nu=>_u.scene.add(Nu));const Fu=()=>{if(!Cu.videoTexture)return;const Nu=()=>{var Vu;!Cu.videoTexture||((Vu=Cu.videoTexture)==null||Vu.image.removeEventListener("timeupdate",Nu),Cu.videoTextureEnabled=!0,Cu.videoMeshes.forEach(Gu=>{Gu.material.map!==Cu.videoTexture&&(Gu.material.map=Cu.videoTexture)}),_u.needsRender=!0)};Cu.videoTexture.image.addEventListener("timeupdate",Nu),Cu.videoTexture&&Cu.videoMeshes.length&&Cu.videoTexture.image.play()};if(_u.model.loaded)Fu();else return _u.once("modelLoaded",()=>Fu())},Lu=()=>{!Cu.enabled||(Cu.enabled=!1,Cu.videoMeshes.forEach(Fu=>{Fu.geometry.dispose(),Fu.material.dispose(),_u.scene.remove(Fu),Cu.videoTexture&&Cu.videoTexture.image.pause()}),Cu.videoMeshes=[],_u.needsRender=!0)},Ou=()=>Cu.rectPoints.map((Fu,Nu)=>{const Vu=new BufferGeometry,Gu=128,Hu=[];Hu.push(Fu[0].x,Fu[0].y,Fu[0].z);for(let Qu=1;Qu<Gu;Qu++)Hu.push(Fu[0].x+(Fu[1].x-Fu[0].x)*Qu/Gu,Fu[0].y+(Fu[1].y-Fu[0].y)*Qu/Gu,Fu[0].z+(Fu[1].z-Fu[0].z)*Qu/Gu);Hu.push(Fu[1].x,Fu[1].y,Fu[1].z),Hu.push(Fu[2].x,Fu[2].y,Fu[2].z);for(let Qu=1;Qu<Gu;Qu++)Hu.push(Fu[2].x+(Fu[3].x-Fu[2].x)*Qu/Gu,Fu[2].y+(Fu[3].y-Fu[2].y)*Qu/Gu,Fu[2].z+(Fu[3].z-Fu[2].z)*Qu/Gu);Hu.push(Fu[3].x,Fu[3].y,Fu[3].z);const ju=[];ju.push(0,1);for(let Qu=1;Qu<Gu;Qu++)ju.push(0,1-Qu/Gu);ju.push(0,0),ju.push(1,0);for(let Qu=1;Qu<Gu;Qu++)ju.push(1,Qu/Gu);ju.push(1,1);const Uu=[];for(let Qu=0;Qu<Gu;Qu++)Uu.push(Qu,Qu+1,Gu*2-Qu,Qu,Gu*2-Qu,Gu*2+1-Qu);Vu.setAttribute("position",new BufferAttribute(new Float32Array(Hu),3)),Vu.setAttribute("uv",new BufferAttribute(new Float32Array(ju),2)),Vu.setIndex(new BufferAttribute(new Uint32Array(Uu),1));const zu=new MeshBasicMaterial({map:Cu.videoTextureEnabled?Cu.videoTexture:Cu.imageTexture,side:DoubleSide}),Wu=new Mesh(Vu,zu);return Wu.renderOrder=1,Wu.name=`video-${Nu}-${performance.now()}`,Wu}),Du=Fu=>{const Nu=new TextureLoader().load(Fu);return Nu.minFilter=LinearFilter,Nu.magFilter=LinearFilter,Nu.format=RGBFormat,Nu},$u=(Fu,Nu)=>new Promise((Vu,Gu)=>{const Hu=new XMLHttpRequest;Hu.onreadystatechange=()=>{if(Hu.readyState==4)if(Hu.status==200){const ju=window.URL||window.webkitURL;Nu=Nu||document.createElement("video"),Nu.crossOrigin="anonymous",Nu.autoplay=!0,Nu.muted=!0,Nu.loop=!0,Nu.playsInline=!0,Nu.src=ju.createObjectURL(Hu.response);const Uu=new VideoTexture(Nu);Uu.minFilter=LinearFilter,Uu.magFilter=LinearFilter,Uu.format=RGBFormat,Vu(Object.assign(Uu,{videoSource:Fu}))}else Gu(new Error("Video download Error: "+Hu.status))},Hu.onerror=ju=>Gu(ju),Hu.open("GET",Fu),Hu.responseType="blob",Hu.send()}),ku=async(Fu,Nu)=>{const{video_src:Vu,video_poster_src:Gu,points:Hu}=Fu;Cu.videoSource=Vu,Cu.rectPoints=Hu.map(ju=>ju.map(({x:Uu,y:zu,z:Wu})=>new Vector3(Uu,zu,Wu))),Cu.imageTexture=Du(Gu),Nu&&(Cu.videoElement=Nu),Cu.videoTexture=await $u(Cu.videoSource,Cu.videoElement),Cu.enabled=!!Fu.enable,Cu.enabled&&Ru()};return _u.on("modeChange",()=>Pu(!0)),_u.on("wantsTapGesture",Fu=>{if(!Cu.enabled)return;const[Nu]=Fu.intersectObjects(_u.scene.children,!0);if(!!Nu&&/^video/.test(Nu.object.name))return Cu.videoTexture&&Pu(!Cu.videoTexture.image.muted),!1}),_u.on("panoArrived",()=>{if(!Cu.enabled||Bu())return;const Fu=_u.camera.position;Cu.rectPoints.find(Vu=>{const Gu=Vu.reduce((Hu,ju)=>new Vector3(Hu.x+ju.x/Vu.length,Hu.y+ju.y/Vu.length,Hu.z+ju.z/Vu.length),new Vector3);return Vu.map(Hu=>new Vector3((Hu.x+Gu.x)/2,(Hu.y+Gu.y)/2,(Hu.z+Gu.z)/2)).filter(Hu=>{Hu=Hu.clone().sub(Fu).normalize();const ju=new Raycaster(Fu,Hu),[Uu]=ju.intersectObjects(_u.scene.children,!0);return!!Uu&&/^video/.test(Uu.object.name)}).length>=2})||Pu(!0)}),_u.on("renderFrame",()=>{Cu.videoMeshes.forEach(Fu=>{Fu&&(Fu.needsRender=!0)})}),_u.on("load",Fu=>{Fu.modelTVVideoData&&ku(Fu.modelTVVideoData)}),{enable:Ru,disable:Lu,load:ku}};function createTransMatrix(_u){const Tu=new Matrix4;return Tu.fromArray(_u),Cu=>{const Pu=new Vector3(...Cu);return Pu.applyMatrix4(Tu),Pu.toArray()}}function ModelVideo(){const _u=useController(),Tu=useFiveInstance(),Cu=react$1.exports.useRef(),Pu=react$1.exports.useRef();return react$1.exports.useEffect(()=>{const Bu=async Ru=>{var Gu,Hu;Cu.current||(Cu.current=ModelTVVideoPlugin(Tu,{}));const{start:Lu,end:Ou}=Ru,{videoSrc:Du,videoPosterSrc:$u,vertexs:ku,matrixWorld:Fu}=Ru.data,Nu=(()=>{if(ku.length<4)throw new Error("ModelVideo: \u9876\u70B9\u6570\u636E\u96C6\u5408\u4E0D\u591F\uFF0C\u65E0\u6CD5\u7EC4\u6210\u77E9\u5F62 ....");if(ku.length===4)return ku;const ju=new Box3;return ku.forEach(Uu=>ju.expandByPoint(new Vector3(Uu.x,Uu.y,Uu.z))),[new Vector3(ju.min.x,ju.max.y,ju.max.z),new Vector3(ju.min.x,ju.min.y,ju.max.z),new Vector3(ju.max.x,ju.min.y,ju.max.z),new Vector3(ju.max.x,ju.max.y,ju.max.z)]})(),Vu=(()=>{if(Fu){const ju=createTransMatrix(Fu);return[Nu.map(Uu=>{const zu=ju([Uu.x,Uu.y,Uu.z]);return{x:zu[0],y:zu[1],z:zu[2]}})]}return[Nu]})();Cu.current.disable(),await Cu.current.load({video_src:Du,video_poster_src:$u,points:Vu},(Hu=(Gu=_u.configs)==null?void 0:Gu.videos)==null?void 0:Hu.modelTVVideo),Cu.current.enable(),Pu.current=setTimeout(()=>{var ju;return(ju=Cu.current)==null?void 0:ju.disable()},Ou-Lu)};return _u.on(VreoKeyframeEnum.ModelVideo,Bu),()=>{_u.off(VreoKeyframeEnum.ModelVideo,Bu),Pu.current&&clearTimeout(Pu.current)}},[_u]),jsx(Fragment,{})}var line={},Line;Object.defineProperty(line,"__esModule",{value:!0});var t$1=tslib.exports;function e(_u){if(_u&&_u.__esModule)return _u;var Tu=Object.create(null);return _u&&Object.keys(_u).forEach(function(Cu){if(Cu!=="default"){var Pu=Object.getOwnPropertyDescriptor(_u,Cu);Object.defineProperty(Tu,Cu,Pu.get?Pu:{enumerable:!0,get:function(){return _u[Cu]}})}}),Tu.default=_u,Object.freeze(Tu)}var n=e(require$$1),i=function(_u){function Tu(){var Cu=_u.call(this)||this;return Cu.type="LineSegmentsGeometry",Cu.setIndex([0,2,1,2,3,1,2,4,3,4,5,3,4,6,5,6,7,5]),Cu.setAttribute("position",new n.Float32BufferAttribute([-1,2,0,1,2,0,-1,1,0,1,1,0,-1,0,0,1,0,0,-1,-1,0,1,-1,0],3)),Cu.setAttribute("uv",new n.Float32BufferAttribute([-1,2,1,2,-1,1,1,1,-1,-1,1,-1,-1,-2,1,-2],2)),Cu}return t$1.__extends(Tu,_u),Tu.prototype.applyMatrix4=function(Cu){var Pu=this.attributes.instanceStart,Bu=this.attributes.instanceEnd;return Pu!==void 0&&(Pu.applyMatrix4(Cu),Bu.applyMatrix4(Cu),Pu.needsUpdate=!0),this.boundingBox!==null&&this.computeBoundingBox(),this.boundingSphere!==null&&this.computeBoundingSphere(),this},Tu.prototype.setPositions=function(Cu){var Pu;Pu=Cu instanceof Float32Array?Cu:Array.isArray(Cu)?new Float32Array(Cu):new Float32Array;var Bu=new n.InstancedInterleavedBuffer(Pu,6,1);return this.setAttribute("instanceStart",new n.InterleavedBufferAttribute(Bu,3,0)),this.setAttribute("instanceEnd",new n.InterleavedBufferAttribute(Bu,3,3)),this.computeBoundingBox(),this.computeBoundingSphere(),this},Tu.prototype.setColors=function(Cu){var Pu;Pu=Cu instanceof Float32Array?Cu:Array.isArray(Cu)?new Float32Array(Cu):new Float32Array;var Bu=new n.InstancedInterleavedBuffer(Pu,6,1);return this.setAttribute("instanceColorStart",new n.InterleavedBufferAttribute(Bu,3,0)),this.setAttribute("instanceColorEnd",new n.InterleavedBufferAttribute(Bu,3,3)),this},Tu.prototype.fromWireframeGeometry=function(Cu){return this.setPositions(Cu.attributes.position.array),this},Tu.prototype.fromEdgesGeometry=function(Cu){return this.setPositions(Cu.attributes.position.array),this},Tu.prototype.fromMesh=function(Cu){return this.fromWireframeGeometry(new n.WireframeGeometry(Cu.geometry)),this},Tu.prototype.fromLineSegments=function(Cu){var Pu=Cu.geometry;if(Pu instanceof n.Geometry){var Bu=new n.BufferGeometry().fromGeometry(Pu);this.setPositions(Bu.attributes.position.array)}else Pu instanceof n.BufferGeometry&&this.setPositions(Pu.attributes.position.array);return this},Tu.prototype.computeBoundingBox=function(){this.boundingBox===null&&(this.boundingBox=new n.Box3);var Cu=this.attributes.instanceStart,Pu=this.attributes.instanceEnd;if(Cu!==void 0&&Pu!==void 0){var Bu=new n.Box3;this.boundingBox.setFromBufferAttribute(Cu),Bu.setFromBufferAttribute(Pu),this.boundingBox.union(Bu)}},Tu.prototype.computeBoundingSphere=function(){this.boundingSphere===null&&(this.boundingSphere=new n.Sphere),this.boundingBox===null&&this.computeBoundingBox();var Cu=this.attributes.instanceStart,Pu=this.attributes.instanceEnd;if(Cu!==void 0&&Pu!==void 0){var Bu=this.boundingSphere.center;this.boundingBox.getCenter(Bu);for(var Ru=0,Lu=new n.Vector3,Ou=0,Du=Cu.count;Ou<Du;Ou++)Lu.fromBufferAttribute(Cu,Ou),Ru=Math.max(Ru,Bu.distanceToSquared(Lu)),Lu.fromBufferAttribute(Pu,Ou),Ru=Math.max(Ru,Bu.distanceToSquared(Lu));this.boundingSphere.radius=Math.sqrt(Ru),isNaN(this.boundingSphere.radius)&&console.error("THREE.LineSegmentsGeometry.computeBoundingSphere(): Computed radius is NaN. The instanced position data is likely to have NaN values.",this)}},Tu.prototype.toJSON=function(){},Tu}(n.InstancedBufferGeometry);Object.assign(i.prototype,{isLineSegmentsGeometry:!0});var r$1={uniforms:n.UniformsUtils.merge([n.UniformsLib.common,n.UniformsLib.fog,{linewidth:{value:1},resolution:{value:new n.Vector2(1,1)},dashScale:{value:1},dashSize:{value:1},gapSize:{value:1},opacity:{value:1}}]),vertexShader:`
3696
3696
  #include <common>
3697
3697
  #include <color_pars_vertex>
3698
3698
  #include <fog_pars_vertex>
@@ -1 +1 @@
1
- import{c,R as l,j as e,r,a as o,p as d,e as i}from"./default.63925584.js";import{w as p}from"./znRoyv06SZQeqA7m.0057e8ae.js";import{R as u}from"./index.7e31122c.js";import{V as m,A as v}from"./AppReact.d0ee843a.js";const f={imageOptions:{size:1024},textureOptions:{size:64},onlyRenderIfNeeds:!0,antialias:!1,model:{},plugins:[]},x=c(f);function g(){const[t,n]=r.exports.useState(!1),a=t?o(x,{initialWork:d(p),ref:s=>Object.assign(window,{$five:s==null?void 0:s.five}),children:[e(u,{}),e(m,{children:e(v,{})})]}):e(i,{});return o(i,{children:[e("button",{style:{position:"absolute",zIndex:1e6,top:"36px",left:"36px"},onClick:()=>n(!t),children:t?"\u9500\u6BC1":"\u521B\u5EFA"}),a]})}l.render(e(r.exports.StrictMode,{children:e(g,{})}),document.getElementById("root"));
1
+ import{c,R as l,j as e,r,a as o,p as d,e as i}from"./default.3cc022d8.js";import{w as p}from"./znRoyv06SZQeqA7m.0057e8ae.js";import{R as u}from"./index.9a1e2626.js";import{V as m,A as v}from"./AppReact.af796f8b.js";const f={imageOptions:{size:1024},textureOptions:{size:64},onlyRenderIfNeeds:!0,antialias:!1,model:{},plugins:[]},x=c(f);function g(){const[t,n]=r.exports.useState(!1),a=t?o(x,{initialWork:d(p),ref:s=>Object.assign(window,{$five:s==null?void 0:s.five}),children:[e(u,{}),e(m,{children:e(v,{})})]}):e(i,{});return o(i,{children:[e("button",{style:{position:"absolute",zIndex:1e6,top:"36px",left:"36px"},onClick:()=>n(!t),children:t?"\u9500\u6BC1":"\u521B\u5EFA"}),a]})}l.render(e(r.exports.StrictMode,{children:e(g,{})}),document.getElementById("root"));
@@ -1,4 +1,4 @@
1
- import{r as o,j as r,F as m,u as p,P as _,V as f,a as c,c as b,p as y,f as h}from"./default.63925584.js";function x(){const[e,l]=o.exports.useState({width:0,height:0}),t=o.exports.useRef(null);return o.exports.useEffect(()=>{if(!t.current)return;l({width:window.innerWidth,height:window.innerHeight});const n=({width:d,height:a})=>l({width:d,height:a}),u=new ResizeObserver(d=>{const a=d[0],i=a.target.clientWidth,s=a.target.clientHeight;n({width:i,height:s})});return u.observe(t.current),()=>{t.current&&u.unobserve(t.current),u.disconnect()}},[]),r("div",{className:"ResponsiveFiveCanvas",ref:t,style:{width:"100%",height:"100%",position:"absolute",top:0,left:0,opacity:e.width===0||e.height===0?0:1},children:r(m,{width:e.width,height:e.height})})}const g={_signature:"RxzX9G4X3qL+vRMST3YBSHkxz1pNHsPHF222xo6fTygjT7QZRjy8aaD/YuCaZ6B/0tHGjpOTXwp7Xj0ginPOb+xUI4D+2QTbL5vNtWuamnaW0Ko1KMFmF9MWNY+80AAubmR9+SXp6hhNsmrQGdF83ZJiRz0q+c44DgrGD9bm3h0=",allow_hosts:["*"],animation_file_url:"",animation_picture_url:"",basic_code:"EpGyBg4xy3b1q3nK",business_id:"0",certificate:`-----BEGIN CERTIFICATE-----
1
+ import{r as o,j as r,F as m,u as p,P as _,V as f,a as c,c as b,p as y,f as h}from"./default.3cc022d8.js";function x(){const[e,l]=o.exports.useState({width:0,height:0}),t=o.exports.useRef(null);return o.exports.useEffect(()=>{if(!t.current)return;l({width:window.innerWidth,height:window.innerHeight});const n=({width:d,height:a})=>l({width:d,height:a}),u=new ResizeObserver(d=>{const a=d[0],i=a.target.clientWidth,s=a.target.clientHeight;n({width:i,height:s})});return u.observe(t.current),()=>{t.current&&u.unobserve(t.current),u.disconnect()}},[]),r("div",{className:"ResponsiveFiveCanvas",ref:t,style:{width:"100%",height:"100%",position:"absolute",top:0,left:0,opacity:e.width===0||e.height===0?0:1},children:r(m,{width:e.width,height:e.height})})}const g={_signature:"RxzX9G4X3qL+vRMST3YBSHkxz1pNHsPHF222xo6fTygjT7QZRjy8aaD/YuCaZ6B/0tHGjpOTXwp7Xj0ginPOb+xUI4D+2QTbL5vNtWuamnaW0Ko1KMFmF9MWNY+80AAubmR9+SXp6hhNsmrQGdF83ZJiRz0q+c44DgrGD9bm3h0=",allow_hosts:["*"],animation_file_url:"",animation_picture_url:"",basic_code:"EpGyBg4xy3b1q3nK",business_id:"0",certificate:`-----BEGIN CERTIFICATE-----
2
2
  MIIEMzCCAhsCCQDYAS/7ATZRmTANBgkqhkiG9w0BAQsFADCBkzELMAkGA1UEBhMC
3
3
  Q04xEDAOBgNVBAgMB0JlaWppbmcxEDAOBgNVBAcMB0JlaWppbmcxFDASBgNVBAoM
4
4
  C2xpYW5qaWEuY29tMRAwDgYDVQQLDAdSZWFsc2VlMREwDwYDVQQDDAhIYXJkd2Fy
@@ -1 +1 @@
1
- import{r as o,j as r,F as c}from"./default.63925584.js";const d=(t,i=1e3/60)=>{let e=null;const n=t;return(...s)=>{e&&clearTimeout(e),e=setTimeout(()=>{n==null||n(...s),e&&clearTimeout(e),e=null},i)}};function a(){const[t,i]=o.exports.useState({width:document.body.clientWidth,height:document.body.clientHeight});return o.exports.useEffect(()=>{const e=d(()=>i({width:document.body.clientWidth,height:document.body.clientHeight}));return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),r(c,{width:t.width,height:t.height})}export{a as R};
1
+ import{r as o,j as r,F as c}from"./default.3cc022d8.js";const d=(t,i=1e3/60)=>{let e=null;const n=t;return(...s)=>{e&&clearTimeout(e),e=setTimeout(()=>{n==null||n(...s),e&&clearTimeout(e),e=null},i)}};function a(){const[t,i]=o.exports.useState({width:document.body.clientWidth,height:document.body.clientHeight});return o.exports.useEffect(()=>{const e=d(()=>i({width:document.body.clientWidth,height:document.body.clientHeight}));return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),r(c,{width:t.width,height:t.height})}export{a as R};
@@ -1 +1 @@
1
- import{r as d,u as i,P as p,j as a,c as f,R as l,a as E,p as y}from"./default.63925584.js";import{w as F}from"./znRoyv06SZQeqA7m.0057e8ae.js";import{R as b}from"./index.7e31122c.js";const C={categoryId:"a80d5051-122d-4618-1d19-d43f4196c97a",categoryText:"8952fa2b-1784-4031-63c8-a707e111f481",frontRequestId:"280b45bf-9cfe-4eaa-7658-d2bddf545e83",index:0,video:{duration:26245,start:0,end:106278,url:""},keyframes:[{uuid:"2fa9e43c-023d-44b7-2c47-28829b5b7115",type:"CameraMovement",start:0,end:1328,parsed:!1,data:{effect:"Move",panoIndex:9,fov:59,mode:"Panorama",latitude:-.03230120055325244,longitude:3.1429096757667008}},{uuid:"d6fbfa55-5d27-4fbf-4328-4d01c4a45520",type:"Prompter",start:0,end:4400,parsed:!1,data:{text:"\u5BB6\u4E2D\u5E73\u65F6\u4EBA\u5C11\uFF0C\u70E7\u4E00\u58F6\u6C34\u559D\u4E0D\u5B8C\u53C8\u51C9\u4E86"}},{uuid:"92a90980-6f5c-4c26-fed4-7fb908691044",type:"Prompter",start:5200,end:6700,parsed:!1,data:{text:"\u53CD\u590D\u70E7\u5F00\u7684\u5343\u6EDA\u6C34\u5371\u5BB3\u5BB6\u4EBA\u5065\u5EB7"}},{uuid:"bcd155a7-cf4f-4bb6-a0f2-739ab522a683",type:"Prompter",start:7400,end:1e4,parsed:!1,data:{text:"\u8FD9\u6B3E\u7F8E\u7684\u8336\u5427\u673A\u5E26\u6709\u4FDD\u6E29\u76D8\uFF0C55\u5EA6\u7684\u6C34\u53EF\u4FDD\u6E2912\u5C0F\u65F6"}},{uuid:"06388578-b39b-4ff3-4438-f16a0e9bb1e3",type:"Prompter",start:11e3,end:13e3,parsed:!1,data:{text:"\u8BA9\u4F60\u968F\u65F6\u6709\u6E29\u6C34\u5165\u8179"}},{uuid:"afcf6cbe-1031-4d99-c6cc-e39e6710c793",type:"Prompter",start:13700,end:16e3,parsed:!1,data:{text:"\u5168\u5BB6\u4EBA\u5BF9\u6C34\u6E29\u8981\u6C42\u4E0D\u540C\uFF0C\u8981\u7528\u6E29\u6C34\u7ED9\u5B69\u5B50\u51B2\u5976"}},{uuid:"4e4d486c-fb1a-40f0-62a4-bc87eb3874e5",type:"Prompter",start:16900,end:18700,parsed:!1,data:{text:"\u5988\u5988\u7231\u559D\u7684\u7EA2\u8336\u8981\u7528100\u5EA6\u6CB8\u6C34"}},{uuid:"c0dd2571-cb53-4461-d441-53d9876d910a",type:"Prompter",start:19300,end:21800,parsed:!1,data:{text:"\u8FD9\u6B3E\u8336\u5427\u673A\u53EF\u7CBE\u51C6\u63A7\u6E29\u6EE1\u8DB3\u5168\u5BB6\u9700\u6C42"}},{uuid:"90e43160-9217-480a-9c14-065cbace760e",type:"Prompter",start:22500,end:26200,parsed:!1,data:{text:"\u4E0A\u7F6E\u50A8\u7269\u67DC\u53EF\u6536\u7EB3\u8336\u5177\u8336\u53F6\uFF0C\u4E0B\u7F6E\u6C34\u6876\u6362\u6C34\u4E0D\u8D39\u529B"}},{uuid:"e8100e08-ec75-4716-4d3a-ba00999e19ec",type:"PanoTextLabel",start:22417,end:24245,parsed:!1,data:{text:"\u4E0A\u7F6E\u50A8\u7269\u67DC",vertex:{x:-1.2920994585621808,y:.6039590569616649,z:-3.591666936874389},fontSize:14}},{uuid:"a1f330ab-1b9c-4e7a-701c-c82cf7df2af7",type:"PanoTextLabel",start:25e3,end:26245,parsed:!1,data:{text:"\u4E0B\u7F6E\u6C34\u6876",vertex:{x:-1.2948739014345394,y:.3495986970932401,z:-3.5916669368743896},fontSize:14}},{type:"PanoTag",start:8e3,end:10500,parsed:!1,data:{imgUrl:"https://vrlab-public.ljcdn.com/release/seesay/tools/Screenshot_20220527220803031_com.jingdong.app.mall____d9f902ea827338a07f57788b831c3552.png",text:"12\u5C0F\u65F6\u4FDD\u6E29\u76D8",vertex:{x:-.8666686085208133,y:.8402865638657824,z:-3.817708370830488},type:"Text"}},{uuid:"c560e0e0-4f42-4100-cae1-8c871034a4e4",type:"PanoTag",start:2e4,end:22500,parsed:!1,data:{text:"\u516D\u6863\u7CBE\u51C6\u63A7\u6E29",vertex:{x:-.9753990782354569,y:.7787579222747523,z:-3.5962710380554204},type:"Text"}}]};function x(){const e=d.exports.useRef(),c=i(),[t,r]=d.exports.useState("notReady");return d.exports.useEffect(()=>{if(e.current)return;const u=new p(c);e.current=u,r("ready"),u.on("paused",()=>r("paused")),u.on("playing",()=>r("playing")),Object.assign(window,{$player:u})},[]),a("div",{className:"btns",children:a("button",{onClick:async()=>{var u,s,n,o;t==="ready"&&((u=e.current)==null||u.show(),await((s=e.current)==null?void 0:s.load(C))),t!=="playing"?(n=e.current)==null||n.play():(o=e.current)==null||o.pause()},disabled:t==="notReady",children:t!=="playing"?"\u64AD\u653E":"\u6682\u505C"})})}const B={imageOptions:{size:1024},textureOptions:{size:64},onlyRenderIfNeeds:!0,antialias:!1,model:{},plugins:[]},m=f(B);l.render(a(d.exports.StrictMode,{children:E(m,{initialWork:y(F),ref:e=>Object.assign(window,{$five:e==null?void 0:e.five}),children:[a(b,{}),a(x,{})]})}),document.getElementById("root"));
1
+ import{r as d,u as i,P as p,j as a,c as f,R as l,a as E,p as y}from"./default.3cc022d8.js";import{w as F}from"./znRoyv06SZQeqA7m.0057e8ae.js";import{R as b}from"./index.9a1e2626.js";const C={categoryId:"a80d5051-122d-4618-1d19-d43f4196c97a",categoryText:"8952fa2b-1784-4031-63c8-a707e111f481",frontRequestId:"280b45bf-9cfe-4eaa-7658-d2bddf545e83",index:0,video:{duration:26245,start:0,end:106278,url:""},keyframes:[{uuid:"2fa9e43c-023d-44b7-2c47-28829b5b7115",type:"CameraMovement",start:0,end:1328,parsed:!1,data:{effect:"Move",panoIndex:9,fov:59,mode:"Panorama",latitude:-.03230120055325244,longitude:3.1429096757667008}},{uuid:"d6fbfa55-5d27-4fbf-4328-4d01c4a45520",type:"Prompter",start:0,end:4400,parsed:!1,data:{text:"\u5BB6\u4E2D\u5E73\u65F6\u4EBA\u5C11\uFF0C\u70E7\u4E00\u58F6\u6C34\u559D\u4E0D\u5B8C\u53C8\u51C9\u4E86"}},{uuid:"92a90980-6f5c-4c26-fed4-7fb908691044",type:"Prompter",start:5200,end:6700,parsed:!1,data:{text:"\u53CD\u590D\u70E7\u5F00\u7684\u5343\u6EDA\u6C34\u5371\u5BB3\u5BB6\u4EBA\u5065\u5EB7"}},{uuid:"bcd155a7-cf4f-4bb6-a0f2-739ab522a683",type:"Prompter",start:7400,end:1e4,parsed:!1,data:{text:"\u8FD9\u6B3E\u7F8E\u7684\u8336\u5427\u673A\u5E26\u6709\u4FDD\u6E29\u76D8\uFF0C55\u5EA6\u7684\u6C34\u53EF\u4FDD\u6E2912\u5C0F\u65F6"}},{uuid:"06388578-b39b-4ff3-4438-f16a0e9bb1e3",type:"Prompter",start:11e3,end:13e3,parsed:!1,data:{text:"\u8BA9\u4F60\u968F\u65F6\u6709\u6E29\u6C34\u5165\u8179"}},{uuid:"afcf6cbe-1031-4d99-c6cc-e39e6710c793",type:"Prompter",start:13700,end:16e3,parsed:!1,data:{text:"\u5168\u5BB6\u4EBA\u5BF9\u6C34\u6E29\u8981\u6C42\u4E0D\u540C\uFF0C\u8981\u7528\u6E29\u6C34\u7ED9\u5B69\u5B50\u51B2\u5976"}},{uuid:"4e4d486c-fb1a-40f0-62a4-bc87eb3874e5",type:"Prompter",start:16900,end:18700,parsed:!1,data:{text:"\u5988\u5988\u7231\u559D\u7684\u7EA2\u8336\u8981\u7528100\u5EA6\u6CB8\u6C34"}},{uuid:"c0dd2571-cb53-4461-d441-53d9876d910a",type:"Prompter",start:19300,end:21800,parsed:!1,data:{text:"\u8FD9\u6B3E\u8336\u5427\u673A\u53EF\u7CBE\u51C6\u63A7\u6E29\u6EE1\u8DB3\u5168\u5BB6\u9700\u6C42"}},{uuid:"90e43160-9217-480a-9c14-065cbace760e",type:"Prompter",start:22500,end:26200,parsed:!1,data:{text:"\u4E0A\u7F6E\u50A8\u7269\u67DC\u53EF\u6536\u7EB3\u8336\u5177\u8336\u53F6\uFF0C\u4E0B\u7F6E\u6C34\u6876\u6362\u6C34\u4E0D\u8D39\u529B"}},{uuid:"e8100e08-ec75-4716-4d3a-ba00999e19ec",type:"PanoTextLabel",start:22417,end:24245,parsed:!1,data:{text:"\u4E0A\u7F6E\u50A8\u7269\u67DC",vertex:{x:-1.2920994585621808,y:.6039590569616649,z:-3.591666936874389},fontSize:14}},{uuid:"a1f330ab-1b9c-4e7a-701c-c82cf7df2af7",type:"PanoTextLabel",start:25e3,end:26245,parsed:!1,data:{text:"\u4E0B\u7F6E\u6C34\u6876",vertex:{x:-1.2948739014345394,y:.3495986970932401,z:-3.5916669368743896},fontSize:14}},{type:"PanoTag",start:8e3,end:10500,parsed:!1,data:{imgUrl:"https://vrlab-public.ljcdn.com/release/seesay/tools/Screenshot_20220527220803031_com.jingdong.app.mall____d9f902ea827338a07f57788b831c3552.png",text:"12\u5C0F\u65F6\u4FDD\u6E29\u76D8",vertex:{x:-.8666686085208133,y:.8402865638657824,z:-3.817708370830488},type:"Text"}},{uuid:"c560e0e0-4f42-4100-cae1-8c871034a4e4",type:"PanoTag",start:2e4,end:22500,parsed:!1,data:{text:"\u516D\u6863\u7CBE\u51C6\u63A7\u6E29",vertex:{x:-.9753990782354569,y:.7787579222747523,z:-3.5962710380554204},type:"Text"}}]};function x(){const e=d.exports.useRef(),c=i(),[t,r]=d.exports.useState("notReady");return d.exports.useEffect(()=>{if(e.current)return;const u=new p(c);e.current=u,r("ready"),u.on("paused",()=>r("paused")),u.on("playing",()=>r("playing")),Object.assign(window,{$player:u})},[]),a("div",{className:"btns",children:a("button",{onClick:async()=>{var u,s,n,o;t==="ready"&&((u=e.current)==null||u.show(),await((s=e.current)==null?void 0:s.load(C))),t!=="playing"?(n=e.current)==null||n.play():(o=e.current)==null||o.pause()},disabled:t==="notReady",children:t!=="playing"?"\u64AD\u653E":"\u6682\u505C"})})}const B={imageOptions:{size:1024},textureOptions:{size:64},onlyRenderIfNeeds:!0,antialias:!1,model:{},plugins:[]},m=f(B);l.render(a(d.exports.StrictMode,{children:E(m,{initialWork:y(F),ref:e=>Object.assign(window,{$five:e==null?void 0:e.five}),children:[a(b,{}),a(x,{})]})}),document.getElementById("root"));
@@ -1,4 +1,4 @@
1
- import{r as f,a as u,j as c,C as E,V as A,R as S,t as z,b as l,d as B,c as q,p as M}from"./default.63925584.js";import{R}from"./index.7e31122c.js";import{V as N,A as Q}from"./AppReact.d0ee843a.js";const P={_signature:"FHtoUKA5slbYyf1sQkPtEhQEkWqu4eYAr/DQVCXi8WCP6U6MZ1LNaHFogorFDzsV7EXsFweVOzf7CL5AY/ckfyaBXdFzPWEpdG6/ycsZcdO8tOVHb+vtn90BZHtNRkoxxv/J2yjqZOdy0cb9Zyj0Ux54JeBNVennWFhf69cd6+w=",allow_hosts:["*"],base_url:"https://vrlab-public.ljcdn.com/release/auto3dhd/c6756c0c2ee42b76c8a958ef5ee7abc4/",certificate:`-----BEGIN CERTIFICATE-----
1
+ import{r as f,a as u,j as c,C as E,V as A,R as S,t as z,b as l,d as B,c as q,p as M}from"./default.3cc022d8.js";import{R}from"./index.9a1e2626.js";import{V as N,A as Q}from"./AppReact.af796f8b.js";const P={_signature:"FHtoUKA5slbYyf1sQkPtEhQEkWqu4eYAr/DQVCXi8WCP6U6MZ1LNaHFogorFDzsV7EXsFweVOzf7CL5AY/ckfyaBXdFzPWEpdG6/ycsZcdO8tOVHb+vtn90BZHtNRkoxxv/J2yjqZOdy0cb9Zyj0Ux54JeBNVennWFhf69cd6+w=",allow_hosts:["*"],base_url:"https://vrlab-public.ljcdn.com/release/auto3dhd/c6756c0c2ee42b76c8a958ef5ee7abc4/",certificate:`-----BEGIN CERTIFICATE-----
2
2
  MIIEMzCCAhsCCQDYAS/7ATZRmTANBgkqhkiG9w0BAQsFADCBkzELMAkGA1UEBhMC
3
3
  Q04xEDAOBgNVBAgMB0JlaWppbmcxEDAOBgNVBAcMB0JlaWppbmcxFDASBgNVBAoM
4
4
  C2xpYW5qaWEuY29tMRAwDgYDVQQLDAdSZWFsc2VlMREwDwYDVQQDDAhIYXJkd2Fy
@@ -5,8 +5,8 @@
5
5
  <link href="//realsee.com/favicon.ico" type="image/x-icon" rel="icon" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>@realsee/vreo - Player -- DEBUG --</title>
8
- <script type="module" crossorigin src="./assets/examples.3d8323db.js"></script>
9
- <link rel="modulepreload" href="./assets/default.63925584.js">
8
+ <script type="module" crossorigin src="./assets/examples.2f3e9989.js"></script>
9
+ <link rel="modulepreload" href="./assets/default.3cc022d8.js">
10
10
  <link rel="stylesheet" href="./assets/default.f3f3ca8c.css">
11
11
  <link rel="stylesheet" href="./assets/examples.dac4a6fe.css">
12
12
  </head>
@@ -5,11 +5,11 @@
5
5
  <link href="//realsee.com/favicon.ico" type="image/x-icon" rel="icon" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>@realsee/vreo - Player -- DEBUG --</title>
8
- <script type="module" crossorigin src="./assets/dynamic.76506c2c.js"></script>
9
- <link rel="modulepreload" href="./assets/default.63925584.js">
8
+ <script type="module" crossorigin src="./assets/dynamic.f0c02245.js"></script>
9
+ <link rel="modulepreload" href="./assets/default.3cc022d8.js">
10
10
  <link rel="modulepreload" href="./assets/znRoyv06SZQeqA7m.0057e8ae.js">
11
- <link rel="modulepreload" href="./assets/index.7e31122c.js">
12
- <link rel="modulepreload" href="./assets/AppReact.d0ee843a.js">
11
+ <link rel="modulepreload" href="./assets/index.9a1e2626.js">
12
+ <link rel="modulepreload" href="./assets/AppReact.af796f8b.js">
13
13
  <link rel="stylesheet" href="./assets/default.f3f3ca8c.css">
14
14
  <link rel="stylesheet" href="./assets/index.9331038f.css">
15
15
  </head>
@@ -5,10 +5,10 @@
5
5
  <link href="//realsee.com/favicon.ico" type="image/x-icon" rel="icon" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>@realsee/vreo - Player -- DEBUG --</title>
8
- <script type="module" crossorigin src="./assets/react.c1c07c14.js"></script>
9
- <link rel="modulepreload" href="./assets/default.63925584.js">
10
- <link rel="modulepreload" href="./assets/index.7e31122c.js">
11
- <link rel="modulepreload" href="./assets/AppReact.d0ee843a.js">
8
+ <script type="module" crossorigin src="./assets/react.6dba1116.js"></script>
9
+ <link rel="modulepreload" href="./assets/default.3cc022d8.js">
10
+ <link rel="modulepreload" href="./assets/index.9a1e2626.js">
11
+ <link rel="modulepreload" href="./assets/AppReact.af796f8b.js">
12
12
  <link rel="stylesheet" href="./assets/default.f3f3ca8c.css">
13
13
  <link rel="stylesheet" href="./assets/index.9331038f.css">
14
14
  <link rel="stylesheet" href="./assets/react.2ee8565f.css">
@@ -5,10 +5,10 @@
5
5
  <link href="//realsee.com/favicon.ico" type="image/x-icon" rel="icon" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>@realsee/vreo - Player -- DEBUG --</title>
8
- <script type="module" crossorigin src="./assets/main.79b11b9d.js"></script>
9
- <link rel="modulepreload" href="./assets/default.63925584.js">
8
+ <script type="module" crossorigin src="./assets/main.8bd82ead.js"></script>
9
+ <link rel="modulepreload" href="./assets/default.3cc022d8.js">
10
10
  <link rel="modulepreload" href="./assets/znRoyv06SZQeqA7m.0057e8ae.js">
11
- <link rel="modulepreload" href="./assets/index.7e31122c.js">
11
+ <link rel="modulepreload" href="./assets/index.9a1e2626.js">
12
12
  <link rel="stylesheet" href="./assets/default.f3f3ca8c.css">
13
13
  <link rel="stylesheet" href="./assets/index.9331038f.css">
14
14
  </head>
@@ -1 +1 @@
1
- <!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>InfoPanelStyleEnum | Vreo</title><meta name="description" content="Documentation for Vreo"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Vreo</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">Vreo</a></li><li><a href="../modules/Player.html">Player</a></li><li><a href="Player.InfoPanelStyleEnum.html">InfoPanelStyleEnum</a></li></ul><h1>Enumeration InfoPanelStyleEnum </h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Enumeration members</h3><ul class="tsd-index-list"><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="Player.InfoPanelStyleEnum.html#Drawer" class="tsd-kind-icon">Drawer</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="Player.InfoPanelStyleEnum.html#PopUp" class="tsd-kind-icon">Pop<wbr/>Up</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Enumeration members</h2><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="Drawer" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Drawer<a href="#Drawer" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Drawer<span class="tsd-signature-symbol"> = &quot;Drawer&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/realsee-developer/vreo/blob/4305077/resources/typings/VreoUnit.ts#L278">resources/typings/VreoUnit.ts:278</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="PopUp" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Pop<wbr/>Up<a href="#PopUp" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Pop<wbr/>Up<span class="tsd-signature-symbol"> = &quot;PopUp&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/realsee-developer/vreo/blob/4305077/resources/typings/VreoUnit.ts#L279">resources/typings/VreoUnit.ts:279</a></li></ul></aside></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Modules</a></li><li class="current tsd-kind-module"><a href="../modules/Player.html">Player</a></li><li class=" tsd-kind-module"><a href="../modules/custom.html">custom</a></li><li class=" tsd-kind-module"><a href="../modules/fivePlugins.html">five<wbr/>Plugins</a></li><li class=" tsd-kind-module"><a href="../modules/react.html">react</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-enum tsd-parent-kind-module"><a href="Player.InfoPanelStyleEnum.html" class="tsd-kind-icon">Info<wbr/>Panel<wbr/>Style<wbr/>Enum</a><ul><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="Player.InfoPanelStyleEnum.html#Drawer" class="tsd-kind-icon">Drawer</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="Player.InfoPanelStyleEnum.html#PopUp" class="tsd-kind-icon">Pop<wbr/>Up</a></li></ul></li></ul></nav></div></div></div><footer class=""><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li><li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li><li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li><li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="overlay"></div><script src="../assets/main.js"></script></body></html>
1
+ <!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>InfoPanelStyleEnum | Vreo</title><meta name="description" content="Documentation for Vreo"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Vreo</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">Vreo</a></li><li><a href="../modules/Player.html">Player</a></li><li><a href="Player.InfoPanelStyleEnum.html">InfoPanelStyleEnum</a></li></ul><h1>Enumeration InfoPanelStyleEnum </h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Enumeration members</h3><ul class="tsd-index-list"><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="Player.InfoPanelStyleEnum.html#Drawer" class="tsd-kind-icon">Drawer</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="Player.InfoPanelStyleEnum.html#PopUp" class="tsd-kind-icon">Pop<wbr/>Up</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Enumeration members</h2><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="Drawer" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Drawer<a href="#Drawer" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Drawer<span class="tsd-signature-symbol"> = &quot;Drawer&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/realsee-developer/vreo/blob/2cfeec4/resources/typings/VreoUnit.ts#L278">resources/typings/VreoUnit.ts:278</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="PopUp" class="tsd-anchor"></a><h3 class="tsd-anchor-link">Pop<wbr/>Up<a href="#PopUp" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">Pop<wbr/>Up<span class="tsd-signature-symbol"> = &quot;PopUp&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/realsee-developer/vreo/blob/2cfeec4/resources/typings/VreoUnit.ts#L279">resources/typings/VreoUnit.ts:279</a></li></ul></aside></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Modules</a></li><li class="current tsd-kind-module"><a href="../modules/Player.html">Player</a></li><li class=" tsd-kind-module"><a href="../modules/custom.html">custom</a></li><li class=" tsd-kind-module"><a href="../modules/fivePlugins.html">five<wbr/>Plugins</a></li><li class=" tsd-kind-module"><a href="../modules/react.html">react</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-enum tsd-parent-kind-module"><a href="Player.InfoPanelStyleEnum.html" class="tsd-kind-icon">Info<wbr/>Panel<wbr/>Style<wbr/>Enum</a><ul><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="Player.InfoPanelStyleEnum.html#Drawer" class="tsd-kind-icon">Drawer</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="Player.InfoPanelStyleEnum.html#PopUp" class="tsd-kind-icon">Pop<wbr/>Up</a></li></ul></li></ul></nav></div></div></div><footer class=""><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li><li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li><li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li><li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="overlay"></div><script src="../assets/main.js"></script></body></html>