dualsense-ts 5.2.3 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hid/hid_provider.d.ts +6 -2
- package/dist/hid/hid_provider.d.ts.map +1 -1
- package/dist/hid/hid_provider.js +4 -2
- package/dist/hid/hid_provider.js.map +1 -1
- package/dist/hid/node_hid_provider.d.ts +1 -0
- package/dist/hid/node_hid_provider.d.ts.map +1 -1
- package/dist/hid/node_hid_provider.js +4 -1
- package/dist/hid/node_hid_provider.js.map +1 -1
- package/dist/hid/web_hid_provider.d.ts +1 -0
- package/dist/hid/web_hid_provider.d.ts.map +1 -1
- package/dist/hid/web_hid_provider.js +6 -2
- package/dist/hid/web_hid_provider.js.map +1 -1
- package/package.json +1 -1
- package/src/hid/hid_provider.ts +10 -4
- package/src/hid/node_hid_provider.ts +7 -1
- package/src/hid/web_hid_provider.ts +9 -2
- package/webhid_example/build/asset-manifest.json +27 -17
- package/webhid_example/build/index.html +1 -1
- package/webhid_example/build/static/css/main.237f8cfa.css +2 -0
- package/webhid_example/build/static/css/main.237f8cfa.css.map +1 -0
- package/webhid_example/build/static/js/blueprint-icons-16px-paths.0c2662b2.chunk.js +2 -0
- package/webhid_example/build/static/js/blueprint-icons-16px-paths.0c2662b2.chunk.js.map +1 -0
- package/webhid_example/build/static/js/blueprint-icons-20px-paths.e0ebc028.chunk.js +2 -0
- package/webhid_example/build/static/js/blueprint-icons-20px-paths.e0ebc028.chunk.js.map +1 -0
- package/webhid_example/build/static/js/blueprint-icons-all-paths-loader.53883a20.chunk.js +2 -0
- package/webhid_example/build/static/js/blueprint-icons-all-paths-loader.53883a20.chunk.js.map +1 -0
- package/webhid_example/build/static/js/blueprint-icons-all-paths.e643b2c5.chunk.js +2 -0
- package/webhid_example/build/static/js/blueprint-icons-all-paths.e643b2c5.chunk.js.map +1 -0
- package/webhid_example/build/static/js/blueprint-icons-split-paths-by-size-loader.6d8a31ce.chunk.js +2 -0
- package/webhid_example/build/static/js/blueprint-icons-split-paths-by-size-loader.6d8a31ce.chunk.js.map +1 -0
- package/webhid_example/build/static/js/main.38a225bc.js +3 -0
- package/webhid_example/build/static/js/{main.5428c4b5.js.LICENSE.txt → main.38a225bc.js.LICENSE.txt} +0 -23
- package/webhid_example/build/static/js/main.38a225bc.js.map +1 -0
- package/webhid_example/package.json +2 -20
- package/webhid_example/public/index.html +2 -2
- package/webhid_example/src/App.tsx +7 -2
- package/webhid_example/src/hud/Debugger.tsx +124 -0
- package/webhid_example/src/hud/HUDLayout.tsx +14 -0
- package/webhid_example/src/hud/index.tsx +2 -0
- package/webhid_example/build/static/css/main.6dc04a6e.css +0 -2
- package/webhid_example/build/static/css/main.6dc04a6e.css.map +0 -1
- package/webhid_example/build/static/js/main.5428c4b5.js +0 -3
- package/webhid_example/build/static/js/main.5428c4b5.js.map +0 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! For license information please see main.38a225bc.js.LICENSE.txt */
|
|
2
|
+
(()=>{var e={9287:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BasicComparator=t.ThresholdComparator=t.VirtualComparator=void 0,t.VirtualComparator=function(){return!0},t.ThresholdComparator=function(e,t,n,r){if("number"!==typeof n||"number"!==typeof r)throw new Error("Bad threshold comparison");return Math.abs(n-r)>e&&(Math.abs(r)>t||Math.abs(n)>t)},t.BasicComparator=function(e,t){return e!==t}},5948:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dualsense=void 0;const r=n(8656),o=n(6592),a=n(2364);class i extends o.Input{get active(){return Object.values(this).some((e=>e!==this&&e instanceof o.Input&&e.active))}constructor(){var e,t,n,i,l,s,u,c,d,f,p,h,m,v;let g=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(g),this.state=this,this.ps=new r.Momentary({icon:"\u33b0",name:"Home",...null!==(e=g.ps)&&void 0!==e?e:{}}),this.mute=new r.Mute({icon:"\ud83d\udd69",name:"Mute",...null!==(t=g.mute)&&void 0!==t?t:{}}),this.options=new r.Momentary({icon:"\u22ef",name:"Options",...null!==(n=g.options)&&void 0!==n?n:{}}),this.create=new r.Momentary({icon:"\ud83d\udd89",name:"Create",...null!==(i=g.create)&&void 0!==i?i:{}}),this.triangle=new r.Momentary({icon:"\ud83d\udfd5",name:"Triangle",...null!==(l=g.triangle)&&void 0!==l?l:{}}),this.circle=new r.Momentary({icon:"\u229a",name:"Circle",...null!==(s=g.circle)&&void 0!==s?s:{}}),this.cross=new r.Momentary({icon:"\u2bbf",name:"Cross",...null!==(u=g.cross)&&void 0!==u?u:{}}),this.square=new r.Momentary({icon:"\ud83d\udfd7",name:"Square",...null!==(c=g.square)&&void 0!==c?c:{}}),this.dpad=new r.Dpad({icon:"D",name:"D-pad",...null!==(d=g.dpad)&&void 0!==d?d:{}}),this.left=new r.Unisense({icon:"L",name:"Left",...null!==(f=g.left)&&void 0!==f?f:{}}),this.right=new r.Unisense({icon:"R",name:"Right",...null!==(p=g.right)&&void 0!==p?p:{}}),this.touchpad=new r.Touchpad({icon:"\u239a",name:"Touchpad",...null!==(h=g.touchpad)&&void 0!==h?h:{}}),this.connection=new r.Momentary({icon:"\ud83d\udd17",name:"Connected",...null!==(m=g.square)&&void 0!==m?m:{}}),this.connection[o.InputSet](!1),this.hid=null!==(v=g.hid)&&void 0!==v?v:new a.DualsenseHID(new a.PlatformHIDProvider),this.hid.register((e=>{this.processHID(e)})),setInterval((()=>{const{provider:{connected:e}}=this.hid;this.connection[o.InputSet](e),e||this.hid.provider.connect()}),200);const y={left:-1,right:-1};setInterval((()=>{const e=this.left.rumble(),t=this.right.rumble();!this.connection.active||e===y.left&&t===y.right||(this.hid.setRumble(255*e,255*t),y.left=e,y.right=t)}),1e3/30)}get rumbleIntensity(){return(this.left.rumble()+this.right.rumble())/2}rumble(e){return this.left.rumble(e),this.right.rumble(e),this.rumbleIntensity}processHID(e){this.ps[o.InputSet](e.Playstation),this.options[o.InputSet](e.Options),this.create[o.InputSet](e.Create),this.mute[o.InputSet](e.Mute),this.mute.status[o.InputSet](e.Status),this.triangle[o.InputSet](e.Triangle),this.circle[o.InputSet](e.Circle),this.cross[o.InputSet](e.Cross),this.square[o.InputSet](e.Square),this.dpad.up[o.InputSet](e.Up),this.dpad.down[o.InputSet](e.Down),this.dpad.right[o.InputSet](e.Right),this.dpad.left[o.InputSet](e.Left),this.touchpad.button[o.InputSet](e.TouchButton),this.touchpad.left.x[o.InputSet](e.TouchX0),this.touchpad.left.y[o.InputSet](e.TouchY0),this.touchpad.left.contact[o.InputSet](e.TouchContact0),this.touchpad.left.tracker[o.InputSet](e.TouchId0),this.touchpad.right.x[o.InputSet](e.TouchX1),this.touchpad.right.y[o.InputSet](e.TouchY1),this.touchpad.right.contact[o.InputSet](e.TouchContact1),this.touchpad.right.tracker[o.InputSet](e.TouchId1),this.left.analog.x[o.InputSet](e.LX),this.left.analog.y[o.InputSet](e.LY),this.left.bumper[o.InputSet](e.L1),this.left.trigger[o.InputSet](e.L2),this.left.trigger.button[o.InputSet](e.L2Button),this.right.analog.x[o.InputSet](e.RX),this.right.analog.y[o.InputSet](e.RY),this.right.bumper[o.InputSet](e.R1),this.right.trigger[o.InputSet](e.R2),this.right.trigger.button[o.InputSet](e.R2Button)}}t.Dualsense=i},419:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Accelerometer=void 0;const r=n(6592);class o extends r.Input{constructor(){super(...arguments),this.state=!1,this.active=!1}}t.Accelerometer=o},6008:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Analog=void 0;const r=n(2897),o=n(9199),a=n(6592);class i extends a.Input{constructor(e){super(e),this.state=this,this.deadzone=.05;const{button:t,x:n,y:a,deadzone:i}=null!==e&&void 0!==e?e:{};i&&(this.deadzone=i),this.button=new o.Momentary({icon:"3",name:"Button",...t}),this.x=new r.Axis({icon:"\u2194",name:"X",...e,...n}),this.y=new r.Axis({icon:"\u2195",name:"Y",...e,...a})}get active(){return this.magnitude>0||this.button.active}get vector(){return{direction:this.direction,magnitude:this.magnitude}}get force(){return Math.max(Math.min(Math.hypot(this.x.force,this.y.force),1),-1)}get magnitude(){const e=Math.abs(this.force);return e<this.deadzone?0:(e-this.deadzone)/(1-this.deadzone)}get direction(){return Math.atan2(this.y.force,this.x.force)}get radians(){return this.direction}get angle(){return this.direction}get directionDegrees(){return 180*this.direction/Math.PI}get degrees(){return this.directionDegrees}get angleDegrees(){return this.directionDegrees}}t.Analog=i},2897:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Axis=void 0;const r=n(6592);class o extends r.Input{constructor(e){super(e),this.state=0,this.deadzone=.05;const{deadzone:t}=null!==e&&void 0!==e?e:{};t&&(this.deadzone=t)}get active(){return Math.abs(this.state)>this.deadzone}get force(){return this.active?this.state:0}get magnitude(){const e=Math.abs(this.force);return e<this.deadzone?0:(e-this.deadzone)/(1-this.deadzone)}}t.Axis=o},9254:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dpad=void 0;const r=n(9199),o=n(6592);class a extends o.Input{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(e),this.state=this;const{up:t,down:n,left:o,right:a}=e;this.up=new r.Momentary({icon:"\u2b89",name:"Up",...null!==t&&void 0!==t?t:{}}),this.down=new r.Momentary({icon:"\u2b8b",name:"Down",...null!==n&&void 0!==n?n:{}}),this.left=new r.Momentary({icon:"\u2b88",name:"Left",...null!==o&&void 0!==o?o:{}}),this.right=new r.Momentary({icon:"\u2b8a",name:"Right",...null!==a&&void 0!==a?a:{}})}get active(){return this.up.active||this.down.active||this.left.active||this.right.active}}t.Dpad=a},8905:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Gyroscope=void 0;const r=n(6592);class o extends r.Input{constructor(){super(...arguments),this.state=!1,this.active=!1}}t.Gyroscope=o},4757:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Increment=void 0;const r=n(6592);class o extends r.Input{constructor(){super(...arguments),this.state=0,this.active=!1}}t.Increment=o},8656:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(419),t),o(n(6008),t),o(n(2897),t),o(n(9254),t),o(n(8905),t),o(n(4757),t),o(n(9199),t),o(n(4299),t),o(n(4642),t),o(n(5461),t),o(n(9475),t),o(n(8482),t),o(n(9792),t)},9199:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Momentary=void 0;const r=n(6592);class o extends r.Input{constructor(){super(...arguments),this.state=!1}get active(){return this.state}}t.Momentary=o},4299:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Motion=void 0;const r=n(8905),o=n(419);t.Motion=class{constructor(){this.gyroscope=new r.Gyroscope,this.accelerometer=new o.Accelerometer}}},4642:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Mute=void 0;const r=n(9199);class o extends r.Momentary{constructor(){super(...arguments),this.indicator={},this.status=new r.Momentary({icon:"!",name:"Status"})}}t.Mute=o},5461:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Touch=void 0;const r=n(6008),o=n(4757);class a extends r.Analog{constructor(){super(...arguments),this.state=this,this.contact=this.button,this.tracker=new o.Increment,this.deadzone=0}get active(){return this.contact.active}}t.Touch=a},9475:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Touchpad=void 0;const r=n(9199),o=n(5461),a=n(6592);class i extends a.Input{get active(){return this.left.contact.active}constructor(e){super(e),this.state=this,this.button=new r.Momentary({icon:"[__]"}),this.left=new o.Touch,this.right=new o.Touch}}t.Touchpad=i},8482:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Trigger=void 0;const r=n(6592),o=n(9199);class a extends r.Input{constructor(){super(...arguments),this.state=0,this.button=new o.Momentary}get active(){return this.state>0}get pressure(){return this.state}get magnitude(){return this.state}changes(e){return this.state!==e}}t.Trigger=a},9792:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Unisense=void 0;const r=n(8482),o=n(9199),a=n(6008),i=n(6592);class l extends i.Input{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(e),this.state=this,this.rumbleIntensity=0;const{trigger:t,bumper:n,analog:i}=e;this.trigger=new r.Trigger({icon:"2",name:"Trigger",threshold:1/255,...t}),this.bumper=new o.Momentary({icon:"1",name:"Bumper",...n}),this.analog=new a.Analog({icon:"\u2a01",name:"Analog",threshold:1/128,deadzone:8/128,...i})}rumble(e){return"number"===typeof e&&(this.rumbleIntensity=Math.max(Math.min(e,1),0)),!1===e&&(this.rumbleIntensity=0),!0===e&&(this.rumbleIntensity=1),this.rumbleIntensity}get active(){return this.trigger.active||this.bumper.active||this.analog.active}}t.Unisense=l},7974:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},2139:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DualsenseHID=void 0;class n{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:30;this.provider=e,this.subscribers=new Set,this.errorSubscribers=new Set,this.pendingCommands=[],this.state={LX:0,LY:0,RX:0,RY:0,L2:0,R2:0,Triangle:!1,Circle:!1,Cross:!1,Square:!1,Dpad:0,Up:!1,Down:!1,Left:!1,Right:!1,R3:!1,L3:!1,Options:!1,Create:!1,R2Button:!1,L2Button:!1,R1:!1,L1:!1,Playstation:!1,TouchButton:!1,Mute:!1,Status:!1,TouchX0:0,TouchY0:0,TouchContact0:!1,TouchId0:0,TouchX1:0,TouchY1:0,TouchContact1:!1,TouchId1:0,GyroX:0,GyroY:0,GyroZ:0,AccelX:0,AccelY:0,AccelZ:0},e.onData=this.set.bind(this),e.onError=this.handleError.bind(this),setInterval((()=>{this.pendingCommands.length>0&&(async()=>{const t=[...this.pendingCommands];this.pendingCommands=[],await e.write(n.buildFeatureReport(t))})().catch((e=>{this.handleError(new Error("HID write failed: ".concat(JSON.stringify(e))))}))}),1e3/t)}register(e){this.subscribers.add(e)}unregister(e){this.subscribers.delete(e)}on(e,t){"error"===e&&this.errorSubscribers.add(t)}set(e){this.state=e,this.subscribers.forEach((t=>t(e)))}handleError(e){this.errorSubscribers.forEach((t=>t(e)))}static buildFeatureReport(e){const t=new Uint8Array(46).fill(0);return t[0]=2,t[1]=e.filter((e=>{let{scope:{index:t}}=e;return 1===t})).reduce(((e,t)=>{let{scope:{value:n}}=t;return e|n}),0),t[2]=e.filter((e=>{let{scope:{index:t}}=e;return 2===t})).reduce(((e,t)=>{let{scope:{value:n}}=t;return e|n}),0),e.forEach((e=>{let{values:n}=e;n.forEach((e=>{let{index:n,value:r}=e;t[n]=r}))})),t}setRumble(e,t){this.pendingCommands.push({scope:{index:1,value:3},values:[{index:3,value:t},{index:4,value:e}]}),this.pendingCommands.push({scope:{index:2,value:64},values:[]})}setLeftTriggerFeedback(e,t){this.pendingCommands.push({scope:{index:1,value:8},values:[{index:22,value:e},...t.map(((e,t)=>({index:23+t,value:e})))]})}setRightTriggerFeedback(e,t){this.pendingCommands.push({scope:{index:1,value:4},values:[{index:11,value:e},...t.map(((e,t)=>({index:12+t,value:e})))]})}setMicrophoneLED(e){this.pendingCommands.push({scope:{index:2,value:1},values:[{index:9,value:e}]})}setPlayerId(e){this.pendingCommands.push({scope:{index:2,value:16},values:[{index:44,value:e}]})}}t.DualsenseHID=n},1492:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.HIDProvider=t.mapTrigger=t.mapAxis=void 0,o(n(3744),t),t.mapAxis=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:255;return 2/t*Math.max(0,Math.min(t,e))-1},t.mapTrigger=function(e){return 1/255*Math.max(0,Math.min(255,e))};class a{constructor(){this.onData=()=>{},this.onError=()=>{},this.reportOffset=0}setWireless(){this.wireless=!0}setWired(){this.wireless=!1}}t.HIDProvider=a,a.vendorId=1356,a.productId=3302},2364:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(7974),t),o(n(2139),t),o(n(1492),t),o(n(3990),t),o(n(5311),t),o(n(6268),t)},3990:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.NodeHIDProvider=void 0;const i=n(1492);class l extends i.HIDProvider{constructor(){super(...arguments),this.wireless=!1}async connect(){return"undefined"!==typeof window?this.onError(new Error("Attempted to use node-hid in browser environment")):Promise.resolve().then((()=>a(n(5078)))).then((e=>{let{HID:t,devices:n}=e;this.disconnect();const r=n(i.HIDProvider.vendorId,i.HIDProvider.productId);if(0===r.length||!r[0].path)return this.onError(new Error("No controllers (".concat(n().length," other devices)")));-1===r[0].interface&&(this.wireless=!0);const o=new t(r[0].path);o.on("data",(e=>{this.buffer=e,this.onData(this.process(e))})),o.on("error",(e=>{this.onError(e)})),this.device=o})).catch((e=>{this.onError(new Error("Could not import 'node-hid'. Did you add it?\nError: ".concat(e instanceof Error?e.message:"???")))}))}write(e){return this.device?(this.device.write(Array.from(e)),Promise.resolve()):Promise.resolve()}get connected(){return void 0!==this.device}disconnect(){this.device&&(this.device.removeAllListeners(),this.device.close(),this.device=void 0,this.wireless=!1),this.buffer=void 0}process(e){const t=(this.wireless?2:1)+this.reportOffset,n=e.subarray(t<0?0:t),r=n.readUint8(7),o=n.readUint8(8),a=n.readUint8(9),l=r<<4>>4;return{LX:(0,i.mapAxis)(n.readUint8(0)),LY:-(0,i.mapAxis)(n.readUint8(1)),RX:(0,i.mapAxis)(n.readUint8(2)),RY:-(0,i.mapAxis)(n.readUint8(3)),L2:(0,i.mapTrigger)(n.readUint8(4)),R2:(0,i.mapTrigger)(n.readUint8(5)),Triangle:(128&r)>0,Circle:(64&r)>0,Cross:(32&r)>0,Square:(16&r)>0,Dpad:l,Up:l<2||7===l,Down:l>2&&l<6,Left:l>4&&l<8,Right:l>0&&l<4,L2Button:(4&o)>0,R2Button:(8&o)>0,L1:(1&o)>0,R1:(2&o)>0,Create:(16&o)>0,Options:(32&o)>0,L3:(64&o)>0,R3:(128&o)>0,Playstation:(1&a)>0,TouchButton:(2&a)>0,Mute:(4&a)>0,GyroX:n.readUint16LE(15),GyroY:n.readUint16LE(17),GyroZ:n.readUint16LE(19),AccelX:n.readUint16LE(21),AccelY:n.readUint16LE(23),AccelZ:n.readUint16LE(25),TouchId0:127&n.readUint8(32),TouchContact0:0===(128&n.readUint8(32)),TouchX0:(0,i.mapAxis)(n.readUint16LE(33)<<20>>20,1920),TouchY0:(0,i.mapAxis)(n.readUint16LE(34)>>4,1080),TouchId1:127&n.readUint8(36),TouchContact1:0===(128&n.readUint8(36)),TouchX1:(0,i.mapAxis)(n.readUint16LE(37)<<20>>20,1920),TouchY1:(0,i.mapAxis)(n.readUint16LE(38)>>4,1080),Status:(4&n.readUint8(53))>0}}}t.NodeHIDProvider=l},5311:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PlatformHIDProvider=void 0;const r=n(3990),o=n(6268);t.PlatformHIDProvider="undefined"===typeof window?r.NodeHIDProvider:o.WebHIDProvider},6268:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebHIDProvider=void 0;const r=n(1492);class o extends r.HIDProvider{constructor(){if(super(),this.wireless=!0,!navigator.hid)throw new Error("WebHID not supported by this browser");navigator.hid.addEventListener("disconnect",(e=>{let{device:t}=e;t===this.device&&(this.device=void 0),this.buffer=void 0})),navigator.hid.addEventListener("connect",(e=>{let{device:t}=e;this.device||this.attach(t)}))}attach(e){e.open().then((()=>{this.device=e,this.device.addEventListener("inputreport",(e=>{let{data:t}=e;this.onData(this.process(t)),this.buffer=t}))})).catch((e=>{this.onError(e)}))}getRequest(){return()=>navigator.hid.requestDevice({filters:[{vendorId:r.HIDProvider.vendorId,productId:r.HIDProvider.productId}]}).then((e=>{if(0===e.length)return this.onError(new Error("No controllers available"));this.attach(e[0])})).catch((e=>{this.onError(e)}))}connect(){}get connected(){return void 0!==this.device}disconnect(){this.device&&this.device.close().finally((()=>{this.device=void 0,this.wireless=!1})),this.buffer=void 0}async write(e){if(this.device)return this.device.sendFeatureReport(0,e)}process(e){this.wireless=e.byteLength>70;const t=(this.wireless?1:0)+this.reportOffset,n=new DataView(e.buffer,t<0?0:t),o=n.getUint8(7),a=n.getUint8(8),i=n.getUint8(9),l=o<<4>>4;return{LX:(0,r.mapAxis)(n.getUint8(0)),LY:-(0,r.mapAxis)(n.getUint8(1)),RX:(0,r.mapAxis)(n.getUint8(2)),RY:-(0,r.mapAxis)(n.getUint8(3)),L2:(0,r.mapTrigger)(n.getUint8(4)),R2:(0,r.mapTrigger)(n.getUint8(5)),Triangle:(128&o)>0,Circle:(64&o)>0,Cross:(32&o)>0,Square:(16&o)>0,Dpad:l,Up:l<2||7===l,Down:l>2&&l<6,Left:l>4&&l<8,Right:l>0&&l<4,L2Button:(4&a)>0,R2Button:(8&a)>0,L1:(1&a)>0,R1:(2&a)>0,Create:(16&a)>0,Options:(32&a)>0,L3:(64&a)>0,R3:(128&a)>0,Playstation:(1&i)>0,TouchButton:(2&i)>0,Mute:(4&i)>0,GyroX:n.getUint16(15,!0),GyroY:n.getUint16(17,!0),GyroZ:n.getUint16(19,!0),AccelX:n.getUint16(21,!0),AccelY:n.getUint16(23,!0),AccelZ:n.getUint16(25,!0),TouchId0:127&n.getUint8(32),TouchContact0:0===(128&n.getUint8(32)),TouchX0:(0,r.mapAxis)(n.getUint16(33,!0)<<20>>20,1920),TouchY0:(0,r.mapAxis)(n.getUint16(34,!0)>>4,1080),TouchId1:127&n.getUint8(36),TouchContact1:0===(128&n.getUint8(36)),TouchX1:(0,r.mapAxis)(n.getUint16(37,!0)<<20>>20,1920),TouchY1:(0,r.mapAxis)(n.getUint16(38,!0)>>4,1080),Status:(4&n.getUint8(53))>0}}}t.WebHIDProvider=o},3744:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},3969:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(9287),t),o(n(5948),t),o(n(3744),t),o(n(6592),t),o(n(2431),t),o(n(8656),t),o(n(2364),t)},6592:(e,t,n)=>{"use strict";var r,o,a,i,l,s;Object.defineProperty(t,"__esModule",{value:!0}),t.Input=t.InputIcon=t.InputName=t.InputSet=t.InputSetComparator=void 0;const u=n(9287);t.InputSetComparator=Symbol("InputSetComparator"),t.InputSet=Symbol("InputSet"),t.InputName=Symbol("InputName"),t.InputIcon=Symbol("InputIcon");const c=Symbol("InputOns"),d=Symbol("InputOnces"),f=Symbol("InputAdopt"),p=Symbol("InputParents"),h=Symbol("InputComparator");class m{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.id="Unknown",this.threshold=0,this.deadzone=0,this[r]=new Map,this[o]=new Map,this[a]=u.BasicComparator,this[i]="Unknown Input",this[l]="???",this[s]=new Set;const{name:n,icon:c,threshold:d,deadzone:p}=e;n&&(this[t.InputName]=n),c&&(this[t.InputIcon]=c),d&&(this.threshold=d),p&&(this.deadzone=p),setTimeout((()=>{this[t.InputSetComparator](),Object.values(this).forEach((e=>{e!==this&&e instanceof m&&e[f](this)}))}))}on(e,t){const n=this[c].get(e);return n?(n.push(t),this):(this[c].set(e,[]),this.on(e,t))}once(e,t){const n=this[d].get(e);return n?(n.push(t),this):(this[d].set(e,[]),this.once(e,t))}emit(e,t){var n;(null!==(n=this[c].get(e))&&void 0!==n?n:[]).forEach((e=>{e(this,t)})),"input"!==e&&(this.emitOnce(e,t),this[p].forEach((n=>{n.emit(e,t)})))}emitOnce(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;const r=null!==(t=this[d].get(e))&&void 0!==t?t:[];this[d].set(e,[]),r.forEach((e=>{e(this,n)}))}addEventListener(e,t){let{once:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{once:!1};if(n){if("input"===e)throw new Error("Can't listen once to `input` events");return this.once(e,t)}return this.on(e,t)}next(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"change";return new Promise((t=>{this.once(e,(()=>{t({value:this,done:!1})}))}))}promise(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"change";return new Promise((t=>{this.once(e,(()=>t(this)))}))}toString(){return"".concat(this[t.InputIcon]," [").concat(this.active?"X":"_","]")}[(r=c,o=d,a=h,Symbol.asyncIterator)](){return this}[Symbol.toPrimitive](e){return"string"===e?String(this.state):"number"===typeof this.state?this.state:Number(this.state)}get[Symbol.toStringTag](){return this.toString()}[(i=t.InputName,l=t.InputIcon,s=p,f)](e){this[p].add(e)}[t.InputSetComparator](){"number"===typeof this.state?this[h]=u.ThresholdComparator.bind(this,this.threshold,this.deadzone):this.state instanceof m?this[h]=u.VirtualComparator:this[h]=u.BasicComparator}[t.InputSet](e){this[h](this.state,e)&&(this.state=e,this.emit("change",this),"boolean"===typeof e&&this.emit(e?"press":"release",this)),this.emit("input",this)}}t.Input=m},2431:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},5353:(e,t,n)=>{"use strict";var r;n.d(t,{J:()=>r}),function(e){e[e.STANDARD=16]="STANDARD",e[e.LARGE=20]="LARGE"}(r||(r={}))},1694:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var i=o.apply(null,n);i&&e.push(i)}}else if("object"===a){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var l in n)r.call(n,l)&&n[l]&&e.push(l)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},2110:(e,t,n)=>{"use strict";var r=n(8309),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var l=s(t),m=s(n),v=0;v<i.length;++v){var g=i[v];if(!a[g]&&(!r||!r[g])&&(!m||!m[g])&&(!l||!l[g])){var y=f(n,g);try{u(t,g,y)}catch(b){}}}}return t}},746:(e,t)=>{"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function S(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case a:case l:case i:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case v:case m:case s:return e;default:return t}}case o:return t}}}function k(e){return S(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=f,t.Fragment=a,t.Lazy=v,t.Memo=m,t.Portal=o,t.Profiler=l,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return k(e)||S(e)===c},t.isConcurrentMode=k,t.isContextConsumer=function(e){return S(e)===u},t.isContextProvider=function(e){return S(e)===s},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return S(e)===f},t.isFragment=function(e){return S(e)===a},t.isLazy=function(e){return S(e)===v},t.isMemo=function(e){return S(e)===m},t.isPortal=function(e){return S(e)===o},t.isProfiler=function(e){return S(e)===l},t.isStrictMode=function(e){return S(e)===i},t.isSuspense=function(e){return S(e)===p},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===a||e===d||e===l||e===i||e===p||e===h||"object"===typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===g)},t.typeOf=S},8309:(e,t,n)=>{"use strict";e.exports=n(746)},7254:(e,t,n)=>{"use strict";n.d(t,{B:()=>i});function r(e){return e.toLowerCase()}var o=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],a=/[^A-Z0-9]+/gi;function i(e,t){void 0===t&&(t={});for(var n=t.splitRegexp,i=void 0===n?o:n,s=t.stripRegexp,u=void 0===s?a:s,c=t.transform,d=void 0===c?r:c,f=t.delimiter,p=void 0===f?" ":f,h=l(l(e,i,"$1\0$2"),u,"\0"),m=0,v=h.length;"\0"===h.charAt(m);)m++;for(;"\0"===h.charAt(v-1);)v--;return h.slice(m,v).split("\0").map(d).join(p)}function l(e,t,n){return t instanceof RegExp?e.replace(t,n):t.reduce((function(e,t){return e.replace(t,n)}),e)}},5530:(e,t,n)=>{"use strict";n.d(t,{Ho:()=>i});var r=n(5971),o=n(7254);function a(e,t){var n=e.charAt(0),r=e.substr(1).toLowerCase();return t>0&&n>="0"&&n<="9"?"_"+n+r:""+n.toUpperCase()+r}function i(e,t){return void 0===t&&(t={}),(0,o.B)(e,(0,r.pi)({delimiter:"",transform:a},t))}},4463:(e,t,n)=>{"use strict";var r=n(2791),o=n(5296);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,l={};function s(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(l[e]=t,e=0;e<t.length;e++)i.add(t[e])}var c=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function m(e,t,n,r,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){v[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,n,r){var o=v.hasOwnProperty(t)?v[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(h,e)||!d.call(p,e)&&(f.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(g,y);v[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(g,y);v[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(g,y);v[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,S=Symbol.for("react.element"),k=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),P=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),O=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),L=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var N=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var D=Symbol.iterator;function M(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=D&&e[D]||e["@@iterator"])?e:null}var I,z=Object.assign;function F(e){if(void 0===I)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);I=t&&t[1]||""}return"\n"+I+e}var H=!1;function j(e,t){if(!e||H)return"";H=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&"string"===typeof u.stack){for(var o=u.stack.split("\n"),a=r.stack.split("\n"),i=o.length-1,l=a.length-1;1<=i&&0<=l&&o[i]!==a[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==a[l]){if(1!==i||1!==l)do{if(i--,0>--l||o[i]!==a[l]){var s="\n"+o[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=i&&0<=l);break}}}finally{H=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function U(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=j(e.type,!1);case 11:return e=j(e.type.render,!1);case 1:return e=j(e.type,!0);default:return""}}function B(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case C:return"Fragment";case k:return"Portal";case x:return"Profiler";case E:return"StrictMode";case R:return"Suspense";case O:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case P:return(e.displayName||"Context")+".Consumer";case _:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case A:return null!==(t=e.displayName||null)?t:B(e.type)||"Memo";case L:t=e._payload,e=e._init;try{return B(e(t))}catch(n){}}return null}function G(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return B(t);case 8:return t===E?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function V(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function $(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function K(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function q(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Y(e,t){var n=t.checked;return z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Q(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=V(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function X(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function Z(e,t){X(e,t);var n=V(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,V(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&q(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+V(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return z({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(te(n)){if(1<n.length)throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:V(n)}}function ae(e,t){var n=V(t.value),r=V(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function se(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ve(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ge=z({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ge[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(a(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function Se(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ke=null,Ce=null,Ee=null;function xe(e){if(e=wo(e)){if("function"!==typeof ke)throw Error(a(280));var t=e.stateNode;t&&(t=ko(t),ke(e.stateNode,e.type,t))}}function _e(e){Ce?Ee?Ee.push(e):Ee=[e]:Ce=e}function Pe(){if(Ce){var e=Ce,t=Ee;if(Ee=Ce=null,xe(e),t)for(e=0;e<t.length;e++)xe(t[e])}}function Te(e,t){return e(t)}function Re(){}var Oe=!1;function Ae(e,t,n){if(Oe)return e(t,n);Oe=!0;try{return Te(e,t,n)}finally{Oe=!1,(null!==Ce||null!==Ee)&&(Re(),Pe())}}function Le(e,t){var n=e.stateNode;if(null===n)return null;var r=ko(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(a(231,t,typeof n));return n}var Ne=!1;if(c)try{var De={};Object.defineProperty(De,"passive",{get:function(){Ne=!0}}),window.addEventListener("test",De,De),window.removeEventListener("test",De,De)}catch(ce){Ne=!1}function Me(e,t,n,r,o,a,i,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Ie=!1,ze=null,Fe=!1,He=null,je={onError:function(e){Ie=!0,ze=e}};function Ue(e,t,n,r,o,a,i,l,s){Ie=!1,ze=null,Me.apply(je,arguments)}function Be(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ge(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ve(e){if(Be(e)!==e)throw Error(a(188))}function We(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Be(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Ve(o),e;if(i===r)return Ve(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var l=!1,s=o.child;s;){if(s===n){l=!0,n=o,r=i;break}if(s===r){l=!0,r=o,n=i;break}s=s.sibling}if(!l){for(s=i.child;s;){if(s===n){l=!0,n=i,r=o;break}if(s===r){l=!0,r=i,n=o;break}s=s.sibling}if(!l)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e))?$e(e):null}function $e(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=$e(e);if(null!==t)return t;e=e.sibling}return null}var Ke=o.unstable_scheduleCallback,qe=o.unstable_cancelCallback,Ye=o.unstable_shouldYield,Qe=o.unstable_requestPaint,Xe=o.unstable_now,Ze=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,at=null;var it=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(lt(e)/st|0)|0},lt=Math.log,st=Math.LN2;var ut=64,ct=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,i=268435455&n;if(0!==i){var l=i&~o;0!==l?r=dt(l):0!==(a&=i)&&(r=dt(a))}else 0!==(i=n&~o)?r=dt(i):0!==a&&(r=dt(a));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)&&((o=r&-r)>=(a=t&-t)||16===o&&0!==(4194240&a)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-it(t)),r|=e[n],t&=~o;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ut;return 0===(4194240&(ut<<=1))&&(ut=64),e}function vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function gt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var St,kt,Ct,Et,xt,_t=!1,Pt=[],Tt=null,Rt=null,Ot=null,At=new Map,Lt=new Map,Nt=[],Dt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Mt(e,t){switch(e){case"focusin":case"focusout":Tt=null;break;case"dragenter":case"dragleave":Rt=null;break;case"mouseover":case"mouseout":Ot=null;break;case"pointerover":case"pointerout":At.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Lt.delete(t.pointerId)}}function It(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==t&&(null!==(t=wo(t))&&kt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function zt(e){var t=bo(e.target);if(null!==t){var n=Be(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ge(n)))return e.blockedOn=t,void xt(e.priority,(function(){Ct(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ft(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Yt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=wo(n))&&kt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function Ht(e,t,n){Ft(e)&&n.delete(t)}function jt(){_t=!1,null!==Tt&&Ft(Tt)&&(Tt=null),null!==Rt&&Ft(Rt)&&(Rt=null),null!==Ot&&Ft(Ot)&&(Ot=null),At.forEach(Ht),Lt.forEach(Ht)}function Ut(e,t){e.blockedOn===t&&(e.blockedOn=null,_t||(_t=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,jt)))}function Bt(e){function t(t){return Ut(t,e)}if(0<Pt.length){Ut(Pt[0],e);for(var n=1;n<Pt.length;n++){var r=Pt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Tt&&Ut(Tt,e),null!==Rt&&Ut(Rt,e),null!==Ot&&Ut(Ot,e),At.forEach(t),Lt.forEach(t),n=0;n<Nt.length;n++)(r=Nt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Nt.length&&null===(n=Nt[0]).blockedOn;)zt(n),null===n.blockedOn&&Nt.shift()}var Gt=w.ReactCurrentBatchConfig,Vt=!0;function Wt(e,t,n,r){var o=bt,a=Gt.transition;Gt.transition=null;try{bt=1,Kt(e,t,n,r)}finally{bt=o,Gt.transition=a}}function $t(e,t,n,r){var o=bt,a=Gt.transition;Gt.transition=null;try{bt=4,Kt(e,t,n,r)}finally{bt=o,Gt.transition=a}}function Kt(e,t,n,r){if(Vt){var o=Yt(e,t,n,r);if(null===o)Vr(e,t,r,qt,n),Mt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Tt=It(Tt,e,t,n,r,o),!0;case"dragenter":return Rt=It(Rt,e,t,n,r,o),!0;case"mouseover":return Ot=It(Ot,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return At.set(a,It(At.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,Lt.set(a,It(Lt.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Mt(e,r),4&t&&-1<Dt.indexOf(e)){for(;null!==o;){var a=wo(o);if(null!==a&&St(a),null===(a=Yt(e,t,n,r))&&Vr(e,t,r,qt,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else Vr(e,t,r,null,n)}}var qt=null;function Yt(e,t,n,r){if(qt=null,null!==(e=bo(e=Se(r))))if(null===(t=Be(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ge(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return qt=e,null}function Qt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ze()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Xt=null,Zt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Zt,r=n.length,o="value"in Xt?Xt.value:Xt.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return Jt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return z(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,ln,sn,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(un),dn=z({},un,{view:0,detail:0}),fn=on(dn),pn=z({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sn&&(sn&&"mousemove"===e.type?(an=e.screenX-sn.screenX,ln=e.screenY-sn.screenY):ln=an=0,sn=e),an)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),hn=on(pn),mn=on(z({},pn,{dataTransfer:0})),vn=on(z({},dn,{relatedTarget:0})),gn=on(z({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=z({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(yn),wn=on(z({},un,{data:0})),Sn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Cn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Cn[e])&&!!t[e]}function xn(){return En}var _n=z({},dn,{key:function(e){if(e.key){var t=Sn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?kn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Pn=on(_n),Tn=on(z({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Rn=on(z({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xn})),On=on(z({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),An=z({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Ln=on(An),Nn=[9,13,27,32],Dn=c&&"CompositionEvent"in window,Mn=null;c&&"documentMode"in document&&(Mn=document.documentMode);var In=c&&"TextEvent"in window&&!Mn,zn=c&&(!Dn||Mn&&8<Mn&&11>=Mn),Fn=String.fromCharCode(32),Hn=!1;function jn(e,t){switch(e){case"keyup":return-1!==Nn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Un(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Bn=!1;var Gn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Vn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Gn[e.type]:"textarea"===t}function Wn(e,t,n,r){_e(r),0<(t=$r(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var $n=null,Kn=null;function qn(e){Fr(e,0)}function Yn(e){if(K(So(e)))return e}function Qn(e,t){if("change"===e)return t}var Xn=!1;if(c){var Zn;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"===typeof er.oninput}Zn=Jn}else Zn=!1;Xn=Zn&&(!document.documentMode||9<document.documentMode)}function tr(){$n&&($n.detachEvent("onpropertychange",nr),Kn=$n=null)}function nr(e){if("value"===e.propertyName&&Yn(Kn)){var t=[];Wn(t,Kn,e,Se(e)),Ae(qn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Kn=n,($n=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Yn(Kn)}function ar(e,t){if("click"===e)return Yn(t)}function ir(e,t){if("input"===e||"change"===e)return Yn(t)}var lr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function sr(e,t){if(lr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!lr(e[o],t[o]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=ur(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=q();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=q((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,a=Math.min(r.start,o);r=void 0===r.end?a:Math.min(r.end,o),!e.extend&&a>r&&(o=r,r=a,a=o),o=cr(n,a);var i=cr(n,r);o&&i&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=c&&"documentMode"in document&&11>=document.documentMode,vr=null,gr=null,yr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==vr||vr!==q(r)||("selectionStart"in(r=vr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&sr(yr,r)||(yr=r,0<(r=$r(gr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vr)))}function Sr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var kr={animationend:Sr("Animation","AnimationEnd"),animationiteration:Sr("Animation","AnimationIteration"),animationstart:Sr("Animation","AnimationStart"),transitionend:Sr("Transition","TransitionEnd")},Cr={},Er={};function xr(e){if(Cr[e])return Cr[e];if(!kr[e])return e;var t,n=kr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return Cr[e]=n[t];return e}c&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete kr.animationend.animation,delete kr.animationiteration.animation,delete kr.animationstart.animation),"TransitionEvent"in window||delete kr.transitionend.transition);var _r=xr("animationend"),Pr=xr("animationiteration"),Tr=xr("animationstart"),Rr=xr("transitionend"),Or=new Map,Ar="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Lr(e,t){Or.set(e,t),s(t,[e])}for(var Nr=0;Nr<Ar.length;Nr++){var Dr=Ar[Nr];Lr(Dr.toLowerCase(),"on"+(Dr[0].toUpperCase()+Dr.slice(1)))}Lr(_r,"onAnimationEnd"),Lr(Pr,"onAnimationIteration"),Lr(Tr,"onAnimationStart"),Lr("dblclick","onDoubleClick"),Lr("focusin","onFocus"),Lr("focusout","onBlur"),Lr(Rr,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Mr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ir=new Set("cancel close invalid load scroll toggle".split(" ").concat(Mr));function zr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,l,s,u){if(Ue.apply(this,arguments),Ie){if(!Ie)throw Error(a(198));var c=ze;Ie=!1,ze=null,Fe||(Fe=!0,He=c)}}(r,t,void 0,e),e.currentTarget=null}function Fr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==a&&o.isPropagationStopped())break e;zr(o,l,u),a=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,u=l.currentTarget,l=l.listener,s!==a&&o.isPropagationStopped())break e;zr(o,l,u),a=s}}}if(Fe)throw e=He,Fe=!1,He=null,e}function Hr(e,t){var n=t[vo];void 0===n&&(n=t[vo]=new Set);var r=e+"__bubble";n.has(r)||(Gr(t,e,2,!1),n.add(r))}function jr(e,t,n){var r=0;t&&(r|=4),Gr(n,e,r,t)}var Ur="_reactListening"+Math.random().toString(36).slice(2);function Br(e){if(!e[Ur]){e[Ur]=!0,i.forEach((function(t){"selectionchange"!==t&&(Ir.has(t)||jr(t,!1,e),jr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Ur]||(t[Ur]=!0,jr("selectionchange",!1,t))}}function Gr(e,t,n,r){switch(Qt(t)){case 1:var o=Wt;break;case 4:o=$t;break;default:o=Kt}n=o.bind(null,t,n,e),o=void 0,!Ne||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Vr(e,t,n,r,o){var a=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;i=i.return}for(;null!==l;){if(null===(i=bo(l)))return;if(5===(s=i.tag)||6===s){r=a=i;continue e}l=l.parentNode}}r=r.return}Ae((function(){var r=a,o=Se(n),i=[];e:{var l=Or.get(e);if(void 0!==l){var s=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":s=Pn;break;case"focusin":u="focus",s=vn;break;case"focusout":u="blur",s=vn;break;case"beforeblur":case"afterblur":s=vn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Rn;break;case _r:case Pr:case Tr:s=gn;break;case Rr:s=On;break;case"scroll":s=fn;break;case"wheel":s=Ln;break;case"copy":case"cut":case"paste":s=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Tn}var c=0!==(4&t),d=!c&&"scroll"===e,f=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&(null!=(m=Le(h,f))&&c.push(Wr(h,m,p)))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,o),i.push({event:l,listeners:c}))}}if(0===(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===we||!(u=n.relatedTarget||n.fromElement)||!bo(u)&&!u[mo])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?bo(u):null)&&(u!==(d=Be(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=hn,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Tn,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?l:So(s),p=null==u?l:So(u),(l=new c(m,h+"leave",s,n,o)).target=d,l.relatedTarget=p,m=null,bo(o)===r&&((c=new c(f,h+"enter",u,n,o)).target=p,c.relatedTarget=d,m=c),d=m,s&&u)e:{for(f=u,h=0,p=c=s;p;p=Kr(p))h++;for(p=0,m=f;m;m=Kr(m))p++;for(;0<h-p;)c=Kr(c),h--;for(;0<p-h;)f=Kr(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=Kr(c),f=Kr(f)}c=null}else c=null;null!==s&&qr(i,l,s,c,!1),null!==u&&null!==d&&qr(i,d,u,c,!0)}if("select"===(s=(l=r?So(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var v=Qn;else if(Vn(l))if(Xn)v=ir;else{v=or;var g=rr}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(v=ar);switch(v&&(v=v(e,r))?Wn(i,v,n,o):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&ee(l,"number",l.value)),g=r?So(r):window,e){case"focusin":(Vn(g)||"true"===g.contentEditable)&&(vr=g,gr=r,yr=null);break;case"focusout":yr=gr=vr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(i,n,o);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":wr(i,n,o)}var y;if(Dn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Bn?jn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(zn&&"ko"!==n.locale&&(Bn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Bn&&(y=en()):(Zt="value"in(Xt=o)?Xt.value:Xt.textContent,Bn=!0)),0<(g=$r(r,b)).length&&(b=new wn(b,e,null,n,o),i.push({event:b,listeners:g}),y?b.data=y:null!==(y=Un(n))&&(b.data=y))),(y=In?function(e,t){switch(e){case"compositionend":return Un(t);case"keypress":return 32!==t.which?null:(Hn=!0,Fn);case"textInput":return(e=t.data)===Fn&&Hn?null:e;default:return null}}(e,n):function(e,t){if(Bn)return"compositionend"===e||!Dn&&jn(e,t)?(e=en(),Jt=Zt=Xt=null,Bn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return zn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=$r(r,"onBeforeInput")).length&&(o=new wn("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=y))}Fr(i,t)}))}function Wr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function $r(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=Le(e,n))&&r.unshift(Wr(e,a,o)),null!=(a=Le(e,t))&&r.push(Wr(e,a,o))),e=e.return}return r}function Kr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function qr(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,o?null!=(s=Le(n,a))&&i.unshift(Wr(n,s,l)):o||null!=(s=Le(n,a))&&i.push(Wr(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Yr=/\r\n?/g,Qr=/\u0000|\uFFFD/g;function Xr(e){return("string"===typeof e?e:""+e).replace(Yr,"\n").replace(Qr,"")}function Zr(e,t,n){if(t=Xr(t),Xr(e)!==t&&n)throw Error(a(425))}function Jr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"===typeof setTimeout?setTimeout:void 0,oo="function"===typeof clearTimeout?clearTimeout:void 0,ao="function"===typeof Promise?Promise:void 0,io="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof ao?function(e){return ao.resolve(null).then(e).catch(lo)}:ro;function lo(e){setTimeout((function(){throw e}))}function so(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Bt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Bt(t)}function uo(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function co(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),po="__reactFiber$"+fo,ho="__reactProps$"+fo,mo="__reactContainer$"+fo,vo="__reactEvents$"+fo,go="__reactListeners$"+fo,yo="__reactHandles$"+fo;function bo(e){var t=e[po];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mo]||n[po]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=co(e);null!==e;){if(n=e[po])return n;e=co(e)}return t}n=(e=n).parentNode}return null}function wo(e){return!(e=e[po]||e[mo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function So(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function ko(e){return e[ho]||null}var Co=[],Eo=-1;function xo(e){return{current:e}}function _o(e){0>Eo||(e.current=Co[Eo],Co[Eo]=null,Eo--)}function Po(e,t){Eo++,Co[Eo]=e.current,e.current=t}var To={},Ro=xo(To),Oo=xo(!1),Ao=To;function Lo(e,t){var n=e.type.contextTypes;if(!n)return To;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function No(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Do(){_o(Oo),_o(Ro)}function Mo(e,t,n){if(Ro.current!==To)throw Error(a(168));Po(Ro,t),Po(Oo,n)}function Io(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(a(108,G(e)||"Unknown",o));return z({},n,r)}function zo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||To,Ao=Ro.current,Po(Ro,e),Po(Oo,Oo.current),!0}function Fo(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=Io(e,t,Ao),r.__reactInternalMemoizedMergedChildContext=e,_o(Oo),_o(Ro),Po(Ro,e)):_o(Oo),Po(Oo,n)}var Ho=null,jo=!1,Uo=!1;function Bo(e){null===Ho?Ho=[e]:Ho.push(e)}function Go(){if(!Uo&&null!==Ho){Uo=!0;var e=0,t=bt;try{var n=Ho;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Ho=null,jo=!1}catch(o){throw null!==Ho&&(Ho=Ho.slice(e+1)),Ke(Je,Go),o}finally{bt=t,Uo=!1}}return null}var Vo=[],Wo=0,$o=null,Ko=0,qo=[],Yo=0,Qo=null,Xo=1,Zo="";function Jo(e,t){Vo[Wo++]=Ko,Vo[Wo++]=$o,$o=e,Ko=t}function ea(e,t,n){qo[Yo++]=Xo,qo[Yo++]=Zo,qo[Yo++]=Qo,Qo=e;var r=Xo;e=Zo;var o=32-it(r)-1;r&=~(1<<o),n+=1;var a=32-it(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,Xo=1<<32-it(t)+o|n<<o|r,Zo=a+e}else Xo=1<<a|n<<o|r,Zo=e}function ta(e){null!==e.return&&(Jo(e,1),ea(e,1,0))}function na(e){for(;e===$o;)$o=Vo[--Wo],Vo[Wo]=null,Ko=Vo[--Wo],Vo[Wo]=null;for(;e===Qo;)Qo=qo[--Yo],qo[Yo]=null,Zo=qo[--Yo],qo[Yo]=null,Xo=qo[--Yo],qo[Yo]=null}var ra=null,oa=null,aa=!1,ia=null;function la(e,t){var n=Lu(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function sa(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ra=e,oa=uo(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ra=e,oa=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Qo?{id:Xo,overflow:Zo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Lu(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ra=e,oa=null,!0);default:return!1}}function ua(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function ca(e){if(aa){var t=oa;if(t){var n=t;if(!sa(e,t)){if(ua(e))throw Error(a(418));t=uo(n.nextSibling);var r=ra;t&&sa(e,t)?la(r,n):(e.flags=-4097&e.flags|2,aa=!1,ra=e)}}else{if(ua(e))throw Error(a(418));e.flags=-4097&e.flags|2,aa=!1,ra=e}}}function da(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ra=e}function fa(e){if(e!==ra)return!1;if(!aa)return da(e),aa=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oa)){if(ua(e))throw pa(),Error(a(418));for(;t;)la(e,t),t=uo(t.nextSibling)}if(da(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oa=uo(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oa=null}}else oa=ra?uo(e.stateNode.nextSibling):null;return!0}function pa(){for(var e=oa;e;)e=uo(e.nextSibling)}function ha(){oa=ra=null,aa=!1}function ma(e){null===ia?ia=[e]:ia.push(e)}var va=w.ReactCurrentBatchConfig;function ga(e,t){if(e&&e.defaultProps){for(var n in t=z({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var ya=xo(null),ba=null,wa=null,Sa=null;function ka(){Sa=wa=ba=null}function Ca(e){var t=ya.current;_o(ya),e._currentValue=t}function Ea(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function xa(e,t){ba=e,Sa=wa=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(wl=!0),e.firstContext=null)}function _a(e){var t=e._currentValue;if(Sa!==e)if(e={context:e,memoizedValue:t,next:null},null===wa){if(null===ba)throw Error(a(308));wa=e,ba.dependencies={lanes:0,firstContext:e}}else wa=wa.next=e;return t}var Pa=null;function Ta(e){null===Pa?Pa=[e]:Pa.push(e)}function Ra(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Ta(t)):(n.next=o.next,o.next=n),t.interleaved=n,Oa(e,r)}function Oa(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Aa=!1;function La(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Na(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Da(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ma(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Rs)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Oa(e,n)}return null===(o=r.interleaved)?(t.next=t,Ta(r)):(t.next=o.next,o.next=t),r.interleaved=t,Oa(e,n)}function Ia(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function za(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Fa(e,t,n,r){var o=e.updateQueue;Aa=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?a=u:i.next=u,i=s;var c=e.alternate;null!==c&&((l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(null!==a){var d=o.baseState;for(i=0,c=u=s=null,l=a;;){var f=l.lane,p=l.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,m=l;switch(f=t,p=n,m.tag){case 1:if("function"===typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null===(f="function"===typeof(h=m.payload)?h.call(p,d,f):h)||void 0===f)break e;d=z({},d,f);break e;case 2:Aa=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,i|=f;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(f=l).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===c&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{i|=o.lane,o=o.next}while(o!==t)}else null===a&&(o.shared.lanes=0);zs|=i,e.lanes=i,e.memoizedState=d}}function Ha(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!==typeof o)throw Error(a(191,o));o.call(r)}}}var ja=(new r.Component).refs;function Ua(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:z({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Ba={isMounted:function(e){return!!(e=e._reactInternals)&&Be(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tu(),o=nu(e),a=Da(r,o);a.payload=t,void 0!==n&&null!==n&&(a.callback=n),null!==(t=Ma(e,a,o))&&(ru(t,e,o,r),Ia(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tu(),o=nu(e),a=Da(r,o);a.tag=1,a.payload=t,void 0!==n&&null!==n&&(a.callback=n),null!==(t=Ma(e,a,o))&&(ru(t,e,o,r),Ia(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tu(),r=nu(e),o=Da(n,r);o.tag=2,void 0!==t&&null!==t&&(o.callback=t),null!==(t=Ma(e,o,r))&&(ru(t,e,r,n),Ia(t,e,r))}};function Ga(e,t,n,r,o,a,i){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!sr(n,r)||!sr(o,a))}function Va(e,t,n){var r=!1,o=To,a=t.contextType;return"object"===typeof a&&null!==a?a=_a(a):(o=No(t)?Ao:Ro.current,a=(r=null!==(r=t.contextTypes)&&void 0!==r)?Lo(e,o):To),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ba,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function Wa(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ba.enqueueReplaceState(t,t.state,null)}function $a(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=ja,La(e);var a=t.contextType;"object"===typeof a&&null!==a?o.context=_a(a):(a=No(t)?Ao:Ro.current,o.context=Lo(e,a)),o.state=e.memoizedState,"function"===typeof(a=t.getDerivedStateFromProps)&&(Ua(e,t,a,n),o.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(t=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Ba.enqueueReplaceState(o,o.state,null),Fa(e,n,o,r),o.state=e.memoizedState),"function"===typeof o.componentDidMount&&(e.flags|=4194308)}function Ka(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=r,i=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=o.refs;t===ja&&(t=o.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!==typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function qa(e,t){throw e=Object.prototype.toString.call(t),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ya(e){return(0,e._init)(e._payload)}function Qa(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Du(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Fu(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){var a=n.type;return a===C?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"===typeof a&&null!==a&&a.$$typeof===L&&Ya(a)===t.type)?((r=o(t,n.props)).ref=Ka(e,t,n),r.return=e,r):((r=Mu(n.type,n.key,n.props,null,e.mode,r)).ref=Ka(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Hu(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,a){return null===t||7!==t.tag?((t=Iu(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=Fu(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case S:return(n=Mu(t.type,t.key,t.props,null,e.mode,n)).ref=Ka(e,null,t),n.return=e,n;case k:return(t=Hu(t,e.mode,n)).return=e,t;case L:return f(e,(0,t._init)(t._payload),n)}if(te(t)||M(t))return(t=Iu(t,e.mode,n,null)).return=e,t;qa(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==o?null:s(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case S:return n.key===o?u(e,t,n,r):null;case k:return n.key===o?c(e,t,n,r):null;case L:return p(e,t,(o=n._init)(n._payload),r)}if(te(n)||M(n))return null!==o?null:d(e,t,n,r,null);qa(e,n)}return null}function h(e,t,n,r,o){if("string"===typeof r&&""!==r||"number"===typeof r)return s(t,e=e.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case S:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case k:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case L:return h(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||M(r))return d(t,e=e.get(n)||null,r,o,null);qa(t,r)}return null}function m(o,a,l,s){for(var u=null,c=null,d=a,m=a=0,v=null;null!==d&&m<l.length;m++){d.index>m?(v=d,d=null):v=d.sibling;var g=p(o,d,l[m],s);if(null===g){null===d&&(d=v);break}e&&d&&null===g.alternate&&t(o,d),a=i(g,a,m),null===c?u=g:c.sibling=g,c=g,d=v}if(m===l.length)return n(o,d),aa&&Jo(o,m),u;if(null===d){for(;m<l.length;m++)null!==(d=f(o,l[m],s))&&(a=i(d,a,m),null===c?u=d:c.sibling=d,c=d);return aa&&Jo(o,m),u}for(d=r(o,d);m<l.length;m++)null!==(v=h(d,o,m,l[m],s))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),a=i(v,a,m),null===c?u=v:c.sibling=v,c=v);return e&&d.forEach((function(e){return t(o,e)})),aa&&Jo(o,m),u}function v(o,l,s,u){var c=M(s);if("function"!==typeof c)throw Error(a(150));if(null==(s=c.call(s)))throw Error(a(151));for(var d=c=null,m=l,v=l=0,g=null,y=s.next();null!==m&&!y.done;v++,y=s.next()){m.index>v?(g=m,m=null):g=m.sibling;var b=p(o,m,y.value,u);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(o,m),l=i(b,l,v),null===d?c=b:d.sibling=b,d=b,m=g}if(y.done)return n(o,m),aa&&Jo(o,v),c;if(null===m){for(;!y.done;v++,y=s.next())null!==(y=f(o,y.value,u))&&(l=i(y,l,v),null===d?c=y:d.sibling=y,d=y);return aa&&Jo(o,v),c}for(m=r(o,m);!y.done;v++,y=s.next())null!==(y=h(m,o,v,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),l=i(y,l,v),null===d?c=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(o,e)})),aa&&Jo(o,v),c}return function e(r,a,i,s){if("object"===typeof i&&null!==i&&i.type===C&&null===i.key&&(i=i.props.children),"object"===typeof i&&null!==i){switch(i.$$typeof){case S:e:{for(var u=i.key,c=a;null!==c;){if(c.key===u){if((u=i.type)===C){if(7===c.tag){n(r,c.sibling),(a=o(c,i.props.children)).return=r,r=a;break e}}else if(c.elementType===u||"object"===typeof u&&null!==u&&u.$$typeof===L&&Ya(u)===c.type){n(r,c.sibling),(a=o(c,i.props)).ref=Ka(r,c,i),a.return=r,r=a;break e}n(r,c);break}t(r,c),c=c.sibling}i.type===C?((a=Iu(i.props.children,r.mode,s,i.key)).return=r,r=a):((s=Mu(i.type,i.key,i.props,null,r.mode,s)).ref=Ka(r,a,i),s.return=r,r=s)}return l(r);case k:e:{for(c=i.key;null!==a;){if(a.key===c){if(4===a.tag&&a.stateNode.containerInfo===i.containerInfo&&a.stateNode.implementation===i.implementation){n(r,a.sibling),(a=o(a,i.children||[])).return=r,r=a;break e}n(r,a);break}t(r,a),a=a.sibling}(a=Hu(i,r.mode,s)).return=r,r=a}return l(r);case L:return e(r,a,(c=i._init)(i._payload),s)}if(te(i))return m(r,a,i,s);if(M(i))return v(r,a,i,s);qa(r,i)}return"string"===typeof i&&""!==i||"number"===typeof i?(i=""+i,null!==a&&6===a.tag?(n(r,a.sibling),(a=o(a,i)).return=r,r=a):(n(r,a),(a=Fu(i,r.mode,s)).return=r,r=a),l(r)):n(r,a)}}var Xa=Qa(!0),Za=Qa(!1),Ja={},ei=xo(Ja),ti=xo(Ja),ni=xo(Ja);function ri(e){if(e===Ja)throw Error(a(174));return e}function oi(e,t){switch(Po(ni,t),Po(ti,e),Po(ei,Ja),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:se(null,"");break;default:t=se(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}_o(ei),Po(ei,t)}function ai(){_o(ei),_o(ti),_o(ni)}function ii(e){ri(ni.current);var t=ri(ei.current),n=se(t,e.type);t!==n&&(Po(ti,e),Po(ei,n))}function li(e){ti.current===e&&(_o(ei),_o(ti))}var si=xo(0);function ui(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ci=[];function di(){for(var e=0;e<ci.length;e++)ci[e]._workInProgressVersionPrimary=null;ci.length=0}var fi=w.ReactCurrentDispatcher,pi=w.ReactCurrentBatchConfig,hi=0,mi=null,vi=null,gi=null,yi=!1,bi=!1,wi=0,Si=0;function ki(){throw Error(a(321))}function Ci(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function Ei(e,t,n,r,o,i){if(hi=i,mi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fi.current=null===e||null===e.memoizedState?ll:sl,e=n(r,o),bi){i=0;do{if(bi=!1,wi=0,25<=i)throw Error(a(301));i+=1,gi=vi=null,t.updateQueue=null,fi.current=ul,e=n(r,o)}while(bi)}if(fi.current=il,t=null!==vi&&null!==vi.next,hi=0,gi=vi=mi=null,yi=!1,t)throw Error(a(300));return e}function xi(){var e=0!==wi;return wi=0,e}function _i(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===gi?mi.memoizedState=gi=e:gi=gi.next=e,gi}function Pi(){if(null===vi){var e=mi.alternate;e=null!==e?e.memoizedState:null}else e=vi.next;var t=null===gi?mi.memoizedState:gi.next;if(null!==t)gi=t,vi=e;else{if(null===e)throw Error(a(310));e={memoizedState:(vi=e).memoizedState,baseState:vi.baseState,baseQueue:vi.baseQueue,queue:vi.queue,next:null},null===gi?mi.memoizedState=gi=e:gi=gi.next=e}return gi}function Ti(e,t){return"function"===typeof t?t(e):t}function Ri(e){var t=Pi(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=vi,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var l=o.next;o.next=i.next,i.next=l}r.baseQueue=o=i,n.pending=null}if(null!==o){i=o.next,r=r.baseState;var s=l=null,u=null,c=i;do{var d=c.lane;if((hi&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(s=u=f,l=r):u=u.next=f,mi.lanes|=d,zs|=d}c=c.next}while(null!==c&&c!==i);null===u?l=r:u.next=s,lr(r,t.memoizedState)||(wl=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{i=o.lane,mi.lanes|=i,zs|=i,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Oi(e){var t=Pi(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var l=o=o.next;do{i=e(i,l.action),l=l.next}while(l!==o);lr(i,t.memoizedState)||(wl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Ai(){}function Li(e,t){var n=mi,r=Pi(),o=t(),i=!lr(r.memoizedState,o);if(i&&(r.memoizedState=o,wl=!0),r=r.queue,Vi(Mi.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==gi&&1&gi.memoizedState.tag){if(n.flags|=2048,Hi(9,Di.bind(null,n,r,o,t),void 0,null),null===Os)throw Error(a(349));0!==(30&hi)||Ni(n,t,o)}return o}function Ni(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=mi.updateQueue)?(t={lastEffect:null,stores:null},mi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Di(e,t,n,r){t.value=n,t.getSnapshot=r,Ii(t)&&zi(e)}function Mi(e,t,n){return n((function(){Ii(t)&&zi(e)}))}function Ii(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(r){return!0}}function zi(e){var t=Oa(e,1);null!==t&&ru(t,e,1,-1)}function Fi(e){var t=_i();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ti,lastRenderedState:e},t.queue=e,e=e.dispatch=nl.bind(null,mi,e),[t.memoizedState,e]}function Hi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=mi.updateQueue)?(t={lastEffect:null,stores:null},mi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ji(){return Pi().memoizedState}function Ui(e,t,n,r){var o=_i();mi.flags|=e,o.memoizedState=Hi(1|t,n,void 0,void 0===r?null:r)}function Bi(e,t,n,r){var o=Pi();r=void 0===r?null:r;var a=void 0;if(null!==vi){var i=vi.memoizedState;if(a=i.destroy,null!==r&&Ci(r,i.deps))return void(o.memoizedState=Hi(t,n,a,r))}mi.flags|=e,o.memoizedState=Hi(1|t,n,a,r)}function Gi(e,t){return Ui(8390656,8,e,t)}function Vi(e,t){return Bi(2048,8,e,t)}function Wi(e,t){return Bi(4,2,e,t)}function $i(e,t){return Bi(4,4,e,t)}function Ki(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function qi(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Bi(4,4,Ki.bind(null,t,e),n)}function Yi(){}function Qi(e,t){var n=Pi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ci(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Xi(e,t){var n=Pi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ci(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Zi(e,t,n){return 0===(21&hi)?(e.baseState&&(e.baseState=!1,wl=!0),e.memoizedState=n):(lr(n,t)||(n=mt(),mi.lanes|=n,zs|=n,e.baseState=!0),t)}function Ji(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=pi.transition;pi.transition={};try{e(!1),t()}finally{bt=n,pi.transition=r}}function el(){return Pi().memoizedState}function tl(e,t,n){var r=nu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rl(e))ol(t,n);else if(null!==(n=Ra(e,t,n,r))){ru(n,e,r,tu()),al(n,t,r)}}function nl(e,t,n){var r=nu(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rl(e))ol(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=a(i,n);if(o.hasEagerState=!0,o.eagerState=l,lr(l,i)){var s=t.interleaved;return null===s?(o.next=o,Ta(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(u){}null!==(n=Ra(e,t,o,r))&&(ru(n,e,r,o=tu()),al(n,t,r))}}function rl(e){var t=e.alternate;return e===mi||null!==t&&t===mi}function ol(e,t){bi=yi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function al(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var il={readContext:_a,useCallback:ki,useContext:ki,useEffect:ki,useImperativeHandle:ki,useInsertionEffect:ki,useLayoutEffect:ki,useMemo:ki,useReducer:ki,useRef:ki,useState:ki,useDebugValue:ki,useDeferredValue:ki,useTransition:ki,useMutableSource:ki,useSyncExternalStore:ki,useId:ki,unstable_isNewReconciler:!1},ll={readContext:_a,useCallback:function(e,t){return _i().memoizedState=[e,void 0===t?null:t],e},useContext:_a,useEffect:Gi,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Ui(4194308,4,Ki.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ui(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ui(4,2,e,t)},useMemo:function(e,t){var n=_i();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=_i();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=tl.bind(null,mi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},_i().memoizedState=e},useState:Fi,useDebugValue:Yi,useDeferredValue:function(e){return _i().memoizedState=e},useTransition:function(){var e=Fi(!1),t=e[0];return e=Ji.bind(null,e[1]),_i().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=mi,o=_i();if(aa){if(void 0===n)throw Error(a(407));n=n()}else{if(n=t(),null===Os)throw Error(a(349));0!==(30&hi)||Ni(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Gi(Mi.bind(null,r,i,e),[e]),r.flags|=2048,Hi(9,Di.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=_i(),t=Os.identifierPrefix;if(aa){var n=Zo;t=":"+t+"R"+(n=(Xo&~(1<<32-it(Xo)-1)).toString(32)+n),0<(n=wi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=Si++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},sl={readContext:_a,useCallback:Qi,useContext:_a,useEffect:Vi,useImperativeHandle:qi,useInsertionEffect:Wi,useLayoutEffect:$i,useMemo:Xi,useReducer:Ri,useRef:ji,useState:function(){return Ri(Ti)},useDebugValue:Yi,useDeferredValue:function(e){return Zi(Pi(),vi.memoizedState,e)},useTransition:function(){return[Ri(Ti)[0],Pi().memoizedState]},useMutableSource:Ai,useSyncExternalStore:Li,useId:el,unstable_isNewReconciler:!1},ul={readContext:_a,useCallback:Qi,useContext:_a,useEffect:Vi,useImperativeHandle:qi,useInsertionEffect:Wi,useLayoutEffect:$i,useMemo:Xi,useReducer:Oi,useRef:ji,useState:function(){return Oi(Ti)},useDebugValue:Yi,useDeferredValue:function(e){var t=Pi();return null===vi?t.memoizedState=e:Zi(t,vi.memoizedState,e)},useTransition:function(){return[Oi(Ti)[0],Pi().memoizedState]},useMutableSource:Ai,useSyncExternalStore:Li,useId:el,unstable_isNewReconciler:!1};function cl(e,t){try{var n="",r=t;do{n+=U(r),r=r.return}while(r);var o=n}catch(a){o="\nError generating stack: "+a.message+"\n"+a.stack}return{value:e,source:t,stack:o,digest:null}}function dl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fl(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var pl="function"===typeof WeakMap?WeakMap:Map;function hl(e,t,n){(n=Da(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ws||(Ws=!0,$s=r),fl(0,t)},n}function ml(e,t,n){(n=Da(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){fl(0,t)}}var a=e.stateNode;return null!==a&&"function"===typeof a.componentDidCatch&&(n.callback=function(){fl(0,t),"function"!==typeof r&&(null===Ks?Ks=new Set([this]):Ks.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function vl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new pl;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=_u.bind(null,e,t,n),t.then(e,e))}function gl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function yl(e,t,n,r,o){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Da(-1,1)).tag=2,Ma(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var bl=w.ReactCurrentOwner,wl=!1;function Sl(e,t,n,r){t.child=null===e?Za(t,null,n,r):Xa(t,e.child,n,r)}function kl(e,t,n,r,o){n=n.render;var a=t.ref;return xa(t,o),r=Ei(e,t,n,r,a,o),n=xi(),null===e||wl?(aa&&n&&ta(t),t.flags|=1,Sl(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Wl(e,t,o))}function Cl(e,t,n,r,o){if(null===e){var a=n.type;return"function"!==typeof a||Nu(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Mu(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,El(e,t,a,r,o))}if(a=e.child,0===(e.lanes&o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(i,r)&&e.ref===t.ref)return Wl(e,t,o)}return t.flags|=1,(e=Du(a,r)).ref=t.ref,e.return=t,t.child=e}function El(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(sr(a,r)&&e.ref===t.ref){if(wl=!1,t.pendingProps=r=a,0===(e.lanes&o))return t.lanes=e.lanes,Wl(e,t,o);0!==(131072&e.flags)&&(wl=!0)}}return Pl(e,t,n,r,o)}function xl(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Po(Ds,Ns),Ns|=n;else{if(0===(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Po(Ds,Ns),Ns|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,Po(Ds,Ns),Ns|=r}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,Po(Ds,Ns),Ns|=r;return Sl(e,t,o,n),t.child}function _l(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Pl(e,t,n,r,o){var a=No(n)?Ao:Ro.current;return a=Lo(t,a),xa(t,o),n=Ei(e,t,n,r,a,o),r=xi(),null===e||wl?(aa&&r&&ta(t),t.flags|=1,Sl(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Wl(e,t,o))}function Tl(e,t,n,r,o){if(No(n)){var a=!0;zo(t)}else a=!1;if(xa(t,o),null===t.stateNode)Vl(e,t),Va(t,n,r),$a(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,u=n.contextType;"object"===typeof u&&null!==u?u=_a(u):u=Lo(t,u=No(n)?Ao:Ro.current);var c=n.getDerivedStateFromProps,d="function"===typeof c||"function"===typeof i.getSnapshotBeforeUpdate;d||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(l!==r||s!==u)&&Wa(t,i,r,u),Aa=!1;var f=t.memoizedState;i.state=f,Fa(t,r,i,o),s=t.memoizedState,l!==r||f!==s||Oo.current||Aa?("function"===typeof c&&(Ua(t,n,c,r),s=t.memoizedState),(l=Aa||Ga(t,n,l,r,f,s,u))?(d||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||("function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"===typeof i.componentDidMount&&(t.flags|=4194308)):("function"===typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=u,r=l):("function"===typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Na(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:ga(t.type,l),i.props=u,d=t.pendingProps,f=i.context,"object"===typeof(s=n.contextType)&&null!==s?s=_a(s):s=Lo(t,s=No(n)?Ao:Ro.current);var p=n.getDerivedStateFromProps;(c="function"===typeof p||"function"===typeof i.getSnapshotBeforeUpdate)||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(l!==d||f!==s)&&Wa(t,i,r,s),Aa=!1,f=t.memoizedState,i.state=f,Fa(t,r,i,o);var h=t.memoizedState;l!==d||f!==h||Oo.current||Aa?("function"===typeof p&&(Ua(t,n,p,r),h=t.memoizedState),(u=Aa||Ga(t,n,u,r,f,h,s)||!1)?(c||"function"!==typeof i.UNSAFE_componentWillUpdate&&"function"!==typeof i.componentWillUpdate||("function"===typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,s),"function"===typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,s)),"function"===typeof i.componentDidUpdate&&(t.flags|=4),"function"===typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=s,r=u):("function"!==typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Rl(e,t,n,r,a,o)}function Rl(e,t,n,r,o,a){_l(e,t);var i=0!==(128&t.flags);if(!r&&!i)return o&&Fo(t,n,!1),Wl(e,t,a);r=t.stateNode,bl.current=t;var l=i&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Xa(t,e.child,null,a),t.child=Xa(t,null,l,a)):Sl(e,t,l,a),t.memoizedState=r.state,o&&Fo(t,n,!0),t.child}function Ol(e){var t=e.stateNode;t.pendingContext?Mo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Mo(0,t.context,!1),oi(e,t.containerInfo)}function Al(e,t,n,r,o){return ha(),ma(o),t.flags|=256,Sl(e,t,n,r),t.child}var Ll,Nl,Dl,Ml,Il={dehydrated:null,treeContext:null,retryLane:0};function zl(e){return{baseLanes:e,cachePool:null,transitions:null}}function Fl(e,t,n){var r,o=t.pendingProps,i=si.current,l=!1,s=0!==(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&0!==(2&i)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Po(si,1&i),null===e)return ca(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(s=o.children,e=o.fallback,l?(o=t.mode,l=t.child,s={mode:"hidden",children:s},0===(1&o)&&null!==l?(l.childLanes=0,l.pendingProps=s):l=zu(s,o,0,null),e=Iu(e,o,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=zl(n),t.memoizedState=Il,e):Hl(t,s));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,o,i,l){if(n)return 256&t.flags?(t.flags&=-257,jl(e,t,l,r=dl(Error(a(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=zu({mode:"visible",children:r.children},o,0,null),(i=Iu(i,o,l,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!==(1&t.mode)&&Xa(t,e.child,null,l),t.child.memoizedState=zl(l),t.memoizedState=Il,i);if(0===(1&t.mode))return jl(e,t,l,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var s=r.dgst;return r=s,jl(e,t,l,r=dl(i=Error(a(419)),r,void 0))}if(s=0!==(l&e.childLanes),wl||s){if(null!==(r=Os)){switch(l&-l){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(r.suspendedLanes|l))?0:o)&&o!==i.retryLane&&(i.retryLane=o,Oa(e,o),ru(r,e,o,-1))}return vu(),jl(e,t,l,r=dl(Error(a(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Tu.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,oa=uo(o.nextSibling),ra=t,aa=!0,ia=null,null!==e&&(qo[Yo++]=Xo,qo[Yo++]=Zo,qo[Yo++]=Qo,Xo=e.id,Zo=e.overflow,Qo=t),t=Hl(t,r.children),t.flags|=4096,t)}(e,t,s,o,r,i,n);if(l){l=o.fallback,s=t.mode,r=(i=e.child).sibling;var u={mode:"hidden",children:o.children};return 0===(1&s)&&t.child!==i?((o=t.child).childLanes=0,o.pendingProps=u,t.deletions=null):(o=Du(i,u)).subtreeFlags=14680064&i.subtreeFlags,null!==r?l=Du(r,l):(l=Iu(l,s,n,null)).flags|=2,l.return=t,o.return=t,o.sibling=l,t.child=o,o=l,l=t.child,s=null===(s=e.child.memoizedState)?zl(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=Il,o}return e=(l=e.child).sibling,o=Du(l,{mode:"visible",children:o.children}),0===(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Hl(e,t){return(t=zu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function jl(e,t,n,r){return null!==r&&ma(r),Xa(t,e.child,null,n),(e=Hl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ul(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ea(e.return,t,n)}function Bl(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function Gl(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(Sl(e,t,r.children,n),0!==(2&(r=si.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ul(e,n,t);else if(19===e.tag)Ul(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Po(si,r),0===(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ui(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Bl(t,!1,o,n,a);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ui(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Bl(t,!0,n,null,a);break;case"together":Bl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Vl(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Wl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),zs|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Du(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Du(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function $l(e,t){if(!aa)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Kl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function ql(e,t,n){var r=t.pendingProps;switch(na(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Kl(t),null;case 1:case 17:return No(t.type)&&Do(),Kl(t),null;case 3:return r=t.stateNode,ai(),_o(Oo),_o(Ro),di(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fa(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==ia&&(lu(ia),ia=null))),Nl(e,t),Kl(t),null;case 5:li(t);var o=ri(ni.current);if(n=t.type,null!==e&&null!=t.stateNode)Dl(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(a(166));return Kl(t),null}if(e=ri(ei.current),fa(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[po]=t,r[ho]=i,e=0!==(1&t.mode),n){case"dialog":Hr("cancel",r),Hr("close",r);break;case"iframe":case"object":case"embed":Hr("load",r);break;case"video":case"audio":for(o=0;o<Mr.length;o++)Hr(Mr[o],r);break;case"source":Hr("error",r);break;case"img":case"image":case"link":Hr("error",r),Hr("load",r);break;case"details":Hr("toggle",r);break;case"input":Q(r,i),Hr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Hr("invalid",r);break;case"textarea":oe(r,i),Hr("invalid",r)}for(var s in ye(n,i),o=null,i)if(i.hasOwnProperty(s)){var u=i[s];"children"===s?"string"===typeof u?r.textContent!==u&&(!0!==i.suppressHydrationWarning&&Zr(r.textContent,u,e),o=["children",u]):"number"===typeof u&&r.textContent!==""+u&&(!0!==i.suppressHydrationWarning&&Zr(r.textContent,u,e),o=["children",""+u]):l.hasOwnProperty(s)&&null!=u&&"onScroll"===s&&Hr("scroll",r)}switch(n){case"input":$(r),J(r,i,!0);break;case"textarea":$(r),ie(r);break;case"select":case"option":break;default:"function"===typeof i.onClick&&(r.onclick=Jr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{s=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[po]=t,e[ho]=r,Ll(e,t,!1,!1),t.stateNode=e;e:{switch(s=be(n,r),n){case"dialog":Hr("cancel",e),Hr("close",e),o=r;break;case"iframe":case"object":case"embed":Hr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Mr.length;o++)Hr(Mr[o],e);o=r;break;case"source":Hr("error",e),o=r;break;case"img":case"image":case"link":Hr("error",e),Hr("load",e),o=r;break;case"details":Hr("toggle",e),o=r;break;case"input":Q(e,r),o=Y(e,r),Hr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=z({},r,{value:void 0}),Hr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Hr("invalid",e)}for(i in ye(n,o),u=o)if(u.hasOwnProperty(i)){var c=u[i];"style"===i?ve(e,c):"dangerouslySetInnerHTML"===i?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===i?"string"===typeof c?("textarea"!==n||""!==c)&&fe(e,c):"number"===typeof c&&fe(e,""+c):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(l.hasOwnProperty(i)?null!=c&&"onScroll"===i&&Hr("scroll",e):null!=c&&b(e,i,c,s))}switch(n){case"input":$(e),J(e,r,!1);break;case"textarea":$(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+V(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?ne(e,!!r.multiple,i,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Kl(t),null;case 6:if(e&&null!=t.stateNode)Ml(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(a(166));if(n=ri(ni.current),ri(ei.current),fa(t)){if(r=t.stateNode,n=t.memoizedProps,r[po]=t,(i=r.nodeValue!==n)&&null!==(e=ra))switch(e.tag){case 3:Zr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Zr(r.nodeValue,n,0!==(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[po]=t,t.stateNode=r}return Kl(t),null;case 13:if(_o(si),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(aa&&null!==oa&&0!==(1&t.mode)&&0===(128&t.flags))pa(),ha(),t.flags|=98560,i=!1;else if(i=fa(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(a(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(a(317));i[po]=t}else ha(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Kl(t),i=!1}else null!==ia&&(lu(ia),ia=null),i=!0;if(!i)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&si.current)?0===Ms&&(Ms=3):vu())),null!==t.updateQueue&&(t.flags|=4),Kl(t),null);case 4:return ai(),Nl(e,t),null===e&&Br(t.stateNode.containerInfo),Kl(t),null;case 10:return Ca(t.type._context),Kl(t),null;case 19:if(_o(si),null===(i=t.memoizedState))return Kl(t),null;if(r=0!==(128&t.flags),null===(s=i.rendering))if(r)$l(i,!1);else{if(0!==Ms||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(s=ui(e))){for(t.flags|=128,$l(i,!1),null!==(r=s.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(s=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Po(si,1&si.current|2),t.child}e=e.sibling}null!==i.tail&&Xe()>Gs&&(t.flags|=128,r=!0,$l(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ui(s))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),$l(i,!0),null===i.tail&&"hidden"===i.tailMode&&!s.alternate&&!aa)return Kl(t),null}else 2*Xe()-i.renderingStartTime>Gs&&1073741824!==n&&(t.flags|=128,r=!0,$l(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=i.last)?n.sibling=s:t.child=s,i.last=s)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Xe(),t.sibling=null,n=si.current,Po(si,r?1&n|2:1&n),t):(Kl(t),null);case 22:case 23:return fu(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Ns)&&(Kl(t),6&t.subtreeFlags&&(t.flags|=8192)):Kl(t),null;case 24:case 25:return null}throw Error(a(156,t.tag))}function Yl(e,t){switch(na(t),t.tag){case 1:return No(t.type)&&Do(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ai(),_o(Oo),_o(Ro),di(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return li(t),null;case 13:if(_o(si),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(a(340));ha()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return _o(si),null;case 4:return ai(),null;case 10:return Ca(t.type._context),null;case 22:case 23:return fu(),null;default:return null}}Ll=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Nl=function(){},Dl=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ri(ei.current);var a,i=null;switch(n){case"input":o=Y(e,o),r=Y(e,r),i=[];break;case"select":o=z({},o,{value:void 0}),r=z({},r,{value:void 0}),i=[];break;case"textarea":o=re(e,o),r=re(e,r),i=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(e.onclick=Jr)}for(c in ye(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var s=o[c];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(l.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var u=r[c];if(s=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(a in s)!s.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&s[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(i||(i=[]),i.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,s=s?s.__html:void 0,null!=u&&s!==u&&(i=i||[]).push(c,u)):"children"===c?"string"!==typeof u&&"number"!==typeof u||(i=i||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(l.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Hr("scroll",e),i||s===u||(i=[])):(i=i||[]).push(c,u))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}},Ml=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ql=!1,Xl=!1,Zl="function"===typeof WeakSet?WeakSet:Set,Jl=null;function es(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){xu(e,t,r)}else n.current=null}function ts(e,t,n){try{n()}catch(r){xu(e,t,r)}}var ns=!1;function rs(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,void 0!==a&&ts(t,n,a)}o=o.next}while(o!==r)}}function os(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function as(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function is(e){var t=e.alternate;null!==t&&(e.alternate=null,is(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[po],delete t[ho],delete t[vo],delete t[go],delete t[yo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ls(e){return 5===e.tag||3===e.tag||4===e.tag}function ss(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ls(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function us(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}function cs(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cs(e,t,n),e=e.sibling;null!==e;)cs(e,t,n),e=e.sibling}var ds=null,fs=!1;function ps(e,t,n){for(n=n.child;null!==n;)hs(e,t,n),n=n.sibling}function hs(e,t,n){if(at&&"function"===typeof at.onCommitFiberUnmount)try{at.onCommitFiberUnmount(ot,n)}catch(l){}switch(n.tag){case 5:Xl||es(n,t);case 6:var r=ds,o=fs;ds=null,ps(e,t,n),fs=o,null!==(ds=r)&&(fs?(e=ds,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ds.removeChild(n.stateNode));break;case 18:null!==ds&&(fs?(e=ds,n=n.stateNode,8===e.nodeType?so(e.parentNode,n):1===e.nodeType&&so(e,n),Bt(e)):so(ds,n.stateNode));break;case 4:r=ds,o=fs,ds=n.stateNode.containerInfo,fs=!0,ps(e,t,n),ds=r,fs=o;break;case 0:case 11:case 14:case 15:if(!Xl&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var a=o,i=a.destroy;a=a.tag,void 0!==i&&(0!==(2&a)||0!==(4&a))&&ts(n,t,i),o=o.next}while(o!==r)}ps(e,t,n);break;case 1:if(!Xl&&(es(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){xu(n,t,l)}ps(e,t,n);break;case 21:ps(e,t,n);break;case 22:1&n.mode?(Xl=(r=Xl)||null!==n.memoizedState,ps(e,t,n),Xl=r):ps(e,t,n);break;default:ps(e,t,n)}}function ms(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Zl),t.forEach((function(t){var r=Ru.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function vs(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:ds=s.stateNode,fs=!1;break e;case 3:case 4:ds=s.stateNode.containerInfo,fs=!0;break e}s=s.return}if(null===ds)throw Error(a(160));hs(i,l,o),ds=null,fs=!1;var u=o.alternate;null!==u&&(u.return=null),o.return=null}catch(c){xu(o,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gs(t,e),t=t.sibling}function gs(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vs(t,e),ys(e),4&r){try{rs(3,e,e.return),os(3,e)}catch(v){xu(e,e.return,v)}try{rs(5,e,e.return)}catch(v){xu(e,e.return,v)}}break;case 1:vs(t,e),ys(e),512&r&&null!==n&&es(n,n.return);break;case 5:if(vs(t,e),ys(e),512&r&&null!==n&&es(n,n.return),32&e.flags){var o=e.stateNode;try{fe(o,"")}catch(v){xu(e,e.return,v)}}if(4&r&&null!=(o=e.stateNode)){var i=e.memoizedProps,l=null!==n?n.memoizedProps:i,s=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===s&&"radio"===i.type&&null!=i.name&&X(o,i),be(s,l);var c=be(s,i);for(l=0;l<u.length;l+=2){var d=u[l],f=u[l+1];"style"===d?ve(o,f):"dangerouslySetInnerHTML"===d?de(o,f):"children"===d?fe(o,f):b(o,d,f,c)}switch(s){case"input":Z(o,i);break;case"textarea":ae(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var h=i.value;null!=h?ne(o,!!i.multiple,h,!1):p!==!!i.multiple&&(null!=i.defaultValue?ne(o,!!i.multiple,i.defaultValue,!0):ne(o,!!i.multiple,i.multiple?[]:"",!1))}o[ho]=i}catch(v){xu(e,e.return,v)}}break;case 6:if(vs(t,e),ys(e),4&r){if(null===e.stateNode)throw Error(a(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(v){xu(e,e.return,v)}}break;case 3:if(vs(t,e),ys(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Bt(t.containerInfo)}catch(v){xu(e,e.return,v)}break;case 4:default:vs(t,e),ys(e);break;case 13:vs(t,e),ys(e),8192&(o=e.child).flags&&(i=null!==o.memoizedState,o.stateNode.isHidden=i,!i||null!==o.alternate&&null!==o.alternate.memoizedState||(Bs=Xe())),4&r&&ms(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Xl=(c=Xl)||d,vs(t,e),Xl=c):vs(t,e),ys(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!==(1&e.mode))for(Jl=e,d=e.child;null!==d;){for(f=Jl=d;null!==Jl;){switch(h=(p=Jl).child,p.tag){case 0:case 11:case 14:case 15:rs(4,p,p.return);break;case 1:es(p,p.return);var m=p.stateNode;if("function"===typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(v){xu(r,n,v)}}break;case 5:es(p,p.return);break;case 22:if(null!==p.memoizedState){ks(f);continue}}null!==h?(h.return=p,Jl=h):ks(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,c?"function"===typeof(i=o.style).setProperty?i.setProperty("display","none","important"):i.display="none":(s=f.stateNode,l=void 0!==(u=f.memoizedProps.style)&&null!==u&&u.hasOwnProperty("display")?u.display:null,s.style.display=me("display",l))}catch(v){xu(e,e.return,v)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(v){xu(e,e.return,v)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:vs(t,e),ys(e),4&r&&ms(e);case 21:}}function ys(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(ls(n)){var r=n;break e}n=n.return}throw Error(a(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(fe(o,""),r.flags&=-33),cs(e,ss(e),o);break;case 3:case 4:var i=r.stateNode.containerInfo;us(e,ss(e),i);break;default:throw Error(a(161))}}catch(l){xu(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bs(e,t,n){Jl=e,ws(e,t,n)}function ws(e,t,n){for(var r=0!==(1&e.mode);null!==Jl;){var o=Jl,a=o.child;if(22===o.tag&&r){var i=null!==o.memoizedState||Ql;if(!i){var l=o.alternate,s=null!==l&&null!==l.memoizedState||Xl;l=Ql;var u=Xl;if(Ql=i,(Xl=s)&&!u)for(Jl=o;null!==Jl;)s=(i=Jl).child,22===i.tag&&null!==i.memoizedState?Cs(o):null!==s?(s.return=i,Jl=s):Cs(o);for(;null!==a;)Jl=a,ws(a,t,n),a=a.sibling;Jl=o,Ql=l,Xl=u}Ss(e)}else 0!==(8772&o.subtreeFlags)&&null!==a?(a.return=o,Jl=a):Ss(e)}}function Ss(e){for(;null!==Jl;){var t=Jl;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Xl||os(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Xl)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:ga(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Ha(t,i,r);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Ha(t,l,n)}break;case 5:var s=t.stateNode;if(null===n&&4&t.flags){n=s;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Bt(f)}}}break;default:throw Error(a(163))}Xl||512&t.flags&&as(t)}catch(p){xu(t,t.return,p)}}if(t===e){Jl=null;break}if(null!==(n=t.sibling)){n.return=t.return,Jl=n;break}Jl=t.return}}function ks(e){for(;null!==Jl;){var t=Jl;if(t===e){Jl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Jl=n;break}Jl=t.return}}function Cs(e){for(;null!==Jl;){var t=Jl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{os(4,t)}catch(s){xu(t,n,s)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(s){xu(t,o,s)}}var a=t.return;try{as(t)}catch(s){xu(t,a,s)}break;case 5:var i=t.return;try{as(t)}catch(s){xu(t,i,s)}}}catch(s){xu(t,t.return,s)}if(t===e){Jl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Jl=l;break}Jl=t.return}}var Es,xs=Math.ceil,_s=w.ReactCurrentDispatcher,Ps=w.ReactCurrentOwner,Ts=w.ReactCurrentBatchConfig,Rs=0,Os=null,As=null,Ls=0,Ns=0,Ds=xo(0),Ms=0,Is=null,zs=0,Fs=0,Hs=0,js=null,Us=null,Bs=0,Gs=1/0,Vs=null,Ws=!1,$s=null,Ks=null,qs=!1,Ys=null,Qs=0,Xs=0,Zs=null,Js=-1,eu=0;function tu(){return 0!==(6&Rs)?Xe():-1!==Js?Js:Js=Xe()}function nu(e){return 0===(1&e.mode)?1:0!==(2&Rs)&&0!==Ls?Ls&-Ls:null!==va.transition?(0===eu&&(eu=mt()),eu):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Qt(e.type)}function ru(e,t,n,r){if(50<Xs)throw Xs=0,Zs=null,Error(a(185));gt(e,n,r),0!==(2&Rs)&&e===Os||(e===Os&&(0===(2&Rs)&&(Fs|=n),4===Ms&&su(e,Ls)),ou(e,r),1===n&&0===Rs&&0===(1&t.mode)&&(Gs=Xe()+500,jo&&Go()))}function ou(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-it(a),l=1<<i,s=o[i];-1===s?0!==(l&n)&&0===(l&r)||(o[i]=pt(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}}(e,t);var r=ft(e,e===Os?Ls:0);if(0===r)null!==n&&qe(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&qe(n),1===t)0===e.tag?function(e){jo=!0,Bo(e)}(uu.bind(null,e)):Bo(uu.bind(null,e)),io((function(){0===(6&Rs)&&Go()})),n=null;else{switch(wt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Ou(n,au.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function au(e,t){if(Js=-1,eu=0,0!==(6&Rs))throw Error(a(327));var n=e.callbackNode;if(Cu()&&e.callbackNode!==n)return null;var r=ft(e,e===Os?Ls:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=gu(e,r);else{t=r;var o=Rs;Rs|=2;var i=mu();for(Os===e&&Ls===t||(Vs=null,Gs=Xe()+500,pu(e,t));;)try{bu();break}catch(s){hu(e,s)}ka(),_s.current=i,Rs=o,null!==As?t=0:(Os=null,Ls=0,t=Ms)}if(0!==t){if(2===t&&(0!==(o=ht(e))&&(r=o,t=iu(e,o))),1===t)throw n=Is,pu(e,0),su(e,r),ou(e,Xe()),n;if(6===t)su(e,r);else{if(o=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],a=o.getSnapshot;o=o.value;try{if(!lr(a(),o))return!1}catch(l){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=gu(e,r))&&(0!==(i=ht(e))&&(r=i,t=iu(e,i))),1===t))throw n=Is,pu(e,0),su(e,r),ou(e,Xe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(a(345));case 2:case 5:ku(e,Us,Vs);break;case 3:if(su(e,r),(130023424&r)===r&&10<(t=Bs+500-Xe())){if(0!==ft(e,0))break;if(((o=e.suspendedLanes)&r)!==r){tu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(ku.bind(null,e,Us,Vs),t);break}ku(e,Us,Vs);break;case 4:if(su(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var l=31-it(r);i=1<<l,(l=t[l])>o&&(o=l),r&=~i}if(r=o,10<(r=(120>(r=Xe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*xs(r/1960))-r)){e.timeoutHandle=ro(ku.bind(null,e,Us,Vs),r);break}ku(e,Us,Vs);break;default:throw Error(a(329))}}}return ou(e,Xe()),e.callbackNode===n?au.bind(null,e):null}function iu(e,t){var n=js;return e.current.memoizedState.isDehydrated&&(pu(e,t).flags|=256),2!==(e=gu(e,t))&&(t=Us,Us=n,null!==t&&lu(t)),e}function lu(e){null===Us?Us=e:Us.push.apply(Us,e)}function su(e,t){for(t&=~Hs,t&=~Fs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function uu(e){if(0!==(6&Rs))throw Error(a(327));Cu();var t=ft(e,0);if(0===(1&t))return ou(e,Xe()),null;var n=gu(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=iu(e,r))}if(1===n)throw n=Is,pu(e,0),su(e,t),ou(e,Xe()),n;if(6===n)throw Error(a(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ku(e,Us,Vs),ou(e,Xe()),null}function cu(e,t){var n=Rs;Rs|=1;try{return e(t)}finally{0===(Rs=n)&&(Gs=Xe()+500,jo&&Go())}}function du(e){null!==Ys&&0===Ys.tag&&0===(6&Rs)&&Cu();var t=Rs;Rs|=1;var n=Ts.transition,r=bt;try{if(Ts.transition=null,bt=1,e)return e()}finally{bt=r,Ts.transition=n,0===(6&(Rs=t))&&Go()}}function fu(){Ns=Ds.current,_o(Ds)}function pu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==As)for(n=As.return;null!==n;){var r=n;switch(na(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Do();break;case 3:ai(),_o(Oo),_o(Ro),di();break;case 5:li(r);break;case 4:ai();break;case 13:case 19:_o(si);break;case 10:Ca(r.type._context);break;case 22:case 23:fu()}n=n.return}if(Os=e,As=e=Du(e.current,null),Ls=Ns=t,Ms=0,Is=null,Hs=Fs=zs=0,Us=js=null,null!==Pa){for(t=0;t<Pa.length;t++)if(null!==(r=(n=Pa[t]).interleaved)){n.interleaved=null;var o=r.next,a=n.pending;if(null!==a){var i=a.next;a.next=o,r.next=i}n.pending=r}Pa=null}return e}function hu(e,t){for(;;){var n=As;try{if(ka(),fi.current=il,yi){for(var r=mi.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}yi=!1}if(hi=0,gi=vi=mi=null,bi=!1,wi=0,Ps.current=null,null===n||null===n.return){Ms=1,Is=t,As=null;break}e:{var i=e,l=n.return,s=n,u=t;if(t=Ls,s.flags|=32768,null!==u&&"object"===typeof u&&"function"===typeof u.then){var c=u,d=s,f=d.tag;if(0===(1&d.mode)&&(0===f||11===f||15===f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=gl(l);if(null!==h){h.flags&=-257,yl(h,l,s,0,t),1&h.mode&&vl(i,c,t),u=c;var m=(t=h).updateQueue;if(null===m){var v=new Set;v.add(u),t.updateQueue=v}else m.add(u);break e}if(0===(1&t)){vl(i,c,t),vu();break e}u=Error(a(426))}else if(aa&&1&s.mode){var g=gl(l);if(null!==g){0===(65536&g.flags)&&(g.flags|=256),yl(g,l,s,0,t),ma(cl(u,s));break e}}i=u=cl(u,s),4!==Ms&&(Ms=2),null===js?js=[i]:js.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,za(i,hl(0,u,t));break e;case 1:s=u;var y=i.type,b=i.stateNode;if(0===(128&i.flags)&&("function"===typeof y.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===Ks||!Ks.has(b)))){i.flags|=65536,t&=-t,i.lanes|=t,za(i,ml(i,s,t));break e}}i=i.return}while(null!==i)}Su(n)}catch(w){t=w,As===n&&null!==n&&(As=n=n.return);continue}break}}function mu(){var e=_s.current;return _s.current=il,null===e?il:e}function vu(){0!==Ms&&3!==Ms&&2!==Ms||(Ms=4),null===Os||0===(268435455&zs)&&0===(268435455&Fs)||su(Os,Ls)}function gu(e,t){var n=Rs;Rs|=2;var r=mu();for(Os===e&&Ls===t||(Vs=null,pu(e,t));;)try{yu();break}catch(o){hu(e,o)}if(ka(),Rs=n,_s.current=r,null!==As)throw Error(a(261));return Os=null,Ls=0,Ms}function yu(){for(;null!==As;)wu(As)}function bu(){for(;null!==As&&!Ye();)wu(As)}function wu(e){var t=Es(e.alternate,e,Ns);e.memoizedProps=e.pendingProps,null===t?Su(e):As=t,Ps.current=null}function Su(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=ql(n,t,Ns)))return void(As=n)}else{if(null!==(n=Yl(n,t)))return n.flags&=32767,void(As=n);if(null===e)return Ms=6,void(As=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(As=t);As=t=e}while(null!==t);0===Ms&&(Ms=5)}function ku(e,t,n){var r=bt,o=Ts.transition;try{Ts.transition=null,bt=1,function(e,t,n,r){do{Cu()}while(null!==Ys);if(0!==(6&Rs))throw Error(a(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-it(n),a=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~a}}(e,i),e===Os&&(As=Os=null,Ls=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||qs||(qs=!0,Ou(tt,(function(){return Cu(),null}))),i=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||i){i=Ts.transition,Ts.transition=null;var l=bt;bt=1;var s=Rs;Rs|=4,Ps.current=null,function(e,t){if(eo=Vt,pr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(S){n=null;break e}var l=0,s=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==o&&3!==f.nodeType||(s=l+o),f!==i||0!==r&&3!==f.nodeType||(u=l+r),3===f.nodeType&&(l+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++c===o&&(s=l),p===i&&++d===r&&(u=l),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===s||-1===u?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},Vt=!1,Jl=t;null!==Jl;)if(e=(t=Jl).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Jl=e;else for(;null!==Jl;){t=Jl;try{var m=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var v=m.memoizedProps,g=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?v:ga(t.type,v),g);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(a(163))}}catch(S){xu(t,t.return,S)}if(null!==(e=t.sibling)){e.return=t.return,Jl=e;break}Jl=t.return}m=ns,ns=!1}(e,n),gs(n,e),hr(to),Vt=!!eo,to=eo=null,e.current=n,bs(n,e,o),Qe(),Rs=s,bt=l,Ts.transition=i}else e.current=n;if(qs&&(qs=!1,Ys=e,Qs=o),i=e.pendingLanes,0===i&&(Ks=null),function(e){if(at&&"function"===typeof at.onCommitFiberRoot)try{at.onCommitFiberRoot(ot,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),ou(e,Xe()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Ws)throw Ws=!1,e=$s,$s=null,e;0!==(1&Qs)&&0!==e.tag&&Cu(),i=e.pendingLanes,0!==(1&i)?e===Zs?Xs++:(Xs=0,Zs=e):Xs=0,Go()}(e,t,n,r)}finally{Ts.transition=o,bt=r}return null}function Cu(){if(null!==Ys){var e=wt(Qs),t=Ts.transition,n=bt;try{if(Ts.transition=null,bt=16>e?16:e,null===Ys)var r=!1;else{if(e=Ys,Ys=null,Qs=0,0!==(6&Rs))throw Error(a(331));var o=Rs;for(Rs|=4,Jl=e.current;null!==Jl;){var i=Jl,l=i.child;if(0!==(16&Jl.flags)){var s=i.deletions;if(null!==s){for(var u=0;u<s.length;u++){var c=s[u];for(Jl=c;null!==Jl;){var d=Jl;switch(d.tag){case 0:case 11:case 15:rs(8,d,i)}var f=d.child;if(null!==f)f.return=d,Jl=f;else for(;null!==Jl;){var p=(d=Jl).sibling,h=d.return;if(is(d),d===c){Jl=null;break}if(null!==p){p.return=h,Jl=p;break}Jl=h}}}var m=i.alternate;if(null!==m){var v=m.child;if(null!==v){m.child=null;do{var g=v.sibling;v.sibling=null,v=g}while(null!==v)}}Jl=i}}if(0!==(2064&i.subtreeFlags)&&null!==l)l.return=i,Jl=l;else e:for(;null!==Jl;){if(0!==(2048&(i=Jl).flags))switch(i.tag){case 0:case 11:case 15:rs(9,i,i.return)}var y=i.sibling;if(null!==y){y.return=i.return,Jl=y;break e}Jl=i.return}}var b=e.current;for(Jl=b;null!==Jl;){var w=(l=Jl).child;if(0!==(2064&l.subtreeFlags)&&null!==w)w.return=l,Jl=w;else e:for(l=b;null!==Jl;){if(0!==(2048&(s=Jl).flags))try{switch(s.tag){case 0:case 11:case 15:os(9,s)}}catch(k){xu(s,s.return,k)}if(s===l){Jl=null;break e}var S=s.sibling;if(null!==S){S.return=s.return,Jl=S;break e}Jl=s.return}}if(Rs=o,Go(),at&&"function"===typeof at.onPostCommitFiberRoot)try{at.onPostCommitFiberRoot(ot,e)}catch(k){}r=!0}return r}finally{bt=n,Ts.transition=t}}return!1}function Eu(e,t,n){e=Ma(e,t=hl(0,t=cl(n,t),1),1),t=tu(),null!==e&&(gt(e,1,t),ou(e,t))}function xu(e,t,n){if(3===e.tag)Eu(e,e,n);else for(;null!==t;){if(3===t.tag){Eu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Ks||!Ks.has(r))){t=Ma(t,e=ml(t,e=cl(n,e),1),1),e=tu(),null!==t&&(gt(t,1,e),ou(t,e));break}}t=t.return}}function _u(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tu(),e.pingedLanes|=e.suspendedLanes&n,Os===e&&(Ls&n)===n&&(4===Ms||3===Ms&&(130023424&Ls)===Ls&&500>Xe()-Bs?pu(e,0):Hs|=n),ou(e,t)}function Pu(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ct,0===(130023424&(ct<<=1))&&(ct=4194304)));var n=tu();null!==(e=Oa(e,t))&&(gt(e,t,n),ou(e,n))}function Tu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Pu(e,n)}function Ru(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(a(314))}null!==r&&r.delete(t),Pu(e,n)}function Ou(e,t){return Ke(e,t)}function Au(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Lu(e,t,n,r){return new Au(e,t,n,r)}function Nu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Du(e,t){var n=e.alternate;return null===n?((n=Lu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Mu(e,t,n,r,o,i){var l=2;if(r=e,"function"===typeof e)Nu(e)&&(l=1);else if("string"===typeof e)l=5;else e:switch(e){case C:return Iu(n.children,o,i,t);case E:l=8,o|=8;break;case x:return(e=Lu(12,n,t,2|o)).elementType=x,e.lanes=i,e;case R:return(e=Lu(13,n,t,o)).elementType=R,e.lanes=i,e;case O:return(e=Lu(19,n,t,o)).elementType=O,e.lanes=i,e;case N:return zu(n,o,i,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case _:l=10;break e;case P:l=9;break e;case T:l=11;break e;case A:l=14;break e;case L:l=16,r=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Lu(l,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Iu(e,t,n,r){return(e=Lu(7,e,r,t)).lanes=n,e}function zu(e,t,n,r){return(e=Lu(22,e,r,t)).elementType=N,e.lanes=n,e.stateNode={isHidden:!1},e}function Fu(e,t,n){return(e=Lu(6,e,null,t)).lanes=n,e}function Hu(e,t,n){return(t=Lu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ju(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vt(0),this.expirationTimes=vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Uu(e,t,n,r,o,a,i,l,s){return e=new ju(e,t,n,l,s),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Lu(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},La(a),e}function Bu(e){if(!e)return To;e:{if(Be(e=e._reactInternals)!==e||1!==e.tag)throw Error(a(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(No(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(a(171))}if(1===e.tag){var n=e.type;if(No(n))return Io(e,n,t)}return t}function Gu(e,t,n,r,o,a,i,l,s){return(e=Uu(n,r,!0,e,0,a,0,l,s)).context=Bu(null),n=e.current,(a=Da(r=tu(),o=nu(n))).callback=void 0!==t&&null!==t?t:null,Ma(n,a,o),e.current.lanes=o,gt(e,o,r),ou(e,r),e}function Vu(e,t,n,r){var o=t.current,a=tu(),i=nu(o);return n=Bu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Da(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ma(o,t,i))&&(ru(e,o,i,a),Ia(e,o,i)),i}function Wu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function $u(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Ku(e,t){$u(e,t),(e=e.alternate)&&$u(e,t)}Es=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Oo.current)wl=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return wl=!1,function(e,t,n){switch(t.tag){case 3:Ol(t),ha();break;case 5:ii(t);break;case 1:No(t.type)&&zo(t);break;case 4:oi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Po(ya,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Po(si,1&si.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Fl(e,t,n):(Po(si,1&si.current),null!==(e=Wl(e,t,n))?e.sibling:null);Po(si,1&si.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Gl(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Po(si,si.current),r)break;return null;case 22:case 23:return t.lanes=0,xl(e,t,n)}return Wl(e,t,n)}(e,t,n);wl=0!==(131072&e.flags)}else wl=!1,aa&&0!==(1048576&t.flags)&&ea(t,Ko,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Vl(e,t),e=t.pendingProps;var o=Lo(t,Ro.current);xa(t,n),o=Ei(null,t,r,e,o,n);var i=xi();return t.flags|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,No(r)?(i=!0,zo(t)):i=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,La(t),o.updater=Ba,t.stateNode=o,o._reactInternals=t,$a(t,r,e,n),t=Rl(null,t,r,!0,i,n)):(t.tag=0,aa&&i&&ta(t),Sl(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Vl(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"===typeof e)return Nu(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===T)return 11;if(e===A)return 14}return 2}(r),e=ga(r,e),o){case 0:t=Pl(null,t,r,e,n);break e;case 1:t=Tl(null,t,r,e,n);break e;case 11:t=kl(null,t,r,e,n);break e;case 14:t=Cl(null,t,r,ga(r.type,e),n);break e}throw Error(a(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Pl(e,t,r,o=t.elementType===r?o:ga(r,o),n);case 1:return r=t.type,o=t.pendingProps,Tl(e,t,r,o=t.elementType===r?o:ga(r,o),n);case 3:e:{if(Ol(t),null===e)throw Error(a(387));r=t.pendingProps,o=(i=t.memoizedState).element,Na(e,t),Fa(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Al(e,t,r,n,o=cl(Error(a(423)),t));break e}if(r!==o){t=Al(e,t,r,n,o=cl(Error(a(424)),t));break e}for(oa=uo(t.stateNode.containerInfo.firstChild),ra=t,aa=!0,ia=null,n=Za(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ha(),r===o){t=Wl(e,t,n);break e}Sl(e,t,r,n)}t=t.child}return t;case 5:return ii(t),null===e&&ca(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,l=o.children,no(r,o)?l=null:null!==i&&no(r,i)&&(t.flags|=32),_l(e,t),Sl(e,t,l,n),t.child;case 6:return null===e&&ca(t),null;case 13:return Fl(e,t,n);case 4:return oi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Xa(t,null,r,n):Sl(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,kl(e,t,r,o=t.elementType===r?o:ga(r,o),n);case 7:return Sl(e,t,t.pendingProps,n),t.child;case 8:case 12:return Sl(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,Po(ya,r._currentValue),r._currentValue=l,null!==i)if(lr(i.value,l)){if(i.children===o.children&&!Oo.current){t=Wl(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var s=i.dependencies;if(null!==s){l=i.child;for(var u=s.firstContext;null!==u;){if(u.context===r){if(1===i.tag){(u=Da(-1,n&-n)).tag=2;var c=i.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}i.lanes|=n,null!==(u=i.alternate)&&(u.lanes|=n),Ea(i.return,n,t),s.lanes|=n;break}u=u.next}}else if(10===i.tag)l=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(l=i.return))throw Error(a(341));l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),Ea(l,n,t),l=i.sibling}else l=i.child;if(null!==l)l.return=i;else for(l=i;null!==l;){if(l===t){l=null;break}if(null!==(i=l.sibling)){i.return=l.return,l=i;break}l=l.return}i=l}Sl(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,xa(t,n),r=r(o=_a(o)),t.flags|=1,Sl(e,t,r,n),t.child;case 14:return o=ga(r=t.type,t.pendingProps),Cl(e,t,r,o=ga(r.type,o),n);case 15:return El(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ga(r,o),Vl(e,t),t.tag=1,No(r)?(e=!0,zo(t)):e=!1,xa(t,n),Va(t,r,o),$a(t,r,o,n),Rl(null,t,r,!0,e,n);case 19:return Gl(e,t,n);case 22:return xl(e,t,n)}throw Error(a(156,t.tag))};var qu="function"===typeof reportError?reportError:function(e){console.error(e)};function Yu(e){this._internalRoot=e}function Qu(e){this._internalRoot=e}function Xu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Zu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ju(){}function ec(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a;if("function"===typeof o){var l=o;o=function(){var e=Wu(i);l.call(e)}}Vu(t,i,e,o)}else i=function(e,t,n,r,o){if(o){if("function"===typeof r){var a=r;r=function(){var e=Wu(i);a.call(e)}}var i=Gu(t,r,e,0,null,!1,0,"",Ju);return e._reactRootContainer=i,e[mo]=i.current,Br(8===e.nodeType?e.parentNode:e),du(),i}for(;o=e.lastChild;)e.removeChild(o);if("function"===typeof r){var l=r;r=function(){var e=Wu(s);l.call(e)}}var s=Uu(e,0,!1,null,0,!1,0,"",Ju);return e._reactRootContainer=s,e[mo]=s.current,Br(8===e.nodeType?e.parentNode:e),du((function(){Vu(t,s,n,r)})),s}(n,t,e,o,r);return Wu(i)}Qu.prototype.render=Yu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(a(409));Vu(e,t,null,null)},Qu.prototype.unmount=Yu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;du((function(){Vu(null,e,null,null)})),t[mo]=null}},Qu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Nt.length&&0!==t&&t<Nt[n].priority;n++);Nt.splice(n,0,e),0===n&&zt(e)}},St=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(yt(t,1|n),ou(t,Xe()),0===(6&Rs)&&(Gs=Xe()+500,Go()))}break;case 13:du((function(){var t=Oa(e,1);if(null!==t){var n=tu();ru(t,e,1,n)}})),Ku(e,1)}},kt=function(e){if(13===e.tag){var t=Oa(e,134217728);if(null!==t)ru(t,e,134217728,tu());Ku(e,134217728)}},Ct=function(e){if(13===e.tag){var t=nu(e),n=Oa(e,t);if(null!==n)ru(n,e,t,tu());Ku(e,t)}},Et=function(){return bt},xt=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},ke=function(e,t,n){switch(t){case"input":if(Z(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=ko(r);if(!o)throw Error(a(90));K(r),Z(r,o)}}}break;case"textarea":ae(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Te=cu,Re=du;var tc={usingClientEntryPoint:!1,Events:[wo,So,ko,_e,Pe,cu]},nc={findFiberByHostInstance:bo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=We(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var oc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!oc.isDisabled&&oc.supportsFiber)try{ot=oc.inject(rc),at=oc}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Xu(t))throw Error(a(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:k,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Xu(e))throw Error(a(299));var n=!1,r="",o=qu;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Uu(e,1,!1,null,0,n,0,r,o),e[mo]=t.current,Br(8===e.nodeType?e.parentNode:e),new Yu(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(a(188));throw e=Object.keys(e).join(","),Error(a(268,e))}return e=null===(e=We(t))?null:e.stateNode},t.flushSync=function(e){return du(e)},t.hydrate=function(e,t,n){if(!Zu(t))throw Error(a(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Xu(e))throw Error(a(405));var r=null!=n&&n.hydratedSources||null,o=!1,i="",l=qu;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=Gu(t,null,e,1,null!=n?n:null,o,0,i,l),e[mo]=t.current,Br(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Qu(t)},t.render=function(e,t,n){if(!Zu(t))throw Error(a(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Zu(e))throw Error(a(40));return!!e._reactRootContainer&&(du((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[mo]=null}))})),!0)},t.unstable_batchedUpdates=cu,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Zu(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return ec(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},1250:(e,t,n)=>{"use strict";var r=n(4164);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},4164:(e,t,n)=>{"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(4463)},1372:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen");function g(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case a:case l:case i:case f:case p:return e;default:switch(e=e&&e.$$typeof){case c:case u:case d:case m:case h:case s:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference"),t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===a||e===l||e===i||e===f||e===p||e===v||"object"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===u||e.$$typeof===d||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=g},7441:(e,t,n)=>{"use strict";e.exports=n(1372)},6374:(e,t,n)=>{"use strict";var r=n(2791),o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,a={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,r)&&!s.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===a[r]&&(a[r]=t[r]);return{$$typeof:o,type:e,key:u,ref:c,props:a,_owner:l.current}}t.jsx=u,t.jsxs=u},9117:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,v={};function g(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=g.prototype;var w=b.prototype=new y;w.constructor=b,m(w,g.prototype),w.isPureReactComponent=!0;var S=Array.isArray,k=Object.prototype.hasOwnProperty,C={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,r){var o,a={},i=null,l=null;if(null!=t)for(o in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)k.call(t,o)&&!E.hasOwnProperty(o)&&(a[o]=t[o]);var s=arguments.length-2;if(1===s)a.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];a.children=u}if(e&&e.defaultProps)for(o in s=e.defaultProps)void 0===a[o]&&(a[o]=s[o]);return{$$typeof:n,type:e,key:i,ref:l,props:a,_owner:C.current}}function _(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var P=/\/+/g;function T(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function R(e,t,o,a,i){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s=!1;if(null===e)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case n:case r:s=!0}}if(s)return i=i(s=e),e=""===a?"."+T(s,0):a,S(i)?(o="",null!=e&&(o=e.replace(P,"$&/")+"/"),R(i,t,o,"",(function(e){return e}))):null!=i&&(_(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,o+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(P,"$&/")+"/")+e)),t.push(i)),1;if(s=0,a=""===a?".":a+":",S(e))for(var u=0;u<e.length;u++){var c=a+T(l=e[u],u);s+=R(l,t,o,c,i)}else if(c=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"===typeof c)for(e=c.call(e),u=0;!(l=e.next()).done;)s+=R(l=l.value,t,o,c=a+T(l,u++),i);else if("object"===l)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function O(e,t,n){if(null==e)return e;var r=[],o=0;return R(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function A(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var L={current:null},N={transition:null},D={ReactCurrentDispatcher:L,ReactCurrentBatchConfig:N,ReactCurrentOwner:C};t.Children={map:O,forEach:function(e,t,n){O(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return O(e,(function(){t++})),t},toArray:function(e){return O(e,(function(e){return e}))||[]},only:function(e){if(!_(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=g,t.Fragment=o,t.Profiler=i,t.PureComponent=b,t.StrictMode=a,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=m({},e.props),a=e.key,i=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,l=C.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)k.call(t,u)&&!E.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];o.children=s}return{$$typeof:n,type:e.type,key:a,ref:i,props:o,_owner:l}},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=x,t.createFactory=function(e){var t=x.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=_,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:A}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=N.transition;N.transition={};try{e()}finally{N.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return L.current.useCallback(e,t)},t.useContext=function(e){return L.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return L.current.useDeferredValue(e)},t.useEffect=function(e,t){return L.current.useEffect(e,t)},t.useId=function(){return L.current.useId()},t.useImperativeHandle=function(e,t,n){return L.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return L.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return L.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return L.current.useMemo(e,t)},t.useReducer=function(e,t,n){return L.current.useReducer(e,t,n)},t.useRef=function(e){return L.current.useRef(e)},t.useState=function(e){return L.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return L.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return L.current.useTransition()},t.version="18.2.0"},2791:(e,t,n)=>{"use strict";e.exports=n(9117)},184:(e,t,n)=>{"use strict";e.exports=n(6374)},6813:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<a(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,i=o>>>1;r<i;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>a(s,n))u<o&&0>a(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<o&&0>a(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}var u=[],c=[],d=1,f=null,p=3,h=!1,m=!1,v=!1,g="function"===typeof setTimeout?setTimeout:null,y="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function S(e){if(v=!1,w(e),!m)if(null!==r(u))m=!0,N(k);else{var t=r(c);null!==t&&D(S,t.startTime-e)}}function k(e,n){m=!1,v&&(v=!1,y(_),_=-1),h=!0;var a=p;try{for(w(n),f=r(u);null!==f&&(!(f.expirationTime>n)||e&&!R());){var i=f.callback;if("function"===typeof i){f.callback=null,p=f.priorityLevel;var l=i(f.expirationTime<=n);n=t.unstable_now(),"function"===typeof l?f.callback=l:f===r(u)&&o(u),w(n)}else o(u);f=r(u)}if(null!==f)var s=!0;else{var d=r(c);null!==d&&D(S,d.startTime-n),s=!1}return s}finally{f=null,p=a,h=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var C,E=!1,x=null,_=-1,P=5,T=-1;function R(){return!(t.unstable_now()-T<P)}function O(){if(null!==x){var e=t.unstable_now();T=e;var n=!0;try{n=x(!0,e)}finally{n?C():(E=!1,x=null)}}else E=!1}if("function"===typeof b)C=function(){b(O)};else if("undefined"!==typeof MessageChannel){var A=new MessageChannel,L=A.port2;A.port1.onmessage=O,C=function(){L.postMessage(null)}}else C=function(){g(O,0)};function N(e){x=e,E||(E=!0,C())}function D(e,n){_=g((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||h||(m=!0,N(k))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,a){var i=t.unstable_now();switch("object"===typeof a&&null!==a?a="number"===typeof(a=a.delay)&&0<a?i+a:i:a=i,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>i?(e.sortIndex=a,n(c,e),null===r(u)&&e===r(c)&&(v?(y(_),_=-1):v=!0,D(S,a-i))):(e.sortIndex=l,n(u,e),m||h||(m=!0,N(k))),e},t.unstable_shouldYield=R,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},5296:(e,t,n)=>{"use strict";e.exports=n(6813)},9613:e=>{e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s<a.length;s++){var u=a[s];if(!l(u))return!1;var c=e[u],d=t[u];if(!1===(o=n?n.call(r,c,d,u):void 0)||void 0===o&&c!==d)return!1}return!0}},5500:function(e,t,n){!function(t,r){if(e.exports)e.exports=r(n(7819),n(9189),n(1276),n(6478));else{var o=t.Zdog;o.Anchor=r(o,o.Vector,o.CanvasRenderer,o.SvgRenderer)}}(this,(function(e,t,n,r){var o=e.TAU,a={x:1,y:1,z:1};function i(e){this.create(e||{})}return i.prototype.create=function(n){this.children=[],e.extend(this,this.constructor.defaults),this.setOptions(n),this.translate=new t(n.translate),this.rotate=new t(n.rotate),this.scale=new t(a).multiply(this.scale),this.origin=new t,this.renderOrigin=new t,this.addTo&&this.addTo.addChild(this)},i.defaults={},i.optionKeys=Object.keys(i.defaults).concat(["rotate","translate","scale","addTo"]),i.prototype.setOptions=function(e){var t=this.constructor.optionKeys;for(var n in e)-1!=t.indexOf(n)&&(this[n]=e[n])},i.prototype.addChild=function(e){-1==this.children.indexOf(e)&&(e.remove(),e.addTo=this,this.children.push(e))},i.prototype.removeChild=function(e){var t=this.children.indexOf(e);-1!=t&&this.children.splice(t,1)},i.prototype.remove=function(){this.addTo&&this.addTo.removeChild(this)},i.prototype.update=function(){this.reset(),this.children.forEach((function(e){e.update()})),this.transform(this.translate,this.rotate,this.scale)},i.prototype.reset=function(){this.renderOrigin.set(this.origin)},i.prototype.transform=function(e,t,n){this.renderOrigin.transform(e,t,n),this.children.forEach((function(r){r.transform(e,t,n)}))},i.prototype.updateGraph=function(){this.update(),this.updateFlatGraph(),this.flatGraph.forEach((function(e){e.updateSortValue()})),this.flatGraph.sort(i.shapeSorter)},i.shapeSorter=function(e,t){return e.sortValue-t.sortValue},Object.defineProperty(i.prototype,"flatGraph",{get:function(){return this._flatGraph||this.updateFlatGraph(),this._flatGraph},set:function(e){this._flatGraph=e}}),i.prototype.updateFlatGraph=function(){this.flatGraph=this.getFlatGraph()},i.prototype.getFlatGraph=function(){var e=[this];return this.addChildFlatGraph(e)},i.prototype.addChildFlatGraph=function(e){return this.children.forEach((function(t){var n=t.getFlatGraph();Array.prototype.push.apply(e,n)})),e},i.prototype.updateSortValue=function(){this.sortValue=this.renderOrigin.z},i.prototype.render=function(){},i.prototype.renderGraphCanvas=function(e){if(!e)throw new Error("ctx is "+e+". Canvas context required for render. Check .renderGraphCanvas( ctx ).");this.flatGraph.forEach((function(t){t.render(e,n)}))},i.prototype.renderGraphSvg=function(e){if(!e)throw new Error("svg is "+e+". SVG required for render. Check .renderGraphSvg( svg ).");this.flatGraph.forEach((function(t){t.render(e,r)}))},i.prototype.copy=function(t){var n={};return this.constructor.optionKeys.forEach((function(e){n[e]=this[e]}),this),e.extend(n,t),new(0,this.constructor)(n)},i.prototype.copyGraph=function(e){var t=this.copy(e);return this.children.forEach((function(e){e.copyGraph({addTo:t})})),t},i.prototype.normalizeRotate=function(){this.rotate.x=e.modulo(this.rotate.x,o),this.rotate.y=e.modulo(this.rotate.y,o),this.rotate.z=e.modulo(this.rotate.z,o)},i.subclass=function t(n){return function(r){function o(e){this.create(e||{})}return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.defaults=e.extend({},n.defaults),e.extend(o.defaults,r),o.optionKeys=n.optionKeys.slice(0),Object.keys(o.defaults).forEach((function(e){1!=!o.optionKeys.indexOf(e)&&o.optionKeys.push(e)})),o.subclass=t(o),o}}(i),i}))},7819:function(e){var t,n;t=this,n=function(){var e={};e.TAU=2*Math.PI,e.extend=function(e,t){for(var n in t)e[n]=t[n];return e},e.lerp=function(e,t,n){return(t-e)*n+e},e.modulo=function(e,t){return(e%t+t)%t};var t={2:function(e){return e*e},3:function(e){return e*e*e},4:function(e){return e*e*e*e},5:function(e){return e*e*e*e*e}};return e.easeInOut=function(e,n){if(1==n)return e;var r=(e=Math.max(0,Math.min(1,e)))<.5,o=r?e:1-e,a=(t[n]||t[2])(o/=.5);return a/=2,r?a:1-a},e},e.exports?e.exports=n():t.Zdog=n()},422:function(e,t,n){!function(t,r){if(e.exports)e.exports=r(n(7819),n(5500),n(2704),n(5511));else{var o=t.Zdog;o.Box=r(o,o.Anchor,o.Shape,o.Rect)}}(this,(function(e,t,n,r){var o=r.subclass();o.prototype.copyGraph=function(){};var a=e.TAU,i=["frontFace","rearFace","leftFace","rightFace","topFace","bottomFace"],l=e.extend({},n.defaults);delete l.path,i.forEach((function(e){l[e]=!0})),e.extend(l,{width:1,height:1,depth:1,fill:!0});var s=t.subclass(l);s.prototype.create=function(e){t.prototype.create.call(this,e),this.updatePath(),this.fill=this.fill},s.prototype.updatePath=function(){i.forEach((function(e){this[e]=this[e]}),this)},i.forEach((function(e){var t="_"+e;Object.defineProperty(s.prototype,e,{get:function(){return this[t]},set:function(n){this[t]=n,this.setFace(e,n)}})})),s.prototype.setFace=function(e,t){var n=e+"Rect",r=this[n];if(t){var a=this.getFaceOptions(e);a.color="string"==typeof t?t:this.color,r?r.setOptions(a):r=this[n]=new o(a),r.updatePath(),this.addChild(r)}else this.removeChild(r)},s.prototype.getFaceOptions=function(e){return{frontFace:{width:this.width,height:this.height,translate:{z:this.depth/2}},rearFace:{width:this.width,height:this.height,translate:{z:-this.depth/2},rotate:{y:a/2}},leftFace:{width:this.depth,height:this.height,translate:{x:-this.width/2},rotate:{y:-a/4}},rightFace:{width:this.depth,height:this.height,translate:{x:this.width/2},rotate:{y:a/4}},topFace:{width:this.width,height:this.depth,translate:{y:-this.height/2},rotate:{x:-a/4}},bottomFace:{width:this.width,height:this.depth,translate:{y:this.height/2},rotate:{x:a/4}}}[e]};return["color","stroke","fill","backface","front","visible"].forEach((function(e){var t="_"+e;Object.defineProperty(s.prototype,e,{get:function(){return this[t]},set:function(n){this[t]=n,i.forEach((function(t){var r=this[t+"Rect"],o="string"==typeof this[t];r&&!("color"==e&&o)&&(r[e]=n)}),this)}})})),s}))},1276:function(e){var t,n;t=this,n=function(){var e={isCanvas:!0,begin:function(e){e.beginPath()},move:function(e,t,n){e.moveTo(n.x,n.y)},line:function(e,t,n){e.lineTo(n.x,n.y)},bezier:function(e,t,n,r,o){e.bezierCurveTo(n.x,n.y,r.x,r.y,o.x,o.y)},closePath:function(e){e.closePath()},setPath:function(){},renderPath:function(t,n,r,o){this.begin(t,n),r.forEach((function(r){r.render(t,n,e)})),o&&this.closePath(t,n)},stroke:function(e,t,n,r,o){n&&(e.strokeStyle=r,e.lineWidth=o,e.stroke())},fill:function(e,t,n,r){n&&(e.fillStyle=r,e.fill())},end:function(){}};return e},e.exports?e.exports=n():t.Zdog.CanvasRenderer=n()},4067:function(e,t,n){!function(t,r){if(e.exports)e.exports=r(n(7819),n(9189),n(4006),n(5500),n(4057));else{var o=t.Zdog;o.Cone=r(o,o.Vector,o.PathCommand,o.Anchor,o.Ellipse)}}(this,(function(e,t,n,r,o){var a=o.subclass({length:1,fill:!0}),i=e.TAU;a.prototype.create=function(){o.prototype.create.apply(this,arguments),this.apex=new r({addTo:this,translate:{z:this.length}}),this.renderApex=new t,this.renderCentroid=new t,this.tangentA=new t,this.tangentB=new t,this.surfacePathCommands=[new n("move",[{}]),new n("line",[{}]),new n("line",[{}])]},a.prototype.updateSortValue=function(){this.renderCentroid.set(this.renderOrigin).lerp(this.apex.renderOrigin,1/3),this.sortValue=this.renderCentroid.z},a.prototype.render=function(e,t){this.renderConeSurface(e,t),o.prototype.render.apply(this,arguments)},a.prototype.renderConeSurface=function(e,t){if(this.visible){this.renderApex.set(this.apex.renderOrigin).subtract(this.renderOrigin);var n=this.renderNormal.magnitude(),r=this.renderApex.magnitude2d(),o=this.renderNormal.magnitude2d(),a=Math.acos(o/n),l=Math.sin(a),s=this.diameter/2*n;if(s*l<r){var u=Math.atan2(this.renderNormal.y,this.renderNormal.x)+i/2,c=r/l,d=Math.acos(s/c),f=this.tangentA,p=this.tangentB;f.x=Math.cos(d)*s*l,f.y=Math.sin(d)*s,p.set(this.tangentA),p.y*=-1,f.rotateZ(u),p.rotateZ(u),f.add(this.renderOrigin),p.add(this.renderOrigin),this.setSurfaceRenderPoint(0,f),this.setSurfaceRenderPoint(1,this.apex.renderOrigin),this.setSurfaceRenderPoint(2,p);var h=this.getSurfaceRenderElement(e,t);t.renderPath(e,h,this.surfacePathCommands),t.stroke(e,h,this.stroke,this.color,this.getLineWidth()),t.fill(e,h,this.fill,this.color),t.end(e,h)}}};return a.prototype.getSurfaceRenderElement=function(e,t){if(t.isSvg)return this.surfaceSvgElement||(this.surfaceSvgElement=document.createElementNS("http://www.w3.org/2000/svg","path"),this.surfaceSvgElement.setAttribute("stroke-linecap","round"),this.surfaceSvgElement.setAttribute("stroke-linejoin","round")),this.surfaceSvgElement},a.prototype.setSurfaceRenderPoint=function(e,t){this.surfacePathCommands[e].renderPoints[0].set(t)},a}))},8055:function(e,t,n){!function(t,r){if(e.exports)e.exports=r(n(7819),n(4006),n(2704),n(2442),n(4057));else{var o=t.Zdog;o.Cylinder=r(o,o.PathCommand,o.Shape,o.Group,o.Ellipse)}}(this,(function(e,t,n,r,o){function a(){}var i=r.subclass({color:"#333",updateSort:!0});i.prototype.create=function(){r.prototype.create.apply(this,arguments),this.pathCommands=[new t("move",[{}]),new t("line",[{}])]},i.prototype.render=function(e,t){this.renderCylinderSurface(e,t),r.prototype.render.apply(this,arguments)},i.prototype.renderCylinderSurface=function(e,t){if(this.visible){var n=this.getRenderElement(e,t),r=this.frontBase,o=this.rearBase,a=r.renderNormal.magnitude(),i=r.diameter*a+r.getLineWidth();this.pathCommands[0].renderPoints[0].set(r.renderOrigin),this.pathCommands[1].renderPoints[0].set(o.renderOrigin),t.isCanvas&&(e.lineCap="butt"),t.renderPath(e,n,this.pathCommands),t.stroke(e,n,!0,this.color,i),t.end(e,n),t.isCanvas&&(e.lineCap="round")}};i.prototype.getRenderElement=function(e,t){if(t.isSvg)return this.svgElement||(this.svgElement=document.createElementNS("http://www.w3.org/2000/svg","path")),this.svgElement},i.prototype.copyGraph=a,o.subclass().prototype.copyGraph=a;var l=n.subclass({diameter:1,length:1,frontFace:void 0,fill:!0}),s=e.TAU;l.prototype.create=function(){n.prototype.create.apply(this,arguments),this.group=new i({addTo:this,color:this.color,visible:this.visible});var e=this.length/2,t=this.backface||!0;this.frontBase=this.group.frontBase=new o({addTo:this.group,diameter:this.diameter,translate:{z:e},rotate:{y:s/2},color:this.color,stroke:this.stroke,fill:this.fill,backface:this.frontFace||t,visible:this.visible}),this.rearBase=this.group.rearBase=this.frontBase.copy({translate:{z:-e},rotate:{y:0},backface:t})},l.prototype.render=function(){};return["stroke","fill","color","visible"].forEach((function(e){var t="_"+e;Object.defineProperty(l.prototype,e,{get:function(){return this[t]},set:function(n){this[t]=n,this.frontBase&&(this.frontBase[e]=n,this.rearBase[e]=n,this.group[e]=n)}})})),l}))},7884:function(e){var t,n;t=this,n=function(){var e="undefined"!=typeof window,t="mousedown",n="mousemove",r="mouseup";function o(){}function a(e){this.create(e||{})}return e&&(window.PointerEvent?(t="pointerdown",n="pointermove",r="pointerup"):"ontouchstart"in window&&(t="touchstart",n="touchmove",r="touchend")),a.prototype.create=function(e){this.onDragStart=e.onDragStart||o,this.onDragMove=e.onDragMove||o,this.onDragEnd=e.onDragEnd||o,this.bindDrag(e.startElement)},a.prototype.bindDrag=function(e){(e=this.getQueryElement(e))&&(e.style.touchAction="none",e.addEventListener(t,this))},a.prototype.getQueryElement=function(e){return"string"==typeof e&&(e=document.querySelector(e)),e},a.prototype.handleEvent=function(e){var t=this["on"+e.type];t&&t.call(this,e)},a.prototype.onmousedown=a.prototype.onpointerdown=function(e){this.dragStart(e,e)},a.prototype.ontouchstart=function(e){this.dragStart(e,e.changedTouches[0])},a.prototype.dragStart=function(t,o){t.preventDefault(),this.dragStartX=o.pageX,this.dragStartY=o.pageY,e&&(window.addEventListener(n,this),window.addEventListener(r,this)),this.onDragStart(o)},a.prototype.ontouchmove=function(e){this.dragMove(e,e.changedTouches[0])},a.prototype.onmousemove=a.prototype.onpointermove=function(e){this.dragMove(e,e)},a.prototype.dragMove=function(e,t){e.preventDefault();var n=t.pageX-this.dragStartX,r=t.pageY-this.dragStartY;this.onDragMove(t,n,r)},a.prototype.onmouseup=a.prototype.onpointerup=a.prototype.ontouchend=a.prototype.dragEnd=function(){window.removeEventListener(n,this),window.removeEventListener(r,this),this.onDragEnd()},a},e.exports?e.exports=n():t.Zdog.Dragger=n()},4057:function(e,t,n){!function(t,r){if(e.exports)e.exports=r(n(2704));else{var o=t.Zdog;o.Ellipse=r(o.Shape)}}(this,(function(e){var t=e.subclass({diameter:1,width:void 0,height:void 0,quarters:4,closed:!1});return t.prototype.setPath=function(){var e=(void 0!=this.width?this.width:this.diameter)/2,t=(void 0!=this.height?this.height:this.diameter)/2;this.path=[{x:0,y:-t},{arc:[{x:e,y:-t},{x:e,y:0}]}],this.quarters>1&&this.path.push({arc:[{x:e,y:t},{x:0,y:t}]}),this.quarters>2&&this.path.push({arc:[{x:-e,y:t},{x:-e,y:0}]}),this.quarters>3&&this.path.push({arc:[{x:-e,y:-t},{x:0,y:-t}]})},t}))},2442:function(e,t,n){!function(t,r){if(e.exports)e.exports=r(n(5500));else{var o=t.Zdog;o.Group=r(o.Anchor)}}(this,(function(e){var t=e.subclass({updateSort:!1,visible:!0});return t.prototype.updateSortValue=function(){var t=0;this.flatGraph.forEach((function(e){e.updateSortValue(),t+=e.sortValue})),this.sortValue=t/this.flatGraph.length,this.updateSort&&this.flatGraph.sort(e.shapeSorter)},t.prototype.render=function(e,t){this.visible&&this.flatGraph.forEach((function(n){n.render(e,t)}))},t.prototype.updateFlatGraph=function(){this.flatGraph=this.addChildFlatGraph([])},t.prototype.getFlatGraph=function(){return[this]},t}))},3909:function(e,t,n){!function(t,r){if(e.exports)e.exports=r(n(7819),n(9189),n(5500),n(4057));else{var o=t.Zdog;o.Hemisphere=r(o,o.Vector,o.Anchor,o.Ellipse)}}(this,(function(e,t,n,r){var o=r.subclass({fill:!0}),a=e.TAU;o.prototype.create=function(){r.prototype.create.apply(this,arguments),this.apex=new n({addTo:this,translate:{z:this.diameter/2}}),this.renderCentroid=new t},o.prototype.updateSortValue=function(){this.renderCentroid.set(this.renderOrigin).lerp(this.apex.renderOrigin,3/8),this.sortValue=this.renderCentroid.z},o.prototype.render=function(e,t){this.renderDome(e,t),r.prototype.render.apply(this,arguments)},o.prototype.renderDome=function(e,t){if(this.visible){var n=this.getDomeRenderElement(e,t),r=Math.atan2(this.renderNormal.y,this.renderNormal.x),o=this.diameter/2*this.renderNormal.magnitude(),i=this.renderOrigin.x,l=this.renderOrigin.y;if(t.isCanvas){var s=r+a/4,u=r-a/4;e.beginPath(),e.arc(i,l,o,s,u)}else t.isSvg&&(r=(r-a/4)/a*360,this.domeSvgElement.setAttribute("d","M "+-o+",0 A "+o+","+o+" 0 0 1 "+o+",0"),this.domeSvgElement.setAttribute("transform","translate("+i+","+l+" ) rotate("+r+")"));t.stroke(e,n,this.stroke,this.color,this.getLineWidth()),t.fill(e,n,this.fill,this.color),t.end(e,n)}};return o.prototype.getDomeRenderElement=function(e,t){if(t.isSvg)return this.domeSvgElement||(this.domeSvgElement=document.createElementNS("http://www.w3.org/2000/svg","path"),this.domeSvgElement.setAttribute("stroke-linecap","round"),this.domeSvgElement.setAttribute("stroke-linejoin","round")),this.domeSvgElement},o}))},730:function(e,t,n){!function(t,r){if(e.exports)e.exports=r(n(7819),n(5500),n(7884));else{var o=t.Zdog;o.Illustration=r(o,o.Anchor,o.Dragger)}}(this,(function(e,t,n){function r(){}var o=e.TAU,a=t.subclass({element:void 0,centered:!0,zoom:1,dragRotate:!1,resize:!1,onPrerender:r,onDragStart:r,onDragMove:r,onDragEnd:r,onResize:r});return e.extend(a.prototype,n.prototype),a.prototype.create=function(e){t.prototype.create.call(this,e),n.prototype.create.call(this,e),this.setElement(this.element),this.setDragRotate(this.dragRotate),this.setResize(this.resize)},a.prototype.setElement=function(e){if(!(e=this.getQueryElement(e)))throw new Error("Zdog.Illustration element required. Set to "+e);var t=e.nodeName.toLowerCase();"canvas"==t?this.setCanvas(e):"svg"==t&&this.setSvg(e)},a.prototype.setSize=function(e,t){e=Math.round(e),t=Math.round(t),this.isCanvas?this.setSizeCanvas(e,t):this.isSvg&&this.setSizeSvg(e,t)},a.prototype.setResize=function(e){this.resize=e,this.resizeListener||(this.resizeListener=this.onWindowResize.bind(this)),e?(window.addEventListener("resize",this.resizeListener),this.onWindowResize()):window.removeEventListener("resize",this.resizeListener)},a.prototype.onWindowResize=function(){this.setMeasuredSize(),this.onResize(this.width,this.height)},a.prototype.setMeasuredSize=function(){var e,t;if("fullscreen"==this.resize)e=window.innerWidth,t=window.innerHeight;else{var n=this.element.getBoundingClientRect();e=n.width,t=n.height}this.setSize(e,t)},a.prototype.renderGraph=function(e){this.isCanvas?this.renderGraphCanvas(e):this.isSvg&&this.renderGraphSvg(e)},a.prototype.updateRenderGraph=function(e){this.updateGraph(),this.renderGraph(e)},a.prototype.setCanvas=function(e){this.element=e,this.isCanvas=!0,this.ctx=this.element.getContext("2d"),this.setSizeCanvas(e.width,e.height)},a.prototype.setSizeCanvas=function(e,t){this.width=e,this.height=t;var n=this.pixelRatio=window.devicePixelRatio||1;this.element.width=this.canvasWidth=e*n,this.element.height=this.canvasHeight=t*n,n>1&&!this.resize&&(this.element.style.width=e+"px",this.element.style.height=t+"px")},a.prototype.renderGraphCanvas=function(e){e=e||this,this.prerenderCanvas(),t.prototype.renderGraphCanvas.call(e,this.ctx),this.postrenderCanvas()},a.prototype.prerenderCanvas=function(){var e=this.ctx;if(e.lineCap="round",e.lineJoin="round",e.clearRect(0,0,this.canvasWidth,this.canvasHeight),e.save(),this.centered){var t=this.width/2*this.pixelRatio,n=this.height/2*this.pixelRatio;e.translate(t,n)}var r=this.pixelRatio*this.zoom;e.scale(r,r),this.onPrerender(e)},a.prototype.postrenderCanvas=function(){this.ctx.restore()},a.prototype.setSvg=function(e){this.element=e,this.isSvg=!0,this.pixelRatio=1;var t=e.getAttribute("width"),n=e.getAttribute("height");this.setSizeSvg(t,n)},a.prototype.setSizeSvg=function(e,t){this.width=e,this.height=t;var n=e/this.zoom,r=t/this.zoom,o=this.centered?-n/2:0,a=this.centered?-r/2:0;this.element.setAttribute("viewBox",o+" "+a+" "+n+" "+r),this.resize?(this.element.removeAttribute("width"),this.element.removeAttribute("height")):(this.element.setAttribute("width",e),this.element.setAttribute("height",t))},a.prototype.renderGraphSvg=function(e){e=e||this,function(e){for(;e.firstChild;)e.removeChild(e.firstChild)}(this.element),this.onPrerender(this.element),t.prototype.renderGraphSvg.call(e,this.element)},a.prototype.setDragRotate=function(e){e&&(!0===e&&(e=this),this.dragRotate=e,this.bindDrag(this.element))},a.prototype.dragStart=function(){this.dragStartRX=this.dragRotate.rotate.x,this.dragStartRY=this.dragRotate.rotate.y,n.prototype.dragStart.apply(this,arguments)},a.prototype.dragMove=function(e,t){var r=t.pageX-this.dragStartX,a=t.pageY-this.dragStartY,i=Math.min(this.width,this.height),l=r/i*o,s=a/i*o;this.dragRotate.rotate.x=this.dragStartRX-s,this.dragRotate.rotate.y=this.dragStartRY-l,n.prototype.dragMove.apply(this,arguments)},a}))},5621:function(e,t,n){var r,o,a,i;i=this,e.exports?e.exports=function(e,t,n,r,o,a,i,l,s,u,c,d,f,p,h,m,v,g){return e.CanvasRenderer=t,e.SvgRenderer=n,e.Vector=r,e.Anchor=o,e.Dragger=a,e.Illustration=i,e.PathCommand=l,e.Shape=s,e.Group=u,e.Rect=c,e.RoundedRect=d,e.Ellipse=f,e.Polygon=p,e.Hemisphere=h,e.Cylinder=m,e.Cone=v,e.Box=g,e}(n(7819),n(1276),n(6478),n(9189),n(5500),n(7884),n(730),n(4006),n(2704),n(2442),n(5511),n(3108),n(4057),n(5697),n(3909),n(8055),n(4067),n(422)):(o=[],r=i.Zdog,void 0===(a="function"===typeof r?r.apply(t,o):r)||(e.exports=a))},4006:function(e,t,n){!function(t,r){if(e.exports)e.exports=r(n(9189));else{var o=t.Zdog;o.PathCommand=r(o.Vector)}}(this,(function(e){function t(t,o,a){this.method=t,this.points=o.map(n),this.renderPoints=o.map(r),this.previousPoint=a,this.endRenderPoint=this.renderPoints[this.renderPoints.length-1],"arc"==t&&(this.controlPoints=[new e,new e])}function n(t){return t instanceof e?t:new e(t)}function r(t){return new e(t)}t.prototype.reset=function(){var e=this.points;this.renderPoints.forEach((function(t,n){var r=e[n];t.set(r)}))},t.prototype.transform=function(e,t,n){this.renderPoints.forEach((function(r){r.transform(e,t,n)}))},t.prototype.render=function(e,t,n){return this[this.method](e,t,n)},t.prototype.move=function(e,t,n){return n.move(e,t,this.renderPoints[0])},t.prototype.line=function(e,t,n){return n.line(e,t,this.renderPoints[0])},t.prototype.bezier=function(e,t,n){var r=this.renderPoints[0],o=this.renderPoints[1],a=this.renderPoints[2];return n.bezier(e,t,r,o,a)};var o=9/16;return t.prototype.arc=function(e,t,n){var r=this.previousPoint,a=this.renderPoints[0],i=this.renderPoints[1],l=this.controlPoints[0],s=this.controlPoints[1];return l.set(r).lerp(a,o),s.set(i).lerp(a,o),n.bezier(e,t,l,s,i)},t}))},5697:function(e,t,n){!function(t,r){if(e.exports)e.exports=r(n(7819),n(2704));else{var o=t.Zdog;o.Polygon=r(o,o.Shape)}}(this,(function(e,t){var n=t.subclass({sides:3,radius:.5}),r=e.TAU;return n.prototype.setPath=function(){this.path=[];for(var e=0;e<this.sides;e++){var t=e/this.sides*r-r/4,n=Math.cos(t)*this.radius,o=Math.sin(t)*this.radius;this.path.push({x:n,y:o})}},n}))},5511:function(e,t,n){!function(t,r){if(e.exports)e.exports=r(n(2704));else{var o=t.Zdog;o.Rect=r(o.Shape)}}(this,(function(e){var t=e.subclass({width:1,height:1});return t.prototype.setPath=function(){var e=this.width/2,t=this.height/2;this.path=[{x:-e,y:-t},{x:e,y:-t},{x:e,y:t},{x:-e,y:t}]},t}))},3108:function(e,t,n){!function(t,r){if(e.exports)e.exports=r(n(2704));else{var o=t.Zdog;o.RoundedRect=r(o.Shape)}}(this,(function(e){var t=e.subclass({width:1,height:1,cornerRadius:.25,closed:!1});return t.prototype.setPath=function(){var e=this.width/2,t=this.height/2,n=Math.min(e,t),r=Math.min(this.cornerRadius,n),o=e-r,a=t-r,i=[{x:o,y:-t},{arc:[{x:e,y:-t},{x:e,y:-a}]}];a&&i.push({x:e,y:a}),i.push({arc:[{x:e,y:t},{x:o,y:t}]}),o&&i.push({x:-o,y:t}),i.push({arc:[{x:-e,y:t},{x:-e,y:a}]}),a&&i.push({x:-e,y:-a}),i.push({arc:[{x:-e,y:-t},{x:-o,y:-t}]}),o&&i.push({x:o,y:-t}),this.path=i},t}))},2704:function(e,t,n){!function(t,r){if(e.exports)e.exports=r(n(7819),n(9189),n(4006),n(5500));else{var o=t.Zdog;o.Shape=r(o,o.Vector,o.PathCommand,o.Anchor)}}(this,(function(e,t,n,r){var o=r.subclass({stroke:1,fill:!1,color:"#333",closed:!0,visible:!0,path:[{}],front:{z:1},backface:!0});o.prototype.create=function(e){r.prototype.create.call(this,e),this.updatePath(),this.front=new t(e.front||this.front),this.renderFront=new t(this.front),this.renderNormal=new t};var a=["move","line","bezier","arc"];o.prototype.updatePath=function(){this.setPath(),this.updatePathCommands()},o.prototype.setPath=function(){},o.prototype.updatePathCommands=function(){var e;this.pathCommands=this.path.map((function(t,r){var o=Object.keys(t),i=o[0],l=t[i];1==o.length&&-1!=a.indexOf(i)||(i="line",l=t);var s="line"==i||"move"==i,u=Array.isArray(l);s&&!u&&(l=[l]);var c=new n(i=0===r?"move":i,l,e);return e=c.endRenderPoint,c}))},o.prototype.reset=function(){this.renderOrigin.set(this.origin),this.renderFront.set(this.front),this.pathCommands.forEach((function(e){e.reset()}))},o.prototype.transform=function(e,t,n){this.renderOrigin.transform(e,t,n),this.renderFront.transform(e,t,n),this.renderNormal.set(this.renderOrigin).subtract(this.renderFront),this.pathCommands.forEach((function(r){r.transform(e,t,n)})),this.children.forEach((function(r){r.transform(e,t,n)}))},o.prototype.updateSortValue=function(){var e=this.pathCommands.length,t=this.pathCommands[0].endRenderPoint,n=this.pathCommands[e-1].endRenderPoint;e>2&&t.isSame(n)&&(e-=1);for(var r=0,o=0;o<e;o++)r+=this.pathCommands[o].endRenderPoint.z;this.sortValue=r/e},o.prototype.render=function(e,t){var n=this.pathCommands.length;if(this.visible&&n&&(this.isFacingBack=this.renderNormal.z>0,this.backface||!this.isFacingBack)){if(!t)throw new Error("Zdog renderer required. Set to "+t);var r=1==n;t.isCanvas&&r?this.renderCanvasDot(e,t):this.renderPath(e,t)}};var i=e.TAU;o.prototype.renderCanvasDot=function(e){var t=this.getLineWidth();if(t){e.fillStyle=this.getRenderColor();var n=this.pathCommands[0].endRenderPoint;e.beginPath();var r=t/2;e.arc(n.x,n.y,r,0,i),e.fill()}},o.prototype.getLineWidth=function(){return this.stroke?1==this.stroke?1:this.stroke:0},o.prototype.getRenderColor=function(){return"string"==typeof this.backface&&this.isFacingBack?this.backface:this.color},o.prototype.renderPath=function(e,t){var n=this.getRenderElement(e,t),r=!(2==this.pathCommands.length&&"line"==this.pathCommands[1].method)&&this.closed,o=this.getRenderColor();t.renderPath(e,n,this.pathCommands,r),t.stroke(e,n,this.stroke,o,this.getLineWidth()),t.fill(e,n,this.fill,o),t.end(e,n)};return o.prototype.getRenderElement=function(e,t){if(t.isSvg)return this.svgElement||(this.svgElement=document.createElementNS("http://www.w3.org/2000/svg","path"),this.svgElement.setAttribute("stroke-linecap","round"),this.svgElement.setAttribute("stroke-linejoin","round")),this.svgElement},o}))},6478:function(e){var t,n;t=this,n=function(){var e={isSvg:!0},t=e.round=function(e){return Math.round(1e3*e)/1e3};function n(e){return t(e.x)+","+t(e.y)+" "}return e.begin=function(){},e.move=function(e,t,r){return"M"+n(r)},e.line=function(e,t,r){return"L"+n(r)},e.bezier=function(e,t,r,o,a){return"C"+n(r)+n(o)+n(a)},e.closePath=function(){return"Z"},e.setPath=function(e,t,n){t.setAttribute("d",n)},e.renderPath=function(t,n,r,o){var a="";r.forEach((function(r){a+=r.render(t,n,e)})),o&&(a+=this.closePath(t,n)),this.setPath(t,n,a)},e.stroke=function(e,t,n,r,o){n&&(t.setAttribute("stroke",r),t.setAttribute("stroke-width",o))},e.fill=function(e,t,n,r){var o=n?r:"none";t.setAttribute("fill",o)},e.end=function(e,t){e.appendChild(t)},e},e.exports?e.exports=n():t.Zdog.SvgRenderer=n()},9189:function(e,t,n){!function(t,r){if(e.exports)e.exports=r(n(7819));else{var o=t.Zdog;o.Vector=r(o)}}(this,(function(e){function t(e){this.set(e)}var n=e.TAU;function r(e,t,r,o){if(t&&t%n!==0){var a=Math.cos(t),i=Math.sin(t),l=e[r],s=e[o];e[r]=l*a-s*i,e[o]=s*a+l*i}}function o(e){return Math.abs(e-1)<1e-8?1:Math.sqrt(e)}return t.prototype.set=function(e){return this.x=e&&e.x||0,this.y=e&&e.y||0,this.z=e&&e.z||0,this},t.prototype.write=function(e){return e?(this.x=void 0!=e.x?e.x:this.x,this.y=void 0!=e.y?e.y:this.y,this.z=void 0!=e.z?e.z:this.z,this):this},t.prototype.rotate=function(e){if(e)return this.rotateZ(e.z),this.rotateY(e.y),this.rotateX(e.x),this},t.prototype.rotateZ=function(e){r(this,e,"x","y")},t.prototype.rotateX=function(e){r(this,e,"y","z")},t.prototype.rotateY=function(e){r(this,e,"x","z")},t.prototype.isSame=function(e){return!!e&&(this.x===e.x&&this.y===e.y&&this.z===e.z)},t.prototype.add=function(e){return e?(this.x+=e.x||0,this.y+=e.y||0,this.z+=e.z||0,this):this},t.prototype.subtract=function(e){return e?(this.x-=e.x||0,this.y-=e.y||0,this.z-=e.z||0,this):this},t.prototype.multiply=function(e){return void 0==e||("number"==typeof e?(this.x*=e,this.y*=e,this.z*=e):(this.x*=void 0!=e.x?e.x:1,this.y*=void 0!=e.y?e.y:1,this.z*=void 0!=e.z?e.z:1)),this},t.prototype.transform=function(e,t,n){return this.multiply(n),this.rotate(t),this.add(e),this},t.prototype.lerp=function(t,n){return this.x=e.lerp(this.x,t.x||0,n),this.y=e.lerp(this.y,t.y||0,n),this.z=e.lerp(this.z,t.z||0,n),this},t.prototype.magnitude=function(){return o(this.x*this.x+this.y*this.y+this.z*this.z)},t.prototype.magnitude2d=function(){return o(this.x*this.x+this.y*this.y)},t.prototype.copy=function(){return new t(this)},t}))},5078:()=>{},5971:(e,t,n)=>{"use strict";n.d(t,{Jh:()=>s,ZT:()=>o,_T:()=>i,mG:()=>l,pi:()=>a});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)};function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function l(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{s(r.next(e))}catch(t){a(t)}}function l(e){try{s(r.throw(e))}catch(t){a(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}s((r=r.apply(e,t||[])).next())}))}function s(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(l){return function(s){return function(l){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,l[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&l[0]?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[2&l[0],o.value]),l[0]){case 0:case 1:o=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,r=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===l[0]||2===l[0])){i=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]<o[3])){i.label=l[1];break}if(6===l[0]&&i.label<o[1]){i.label=o[1],o=l;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(l);break}o[2]&&i.ops.pop(),i.trys.pop();continue}l=t.call(e,i)}catch(s){l=[6,s],r=0}finally{n=o=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}}Object.create;Object.create;"function"===typeof SuppressedError&&SuppressedError}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={exports:{}};return e[r].call(a.exports,a,a.exports,n),a.exports}n.m=e,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,r)=>(n.f[r](e,t),t)),[])),n.u=e=>"static/js/"+({104:"blueprint-icons-all-paths",439:"blueprint-icons-all-paths-loader",500:"blueprint-icons-16px-paths",569:"blueprint-icons-split-paths-by-size-loader",680:"blueprint-icons-20px-paths"}[e]||e)+"."+{104:"e643b2c5",439:"53883a20",500:"0c2662b2",569:"6d8a31ce",680:"e0ebc028",787:"b12b0301"}[e]+".chunk.js",n.miniCssF=e=>{},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="dualsense-ts-example-app:";n.l=(r,o,a,i)=>{if(e[r])e[r].push(o);else{var l,s;if(void 0!==a)for(var u=document.getElementsByTagName("script"),c=0;c<u.length;c++){var d=u[c];if(d.getAttribute("src")==r||d.getAttribute("data-webpack")==t+a){l=d;break}}l||(s=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,n.nc&&l.setAttribute("nonce",n.nc),l.setAttribute("data-webpack",t+a),l.src=r),e[r]=[o];var f=(t,n)=>{l.onerror=l.onload=null,clearTimeout(p);var o=e[r];if(delete e[r],l.parentNode&&l.parentNode.removeChild(l),o&&o.forEach((e=>e(n))),t)return t(n)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=f.bind(null,l.onerror),l.onload=f.bind(null,l.onload),s&&document.head.appendChild(l)}}})(),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="/dualsense-ts/",(()=>{var e={179:0};n.f.j=(t,r)=>{var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var a=new Promise(((n,r)=>o=e[t]=[n,r]));r.push(o[2]=a);var i=n.p+n.u(t),l=new Error;n.l(i,(r=>{if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var a=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;l.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",l.name="ChunkLoadError",l.type=a,l.request=i,o[1](l)}}),"chunk-"+t,t)}};var t=(t,r)=>{var o,a,i=r[0],l=r[1],s=r[2],u=0;if(i.some((t=>0!==e[t]))){for(o in l)n.o(l,o)&&(n.m[o]=l[o]);if(s)s(n)}for(t&&t(r);u<i.length;u++)a=i[u],n.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=self.webpackChunkdualsense_ts_example_app=self.webpackChunkdualsense_ts_example_app||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),n.nc=void 0,(()=>{"use strict";var e=n(2791),t=n(1250);function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var o=n(7441),a=n(9613),i=n.n(a);const l=function(e){function t(e,r,s,u,f){for(var p,h,m,v,w,k=0,C=0,E=0,x=0,_=0,L=0,D=m=p=0,I=0,z=0,F=0,H=0,j=s.length,U=j-1,B="",G="",V="",W="";I<j;){if(h=s.charCodeAt(I),I===U&&0!==C+x+E+k&&(0!==C&&(h=47===C?10:47),x=E=k=0,j++,U++),0===C+x+E+k){if(I===U&&(0<z&&(B=B.replace(d,"")),0<B.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:B+=s.charAt(I)}h=59}switch(h){case 123:for(p=(B=B.trim()).charCodeAt(0),m=1,H=++I;I<j;){switch(h=s.charCodeAt(I)){case 123:m++;break;case 125:m--;break;case 47:switch(h=s.charCodeAt(I+1)){case 42:case 47:e:{for(D=I+1;D<U;++D)switch(s.charCodeAt(D)){case 47:if(42===h&&42===s.charCodeAt(D-1)&&I+2!==D){I=D+1;break e}break;case 10:if(47===h){I=D+1;break e}}I=D}}break;case 91:h++;case 40:h++;case 34:case 39:for(;I++<U&&s.charCodeAt(I)!==h;);}if(0===m)break;I++}if(m=s.substring(H,I),0===p&&(p=(B=B.replace(c,"").trim()).charCodeAt(0)),64===p){switch(0<z&&(B=B.replace(d,"")),h=B.charCodeAt(1)){case 100:case 109:case 115:case 45:z=r;break;default:z=A}if(H=(m=t(r,z,m,h,f+1)).length,0<N&&(w=l(3,m,z=n(A,B,F),r,T,P,H,h,f,u),B=z.join(""),void 0!==w&&0===(H=(m=w.trim()).length)&&(h=0,m="")),0<H)switch(h){case 115:B=B.replace(S,i);case 100:case 109:case 45:m=B+"{"+m+"}";break;case 107:m=(B=B.replace(g,"$1 $2"))+"{"+m+"}",m=1===O||2===O&&a("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=B+m,112===u&&(G+=m,m="")}else m=""}else m=t(r,n(r,B,F),m,u,f+1);V+=m,m=F=z=D=p=0,B="",h=s.charCodeAt(++I);break;case 125:case 59:if(1<(H=(B=(0<z?B.replace(d,""):B).trim()).length))switch(0===D&&(p=B.charCodeAt(0),45===p||96<p&&123>p)&&(H=(B=B.replace(" ",":")).length),0<N&&void 0!==(w=l(1,B,r,e,T,P,G.length,u,f,u))&&0===(H=(B=w.trim()).length)&&(B="\0\0"),p=B.charCodeAt(0),h=B.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){W+=B+s.charAt(I);break}default:58!==B.charCodeAt(H-1)&&(G+=o(B,p,h,B.charCodeAt(2)))}F=z=D=p=0,B="",h=s.charCodeAt(++I)}}switch(h){case 13:case 10:47===C?C=0:0===1+p&&107!==u&&0<B.length&&(z=1,B+="\0"),0<N*M&&l(0,B,r,e,T,P,G.length,u,f,u),P=1,T++;break;case 59:case 125:if(0===C+x+E+k){P++;break}default:switch(P++,v=s.charAt(I),h){case 9:case 32:if(0===x+k+C)switch(_){case 44:case 58:case 9:case 32:v="";break;default:32!==h&&(v=" ")}break;case 0:v="\\0";break;case 12:v="\\f";break;case 11:v="\\v";break;case 38:0===x+C+k&&(z=F=1,v="\f"+v);break;case 108:if(0===x+C+k+R&&0<D)switch(I-D){case 2:112===_&&58===s.charCodeAt(I-3)&&(R=_);case 8:111===L&&(R=L)}break;case 58:0===x+C+k&&(D=I);break;case 44:0===C+E+x+k&&(z=1,v+="\r");break;case 34:case 39:0===C&&(x=x===h?0:0===x?h:x);break;case 91:0===x+C+E&&k++;break;case 93:0===x+C+E&&k--;break;case 41:0===x+C+k&&E--;break;case 40:if(0===x+C+k){if(0===p)if(2*_+3*L===533);else p=1;E++}break;case 64:0===C+E+x+k+D+m&&(m=1);break;case 42:case 47:if(!(0<x+k+E))switch(C){case 0:switch(2*h+3*s.charCodeAt(I+1)){case 235:C=47;break;case 220:H=I,C=42}break;case 42:47===h&&42===_&&H+2!==I&&(33===s.charCodeAt(H+2)&&(G+=s.substring(H,I+1)),v="",C=0)}}0===C&&(B+=v)}L=_,_=h,I++}if(0<(H=G.length)){if(z=r,0<N&&(void 0!==(w=l(2,G,z,e,T,P,H,u,f,u))&&0===(G=w).length))return W+G+V;if(G=z.join(",")+"{"+G+"}",0!==O*R){switch(2!==O||a(G,2)||(R=0),R){case 111:G=G.replace(b,":-moz-$1")+G;break;case 112:G=G.replace(y,"::-webkit-input-$1")+G.replace(y,"::-moz-$1")+G.replace(y,":-ms-input-$1")+G}R=0}}return W+G+V}function n(e,t,n){var o=t.trim().split(m);t=o;var a=o.length,i=e.length;switch(i){case 0:case 1:var l=0;for(e=0===i?"":e[0]+" ";l<a;++l)t[l]=r(e,t[l],n).trim();break;default:var s=l=0;for(t=[];l<a;++l)for(var u=0;u<i;++u)t[s++]=r(e[u]+" ",o[l],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(v,"$1"+e.trim());case 58:return e.trim()+t.replace(v,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(v,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,r){var i=e+";",l=2*t+3*n+4*r;if(944===l){e=i.indexOf(":",9)+1;var s=i.substring(e,i.length-1).trim();return s=i.substring(0,e).trim()+s+";",1===O||2===O&&a(s,1)?"-webkit-"+s+s:s}if(0===O||2===O&&!a(i,1))return i;switch(l){case 1015:return 97===i.charCodeAt(10)?"-webkit-"+i+i:i;case 951:return 116===i.charCodeAt(3)?"-webkit-"+i+i:i;case 963:return 110===i.charCodeAt(5)?"-webkit-"+i+i:i;case 1009:if(100!==i.charCodeAt(4))break;case 969:case 942:return"-webkit-"+i+i;case 978:return"-webkit-"+i+"-moz-"+i+i;case 1019:case 983:return"-webkit-"+i+"-moz-"+i+"-ms-"+i+i;case 883:if(45===i.charCodeAt(8))return"-webkit-"+i+i;if(0<i.indexOf("image-set(",11))return i.replace(_,"$1-webkit-$2")+i;break;case 932:if(45===i.charCodeAt(4))switch(i.charCodeAt(5)){case 103:return"-webkit-box-"+i.replace("-grow","")+"-webkit-"+i+"-ms-"+i.replace("grow","positive")+i;case 115:return"-webkit-"+i+"-ms-"+i.replace("shrink","negative")+i;case 98:return"-webkit-"+i+"-ms-"+i.replace("basis","preferred-size")+i}return"-webkit-"+i+"-ms-"+i+i;case 964:return"-webkit-"+i+"-ms-flex-"+i+i;case 1023:if(99!==i.charCodeAt(8))break;return"-webkit-box-pack"+(s=i.substring(i.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+i+"-ms-flex-pack"+s+i;case 1005:return p.test(i)?i.replace(f,":-webkit-")+i.replace(f,":-moz-")+i:i;case 1e3:switch(t=(s=i.substring(13).trim()).indexOf("-")+1,s.charCodeAt(0)+s.charCodeAt(t)){case 226:s=i.replace(w,"tb");break;case 232:s=i.replace(w,"tb-rl");break;case 220:s=i.replace(w,"lr");break;default:return i}return"-webkit-"+i+"-ms-"+s+i;case 1017:if(-1===i.indexOf("sticky",9))break;case 975:switch(t=(i=e).length-10,l=(s=(33===i.charCodeAt(t)?i.substring(0,t):i).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|s.charCodeAt(7))){case 203:if(111>s.charCodeAt(8))break;case 115:i=i.replace(s,"-webkit-"+s)+";"+i;break;case 207:case 102:i=i.replace(s,"-webkit-"+(102<l?"inline-":"")+"box")+";"+i.replace(s,"-webkit-"+s)+";"+i.replace(s,"-ms-"+s+"box")+";"+i}return i+";";case 938:if(45===i.charCodeAt(5))switch(i.charCodeAt(6)){case 105:return s=i.replace("-items",""),"-webkit-"+i+"-webkit-box-"+s+"-ms-flex-"+s+i;case 115:return"-webkit-"+i+"-ms-flex-item-"+i.replace(C,"")+i;default:return"-webkit-"+i+"-ms-flex-line-pack"+i.replace("align-content","").replace(C,"")+i}break;case 973:case 989:if(45!==i.charCodeAt(3)||122===i.charCodeAt(4))break;case 931:case 953:if(!0===x.test(e))return 115===(s=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):i.replace(s,"-webkit-"+s)+i.replace(s,"-moz-"+s.replace("fill-",""))+i;break;case 962:if(i="-webkit-"+i+(102===i.charCodeAt(5)?"-ms-"+i:"")+i,211===n+r&&105===i.charCodeAt(13)&&0<i.indexOf("transform",10))return i.substring(0,i.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+i}return i}function a(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),D(2!==t?r:r.replace(E,"$1"),n,t)}function i(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(k," or ($1)").substring(4):"("+t+")"}function l(e,t,n,r,o,a,i,l,s,c){for(var d,f=0,p=t;f<N;++f)switch(d=L[f].call(u,e,p,n,r,o,a,i,l,s,c)){case void 0:case!1:case!0:case null:break;default:p=d}if(p!==t)return p}function s(e){return void 0!==(e=e.prefix)&&(D=null,e?"function"!==typeof e?O=1:(O=2,D=e):O=0),s}function u(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<N){var o=l(-1,n,r,r,T,P,0,0,0,0);void 0!==o&&"string"===typeof o&&(n=o)}var a=t(A,r,n,0,0);return 0<N&&(void 0!==(o=l(-2,a,r,r,T,P,a.length,0,0,0))&&(a=o)),"",R=0,P=T=1,a}var c=/^\0+/g,d=/[\0\r\f]/g,f=/: */g,p=/zoo|gra/,h=/([,: ])(transform)/g,m=/,\r+?/g,v=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,S=/\(\s*(.*)\s*\)/g,k=/([\s\S]*?);/g,C=/-self|flex-/g,E=/[^]*?(:[rp][el]a[\w-]+)[^]*/,x=/stretch|:\s*\w+\-(?:conte|avail)/,_=/([^-])(image-set\()/,P=1,T=1,R=0,O=1,A=[],L=[],N=0,D=null,M=0;return u.use=function e(t){switch(t){case void 0:case null:N=L.length=0;break;default:if("function"===typeof t)L[N++]=t;else if("object"===typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else M=0|!!t}return e},u.set=s,void 0!==e&&s(e),u};const s={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function u(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var c=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,d=u((function(e){return c.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),f=n(2110),p=n.n(f);function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var m=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},v=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,o.typeOf)(e)},g=Object.freeze([]),y=Object.freeze({});function b(e){return"function"==typeof e}function w(e){return e.displayName||e.name||"Component"}function S(e){return e&&"string"==typeof e.styledComponentId}var k="undefined"!=typeof process&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"/dualsense-ts",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}&&({NODE_ENV:"production",PUBLIC_URL:"/dualsense-ts",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_ATTR||{NODE_ENV:"production",PUBLIC_URL:"/dualsense-ts",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_ATTR)||"data-styled",C="undefined"!=typeof window&&"HTMLElement"in window,E=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"/dualsense-ts",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}&&(void 0!=={NODE_ENV:"production",PUBLIC_URL:"/dualsense-ts",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY&&""!=={NODE_ENV:"production",PUBLIC_URL:"/dualsense-ts",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY?"false"!=={NODE_ENV:"production",PUBLIC_URL:"/dualsense-ts",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY&&{NODE_ENV:"production",PUBLIC_URL:"/dualsense-ts",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY:void 0!=={NODE_ENV:"production",PUBLIC_URL:"/dualsense-ts",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY&&""!=={NODE_ENV:"production",PUBLIC_URL:"/dualsense-ts",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY&&("false"!=={NODE_ENV:"production",PUBLIC_URL:"/dualsense-ts",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY&&{NODE_ENV:"production",PUBLIC_URL:"/dualsense-ts",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY)));function x(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var _=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)(o<<=1)<0&&x(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var a=r;a<o;a++)this.groupSizes[a]=0}for(var i=this.indexOfGroup(e+1),l=0,s=t.length;l<s;l++)this.tag.insertRule(i,t[l])&&(this.groupSizes[e]++,i++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,a=r;a<o;a++)t+=this.tag.getRule(a)+"/*!sc*/\n";return t},e}(),P=new Map,T=new Map,R=1,O=function(e){if(P.has(e))return P.get(e);for(;T.has(R);)R++;var t=R++;return P.set(e,t),T.set(t,e),t},A=function(e){return T.get(e)},L=function(e,t){t>=R&&(R=t+1),P.set(e,t),T.set(t,e)},N="style["+k+'][data-styled-version="5.3.11"]',D=new RegExp("^"+k+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),M=function(e,t,n){for(var r,o=n.split(","),a=0,i=o.length;a<i;a++)(r=o[a])&&e.registerName(t,r)},I=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],o=0,a=n.length;o<a;o++){var i=n[o].trim();if(i){var l=i.match(D);if(l){var s=0|parseInt(l[1],10),u=l[2];0!==s&&(L(u,s),M(e,u,l[3]),e.getTag().insertRules(s,r)),r.length=0}else r.push(i)}}},z=function(){return n.nc},F=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(k))return r}}(n),a=void 0!==o?o.nextSibling:null;r.setAttribute(k,"active"),r.setAttribute("data-styled-version","5.3.11");var i=z();return i&&r.setAttribute("nonce",i),n.insertBefore(r,a),r},H=function(){function e(e){var t=this.element=F(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}x(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),j=function(){function e(e){var t=this.element=F(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),U=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),B=C,G={isServer:!C,useCSSOMInjection:!E},V=function(){function e(e,t,n){void 0===e&&(e=y),void 0===t&&(t={}),this.options=h({},G,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&C&&B&&(B=!1,function(e){for(var t=document.querySelectorAll(N),n=0,r=t.length;n<r;n++){var o=t[n];o&&"active"!==o.getAttribute(k)&&(I(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return O(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(h({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,o=t.target,e=n?new U(o):r?new H(o):new j(o),new _(e)));var e,t,n,r,o},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(O(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(O(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(O(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=0;o<n;o++){var a=A(o);if(void 0!==a){var i=e.names.get(a),l=t.getGroup(o);if(i&&l&&i.size){var s=k+".g"+o+'[id="'+a+'"]',u="";void 0!==i&&i.forEach((function(e){e.length>0&&(u+=e+",")})),r+=""+l+s+'{content:"'+u+'"}/*!sc*/\n'}}}return r}(this)},e}(),W=/(a)(d)/gi,$=function(e){return String.fromCharCode(e+(e>25?39:97))};function K(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=$(t%52)+n;return($(t%52)+n).replace(W,"$1-$2")}var q=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Y=function(e){return q(5381,e)};function Q(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(b(n)&&!S(n))return!1}return!0}var X=Y("5.3.11"),Z=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Q(e),this.componentId=t,this.baseHash=q(X,t),this.baseStyle=n,V.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))o.push(this.staticRulesId);else{var a=ve(this.rules,e,t,n).join(""),i=K(q(this.baseHash,a)>>>0);if(!t.hasNameForId(r,i)){var l=n(a,"."+i,void 0,r);t.insertRules(r,i,l)}o.push(i),this.staticRulesId=i}else{for(var s=this.rules.length,u=q(this.baseHash,n.hash),c="",d=0;d<s;d++){var f=this.rules[d];if("string"==typeof f)c+=f;else if(f){var p=ve(f,e,t,n),h=Array.isArray(p)?p.join(""):p;u=q(u,h+d),c+=h}}if(c){var m=K(u>>>0);if(!t.hasNameForId(r,m)){var v=n(c,"."+m,void 0,r);t.insertRules(r,m,v)}o.push(m)}}return o.join(" ")},e}(),J=/^\s*\/\/.*$/gm,ee=[":","[",".","#"];function te(e){var t,n,r,o,a=void 0===e?y:e,i=a.options,s=void 0===i?y:i,u=a.plugins,c=void 0===u?g:u,d=new l(s),f=[],p=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,o,a,i,l,s,u,c,d){switch(n){case 1:if(0===c&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===u)return r+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(o[0]+r),"";default:return r+(0===d?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){f.push(e)})),h=function(e,r,a){return 0===r&&-1!==ee.indexOf(a[n.length])||a.match(o)?e:"."+t};function m(e,a,i,l){void 0===l&&(l="&");var s=e.replace(J,""),u=a&&i?i+" "+a+" { "+s+" }":s;return t=l,n=a,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),d(i||!a?"":a,u)}return d.use([].concat(c,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(r,h))},p,function(e){if(-2===e){var t=f;return f=[],t}}])),m.hash=c.length?c.reduce((function(e,t){return t.name||x(15),q(e,t.name)}),5381).toString():"",m}var ne=e.createContext(),re=(ne.Consumer,e.createContext()),oe=(re.Consumer,new V),ae=te();function ie(){return(0,e.useContext)(ne)||oe}function le(){return(0,e.useContext)(re)||ae}function se(t){var n=(0,e.useState)(t.stylisPlugins),r=n[0],o=n[1],a=ie(),l=(0,e.useMemo)((function(){var e=a;return t.sheet?e=t.sheet:t.target&&(e=e.reconstructWithOptions({target:t.target},!1)),t.disableCSSOMInjection&&(e=e.reconstructWithOptions({useCSSOMInjection:!1})),e}),[t.disableCSSOMInjection,t.sheet,t.target]),s=(0,e.useMemo)((function(){return te({options:{prefix:!t.disableVendorPrefixes},plugins:r})}),[t.disableVendorPrefixes,r]);return(0,e.useEffect)((function(){i()(r,t.stylisPlugins)||o(t.stylisPlugins)}),[t.stylisPlugins]),e.createElement(ne.Provider,{value:l},e.createElement(re.Provider,{value:s},t.children))}var ue=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ae);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return x(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=ae),this.name+e.hash},e}(),ce=/([A-Z])/,de=/([A-Z])/g,fe=/^ms-/,pe=function(e){return"-"+e.toLowerCase()};function he(e){return ce.test(e)?e.replace(de,pe).replace(fe,"-ms-"):e}var me=function(e){return null==e||!1===e||""===e};function ve(e,t,n,r){if(Array.isArray(e)){for(var o,a=[],i=0,l=e.length;i<l;i+=1)""!==(o=ve(e[i],t,n,r))&&(Array.isArray(o)?a.push.apply(a,o):a.push(o));return a}return me(e)?"":S(e)?"."+e.styledComponentId:b(e)?"function"!=typeof(u=e)||u.prototype&&u.prototype.isReactComponent||!t?e:ve(e(t),t,n,r):e instanceof ue?n?(e.inject(n,r),e.getName(r)):e:v(e)?function e(t,n){var r,o,a=[];for(var i in t)t.hasOwnProperty(i)&&!me(t[i])&&(Array.isArray(t[i])&&t[i].isCss||b(t[i])?a.push(he(i)+":",t[i],";"):v(t[i])?a.push.apply(a,e(t[i],i)):a.push(he(i)+": "+(r=i,(null==(o=t[i])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in s||r.startsWith("--")?String(o).trim():o+"px")+";")));return n?[n+" {"].concat(a,["}"]):a}(e):e.toString();var u}var ge=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function ye(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return b(e)||v(e)?ge(ve(m(g,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:ge(ve(m(e,n)))}new Set;var be=function(e,t,n){return void 0===n&&(n=y),e.theme!==n.theme&&e.theme||t||n.theme},we=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Se=/(^-|-$)/g;function ke(e){return e.replace(we,"-").replace(Se,"")}var Ce=function(e){return K(Y(e)>>>0)};function Ee(e){return"string"==typeof e&&!0}var xe=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},_e=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Pe(e,t,n){var r=e[n];xe(t)&&xe(r)?Te(r,t):e[n]=t}function Te(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o=0,a=n;o<a.length;o++){var i=a[o];if(xe(i))for(var l in i)_e(l)&&Pe(e,i[l],l)}return e}var Re=e.createContext();Re.Consumer;var Oe={};function Ae(t,n,r){var o=S(t),a=!Ee(t),i=n.attrs,l=void 0===i?g:i,s=n.componentId,u=void 0===s?function(e,t){var n="string"!=typeof e?"sc":ke(e);Oe[n]=(Oe[n]||0)+1;var r=n+"-"+Ce("5.3.11"+n+Oe[n]);return t?t+"-"+r:r}(n.displayName,n.parentComponentId):s,c=n.displayName,f=void 0===c?function(e){return Ee(e)?"styled."+e:"Styled("+w(e)+")"}(t):c,m=n.displayName&&n.componentId?ke(n.displayName)+"-"+n.componentId:n.componentId||u,v=o&&t.attrs?Array.prototype.concat(t.attrs,l).filter(Boolean):l,k=n.shouldForwardProp;o&&t.shouldForwardProp&&(k=n.shouldForwardProp?function(e,r,o){return t.shouldForwardProp(e,r,o)&&n.shouldForwardProp(e,r,o)}:t.shouldForwardProp);var C,E=new Z(r,m,o?t.componentStyle:void 0),x=E.isStatic&&0===l.length,_=function(t,n){return function(t,n,r,o){var a=t.attrs,i=t.componentStyle,l=t.defaultProps,s=t.foldedComponentIds,u=t.shouldForwardProp,c=t.styledComponentId,f=t.target,p=function(e,t,n){void 0===e&&(e=y);var r=h({},t,{theme:e}),o={};return n.forEach((function(e){var t,n,a,i=e;for(t in b(i)&&(i=i(r)),i)r[t]=o[t]="className"===t?(n=o[t],a=i[t],n&&a?n+" "+a:n||a):i[t]})),[r,o]}(be(n,(0,e.useContext)(Re),l)||y,n,a),m=p[0],v=p[1],g=function(e,t,n,r){var o=ie(),a=le();return t?e.generateAndInjectStyles(y,o,a):e.generateAndInjectStyles(n,o,a)}(i,o,m),w=r,S=v.$as||n.$as||v.as||n.as||f,k=Ee(S),C=v!==n?h({},n,{},v):n,E={};for(var x in C)"$"!==x[0]&&"as"!==x&&("forwardedAs"===x?E.as=C[x]:(u?u(x,d,S):!k||d(x))&&(E[x]=C[x]));return n.style&&v.style!==n.style&&(E.style=h({},n.style,{},v.style)),E.className=Array.prototype.concat(s,c,g!==c?g:null,n.className,v.className).filter(Boolean).join(" "),E.ref=w,(0,e.createElement)(S,E)}(C,t,n,x)};return _.displayName=f,(C=e.forwardRef(_)).attrs=v,C.componentStyle=E,C.displayName=f,C.shouldForwardProp=k,C.foldedComponentIds=o?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):g,C.styledComponentId=m,C.target=o?t.target:t,C.withComponent=function(e){var t=n.componentId,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(n,["componentId"]),a=t&&t+"-"+(Ee(e)?e:ke(w(e)));return Ae(e,h({},o,{attrs:v,componentId:a}),r)},Object.defineProperty(C,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=o?Te({},t.defaultProps,e):e}}),Object.defineProperty(C,"toString",{value:function(){return"."+C.styledComponentId}}),a&&p()(C,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),C}var Le=function(e){return function e(t,n,r){if(void 0===r&&(r=y),!(0,o.isValidElementType)(n))return x(1,String(n));var a=function(){return t(n,r,ye.apply(void 0,arguments))};return a.withConfig=function(o){return e(t,n,h({},r,{},o))},a.attrs=function(o){return e(t,n,h({},r,{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},a}(Ae,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Le[e]=Le(e)}));!function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Q(e),V.registerId(this.componentId+1)}var t=e.prototype;t.createStyles=function(e,t,n,r){var o=r(ve(this.rules,t,n,r).join(""),""),a=this.componentId+e;n.insertRules(a,a,o)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,r){e>2&&V.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}();!function(){function t(){var t=this;this._emitSheetCSS=function(){var e=t.instance.toString();if(!e)return"";var n=z();return"<style "+[n&&'nonce="'+n+'"',k+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+e+"</style>"},this.getStyleTags=function(){return t.sealed?x(2):t._emitSheetCSS()},this.getStyleElement=function(){var n;if(t.sealed)return x(2);var r=((n={})[k]="",n["data-styled-version"]="5.3.11",n.dangerouslySetInnerHTML={__html:t.instance.toString()},n),o=z();return o&&(r.nonce=o),[e.createElement("style",h({},r,{key:"sc-0-0"}))]},this.seal=function(){t.sealed=!0},this.instance=new V({isServer:!0}),this.sealed=!1}var n=t.prototype;n.collectStyles=function(t){return this.sealed?x(2):e.createElement(se,{sheet:this.instance},t)},n.interleaveWithNodeStream=function(e){return x(3)}}();const Ne=Le;var De,Me=n(5621),Ie={exports:{}},ze={};Ie.exports=function(){if(De)return ze;De=1;var t=e,n=Symbol.for("react.element"),r=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,r){var l,s={},u=null,c=null;for(l in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)o.call(t,l)&&!i.hasOwnProperty(l)&&(s[l]=t[l]);if(e&&e.defaultProps)for(l in t=e.defaultProps)void 0===s[l]&&(s[l]=t[l]);return{$$typeof:n,type:e,key:u,ref:c,props:s,_owner:a.current}}return ze.Fragment=r,ze.jsx=l,ze.jsxs=l,ze}();var Fe=Ie.exports,He=function(){if(typeof Map<"u")return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}()}(),je=typeof window<"u"&&typeof document<"u"&&window.document===document,Ue=typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")(),Be="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(Ue):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var Ge=["top","right","bottom","left","width","height","size","weight"],Ve=typeof MutationObserver<"u",We=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,o=0;function a(){n&&(n=!1,e()),r&&l()}function i(){Be(a)}function l(){var e=Date.now();if(n){if(e-o<2)return;r=!0}else n=!0,r=!1,setTimeout(i,t);o=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){!je||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Ve?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!je||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;Ge.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),$e=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},Ke=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||Ue},qe=et(0,0,0,0);function Ye(e){return parseFloat(e)||0}function Qe(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+Ye(e["border-"+n+"-width"])}),0)}function Xe(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return qe;var r=Ke(e).getComputedStyle(e),o=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],a=e["padding-"+o];t[o]=Ye(a)}return t}(r),a=o.left+o.right,i=o.top+o.bottom,l=Ye(r.width),s=Ye(r.height);if("border-box"===r.boxSizing&&(Math.round(l+a)!==t&&(l-=Qe(r,"left","right")+a),Math.round(s+i)!==n&&(s-=Qe(r,"top","bottom")+i)),!function(e){return e===Ke(e).document.documentElement}(e)){var u=Math.round(l+a)-t,c=Math.round(s+i)-n;1!==Math.abs(u)&&(l-=u),1!==Math.abs(c)&&(s-=c)}return et(o.left,o.top,l,s)}var Ze=typeof SVGGraphicsElement<"u"?function(e){return e instanceof Ke(e).SVGGraphicsElement}:function(e){return e instanceof Ke(e).SVGElement&&"function"==typeof e.getBBox};function Je(e){return je?Ze(e)?function(e){var t=e.getBBox();return et(0,0,t.width,t.height)}(e):Xe(e):qe}function et(e,t,n,r){return{x:e,y:t,width:n,height:r}}var tt=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=et(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=Je(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),nt=function(e,t){var n=function(e){var t=e.x,n=e.y,r=e.width,o=e.height,a=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,i=Object.create(a.prototype);return $e(i,{x:t,y:n,width:r,height:o,top:n,right:t+r,bottom:o+n,left:t}),i}(t);$e(this,{target:e,contentRect:n})},rt=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new He,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(e instanceof Ke(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new tt(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(e instanceof Ke(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new nt(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),ot=typeof WeakMap<"u"?new WeakMap:new He,at=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=We.getInstance(),r=new rt(t,n,this);ot.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){at.prototype[e]=function(){var t;return(t=ot.get(this))[e].apply(t,arguments)}}));var it=typeof Ue.ResizeObserver<"u"?Ue.ResizeObserver:at;function lt(e,t){Me.extend(e,t)}const st=t=>e.forwardRef(((e,n)=>{let{children:r,...o}=e;return gt(t,r,o,n)[0]}));function ut(){const e=Math.floor(16777216*Math.random()).toString(16).toUpperCase();return"#"+e.padStart(6,"0")==="#000000"?ut():"#"+e.padStart(6,"0")}const ct=e=>{let t=e.toString(16);return 1==t.length?"0"+t:t};function dt(e,t,n){return new Proxy(e,{set:(e,r,o)=>("object"==typeof o&&null!==o&&(o=dt(o,t)),t(e,r,o,n),e[r]=o,!0),get:(e,n)=>"object"==typeof e[n]&&null!==e[n]?dt(e[n],t,n):e[n]})}const ft=(e,t,n)=>{const r=e.getBoundingClientRect();return{x:(t.clientX-r.left)/(r.right-r.left)*n.width,y:(t.clientY-r.top)/(r.bottom-r.top)*n.height}},pt=e=>{let{x:t,y:n,canvasContext:r}=e,o=r.getImageData(t,n,1,1).data;return((e,t,n)=>"#"+ct(e)+ct(t)+ct(n))(o[0],o[1],o[2])},ht=e.createContext(),mt=e.createContext(),vt=e.createContext();function gt(t,n,r,o){const a=(0,e.useContext)(ht),i=(0,e.useContext)(mt),l=(0,e.useContext)(vt),s=(0,e.useMemo)((()=>ut()),[]),u=(0,e.useMemo)((()=>({stroke:!1,...r,color:s,leftFace:s,rightFace:s,topFace:s,bottomFace:s})),[s,r]),[c]=(0,e.useState)((()=>new t(r))),[d]=(0,e.useState)((()=>new t(u))),f=(e,t,n,r)=>{r?d[r][t]=n:d[t]=n,a.current.illu.updateRenderGraph()},[p]=(0,e.useState)((()=>dt(c,f)));return(0,e.useImperativeHandle)(o,(()=>p)),(0,e.useLayoutEffect)((()=>{lt(c,r),i&&a.current.illu.updateRenderGraph()}),[r]),(0,e.useLayoutEffect)((()=>{lt(d,u)}),[u]),(0,e.useLayoutEffect)((()=>{if(i)return i.addChild(c),a.current.illu.updateGraph(),()=>{i.removeChild(c),i.updateFlatGraph(),a.current.illu.updateGraph()}}),[i]),(0,e.useEffect)((()=>{if(i)return a.current.itemMap[s]=c,r.onClick&&(a.current.clickEventMap[s]=r.onClick),r.onPointerMove&&(a.current.pointerMoveEventMap[s]=r.onPointerMove),r.onPointerEnter&&(a.current.pointerEnterEventMap[s]=r.onPointerEnter),r.onPointerLeave&&(a.current.pointerLeaveEventMap[s]=r.onPointerLeave),()=>{delete a.current.itemMap[s],delete a.current.clickEventMap[s],delete a.current.pointerMoveEventMap[s],delete a.current.pointerEnterEventMap[s],delete a.current.pointerLeaveEventMap[s]}}),[r]),(0,e.useLayoutEffect)((()=>{if(l)return l.addChild(d),a.current.illu_ghost.updateGraph(),()=>{l.removeChild(d),l.updateFlatGraph(),a.current.illu_ghost.updateGraph()}}),[l]),[Fe.jsx(vt.Provider,{value:d,children:Fe.jsx(mt.Provider,{value:c,children:n})},s),c,d]}const yt=e.memo((t=>{let{children:n,style:r,resize:o,element:a="svg",frameloop:i="always",dragRotate:l,onDragMove:s=(()=>{}),onDragStart:u=(()=>{}),onDragEnd:c=(()=>{}),pointerEvents:d=!1,...f}=t;const p=(0,e.useRef)(),h=(0,e.useRef)(),[m,v]=(0,e.useState)(null);(0,e.useEffect)((()=>{v(h.current.getContext("2d",{willReadFrequently:!0}))}),[]);const[g,y]=function(){const t=(0,e.useRef)(),[n,r]=(0,e.useState)({left:0,top:0,width:0,height:0}),[o]=(0,e.useState)((()=>new it((e=>{let[t]=e;return r(t.contentRect)}))));return(0,e.useEffect)((()=>(t.current&&o.observe(t.current),()=>o.disconnect())),[t.current]),[{ref:t},n]}(),[b,w,S]=gt(Me.Anchor,n),k=(0,e.useRef)({scene:w,illu:void 0,size:{},subscribers:[],subscribe:e=>(k.current.subscribers.push(e),()=>k.current.subscribers=k.current.subscribers.filter((t=>t!==e))),illu_ghost:void 0,itemMap:{},clickEventMap:{},pointerMoveEventMap:{},pointerEnterEventMap:{},pointerLeaveEventMap:{},pointerEvents:d});(0,e.useEffect)((()=>{k.current.size=y,k.current.illu&&(k.current.illu.setSize(y.width,y.height),k.current.illu_ghost.setSize(y.width,y.height),"demand"===i&&(k.current.illu.updateRenderGraph(),k.current.illu_ghost.updateRenderGraph()))}),[y]),(0,e.useEffect)((()=>{k.current.illu=new Me.Illustration({element:p.current,dragRotate:l,onDragMove:()=>{k.current.illu_ghost.rotate={x:k.current.illu.rotate.x,y:k.current.illu.rotate.y,z:k.current.illu.rotate.z},s()},onDragStart:u,onDragEnd:c,...f}),k.current.illu.addChild(w),k.current.illu.updateGraph(),k.current.illu_ghost=new Me.Illustration({element:h.current,...f}),k.current.illu_ghost.addChild(S),k.current.illu_ghost.updateGraph();let e,t=!0;return function n(r){const{size:o,subscribers:a}=k.current;o.width&&o.height&&(a.forEach((e=>e(r))),"demand"!==i&&k.current.illu.updateRenderGraph()),t&&"demand"!==i&&(e=requestAnimationFrame(n))}(),()=>{t=!1,cancelAnimationFrame(e)}}),[i]),(0,e.useLayoutEffect)((()=>{k.current.illu&<(k.current.illu,f),k.current.illu_ghost&<(k.current.illu_ghost,f)}),[f]);const C=(0,e.useRef)(null),E=(0,e.useRef)(null);return Fe.jsxs(Fe.Fragment,{children:[Fe.jsxs("div",{ref:g.ref,...f,style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",boxSizing:"border-box",...r},children:[Fe.jsx(a,{ref:p,style:{display:"block",boxSizing:"border-box"},width:y.width,height:y.height,onClick:e=>{if(!d)return;k.current.illu_ghost&&k.current.illu_ghost.updateRenderGraph();const t=ft(p.current,e,h.current),n=pt({...t,canvasContext:m}).toUpperCase(),r=k.current.clickEventMap[n];r&&r(e,k.current.itemMap[n])},onPointerMove:e=>{if(!d)return;k.current.illu_ghost&&k.current.illu_ghost.updateRenderGraph();const t=ft(p.current,e,h.current),n=pt({...t,canvasContext:m}).toUpperCase();if("#000000"!==n&&C.current!==n&&E.current!==n){const t=k.current.pointerEnterEventMap[n];t&&t(e,k.current.itemMap[n]),(e=>{E.current=e})(C.current)}if(C.current&&"#000000"!==C.current&&C.current!==n&&E.current){const t=k.current.pointerLeaveEventMap[C.current];t&&t(e,k.current.itemMap[C.current])}const r=k.current.pointerMoveEventMap[n];r&&r(e,k.current.itemMap[n]),C.current=n}}),k.current.illu&&Fe.jsx(ht.Provider,{value:k,children:b})]}),Fe.jsx("canvas",{ref:h,style:{display:"block",boxSizing:"border-box",opacity:"0",position:"fixed",zIndex:"1000",pointerEvents:"none",background:"black"},width:y.width,height:y.height})]})})),bt=(st(Me.Anchor),st(Me.Shape)),wt=(st(Me.Group),st(Me.Rect),st(Me.RoundedRect),st(Me.Ellipse));st(Me.Polygon),st(Me.Hemisphere),st(Me.Cylinder),st(Me.Cone),st(Me.Box);var St=n(5971),kt=n(1694),Ct=n.n(kt);function Et(e){return"Enter"===e.key||" "===e.key}var xt={CENTER:"center",LEFT:"left",RIGHT:"right"},_t=0,Pt=1,Tt=2,Rt=3,Ot=4,At={NONE:"none",PRIMARY:"primary",SUCCESS:"success",WARNING:"warning",DANGER:"danger"},Lt="bottom",Nt="left",Dt="right",Mt="top";var It="bp5";"undefined"!==typeof BLUEPRINT_NAMESPACE?It=BLUEPRINT_NAMESPACE:"undefined"!==typeof REACT_APP_BLUEPRINT_NAMESPACE&&(It=REACT_APP_BLUEPRINT_NAMESPACE);var zt="".concat(It,"-active"),Ft="".concat(It,"-align-left"),Ht="".concat(It,"-align-right"),jt="".concat(It,"-compact"),Ut=("".concat(It,"-dark"),"".concat(It,"-disabled")),Bt="".concat(It,"-fill"),Gt=("".concat(It,"-fixed"),"".concat(It,"-fixed-top"),"".concat(It,"-inline")),Vt="".concat(It,"-interactive"),Wt="".concat(It,"-large"),$t="".concat(It,"-loading"),Kt="".concat(It,"-minimal"),qt="".concat(It,"-outlined"),Yt=("".concat(It,"-padded"),"".concat(It,"-multiline"),"".concat(It,"-read-only"),"".concat(It,"-round"),"".concat(It,"-selected")),Qt="".concat(It,"-small"),Xt="".concat(It,"-vertical"),Zt=(Pr(Mt),Pr(Lt),Pr(Nt),Pr(Dt),Er(_t),Er(Pt),Er(Tt),Er(Rt),Er(Ot),_r(At.PRIMARY),_r(At.SUCCESS),_r(At.WARNING),_r(At.DANGER),"".concat(It,"-focus-disabled"),"".concat(It,"-focus-style-manager-ignore"),"".concat(It,"-ui-text"),"".concat(It,"-running-text"),"".concat(It,"-monospace-text"),"".concat(It,"-text-large"),"".concat(It,"-text-small"),"".concat(It,"-text-muted")),Jt=("".concat(It,"-text-disabled"),"".concat(It,"-text-overflow-ellipsis"),"".concat(It,"-blockquote")),en="".concat(It,"-code"),tn="".concat(It,"-code-block"),nn="".concat(It,"-heading"),rn="".concat(It,"-list"),on=("".concat(It,"-list-unstyled"),"".concat(It,"-rtl"),"".concat(It,"-alert")),an=("".concat(on,"-body"),"".concat(on,"-contents"),"".concat(on,"-footer"),"".concat(It,"-breadcrumb")),ln=("".concat(an,"-current"),"".concat(an,"s"),"".concat(an,"s-collapsed"),"".concat(It,"-button")),sn=("".concat(ln,"-group"),"".concat(ln,"-spinner")),un="".concat(ln,"-text"),cn="".concat(It,"-callout"),dn=("".concat(cn,"-has-body-content"),"".concat(cn,"-icon"),"".concat(It,"-card")),fn="".concat(It,"-control-card"),pn=("".concat(fn,"-label"),"".concat(It,"-switch-control-card"),"".concat(It,"-checkbox-control-card"),"".concat(It,"-card-list")),hn=("".concat(pn,"-bordered"),"".concat(It,"-collapse")),mn="".concat(hn,"-body"),vn="".concat(It,"-context-menu"),gn=("".concat(vn,"-virtual-target"),"".concat(vn,"-popover"),"".concat(vn,"-backdrop"),"".concat(It,"-control-group"),"".concat(It,"-dialog")),yn=("".concat(gn,"-container"),"".concat(gn,"-header"),"".concat(gn,"-body"),"".concat(gn,"-body-scroll-container"),"".concat(gn,"-close-button"),"".concat(gn,"-footer"),"".concat(gn,"-footer-fixed"),"".concat(gn,"-footer-main-section"),"".concat(gn,"-footer-actions"),"".concat(It,"-dialog-step")),bn=("".concat(yn,"-container"),"".concat(yn,"-title"),"".concat(yn,"-icon"),"".concat(yn,"-viewed"),"".concat(It,"-divider"),"".concat(It,"-drawer")),wn=("".concat(bn,"-body"),"".concat(bn,"-footer"),"".concat(bn,"-header"),"".concat(It,"-editable-text")),Sn=("".concat(wn,"-content"),"".concat(wn,"-editing"),"".concat(wn,"-input"),"".concat(wn,"-placeholder"),"".concat(It,"-flex-expander"),"".concat(It,"-html-select"),"".concat(It,"-select"),"".concat(It,"-html-table")),kn=("".concat(Sn,"-bordered"),"".concat(Sn,"-striped"),"".concat(It,"-input")),Cn=("".concat(kn,"-ghost"),"".concat(kn,"-group"),"".concat(kn,"-left-container"),"".concat(kn,"-action"),"".concat(It,"-resizable-input-span"),"".concat(It,"-text-area")),En=("".concat(Cn,"-auto-resize"),"".concat(It,"-control")),xn="".concat(En,"-indicator"),_n="".concat(xn,"-child"),Pn="".concat(It,"-checkbox"),Tn="".concat(It,"-radio"),Rn="".concat(It,"-switch"),On="".concat(Rn,"-inner-text"),An=("".concat(It,"-file-input"),"".concat(It,"-file-input-has-selection"),"".concat(It,"-file-upload-input"),"".concat(It,"-file-upload-input-custom-text"),"".concat(It,"-key")),Ln=("".concat(An,"-combo"),"".concat(It,"-modifier-key"),"".concat(It,"-hotkey")),Nn=("".concat(Ln,"-label"),"".concat(Ln,"-column"),"".concat(Ln,"-dialog"),"".concat(It,"-label")),Dn=("".concat(It,"-form-group"),"".concat(It,"-form-content"),"".concat(It,"-form-helper-text"),"".concat(It,"-form-group-sub-label"),"".concat(It,"-menu")),Mn="".concat(Dn,"-item"),In=("".concat(Mn,"-is-selectable"),"".concat(Mn,"-selected-icon"),"".concat(Mn,"-icon"),"".concat(Mn,"-label"),"".concat(It,"-submenu")),zn=("".concat(In,"-icon"),"".concat(Dn,"-divider"),"".concat(Dn,"-header"),"".concat(It,"-multistep-dialog")),Fn=("".concat(zn,"-panels"),"".concat(zn,"-left-panel"),"".concat(zn,"-right-panel"),"".concat(zn,"-nav-top"),"".concat(zn,"-nav-right"),"".concat(It,"-section")),Hn="".concat(Fn,"-collapsed"),jn="".concat(Fn,"-header"),Un="".concat(jn,"-left"),Bn="".concat(jn,"-title"),Gn="".concat(jn,"-sub-title"),Vn=("".concat(jn,"-divider"),"".concat(jn,"-tabs"),"".concat(jn,"-right")),Wn=("".concat(Fn,"-card"),"".concat(It,"-navbar")),$n=("".concat(Wn,"-group"),"".concat(Wn,"-heading"),"".concat(Wn,"-divider"),"".concat(It,"-non-ideal-state")),Kn=("".concat($n,"-visual"),"".concat($n,"-text"),"".concat(It,"-numeric-input"),"".concat(It,"-overflow-list")),qn=("".concat(Kn,"-spacer"),"".concat(It,"-overlay")),Yn=("".concat(qn,"-backdrop"),"".concat(qn,"-container"),"".concat(qn,"-content"),"".concat(qn,"-inline"),"".concat(qn,"-open"),"".concat(qn,"-scroll-container"),"".concat(qn,"-start-focus-trap"),"".concat(qn,"-end-focus-trap"),"".concat(It,"-panel-stack")),Qn=("".concat(Yn,"-header"),"".concat(Yn,"-header-back"),"".concat(Yn,"-view"),"".concat(It,"-panel-stack2"),"".concat(Yn,"-header"),"".concat(Yn,"-header-back"),"".concat(Yn,"-view"),"".concat(It,"-popover")),Xn=("".concat(Qn,"-arrow"),"".concat(Qn,"-backdrop"),"".concat(Qn,"-capturing-dismiss"),"".concat(Qn,"-content")),Zn=("".concat(Qn,"-placement"),"".concat(Xn,"-sizing"),"".concat(Qn,"-dismiss")),Jn=("".concat(Zn,"-override"),"".concat(Qn,"-match-target-width"),"".concat(Qn,"-open"),"".concat(Qn,"-popper-escaped"),"".concat(Qn,"-reference-hidden"),"".concat(Qn,"-target"),"".concat(Qn,"-transition-container"),"".concat(Qn,"-wrapper"),"".concat(It,"-progress-bar"),"".concat(It,"-progress-meter"),"".concat(It,"-no-stripes"),"".concat(It,"-no-animation"),"".concat(It,"-portal"),"".concat(It,"-skeleton"),"".concat(It,"-slider")),er="".concat(Jn,"-axis"),tr="".concat(Jn,"-handle"),nr="".concat(Jn,"-label"),rr="".concat(Jn,"-track"),or="".concat(Jn,"-progress"),ar="".concat(It,"-start"),ir="".concat(It,"-end"),lr="".concat(It,"-spinner"),sr="".concat(lr,"-animation"),ur="".concat(lr,"-head"),cr="".concat(It,"-no-spin"),dr="".concat(lr,"-track"),fr="".concat(It,"-tab"),pr=("".concat(fr,"-icon"),"".concat(fr,"-tag"),"".concat(fr,"-indicator")),hr=("".concat(pr,"-wrapper"),"".concat(fr,"-list"),"".concat(fr,"-panel"),"".concat(fr,"s"),"".concat(It,"-tag")),mr=("".concat(hr,"-remove"),"".concat(It,"-tag-input")),vr=("".concat(mr,"-icon"),"".concat(mr,"-values"),"".concat(It,"-toast")),gr=("".concat(vr,"-container"),"".concat(vr,"-message"),"".concat(It,"-tooltip")),yr=("".concat(gr,"-indicator"),"".concat(It,"-tree"),"".concat(It,"-tree-node")),br="".concat(yr,"-caret"),wr=("".concat(br,"-closed"),"".concat(br,"-none"),"".concat(br,"-open"),"".concat(yr,"-content"),"".concat(yr,"-expanded"),"".concat(yr,"-icon"),"".concat(yr,"-label"),"".concat(yr,"-list"),"".concat(yr,"-secondary-label"),"".concat(yr,"-selected"),"".concat(It,"-tree-root"),"".concat(It,"-icon")),Sr="".concat(wr,"-standard"),kr="".concat(wr,"-large");function Cr(e){switch(e){case xt.LEFT:return Ft;case xt.RIGHT:return Ht;default:return}}function Er(e){if(void 0!==e)return"".concat(It,"-elevation-").concat(e)}function xr(e){if(null!=e)return 0===e.indexOf("".concat(It,"-icon-"))?e:"".concat(It,"-icon-").concat(e)}function _r(e){if(null!=e&&e!==At.NONE)return"".concat(It,"-intent-").concat(e.toLowerCase())}function Pr(e){if(void 0!==e)return"".concat(It,"-position-").concat(e)}function Tr(e,t){return void 0===t&&(t=!1),null==e||""===e||!1===e||!t&&Array.isArray(e)&&(0===e.length||e.every((function(e){return Tr(e,!0)})))}function Rr(e,t){return null!=e&&null!=e.type&&null!=e.type.displayName&&e.type.displayName===t.displayName}var Or="Blueprint5",Ar=["active","alignText","asyncControl","containerRef","current","elementRef","fill","icon","iconSize","inputClassName","inputRef","intent","inline","large","loading","leftElement","leftIcon","minimal","onRemove","outlined","panel","panelClassName","popoverProps","rightElement","rightIcon","round","size","small","tagName","text"];function Lr(e,t,n){return void 0===t&&(t=Ar),void 0===n&&(n=!1),n&&(t=t.concat(Ar)),t.reduce((function(e,t){return-1!==t.indexOf("-")||e.hasOwnProperty(t)&&delete e[t],e}),(0,St.pi)({},e))}function Nr(e,t){var n;null!=(n=e)&&"function"!==typeof n?e.current=t:function(e){return"function"===typeof e}(e)&&e(t)}function Dr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){e.forEach((function(e){Nr(e,t)}))}}var Mr,Ir,zr=n(5353),Fr=n(5530),Hr=n(7254);function jr(e,t){return void 0===t&&(t={}),function(e,t){return void 0===t&&(t={}),(0,Hr.B)(e,(0,St.pi)({delimiter:"."},t))}(e,(0,St.pi)({delimiter:"_"},t))}!function(e){e.AddClip="add-clip",e.AddColumnLeft="add-column-left",e.AddColumnRight="add-column-right",e.AddLocation="add-location",e.AddRowBottom="add-row-bottom",e.AddRowTop="add-row-top",e.AddToArtifact="add-to-artifact",e.AddToFolder="add-to-folder",e.Add="add",e.AimpointsTarget="aimpoints-target",e.Airplane="airplane",e.AlignCenter="align-center",e.AlignJustify="align-justify",e.AlignLeft="align-left",e.AlignRight="align-right",e.AlignmentBottom="alignment-bottom",e.AlignmentHorizontalCenter="alignment-horizontal-center",e.AlignmentLeft="alignment-left",e.AlignmentRight="alignment-right",e.AlignmentTop="alignment-top",e.AlignmentVerticalCenter="alignment-vertical-center",e.Ammunition="ammunition",e.Anchor="anchor",e.Annotation="annotation",e.Antenna="antenna",e.AppHeader="app-header",e.Application="application",e.Applications="applications",e.Archive="archive",e.AreaOfInterest="area-of-interest",e.ArrayBoolean="array-boolean",e.ArrayDate="array-date",e.ArrayFloatingPoint="array-floating-point",e.ArrayNumeric="array-numeric",e.ArrayString="array-string",e.ArrayTimestamp="array-timestamp",e.Array="array",e.ArrowBottomLeft="arrow-bottom-left",e.ArrowBottomRight="arrow-bottom-right",e.ArrowDown="arrow-down",e.ArrowLeft="arrow-left",e.ArrowRight="arrow-right",e.ArrowTopLeft="arrow-top-left",e.ArrowTopRight="arrow-top-right",e.ArrowUp="arrow-up",e.ArrowsHorizontal="arrows-horizontal",e.ArrowsVertical="arrows-vertical",e.Asterisk="asterisk",e.At="at",e.AutomaticUpdates="automatic-updates",e.Axle="axle",e.Backlink="backlink",e.Badge="badge",e.BanCircle="ban-circle",e.BankAccount="bank-account",e.Barcode="barcode",e.Blank="blank",e.BlockedPerson="blocked-person",e.Bold="bold",e.Book="book",e.Bookmark="bookmark",e.Box="box",e.Briefcase="briefcase",e.BringData="bring-data",e.Bug="bug",e.Buggy="buggy",e.Build="build",e.Calculator="calculator",e.Calendar="calendar",e.Camera="camera",e.CaretDown="caret-down",e.CaretLeft="caret-left",e.CaretRight="caret-right",e.CaretUp="caret-up",e.CargoShip="cargo-ship",e.CellTower="cell-tower",e.Changes="changes",e.Chart="chart",e.Chat="chat",e.ChevronBackward="chevron-backward",e.ChevronDown="chevron-down",e.ChevronForward="chevron-forward",e.ChevronLeft="chevron-left",e.ChevronRight="chevron-right",e.ChevronUp="chevron-up",e.CircleArrowDown="circle-arrow-down",e.CircleArrowLeft="circle-arrow-left",e.CircleArrowRight="circle-arrow-right",e.CircleArrowUp="circle-arrow-up",e.Circle="circle",e.Citation="citation",e.Clean="clean",e.Clip="clip",e.Clipboard="clipboard",e.CloudDownload="cloud-download",e.CloudUpload="cloud-upload",e.Cloud="cloud",e.CodeBlock="code-block",e.Code="code",e.Cog="cog",e.CollapseAll="collapse-all",e.ColorFill="color-fill",e.ColumnLayout="column-layout",e.Comment="comment",e.Comparison="comparison",e.Compass="compass",e.Compressed="compressed",e.Confirm="confirm",e.Console="console",e.Contrast="contrast",e.Control="control",e.CreditCard="credit-card",e.CrossCircle="cross-circle",e.Cross="cross",e.Crown="crown",e.CubeAdd="cube-add",e.CubeRemove="cube-remove",e.Cube="cube",e.CurvedRangeChart="curved-range-chart",e.Cut="cut",e.Cycle="cycle",e.Dashboard="dashboard",e.DataConnection="data-connection",e.DataLineage="data-lineage",e.Database="database",e.Delete="delete",e.Delta="delta",e.DeriveColumn="derive-column",e.Desktop="desktop",e.Detection="detection",e.Diagnosis="diagnosis",e.DiagramTree="diagram-tree",e.DirectionLeft="direction-left",e.DirectionRight="direction-right",e.Disable="disable",e.Divide="divide",e.DocumentOpen="document-open",e.DocumentShare="document-share",e.Document="document",e.Dollar="dollar",e.Dot="dot",e.DoubleCaretHorizontal="double-caret-horizontal",e.DoubleCaretVertical="double-caret-vertical",e.DoubleChevronDown="double-chevron-down",e.DoubleChevronLeft="double-chevron-left",e.DoubleChevronRight="double-chevron-right",e.DoubleChevronUp="double-chevron-up",e.DoughnutChart="doughnut-chart",e.Download="download",e.DragHandleHorizontal="drag-handle-horizontal",e.DragHandleVertical="drag-handle-vertical",e.Draw="draw",e.DrawerLeftFilled="drawer-left-filled",e.DrawerLeft="drawer-left",e.DrawerRightFilled="drawer-right-filled",e.DrawerRight="drawer-right",e.DriveTime="drive-time",e.Duplicate="duplicate",e.Edit="edit",e.Eject="eject",e.Emoji="emoji",e.Endorsed="endorsed",e.Envelope="envelope",e.Equals="equals",e.Eraser="eraser",e.Error="error",e.Euro="euro",e.Exchange="exchange",e.ExcludeRow="exclude-row",e.ExpandAll="expand-all",e.Export="export",e.EyeOff="eye-off",e.EyeOn="eye-on",e.EyeOpen="eye-open",e.FastBackward="fast-backward",e.FastForward="fast-forward",e.FeedSubscribed="feed-subscribed",e.Feed="feed",e.Film="film",e.FilterKeep="filter-keep",e.FilterList="filter-list",e.FilterOpen="filter-open",e.FilterRemove="filter-remove",e.Filter="filter",e.Flag="flag",e.Flame="flame",e.Flash="flash",e.FloatingPoint="floating-point",e.FloppyDisk="floppy-disk",e.FlowBranch="flow-branch",e.FlowEnd="flow-end",e.FlowLinear="flow-linear",e.FlowReviewBranch="flow-review-branch",e.FlowReview="flow-review",e.Flows="flows",e.FolderClose="folder-close",e.FolderNew="folder-new",e.FolderOpen="folder-open",e.FolderSharedOpen="folder-shared-open",e.FolderShared="folder-shared",e.Follower="follower",e.Following="following",e.Font="font",e.Fork="fork",e.Form="form",e.Fuel="fuel",e.FullCircle="full-circle",e.FullStackedChart="full-stacked-chart",e.Fullscreen="fullscreen",e.Function="function",e.GanttChart="gantt-chart",e.Geofence="geofence",e.Geolocation="geolocation",e.Geosearch="geosearch",e.Geotime="geotime",e.GitBranch="git-branch",e.GitCommit="git-commit",e.GitMerge="git-merge",e.GitNewBranch="git-new-branch",e.GitPull="git-pull",e.GitPush="git-push",e.GitRepo="git-repo",e.Glass="glass",e.GlobeNetwork="globe-network",e.Globe="globe",e.GraphRemove="graph-remove",e.Graph="graph",e.GreaterThanOrEqualTo="greater-than-or-equal-to",e.GreaterThan="greater-than",e.GridView="grid-view",e.Grid="grid",e.GroupObjects="group-objects",e.GroupedBarChart="grouped-bar-chart",e.HandDown="hand-down",e.HandLeft="hand-left",e.HandRight="hand-right",e.HandUp="hand-up",e.Hand="hand",e.Hat="hat",e.HeaderOne="header-one",e.HeaderThree="header-three",e.HeaderTwo="header-two",e.Header="header",e.Headset="headset",e.HeartBroken="heart-broken",e.Heart="heart",e.HeatGrid="heat-grid",e.Heatmap="heatmap",e.Helicopter="helicopter",e.Help="help",e.HelperManagement="helper-management",e.HighPriority="high-priority",e.HighVoltagePole="high-voltage-pole",e.Highlight="highlight",e.History="history",e.Home="home",e.HorizontalBarChartAsc="horizontal-bar-chart-asc",e.HorizontalBarChartDesc="horizontal-bar-chart-desc",e.HorizontalBarChart="horizontal-bar-chart",e.HorizontalDistribution="horizontal-distribution",e.HorizontalInbetween="horizontal-inbetween",e.Hurricane="hurricane",e.IdNumber="id-number",e.ImageRotateLeft="image-rotate-left",e.ImageRotateRight="image-rotate-right",e.Import="import",e.InboxFiltered="inbox-filtered",e.InboxGeo="inbox-geo",e.InboxSearch="inbox-search",e.InboxUpdate="inbox-update",e.Inbox="inbox",e.InfoSign="info-sign",e.Inheritance="inheritance",e.InheritedGroup="inherited-group",e.InnerJoin="inner-join",e.Insert="insert",e.Intelligence="intelligence",e.Intersection="intersection",e.IpAddress="ip-address",e.IssueClosed="issue-closed",e.IssueNew="issue-new",e.Issue="issue",e.Italic="italic",e.JoinTable="join-table",e.KeyBackspace="key-backspace",e.KeyCommand="key-command",e.KeyControl="key-control",e.KeyDelete="key-delete",e.KeyEnter="key-enter",e.KeyEscape="key-escape",e.KeyOption="key-option",e.KeyShift="key-shift",e.KeyTab="key-tab",e.Key="key",e.KnownVehicle="known-vehicle",e.LabTest="lab-test",e.Label="label",e.LayerOutline="layer-outline",e.Layer="layer",e.Layers="layers",e.LayoutAuto="layout-auto",e.LayoutBalloon="layout-balloon",e.LayoutCircle="layout-circle",e.LayoutGrid="layout-grid",e.LayoutGroupBy="layout-group-by",e.LayoutHierarchy="layout-hierarchy",e.LayoutLinear="layout-linear",e.LayoutSkewGrid="layout-skew-grid",e.LayoutSortedClusters="layout-sorted-clusters",e.Layout="layout",e.Learning="learning",e.LeftJoin="left-join",e.LengthenText="lengthen-text",e.LessThanOrEqualTo="less-than-or-equal-to",e.LessThan="less-than",e.Lifesaver="lifesaver",e.Lightbulb="lightbulb",e.Lightning="lightning",e.Link="link",e.ListColumns="list-columns",e.ListDetailView="list-detail-view",e.List="list",e.Locate="locate",e.Lock="lock",e.Locomotive="locomotive",e.LogIn="log-in",e.LogOut="log-out",e.LowVoltagePole="low-voltage-pole",e.Manual="manual",e.ManuallyEnteredData="manually-entered-data",e.ManyToMany="many-to-many",e.ManyToOne="many-to-one",e.MapCreate="map-create",e.MapMarker="map-marker",e.Map="map",e.Maximize="maximize",e.Media="media",e.MenuClosed="menu-closed",e.MenuOpen="menu-open",e.Menu="menu",e.MergeColumns="merge-columns",e.MergeLinks="merge-links",e.Microphone="microphone",e.Minimize="minimize",e.Minus="minus",e.MobilePhone="mobile-phone",e.MobileVideo="mobile-video",e.ModalFilled="modal-filled",e.Modal="modal",e.Model="model",e.Moon="moon",e.More="more",e.Mountain="mountain",e.Move="move",e.Mugshot="mugshot",e.MultiSelect="multi-select",e.Music="music",e.Nest="nest",e.NewDrawing="new-drawing",e.NewGridItem="new-grid-item",e.NewLayer="new-layer",e.NewLayers="new-layers",e.NewLink="new-link",e.NewObject="new-object",e.NewPerson="new-person",e.NewPrescription="new-prescription",e.NewShield="new-shield",e.NewTextBox="new-text-box",e.Ninja="ninja",e.NotEqualTo="not-equal-to",e.NotificationsSnooze="notifications-snooze",e.NotificationsUpdated="notifications-updated",e.Notifications="notifications",e.NumberedList="numbered-list",e.Numerical="numerical",e.Office="office",e.Offline="offline",e.OilField="oil-field",e.OneColumn="one-column",e.OneToMany="one-to-many",e.OneToOne="one-to-one",e.OpenApplication="open-application",e.Outdated="outdated",e.PageLayout="page-layout",e.PanelStats="panel-stats",e.PanelTable="panel-table",e.Paperclip="paperclip",e.Paragraph="paragraph",e.PasteVariable="paste-variable",e.PathSearch="path-search",e.Path="path",e.Pause="pause",e.People="people",e.Percentage="percentage",e.Person="person",e.PhoneCall="phone-call",e.PhoneForward="phone-forward",e.Phone="phone",e.PieChart="pie-chart",e.Pin="pin",e.PivotTable="pivot-table",e.Pivot="pivot",e.Play="play",e.Playbook="playbook",e.Plus="plus",e.PolygonFilter="polygon-filter",e.Power="power",e.PredictiveAnalysis="predictive-analysis",e.Prescription="prescription",e.Presentation="presentation",e.Print="print",e.Projects="projects",e.Properties="properties",e.Property="property",e.PublishFunction="publish-function",e.Pulse="pulse",e.Rain="rain",e.Random="random",e.Record="record",e.RectHeight="rect-height",e.RectWidth="rect-width",e.Rectangle="rectangle",e.Redo="redo",e.Refresh="refresh",e.Regex="regex",e.RegressionChart="regression-chart",e.RemoveColumnLeft="remove-column-left",e.RemoveColumnRight="remove-column-right",e.RemoveColumn="remove-column",e.RemoveRowBottom="remove-row-bottom",e.RemoveRowTop="remove-row-top",e.Remove="remove",e.Repeat="repeat",e.Reset="reset",e.Resolve="resolve",e.Rig="rig",e.RightJoin="right-join",e.Ring="ring",e.RocketSlant="rocket-slant",e.Rocket="rocket",e.RotateDocument="rotate-document",e.RotatePage="rotate-page",e.Route="route",e.Satellite="satellite",e.Saved="saved",e.ScatterPlot="scatter-plot",e.SearchAround="search-around",e.SearchTemplate="search-template",e.SearchText="search-text",e.Search="search",e.SegmentedControl="segmented-control",e.Select="select",e.Selection="selection",e.SendMessage="send-message",e.SendToGraph="send-to-graph",e.SendToMap="send-to-map",e.SendTo="send-to",e.Sensor="sensor",e.SeriesAdd="series-add",e.SeriesConfiguration="series-configuration",e.SeriesDerived="series-derived",e.SeriesFiltered="series-filtered",e.SeriesSearch="series-search",e.Settings="settings",e.Shapes="shapes",e.Share="share",e.SharedFilter="shared-filter",e.Shield="shield",e.Ship="ship",e.Shop="shop",e.ShoppingCart="shopping-cart",e.ShortenText="shorten-text",e.SignalSearch="signal-search",e.SimCard="sim-card",e.Slash="slash",e.SmallCross="small-cross",e.SmallInfoSign="small-info-sign",e.SmallMinus="small-minus",e.SmallPlus="small-plus",e.SmallSquare="small-square",e.SmallTick="small-tick",e.Snowflake="snowflake",e.SocialMedia="social-media",e.SortAlphabeticalDesc="sort-alphabetical-desc",e.SortAlphabetical="sort-alphabetical",e.SortAsc="sort-asc",e.SortDesc="sort-desc",e.SortNumericalDesc="sort-numerical-desc",e.SortNumerical="sort-numerical",e.Sort="sort",e.SpellCheck="spell-check",e.SplitColumns="split-columns",e.Square="square",e.StackedChart="stacked-chart",e.StadiumGeometry="stadium-geometry",e.StarEmpty="star-empty",e.Star="star",e.StepBackward="step-backward",e.StepChart="step-chart",e.StepForward="step-forward",e.Stop="stop",e.Stopwatch="stopwatch",e.Strikethrough="strikethrough",e.Style="style",e.Subscript="subscript",e.Superscript="superscript",e.SwapHorizontal="swap-horizontal",e.SwapVertical="swap-vertical",e.Switch="switch",e.SymbolCircle="symbol-circle",e.SymbolCross="symbol-cross",e.SymbolDiamond="symbol-diamond",e.SymbolRectangle="symbol-rectangle",e.SymbolSquare="symbol-square",e.SymbolTriangleDown="symbol-triangle-down",e.SymbolTriangleUp="symbol-triangle-up",e.Syringe="syringe",e.Tag="tag",e.TakeAction="take-action",e.Tank="tank",e.Target="target",e.Taxi="taxi",e.Temperature="temperature",e.TextHighlight="text-highlight",e.ThDerived="th-derived",e.ThDisconnect="th-disconnect",e.ThFiltered="th-filtered",e.ThList="th-list",e.Th="th",e.ThirdParty="third-party",e.ThumbsDown="thumbs-down",e.ThumbsUp="thumbs-up",e.TickCircle="tick-circle",e.Tick="tick",e.Time="time",e.TimelineAreaChart="timeline-area-chart",e.TimelineBarChart="timeline-bar-chart",e.TimelineEvents="timeline-events",e.TimelineLineChart="timeline-line-chart",e.Tint="tint",e.Torch="torch",e.Tractor="tractor",e.Train="train",e.Translate="translate",e.Trash="trash",e.Tree="tree",e.TrendingDown="trending-down",e.TrendingUp="trending-up",e.Truck="truck",e.TwoColumns="two-columns",e.Unarchive="unarchive",e.Underline="underline",e.Undo="undo",e.UngroupObjects="ungroup-objects",e.UnknownVehicle="unknown-vehicle",e.Unlink="unlink",e.Unlock="unlock",e.Unpin="unpin",e.Unresolve="unresolve",e.Updated="updated",e.Upload="upload",e.User="user",e.Variable="variable",e.VerticalBarChartAsc="vertical-bar-chart-asc",e.VerticalBarChartDesc="vertical-bar-chart-desc",e.VerticalDistribution="vertical-distribution",e.VerticalInbetween="vertical-inbetween",e.Video="video",e.Virus="virus",e.VolumeDown="volume-down",e.VolumeOff="volume-off",e.VolumeUp="volume-up",e.Walk="walk",e.WarningSign="warning-sign",e.WaterfallChart="waterfall-chart",e.Waves="waves",e.WidgetButton="widget-button",e.WidgetFooter="widget-footer",e.WidgetHeader="widget-header",e.Widget="widget",e.Wind="wind",e.Wrench="wrench",e.ZoomIn="zoom-in",e.ZoomOut="zoom-out",e.ZoomToFit="zoom-to-fit"}(Ir||(Ir={}));(Mr={})[Ir.AddClip]="61697",Mr[Ir.AddColumnLeft]="61698",Mr[Ir.AddColumnRight]="61699",Mr[Ir.AddLocation]="61700",Mr[Ir.AddRowBottom]="61701",Mr[Ir.AddRowTop]="61702",Mr[Ir.AddToArtifact]="61703",Mr[Ir.AddToFolder]="61704",Mr[Ir.Add]="61705",Mr[Ir.AimpointsTarget]="62261",Mr[Ir.Airplane]="61706",Mr[Ir.AlignCenter]="61707",Mr[Ir.AlignJustify]="61708",Mr[Ir.AlignLeft]="61709",Mr[Ir.AlignRight]="61710",Mr[Ir.AlignmentBottom]="61711",Mr[Ir.AlignmentHorizontalCenter]="61712",Mr[Ir.AlignmentLeft]="61713",Mr[Ir.AlignmentRight]="61714",Mr[Ir.AlignmentTop]="61715",Mr[Ir.AlignmentVerticalCenter]="61716",Mr[Ir.Ammunition]="62274",Mr[Ir.Anchor]="62256",Mr[Ir.Annotation]="61717",Mr[Ir.Antenna]="61718",Mr[Ir.AppHeader]="61719",Mr[Ir.Application]="61720",Mr[Ir.Applications]="61721",Mr[Ir.Archive]="61722",Mr[Ir.AreaOfInterest]="61723",Mr[Ir.ArrayBoolean]="61724",Mr[Ir.ArrayDate]="61725",Mr[Ir.ArrayFloatingPoint]="62253",Mr[Ir.ArrayNumeric]="61726",Mr[Ir.ArrayString]="61727",Mr[Ir.ArrayTimestamp]="61728",Mr[Ir.Array]="61729",Mr[Ir.ArrowBottomLeft]="61730",Mr[Ir.ArrowBottomRight]="61731",Mr[Ir.ArrowDown]="61732",Mr[Ir.ArrowLeft]="61733",Mr[Ir.ArrowRight]="61734",Mr[Ir.ArrowTopLeft]="61735",Mr[Ir.ArrowTopRight]="61736",Mr[Ir.ArrowUp]="61737",Mr[Ir.ArrowsHorizontal]="61738",Mr[Ir.ArrowsVertical]="61739",Mr[Ir.Asterisk]="61740",Mr[Ir.At]="62257",Mr[Ir.AutomaticUpdates]="61741",Mr[Ir.Axle]="62264",Mr[Ir.Backlink]="61742",Mr[Ir.Badge]="61743",Mr[Ir.BanCircle]="61744",Mr[Ir.BankAccount]="61745",Mr[Ir.Barcode]="61746",Mr[Ir.Blank]="61747",Mr[Ir.BlockedPerson]="61748",Mr[Ir.Bold]="61749",Mr[Ir.Book]="61750",Mr[Ir.Bookmark]="61751",Mr[Ir.Box]="61752",Mr[Ir.Briefcase]="61753",Mr[Ir.BringData]="61754",Mr[Ir.Bug]="62254",Mr[Ir.Buggy]="61755",Mr[Ir.Build]="61756",Mr[Ir.Calculator]="61757",Mr[Ir.Calendar]="61758",Mr[Ir.Camera]="61759",Mr[Ir.CaretDown]="61760",Mr[Ir.CaretLeft]="61761",Mr[Ir.CaretRight]="61762",Mr[Ir.CaretUp]="61763",Mr[Ir.CargoShip]="61764",Mr[Ir.CellTower]="61765",Mr[Ir.Changes]="61766",Mr[Ir.Chart]="61767",Mr[Ir.Chat]="61768",Mr[Ir.ChevronBackward]="61769",Mr[Ir.ChevronDown]="61770",Mr[Ir.ChevronForward]="61771",Mr[Ir.ChevronLeft]="61772",Mr[Ir.ChevronRight]="61773",Mr[Ir.ChevronUp]="61774",Mr[Ir.CircleArrowDown]="61775",Mr[Ir.CircleArrowLeft]="61776",Mr[Ir.CircleArrowRight]="61777",Mr[Ir.CircleArrowUp]="61778",Mr[Ir.Circle]="61779",Mr[Ir.Citation]="61780",Mr[Ir.Clean]="61781",Mr[Ir.Clip]="61782",Mr[Ir.Clipboard]="61783",Mr[Ir.CloudDownload]="61784",Mr[Ir.CloudUpload]="61785",Mr[Ir.Cloud]="61786",Mr[Ir.CodeBlock]="61787",Mr[Ir.Code]="61788",Mr[Ir.Cog]="61789",Mr[Ir.CollapseAll]="61790",Mr[Ir.ColorFill]="62248",Mr[Ir.ColumnLayout]="61791",Mr[Ir.Comment]="61792",Mr[Ir.Comparison]="61793",Mr[Ir.Compass]="61794",Mr[Ir.Compressed]="61795",Mr[Ir.Confirm]="61796",Mr[Ir.Console]="61797",Mr[Ir.Contrast]="61798",Mr[Ir.Control]="61799",Mr[Ir.CreditCard]="61800",Mr[Ir.CrossCircle]="62262",Mr[Ir.Cross]="61801",Mr[Ir.Crown]="61802",Mr[Ir.CubeAdd]="61803",Mr[Ir.CubeRemove]="61804",Mr[Ir.Cube]="61805",Mr[Ir.CurvedRangeChart]="61806",Mr[Ir.Cut]="61807",Mr[Ir.Cycle]="61808",Mr[Ir.Dashboard]="61809",Mr[Ir.DataConnection]="61810",Mr[Ir.DataLineage]="61811",Mr[Ir.Database]="61812",Mr[Ir.Delete]="61813",Mr[Ir.Delta]="61814",Mr[Ir.DeriveColumn]="61815",Mr[Ir.Desktop]="61816",Mr[Ir.Detection]="62273",Mr[Ir.Diagnosis]="61817",Mr[Ir.DiagramTree]="61818",Mr[Ir.DirectionLeft]="61819",Mr[Ir.DirectionRight]="61820",Mr[Ir.Disable]="61821",Mr[Ir.Divide]="62247",Mr[Ir.DocumentOpen]="61822",Mr[Ir.DocumentShare]="61823",Mr[Ir.Document]="61824",Mr[Ir.Dollar]="61825",Mr[Ir.Dot]="61826",Mr[Ir.DoubleCaretHorizontal]="61827",Mr[Ir.DoubleCaretVertical]="61828",Mr[Ir.DoubleChevronDown]="61829",Mr[Ir.DoubleChevronLeft]="61830",Mr[Ir.DoubleChevronRight]="61831",Mr[Ir.DoubleChevronUp]="61832",Mr[Ir.DoughnutChart]="61833",Mr[Ir.Download]="61834",Mr[Ir.DragHandleHorizontal]="61835",Mr[Ir.DragHandleVertical]="61836",Mr[Ir.Draw]="61837",Mr[Ir.DrawerLeftFilled]="61838",Mr[Ir.DrawerLeft]="61839",Mr[Ir.DrawerRightFilled]="61840",Mr[Ir.DrawerRight]="61841",Mr[Ir.DriveTime]="61842",Mr[Ir.Duplicate]="61843",Mr[Ir.Edit]="61844",Mr[Ir.Eject]="61845",Mr[Ir.Emoji]="61846",Mr[Ir.Endorsed]="61847",Mr[Ir.Envelope]="61848",Mr[Ir.Equals]="61849",Mr[Ir.Eraser]="61850",Mr[Ir.Error]="61851",Mr[Ir.Euro]="61852",Mr[Ir.Exchange]="61853",Mr[Ir.ExcludeRow]="61854",Mr[Ir.ExpandAll]="61855",Mr[Ir.Export]="61856",Mr[Ir.EyeOff]="61857",Mr[Ir.EyeOn]="61858",Mr[Ir.EyeOpen]="61859",Mr[Ir.FastBackward]="61860",Mr[Ir.FastForward]="61861",Mr[Ir.FeedSubscribed]="61862",Mr[Ir.Feed]="61863",Mr[Ir.Film]="61864",Mr[Ir.FilterKeep]="61865",Mr[Ir.FilterList]="61866",Mr[Ir.FilterOpen]="61867",Mr[Ir.FilterRemove]="61868",Mr[Ir.Filter]="61869",Mr[Ir.Flag]="61870",Mr[Ir.Flame]="61871",Mr[Ir.Flash]="61872",Mr[Ir.FloatingPoint]="62252",Mr[Ir.FloppyDisk]="61873",Mr[Ir.FlowBranch]="61874",Mr[Ir.FlowEnd]="61875",Mr[Ir.FlowLinear]="61876",Mr[Ir.FlowReviewBranch]="61877",Mr[Ir.FlowReview]="61878",Mr[Ir.Flows]="61879",Mr[Ir.FolderClose]="61880",Mr[Ir.FolderNew]="61881",Mr[Ir.FolderOpen]="61882",Mr[Ir.FolderSharedOpen]="61883",Mr[Ir.FolderShared]="61884",Mr[Ir.Follower]="61885",Mr[Ir.Following]="61886",Mr[Ir.Font]="61887",Mr[Ir.Fork]="61888",Mr[Ir.Form]="61889",Mr[Ir.Fuel]="62243",Mr[Ir.FullCircle]="61890",Mr[Ir.FullStackedChart]="61891",Mr[Ir.Fullscreen]="61892",Mr[Ir.Function]="61893",Mr[Ir.GanttChart]="61894",Mr[Ir.Geofence]="61895",Mr[Ir.Geolocation]="61896",Mr[Ir.Geosearch]="61897",Mr[Ir.Geotime]="62276",Mr[Ir.GitBranch]="61898",Mr[Ir.GitCommit]="61899",Mr[Ir.GitMerge]="61900",Mr[Ir.GitNewBranch]="61901",Mr[Ir.GitPull]="61902",Mr[Ir.GitPush]="61903",Mr[Ir.GitRepo]="61904",Mr[Ir.Glass]="61905",Mr[Ir.GlobeNetwork]="61906",Mr[Ir.Globe]="61907",Mr[Ir.GraphRemove]="61908",Mr[Ir.Graph]="61909",Mr[Ir.GreaterThanOrEqualTo]="61910",Mr[Ir.GreaterThan]="61911",Mr[Ir.GridView]="61912",Mr[Ir.Grid]="61913",Mr[Ir.GroupObjects]="61914",Mr[Ir.GroupedBarChart]="61915",Mr[Ir.HandDown]="61916",Mr[Ir.HandLeft]="61917",Mr[Ir.HandRight]="61918",Mr[Ir.HandUp]="61919",Mr[Ir.Hand]="61920",Mr[Ir.Hat]="61921",Mr[Ir.HeaderOne]="61922",Mr[Ir.HeaderThree]="61923",Mr[Ir.HeaderTwo]="61924",Mr[Ir.Header]="61925",Mr[Ir.Headset]="61926",Mr[Ir.HeartBroken]="61927",Mr[Ir.Heart]="61928",Mr[Ir.HeatGrid]="61929",Mr[Ir.Heatmap]="61930",Mr[Ir.Helicopter]="61931",Mr[Ir.Help]="61932",Mr[Ir.HelperManagement]="61933",Mr[Ir.HighPriority]="61934",Mr[Ir.HighVoltagePole]="62259",Mr[Ir.Highlight]="61935",Mr[Ir.History]="61936",Mr[Ir.Home]="61937",Mr[Ir.HorizontalBarChartAsc]="61938",Mr[Ir.HorizontalBarChartDesc]="61939",Mr[Ir.HorizontalBarChart]="61940",Mr[Ir.HorizontalDistribution]="61941",Mr[Ir.HorizontalInbetween]="62249",Mr[Ir.Hurricane]="61942",Mr[Ir.IdNumber]="61943",Mr[Ir.ImageRotateLeft]="61944",Mr[Ir.ImageRotateRight]="61945",Mr[Ir.Import]="61946",Mr[Ir.InboxFiltered]="61947",Mr[Ir.InboxGeo]="61948",Mr[Ir.InboxSearch]="61949",Mr[Ir.InboxUpdate]="61950",Mr[Ir.Inbox]="61951",Mr[Ir.InfoSign]="61952",Mr[Ir.Inheritance]="61953",Mr[Ir.InheritedGroup]="61954",Mr[Ir.InnerJoin]="61955",Mr[Ir.Insert]="61956",Mr[Ir.Intelligence]="62263",Mr[Ir.Intersection]="61957",Mr[Ir.IpAddress]="61958",Mr[Ir.IssueClosed]="61959",Mr[Ir.IssueNew]="61960",Mr[Ir.Issue]="61961",Mr[Ir.Italic]="61962",Mr[Ir.JoinTable]="61963",Mr[Ir.KeyBackspace]="61964",Mr[Ir.KeyCommand]="61965",Mr[Ir.KeyControl]="61966",Mr[Ir.KeyDelete]="61967",Mr[Ir.KeyEnter]="61968",Mr[Ir.KeyEscape]="61969",Mr[Ir.KeyOption]="61970",Mr[Ir.KeyShift]="61971",Mr[Ir.KeyTab]="61972",Mr[Ir.Key]="61973",Mr[Ir.KnownVehicle]="61974",Mr[Ir.LabTest]="61975",Mr[Ir.Label]="61976",Mr[Ir.LayerOutline]="61977",Mr[Ir.Layer]="61978",Mr[Ir.Layers]="61979",Mr[Ir.LayoutAuto]="61980",Mr[Ir.LayoutBalloon]="61981",Mr[Ir.LayoutCircle]="61982",Mr[Ir.LayoutGrid]="61983",Mr[Ir.LayoutGroupBy]="61984",Mr[Ir.LayoutHierarchy]="61985",Mr[Ir.LayoutLinear]="61986",Mr[Ir.LayoutSkewGrid]="61987",Mr[Ir.LayoutSortedClusters]="61988",Mr[Ir.Layout]="61989",Mr[Ir.Learning]="61990",Mr[Ir.LeftJoin]="61991",Mr[Ir.LengthenText]="62270",Mr[Ir.LessThanOrEqualTo]="61992",Mr[Ir.LessThan]="61993",Mr[Ir.Lifesaver]="61994",Mr[Ir.Lightbulb]="61995",Mr[Ir.Lightning]="61996",Mr[Ir.Link]="61997",Mr[Ir.ListColumns]="61998",Mr[Ir.ListDetailView]="61999",Mr[Ir.List]="62000",Mr[Ir.Locate]="62001",Mr[Ir.Lock]="62002",Mr[Ir.Locomotive]="62267",Mr[Ir.LogIn]="62003",Mr[Ir.LogOut]="62004",Mr[Ir.LowVoltagePole]="62258",Mr[Ir.Manual]="62005",Mr[Ir.ManuallyEnteredData]="62006",Mr[Ir.ManyToMany]="62007",Mr[Ir.ManyToOne]="62008",Mr[Ir.MapCreate]="62009",Mr[Ir.MapMarker]="62010",Mr[Ir.Map]="62011",Mr[Ir.Maximize]="62012",Mr[Ir.Media]="62013",Mr[Ir.MenuClosed]="62014",Mr[Ir.MenuOpen]="62015",Mr[Ir.Menu]="62016",Mr[Ir.MergeColumns]="62017",Mr[Ir.MergeLinks]="62018",Mr[Ir.Microphone]="62275",Mr[Ir.Minimize]="62019",Mr[Ir.Minus]="62020",Mr[Ir.MobilePhone]="62021",Mr[Ir.MobileVideo]="62022",Mr[Ir.ModalFilled]="62023",Mr[Ir.Modal]="62024",Mr[Ir.Model]="62269",Mr[Ir.Moon]="62025",Mr[Ir.More]="62026",Mr[Ir.Mountain]="62027",Mr[Ir.Move]="62028",Mr[Ir.Mugshot]="62029",Mr[Ir.MultiSelect]="62030",Mr[Ir.Music]="62031",Mr[Ir.Nest]="62032",Mr[Ir.NewDrawing]="62033",Mr[Ir.NewGridItem]="62034",Mr[Ir.NewLayer]="62035",Mr[Ir.NewLayers]="62036",Mr[Ir.NewLink]="62037",Mr[Ir.NewObject]="62038",Mr[Ir.NewPerson]="62039",Mr[Ir.NewPrescription]="62040",Mr[Ir.NewShield]="62281",Mr[Ir.NewTextBox]="62041",Mr[Ir.Ninja]="62042",Mr[Ir.NotEqualTo]="62043",Mr[Ir.NotificationsSnooze]="62044",Mr[Ir.NotificationsUpdated]="62045",Mr[Ir.Notifications]="62046",Mr[Ir.NumberedList]="62047",Mr[Ir.Numerical]="62048",Mr[Ir.Office]="62049",Mr[Ir.Offline]="62050",Mr[Ir.OilField]="62051",Mr[Ir.OneColumn]="62052",Mr[Ir.OneToMany]="62053",Mr[Ir.OneToOne]="62054",Mr[Ir.OpenApplication]="62251",Mr[Ir.Outdated]="62055",Mr[Ir.PageLayout]="62056",Mr[Ir.PanelStats]="62057",Mr[Ir.PanelTable]="62058",Mr[Ir.Paperclip]="62059",Mr[Ir.Paragraph]="62060",Mr[Ir.PasteVariable]="62278",Mr[Ir.PathSearch]="62061",Mr[Ir.Path]="62062",Mr[Ir.Pause]="62063",Mr[Ir.People]="62064",Mr[Ir.Percentage]="62065",Mr[Ir.Person]="62066",Mr[Ir.PhoneCall]="62279",Mr[Ir.PhoneForward]="62280",Mr[Ir.Phone]="62067",Mr[Ir.PieChart]="62068",Mr[Ir.Pin]="62069",Mr[Ir.PivotTable]="62070",Mr[Ir.Pivot]="62071",Mr[Ir.Play]="62072",Mr[Ir.Playbook]="62244",Mr[Ir.Plus]="62073",Mr[Ir.PolygonFilter]="62074",Mr[Ir.Power]="62075",Mr[Ir.PredictiveAnalysis]="62076",Mr[Ir.Prescription]="62077",Mr[Ir.Presentation]="62078",Mr[Ir.Print]="62079",Mr[Ir.Projects]="62080",Mr[Ir.Properties]="62081",Mr[Ir.Property]="62082",Mr[Ir.PublishFunction]="62083",Mr[Ir.Pulse]="62084",Mr[Ir.Rain]="62085",Mr[Ir.Random]="62086",Mr[Ir.Record]="62087",Mr[Ir.RectHeight]="62245",Mr[Ir.RectWidth]="62246",Mr[Ir.Rectangle]="62241",Mr[Ir.Redo]="62088",Mr[Ir.Refresh]="62089",Mr[Ir.Regex]="62255",Mr[Ir.RegressionChart]="62090",Mr[Ir.RemoveColumnLeft]="62091",Mr[Ir.RemoveColumnRight]="62092",Mr[Ir.RemoveColumn]="62093",Mr[Ir.RemoveRowBottom]="62094",Mr[Ir.RemoveRowTop]="62095",Mr[Ir.Remove]="62096",Mr[Ir.Repeat]="62097",Mr[Ir.Reset]="62098",Mr[Ir.Resolve]="62099",Mr[Ir.Rig]="62100",Mr[Ir.RightJoin]="62101",Mr[Ir.Ring]="62102",Mr[Ir.RocketSlant]="62103",Mr[Ir.Rocket]="62104",Mr[Ir.RotateDocument]="62105",Mr[Ir.RotatePage]="62106",Mr[Ir.Route]="62107",Mr[Ir.Satellite]="62108",Mr[Ir.Saved]="62109",Mr[Ir.ScatterPlot]="62110",Mr[Ir.SearchAround]="62111",Mr[Ir.SearchTemplate]="62112",Mr[Ir.SearchText]="62113",Mr[Ir.Search]="62114",Mr[Ir.SegmentedControl]="62115",Mr[Ir.Select]="62116",Mr[Ir.Selection]="62117",Mr[Ir.SendMessage]="62118",Mr[Ir.SendToGraph]="62119",Mr[Ir.SendToMap]="62120",Mr[Ir.SendTo]="62121",Mr[Ir.Sensor]="62268",Mr[Ir.SeriesAdd]="62122",Mr[Ir.SeriesConfiguration]="62123",Mr[Ir.SeriesDerived]="62124",Mr[Ir.SeriesFiltered]="62125",Mr[Ir.SeriesSearch]="62126",Mr[Ir.Settings]="62127",Mr[Ir.Shapes]="62128",Mr[Ir.Share]="62129",Mr[Ir.SharedFilter]="62130",Mr[Ir.Shield]="62131",Mr[Ir.Ship]="62132",Mr[Ir.Shop]="62133",Mr[Ir.ShoppingCart]="62134",Mr[Ir.ShortenText]="62271",Mr[Ir.SignalSearch]="62135",Mr[Ir.SimCard]="62136",Mr[Ir.Slash]="62137",Mr[Ir.SmallCross]="62138",Mr[Ir.SmallInfoSign]="62260",Mr[Ir.SmallMinus]="62139",Mr[Ir.SmallPlus]="62140",Mr[Ir.SmallSquare]="62141",Mr[Ir.SmallTick]="62142",Mr[Ir.Snowflake]="62143",Mr[Ir.SocialMedia]="62144",Mr[Ir.SortAlphabeticalDesc]="62145",Mr[Ir.SortAlphabetical]="62146",Mr[Ir.SortAsc]="62147",Mr[Ir.SortDesc]="62148",Mr[Ir.SortNumericalDesc]="62149",Mr[Ir.SortNumerical]="62150",Mr[Ir.Sort]="62151",Mr[Ir.SpellCheck]="62272",Mr[Ir.SplitColumns]="62152",Mr[Ir.Square]="62153",Mr[Ir.StackedChart]="62154",Mr[Ir.StadiumGeometry]="62155",Mr[Ir.StarEmpty]="62156",Mr[Ir.Star]="62157",Mr[Ir.StepBackward]="62158",Mr[Ir.StepChart]="62159",Mr[Ir.StepForward]="62160",Mr[Ir.Stop]="62161",Mr[Ir.Stopwatch]="62162",Mr[Ir.Strikethrough]="62163",Mr[Ir.Style]="62164",Mr[Ir.Subscript]="62265",Mr[Ir.Superscript]="62266",Mr[Ir.SwapHorizontal]="62165",Mr[Ir.SwapVertical]="62166",Mr[Ir.Switch]="62167",Mr[Ir.SymbolCircle]="62168",Mr[Ir.SymbolCross]="62169",Mr[Ir.SymbolDiamond]="62170",Mr[Ir.SymbolRectangle]="62242",Mr[Ir.SymbolSquare]="62171",Mr[Ir.SymbolTriangleDown]="62172",Mr[Ir.SymbolTriangleUp]="62173",Mr[Ir.Syringe]="62174",Mr[Ir.Tag]="62175",Mr[Ir.TakeAction]="62176",Mr[Ir.Tank]="62177",Mr[Ir.Target]="62178",Mr[Ir.Taxi]="62179",Mr[Ir.Temperature]="62180",Mr[Ir.TextHighlight]="62181",Mr[Ir.ThDerived]="62182",Mr[Ir.ThDisconnect]="62183",Mr[Ir.ThFiltered]="62184",Mr[Ir.ThList]="62185",Mr[Ir.Th]="62186",Mr[Ir.ThirdParty]="62187",Mr[Ir.ThumbsDown]="62188",Mr[Ir.ThumbsUp]="62189",Mr[Ir.TickCircle]="62190",Mr[Ir.Tick]="62191",Mr[Ir.Time]="62192",Mr[Ir.TimelineAreaChart]="62193",Mr[Ir.TimelineBarChart]="62194",Mr[Ir.TimelineEvents]="62195",Mr[Ir.TimelineLineChart]="62196",Mr[Ir.Tint]="62197",Mr[Ir.Torch]="62198",Mr[Ir.Tractor]="62199",Mr[Ir.Train]="62200",Mr[Ir.Translate]="62201",Mr[Ir.Trash]="62202",Mr[Ir.Tree]="62203",Mr[Ir.TrendingDown]="62204",Mr[Ir.TrendingUp]="62205",Mr[Ir.Truck]="62206",Mr[Ir.TwoColumns]="62207",Mr[Ir.Unarchive]="62208",Mr[Ir.Underline]="62209",Mr[Ir.Undo]="62210",Mr[Ir.UngroupObjects]="62211",Mr[Ir.UnknownVehicle]="62212",Mr[Ir.Unlink]="62277",Mr[Ir.Unlock]="62213",Mr[Ir.Unpin]="62214",Mr[Ir.Unresolve]="62215",Mr[Ir.Updated]="62216",Mr[Ir.Upload]="62217",Mr[Ir.User]="62218",Mr[Ir.Variable]="62219",Mr[Ir.VerticalBarChartAsc]="62220",Mr[Ir.VerticalBarChartDesc]="62221",Mr[Ir.VerticalDistribution]="62222",Mr[Ir.VerticalInbetween]="62250",Mr[Ir.Video]="62223",Mr[Ir.Virus]="62224",Mr[Ir.VolumeDown]="62225",Mr[Ir.VolumeOff]="62226",Mr[Ir.VolumeUp]="62227",Mr[Ir.Walk]="62228",Mr[Ir.WarningSign]="62229",Mr[Ir.WaterfallChart]="62230",Mr[Ir.Waves]="62231",Mr[Ir.WidgetButton]="62232",Mr[Ir.WidgetFooter]="62233",Mr[Ir.WidgetHeader]="62234",Mr[Ir.Widget]="62235",Mr[Ir.Wind]="62236",Mr[Ir.Wrench]="62237",Mr[Ir.ZoomIn]="62238",Mr[Ir.ZoomOut]="62239",Mr[Ir.ZoomToFit]="62240";for(var Ur={},Br={},Gr=0,Vr=Object.values(Ir);Gr<Vr.length;Gr++){var Wr=Vr[Gr];Ur[(0,Fr.Ho)(Wr)]=Wr,Br[jr(Wr).toUpperCase()]=Wr}var $r=(0,St.pi)((0,St.pi)({},Ur),Br),Kr=new Set(Object.values($r));function qr(e,t){return(0,St.mG)(this,void 0,void 0,(function(){var n,r,o;return(0,St.Jh)(this,(function(a){switch(a.label){case 0:return i="development",(n="undefined"!==typeof NODE_ENV&&NODE_ENV===i&&"undefined"!==typeof performance)&&(r=performance.now(),console.info("Started '".concat(e,"'..."))),[4,t()];case 1:return a.sent(),n&&(o=Math.round(performance.now()-r),console.info("Finished '".concat(e,"' in ").concat(o,"ms"))),[2]}var i}))}))}function Yr(e){return(0,St.mG)(this,void 0,void 0,(function(){var t,r;return(0,St.Jh)(this,(function(o){switch(o.label){case 0:return t=e.loader,"function"!==typeof(r=void 0===t?Xr.defaultLoader:t)?[3,1]:[2,r];case 1:return"all"!==r?[3,3]:[4,n.e(439).then(n.bind(n,7465))];case 2:return[2,o.sent().allPathsLoader];case 3:return[4,n.e(569).then(n.bind(n,3496))];case 4:return[2,o.sent().splitPathsBySizeLoader]}}))}))}var Qr=function(){function e(){this.defaultLoader="split-by-size",this.loadedIconPaths16=new Map,this.loadedIconPaths20=new Map}return e.setLoaderOptions=function(e){void 0!==e.loader&&(Xr.defaultLoader=e.loader)},e.load=function(e,t,n){return(0,St.mG)(this,void 0,void 0,(function(){var r=this;return(0,St.Jh)(this,(function(o){switch(o.label){case 0:return Array.isArray(e)||(e=[e]),[4,Promise.all(e.map((function(e){return r.loadImpl(e,t,n)})))];case 1:return o.sent(),[2]}}))}))},e.loadAll=function(e){return(0,St.mG)(this,void 0,void 0,(function(){var t,n=this;return(0,St.Jh)(this,(function(r){return t=Object.values($r),qr("[Blueprint] loading all icons",(function(){return(0,St.mG)(n,void 0,void 0,(function(){return(0,St.Jh)(this,(function(n){switch(n.label){case 0:return[4,Promise.all([this.load(t,zr.J.STANDARD,e),this.load(t,zr.J.LARGE,e)])];case 1:return n.sent(),[2]}}))}))})),[2]}))}))},e.getPaths=function(e,t){if(this.isValidIconName(e))return(t<zr.J.LARGE?Xr.loadedIconPaths16:Xr.loadedIconPaths20).get(e)},e.loadImpl=function(e,t,n){return void 0===n&&(n={}),(0,St.mG)(this,void 0,void 0,(function(){var r,o,a,i,l;return(0,St.Jh)(this,(function(s){switch(s.label){case 0:return this.isValidIconName(e)?(r=t<zr.J.LARGE?Xr.loadedIconPaths16:Xr.loadedIconPaths20).has(e)?[2]:[4,Yr(n)]:(console.error("[Blueprint] Unknown icon '".concat(e,"'")),[2]);case 1:o=s.sent(),s.label=2;case 2:return s.trys.push([2,4,,5]),a=t<zr.J.LARGE?zr.J.STANDARD:zr.J.LARGE,[4,o(e,a)];case 3:return i=s.sent(),r.set(e,i),[3,5];case 4:return l=s.sent(),console.error("[Blueprint] Unable to load ".concat(t,"px icon '").concat(e,"'"),l),[3,5];case 5:return[2]}}))}))},e.isValidIconName=function(e){return Kr.has(e)},e}(),Xr=new Qr,Zr="".concat("bp5","-icon"),Jr=new Map;var eo=e.forwardRef((function(t,n){var r=t.children,o=t.className,a=t.color,i=t.htmlTitle,l=t.iconName,s=t.size,u=void 0===s?zr.J.STANDARD:s,c=t.svgProps,d=t.tagName,f=void 0===d?"span":d,p=t.title,h=(0,St._T)(t,["children","className","color","htmlTitle","iconName","size","svgProps","tagName","title"]),m=u>=zr.J.LARGE?zr.J.LARGE:zr.J.STANDARD,v="0 0 ".concat(m," ").concat(m),g=function(e){var t,n=null!==(t=Jr.get(e))&&void 0!==t?t:0;return Jr.set(e,n+1),"".concat(e,"-").concat(n)}("iconTitle"),y=(0,St.pi)({"data-icon":l,fill:a,height:u,role:"img",viewBox:v,width:u},c);return null===f?e.createElement("svg",(0,St.pi)({"aria-labelledby":p?g:void 0,ref:n},y,h),p&&e.createElement("title",{id:g},p),r):e.createElement(f,(0,St.pi)((0,St.pi)({},h),{"aria-hidden":!p||void 0,className:Ct()(Zr,"".concat(Zr,"-").concat(l),o),ref:n,title:i}),e.createElement("svg",(0,St.pi)({},y),p&&e.createElement("title",null,p),r))}));eo.displayName="Blueprint5.SVGIconContainer";var to=e.forwardRef((function(t,n){var r,o,a=t.autoLoad,i=t.className,l=t.color,s=t.icon,u=t.intent,c=t.tagName,d=t.svgProps,f=t.title,p=t.htmlTitle,h=(0,St._T)(t,["autoLoad","className","color","icon","intent","tagName","svgProps","title","htmlTitle"]),m=null!==(o=null!==(r=t.iconSize)&&void 0!==r?r:t.size)&&void 0!==o?o:zr.J.STANDARD,v=e.useState((function(){return"string"===typeof s?Qr.getPaths(s,m):void 0})),g=v[0],y=v[1];if(e.useEffect((function(){var e=!1;if("string"===typeof s){var t=Qr.getPaths(s,m);void 0!==t?y(t):a?Qr.load(s,m).then((function(){e||y(Qr.getPaths(s,m))})).catch((function(e){console.error("[Blueprint] Icon '".concat(s,"' (").concat(m,"px) could not be loaded."),e)})):console.error("[Blueprint] Icon '".concat(s,"' (").concat(m,"px) is not loaded yet and autoLoad={false}, did you call Icons.load('").concat(s,"', ").concat(m,")?"))}return function(){e=!0}}),[a,s,m]),null==s||"boolean"===typeof s)return null;if("string"!==typeof s)return s;if(null==g){var b=m===zr.J.STANDARD?Sr:m===zr.J.LARGE?kr:void 0;return e.createElement(c,(0,St.pi)((0,St.pi)({},Lr(h)),{"aria-hidden":!f||void 0,className:Ct()(wr,b,xr(s),_r(u),i),"data-icon":s,ref:n,title:p}))}var w=g.map((function(t,n){return e.createElement("path",{d:t,key:n,fillRule:"evenodd"})}));return e.createElement(eo,(0,St.pi)({children:w,className:Ct()(_r(u),i),color:l,htmlTitle:p,iconName:s,ref:n,size:m,svgProps:d,tagName:c,title:f},Lr(h)))}));to.defaultProps={autoLoad:!0,tagName:"span"},to.displayName="".concat(Or,".Icon");var no="[Blueprint]",ro=no+" clamp: max cannot be less than min",oo=("".concat(no," <Popover> requires renderTarget prop or a child element."),"".concat(no,' <Popover hasBackdrop={true}> requires interactionKind="click".'),"".concat(no," <Popover> supports only one child which is rendered as its target; additional children are ignored."),no+" <Slider> stepSize must be greater than zero."),ao=no+" <Slider> labelStepSize must be greater than zero.",io=no+" <Slider> min prop must be a finite number.",lo=no+" <Slider> max prop must be a finite number.",so=no+" <MultiSlider> children must be <SliderHandle>s or <SliderTrackStop>s",uo=no+" <MultiSlider> labelStepSize and labelValues prop are mutually exclusive, with labelStepSize taking priority.",co=no+" <Spinner> Classes.SMALL/LARGE are ignored if size prop is set.";function fo(e){return"undefined"!==typeof NODE_ENV&&NODE_ENV===e}function po(e,t,n){return void 0===n&&(n=1e-5),Math.abs(e-t)<=n}function ho(e,t,n){if(null==e)return e;if(n<t)throw new Error(ro);return Math.min(Math.max(e,t),n)}function mo(e){if(!isFinite(e))return 0;for(var t=1,n=0;Math.round(e*t)/t!==e;)t*=10,n++;return n}new Map;var vo,go=function(e){function t(t){var n=e.call(this,t)||this;return n.timeoutIds=[],n.requestIds=[],n.clearTimeouts=function(){if(n.timeoutIds.length>0){for(var e=0,t=n.timeoutIds;e<t.length;e++){var r=t[e];window.clearTimeout(r)}n.timeoutIds=[]}},n.cancelAnimationFrames=function(){if(n.requestIds.length>0){for(var e=0,t=n.requestIds;e<t.length;e++){var r=t[e];window.cancelAnimationFrame(r)}n.requestIds=[]}},fo("production")||n.validateProps(n.props),n}return(0,St.ZT)(t,e),t.prototype.componentDidUpdate=function(e,t,n){fo("production")||this.validateProps(this.props)},t.prototype.componentWillUnmount=function(){this.clearTimeouts(),this.cancelAnimationFrames()},t.prototype.requestAnimationFrame=function(e){var t=window.requestAnimationFrame(e);return this.requestIds.push(t),function(){return window.cancelAnimationFrame(t)}},t.prototype.setTimeout=function(e,t){var n=window.setTimeout(e,t);return this.timeoutIds.push(n),function(){return window.clearTimeout(n)}},t.prototype.validateProps=function(e){},t}(e.PureComponent);!function(e){e[e.SMALL=20]="SMALL",e[e.STANDARD=50]="STANDARD",e[e.LARGE=100]="LARGE"}(vo||(vo={}));var yo=45,bo="M 50,50 m 0,-".concat(yo," a ").concat(yo,",").concat(yo," 0 1 1 0,").concat(90," a ").concat(yo,",").concat(yo," 0 1 1 0,-").concat(90),wo=280,So=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return(0,St.ZT)(n,t),n.prototype.componentDidUpdate=function(e){e.value!==this.props.value&&this.forceUpdate()},n.prototype.render=function(){var t,n=this.props,r=n.className,o=n.intent,a=n.value,i=n.tagName,l=void 0===i?"div":i,s=(0,St._T)(n,["className","intent","value","tagName"]),u=this.getSize(),c=Ct()(lr,_r(o),((t={})[cr]=null!=a,t),r),d=Math.min(16,4*vo.LARGE/u),f=wo-wo*(null==a?.25:ho(a,0,1));return e.createElement(l,(0,St.pi)({"aria-label":"loading","aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":void 0===a?void 0:100*a,className:c,role:"progressbar"},s),e.createElement(l,{className:sr},e.createElement("svg",{width:u,height:u,strokeWidth:d.toFixed(2),viewBox:this.getViewBox(d)},e.createElement("path",{className:dr,d:bo}),e.createElement("path",{className:ur,d:bo,pathLength:wo,strokeDasharray:"".concat(wo," ").concat(wo),strokeDashoffset:f}))))},n.prototype.validateProps=function(e){var t=e.className,n=void 0===t?"":t;null!=e.size&&(n.indexOf(Qt)>=0||n.indexOf(Wt)>=0)&&console.warn(co)},n.prototype.getSize=function(){var e=this.props,t=e.className,n=void 0===t?"":t,r=e.size;return null==r?n.indexOf(Qt)>=0?vo.SMALL:n.indexOf(Wt)>=0?vo.LARGE:vo.STANDARD:Math.max(10,r)},n.prototype.getViewBox=function(e){var t=yo+e/2,n=(50-t).toFixed(2),r=(2*t).toFixed(2);return"".concat(n," ").concat(n," ").concat(r," ").concat(r)},n.displayName="".concat(Or,".Spinner"),n}(go),ko=e.forwardRef((function(t,n){var r=xo(t,n);return e.createElement("button",(0,St.pi)({type:"button"},Lr(t),r),_o(t))}));ko.displayName="".concat(Or,".Button");var Co,Eo=e.forwardRef((function(t,n){var r=t.href,o=t.tabIndex,a=void 0===o?0:o,i=xo(t,n);return e.createElement("a",(0,St.pi)({role:"button"},Lr(t),i,{href:i.disabled?void 0:r,tabIndex:i.disabled?-1:a}),_o(t))}));function xo(t,n){var r,o=t.active,a=void 0!==o&&o,i=t.alignText,l=t.fill,s=t.large,u=t.loading,c=void 0!==u&&u,d=t.outlined,f=t.minimal,p=t.small,h=t.tabIndex,m=t.disabled||c,v=e.useState(),g=v[0],y=v[1],b=e.useState(!1),w=b[0],S=b[1],k=e.useRef(null),C=e.useCallback((function(e){var n;w&&S(!1),null===(n=t.onBlur)||void 0===n||n.call(t,e)}),[w,t.onBlur]),E=e.useCallback((function(e){var n;Et(e)&&(e.preventDefault(),e.key!==g&&S(!0)),y(e.key),null===(n=t.onKeyDown)||void 0===n||n.call(t,e)}),[g,t.onKeyDown]),x=e.useCallback((function(e){var n,r;Et(e)&&(S(!1),null===(n=k.current)||void 0===n||n.click()),y(void 0),null===(r=t.onKeyUp)||void 0===r||r.call(t,e)}),[t.onKeyUp]);return{className:Ct()(ln,((r={})[zt]=!m&&(a||w),r[Ut]=m,r[Bt]=l,r[Wt]=s,r[$t]=c,r[Kt]=f,r[qt]=d,r[Qt]=p,r),Cr(i),_r(t.intent),t.className),disabled:m,onBlur:C,onClick:m?void 0:t.onClick,onFocus:m?void 0:t.onFocus,onKeyDown:E,onKeyUp:x,ref:Dr(k,n),tabIndex:m?-1:h}}function _o(t){var n=t.children,r=t.icon,o=t.loading,a=t.rightIcon,i=t.text,l=!Tr(i)||!Tr(n);return e.createElement(e.Fragment,null,o&&e.createElement(So,{key:"loading",className:sn,size:vo.SMALL}),e.createElement(to,{key:"leftIcon",icon:r}),l&&e.createElement("span",{key:"text",className:un},i,n),e.createElement(to,{key:"rightIcon",icon:a}))}Eo.displayName="".concat(Or,".AnchorButton");const Po=Ne.div(Co||(Co=r(["\n width: ","px;\n height: ","px;\n"])),(e=>e.width),(e=>e.height));const To=new(n(3969).Dualsense),Ro="getRequest"in To.hid.provider?To.hid.provider.getRequest():()=>console.log("WebHID is unavailable");const Oo=e.createContext(To);Oo.displayName="ControllerContext",To.hid.register((e=>{console.group("dualsense-ts"),console.log(JSON.stringify(To.hid.state,null,2)),console.groupEnd()})),To.connection.on("change",(e=>{let{state:t}=e;console.group("dualsense-ts"),console.log("Controller ".concat(t?"":"dis","connected")),console.groupEnd()})),To.hid.on("error",(e=>{console.group("dualsense-ts"),console.log(e),console.groupEnd()}));var Ao,Lo,No=n(184);const Do=Ne(ko)(Ao||(Ao=r(["\n opacity: 0.7;\n\n &:hover {\n opacity: 0.9;\n }\n"]))),Mo=Ne.div(Lo||(Lo=r(["\n opacity: 0.5;\n display: flex;\n justify-content: ",";\n align-items: ",";\n grid-column: ",";\n grid-row: 1;\n padding: 1vw;\n"])),(e=>e.connected?"right":"center"),(e=>e.connected?"top":"center"),(e=>e.connected?-2:3)),Io=()=>{const t=(0,e.useContext)(Oo),[n,r]=(0,e.useState)(t.connection.state),[o,a]=(0,e.useState)({x:0,y:0}),[i]=(0,e.useState)(2);(0,e.useEffect)((()=>{setInterval((()=>{a({y:4*t.right.analog.direction%Math.PI,x:Date.now()/2e3%Math.PI})}),1e3/30),t.connection.on("change",(e=>{let{state:t}=e;return r(t)}))}),[]);const[l]=(0,e.useState)({offset:{x:0,y:0},opacity:.7,thickness:.25,parallax:.1,zoom:15}),s=(0,No.jsx)(Po,{width:(i+l.thickness)*l.zoom,height:(i+l.thickness)*l.zoom,children:(0,No.jsx)(yt,{element:"svg",zoom:l.zoom,children:(0,No.jsx)(wt,{rotate:o,stroke:l.thickness,diameter:i,color:n?"orange":"blue",translate:{x:0,y:0}})})});return(0,No.jsx)(Mo,{connected:n,children:n?(0,No.jsx)(to,{icon:s}):(0,No.jsx)(Do,{onClick:Ro,large:!0,outlined:!0,intent:"warning",text:"select controller"})})};var zo=e.forwardRef((function(t,n){var r,o=t.className,a=t.elevation,i=t.interactive,l=t.selected,s=t.compact,u=(0,St._T)(t,["className","elevation","interactive","selected","compact"]),c=Ct()(o,dn,Er(a),((r={})[Vt]=i,r[jt]=s,r[Yt]=l,r));return e.createElement("div",(0,St.pi)({className:c,ref:n},u))}));zo.defaultProps={elevation:_t,interactive:!1},zo.displayName="".concat(Or,".Card");var Fo=e.forwardRef((function(t,n){var r=t.size>=zr.J.LARGE,o=r?zr.J.LARGE:zr.J.STANDARD,a="".concat(-1*o/.05/2);return e.createElement(eo,(0,St.pi)({iconName:"chevron-down",ref:n},t),e.createElement("path",{d:r?"M320 280C314.4000000000001 280 309.4000000000001 277.8 305.8 274.2L200 168.2L94.2 274.2C90.6 277.8 85.6 280 80 280C69 280 60 271 60 260C60 254.4 62.2 249.4 65.8 245.8L185.8 125.8C189.4 122.2 194.4 120 200 120S210.6 122.2 214.2 125.8L334.2000000000001 245.8C337.8 249.4 340 254.4 340 260C340 271 331 280 320 280z":"M240 220C234.4 220 229.4 217.8 225.8 214.2L160 148.2L94.2 214.2C90.6 217.8 85.6 220 80 220C69 220 60 211 60 200C60 194.4 62.2 189.4 65.8 185.8L145.8 105.8C149.4 102.2 154.4 100 160 100S170.6 102.2 174.2 105.8L254.2 185.8C257.8 189.4 260 194.4 260 200C260 211 251 220 240 220z",fillRule:"evenodd","transform-origin":"center",transform:"scale(0.05, -0.05) translate(".concat(a,", ").concat(a,")")}))}));Fo.defaultProps={size:zr.J.STANDARD},Fo.displayName="Blueprint5.Icon.ChevronDown";var Ho=e.forwardRef((function(t,n){var r=t.size>=zr.J.LARGE,o=r?zr.J.LARGE:zr.J.STANDARD,a="".concat(-1*o/.05/2);return e.createElement(eo,(0,St.pi)({iconName:"chevron-up",ref:n},t),e.createElement("path",{d:r?"M334.2000000000001 154.2L214.2 274.2000000000001C210.6 277.8 205.6 280 200 280S189.4 277.8 185.8 274.2L65.8 154.2C62.2 150.6 60 145.6 60 140C60 129 69 120 80 120C85.6 120 90.6 122.2 94.2 125.8L200 231.8L305.8 126C309.4000000000001 122.2 314.4000000000001 120 320 120C331 120 340 129 340 140C340 145.6 337.8 150.6 334.2000000000001 154.2z":"M254.2 134.2L174.2 214.2C170.6 217.8 165.6 220 160 220S149.4 217.8 145.8 214.2L65.8 134.2C62.2 130.6 60 125.6 60 120C60 109 69 100 80 100C85.6 100 90.6 102.2 94.2 105.8L160 171.8L225.8 106C229.4 102.2 234.4 100 240 100C251 100 260 109 260 120C260 125.6 257.8 130.6 254.2 134.2z",fillRule:"evenodd","transform-origin":"center",transform:"scale(0.05, -0.05) translate(".concat(a,", ").concat(a,")")}))}));Ho.defaultProps={size:zr.J.STANDARD},Ho.displayName="Blueprint5.Icon.ChevronUp";var jo;!function(e){e[e.OPEN_START=0]="OPEN_START",e[e.OPENING=1]="OPENING",e[e.OPEN=2]="OPEN",e[e.CLOSING_START=3]="CLOSING_START",e[e.CLOSING=4]="CLOSING",e[e.CLOSED=5]="CLOSED"}(jo||(jo={}));var Uo=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.state={animationState:e.props.isOpen?jo.OPEN:jo.CLOSED,height:void 0,heightWhenOpen:void 0},e.contents=null,e.contentsRefHandler=function(t){if(e.contents=t,null!=e.contents){var n=e.contents.clientHeight;e.setState({animationState:e.props.isOpen?jo.OPEN:jo.CLOSED,height:0===n?void 0:"".concat(n,"px"),heightWhenOpen:0===n?void 0:n})}},e}return(0,St.ZT)(n,t),n.getDerivedStateFromProps=function(e,t){var n=e.isOpen,r=t.animationState;if(n)switch(r){case jo.OPEN:case jo.OPENING:break;default:return{animationState:jo.OPEN_START}}else switch(r){case jo.CLOSED:case jo.CLOSING:break;default:return{animationState:jo.CLOSING_START,height:"".concat(t.heightWhenOpen,"px")}}return null},n.prototype.render=function(){var t=this.state.animationState!==jo.CLOSED,n=t||this.props.keepChildrenMounted,r=t&&this.state.animationState!==jo.CLOSING,o="auto"===this.state.height,a={height:t?this.state.height:void 0,overflowY:o?"visible":void 0,transition:o?"none":void 0},i={transform:r?"translateY(0)":"translateY(-".concat(this.state.heightWhenOpen,"px)"),transition:o?"none":void 0};return e.createElement(this.props.component,{className:Ct()(hn,this.props.className),style:a},e.createElement("div",{className:mn,ref:this.contentsRefHandler,style:i,"aria-hidden":!t},n?this.props.children:null))},n.prototype.componentDidMount=function(){this.forceUpdate(),this.props.isOpen?this.setState({animationState:jo.OPEN,height:"auto"}):this.setState({animationState:jo.CLOSED,height:"0px"})},n.prototype.componentDidUpdate=function(){var e=this;if(null!=this.contents){var t=this.props.transitionDuration,n=this.state.animationState;if(n===jo.OPEN_START){var r=this.contents.clientHeight;this.setState({animationState:jo.OPENING,height:"".concat(r,"px"),heightWhenOpen:r}),this.setTimeout((function(){return e.onDelayedStateChange()}),t)}else if(n===jo.CLOSING_START){var o=this.contents.clientHeight;this.setTimeout((function(){return e.setState({animationState:jo.CLOSING,height:"0px",heightWhenOpen:o})})),this.setTimeout((function(){return e.onDelayedStateChange()}),t)}}},n.prototype.onDelayedStateChange=function(){switch(this.state.animationState){case jo.OPENING:this.setState({animationState:jo.OPEN,height:"auto"});break;case jo.CLOSING:this.setState({animationState:jo.CLOSED})}},n.displayName="".concat(Or,".Collapse"),n.defaultProps={component:"div",isOpen:!1,keepChildrenMounted:!1,transitionDuration:200},n}(go);function Bo(t,n){return e.forwardRef((function(r,o){var a=r.className,i=r.children,l=(0,St._T)(r,["className","children"]);return e.createElement(t,(0,St.pi)((0,St.pi)({},l),{className:Ct()(n,a),ref:o}),i)}))}Bo("h1",nn),Bo("h2",nn),Bo("h3",nn),Bo("h4",nn),Bo("h5",nn);var Go=Bo("h6",nn),Vo=(Bo("blockquote",Jt),Bo("code",en),Bo("pre",tn),Bo("label",Nn),Bo("ol",rn),Bo("ul",rn),e.forwardRef((function(t,n){var r,o,a,i=t.children,l=t.className,s=t.collapseProps,u=t.collapsible,c=t.compact,d=t.elevation,f=t.icon,p=t.rightElement,h=t.subtitle,m=t.title,v=(0,St._T)(t,["children","className","collapseProps","collapsible","compact","elevation","icon","rightElement","subtitle","title"]),g=null!=(null===s||void 0===s?void 0:s.isOpen),y=e.useState(!(null===(a=null===s||void 0===s?void 0:s.defaultIsOpen)||void 0===a||a)),b=y[0],w=y[1],S=g?!(null===s||void 0===s?void 0:s.isOpen):b,k=e.useCallback((function(){var e;g?null===(e=null===s||void 0===s?void 0:s.onToggle)||void 0===e||e.call(s):w(!S)}),[s,S,g]),C=null!=m||null!=f||null!=h,E=null!=p||u;return e.createElement(zo,(0,St.pi)({className:Ct()(l,Fn,(r={},r[jt]=c,r[Hn]=u&&S||Tr(i),r)),elevation:d,ref:n},v),m&&e.createElement("div",{role:u?"button":void 0,"aria-pressed":u?S:void 0,className:Ct()(jn,(o={},o[Vt]=u,o)),onClick:null!=u?k:void 0},C&&e.createElement(e.Fragment,null,e.createElement("div",{className:Un},f&&e.createElement(to,{icon:f,"aria-hidden":!0,tabIndex:-1,className:Zt}),e.createElement("div",null,e.createElement(Go,{className:Bn},m),h&&e.createElement("div",{className:Ct()(Zt,Gn)},h)))),E&&e.createElement("div",{className:Vn},p,u&&(S?e.createElement(Fo,{className:Zt}):e.createElement(Ho,{className:Zt})))),u?e.createElement(Uo,(0,St.pi)({},s,{isOpen:!S}),i):i)})));Vo.defaultProps={compact:!1,elevation:_t},Vo.displayName="".concat(Or,".Section");var Wo=e.forwardRef((function(t,n){var r,o=t.alignIndicator,a=t.children,i=t.className,l=t.indicatorChildren,s=t.inline,u=t.inputRef,c=t.label,d=t.labelElement,f=t.large,p=t.style,h=t.type,m=t.typeClassName,v=t.tagName,g=void 0===v?"label":v,y=(0,St._T)(t,["alignIndicator","children","className","indicatorChildren","inline","inputRef","label","labelElement","large","style","type","typeClassName","tagName"]),b=Ct()(En,m,((r={})[Ut]=y.disabled,r[Gt]=s,r[Wt]=f,r),Cr(o),i);return e.createElement(g,{className:b,style:p,ref:n},e.createElement("input",(0,St.pi)({},y,{ref:u,type:h})),e.createElement("span",{className:xn},l),c,d,a)}));Wo.displayName="".concat(Or,".Control");var $o=e.forwardRef((function(t,n){var r=t.innerLabelChecked,o=t.innerLabel,a=(0,St._T)(t,["innerLabelChecked","innerLabel"]),i=o||r?[e.createElement("div",{key:"checked",className:_n},e.createElement("div",{className:On},r||o)),e.createElement("div",{key:"unchecked",className:_n},e.createElement("div",{className:On},o))]:null;return e.createElement(Wo,(0,St.pi)({},a,{indicatorChildren:i,ref:n,type:"checkbox",typeClassName:Rn}))}));$o.displayName="".concat(Or,".Switch"),e.forwardRef((function(t,n){return e.createElement(Wo,(0,St.pi)({},t,{ref:n,type:"radio",typeClassName:Tn}))})).displayName="".concat(Or,".Radio");var Ko=e.forwardRef((function(t,n){var r=t.defaultIndeterminate,o=t.indeterminate,a=t.onChange,i=(0,St._T)(t,["defaultIndeterminate","indeterminate","onChange"]),l=e.useState(o||r||!1),s=l[0],u=l[1],c=e.useRef(null),d=void 0===t.inputRef?c:Dr(t.inputRef,c),f=e.useCallback((function(e){void 0===o&&u(e.target.indeterminate),null===a||void 0===a||a(e)}),[o,a]);return e.useEffect((function(){void 0!==o&&u(o)}),[o]),e.useEffect((function(){null!=c.current&&(c.current.indeterminate=s)}),[c,s]),e.createElement(Wo,(0,St.pi)({},i,{inputRef:d,onChange:f,ref:n,type:"checkbox",typeClassName:Pn}))}));function qo(e,t,n){return void 0===n&&(n=function(e,t){return e===t}),null==e&&null==t||null!=e&&null!=t&&e.length===t.length&&e.every((function(e,r){return n(e,t[r])}))}function Yo(e){return"".concat((100*e).toFixed(2),"%")}function Qo(e,t,n,r){for(var o=t<n?1:-1,a=t;a!==n+o;a+=o)e[a]=r}Ko.displayName="".concat(Or,".Checkbox");var Xo=["max","min","stepSize","tickSize","value"],Zo=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.state={isMoving:!1},e.handleElement=null,e.refHandlers={handle:function(t){return e.handleElement=t}},e.beginHandleMovement=function(t){document.addEventListener("mousemove",e.handleHandleMovement),document.addEventListener("mouseup",e.endHandleMovement),e.setState({isMoving:!0}),e.changeValue(e.clientToValue(e.mouseEventClientOffset(t)))},e.beginHandleTouchMovement=function(t){document.addEventListener("touchmove",e.handleHandleTouchMovement),document.addEventListener("touchend",e.endHandleTouchMovement),document.addEventListener("touchcancel",e.endHandleTouchMovement),e.setState({isMoving:!0}),e.changeValue(e.clientToValue(e.touchEventClientOffset(t)))},e.getStyleProperties=function(){if(null==e.handleElement)return{};var t=e.props,n=t.min,r=void 0===n?0:n,o=t.tickSizeRatio,a=t.value,i=t.vertical,l=e.getHandleMidpointAndOffset(e.handleElement,!0).handleMidpoint,s="calc(".concat(Yo((a-r)*o)," - ").concat(l,"px)");return i?{bottom:s}:{left:s}},e.endHandleMovement=function(t){e.handleMoveEndedAt(e.mouseEventClientOffset(t))},e.endHandleTouchMovement=function(t){e.handleMoveEndedAt(e.touchEventClientOffset(t))},e.handleMoveEndedAt=function(t){var n,r;e.removeDocumentEventListeners(),e.setState({isMoving:!1});var o=e.changeValue(e.clientToValue(t));null===(r=(n=e.props).onRelease)||void 0===r||r.call(n,o)},e.handleHandleMovement=function(t){e.handleMovedTo(e.mouseEventClientOffset(t))},e.handleHandleTouchMovement=function(t){e.handleMovedTo(e.touchEventClientOffset(t))},e.handleMovedTo=function(t){e.state.isMoving&&!e.props.disabled&&e.changeValue(e.clientToValue(t))},e.handleKeyDown=function(t){var n=e.props,r=n.stepSize,o=n.value,a=t.key;"ArrowDown"===a||"ArrowLeft"===a?(e.changeValue(o-r),t.preventDefault()):"ArrowUp"!==a&&"ArrowRight"!==a||(e.changeValue(o+r),t.preventDefault())},e.handleKeyUp=function(t){var n,r;(function(e){return["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].indexOf(e.key)>=0})(t)&&(null===(r=(n=e.props).onRelease)||void 0===r||r.call(n,e.props.value))},e}return(0,St.ZT)(n,t),n.prototype.componentDidMount=function(){this.forceUpdate()},n.prototype.render=function(){var t,n=this.props,r=n.className,o=n.disabled,a=n.label,i=n.min,l=n.max,s=n.value,u=n.vertical,c=n.htmlProps,d=this.state.isMoving;return e.createElement("span",(0,St.pi)({role:"slider",tabIndex:0},c,{className:Ct()(tr,(t={},t[zt]=d,t),r),onKeyDown:o?void 0:this.handleKeyDown,onKeyUp:o?void 0:this.handleKeyUp,onMouseDown:o?void 0:this.beginHandleMovement,onTouchStart:o?void 0:this.beginHandleTouchMovement,ref:this.refHandlers.handle,style:this.getStyleProperties(),"aria-valuemin":i,"aria-valuemax":l,"aria-valuenow":s,"aria-orientation":u?"vertical":"horizontal"}),null==a?null:e.createElement("span",{className:nr},a))},n.prototype.componentWillUnmount=function(){this.removeDocumentEventListeners()},n.prototype.clientToValue=function(e){var t=this.props,n=t.stepSize,r=t.tickSize,o=t.value,a=t.vertical;if(null==this.handleElement)return o;var i=(a?window.innerHeight-e:e)-this.getHandleElementCenterPixel(this.handleElement);return isNaN(i)?o:o+Math.round(i/(r*n))*n},n.prototype.mouseEventClientOffset=function(e){return this.props.vertical?e.clientY:e.clientX},n.prototype.touchEventClientOffset=function(e){var t=e.changedTouches[0];return this.props.vertical?t.clientY:t.clientX},n.prototype.validateProps=function(e){for(var t=0,n=Xo;t<n.length;t++){var r=n[t];if("number"!==typeof e[r])throw new Error("[Blueprint] <Handle> requires number value for ".concat(r," prop"))}},n.prototype.changeValue=function(e,t){return void 0===t&&(t=this.props.onChange),e=this.clamp(e),isNaN(e)||this.props.value===e||null===t||void 0===t||t(e),e},n.prototype.clamp=function(e){return ho(e,this.props.min,this.props.max)},n.prototype.getHandleElementCenterPixel=function(e){var t=this.getHandleMidpointAndOffset(e),n=t.handleMidpoint;return t.handleOffset+n},n.prototype.getHandleMidpointAndOffset=function(e,t){if(void 0===t&&(t=!1),null==e)return{handleMidpoint:0,handleOffset:0};var n=this.props.vertical,r=e.getBoundingClientRect();r.width=e.offsetWidth,r.height=e.offsetHeight;var o=n?t?"width":"height":t?"height":"width",a=n?window.innerHeight-(r.top+r[o]):r.left;return{handleMidpoint:r[o]/2,handleOffset:a}},n.prototype.removeDocumentEventListeners=function(){document.removeEventListener("mousemove",this.handleHandleMovement),document.removeEventListener("mouseup",this.endHandleMovement),document.removeEventListener("touchmove",this.handleHandleTouchMovement),document.removeEventListener("touchend",this.endHandleTouchMovement),document.removeEventListener("touchcancel",this.endHandleTouchMovement)},n.displayName="".concat(Or,".SliderHandle"),n}(go),Jo="start",ea="end",ta="push",na="none",ra=function(){return null};ra.displayName="".concat(Or,".MultiSliderHandle");var oa=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.state={labelPrecision:aa(e.props),tickSize:0,tickSizeRatio:0},e.handleElements=[],e.trackElement=null,e.addHandleRef=function(t){null!=t&&e.handleElements.push(t)},e.maybeHandleTrackClick=function(t){if(e.canHandleTrackEvent(t)){var n=e.nearestHandleForValue(e.handleElements,(function(e){return e.mouseEventClientOffset(t)}));n&&n.beginHandleMovement(t)}},e.maybeHandleTrackTouch=function(t){if(e.canHandleTrackEvent(t)){var n=e.nearestHandleForValue(e.handleElements,(function(e){return e.touchEventClientOffset(t)}));n&&n.beginHandleTouchMovement(t)}},e.canHandleTrackEvent=function(t){var n=t.target;return!e.props.disabled&&null==n.closest(".".concat(tr))},e.getHandlerForIndex=function(t,n){return function(r){null===n||void 0===n||n(e.getNewHandleValues(r,t))}},e.handleChange=function(t){var n,r,o=ia(e.props),a=o.map((function(e){return e.value}));qo(t,a)||(null===(r=(n=e.props).onChange)||void 0===r||r.call(n,t),o.forEach((function(e,n){var r;a[n]!==t[n]&&(null===(r=e.onChange)||void 0===r||r.call(e,t[n]))})))},e.handleRelease=function(t){var n,r,o=ia(e.props);null===(r=(n=e.props).onRelease)||void 0===r||r.call(n,t),o.forEach((function(e,n){var r;null===(r=e.onRelease)||void 0===r||r.call(e,t[n])}))},e}return(0,St.ZT)(n,t),n.getDerivedStateFromProps=function(e){return{labelPrecision:n.getLabelPrecision(e)}},n.getLabelPrecision=function(e){var t=e.labelPrecision,n=e.stepSize;return null==t?mo(n):t},n.prototype.getSnapshotBeforeUpdate=function(e){var t=ia(e);return ia(this.props).length!==t.length&&(this.handleElements=[]),null},n.prototype.render=function(){var t,n=this,r=Ct()(Jn,((t={})[Ut]=this.props.disabled,t["".concat(Jn,"-unlabeled")]=!1===this.props.labelRenderer,t[Xt]=this.props.vertical,t),this.props.className);return e.createElement("div",{className:r,onMouseDown:this.maybeHandleTrackClick,onTouchStart:this.maybeHandleTrackTouch},e.createElement("div",{className:rr,ref:function(e){return n.trackElement=e}},this.renderTracks()),e.createElement("div",{className:er},this.renderLabels()),this.renderHandles())},n.prototype.componentDidMount=function(){this.updateTickSize()},n.prototype.componentDidUpdate=function(e,n){t.prototype.componentDidUpdate.call(this,e,n),this.updateTickSize()},n.prototype.validateProps=function(t){if(t.stepSize<=0)throw new Error(oo);if(void 0!==t.labelStepSize&&void 0!==t.labelValues)throw new Error(uo);if(void 0!==t.labelStepSize&&t.labelStepSize<=0)throw new Error(ao);if(void 0!==t.min&&!isFinite(t.min))throw new Error(io);if(void 0!==t.max&&!isFinite(t.max))throw new Error(lo);var r=!1;if(e.Children.forEach(t.children,(function(e){e&&!Rr(e,n.Handle)&&(r=!0)})),r)throw new Error(so)},n.prototype.formatLabel=function(e,t){void 0===t&&(t=!1);var n=this.props.labelRenderer;return!1===n?void 0:function(e){return"function"===typeof e}(n)?n(e,{isHandleTooltip:t}):e.toFixed(this.state.labelPrecision)},n.prototype.renderLabels=function(){var t=this;if(!1===this.props.labelRenderer)return null;var n=this.getLabelValues(),r=this.props,o=r.max,a=r.min;return n.map((function(n,r){var i=Yo((n-a)/(o-a)),l=t.props.vertical?{bottom:i}:{left:i};return e.createElement("div",{className:nr,key:r,style:l},t.formatLabel(n))}))},n.prototype.renderTracks=function(){var e=la(this.props);e.push({value:this.props.max});for(var t={value:this.props.min},n=[],r=0;r<e.length;r++){var o=e[r];n.push(this.renderTrackFill(r,t,o)),t=o}return n},n.prototype.renderTrackFill=function(t,n,r){var o=[this.getOffsetRatio(n.value),this.getOffsetRatio(r.value)].sort((function(e,t){return e-t})),a=o[0],i=o[1],l=Yo(a),s=Yo(1-i),u=this.props.vertical?{bottom:l,top:s,left:0}:{left:l,right:s,top:0},c=(0,St.pi)((0,St.pi)({},u),n.trackStyleAfter||r.trackStyleBefore||{}),d=Ct()(or,_r(this.getTrackIntent(n,r)));return e.createElement("div",{key:"track-".concat(t),className:d,style:c})},n.prototype.renderHandles=function(){var t=this,n=this.props,r=n.disabled,o=n.max,a=n.min,i=n.stepSize,l=n.vertical,s=ia(this.props);return 0===s.length?null:s.map((function(n,u){var c,d=n.value,f=n.type,p=n.className,h=n.htmlProps;return e.createElement(Zo,{htmlProps:h,className:Ct()((c={},c[ar]=f===Jo,c[ir]=f===ea,c),p),disabled:r,key:"".concat(u,"-").concat(s.length),label:t.formatLabel(d,!0),max:o,min:a,onChange:t.getHandlerForIndex(u,t.handleChange),onRelease:t.getHandlerForIndex(u,t.handleRelease),ref:t.addHandleRef,stepSize:i,tickSize:t.state.tickSize,tickSizeRatio:t.state.tickSizeRatio,value:d,vertical:l})}))},n.prototype.nearestHandleForValue=function(e,t){return function(e,t){if(0!==e.length){for(var n=e[0],r=t(n),o=1;o<e.length;o++){var a=e[o],i=t(a);i<r&&(n=a,r=i)}return n}}(e,(function(e){var n=t(e),r=e.clientToValue(n),o=e.props.value;return Math.abs(r-o)}))},n.prototype.getNewHandleValues=function(e,t){var n=ia(this.props).map((function(e){return e.value})),r=n.slice();r[t]=e,r.sort((function(e,t){return e-t}));var o=r.indexOf(e),a=this.findFirstLockedHandleIndex(t,o);return-1!==a?(Qo(n,t,a,n[a]),n):(Qo(r,t,o,e),r)},n.prototype.findFirstLockedHandleIndex=function(e,t){for(var n=e<t?1:-1,r=ia(this.props),o=e+n;o!==t+n;o+=n)if(r[o].interactionKind!==ta)return o;return-1},n.prototype.getLabelValues=function(){var e=this.props,t=e.labelStepSize,n=e.labelValues,r=e.min,o=e.max,a=[];if(void 0!==n)a=n.slice();else for(var i=r;i<o||po(i,o);i+=null!==t&&void 0!==t?t:1)a.push(i);return a},n.prototype.getOffsetRatio=function(e){return ho((e-this.props.min)*this.state.tickSizeRatio,0,1)},n.prototype.getTrackIntent=function(e,t){return this.props.showTrackFill?void 0!==e.intentAfter?e.intentAfter:void 0!==t&&void 0!==t.intentBefore?t.intentBefore:this.props.defaultTrackIntent:At.NONE},n.prototype.updateTickSize=function(){if(null!=this.trackElement){var e=this.props.vertical?this.trackElement.clientHeight:this.trackElement.clientWidth,t=1/(this.props.max-this.props.min),n=e*t;this.setState({tickSize:n,tickSizeRatio:t})}},n.defaultSliderProps={disabled:!1,max:10,min:0,showTrackFill:!0,stepSize:1,vertical:!1},n.defaultProps=(0,St.pi)((0,St.pi)({},n.defaultSliderProps),{defaultTrackIntent:At.NONE}),n.displayName="".concat(Or,".MultiSlider"),n.Handle=ra,n}(go);function aa(e){var t=e.labelPrecision,n=e.stepSize,r=void 0===n?oa.defaultSliderProps.stepSize:n;return null==t?mo(r):t}function ia(e){return la(e,(function(e){return e.interactionKind!==na}))}function la(t,n){var r=t.children;void 0===n&&(n=function(){return!0});var o=e.Children.map(r,(function(e){return Rr(e,oa.Handle)&&n(e.props)?e.props:null})),a=null!=o?o:[];return(a=a.filter((function(e){return null!==e}))).sort((function(e,t){return e.value-t.value})),a}var sa,ua,ca=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return(0,St.ZT)(n,t),n.prototype.render=function(){var t=this.props,n=t.initialValue,r=t.intent,o=t.value,a=t.onChange,i=t.onRelease,l=t.handleHtmlProps,s=(0,St._T)(t,["initialValue","intent","value","onChange","onRelease","handleHtmlProps"]);return e.createElement(oa,(0,St.pi)({},s),e.createElement(oa.Handle,{value:o,intentAfter:o<n?r:void 0,intentBefore:o>=n?r:void 0,onChange:a,onRelease:i,htmlProps:l}),e.createElement(oa.Handle,{value:n,interactionKind:"none"}))},n.defaultProps=(0,St.pi)((0,St.pi)({},oa.defaultSliderProps),{initialValue:0,intent:At.PRIMARY,value:0}),n.displayName="".concat(Or,".Slider"),n}(go);const da=Ne.div(sa||(sa=r(["\n grid-column: 1;\n grid-row: 1/-1;\n justify-content: right;\n align-items: top;\n display: flex;\n opacity: 0.7;\n padding: 1vw;\n width: 20vw;\n"]))),fa=Ne.pre(ua||(ua=r(["\n overflow: scroll;\n word-break: normal !important;\n word-wrap: normal !important;\n white-space: pre !important;\n width: 15vw;\n max-height: 30vw;\n"]))),pa=()=>{const t=e.useContext(Oo),[n,r]=e.useState(t.hid.state),[o,a]=e.useState(!1),[i,l]=e.useState(!1),[s,u]=e.useState(0);t.hid.provider.reportOffset=s,e.useEffect((()=>{t.on("change",(e=>{r(e.hid.state)}))}),[]);let c="",d="";if(t.hid.provider.buffer){const e=t.hid.provider.buffer;c="const report = Buffer.from([".concat(new Uint8Array(e.buffer).join(", "),"])"),d="".concat(e.byteLength," bytes")}else c="Waiting for report...",d="unknown";const f=t.hid.provider.connected;return(0,No.jsx)(da,{className:"Debugger",children:(0,No.jsxs)(zo,{interactive:!1,elevation:Tt,children:[(0,No.jsx)(Vo,{title:"Debugger",children:(0,No.jsxs)(zo,{compact:!0,children:["Connected: ",t.hid.provider.connected?"yes":"no",f?", ".concat(t.hid.provider.wireless?"bluetooth":"usb"):""]})}),(0,No.jsx)(Vo,{title:"Outputs",children:(0,No.jsxs)(zo,{compact:!0,children:[(0,No.jsx)($o,{label:"Show Input State",checked:i,onChange:()=>l(!i)}),(0,No.jsx)($o,{label:"Show Report Buffer",checked:o,onChange:()=>a(!o)})]})}),o?[(0,No.jsx)(Vo,{title:"HID Report",subtitle:"Buffer Length: ".concat(d),children:(0,No.jsxs)(zo,{compact:!0,children:[(0,No.jsx)("h5",{children:"Byte Offset"}),(0,No.jsx)(ca,{value:s,min:-2,max:20,stepSize:1,onChange:u,labelValues:[s]}),(0,No.jsx)("h5",{children:"Buffer Sample"}),(0,No.jsx)(fa,{children:c})]})})]:[],i?[(0,No.jsx)(Vo,{title:"Input State",compact:!0,children:(0,No.jsx)(fa,{children:Object.entries(n).map(((e,t)=>{let[n,r]=e;return"".concat(n,": ").concat(JSON.stringify(r))})).join("\n")})})]:[]]})})};var ha;const ma=Ne.div(ha||(ha=r(["\n z-index: 10;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n overflow: hidden;\n display: grid;\n grid-template-columns: 1fr 1fr 30% 1fr 1fr;\n grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;\n"])));var va;const ga=Ne(Po)(va||(va=r(["\n grid-column: 3;\n grid-row: 3 / span 2;\n justify-content: center;\n align-items: center;\n display: flex;\n width: 100%;\n height: 100%;\n opacity: 0.7;\n"]))),ya=()=>{const t=e.useContext(Oo),[{direction:n,magnitude:r},o]=e.useState(t.left.analog.vector);e.useEffect((()=>{t.left.analog.on("change",(e=>{o(e.vector)}))}),[]),console.log("Reticle: ".concat(n," x ").concat(r));const[a]=e.useState({opacity:.7,diameter:5,thickness:.25,zoom:15});return(0,No.jsx)(ga,{className:"Reticle",width:a.diameter*a.zoom*1.25,height:(a.diameter+1)*a.zoom,children:(0,No.jsx)(yt,{element:"svg",zoom:a.zoom,children:(0,No.jsxs)(bt,{rotate:{y:Math.sin(n),x:Math.cos(n)},stroke:0,children:[(0,No.jsx)(wt,{stroke:a.thickness,diameter:a.diameter,color:"orange"}),(0,No.jsx)(wt,{stroke:a.thickness,diameter:a.diameter,color:"blue",translate:{x:r,y:r,z:-1}})]})})})};var ba;const wa=Ne.div(ba||(ba=r(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100vw;\n height: 100vh;\n overflow: hidden;\n background-color: #000000;\n"]))),Sa=()=>(0,No.jsx)(Oo.Provider,{value:To,children:(0,No.jsx)(wa,{className:"AppContainer",children:(0,No.jsxs)(ma,{children:[(0,No.jsx)(ya,{}),(0,No.jsx)(Io,{}),(0,No.jsx)(pa,{})]})})}),ka=e=>{e&&e instanceof Function&&n.e(787).then(n.bind(n,787)).then((t=>{let{getCLS:n,getFID:r,getFCP:o,getLCP:a,getTTFB:i}=t;n(e),r(e),o(e),a(e),i(e)}))};t.createRoot(document.getElementById("root")).render((0,No.jsx)(e.StrictMode,{children:(0,No.jsx)(Sa,{})})),ka(console.log)})()})();
|
|
3
|
+
//# sourceMappingURL=main.38a225bc.js.map
|