@seatmap.pro/renderer 1.47.0 → 1.54.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/lib/index.d.ts +401 -18
- package/lib/index.js +1 -1
- package/package.json +16 -13
- package/README.md +0 -74
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x19eb4e=_0x2173;(function(_0x391235,_0x116763){const _0x18b4de=_0x2173,_0x305385=_0x391235();while(!![]){try{const _0x1cb246=-parseInt(_0x18b4de(0x2dc))/0x1+-parseInt(_0x18b4de(0x408))/0x2*(-parseInt(_0x18b4de(0x3c3))/0x3)+parseInt(_0x18b4de(0x30c))/0x4*(-parseInt(_0x18b4de(0x55e))/0x5)+-parseInt(_0x18b4de(0x295))/0x6+-parseInt(_0x18b4de(0x54d))/0x7*(parseInt(_0x18b4de(0x1e1))/0x8)+parseInt(_0x18b4de(0x43c))/0x9*(-parseInt(_0x18b4de(0x3ce))/0xa)+parseInt(_0x18b4de(0x41a))/0xb;if(_0x1cb246===_0x116763)break;else _0x305385['push'](_0x305385['shift']());}catch(_0x3139b0){_0x305385['push'](_0x305385['shift']());}}}(_0x35d0,0xc3092));function arrayToObjectById(_0x39c643){const _0x4fa653=_0x2173,_0x39a870={};if(!_0x39c643)return _0x39a870;for(let _0x108681=0x0;_0x108681<_0x39c643[_0x4fa653(0x362)];_0x108681++){_0x39a870[_0x39c643[_0x108681]['id']]=_0x39c643[_0x108681];}return _0x39a870;}var cubicInOut=_0x555354=>{const _0x5d0c4d=_0x2173;return 0x1-Math[_0x5d0c4d(0x1bd)](0x1-_0x555354,0x3);},dpr=window[_0x19eb4e(0x1cf)],Layer=class{constructor(_0x3a8fd0){const _0xc2c14d=_0x19eb4e;this[_0xc2c14d(0x212)]=![],this['lastFrameTime']=0x0,this[_0xc2c14d(0x3c0)]=null,this[_0xc2c14d(0x251)]=0x0,this[_0xc2c14d(0x462)]=new Set(),this['context']=_0x3a8fd0,this[_0xc2c14d(0x4db)]=document[_0xc2c14d(0x231)](_0xc2c14d(0x4db)),this[_0xc2c14d(0x4db)]['style'][_0xc2c14d(0x328)]=_0xc2c14d(0x395),this[_0xc2c14d(0x4db)]['style'][_0xc2c14d(0x1c9)]='0',this['context']['element'][_0xc2c14d(0x537)](this['canvas']),this['ctx']=this[_0xc2c14d(0x4db)]['getContext']('2d'),this[_0xc2c14d(0x1d7)]=document[_0xc2c14d(0x231)](_0xc2c14d(0x4db)),this['offscreenCtx']=this['offscreenCanvas'][_0xc2c14d(0x415)]('2d'),this['updateSize'](),this[_0xc2c14d(0x212)]=this[_0xc2c14d(0x412)]['settings'][_0xc2c14d(0x3e9)]===_0xc2c14d(0x4a4);}get[_0x19eb4e(0x3d1)](){const _0x3d3e56=_0x19eb4e;return this[_0x3d3e56(0x412)][_0x3d3e56(0x1b7)]['clientWidth'];}get[_0x19eb4e(0x51f)](){const _0x44d61d=_0x19eb4e;return this['context'][_0x44d61d(0x1b7)][_0x44d61d(0x2de)];}[_0x19eb4e(0x4c8)](){const _0xf6a6d4=_0x19eb4e;this[_0xf6a6d4(0x548)][_0xf6a6d4(0x4e9)](0x0,0x0,this['canvas']['width'],this[_0xf6a6d4(0x4db)][_0xf6a6d4(0x51f)]),this[_0xf6a6d4(0x31e)][_0xf6a6d4(0x4e9)](0x0,0x0,this[_0xf6a6d4(0x1d7)][_0xf6a6d4(0x3d1)],this[_0xf6a6d4(0x1d7)][_0xf6a6d4(0x51f)]),this[_0xf6a6d4(0x4db)][_0xf6a6d4(0x3d1)]=0x1,this[_0xf6a6d4(0x4db)]['height']=0x1,this[_0xf6a6d4(0x1d7)][_0xf6a6d4(0x3d1)]=0x1,this[_0xf6a6d4(0x1d7)]['height']=0x1,this[_0xf6a6d4(0x4db)][_0xf6a6d4(0x51d)](),this[_0xf6a6d4(0x1d7)]['remove'](),this[_0xf6a6d4(0x412)][_0xf6a6d4(0x4c8)]();}[_0x19eb4e(0x423)](){const _0x5aee47=_0x19eb4e;this[_0x5aee47(0x4db)]['width']=this[_0x5aee47(0x3d1)]*dpr,this[_0x5aee47(0x4db)]['height']=this['height']*dpr,this[_0x5aee47(0x4db)][_0x5aee47(0x2a3)][_0x5aee47(0x51f)]=this['height']+'px',this[_0x5aee47(0x4db)][_0x5aee47(0x2a3)][_0x5aee47(0x3d1)]=this[_0x5aee47(0x3d1)]+'px',this['offscreenCanvas'][_0x5aee47(0x3d1)]=this[_0x5aee47(0x3d1)]*dpr,this[_0x5aee47(0x1d7)][_0x5aee47(0x51f)]=this[_0x5aee47(0x51f)]*dpr,this[_0x5aee47(0x523)]();}[_0x19eb4e(0x523)](){const _0x43aafc=_0x19eb4e;this[_0x43aafc(0x2b4)](),this['drawOnscreenCanvas'](this['context'][_0x43aafc(0x4b7)],this[_0x43aafc(0x412)][_0x43aafc(0x390)]);}[_0x19eb4e(0x3ef)](_0x41d787,_0x4b4757,_0x245e3c,_0x3958f0){const _0xb7d7a6=_0x19eb4e;var _0x664452,_0x2a3508,_0x5ef048;const _0x27eca5=this[_0xb7d7a6(0x412)];this[_0xb7d7a6(0x412)][_0xb7d7a6(0x438)][_0xb7d7a6(0x4be)]&&(_0x245e3c=this['context'][_0xb7d7a6(0x438)][_0xb7d7a6(0x4be)]({'context':_0x27eca5,'seat':_0x4b4757,'style':_0x245e3c,'state':_0x3958f0}));_0x41d787[_0xb7d7a6(0x38c)](),_0x41d787[_0xb7d7a6(0x436)]=_0x245e3c['color'];if(_0x245e3c[_0xb7d7a6(0x2b8)]){_0x41d787[_0xb7d7a6(0x2e1)]=_0x245e3c['shadow'][_0xb7d7a6(0x2b6)]||_0xb7d7a6(0x2d7),_0x41d787[_0xb7d7a6(0x484)]=_0x245e3c[_0xb7d7a6(0x2b8)][_0xb7d7a6(0x54f)]*this[_0xb7d7a6(0x412)][_0xb7d7a6(0x4b7)];if(_0x245e3c['shadow']['x'])_0x41d787[_0xb7d7a6(0x20f)]=_0x245e3c['shadow']['x']*this[_0xb7d7a6(0x412)][_0xb7d7a6(0x4b7)];if(_0x245e3c[_0xb7d7a6(0x2b8)]['y'])_0x41d787[_0xb7d7a6(0x31f)]=_0x245e3c[_0xb7d7a6(0x2b8)]['y']*this['context'][_0xb7d7a6(0x4b7)];}_0x41d787[_0xb7d7a6(0x239)]();const _0x37b94f=(_0x4b4757[_0xb7d7a6(0x4e1)]?(_0x664452=_0x245e3c[_0xb7d7a6(0x39f)])==null?void 0x0:_0x664452[_0xb7d7a6(0x331)]:_0x245e3c[_0xb7d7a6(0x331)])||_0x245e3c[_0xb7d7a6(0x331)];_0x41d787[_0xb7d7a6(0x3be)](_0x4b4757['x'],_0x4b4757['y'],_0x37b94f/0x2,0x0,0x2*Math['PI']),_0x41d787[_0xb7d7a6(0x247)]();_0x245e3c['stroke']&&(_0x41d787[_0xb7d7a6(0x1b3)]=_0x245e3c[_0xb7d7a6(0x426)][_0xb7d7a6(0x3d1)],_0x41d787[_0xb7d7a6(0x3cb)]=_0x245e3c[_0xb7d7a6(0x426)][_0xb7d7a6(0x2b6)],_0x41d787[_0xb7d7a6(0x426)]());_0x41d787['restore']();let _0x52d2b7;switch(_0x3958f0){case _0xb7d7a6(0x512):!this[_0xb7d7a6(0x4e5)](_0x4b4757['id']['toString']())&&this[_0xb7d7a6(0x3fd)](_0x4b4757['id']['toString']());_0x52d2b7='loading';break;case _0xb7d7a6(0x265):_0x52d2b7=_0xb7d7a6(0x265);break;case'selected':_0x52d2b7=(_0x4b4757[_0xb7d7a6(0x4e1)]?(_0x2a3508=_0x245e3c[_0xb7d7a6(0x39f)])==null?void 0x0:_0x2a3508[_0xb7d7a6(0x413)]:_0x245e3c['imageId'])||_0x245e3c[_0xb7d7a6(0x413)];break;default:this[_0xb7d7a6(0x4e5)](_0x4b4757['id'][_0xb7d7a6(0x4bb)]())&&this[_0xb7d7a6(0x565)](_0x4b4757['id'][_0xb7d7a6(0x4bb)]());_0x52d2b7=(_0x4b4757[_0xb7d7a6(0x4e1)]?(_0x5ef048=_0x245e3c[_0xb7d7a6(0x39f)])==null?void 0x0:_0x5ef048[_0xb7d7a6(0x413)]:_0x245e3c[_0xb7d7a6(0x413)])||_0x245e3c['imageId'];break;}if(_0x52d2b7){const _0x4065df=this[_0xb7d7a6(0x412)]['seatImages'][_0x52d2b7];if(_0x4065df){_0x41d787[_0xb7d7a6(0x38c)]();_0x52d2b7===_0xb7d7a6(0x512)?(_0x41d787[_0xb7d7a6(0x390)](_0x4b4757['x'],_0x4b4757['y']),_0x41d787['rotate'](this[_0xb7d7a6(0x251)]),_0x41d787['drawImage'](_0x4065df,-_0x4065df['width']/0x2,-_0x4065df[_0xb7d7a6(0x51f)]/0x2)):_0x41d787[_0xb7d7a6(0x2da)](_0x4065df,_0x4b4757['x']-_0x4065df['width']/0x2,_0x4b4757['y']-_0x4065df[_0xb7d7a6(0x51f)]/0x2);_0x41d787[_0xb7d7a6(0x41f)]();return;}}_0x245e3c[_0xb7d7a6(0x518)]&&this['context'][_0xb7d7a6(0x4b7)]/window['devicePixelRatio']>=0.35&&(_0x41d787[_0xb7d7a6(0x38c)](),_0x41d787['textAlign']=_0xb7d7a6(0x274),_0x41d787['textBaseline']='middle',_0x41d787[_0xb7d7a6(0x49d)]=_0x245e3c['seatName'][_0xb7d7a6(0x49d)],_0x41d787['fillStyle']=_0x245e3c[_0xb7d7a6(0x518)][_0xb7d7a6(0x2b6)],_0x41d787[_0xb7d7a6(0x29a)](_0x4b4757['name'],_0x4b4757['x'],_0x4b4757['y']+0x1),_0x41d787[_0xb7d7a6(0x41f)]());}[_0x19eb4e(0x34d)](_0x4443dc,_0x4205cc,_0x4287db){const _0xf8365b=_0x19eb4e;_0x4443dc[_0xf8365b(0x38c)](),_0x4443dc[_0xf8365b(0x239)](),_0x4443dc['arc'](_0x4205cc['x'],_0x4205cc['y'],0x64,0x0,0x2*Math['PI']),_0x4443dc[_0xf8365b(0x436)]=_0x4287db||'orange',_0x4443dc['fill'](),_0x4443dc['restore']();}['drawOffscreenCanvas'](){const _0x30213=_0x19eb4e;if(this['context'][_0x30213(0x4b7)]===void 0x0||this['context']['translate']===void 0x0)return;this['offscreenCtx'][_0x30213(0x38c)](),this[_0x30213(0x31e)][_0x30213(0x35d)](0x1,0x0,0x0,0x1,0x0,0x0),this[_0x30213(0x31e)]['clearRect'](0x0,0x0,this['width']*dpr,this['height']*dpr),this['offscreenCtx'][_0x30213(0x35d)](this['context'][_0x30213(0x4b7)],0x0,0x0,this[_0x30213(0x412)][_0x30213(0x4b7)],this[_0x30213(0x412)][_0x30213(0x390)]['x'],this[_0x30213(0x412)][_0x30213(0x390)]['y']),this[_0x30213(0x31e)][_0x30213(0x4ff)]=_0x30213(0x1c7),this['offscreenCtx'][_0x30213(0x43e)]=!![],this[_0x30213(0x3d0)](),this['offscreenCtx'][_0x30213(0x41f)]();}['drawOnscreenCanvas'](_0x35188f,_0x422899){const _0xc9abc3=_0x19eb4e,_0x59bd63=this['ctx'];_0x59bd63['save'](),_0x59bd63[_0xc9abc3(0x35d)](0x1,0x0,0x0,0x1,0x0,0x0),_0x59bd63[_0xc9abc3(0x4e9)](0x0,0x0,this['width']*dpr,this[_0xc9abc3(0x51f)]*dpr),_0x59bd63[_0xc9abc3(0x35d)](_0x35188f,0x0,0x0,_0x35188f,_0x422899['x'],_0x422899['y']),_0x59bd63['drawImage'](this[_0xc9abc3(0x1d7)],0x0,0x0),_0x59bd63[_0xc9abc3(0x41f)]();}['addSpinningSeat'](_0x25184d){const _0x43d2bd=_0x19eb4e;this[_0x43d2bd(0x462)][_0x43d2bd(0x3db)](_0x25184d),this[_0x43d2bd(0x3c0)]===null&&this[_0x43d2bd(0x424)]();}[_0x19eb4e(0x565)](_0x20ee08){const _0x5a8f5a=_0x19eb4e;this['spinningSeats']['delete'](_0x20ee08),this['spinningSeats'][_0x5a8f5a(0x331)]===0x0&&this['spinnerAnimationId']!==null&&(cancelAnimationFrame(this[_0x5a8f5a(0x3c0)]),this[_0x5a8f5a(0x3c0)]=null);}['isSpinningSeat'](_0x20a112){const _0x4884c6=_0x19eb4e;return this[_0x4884c6(0x462)][_0x4884c6(0x4f1)](_0x20a112);}[_0x19eb4e(0x424)](){if(this['spinnerAnimationId']!==null)return;const _0x323836=_0x517881=>{const _0x481011=_0x2173,_0x1dea61=this[_0x481011(0x509)]?_0x517881-this[_0x481011(0x509)]:0x10;this['lastFrameTime']=_0x517881,this['spinnerRotation']+=0.01*_0x1dea61,this[_0x481011(0x462)]['size']>0x0?(this[_0x481011(0x523)](),this[_0x481011(0x3c0)]=requestAnimationFrame(_0x323836)):(this[_0x481011(0x3c0)]=null,this[_0x481011(0x509)]=0x0);};this['spinnerAnimationId']=requestAnimationFrame(_0x323836);}['renderSeat'](_0x111f4c,_0x2366a8){const _0x5b257c=_0x19eb4e,_0x42c2b4=this['context']['settings']['theme'];let _0x156b75,_0x17391f='default';if(_0x2366a8['state']===_0x5b257c(0x512))_0x156b75=_0x42c2b4[_0x5b257c(0x4ce)]['loading'],_0x17391f='loading';else{if(_0x2366a8[_0x5b257c(0x2f1)]===_0x5b257c(0x265))_0x156b75=_0x42c2b4['seatStyles'][_0x5b257c(0x265)],_0x17391f=_0x5b257c(0x265);else{if(_0x2366a8['locked'])_0x156b75=_0x42c2b4[_0x5b257c(0x4ce)][_0x5b257c(0x361)],_0x17391f=_0x5b257c(0x361);else{if(_0x2366a8['filtered'])_0x156b75=_0x42c2b4['seatStyles']['filtered'];else{if(_0x2366a8[_0x5b257c(0x2f1)]===_0x5b257c(0x2d8))_0x156b75=_0x42c2b4[_0x5b257c(0x4ce)]['selected'],_0x17391f=_0x5b257c(0x2d8);else this[_0x5b257c(0x412)][_0x5b257c(0x431)](_0x2366a8['id'])?(_0x156b75=_0x42c2b4['seatStyles']['selected'],_0x17391f=_0x5b257c(0x2d8)):_0x156b75=_0x42c2b4[_0x5b257c(0x4ce)][_0x5b257c(0x23d)];}}}}this[_0x5b257c(0x3ef)](_0x111f4c,_0x2366a8,_0x156b75,_0x17391f);}['renderHoveredSeat'](_0x3c4f09,_0x52a947){const _0xb82eb5=_0x19eb4e,_0x3d21eb=this[_0xb82eb5(0x412)][_0xb82eb5(0x438)][_0xb82eb5(0x23b)];if(_0x52a947[_0xb82eb5(0x2af)]||_0x52a947[_0xb82eb5(0x441)]||this[_0xb82eb5(0x412)][_0xb82eb5(0x431)](_0x52a947['id'])||_0x52a947[_0xb82eb5(0x2f1)]===_0xb82eb5(0x512)||_0x52a947['state']===_0xb82eb5(0x265))return;const _0xb93ab2=_0x3d21eb[_0xb82eb5(0x4ce)]['hovered'];this['_renderSeat'](_0x3c4f09,_0x52a947,_0xb93ab2,'hovered');}['renderSelectedSeat'](_0x1d1c62,_0x1766e2){const _0x328d3b=_0x19eb4e,_0x38757d=this[_0x328d3b(0x412)][_0x328d3b(0x438)][_0x328d3b(0x23b)];if(_0x1766e2[_0x328d3b(0x2af)]||_0x1766e2[_0x328d3b(0x441)]||_0x1766e2[_0x328d3b(0x2f1)]===_0x328d3b(0x512)||_0x1766e2[_0x328d3b(0x2f1)]==='error')return;this[_0x328d3b(0x3ef)](_0x1d1c62,_0x1766e2,_0x38757d[_0x328d3b(0x4ce)][_0x328d3b(0x2d8)],_0x328d3b(0x2d8));}},dpr2=window[_0x19eb4e(0x1cf)],skewAngleRadian=0.95,INITIAL_TRANSFORM={'rotationAngle':0x0,'center':{'x':0x0,'y':0x0},'top':{'x':0x0,'y':0x0},'section':{'x':0x0,'y':0x0},'skewAngle':0x0},INITIAL_ANIMATION={'rotationAngle':0x0,'skewAngle':0x0,'inProgress':![]},SectionViewLayer=class extends Layer{constructor(){const _0x55cf3d=_0x19eb4e;super(...arguments),this[_0x55cf3d(0x38f)]=![],this['sectionViewTransform']={...INITIAL_TRANSFORM},this['animation']={'duration':this[_0x55cf3d(0x412)][_0x55cf3d(0x438)][_0x55cf3d(0x3c1)]||0x0,...INITIAL_ANIMATION};}[_0x19eb4e(0x3ef)](_0x38b661,_0x4f4fc0,_0x324d6c,_0x71b262){const _0x1d1c7a=_0x19eb4e;if(this[_0x1d1c7a(0x35b)]['inProgress'])return;this[_0x1d1c7a(0x38f)]&&this[_0x1d1c7a(0x27f)][_0x1d1c7a(0x3ba)]!==0x0&&(_0x4f4fc0=this['getCoordsAfterRotation'](_0x4f4fc0)),super[_0x1d1c7a(0x3ef)](_0x38b661,_0x4f4fc0,_0x324d6c,_0x71b262);}['drawOffscreenCanvas'](){const _0x39b733=_0x19eb4e;if(this[_0x39b733(0x412)][_0x39b733(0x4b7)]===void 0x0||this['context'][_0x39b733(0x390)]===void 0x0)return;this[_0x39b733(0x31e)][_0x39b733(0x38c)](),this[_0x39b733(0x31e)][_0x39b733(0x35d)](0x1,0x0,0x0,0x1,0x0,0x0),this['offscreenCtx'][_0x39b733(0x4e9)](0x0,0x0,this[_0x39b733(0x3d1)]*dpr2,this[_0x39b733(0x51f)]*dpr2),this[_0x39b733(0x31e)][_0x39b733(0x35d)](this[_0x39b733(0x412)][_0x39b733(0x4b7)],0x0,0x0,this[_0x39b733(0x412)][_0x39b733(0x4b7)],this[_0x39b733(0x412)][_0x39b733(0x390)]['x'],this[_0x39b733(0x412)][_0x39b733(0x390)]['y']),this[_0x39b733(0x31e)][_0x39b733(0x4ff)]=_0x39b733(0x1c7),this['offscreenCtx'][_0x39b733(0x43e)]=!![];if(this[_0x39b733(0x38f)]){const _0x519472=this[_0x39b733(0x35b)][_0x39b733(0x4b4)];this[_0x39b733(0x31e)]['setTransform'](this[_0x39b733(0x412)][_0x39b733(0x4b7)],0x0,0x0,this[_0x39b733(0x412)][_0x39b733(0x4b7)]*Math[_0x39b733(0x4b6)](_0x519472),this[_0x39b733(0x412)][_0x39b733(0x390)]['x'],this[_0x39b733(0x412)][_0x39b733(0x390)]['y']);}this[_0x39b733(0x3d0)](),this[_0x39b733(0x31e)][_0x39b733(0x41f)]();}[_0x19eb4e(0x2b1)](_0x29265c,_0x58b012){const _0x4efa67=_0x19eb4e,_0x418628=this['ctx'];_0x418628[_0x4efa67(0x38c)](),_0x418628[_0x4efa67(0x35d)](0x1,0x0,0x0,0x1,0x0,0x0),_0x418628[_0x4efa67(0x4e9)](0x0,0x0,this[_0x4efa67(0x3d1)]*dpr2,this[_0x4efa67(0x51f)]*dpr2),_0x418628[_0x4efa67(0x35d)](_0x29265c,0x0,0x0,_0x29265c,_0x58b012['x'],_0x58b012['y']),_0x418628[_0x4efa67(0x2da)](this['offscreenCanvas'],0x0,0x0),_0x418628['restore']();}['redraw'](){const _0x2be88b=_0x19eb4e;this[_0x2be88b(0x2b4)](),this['drawOnscreenCanvas'](0x1,{'x':0x0,'y':0x0});}[_0x19eb4e(0x492)](){return new Promise(_0x3f561b=>{const _0x3526b4=_0x5afd87=>{const _0x4df156=_0x2173;if(!this[_0x4df156(0x35b)]['startTime'])this[_0x4df156(0x35b)]['startTime']=_0x5afd87;if(_0x5afd87-this['animation'][_0x4df156(0x366)]>this[_0x4df156(0x35b)][_0x4df156(0x453)]){this[_0x4df156(0x35b)][_0x4df156(0x3ba)]=this[_0x4df156(0x27f)][_0x4df156(0x3ba)],this[_0x4df156(0x35b)]['skewAngle']=this[_0x4df156(0x27f)]['skewAngle'],this[_0x4df156(0x35b)][_0x4df156(0x366)]=void 0x0,this['animation'][_0x4df156(0x1c8)]=![],this['redraw'](),cancelAnimationFrame(_0x5afd87),_0x3f561b(!![]);return;}this[_0x4df156(0x35b)][_0x4df156(0x1c8)]=!![];const _0x2d5d1a=Math[_0x4df156(0x290)](0x1,(_0x5afd87-this[_0x4df156(0x35b)][_0x4df156(0x366)])/this[_0x4df156(0x35b)]['duration']),_0x509ad2=cubicInOut(_0x2d5d1a),_0x58f7a9=this[_0x4df156(0x27f)][_0x4df156(0x3ba)]*_0x509ad2,_0x2f80dc=this[_0x4df156(0x27f)][_0x4df156(0x4b4)]*_0x509ad2,_0x3df1c7=this['sectionViewTransform'][_0x4df156(0x3ba)]<0x0?Math[_0x4df156(0x2f9)]:Math[_0x4df156(0x290)];this['animation'][_0x4df156(0x3ba)]=_0x3df1c7(this[_0x4df156(0x27f)]['rotationAngle'],_0x58f7a9),this[_0x4df156(0x35b)][_0x4df156(0x4b4)]=Math['min'](this[_0x4df156(0x27f)][_0x4df156(0x4b4)],_0x2f80dc),this[_0x4df156(0x523)](),requestAnimationFrame(_0x3526b4);};requestAnimationFrame(_0x3526b4);});}[_0x19eb4e(0x3f1)](){return new Promise(_0xcba978=>{const _0x4c3b78=_0xf3a561=>{const _0xff6025=_0x2173;if(!this[_0xff6025(0x35b)][_0xff6025(0x366)])this['animation'][_0xff6025(0x366)]=_0xf3a561;if(_0xf3a561-this['animation'][_0xff6025(0x366)]>this[_0xff6025(0x35b)][_0xff6025(0x453)]){this[_0xff6025(0x35b)]['rotationAngle']=0x0,this[_0xff6025(0x35b)][_0xff6025(0x4b4)]=0x0,this[_0xff6025(0x35b)]['startTime']=void 0x0,this['redraw'](),cancelAnimationFrame(_0xf3a561),_0xcba978(!![]);return;}const _0x19a9c0=Math['min'](0x1,(_0xf3a561-this[_0xff6025(0x35b)][_0xff6025(0x366)])/this[_0xff6025(0x35b)]['duration']),_0x1d4c4a=cubicInOut(_0x19a9c0),_0x4944f9=this[_0xff6025(0x27f)]['rotationAngle']*(0x1-_0x1d4c4a),_0x3e20e0=this[_0xff6025(0x27f)][_0xff6025(0x4b4)]*(0x1-_0x1d4c4a);this[_0xff6025(0x35b)][_0xff6025(0x3ba)]=_0x4944f9,this[_0xff6025(0x35b)]['skewAngle']=Math[_0xff6025(0x2f9)](0x0,_0x3e20e0),this[_0xff6025(0x523)](),requestAnimationFrame(_0x4c3b78);};requestAnimationFrame(_0x4c3b78);});}[_0x19eb4e(0x3ec)](_0xc88c7e){const _0x41b5d0=_0x19eb4e;this[_0x41b5d0(0x543)](),this[_0x41b5d0(0x3fe)](_0xc88c7e),this['setRotationAngle']();}['setSectionCoords'](_0x4e1774){const _0x1d4330=_0x19eb4e,{x:_0x64886d,y:_0xf0786e}=this[_0x1d4330(0x412)]['getPositionByOffset'](_0x4e1774);this[_0x1d4330(0x27f)][_0x1d4330(0x48d)]={'x':_0x64886d,'y':_0xf0786e};}[_0x19eb4e(0x543)](){const _0x3cf7d6=_0x19eb4e,_0x4b109d=0x0,_0x4718d6=this['width'],_0x1dafc3=0x0,_0x5378b4=this[_0x3cf7d6(0x51f)],_0x215bb0=(_0x4b109d+_0x4718d6)/0x2,_0x782447=(_0x1dafc3+_0x5378b4)/0x2,_0x176b1f=this[_0x3cf7d6(0x412)]['getPositionByOffset']({'x':_0x215bb0,'y':_0x782447}),_0x4846fd=this[_0x3cf7d6(0x412)][_0x3cf7d6(0x3da)]({'x':_0x215bb0,'y':0x0});this['sectionViewTransform'][_0x3cf7d6(0x274)]={..._0x176b1f},this[_0x3cf7d6(0x27f)]['top']={..._0x4846fd};}[_0x19eb4e(0x547)](){const _0x48bf95=_0x19eb4e,_0x17dc95={...this[_0x48bf95(0x27f)][_0x48bf95(0x48d)]},_0x3040c9={...this[_0x48bf95(0x27f)][_0x48bf95(0x274)]},_0x474671={...this[_0x48bf95(0x27f)][_0x48bf95(0x506)]},_0x533189=_0x17dc95['x']<_0x3040c9['x'];let _0x15d342=Math[_0x48bf95(0x1bd)](_0x3040c9['x']-_0x474671['x'],0x2)+Math[_0x48bf95(0x1bd)](_0x3040c9['y']-_0x474671['y'],0x2),_0x1ebe93=Math[_0x48bf95(0x1bd)](_0x3040c9['x']-_0x17dc95['x'],0x2)+Math[_0x48bf95(0x1bd)](_0x3040c9['y']-_0x17dc95['y'],0x2),_0x2b7ea5=Math[_0x48bf95(0x1bd)](_0x17dc95['x']-_0x474671['x'],0x2)+Math[_0x48bf95(0x1bd)](_0x17dc95['y']-_0x474671['y'],0x2),_0x503569=Math['acos']((_0x15d342+_0x1ebe93-_0x2b7ea5)/Math[_0x48bf95(0x461)](0x4*_0x15d342*_0x1ebe93))*(0xb4/Math['PI']);_0x533189?_0x503569<0x5a?_0x503569=0xb4+_0x503569:_0x503569=_0x503569-0xb4:_0x503569=0xb4-_0x503569,this[_0x48bf95(0x27f)]['rotationAngle']=_0x503569;}[_0x19eb4e(0x52e)](){const _0x5206a0=_0x19eb4e;return this[_0x5206a0(0x52c)](this[_0x5206a0(0x27f)][_0x5206a0(0x48d)]);}[_0x19eb4e(0x52c)](_0xefeaa8){const _0x22cf97=_0x19eb4e;if(!this[_0x22cf97(0x38f)])return _0xefeaa8;const {x:_0x199afc,y:_0x5c810c}=this['sectionViewTransform']['center'],{x:_0x5083f8,y:_0x30666a}=_0xefeaa8,_0x20f5e3=this[_0x22cf97(0x27f)]['rotationAngle'],_0x112532=Math['PI']/-0xb4*_0x20f5e3,_0xd72a2f=Math[_0x22cf97(0x4b6)](_0x112532),_0x2c34dd=Math[_0x22cf97(0x558)](_0x112532),_0x3348eb=_0xd72a2f*(_0x5083f8-_0x199afc)+_0x2c34dd*(_0x30666a-_0x5c810c)+_0x199afc,_0x420bf3=_0xd72a2f*(_0x30666a-_0x5c810c)-_0x2c34dd*(_0x5083f8-_0x199afc)+_0x5c810c;return{..._0xefeaa8,'x':_0x3348eb,'y':_0x420bf3};}['setTransformationState'](_0x5a98ba){const _0x1f47f1=_0x19eb4e;this[_0x1f47f1(0x27f)]={..._0x5a98ba};}[_0x19eb4e(0x29d)](_0x30a898){const _0x1bb0cd=_0x19eb4e;this[_0x1bb0cd(0x35b)]={..._0x30a898};}[_0x19eb4e(0x455)](){return this['animation'];}['getAnimationPoint'](){const _0x10f7cc=_0x19eb4e,_0x33d06b=this[_0x10f7cc(0x412)][_0x10f7cc(0x562)](this[_0x10f7cc(0x52e)]()),_0x568584={'x':_0x33d06b['x'],'y':_0x33d06b['y']*Math[_0x10f7cc(0x4b6)](this[_0x10f7cc(0x27f)][_0x10f7cc(0x4b4)])};return _0x568584;}[_0x19eb4e(0x2a4)](){const _0x7acd98=_0x19eb4e;this['sectionViewTransform'][_0x7acd98(0x4b4)]=skewAngleRadian;}[_0x19eb4e(0x3d0)](){const _0x445986=_0x19eb4e;if(this[_0x445986(0x38f)]){this[_0x445986(0x2ed)](this[_0x445986(0x31e)],this[_0x445986(0x35b)]['rotationAngle']||0x0,this['sectionViewTransform'][_0x445986(0x274)],this[_0x445986(0x365)]);this[_0x445986(0x212)]&&(this[_0x445986(0x34d)](this[_0x445986(0x31e)],this[_0x445986(0x52e)](),_0x445986(0x1e3)),this[_0x445986(0x27f)]['center']&&this[_0x445986(0x34d)](this['offscreenCtx'],this[_0x445986(0x27f)]['center'],_0x445986(0x4d5)),this[_0x445986(0x27f)][_0x445986(0x506)]&&this[_0x445986(0x34d)](this[_0x445986(0x31e)],this[_0x445986(0x27f)][_0x445986(0x506)],'black'));return;}this['backgroundElement']&&!this['sectionViewActive']&&this[_0x445986(0x31e)][_0x445986(0x2da)](this[_0x445986(0x365)],0x0,0x0,this[_0x445986(0x365)]['width'],this[_0x445986(0x365)][_0x445986(0x51f)]);}async[_0x19eb4e(0x252)](_0x1b148b,_0x3d7924){const _0xa960cf=_0x19eb4e;var _0x28311e;const _0x4d6a5d=this[_0xa960cf(0x38f)]||!!this[_0xa960cf(0x287)]&&this[_0xa960cf(0x287)]!==_0x1b148b['id'],_0x16530e=this[_0xa960cf(0x287)]===_0x1b148b['id'],_0x36fbe4=()=>new Promise(_0x5ca61d=>{const _0x1cd720=_0xa960cf;_0x3d7924['zoomToFit'](),setTimeout(()=>{_0x5ca61d(!![]);},(this[_0x1cd720(0x412)][_0x1cd720(0x438)]['zoomAnimationDuration']||0x0)*1.5);});!this['context'][_0xa960cf(0x3ea)]&&await _0x36fbe4();_0x4d6a5d&&(this['animation'][_0xa960cf(0x1c8)]=!![],await Promise[_0xa960cf(0x29c)]([this[_0xa960cf(0x3f1)](),_0x36fbe4()]),this[_0xa960cf(0x449)]());if(_0x16530e)return this[_0xa960cf(0x523)](),![];const _0x822a78=(_0x28311e=_0x3d7924[_0xa960cf(0x3cf)]())==null?void 0x0:_0x28311e[_0xa960cf(0x495)](_0x889f63=>_0x889f63['id']===_0x1b148b['id']);if(!_0x822a78)return;return this[_0xa960cf(0x287)]=_0x1b148b['id']||null,this[_0xa960cf(0x38f)]=!![],this[_0xa960cf(0x2a4)](),this['setAnimateSection'](_0x822a78),typeof this[_0xa960cf(0x27f)][_0xa960cf(0x3ba)]===_0xa960cf(0x223)?this[_0xa960cf(0x492)]():(console[_0xa960cf(0x3f7)](_0xa960cf(0x549)+this[_0xa960cf(0x287)]+_0xa960cf(0x439)),this['resetSectionViewState']()),!![];}[_0x19eb4e(0x449)](){const _0xb970dd=_0x19eb4e;this[_0xb970dd(0x38f)]=![],this['sectionId']=null,this[_0xb970dd(0x27f)]={...INITIAL_TRANSFORM},this[_0xb970dd(0x35b)]={'duration':this['context'][_0xb970dd(0x438)]['transformAnimationDuration']||0x0,...INITIAL_ANIMATION};}[_0x19eb4e(0x2ed)](_0x1e0a25,_0x422c60,_0x4354c2,_0x237321){const _0x1c19bf=_0x19eb4e;_0x1e0a25[_0x1c19bf(0x38c)]();const {x:_0x532380,y:_0xea388a}=_0x4354c2;_0x1e0a25[_0x1c19bf(0x390)](_0x532380,_0xea388a),_0x1e0a25[_0x1c19bf(0x2ed)](_0x422c60*(Math['PI']/0xb4)),_0x1e0a25[_0x1c19bf(0x390)](-_0x532380,-_0xea388a),_0x1e0a25[_0x1c19bf(0x2da)](_0x237321,0x0,0x0,_0x237321[_0x1c19bf(0x3d1)],_0x237321[_0x1c19bf(0x51f)]),_0x1e0a25['restore']();}},HTMLCanvasLayer=class extends SectionViewLayer{[_0x19eb4e(0x3ab)](_0x5f0bac=0x0){const _0x4163cd=_0x19eb4e;let _0x1a8a63=[];const _0x90bb4a=this['context'][_0x4163cd(0x402)][_0x4163cd(0x3e7)]['visible']&&!this[_0x4163cd(0x412)][_0x4163cd(0x438)]['hideSeats']&&!(this[_0x4163cd(0x412)][_0x4163cd(0x3ea)]&&this[_0x4163cd(0x412)][_0x4163cd(0x438)][_0x4163cd(0x21a)]);if(_0x90bb4a){const _0x3f18e3=this[_0x4163cd(0x412)]['getPositionByOffset']({'x':0x0,'y':0x0}),_0x4c1f3d=this[_0x4163cd(0x412)][_0x4163cd(0x3da)]({'x':this[_0x4163cd(0x3d1)],'y':this[_0x4163cd(0x51f)]}),_0x5b922a={'minX':_0x3f18e3['x']-_0x5f0bac,'minY':_0x3f18e3['y']-_0x5f0bac,'maxX':_0x4c1f3d['x']+_0x5f0bac,'maxY':_0x4c1f3d['y']+_0x5f0bac};_0x1a8a63=findVisibleSeats(_0x5b922a,this[_0x4163cd(0x412)][_0x4163cd(0x29e)],this['context'][_0x4163cd(0x1e4)]);}return _0x1a8a63;}[_0x19eb4e(0x3d0)](){const _0x271261=_0x19eb4e;super[_0x271261(0x3d0)]();const _0x488295=this[_0x271261(0x38f)]?0xfa:0x2,_0xbfcf68=this[_0x271261(0x412)]['settings'][_0x271261(0x23b)][_0x271261(0x3a4)]*_0x488295;this['getVisibleSeats'](_0xbfcf68)['forEach'](_0x42bfdc=>this['renderSeat'](this[_0x271261(0x31e)],_0x42bfdc));}},findVisibleSeats=(_0x2c2ff6,_0x3eba81,_0x4a49a9)=>{const _0x30627c=_0x19eb4e;return _0x4a49a9[_0x30627c(0x39b)](_0x2c2ff6[_0x30627c(0x243)],_0x2c2ff6['minY'],_0x2c2ff6[_0x30627c(0x55f)],_0x2c2ff6[_0x30627c(0x4de)])[_0x30627c(0x210)](_0x2ebe1c=>({..._0x3eba81[_0x2ebe1c]}));};function createSvgElement(_0x4ff467){const _0x3da718=_0x19eb4e;if(!_0x4ff467)return console[_0x3da718(0x3f7)](_0x3da718(0x3b5)),document[_0x3da718(0x4f4)](_0x3da718(0x288),_0x3da718(0x338));const _0x464187=new DOMParser(),_0x4e7126=_0x464187['parseFromString'](_0x4ff467,_0x3da718(0x1c3)),_0x4238c4=_0x4e7126['querySelector']('parsererror');if(_0x4238c4){const _0x52eecf=_0x4238c4[_0x3da718(0x3d7)](_0x3da718(0x2b0)),_0x5d1cc1=_0x52eecf?_0x52eecf[_0x3da718(0x4e8)]:_0x4238c4[_0x3da718(0x4e8)];console[_0x3da718(0x265)](_0x3da718(0x3ed),_0x4ff467[_0x3da718(0x458)](0x0,0x1f4)+_0x3da718(0x23e));if(_0x5d1cc1&&_0x5d1cc1[_0x3da718(0x4e4)](_0x3da718(0x444))&&_0x5d1cc1['includes'](_0x3da718(0x1c5)))throw new Error(_0x3da718(0x378)+_0x5d1cc1);throw new Error(_0x3da718(0x1c0)+_0x5d1cc1);}const _0x564c50=_0x4e7126[_0x3da718(0x306)];if(!_0x564c50||_0x564c50[_0x3da718(0x201)][_0x3da718(0x502)]()!=='svg')throw new Error('Root\x20element\x20is\x20not\x20<svg>');return _0x564c50;}function _0x2173(_0x1583f2,_0x511558){const _0x35d0cd=_0x35d0();return _0x2173=function(_0x217340,_0x1f59c0){_0x217340=_0x217340-0x1ac;let _0x1ce7ce=_0x35d0cd[_0x217340];return _0x1ce7ce;},_0x2173(_0x1583f2,_0x511558);}function createSvgImageElement(_0x575289,_0x115f39,_0x4e41bc){if(!_0x575289)throw new Error('No\x20SVG');let _0x42f2e1=null;return _0x115f39&&_0x4e41bc&&(_0x42f2e1=getSvgDimensions(_0x575289,_0x115f39,_0x4e41bc)),new Promise((_0x10f0d2,_0x39c9c0)=>{const _0x5375bb=_0x2173,_0x4cfef9=new Image();_0x4cfef9[_0x5375bb(0x45d)]=_0x5375bb(0x557)+btoa(unescape(encodeURIComponent(_0x575289))),_0x42f2e1&&(_0x4cfef9['width']=_0x42f2e1[_0x5375bb(0x3d1)],_0x4cfef9[_0x5375bb(0x51f)]=_0x42f2e1['height']),_0x4cfef9['onload']=()=>_0x10f0d2(_0x4cfef9),_0x4cfef9['onerror']=()=>_0x39c9c0(_0x5375bb(0x4b0));});}async function loadImageFromUrl(_0x5339e5,_0xb18e1){if(!_0x5339e5)throw new Error('No\x20URL');return new Promise((_0x37a866,_0x5847af)=>{const _0x1aad1b=_0x2173,_0x29d64a=new Image();_0xb18e1&&(_0x29d64a[_0x1aad1b(0x491)]=_0xb18e1),_0x29d64a['src']=_0x5339e5,_0x29d64a['onload']=()=>_0x37a866(_0x29d64a),_0x29d64a[_0x1aad1b(0x464)]=_0x23abde=>_0x5847af('PNG\x20image\x20load\x20error:\x20'+_0x23abde[_0x1aad1b(0x4bc)]);});}var setImageSizeAndCenter=(_0x428047,_0x15a879)=>{const _0x5e04a3=_0x19eb4e,{x:_0x527212,y:_0x2bc897,width:_0x55abaf,height:_0x29d586}=_0x15a879;_0x428047[_0x5e04a3(0x2a3)]['position']=_0x5e04a3(0x395),_0x428047[_0x5e04a3(0x2a3)][_0x5e04a3(0x1c9)]=_0x527212+'px',_0x428047['style'][_0x5e04a3(0x506)]=_0x2bc897+'px',_0x428047['style'][_0x5e04a3(0x3d1)]=_0x55abaf+'px',_0x428047[_0x5e04a3(0x2a3)][_0x5e04a3(0x51f)]=_0x29d586+'px',_0x428047[_0x5e04a3(0x3d1)]=_0x55abaf,_0x428047[_0x5e04a3(0x51f)]=_0x29d586,_0x428047[_0x5e04a3(0x2a3)]['imageRendering']=_0x5e04a3(0x503);};async function svgToBase64(_0x391417){const _0x17e6c8=_0x19eb4e,_0x53089d=new Blob([_0x391417],{'type':_0x17e6c8(0x1c3)}),_0x54e940=URL[_0x17e6c8(0x4bf)](_0x53089d);return new Promise((_0x3ea758,_0x39d21c)=>{const _0x51e159=_0x17e6c8,_0x4c48d2=new Image();_0x4c48d2[_0x51e159(0x491)]=_0x51e159(0x1ee);const _0x4ece6d=0x4;_0x4c48d2[_0x51e159(0x315)]=()=>{const _0x1b1fbc=_0x51e159;URL['revokeObjectURL'](_0x54e940);const _0x3cea3e=document['createElement']('canvas');_0x3cea3e[_0x1b1fbc(0x3d1)]=_0x4c48d2[_0x1b1fbc(0x3d1)]*_0x4ece6d,_0x3cea3e[_0x1b1fbc(0x51f)]=_0x4c48d2[_0x1b1fbc(0x51f)]*_0x4ece6d;const _0x3e52b5=_0x3cea3e[_0x1b1fbc(0x415)]('2d');_0x3e52b5?(_0x3e52b5[_0x1b1fbc(0x2da)](_0x4c48d2,0x0,0x0,_0x3cea3e[_0x1b1fbc(0x3d1)],_0x3cea3e[_0x1b1fbc(0x51f)]),_0x3ea758(_0x3cea3e[_0x1b1fbc(0x215)](_0x1b1fbc(0x2e8)))):_0x39d21c(new Error(_0x1b1fbc(0x29f)));},_0x4c48d2[_0x51e159(0x464)]=_0x39d21c,_0x4c48d2[_0x51e159(0x45d)]=_0x54e940;});}function getSvgDimensions(_0x2a02c1,_0x50eadc,_0x2cde85){const _0x443a46=_0x19eb4e,_0x176d00=new DOMParser(),_0x460fd5=_0x176d00[_0x443a46(0x50a)](_0x2a02c1,_0x443a46(0x1c3)),_0x559527=_0x460fd5[_0x443a46(0x42a)]('svg')[0x0];if(_0x559527[_0x443a46(0x2b2)](_0x443a46(0x3d1))&&_0x559527[_0x443a46(0x2b2)](_0x443a46(0x51f)))return{'width':parseFloat(_0x559527[_0x443a46(0x214)](_0x443a46(0x3d1))[_0x443a46(0x536)]('px','')),'height':parseFloat(_0x559527[_0x443a46(0x214)](_0x443a46(0x51f))[_0x443a46(0x536)]('px',''))};else{if(_0x559527[_0x443a46(0x2b2)](_0x443a46(0x341))){const _0x546bd9=_0x559527['getAttribute'](_0x443a46(0x341))['split']('\x20');return{'width':parseFloat(_0x546bd9[0x2]),'height':parseFloat(_0x546bd9[0x3])};}else return{'width':_0x50eadc,'height':_0x2cde85};}}var theme_default={'gridStep':0xe,'bgColor':_0x19eb4e(0x241),'unavailableSeatRadius':0x3,'filteredSeatRadius':0x5,'availableSeatRadius':0x8,'specialSeatRadius':0xc,'hoveredSeatRadius':0x13,'selectedSeatRadius':0x15,'seatFont':_0x19eb4e(0x40f),'seatTextColor':_0x19eb4e(0x4c7),'unavailableSeatColor':_0x19eb4e(0x1f1),'filteredSeatColor':_0x19eb4e(0x21d),'svgSectionStyles':{'default':{},'filtered':{'bgColor':_0x19eb4e(0x21d)},'unavailable':{'bgColor':_0x19eb4e(0x1f1)},'hovered':{'stroke':{'color':_0x19eb4e(0x321),'width':_0x19eb4e(0x2e0)},'cursor':_0x19eb4e(0x507)},'selected':{'stroke':{'color':_0x19eb4e(0x321),'opacity':0x1}}},'shadowColor':'rgba(0,\x200,\x200,\x200.3)','shadowBlur':0x14,'priceColors':[[_0x19eb4e(0x3e3),'#673AB7',_0x19eb4e(0x47b),_0x19eb4e(0x321),'#00BCD4','#009688',_0x19eb4e(0x256),_0x19eb4e(0x398),_0x19eb4e(0x2ef),'#FF9800','#FF5722',_0x19eb4e(0x278),'#E91E63'],[_0x19eb4e(0x321)],['#2196F3',_0x19eb4e(0x2ef)],[_0x19eb4e(0x385),_0x19eb4e(0x321),_0x19eb4e(0x2ef)]],'colorCategories':[_0x19eb4e(0x3e3),'#673AB7',_0x19eb4e(0x47b),_0x19eb4e(0x321),_0x19eb4e(0x24e),_0x19eb4e(0x3f0),'#4CAF50',_0x19eb4e(0x398),_0x19eb4e(0x2ef),'#FF9800',_0x19eb4e(0x516),_0x19eb4e(0x278),'#E91E63']},ATTR_DATA_GA_SELECTED='data-ga-selected',ATTR_OUTER_HIGHLIGHT=_0x19eb4e(0x46d),ATTR_DATA_GA_UNAVAILABLE=_0x19eb4e(0x1d6),ATTR_DATA_DEFAULT_FILL=_0x19eb4e(0x318),SM_OUTLINE_FOCUSED='sm-outline-focused',UNDERLAY_BINDED_GA_CSS_STYLES='sm-ga-bind-css',OUTLINE_CLASS=_0x19eb4e(0x323),appendStyles=_0x386fad=>{const _0xce87ee=_0x19eb4e,_0x5a2015=document[_0xce87ee(0x3d7)](_0xce87ee(0x4d2))||document[_0xce87ee(0x2ee)],_0x4ffcf1=document[_0xce87ee(0x4f4)](_0xce87ee(0x288),'style'),_0x1d5437=generateDynamicHighlightCss(bgOutlineCss,_0x386fad||theme_default[_0xce87ee(0x379)]);_0x4ffcf1['appendChild'](document[_0xce87ee(0x2a9)](_0x1d5437));const _0x42844e=generateDynamicHighlightCss(outlineCss,theme_default[_0xce87ee(0x379)]);_0x4ffcf1[_0xce87ee(0x537)](document[_0xce87ee(0x2a9)](_0x42844e)),_0x5a2015[_0xce87ee(0x537)](_0x4ffcf1);},getThemeStyle=(_0x16475f,_0x375488)=>{if(_0x375488)return _0x16475f+':\x20'+_0x375488+';';return'';},generateDynamicHighlightCss=(_0x2312a5,_0x3faccc)=>{const _0x532ba8=_0x19eb4e;var _0xa33d80,_0x1b573c,_0x4855f1,_0x3cedef,_0x1aa6e3,_0xc8728d,_0x2b7f8e,_0x1b6415,_0x3896b2,_0x290605,_0x3c4b91,_0x4376bf,_0x594433,_0x2c5786,_0x4a15c8,_0x534a52,_0x182705,_0x1f5f7c,_0x3ef3c6,_0x3367c1,_0x28313d,_0x4cf8bf,_0x5a8df9,_0x528c2d,_0x38e7dc,_0x2dcede,_0x367a20,_0x3c40ac,_0x3194b1,_0x2738d3,_0x3f731f,_0x4ab6cd,_0x4f909b,_0x13093d,_0x491df5,_0x19a448,_0x1c4bcb,_0x108dbc,_0x59ed4c,_0x30b7f1,_0xdd9483;const _0x2b0bbc=_0x532ba8(0x36b),_0x5269e8=_0x532ba8(0x3a3)+OUTLINE_CLASS+_0x532ba8(0x418)+getThemeStyle(_0x532ba8(0x1e5),(_0xa33d80=_0x3faccc==null?void 0x0:_0x3faccc[_0x532ba8(0x23d)])==null?void 0x0:_0xa33d80['cursor'])+_0x532ba8(0x375)+getThemeStyle(_0x532ba8(0x426),(_0x4855f1=(_0x1b573c=_0x3faccc==null?void 0x0:_0x3faccc['default'])==null?void 0x0:_0x1b573c['stroke'])==null?void 0x0:_0x4855f1[_0x532ba8(0x2b6)])+_0x532ba8(0x375)+getThemeStyle(_0x532ba8(0x515),(_0x1aa6e3=(_0x3cedef=_0x3faccc==null?void 0x0:_0x3faccc[_0x532ba8(0x1f7)])==null?void 0x0:_0x3cedef[_0x532ba8(0x426)])==null?void 0x0:_0x1aa6e3[_0x532ba8(0x372)])+_0x532ba8(0x221)+getThemeStyle('fill',(_0x2b7f8e=(_0xc8728d=_0x3faccc==null?void 0x0:_0x3faccc['default'])==null?void 0x0:_0xc8728d[_0x532ba8(0x478)])==null?void 0x0:_0x2b7f8e[_0x532ba8(0x2b6)])+_0x532ba8(0x28a),_0x2d5a14='\x0a\x20\x20\x20\x20\x20\x20.sm-shape-ga:hover,\x0a\x20\x20\x20\x20\x20\x20.sm-table:hover,\x20\x0a\x20\x20\x20\x20\x20\x20.sm-eagle-view\x20.'+OUTLINE_CLASS+_0x532ba8(0x272)+getThemeStyle(_0x532ba8(0x1e5),(_0x1b6415=_0x3faccc==null?void 0x0:_0x3faccc[_0x532ba8(0x1f7)])==null?void 0x0:_0x1b6415[_0x532ba8(0x1e5)])+_0x532ba8(0x375)+getThemeStyle(_0x532ba8(0x426),(_0x290605=(_0x3896b2=_0x3faccc==null?void 0x0:_0x3faccc['hovered'])==null?void 0x0:_0x3896b2['stroke'])==null?void 0x0:_0x290605[_0x532ba8(0x2b6)])+_0x532ba8(0x375)+getThemeStyle(_0x532ba8(0x515),(_0x4376bf=(_0x3c4b91=_0x3faccc==null?void 0x0:_0x3faccc[_0x532ba8(0x1f7)])==null?void 0x0:_0x3c4b91['stroke'])==null?void 0x0:_0x4376bf['opacity'])+_0x532ba8(0x375)+getThemeStyle(_0x532ba8(0x410),(_0x2c5786=(_0x594433=_0x3faccc==null?void 0x0:_0x3faccc[_0x532ba8(0x1f7)])==null?void 0x0:_0x594433[_0x532ba8(0x426)])==null?void 0x0:_0x2c5786[_0x532ba8(0x3d1)])+_0x532ba8(0x2a2)+getThemeStyle(_0x532ba8(0x247),(_0x4a15c8=_0x3faccc==null?void 0x0:_0x3faccc[_0x532ba8(0x1f7)])==null?void 0x0:_0x4a15c8[_0x532ba8(0x253)])+_0x532ba8(0x1ba)+getThemeStyle(_0x532ba8(0x247),(_0x182705=(_0x534a52=_0x3faccc==null?void 0x0:_0x3faccc[_0x532ba8(0x1f7)])==null?void 0x0:_0x534a52[_0x532ba8(0x478)])==null?void 0x0:_0x182705[_0x532ba8(0x2b6)])+_0x532ba8(0x28a),_0x80566='\x0a\x20\x20\x20\x20\x20\x20.sm-shape-ga['+ATTR_DATA_GA_SELECTED+'=\x221\x22],\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga['+ATTR_DATA_GA_SELECTED+_0x532ba8(0x383)+getThemeStyle(_0x532ba8(0x1e5),(_0x1f5f7c=_0x3faccc==null?void 0x0:_0x3faccc['selected'])==null?void 0x0:_0x1f5f7c['cursor'])+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle('stroke',(_0x3367c1=(_0x3ef3c6=_0x3faccc==null?void 0x0:_0x3faccc[_0x532ba8(0x2d8)])==null?void 0x0:_0x3ef3c6[_0x532ba8(0x426)])==null?void 0x0:_0x3367c1['color'])+_0x532ba8(0x375)+getThemeStyle(_0x532ba8(0x515),(_0x4cf8bf=(_0x28313d=_0x3faccc==null?void 0x0:_0x3faccc[_0x532ba8(0x2d8)])==null?void 0x0:_0x28313d[_0x532ba8(0x426)])==null?void 0x0:_0x4cf8bf[_0x532ba8(0x372)])+_0x532ba8(0x316)+ATTR_DATA_GA_SELECTED+_0x532ba8(0x2d0)+getThemeStyle(_0x532ba8(0x247),(_0x5a8df9=_0x3faccc==null?void 0x0:_0x3faccc['selected'])==null?void 0x0:_0x5a8df9[_0x532ba8(0x253)])+_0x532ba8(0x504)+ATTR_DATA_GA_SELECTED+_0x532ba8(0x45a)+getThemeStyle('fill',(_0x38e7dc=(_0x528c2d=_0x3faccc==null?void 0x0:_0x3faccc[_0x532ba8(0x2d8)])==null?void 0x0:_0x528c2d['sectionName'])==null?void 0x0:_0x38e7dc[_0x532ba8(0x2b6)])+_0x532ba8(0x28a),_0x2ac87e=_0x532ba8(0x1f5)+ATTR_DATA_GA_UNAVAILABLE+'=\x221\x22],\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga['+ATTR_DATA_GA_UNAVAILABLE+_0x532ba8(0x383)+getThemeStyle(_0x532ba8(0x1e5),(_0x2dcede=_0x3faccc==null?void 0x0:_0x3faccc[_0x532ba8(0x361)])==null?void 0x0:_0x2dcede['cursor'])+_0x532ba8(0x375)+getThemeStyle(_0x532ba8(0x426),(_0x3c40ac=(_0x367a20=_0x3faccc==null?void 0x0:_0x3faccc[_0x532ba8(0x361)])==null?void 0x0:_0x367a20[_0x532ba8(0x426)])==null?void 0x0:_0x3c40ac[_0x532ba8(0x2b6)])+_0x532ba8(0x375)+getThemeStyle(_0x532ba8(0x515),(_0x2738d3=(_0x3194b1=_0x3faccc==null?void 0x0:_0x3faccc[_0x532ba8(0x361)])==null?void 0x0:_0x3194b1[_0x532ba8(0x426)])==null?void 0x0:_0x2738d3[_0x532ba8(0x372)])+_0x532ba8(0x316)+ATTR_DATA_GA_UNAVAILABLE+'=\x221\x22]\x20path[data-seatmap-ga]\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle(_0x532ba8(0x247),(_0x3f731f=_0x3faccc==null?void 0x0:_0x3faccc[_0x532ba8(0x361)])==null?void 0x0:_0x3f731f[_0x532ba8(0x253)])+_0x532ba8(0x504)+ATTR_DATA_GA_UNAVAILABLE+'=\x221\x22]\x20>\x20path:not([data-seatmap-ga])\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle(_0x532ba8(0x247),(_0x4f909b=(_0x4ab6cd=_0x3faccc==null?void 0x0:_0x3faccc[_0x532ba8(0x361)])==null?void 0x0:_0x4ab6cd['sectionName'])==null?void 0x0:_0x4f909b[_0x532ba8(0x2b6)])+_0x532ba8(0x28a),_0x3a5551='\x0a\x20\x20\x20\x20\x20\x20.sm-shape-ga[outer-highlight=\x221\x22],\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga[outer-highlight=\x221\x22]\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle(_0x532ba8(0x1e5),(_0x13093d=_0x3faccc==null?void 0x0:_0x3faccc['hovered'])==null?void 0x0:_0x13093d[_0x532ba8(0x1e5)])+_0x532ba8(0x375)+getThemeStyle('stroke',(_0x19a448=(_0x491df5=_0x3faccc==null?void 0x0:_0x3faccc[_0x532ba8(0x1f7)])==null?void 0x0:_0x491df5[_0x532ba8(0x426)])==null?void 0x0:_0x19a448[_0x532ba8(0x2b6)])+_0x532ba8(0x375)+getThemeStyle(_0x532ba8(0x515),(_0x108dbc=(_0x1c4bcb=_0x3faccc==null?void 0x0:_0x3faccc['hovered'])==null?void 0x0:_0x1c4bcb['stroke'])==null?void 0x0:_0x108dbc['opacity'])+_0x532ba8(0x36f)+getThemeStyle(_0x532ba8(0x247),(_0x59ed4c=_0x3faccc==null?void 0x0:_0x3faccc[_0x532ba8(0x1f7)])==null?void 0x0:_0x59ed4c['bgColor'])+_0x532ba8(0x414)+getThemeStyle('fill',(_0xdd9483=(_0x30b7f1=_0x3faccc==null?void 0x0:_0x3faccc[_0x532ba8(0x1f7)])==null?void 0x0:_0x30b7f1[_0x532ba8(0x478)])==null?void 0x0:_0xdd9483[_0x532ba8(0x2b6)])+'\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',_0x2e5acc='\x0a\x20\x20\x20\x20\x20\x20.sm-eagle-view\x20.'+SM_OUTLINE_FOCUSED+_0x532ba8(0x1ad)+SM_OUTLINE_FOCUSED+_0x532ba8(0x4c6);return'\x0a\x20\x20\x20\x20\x20\x20'+_0x2312a5+_0x532ba8(0x1fd)+_0x2b0bbc+_0x532ba8(0x1fd)+_0x5269e8+'\x0a\x20\x20\x20\x20\x20\x20'+_0x2d5a14+_0x532ba8(0x1fd)+_0x80566+'\x0a\x20\x20\x20\x20\x20\x20'+_0x2ac87e+_0x532ba8(0x1fd)+_0x3a5551+_0x532ba8(0x1fd)+_0x2e5acc+_0x532ba8(0x528)+OUTLINE_CLASS+_0x532ba8(0x542);},bgOutlineCss=_0x19eb4e(0x36a)+OUTLINE_CLASS+_0x19eb4e(0x51e),outlineCss=_0x19eb4e(0x4ac)+OUTLINE_CLASS+'\x20{\x0a\x20\x20\x20\x20\x20\x20display:\x20none;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x0a\x20\x20\x20\x20.sm-shape-ga,\x20\x0a\x20\x20\x20\x20.sm-table,\x20\x0a\x20\x20\x20\x20.sm-eagle-view\x20.'+OUTLINE_CLASS+'\x20{\x0a\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20fill:\x20transparent;\x0a\x20\x20\x20\x20\x20\x20stroke:\x20transparent;\x0a\x20\x20\x20\x20\x20\x20stroke-width:\x202px;\x0a\x20\x20\x20\x20\x20\x20stroke-opacity:\x200.5;\x0a\x20\x20\x20\x20\x20\x20vector-effect:\x20non-scaling-stroke;\x0a\x20\x20\x20\x20\x20\x20transition:\x20stroke\x20100ms\x20ease-in-out;\x0a\x20\x20\x20\x20}\x0a\x20\x20',cleanupStyles=(_0x3d1185,_0x32be1c)=>{const _0x1c81bb=_0x19eb4e;if(!_0x3d1185['hasAttribute'](_0x1c81bb(0x2a3)))return;if(_0x32be1c[_0x1c81bb(0x362)]===0x1&&_0x32be1c[0x0]==='*'){_0x3d1185['removeAttribute']('style');return;}const _0x414f59=_0x3d1185[_0x1c81bb(0x214)](_0x1c81bb(0x2a3)),_0xdbd624=_0x414f59&&_0x414f59[_0x1c81bb(0x4e2)](';')[_0x1c81bb(0x210)](_0x2b88cf=>_0x2b88cf['trim']()[_0x1c81bb(0x4e2)](':')),_0x29616e=_0xdbd624&&_0xdbd624[_0x1c81bb(0x33f)](_0x18f1be=>_0x18f1be[0x0]&&!_0x32be1c['includes'](_0x18f1be[0x0][_0x1c81bb(0x1e0)]()));if(_0x29616e&&_0x29616e[_0x1c81bb(0x362)]>0x0){const _0x36f1b5=_0x29616e[_0x1c81bb(0x210)](_0x10348f=>_0x10348f['join'](':'))[_0x1c81bb(0x24d)](';');_0x3d1185[_0x1c81bb(0x2dd)](_0x1c81bb(0x2a3),_0x36f1b5);}else _0x3d1185['removeAttribute'](_0x1c81bb(0x2a3));},DPR=window[_0x19eb4e(0x1cf)],UNDERLAY_BINDED_GA_PATH_ATTR=_0x19eb4e(0x44a),UNDERLAY_BINDED_GA_PATH_ATTR_LEGACY=_0x19eb4e(0x51c),UNDERLAY_SVG_GROUP=_0x19eb4e(0x203),UNDERLAY_TO_BIND_GA_PATH_ATTR=_0x19eb4e(0x561),DATA_GOS_ID='data-gos-id',DATA_FONT_SCALE='data-font-scale',enrichElementWithData=(_0x541b71,_0x45743b,_0x1b50ed,_0x30f310)=>{const _0x435fa7=_0x19eb4e,_0xf3446b=_0x541b71[_0x435fa7(0x214)](_0x1b50ed);if(!_0xf3446b)return;_0x541b71['setAttribute'](_0x435fa7(0x33e),_0xf3446b);const _0x39bcbd=_0x45743b[_0x435fa7(0x495)](_0x5dfaf4=>(_0x5dfaf4==null?void 0x0:_0x5dfaf4[_0x435fa7(0x40e)])===_0xf3446b);if(!_0x39bcbd){_0x541b71[_0x435fa7(0x2dd)](_0x435fa7(0x372),'0.1');return;}!(_0x39bcbd==null?void 0x0:_0x39bcbd[_0x435fa7(0x3d2)])&&_0x541b71[_0x435fa7(0x2dd)](_0x435fa7(0x372),_0x435fa7(0x371));const _0xfa4b5a=_0x39bcbd==null?void 0x0:_0x39bcbd['id'];_0xfa4b5a&&_0x541b71[_0x435fa7(0x2dd)](DATA_GOS_ID,_0xfa4b5a[_0x435fa7(0x4bb)]());const _0x32622f=_0x30f310[_0x435fa7(0x29e)][_0x435fa7(0x33f)](_0x19fbad=>_0x19fbad['sectorId']===_0xfa4b5a),_0x86669b=_0x32622f[_0x435fa7(0x495)](_0x253475=>_0x253475[_0x435fa7(0x22b)]);if(_0x32622f[_0x435fa7(0x362)]>0x0&&!_0x86669b&&_0x30f310['settings'][_0x435fa7(0x2ec)])return;_0x30f310[_0x435fa7(0x438)]['disableOutlinesInHelicopterView']?_0x541b71['classList'][_0x435fa7(0x3db)](OUTLINE_CLASS):_0x541b71[_0x435fa7(0x3e5)][_0x435fa7(0x3db)]('sm-binded-ga');},OutlineLayer=class{constructor(_0x25bf03){const _0x389485=_0x19eb4e;this['hasBackgroundOutline']=![],this[_0x389485(0x2bc)]=UNDERLAY_BINDED_GA_PATH_ATTR,this[_0x389485(0x52b)]={},this[_0x389485(0x312)]=_0x38a0cf=>{const _0x3ea1bc=_0x389485,{sectionsById:_0x32bde9}=this[_0x3ea1bc(0x412)],_0x14d38f=[];return _0x38a0cf[_0x3ea1bc(0x4b5)](_0x438a74=>{const _0x5d2d6e=_0x3ea1bc,_0x56433e=Number(_0x438a74['getAttribute'](DATA_GOS_ID)),_0x240cf4=_0x56433e?_0x32bde9[_0x56433e]:null,_0x7aba22=_0x438a74[_0x5d2d6e(0x214)](_0x5d2d6e(0x4f9));if(!_0x240cf4||!_0x7aba22)return;const _0xb37e87=matrixStrToArray(_0x7aba22);_0x14d38f['push']({'id':_0x240cf4['id'],'name':_0x240cf4['name'],'transform':_0xb37e87,'isTable':!!(_0x240cf4[_0x5d2d6e(0x4c3)]===_0x5d2d6e(0x481))});}),_0x14d38f;},this[_0x389485(0x254)]=_0x50f95f=>{const _0x21e12e=_0x389485,_0x1f4627=document[_0x21e12e(0x3d7)](UNDERLAY_SVG_GROUP),_0x360da7=_0x1f4627==null?void 0x0:_0x1f4627['querySelector']('['+DATA_GOS_ID+'=\x22'+_0x50f95f+'\x22]'),_0x177e43=this[_0x21e12e(0x412)]['settings']['theme'];if(!_0x360da7)return;_0x360da7[_0x21e12e(0x358)](ATTR_DATA_GA_SELECTED),_0x360da7[_0x21e12e(0x2dd)](ATTR_DATA_GA_UNAVAILABLE,'1');const _0x48b4ad=Array[_0x21e12e(0x39d)](_0x360da7==null?void 0x0:_0x360da7[_0x21e12e(0x1b5)]('['+UNDERLAY_TO_BIND_GA_PATH_ATTR+']'));_0x48b4ad==null?void 0x0:_0x48b4ad[_0x21e12e(0x4b5)](_0x48909f=>{const _0x623eb5=_0x21e12e;var _0x25eb47,_0x427442,_0x339c6b;const _0x2dbce8=_0x48909f[_0x623eb5(0x214)](ATTR_DATA_DEFAULT_FILL);if(_0x2dbce8)return;const _0x1d5f56=_0x48909f[_0x623eb5(0x214)](_0x623eb5(0x247))||'none';_0x48909f[_0x623eb5(0x2dd)](ATTR_DATA_DEFAULT_FILL,_0x1d5f56),_0x48909f[_0x623eb5(0x2dd)](_0x623eb5(0x247),((_0x427442=(_0x25eb47=_0x177e43==null?void 0x0:_0x177e43[_0x623eb5(0x379)])==null?void 0x0:_0x25eb47['unavailable'])==null?void 0x0:_0x427442[_0x623eb5(0x253)])||((_0x339c6b=theme_default[_0x623eb5(0x379)])==null?void 0x0:_0x339c6b[_0x623eb5(0x361)][_0x623eb5(0x253)])),_0x48909f[_0x623eb5(0x2dd)](_0x623eb5(0x32e),_0x623eb5(0x3a7));});},this['enableSvgSectionById']=_0xd8ae2f=>{const _0x15bef8=_0x389485,_0x593ff4=document[_0x15bef8(0x3d7)](UNDERLAY_SVG_GROUP),_0xe9df26=_0x593ff4==null?void 0x0:_0x593ff4['querySelector']('['+DATA_GOS_ID+'=\x22'+_0xd8ae2f+'\x22]');if(!_0xe9df26)return;_0xe9df26['removeAttribute'](ATTR_DATA_GA_SELECTED),_0xe9df26[_0x15bef8(0x358)](ATTR_DATA_GA_UNAVAILABLE);const _0x3f6a58=Array[_0x15bef8(0x39d)](_0xe9df26==null?void 0x0:_0xe9df26[_0x15bef8(0x1b5)]('['+UNDERLAY_TO_BIND_GA_PATH_ATTR+']'));_0x3f6a58==null?void 0x0:_0x3f6a58[_0x15bef8(0x4b5)](_0x352382=>{const _0x290007=_0x15bef8,_0x15f872=_0x352382['getAttribute'](ATTR_DATA_DEFAULT_FILL);if(!_0x15f872)return;_0x352382[_0x290007(0x2dd)](_0x290007(0x247),_0x15f872),_0x352382[_0x290007(0x358)](ATTR_DATA_DEFAULT_FILL),_0x352382['removeAttribute']('pointer-events');});},this[_0x389485(0x4ec)]=_0x5c53ac=>{const _0xbee77f=_0x389485,_0x1c5964=document[_0xbee77f(0x3d7)](UNDERLAY_SVG_GROUP),_0x25e06d=_0x1c5964==null?void 0x0:_0x1c5964[_0xbee77f(0x3d7)]('['+DATA_GOS_ID+'=\x22'+_0x5c53ac+'\x22]'),_0x193ee4=this[_0xbee77f(0x412)][_0xbee77f(0x438)][_0xbee77f(0x23b)];if(!_0x25e06d)return;_0x25e06d[_0xbee77f(0x358)](ATTR_DATA_GA_SELECTED);const _0x1ba41f=Array[_0xbee77f(0x39d)](_0x25e06d==null?void 0x0:_0x25e06d[_0xbee77f(0x1b5)]('['+UNDERLAY_TO_BIND_GA_PATH_ATTR+']'));_0x1ba41f==null?void 0x0:_0x1ba41f[_0xbee77f(0x4b5)](_0x42dc17=>{const _0x208ed6=_0xbee77f;var _0x1d60a1,_0x5c9672,_0xd07c88;const _0x4070a1=_0x42dc17[_0x208ed6(0x214)](ATTR_DATA_DEFAULT_FILL);if(_0x4070a1)return;const _0x292985=_0x42dc17[_0x208ed6(0x214)](_0x208ed6(0x247))||_0x208ed6(0x3a7);_0x42dc17[_0x208ed6(0x2dd)](ATTR_DATA_DEFAULT_FILL,_0x292985),_0x42dc17[_0x208ed6(0x2dd)]('fill',((_0x5c9672=(_0x1d60a1=_0x193ee4==null?void 0x0:_0x193ee4[_0x208ed6(0x379)])==null?void 0x0:_0x1d60a1['filtered'])==null?void 0x0:_0x5c9672[_0x208ed6(0x253)])||((_0xd07c88=theme_default['svgSectionStyles'])==null?void 0x0:_0xd07c88[_0x208ed6(0x441)][_0x208ed6(0x253)])),_0x42dc17['setAttribute'](_0x208ed6(0x32e),_0x208ed6(0x3a7));});},this['removeFilterSvgSectionById']=_0x5c31a0=>{const _0x30d83d=_0x389485,_0x586894=document[_0x30d83d(0x3d7)](UNDERLAY_SVG_GROUP),_0x269357=_0x586894==null?void 0x0:_0x586894[_0x30d83d(0x3d7)]('['+DATA_GOS_ID+'=\x22'+_0x5c31a0+'\x22]');if(!_0x269357)return;_0x269357[_0x30d83d(0x358)](ATTR_DATA_GA_SELECTED);const _0x572f1c=Array[_0x30d83d(0x39d)](_0x269357==null?void 0x0:_0x269357[_0x30d83d(0x1b5)]('['+UNDERLAY_TO_BIND_GA_PATH_ATTR+']'));_0x572f1c==null?void 0x0:_0x572f1c[_0x30d83d(0x4b5)](_0x43d8f6=>{const _0x114be0=_0x30d83d,_0x3a73a0=_0x43d8f6['getAttribute'](ATTR_DATA_DEFAULT_FILL);if(!_0x3a73a0)return;_0x43d8f6[_0x114be0(0x2dd)](_0x114be0(0x247),_0x3a73a0),_0x43d8f6[_0x114be0(0x358)](ATTR_DATA_DEFAULT_FILL),_0x43d8f6['removeAttribute']('pointer-events');});};var _0xcdf8ba;this[_0x389485(0x412)]=_0x25bf03,this[_0x389485(0x38e)](),this[_0x389485(0x4cc)]=document[_0x389485(0x4f4)]('http://www.w3.org/2000/svg',_0x389485(0x338)),this['svgElement'][_0x389485(0x2a3)][_0x389485(0x328)]=_0x389485(0x395),this[_0x389485(0x4cc)][_0x389485(0x2a3)][_0x389485(0x1c9)]='0',this[_0x389485(0x4cc)][_0x389485(0x2a3)][_0x389485(0x3d1)]=_0x389485(0x263),this[_0x389485(0x4cc)][_0x389485(0x2a3)]['height']=_0x389485(0x263),appendStyles((_0xcdf8ba=this[_0x389485(0x412)][_0x389485(0x438)]['theme'])==null?void 0x0:_0xcdf8ba['svgSectionStyles']),this[_0x389485(0x553)]()?(this['svgElement'][_0x389485(0x3e5)][_0x389485(0x3db)](_0x389485(0x27a)),this[_0x389485(0x471)]()):this[_0x389485(0x282)](),this['updateSize'](),this[_0x389485(0x514)](),this[_0x389485(0x412)]['element'][_0x389485(0x537)](this[_0x389485(0x4cc)]),this[_0x389485(0x2c1)]();}[_0x19eb4e(0x4c8)](){const _0x330e10=_0x19eb4e;this['svgElement'][_0x330e10(0x51d)](),this[_0x330e10(0x412)][_0x330e10(0x4c8)]();}['setSectionSelection'](_0x364cc1){const _0x4435e2=_0x19eb4e;if(!_0x364cc1){const _0x1b339f=this[_0x4435e2(0x4cc)][_0x4435e2(0x1b5)]('['+ATTR_DATA_GA_SELECTED+']');_0x1b339f==null?void 0x0:_0x1b339f[_0x4435e2(0x4b5)](_0x18ad9f=>_0x18ad9f[_0x4435e2(0x358)](ATTR_DATA_GA_SELECTED));return;}const _0x1b9abb=this['getSectionElement'](_0x364cc1);_0x1b9abb==null?void 0x0:_0x1b9abb[_0x4435e2(0x2dd)](ATTR_DATA_GA_SELECTED,'1');}[_0x19eb4e(0x52f)](_0x4b1302){const _0x77f51f=_0x19eb4e,_0x5c3498=this['svgElement'][_0x77f51f(0x3d7)]('['+ATTR_DATA_GA_SELECTED+']');_0x5c3498==null?void 0x0:_0x5c3498[_0x77f51f(0x358)](ATTR_DATA_GA_SELECTED);const _0x16357a=this['getSectionElement'](_0x4b1302);_0x16357a==null?void 0x0:_0x16357a['setAttribute'](ATTR_DATA_GA_SELECTED,'1');}[_0x19eb4e(0x39a)](){const _0x290331=_0x19eb4e,_0x2264f6=this['svgElement']['querySelectorAll']('['+ATTR_OUTER_HIGHLIGHT+']');_0x2264f6==null?void 0x0:_0x2264f6[_0x290331(0x4b5)](_0x18aefb=>_0x18aefb[_0x290331(0x358)](ATTR_OUTER_HIGHLIGHT));}[_0x19eb4e(0x499)](_0x2ad63e){const _0x55d996=_0x19eb4e,_0x4556e7=this[_0x55d996(0x37b)](_0x2ad63e);_0x4556e7==null?void 0x0:_0x4556e7[_0x55d996(0x2dd)](ATTR_OUTER_HIGHLIGHT,'1');}[_0x19eb4e(0x44b)](){const _0x145cb6=_0x19eb4e;this[_0x145cb6(0x399)](SM_OUTLINE_FOCUSED);}[_0x19eb4e(0x268)](_0x5aa7a5){const _0x21aac9=_0x19eb4e;this['clearSectionFocus'](),this[_0x21aac9(0x4b9)](SM_OUTLINE_FOCUSED,_0x5aa7a5);}[_0x19eb4e(0x399)](_0x1712d5){const _0x5a5404=_0x19eb4e,_0x484b97=this['svgElement']['querySelectorAll']('.'+_0x1712d5);if(!_0x484b97)return;_0x484b97['forEach'](_0x4d4528=>_0x4d4528[_0x5a5404(0x3e5)][_0x5a5404(0x51d)](_0x1712d5));}[_0x19eb4e(0x4b9)](_0x441a4b,_0x55dbd1){const _0x313cab=_0x19eb4e;if(!_0x55dbd1)return;const _0x326d17=this[_0x313cab(0x37b)](_0x55dbd1);if(!_0x326d17)return;_0x326d17[_0x313cab(0x3e5)]['add'](_0x441a4b);}[_0x19eb4e(0x3a6)](_0x946ba0){const _0x11091f=_0x19eb4e;if(!_0x946ba0)return null;const _0x2427f6=this['outlineRect'][_0x946ba0];if(_0x2427f6)return _0x2427f6;const _0x369556=this[_0x11091f(0x37b)](_0x946ba0);if(!_0x369556)return null;const _0x55f3be=_0x369556[_0x11091f(0x476)]();return _0x55f3be;}[_0x19eb4e(0x37b)](_0x4ad07d){const _0x1805ab=_0x19eb4e;var _0x52bcb6;const _0x29eeae=(_0x52bcb6=this[_0x1805ab(0x4cc)][_0x1805ab(0x3d7)]('['+DATA_GOS_ID+'=\x22'+_0x4ad07d+_0x1805ab(0x4b1)))!=null?_0x52bcb6:this[_0x1805ab(0x4cc)][_0x1805ab(0x3d7)]('['+DATA_GOS_ID+'=\x22'+_0x4ad07d+'\x22]');return _0x29eeae;}get[_0x19eb4e(0x3d1)](){const _0x24a706=_0x19eb4e;return this[_0x24a706(0x412)][_0x24a706(0x1b7)][_0x24a706(0x46c)];}get[_0x19eb4e(0x51f)](){const _0x2edccc=_0x19eb4e;return this[_0x2edccc(0x412)][_0x2edccc(0x1b7)]['clientHeight'];}['updateSize'](){const _0xbcd87f=_0x19eb4e;this[_0xbcd87f(0x4cc)][_0xbcd87f(0x2dd)](_0xbcd87f(0x3d1),this[_0xbcd87f(0x3d1)]+''),this[_0xbcd87f(0x4cc)][_0xbcd87f(0x2dd)](_0xbcd87f(0x51f),this[_0xbcd87f(0x51f)]+''),this[_0xbcd87f(0x532)]();}[_0x19eb4e(0x553)](){const _0x5cf40c=_0x19eb4e,_0x1241d3=this[_0x5cf40c(0x245)]();return(_0x1241d3==null?void 0x0:_0x1241d3[_0x5cf40c(0x4e4)](UNDERLAY_BINDED_GA_PATH_ATTR))||(_0x1241d3==null?void 0x0:_0x1241d3['includes'](UNDERLAY_BINDED_GA_PATH_ATTR_LEGACY));}[_0x19eb4e(0x38e)](){const _0x4b2a1e=_0x19eb4e,_0x7fe876=this['getContextSvg']();if(!_0x7fe876)return;this[_0x4b2a1e(0x357)]=createSvgElement(_0x7fe876!=null?_0x7fe876:''),this[_0x4b2a1e(0x1fc)]=!![],this[_0x4b2a1e(0x2bc)]=(_0x7fe876==null?void 0x0:_0x7fe876['includes'](UNDERLAY_BINDED_GA_PATH_ATTR_LEGACY))?UNDERLAY_BINDED_GA_PATH_ATTR_LEGACY:UNDERLAY_BINDED_GA_PATH_ATTR;const _0x233584=this[_0x4b2a1e(0x357)][_0x4b2a1e(0x2f8)](_0x4b2a1e(0x2cd))||document['createElementNS']('http://www.w3.org/2000/svg','g');this[_0x4b2a1e(0x267)]=_0x233584[_0x4b2a1e(0x330)](!![]),this['backgroundSVG'][_0x4b2a1e(0x358)]('id');const _0x1fc376=this[_0x4b2a1e(0x267)]['querySelectorAll']('['+UNDERLAY_BINDED_GA_CSS_STYLES+']');_0x1fc376[_0x4b2a1e(0x362)]&&_0x1fc376['forEach'](_0x2ac45c=>_0x2ac45c[_0x4b2a1e(0x51d)]());}[_0x19eb4e(0x471)](){const _0x15f295=_0x19eb4e;if(!this[_0x15f295(0x1fc)])return;this[_0x15f295(0x4cc)][_0x15f295(0x2db)]='';const _0x5a797b=this[_0x15f295(0x41d)](),_0x3a2b15=this['backgroundSVG']['getAttribute']('viewBox');_0x3a2b15&&this['svgElement']['setAttribute'](_0x15f295(0x341),_0x3a2b15);this[_0x15f295(0x4cc)][_0x15f295(0x537)](this[_0x15f295(0x267)]);const _0x383d03=document['createElementNS'](_0x15f295(0x288),'g');this[_0x15f295(0x2b5)](_0x383d03,_0x5a797b),this[_0x15f295(0x4cc)][_0x15f295(0x537)](_0x383d03),this[_0x15f295(0x32c)]=this['getOutlineRects']();}[_0x19eb4e(0x41d)](){const _0x308391=_0x19eb4e,_0x455552=Object['values'](this['context'][_0x308391(0x1ea)]),_0x2757b6=this[_0x308391(0x267)][_0x308391(0x1b5)]('['+this[_0x308391(0x2bc)]+']');return _0x2757b6[_0x308391(0x4b5)](_0xb7445=>{const _0x459626=_0x308391;enrichElementWithData(_0xb7445,_0x455552,this[_0x459626(0x2bc)],this['context']);}),console[_0x308391(0x314)](_0x308391(0x1d0),_0x2757b6),_0x2757b6;}[_0x19eb4e(0x43f)](_0x3ee59e=['fill']){const _0x2e0ff7=_0x19eb4e;if(!this[_0x2e0ff7(0x4cc)])return;const _0xf4a37d=[_0x2e0ff7(0x322),_0x2e0ff7(0x369),_0x2e0ff7(0x4a5),_0x2e0ff7(0x2d3),_0x2e0ff7(0x307),_0x2e0ff7(0x2a1),_0x2e0ff7(0x31c)];_0xf4a37d[_0x2e0ff7(0x4b5)](_0x20aff4=>{const _0xf7cec9=_0x2e0ff7,_0x16b1ea=this[_0xf7cec9(0x4cc)][_0xf7cec9(0x1b5)](_0x20aff4);_0x16b1ea[_0xf7cec9(0x4b5)](_0x36d138=>cleanupStyles(_0x36d138,_0x3ee59e));});}['updateOutlines'](){const _0x20fab0=_0x19eb4e;this[_0x20fab0(0x4cc)][_0x20fab0(0x2db)]='',this['appendAutoAndGaOutlines'](this[_0x20fab0(0x4cc)]),this['outlineRect']=this[_0x20fab0(0x44c)]();}[_0x19eb4e(0x2b5)](_0x5ba006,_0x2d7275){const _0xb9461f=_0x19eb4e,_0x35e376=this[_0xb9461f(0x245)]();if(!_0x35e376)return;this['appendAutoOutlines'](_0x5ba006,_0x35e376,_0x2d7275),this[_0xb9461f(0x53a)](_0x5ba006,_0x35e376);}[_0x19eb4e(0x261)](_0x35649f,_0x5eafca){const _0x123421=_0x19eb4e;if(this[_0x123421(0x3c4)])return this['outlineShapes'];return this[_0x123421(0x3c4)]=getOutlinePaths(_0x35649f,this[_0x123421(0x412)][_0x123421(0x1ea)]),Object[_0x123421(0x4ad)](this[_0x123421(0x412)][_0x123421(0x1ea)])['filter'](_0x4ce0c0=>!_0x4ce0c0[_0x123421(0x3d2)])[_0x123421(0x33f)](_0x58d8c6=>_0x5eafca?!Array[_0x123421(0x39d)](_0x5eafca)[_0x123421(0x495)](_0x184978=>{const _0x210ec5=_0x123421;var _0x4d7ef0;return _0x184978[_0x210ec5(0x214)](DATA_GOS_ID)===((_0x4d7ef0=_0x58d8c6['id'])==null?void 0x0:_0x4d7ef0[_0x210ec5(0x4bb)]());}):!![])['forEach'](_0x493857=>{const _0xe259ea=_0x123421;!this[_0xe259ea(0x3c4)][_0x493857['id']]&&(this['outlineShapes'][_0x493857['id']]=this[_0xe259ea(0x42b)](_0x493857));}),this[_0x123421(0x3c4)];}['appendAutoOutlines'](_0x1a0691,_0x4e167d,_0x110791){const _0x1985d1=_0x19eb4e,_0x382f60=this[_0x1985d1(0x261)](_0x4e167d,_0x110791);Object[_0x1985d1(0x447)](_0x382f60)[_0x1985d1(0x4b5)](_0x1d5863=>{const _0x304eb8=_0x1985d1,_0x4c4fb9=Number(_0x1d5863),_0x17b57f=this[_0x304eb8(0x412)][_0x304eb8(0x1ea)][_0x4c4fb9];if(_0x17b57f['priceId']&&this[_0x304eb8(0x412)][_0x304eb8(0x438)][_0x304eb8(0x2ec)])return;const _0x417553=this['context'][_0x304eb8(0x29e)]['find'](_0x6f76b2=>_0x6f76b2['sectorId']===_0x4c4fb9&&_0x6f76b2[_0x304eb8(0x22b)]);if(!_0x417553&&!this[_0x304eb8(0x412)][_0x304eb8(0x438)][_0x304eb8(0x2ec)])return;_0x1a0691[_0x304eb8(0x537)](_0x382f60[_0x4c4fb9]);});}[_0x19eb4e(0x53a)](_0x5cba24,_0x297c4a){const _0x1e83ff=_0x19eb4e,_0x1cb55b=getGaGroups(_0x297c4a,this[_0x1e83ff(0x412)]['sectionsById'],this[_0x1e83ff(0x412)][_0x1e83ff(0x29e)]);_0x1cb55b['forEach'](_0x34ec54=>{const _0x4401e5=_0x1e83ff;_0x34ec54['classList'][_0x4401e5(0x3db)](_0x4401e5(0x391)),_0x5cba24['appendChild'](_0x34ec54);}),this[_0x1e83ff(0x412)][_0x1e83ff(0x3bf)]=this[_0x1e83ff(0x312)](_0x1cb55b);}[_0x19eb4e(0x44c)](){const _0x3941b4=_0x19eb4e,_0x1810be={},_0x51eef0=this[_0x3941b4(0x412)][_0x3941b4(0x1b7)][_0x3941b4(0x23f)](),_0x1db8d=_0x51eef0[_0x3941b4(0x506)],_0x37d153=_0x51eef0['left'],_0x4c77e4={'x':this[_0x3941b4(0x412)]['underlay'][_0x3941b4(0x341)]['x']-this[_0x3941b4(0x412)][_0x3941b4(0x390)]['x']/this[_0x3941b4(0x412)][_0x3941b4(0x4b7)],'y':this[_0x3941b4(0x412)][_0x3941b4(0x555)][_0x3941b4(0x341)]['y']-this['context'][_0x3941b4(0x390)]['y']/this[_0x3941b4(0x412)]['scale']},_0x58789f=this['svgElement'][_0x3941b4(0x1b5)]('['+DATA_GOS_ID+']\x20>\x20rect');_0x58789f[_0x3941b4(0x4b5)](_0x294a0c=>{const _0x68b61b=_0x3941b4;var _0x244ed3;const _0x10455e=(_0x244ed3=_0x294a0c[_0x68b61b(0x21c)])==null?void 0x0:_0x244ed3['getAttribute'](DATA_GOS_ID);if(!_0x10455e)return;_0x1810be[_0x10455e]=_0x294a0c[_0x68b61b(0x476)]();});const _0x3046b0=this[_0x3941b4(0x4cc)][_0x3941b4(0x1b5)]('['+DATA_GOS_ID+']');return _0x3046b0[_0x3941b4(0x4b5)](_0x58ad67=>{const _0x23086b=_0x3941b4,_0x27a1a3=_0x58ad67[_0x23086b(0x214)](DATA_GOS_ID);if(!_0x27a1a3)return;const _0x4c15fc=_0x58ad67,_0x37a9ae=_0x4c15fc['getBoundingClientRect']();_0x1810be[_0x27a1a3]={'x':(_0x37a9ae['x']-_0x37d153)*DPR/this[_0x23086b(0x412)]['scale']+_0x4c77e4['x'],'y':(_0x37a9ae['y']-_0x1db8d)*DPR/this[_0x23086b(0x412)][_0x23086b(0x4b7)]+_0x4c77e4['y'],'width':_0x37a9ae[_0x23086b(0x3d1)]*DPR/this[_0x23086b(0x412)]['scale'],'height':_0x37a9ae['height']*DPR/this[_0x23086b(0x412)][_0x23086b(0x4b7)]};}),_0x1810be;}[_0x19eb4e(0x42b)](_0xadfffb){const _0x56062f=_0x19eb4e;let _0x2a7ac6=this[_0x56062f(0x52b)][_0xadfffb['id']];!_0x2a7ac6&&(_0x2a7ac6=this[_0x56062f(0x27b)](_0xadfffb),this[_0x56062f(0x52b)][_0xadfffb['id']]=_0x2a7ac6);const _0x484e38=document[_0x56062f(0x4f4)](_0x56062f(0x288),_0x56062f(0x369));_0x484e38[_0x56062f(0x2dd)](_0x56062f(0x20c),OUTLINE_CLASS),_0x484e38[_0x56062f(0x2dd)](DATA_GOS_ID,_0x2a7ac6[_0x56062f(0x287)]+''),_0x484e38['setAttribute']('rx','8'),_0x484e38[_0x56062f(0x2dd)]('x',_0x2a7ac6['x']+''),_0x484e38['setAttribute']('y',_0x2a7ac6['y']+''),_0x484e38[_0x56062f(0x2dd)](_0x56062f(0x3d1),_0x2a7ac6['width']+''),_0x484e38[_0x56062f(0x2dd)](_0x56062f(0x51f),_0x2a7ac6['height']+'');if(_0x2a7ac6[_0x56062f(0x4f9)])_0x484e38[_0x56062f(0x2dd)](_0x56062f(0x4f9),_0x2a7ac6[_0x56062f(0x4f9)]);return _0x484e38;}[_0x19eb4e(0x27b)](_0x42b8fe){const _0x51b1e6=_0x19eb4e,_0x695dc0=this[_0x51b1e6(0x412)]['seats'][_0x51b1e6(0x33f)](_0x3d28b7=>_0x3d28b7[_0x51b1e6(0x3c6)]===_0x42b8fe['id']);let _0x1a564b,_0x1d6b95;if(_0x42b8fe['angle']){const _0x48f424=_0x42b8fe['angle']/0xb4*Math['PI'],_0x8b850b=Math[_0x51b1e6(0x558)](-_0x48f424),_0x5e84dc=Math[_0x51b1e6(0x4b6)](-_0x48f424);_0x1a564b=_0x695dc0[_0x51b1e6(0x210)](_0x42086c=>_0x42086c['x']*_0x5e84dc-_0x42086c['y']*_0x8b850b),_0x1d6b95=_0x695dc0['map'](_0x5959fd=>_0x5959fd['y']*_0x5e84dc+_0x5959fd['x']*_0x8b850b);}else _0x1a564b=_0x695dc0['map'](_0x36062e=>_0x36062e['x']),_0x1d6b95=_0x695dc0[_0x51b1e6(0x210)](_0x36275b=>_0x36275b['y']);const _0x78ffb8=Math[_0x51b1e6(0x290)](..._0x1a564b),_0x44dacf=Math[_0x51b1e6(0x2f9)](..._0x1a564b),_0x37ba74=Math[_0x51b1e6(0x290)](..._0x1d6b95),_0x4e4b24=Math[_0x51b1e6(0x2f9)](..._0x1d6b95),_0x3c2e1b=this[_0x51b1e6(0x412)]['underlay'][_0x51b1e6(0x341)],_0x1f4819=theme_default[_0x51b1e6(0x3a4)]*1.5;return{'sectionId':_0x42b8fe['id'],'x':Math[_0x51b1e6(0x2bb)](_0x78ffb8-_0x1f4819+_0x3c2e1b['x']),'y':Math[_0x51b1e6(0x2bb)](_0x37ba74-_0x1f4819+_0x3c2e1b['y']),'width':Math['round'](_0x44dacf-_0x78ffb8+_0x1f4819*0x2),'height':Math[_0x51b1e6(0x2bb)](_0x4e4b24-_0x37ba74+_0x1f4819*0x2),'transform':_0x42b8fe['angle']?'translate('+_0x3c2e1b['x']+'\x20'+_0x3c2e1b['y']+_0x51b1e6(0x54e)+_0x42b8fe[_0x51b1e6(0x25f)]+_0x51b1e6(0x33d)+-_0x3c2e1b['x']+'\x20'+-_0x3c2e1b['y']+')':void 0x0};}[_0x19eb4e(0x2c1)](_0x5c0466){const _0x57ff07=_0x19eb4e;(_0x5c0466!==void 0x0?_0x5c0466:this[_0x57ff07(0x412)][_0x57ff07(0x3ea)])?(this[_0x57ff07(0x4cc)][_0x57ff07(0x3e5)][_0x57ff07(0x3db)](_0x57ff07(0x380)),this[_0x57ff07(0x4cc)]['style'][_0x57ff07(0x328)]=_0x57ff07(0x395),this[_0x57ff07(0x4cc)][_0x57ff07(0x2a3)][_0x57ff07(0x1c9)]='0',this[_0x57ff07(0x4cc)][_0x57ff07(0x2a3)][_0x57ff07(0x3d1)]=_0x57ff07(0x263),this[_0x57ff07(0x4cc)][_0x57ff07(0x2a3)][_0x57ff07(0x51f)]=_0x57ff07(0x263)):this[_0x57ff07(0x4cc)]['classList'][_0x57ff07(0x51d)](_0x57ff07(0x380));}[_0x19eb4e(0x532)](){const _0x500a71=_0x19eb4e;this[_0x500a71(0x43f)]([_0x500a71(0x247)]);const {scale:_0x27db63,translate:_0x398b89,underlay:_0x2b0818}=this[_0x500a71(0x412)],_0x1565ae=window['devicePixelRatio'],_0xa455ff=[(_0x2b0818[_0x500a71(0x341)]['x']*_0x27db63-_0x398b89['x'])/_0x27db63,(_0x2b0818[_0x500a71(0x341)]['y']*_0x27db63-_0x398b89['y'])/_0x27db63,this['width']/_0x27db63*_0x1565ae,this[_0x500a71(0x51f)]/_0x27db63*_0x1565ae][_0x500a71(0x24d)]('\x20');this[_0x500a71(0x4cc)]['setAttribute'](_0x500a71(0x341),_0xa455ff),this['context'][_0x500a71(0x3ea)]&&(this[_0x500a71(0x4cc)][_0x500a71(0x2a3)]['position']=_0x500a71(0x395),this[_0x500a71(0x4cc)][_0x500a71(0x2a3)]['left']='0',this[_0x500a71(0x4cc)]['style'][_0x500a71(0x3d1)]=_0x500a71(0x263),this['svgElement']['style'][_0x500a71(0x51f)]=_0x500a71(0x263)),this[_0x500a71(0x428)]();}[_0x19eb4e(0x50b)](_0x584407,_0x360184){const _0x144a4c=_0x19eb4e,{underlay:_0x2c85b1}=this[_0x144a4c(0x412)],_0x5d59a2=window[_0x144a4c(0x1cf)],_0x12123a=this[_0x144a4c(0x412)][_0x144a4c(0x4b7)]*_0x584407,_0x55b4b4=[_0x2c85b1[_0x144a4c(0x341)]['x']-(this[_0x144a4c(0x412)][_0x144a4c(0x390)]['x']/this[_0x144a4c(0x412)]['scale']+_0x360184['x']/_0x12123a),_0x2c85b1[_0x144a4c(0x341)]['y']-(this[_0x144a4c(0x412)]['translate']['y']/this[_0x144a4c(0x412)]['scale']+_0x360184['y']/_0x12123a),this[_0x144a4c(0x3d1)]/_0x12123a*_0x5d59a2,this[_0x144a4c(0x51f)]/_0x12123a*_0x5d59a2][_0x144a4c(0x24d)]('\x20');this[_0x144a4c(0x4cc)]['setAttribute'](_0x144a4c(0x341),_0x55b4b4),this[_0x144a4c(0x428)]();return;}['hide'](){const _0x10f3d3=_0x19eb4e;this[_0x10f3d3(0x4cc)]['style'][_0x10f3d3(0x402)]=_0x10f3d3(0x3c7);}[_0x19eb4e(0x428)](){this['svgElement']['style']['visibility']='visible';}['getContextSvg'](){const _0x2db2dd=_0x19eb4e;return this[_0x2db2dd(0x412)]['underlay'][_0x2db2dd(0x397)]||this[_0x2db2dd(0x412)][_0x2db2dd(0x555)][_0x2db2dd(0x526)];}},getGaGroups=(_0x3803d6,_0x37c1c2,_0x2724b5)=>{const _0xe1f7a=_0x19eb4e,_0x1c051d=createSvgElement(_0x3803d6),_0x540294=_0x1c051d['querySelectorAll']('['+DATA_GOS_ID+']'),_0xaadfa1=theme_default[_0xe1f7a(0x3a4)],_0x444fdb=[];for(let _0x58322b=0x0;_0x58322b<_0x540294['length'];_0x58322b++){const _0x48f083=_0x540294[_0x58322b],_0x3e8b94=_0x48f083[_0xe1f7a(0x214)](DATA_GOS_ID),_0x487491=_0x48f083[_0xe1f7a(0x3e5)][_0xe1f7a(0x494)](_0xe1f7a(0x2c8));if(_0x487491)continue;if(!_0x3e8b94)continue;const _0x1709d5=_0x37c1c2[+_0x3e8b94];if(_0x1709d5[_0xe1f7a(0x4c3)]===_0xe1f7a(0x481)&&_0x1709d5[_0xe1f7a(0x22b)]){console[_0xe1f7a(0x314)](_0xe1f7a(0x4a3),_0x48f083[_0xe1f7a(0x214)](DATA_GOS_ID),_0x1709d5);const _0x4992da=_0x2724b5[_0xe1f7a(0x33f)](_0x1b313f=>_0x1b313f['sectorId']===_0x1709d5['id']&&_0x1b313f[_0xe1f7a(0x22b)]);if(_0x4992da['length']>0x0)continue;const _0x48df70=_0x48f083[_0xe1f7a(0x201)]==='g'?_0x48f083[_0xe1f7a(0x49f)]:_0x48f083;_0x48df70[_0xe1f7a(0x2dd)]('x',(+_0x48df70[_0xe1f7a(0x214)]('x')-0x2*_0xaadfa1)['toString']()),_0x48df70[_0xe1f7a(0x2dd)]('y',(+_0x48df70[_0xe1f7a(0x214)]('y')-0x2*_0xaadfa1)[_0xe1f7a(0x4bb)]()),_0x48df70['setAttribute'](_0xe1f7a(0x3d1),(+_0x48df70[_0xe1f7a(0x214)]('width')+0x4*_0xaadfa1)[_0xe1f7a(0x4bb)]()),_0x48df70[_0xe1f7a(0x2dd)](_0xe1f7a(0x51f),(+_0x48df70[_0xe1f7a(0x214)](_0xe1f7a(0x51f))+0x4*_0xaadfa1)[_0xe1f7a(0x4bb)]());}if(_0x1709d5[_0xe1f7a(0x4c3)]===_0xe1f7a(0x481)&&!_0x1709d5['priceId'])continue;_0x444fdb[_0xe1f7a(0x445)](_0x48f083);}return _0x444fdb;},getOutlinePaths=(_0x6a0201,_0x564769)=>{const _0x380ee3=_0x19eb4e,_0x40ce08=createSvgElement(_0x6a0201),_0x285516={},_0x1a00ad=_0x40ce08[_0x380ee3(0x2f8)](_0x380ee3(0x33a));if(_0x1a00ad){const _0xfdb78d=_0x1a00ad['querySelectorAll']('['+DATA_GOS_ID+']');for(let _0x1b86fe=0x0;_0x1b86fe<_0xfdb78d[_0x380ee3(0x362)];_0x1b86fe++){const _0x3520ac=_0xfdb78d[_0x1b86fe],_0x491708=Number(_0x3520ac[_0x380ee3(0x214)](DATA_GOS_ID));if(!_0x491708||!_0x564769[_0x491708])continue;_0x285516[_0x491708]=_0x3520ac;}}return _0x285516;},matrixStrToArray=_0xf64201=>_0xf64201['substring'](0x7,_0xf64201['length']-0x1)[_0x19eb4e(0x4e2)]('\x20')[_0x19eb4e(0x210)](parseFloat);import _0x4ad58e from'kdbush';var RendererTargetType=(_0x17d5da=>{const _0x18b94c=_0x19eb4e;return _0x17d5da['SEAT']='seat',_0x17d5da[_0x18b94c(0x271)]=_0x18b94c(0x48d),_0x17d5da;})(RendererTargetType||{}),RendererSelectMode=(_0xa57307=>{const _0x21b849=_0x19eb4e;return _0xa57307[_0x21b849(0x541)]='replace',_0xa57307['ADD']=_0x21b849(0x3db),_0xa57307[_0x21b849(0x1cc)]=_0x21b849(0x1fa),_0xa57307;})(RendererSelectMode||{}),SrcEventType=(_0x1f38bb=>{const _0x525639=_0x19eb4e;return _0x1f38bb[_0x525639(0x3e6)]='srcDragStart',_0x1f38bb['DRAG_MOVE']=_0x525639(0x354),_0x1f38bb[_0x525639(0x4d9)]=_0x525639(0x522),_0x1f38bb['CLICK']='srcClick',_0x1f38bb['MOUSE_MOVE']=_0x525639(0x405),_0x1f38bb;})(SrcEventType||{}),DestEventType=(_0x2610f6=>{const _0x27b47f=_0x19eb4e;return _0x2610f6['PAN']=_0x27b47f(0x54b),_0x2610f6['RECT_SELECT']='destRectSelect',_0x2610f6['DESELECT']=_0x27b47f(0x442),_0x2610f6[_0x27b47f(0x27e)]='destPanZoom',_0x2610f6[_0x27b47f(0x4dc)]=_0x27b47f(0x225),_0x2610f6['SEAT_CART_SWITCH']=_0x27b47f(0x564),_0x2610f6[_0x27b47f(0x370)]=_0x27b47f(0x45c),_0x2610f6[_0x27b47f(0x3b7)]=_0x27b47f(0x54a),_0x2610f6[_0x27b47f(0x377)]=_0x27b47f(0x242),_0x2610f6[_0x27b47f(0x248)]='destSeatMouseLeave',_0x2610f6[_0x27b47f(0x224)]=_0x27b47f(0x2cb),_0x2610f6;})(DestEventType||{}),Context=class{constructor(_0x234b61,_0x258d27,_0x47197d){const _0x1e410a=_0x19eb4e;this['redrawHandler']=_0x47197d,this['seatImages']={},this[_0x1e410a(0x4df)]={'seats':[],'ga':[]},this[_0x1e410a(0x24c)]={},this[_0x1e410a(0x275)]={},this['pricesById']={},this[_0x1e410a(0x249)]=[],this[_0x1e410a(0x206)]=[],this[_0x1e410a(0x36c)]={},this[_0x1e410a(0x244)]=[],this[_0x1e410a(0x3bf)]=[],this[_0x1e410a(0x3da)]=_0x5aff90=>({'x':(_0x5aff90['x']*window[_0x1e410a(0x1cf)]-this[_0x1e410a(0x390)]['x'])/this[_0x1e410a(0x4b7)],'y':(_0x5aff90['y']*window[_0x1e410a(0x1cf)]-this[_0x1e410a(0x390)]['y'])/this[_0x1e410a(0x4b7)]}),this[_0x1e410a(0x562)]=_0x53964a=>({'x':Math[_0x1e410a(0x2bb)]((_0x53964a['x']*this['scale']+this['translate']['x'])/window[_0x1e410a(0x1cf)]),'y':Math['round']((_0x53964a['y']*this['scale']+this[_0x1e410a(0x390)]['y'])/window[_0x1e410a(0x1cf)])}),this[_0x1e410a(0x24a)]=_0x5c21dd=>{const _0x2e9bb9=_0x1e410a,_0xd5663b=_0x5c21dd['id']?this[_0x2e9bb9(0x1f4)][_0x5c21dd['id']]:this[_0x2e9bb9(0x4ee)](_0x5c21dd[_0x2e9bb9(0x2fa)]);if(!_0xd5663b)return;return this[_0x2e9bb9(0x2e3)](_0xd5663b,_0x5c21dd);},this['afterCartUpdate']=()=>{const _0x5334ae=_0x1e410a;this['cart']['seats'][_0x5334ae(0x4b5)](_0x1758a7=>{const _0x5cf37e=_0x5334ae,_0x4c7042=this[_0x5cf37e(0x1f4)][_0x1758a7['id']];if(_0x4c7042[_0x5cf37e(0x22b)]||!_0x1758a7[_0x5cf37e(0x22f)])return;const _0x2e7b58=Object[_0x5cf37e(0x4ad)](this[_0x5cf37e(0x2a6)])[_0x5cf37e(0x495)](_0x55301b=>_0x55301b[_0x5cf37e(0x556)]===_0x1758a7[_0x5cf37e(0x22f)]+'');if(_0x2e7b58)_0x4c7042[_0x5cf37e(0x22b)]=_0x2e7b58['id'];if(_0x1758a7[_0x5cf37e(0x1db)]&&!_0x4c7042['special'])_0x4c7042['special']=_0x1758a7[_0x5cf37e(0x1db)];}),this[_0x5334ae(0x4df)]['ga']['forEach'](_0x2dab90=>{const _0x2ddcbd=_0x5334ae,_0x453b69=this[_0x2ddcbd(0x1ea)][_0x2dab90['sectorId']];if(_0x453b69[_0x2ddcbd(0x22b)]||!_0x2dab90[_0x2ddcbd(0x22f)])return;const _0x2a245b=Object['values'](this[_0x2ddcbd(0x2a6)])['find'](_0x51afe0=>_0x51afe0[_0x2ddcbd(0x556)]===_0x2dab90['price']+'');if(_0x2a245b)_0x453b69[_0x2ddcbd(0x22b)]=_0x2a245b['id'];}),this[_0x5334ae(0x38d)]();},this['repairGa']=_0x30a191=>{const _0x5e766a=_0x1e410a;if(!_0x30a191[_0x5e766a(0x3a9)])return;const _0x27653e=_0x30a191[_0x5e766a(0x3c6)]?this[_0x5e766a(0x1ea)][_0x30a191[_0x5e766a(0x3c6)]]:Object[_0x5e766a(0x4ad)](this[_0x5e766a(0x1ea)])[_0x5e766a(0x495)](_0x22ccd1=>_0x22ccd1[_0x5e766a(0x556)]===_0x30a191[_0x5e766a(0x2fa)]);if(!_0x27653e)return;return{'sectorId':_0x27653e['id'],'key':_0x27653e['name'],'count':_0x30a191[_0x5e766a(0x3a9)],'price':_0x30a191[_0x5e766a(0x22f)]};},this['seatToCartSeat']=(_0x43953f,_0x66a6fd)=>{const _0x6cd65a=_0x1e410a,_0x27940a=this[_0x6cd65a(0x1ea)][_0x43953f[_0x6cd65a(0x3c6)]],_0xc39b0a=this[_0x6cd65a(0x2f0)][_0x43953f[_0x6cd65a(0x54c)]],_0x4704df=[_0x27940a&&_0x27940a['name'],_0xc39b0a&&_0xc39b0a[_0x6cd65a(0x2d1)],_0x43953f['name']][_0x6cd65a(0x24d)](';;');return{'id':_0x43953f['id'],'key':_0x4704df,'price':(_0x66a6fd==null?void 0x0:_0x66a6fd[_0x6cd65a(0x22f)])!==void 0x0?_0x66a6fd['price']:_0x43953f[_0x6cd65a(0x22b)]?parseInt(this[_0x6cd65a(0x2a6)][Number(_0x43953f[_0x6cd65a(0x22b)])][_0x6cd65a(0x556)]):void 0x0,'special':(_0x66a6fd==null?void 0x0:_0x66a6fd[_0x6cd65a(0x1db)])?_0x66a6fd['special']:_0x43953f['special']};},this['seatToExtendedSeat']=_0x83fd03=>{const _0x2fcbb7=_0x1e410a,_0x1041c2=this[_0x2fcbb7(0x1ea)][_0x83fd03[_0x2fcbb7(0x3c6)]],_0x5b61de=this['rowsById'][_0x83fd03[_0x2fcbb7(0x54c)]],_0x24a0e8=this[_0x2fcbb7(0x400)](_0x83fd03);return Object[_0x2fcbb7(0x2c0)](this['seatToCartSeat'](_0x83fd03),{'x':_0x24a0e8['x'],'y':_0x24a0e8['y'],'ax':_0x83fd03['x'],'ay':_0x83fd03['y'],'sectionId':_0x83fd03['sectorId'],'sectorId':_0x83fd03['sectorId'],'seatName':_0x83fd03[_0x2fcbb7(0x556)],'rowNumber':_0x5b61de[_0x2fcbb7(0x2d1)],'sectionName':_0x1041c2[_0x2fcbb7(0x556)]});},this[_0x1e410a(0x1f2)]=_0x28a06e=>getSeatByPosition(this[_0x1e410a(0x3da)](_0x28a06e),this[_0x1e410a(0x29e)],this['seatsIndex'],this[_0x1e410a(0x438)][_0x1e410a(0x23b)][_0x1e410a(0x4ce)][_0x1e410a(0x1f7)][_0x1e410a(0x331)]),this['element']=_0x234b61,this[_0x1e410a(0x438)]={..._0x258d27},this[_0x1e410a(0x2a7)]=this[_0x1e410a(0x47d)]();}set[_0x19eb4e(0x2fe)](_0x2130d6){const _0x4ab28f=_0x19eb4e;this[_0x4ab28f(0x244)]=_0x2130d6,this['_selectedGaId']=void 0x0;}get[_0x19eb4e(0x2fe)](){return this['_selectedSeatIds'];}set[_0x19eb4e(0x521)](_0x55797e){const _0x193bd0=_0x19eb4e;this[_0x193bd0(0x280)]=_0x55797e,this[_0x193bd0(0x244)]=[];}get['selectedGaId'](){const _0x51417c=_0x19eb4e;return this[_0x51417c(0x280)];}[_0x19eb4e(0x4c8)](){const _0x105198=_0x19eb4e;this[_0x105198(0x1b7)][_0x105198(0x47a)]()&&this['element'][_0x105198(0x4e0)][_0x105198(0x4b5)](_0x4265a3=>{const _0x1efd71=_0x105198;this[_0x1efd71(0x1b7)][_0x1efd71(0x227)](_0x4265a3);});}[_0x19eb4e(0x4a8)](_0x2d2e28){this['_pricesDTO']=_0x2d2e28;}['getPricesDTO'](){const _0x2325cd=_0x19eb4e;return this[_0x2325cd(0x36c)];}[_0x19eb4e(0x4f8)](_0xc087e9,_0x3a1e9f){const _0x20e1c9=_0x19eb4e;if(!_0xc087e9)this[_0x20e1c9(0x497)]=void 0x0,this['hoveredRow']=void 0x0;else _0x3a1e9f?(this[_0x20e1c9(0x420)]=this[_0x20e1c9(0x2f0)][_0xc087e9['rowId']],this[_0x20e1c9(0x497)]=void 0x0):(this['hoveredRow']=void 0x0,this['hoveredSeat']=_0xc087e9);}[_0x19eb4e(0x47d)](){const _0x342c8d=_0x19eb4e,_0x34dd2b=this['settings'][_0x342c8d(0x23b)]['images'];if(!_0x34dd2b)return{};const _0x17621e={};return Object[_0x342c8d(0x447)](_0x34dd2b)[_0x342c8d(0x4b5)](_0x4124a7=>{const _0x51846b=_0x342c8d,_0xed31a4=new Image();_0xed31a4[_0x51846b(0x45d)]=_0x51846b(0x557)+window[_0x51846b(0x47f)](_0x34dd2b[_0x4124a7]),_0xed31a4[_0x51846b(0x315)]=()=>{const _0x49d1dc=_0x51846b;_0x17621e[_0x4124a7]=_0xed31a4,!_0xed31a4[_0x49d1dc(0x3d1)]&&(document[_0x49d1dc(0x2ee)][_0x49d1dc(0x537)](_0xed31a4),_0xed31a4[_0x49d1dc(0x3d1)]=_0xed31a4[_0x49d1dc(0x4af)],_0xed31a4[_0x49d1dc(0x51f)]=_0xed31a4[_0x49d1dc(0x273)],document['body'][_0x49d1dc(0x227)](_0xed31a4));},_0xed31a4[_0x51846b(0x464)]=()=>{const _0x58cfd8=_0x51846b;console['error'](_0x58cfd8(0x309)+_0x4124a7+'\x22,\x20it\x20could\x20be\x20corrupted');};}),_0x17621e;}[_0x19eb4e(0x2f7)](_0x13e7c8){const _0x317f5b=_0x19eb4e,_0x112da4=_0x13e7c8['seats'][_0x317f5b(0x210)](this[_0x317f5b(0x24a)])[_0x317f5b(0x33f)](Boolean),_0x427b88=_0x13e7c8['ga']['map'](this['repairGa'])[_0x317f5b(0x33f)](Boolean);this[_0x317f5b(0x4df)]={'seats':_0x112da4,'ga':_0x427b88},this[_0x317f5b(0x1b0)]();}get[_0x19eb4e(0x29e)](){const _0x2fd0a6=_0x19eb4e;return this[_0x2fd0a6(0x4ae)];}set[_0x19eb4e(0x29e)](_0x1a03fb){const _0x56e94a=_0x19eb4e;this['_seats']=_0x1a03fb,this[_0x56e94a(0x1e4)]=new _0x4ad58e(_0x1a03fb[_0x56e94a(0x362)]),this[_0x56e94a(0x4ae)]['forEach'](_0x373e56=>{const _0x4410c0=_0x56e94a;this[_0x4410c0(0x1e4)][_0x4410c0(0x3db)](_0x373e56['x'],_0x373e56['y']);}),this['seatsIndex'][_0x56e94a(0x440)](),this[_0x56e94a(0x1f4)]=arrayToObjectById(_0x1a03fb),this[_0x56e94a(0x4c9)]={},_0x1a03fb['forEach'](_0x423495=>{const _0x57712c=_0x56e94a;if(!this[_0x57712c(0x4c9)][_0x423495['rowId']])this[_0x57712c(0x4c9)][_0x423495['rowId']]=[];this[_0x57712c(0x4c9)][_0x423495['rowId']][_0x57712c(0x445)](_0x423495);});}['addGaToCart'](_0x5e9e88){const _0x369270=_0x19eb4e,_0x102c47=this[_0x369270(0x250)](_0x5e9e88);if(!_0x102c47)return;const _0x47d11a=this[_0x369270(0x4df)]['ga']['find'](_0x9d686f=>_0x9d686f[_0x369270(0x3c6)]===_0x102c47[_0x369270(0x3c6)]);_0x47d11a?(_0x47d11a[_0x369270(0x3a9)]+=_0x102c47[_0x369270(0x3a9)],_0x47d11a['price']=_0x102c47[_0x369270(0x22f)]!==void 0x0?_0x102c47[_0x369270(0x22f)]:_0x47d11a['price']):this[_0x369270(0x4df)]['ga']['push'](_0x102c47),this['afterCartUpdate']();}[_0x19eb4e(0x4e3)](_0x120b5f){const _0x2cde63=_0x19eb4e,_0x89beb8=this[_0x2cde63(0x4df)]['ga']['findIndex'](_0x5ec906=>_0x5ec906[_0x2cde63(0x3c6)]===_0x120b5f[_0x2cde63(0x3c6)]);if(_0x89beb8===-0x1)return;if(_0x120b5f[_0x2cde63(0x22f)]&&this[_0x2cde63(0x4df)]['ga'][_0x89beb8][_0x2cde63(0x22f)]!==_0x120b5f[_0x2cde63(0x22f)])return;this[_0x2cde63(0x4df)]['ga'][_0x2cde63(0x44d)](_0x89beb8,0x1),this[_0x2cde63(0x1b0)]();}[_0x19eb4e(0x3c8)](_0x108c3b){const _0x5c29ab=_0x19eb4e,_0xcb7e0d=_0x108c3b['map'](this[_0x5c29ab(0x24a)])[_0x5c29ab(0x33f)](Boolean);this['cart']['seats']=[...this[_0x5c29ab(0x4df)][_0x5c29ab(0x29e)],..._0xcb7e0d],this['afterCartUpdate']();}[_0x19eb4e(0x2e5)](_0x572ffc,_0x591dab){const _0x188488=_0x19eb4e,_0x42f93e=Math['min'](_0x572ffc['x'],_0x572ffc['x']+_0x572ffc['width']),_0x5a8a49=Math[_0x188488(0x2f9)](_0x572ffc['x'],_0x572ffc['x']+_0x572ffc['width']),_0x1ead23=Math[_0x188488(0x290)](_0x572ffc['y'],_0x572ffc['y']+_0x572ffc[_0x188488(0x51f)]),_0x2eb9bd=Math['max'](_0x572ffc['y'],_0x572ffc['y']+_0x572ffc[_0x188488(0x51f)]),_0x25734d=this[_0x188488(0x1e4)][_0x188488(0x39b)](_0x42f93e,_0x1ead23,_0x5a8a49,_0x2eb9bd)['map'](_0x10ac2f=>this[_0x188488(0x29e)][_0x10ac2f]['id']);this[_0x188488(0x46a)](_0x25734d,_0x591dab);}[_0x19eb4e(0x46a)](_0x236541,_0x1dd159){const _0x18b5a3=_0x19eb4e,_0x4a74c7=this['selectedSeatIds'],_0x39b054=_0x236541;switch(_0x1dd159){case _0x18b5a3(0x536):{this['selectedSeatIds']=_0x39b054;break;}case _0x18b5a3(0x3db):{this[_0x18b5a3(0x2fe)]=[...new Set([..._0x4a74c7,..._0x39b054])];break;}case _0x18b5a3(0x1fa):{this['selectedSeatIds']=_0x4a74c7[_0x18b5a3(0x33f)](_0x1a6b6c=>!_0x39b054[_0x18b5a3(0x4e4)](_0x1a6b6c));break;}}}[_0x19eb4e(0x388)](_0x56eb8d,_0x584ad0){const _0x55822b=_0x19eb4e,_0x13b07a=Math[_0x55822b(0x290)](_0x56eb8d['x'],_0x56eb8d['x']+_0x56eb8d[_0x55822b(0x3d1)]),_0x77c9a5=Math[_0x55822b(0x2f9)](_0x56eb8d['x'],_0x56eb8d['x']+_0x56eb8d[_0x55822b(0x3d1)]),_0x3d041e=Math[_0x55822b(0x290)](_0x56eb8d['y'],_0x56eb8d['y']+_0x56eb8d[_0x55822b(0x51f)]),_0x2633e2=Math[_0x55822b(0x2f9)](_0x56eb8d['y'],_0x56eb8d['y']+_0x56eb8d[_0x55822b(0x51f)]);let _0x5529b0=this[_0x55822b(0x1e4)][_0x55822b(0x39b)](_0x13b07a,_0x3d041e,_0x77c9a5,_0x2633e2)['map'](_0x1528d6=>this[_0x55822b(0x29e)][_0x1528d6][_0x55822b(0x54c)]);_0x5529b0=[...new Set(_0x5529b0)];const _0x58b0c7=_0x5529b0[_0x55822b(0x210)](_0x57be11=>this[_0x55822b(0x4c9)][_0x57be11][_0x55822b(0x210)](_0xfccb1f=>_0xfccb1f['id'])),_0x232e1d=[][_0x55822b(0x21b)](..._0x58b0c7);this[_0x55822b(0x46a)](_0x232e1d,_0x584ad0);}['findSeatByKey'](_0x45caf2){const _0x1dd45d=_0x19eb4e,[_0x125f05,_0x442297,_0x5822a1]=_0x45caf2[_0x1dd45d(0x4e2)](';;'),_0x286361=+_0x125f05,_0x3136d8=_0x286361?this[_0x1dd45d(0x1ea)][_0x286361]:Object[_0x1dd45d(0x4ad)](this['sectionsById'])[_0x1dd45d(0x495)](_0x4dee1b=>_0x4dee1b[_0x1dd45d(0x556)]===_0x125f05);if(!_0x3136d8)return;const _0x8eb8dc=Object[_0x1dd45d(0x4ad)](this['rowsById'])[_0x1dd45d(0x495)](_0x17ea47=>_0x17ea47[_0x1dd45d(0x3c6)]===_0x3136d8['id']&&_0x17ea47[_0x1dd45d(0x2d1)]+''===_0x442297);if(!_0x8eb8dc)return;const _0x43972e=this[_0x1dd45d(0x29e)][_0x1dd45d(0x495)](_0xba682f=>_0xba682f['sectorId']===_0x3136d8['id']&&_0xba682f[_0x1dd45d(0x54c)]===_0x8eb8dc['id']&&_0xba682f[_0x1dd45d(0x556)]===_0x5822a1);return _0x43972e;}[_0x19eb4e(0x2be)](){const _0xc21ac4=_0x19eb4e;return JSON['parse'](JSON[_0xc21ac4(0x2f2)](this[_0xc21ac4(0x4df)]));}[_0x19eb4e(0x431)](_0x10ab41){const _0x3057df=_0x19eb4e;return!!this[_0x3057df(0x4df)][_0x3057df(0x29e)]['find'](_0x286a24=>_0x286a24['id']===_0x10ab41);}[_0x19eb4e(0x432)](_0x34055){const _0x3433ab=_0x19eb4e;return!!this[_0x3433ab(0x4df)]['ga'][_0x3433ab(0x495)](_0x2422a7=>_0x2422a7[_0x3433ab(0x3c6)]===_0x34055);}[_0x19eb4e(0x4fc)](_0xda4e8c){const _0x4e388d=_0x19eb4e;if(this['isSeatInCart'](_0xda4e8c))return;const _0x183f75=this['seatToCartSeat'](this['seatsById'][_0xda4e8c]);this[_0x4e388d(0x4df)][_0x4e388d(0x29e)][_0x4e388d(0x445)](_0x183f75);}['removeSeatFromCart'](_0x5d91a5){const _0x42bc30=_0x19eb4e,_0x4e502e=this[_0x42bc30(0x4df)][_0x42bc30(0x29e)][_0x42bc30(0x291)](_0x3acadc=>_0x3acadc['id']===_0x5d91a5);_0x4e502e!==-0x1&&this[_0x42bc30(0x4df)][_0x42bc30(0x29e)][_0x42bc30(0x44d)](_0x4e502e,0x1);}['getCartSeats'](){const _0x5e1467=_0x19eb4e;if(!this[_0x5e1467(0x4df)][_0x5e1467(0x29e)][_0x5e1467(0x362)])return[];const _0x2f72b1=this[_0x5e1467(0x4df)]['seats'][_0x5e1467(0x210)](_0x4f4e6c=>_0x4f4e6c['id']||0x0);if(this[_0x5e1467(0x497)]){const _0x17103b=_0x2f72b1[_0x5e1467(0x308)](this[_0x5e1467(0x497)]['id']);_0x17103b!==-0x1&&(_0x2f72b1[_0x5e1467(0x44d)](_0x17103b,0x1),_0x2f72b1['push'](this[_0x5e1467(0x497)]['id']));}const _0x5b1e3f={};return this[_0x5e1467(0x29e)][_0x5e1467(0x33f)](_0x47997f=>_0x2f72b1[_0x5e1467(0x4e4)](_0x47997f['id']))[_0x5e1467(0x4b5)](_0x1ed92d=>{_0x5b1e3f[_0x1ed92d['id']]=_0x1ed92d;}),_0x2f72b1[_0x5e1467(0x210)](_0x51f596=>_0x5b1e3f[_0x51f596])[_0x5e1467(0x33f)](_0x2e5b9a=>_0x2e5b9a);}['getSeatSelection'](){const _0x286c34=_0x19eb4e;return this[_0x286c34(0x2fe)]['map'](_0x299476=>this[_0x286c34(0x1f4)][_0x299476]);}[_0x19eb4e(0x500)](_0x4c09ab){const _0x5b01e9=_0x19eb4e;var _0x28363c;(!(_0x4c09ab==null?void 0x0:_0x4c09ab[_0x5b01e9(0x362)])||(_0x4c09ab==null?void 0x0:_0x4c09ab[_0x5b01e9(0x362)])<0x1)&&Object[_0x5b01e9(0x4ad)](this[_0x5b01e9(0x1ea)])[_0x5b01e9(0x4b5)](_0x371589=>{const _0xe589ed=_0x5b01e9;_0x371589[_0xe589ed(0x2d8)]=![];});const _0x1feac7=(_0x28363c=_0x4c09ab==null?void 0x0:_0x4c09ab[_0x5b01e9(0x210)](_0x467f20=>{const _0x1205c4=_0x5b01e9;if(_0x467f20&&typeof _0x467f20===_0x1205c4(0x223))return this[_0x1205c4(0x1ea)][_0x467f20][_0x1205c4(0x2d8)]=!![],_0x467f20;else{if(_0x467f20&&typeof _0x467f20===_0x1205c4(0x339)){const _0x429d8c=Object[_0x1205c4(0x4ad)](this[_0x1205c4(0x1ea)])['find'](_0x463978=>_0x463978[_0x1205c4(0x556)]===_0x467f20);if(_0x429d8c)return _0x429d8c[_0x1205c4(0x2d8)]=!![],_0x429d8c['id'];}}return void 0x0;}))!=null?_0x28363c:null;return _0x1feac7;}[_0x19eb4e(0x4ba)](){const _0x37a233=_0x19eb4e;return Object[_0x37a233(0x4ad)](this[_0x37a233(0x1ea)])[_0x37a233(0x33f)](_0x39f0d4=>_0x39f0d4[_0x37a233(0x2d8)]);}[_0x19eb4e(0x527)](){const _0x186f25=_0x19eb4e;return Object['values'](this['sectionsById'])['filter'](_0x11daa6=>_0x11daa6[_0x186f25(0x3d2)]);}['calculateAbsolutePoint'](_0x18b5df){const _0x2cf2ea=_0x19eb4e,{scale:_0x1b90fe,translate:_0x148a86}=this,_0xd9b816=window[_0x2cf2ea(0x1cf)];return{'x':Math[_0x2cf2ea(0x2bb)]((_0x18b5df['x']*_0x1b90fe+_0x148a86['x'])/_0xd9b816),'y':Math[_0x2cf2ea(0x2bb)]((_0x18b5df['y']*_0x1b90fe+_0x148a86['y'])/_0xd9b816)};}},getSeatByPosition=(_0x5ae2b1,_0x22455e,_0x2b401f,_0x134e43)=>{const _0x3b6a27=_0x19eb4e,_0xcc9fce=_0x2b401f[_0x3b6a27(0x401)](_0x5ae2b1['x'],_0x5ae2b1['y'],_0x134e43/0x2)[0x0];return _0xcc9fce||_0xcc9fce===0x0?_0x22455e[_0xcc9fce]:void 0x0;},LABEL_STYLES={0x1:{'size':0x10,'opacity':0.5},0x2:{'size':0x18,'opacity':0.45},0x3:{'size':0x24,'opacity':0.4},0x4:{'size':0x40,'opacity':0.35},0x5:{'size':0x60,'opacity':0.35},0x6:{'size':0x90,'opacity':0.35}},DEFAULT_FONT_SCALE=0x1,arr=['c2','Vh','dG','1h','cC','5w','cm','8='],SelectionLayer=class extends SectionViewLayer{[_0x19eb4e(0x245)](){const _0x451bd5=_0x19eb4e;return this[_0x451bd5(0x412)]['underlay']['outlineSvg']||this['context'][_0x451bd5(0x555)][_0x451bd5(0x526)];}[_0x19eb4e(0x34f)](){const _0x21cb62=_0x19eb4e,_0x40151f=this[_0x21cb62(0x245)]();if(!_0x40151f)return;const _0x258635=createSvgElement(_0x40151f),_0x599633=_0x258635[_0x21cb62(0x1b5)]('['+DATA_GOS_ID+']'),_0x47d713={};for(let _0x3871a4=0x0;_0x3871a4<_0x599633[_0x21cb62(0x362)];_0x3871a4++){const _0x53e307=_0x599633[_0x3871a4],_0x2b203a=_0x53e307[_0x21cb62(0x214)](DATA_GOS_ID),_0x2495cf=_0x53e307[_0x21cb62(0x214)](DATA_FONT_SCALE);_0x2b203a&&_0x2495cf&&(_0x47d713[_0x2b203a]=+_0x2495cf);}this[_0x21cb62(0x334)]=_0x47d713;}[_0x19eb4e(0x1d1)](_0x20cb2c){const _0x56883c=_0x19eb4e;this['selectionRect']=_0x20cb2c,this[_0x56883c(0x523)]();}[_0x19eb4e(0x52d)](){const _0x55c827=_0x19eb4e;this[_0x55c827(0x3a2)]=void 0x0,this['redraw']();}[_0x19eb4e(0x3d0)](){const _0xc3c242=_0x19eb4e;this[_0xc3c242(0x412)][_0xc3c242(0x48a)]()[_0xc3c242(0x4b5)](_0x206b6b=>this[_0xc3c242(0x1e2)](this[_0xc3c242(0x31e)],_0x206b6b)),this[_0xc3c242(0x412)]['getSeatSelection']()[_0xc3c242(0x4b5)](_0x37e246=>this['renderSelectedSeat'](this['offscreenCtx'],_0x37e246));if(this[_0xc3c242(0x412)][_0xc3c242(0x420)])this[_0xc3c242(0x412)]['seatsByRowId'][this[_0xc3c242(0x412)][_0xc3c242(0x420)]['id']][_0xc3c242(0x4b5)](_0x1e5eed=>this['renderHoveredSeat'](this['offscreenCtx'],_0x1e5eed));else this[_0xc3c242(0x412)][_0xc3c242(0x497)]&&this[_0xc3c242(0x3e8)](this['offscreenCtx'],this[_0xc3c242(0x412)][_0xc3c242(0x497)]);this[_0xc3c242(0x3b6)](this[_0xc3c242(0x31e)]),this[_0xc3c242(0x1d3)](this[_0xc3c242(0x31e)]);}['drawOnscreenCanvas'](_0x3aa639,_0x3b3b75){const _0x5630b2=_0x19eb4e;super[_0x5630b2(0x2b1)](_0x3aa639,_0x3b3b75);const _0xe18218=this[_0x5630b2(0x548)],_0x1e71d9=window[_0x5630b2(0x1cf)];_0xe18218[_0x5630b2(0x38c)](),_0xe18218['textAlign']=_0x5630b2(0x1c9),_0xe18218[_0x5630b2(0x4a0)]=_0x5630b2(0x4d1),_0xe18218['font']=0x12*_0x1e71d9+'px\x20Arial',_0xe18218['fillStyle']='rgba(0,\x200,\x200,\x200.005)',_0xe18218['fillText'](atob(arr[_0x5630b2(0x24d)]('')),0x1e*_0x1e71d9,(this[_0x5630b2(0x51f)]-0x1e)*_0x1e71d9),_0xe18218[_0x5630b2(0x41f)]();}['renderGaTitles'](_0x2512a9){const _0x484e8e=_0x19eb4e,_0x1ca713=this[_0x484e8e(0x412)][_0x484e8e(0x3bf)],_0x1af708=this[_0x484e8e(0x412)][_0x484e8e(0x555)]['viewBox'],_0x431160=this[_0x484e8e(0x412)]['settings'][_0x484e8e(0x23b)];_0x2512a9[_0x484e8e(0x38c)](),_0x2512a9[_0x484e8e(0x390)](-_0x1af708['x'],-_0x1af708['y']),_0x1ca713[_0x484e8e(0x4b5)](_0x2983b1=>{const _0x5643f0=_0x484e8e;_0x2512a9['save'](),_0x2512a9[_0x5643f0(0x4f9)](..._0x2983b1[_0x5643f0(0x4f9)]);let _0x1e464d=0x0;if(!_0x2983b1[_0x5643f0(0x348)]){const _0x467734=this[_0x5643f0(0x334)][_0x2983b1['id']]||DEFAULT_FONT_SCALE,{size:_0x2a0a0a,opacity:_0x49f24b}=LABEL_STYLES[_0x467734]||LABEL_STYLES[DEFAULT_FONT_SCALE],_0x3adc5a=-((_0x2a0a0a+_0x431160[_0x5643f0(0x3a4)]+_0x431160[_0x5643f0(0x4ce)][_0x5643f0(0x1f7)][_0x5643f0(0x331)])/0x2),_0x53b11d=Math[_0x5643f0(0x2bb)](_0x3adc5a+_0x2a0a0a/0x2);_0x1e464d=Math[_0x5643f0(0x2bb)](_0x3adc5a+_0x2a0a0a+_0x431160[_0x5643f0(0x3a4)]+_0x431160[_0x5643f0(0x4ce)]['hovered'][_0x5643f0(0x331)]/0x2),_0x2512a9['textAlign']=_0x5643f0(0x274),_0x2512a9['textBaseline']=_0x5643f0(0x3fb),_0x2512a9[_0x5643f0(0x49d)]=_0x2a0a0a+_0x5643f0(0x55c),_0x2512a9[_0x5643f0(0x436)]=_0x5643f0(0x28e)+_0x49f24b+')',_0x2512a9[_0x5643f0(0x29a)](_0x2983b1['name'],0x0,_0x53b11d);}const _0x56af37=this[_0x5643f0(0x412)][_0x5643f0(0x1ea)][_0x2983b1['id']],_0x48c614={'id':-0x1,'sectorId':-0x1,'rowId':-0x1,'name':'','x':0x0,'y':_0x1e464d,'priceId':_0x56af37[_0x5643f0(0x22b)]};this[_0x5643f0(0x412)][_0x5643f0(0x24c)][_0x2983b1['id']]&&(_0x48c614[_0x5643f0(0x1db)]={'category':this[_0x5643f0(0x412)][_0x5643f0(0x24c)][_0x2983b1['id']]}),(!_0x2983b1['isTable']||_0x56af37[_0x5643f0(0x22b)])&&(this['context']['isSectionSelected'](_0x56af37['id'])?this['renderSelectedSeat'](_0x2512a9,_0x48c614):this['renderSeat'](_0x2512a9,_0x48c614)),_0x2512a9[_0x5643f0(0x41f)]();}),_0x2512a9[_0x484e8e(0x41f)]();}['renderSelectionRect'](_0xf9fab2){const _0x42858b=_0x19eb4e;if(!this[_0x42858b(0x3a2)])return;const {x:_0x6163a0,y:_0x1f1f1a,width:_0x56a953,height:_0xa7b6da}=this['selectionRect'];_0xf9fab2[_0x42858b(0x38c)](),_0xf9fab2[_0x42858b(0x436)]=_0x42858b(0x2ba),_0xf9fab2['rect'](_0x6163a0,_0x1f1f1a,_0x56a953,_0xa7b6da),_0xf9fab2[_0x42858b(0x247)](),_0xf9fab2[_0x42858b(0x41f)]();}},addPoints=(_0x401e17,_0x5a559a)=>{return{'x':_0x401e17['x']+_0x5a559a['x'],'y':_0x401e17['y']+_0x5a559a['y']};},subPoints=(_0x79239f,_0x26a6b0)=>{return{'x':_0x79239f['x']-_0x26a6b0['x'],'y':_0x79239f['y']-_0x26a6b0['y']};};import _0x264ea2 from'hammerjs';var sortPrices=_0x167021=>_0x167021[_0x19eb4e(0x416)](priceComparator),convertPricesToColored=(_0x1ddf1c,_0x3f551f)=>{const _0x5deba6=_0x19eb4e;if(!_0x1ddf1c)return[];const _0x3b7878=getColorSequence(_0x3f551f,_0x1ddf1c[_0x5deba6(0x362)]);return _0x1ddf1c['sort'](priceComparator)[_0x5deba6(0x210)]((_0x5af145,_0x43989c)=>({..._0x5af145,'color':_0x3b7878[_0x43989c]}));},convertPricesToColoredById=(_0x45cf03,_0x5de82d)=>{const _0x42bd9e=_0x19eb4e,_0x2859f={};return convertPricesToColored(_0x45cf03,_0x5de82d)[_0x42bd9e(0x4b5)](_0x42347f=>{const {id:_0x3afea5,name:_0x39ffec,color:_0x12e311}=_0x42347f;_0x2859f[_0x3afea5]={'id':_0x3afea5,'name':_0x39ffec,'color':_0x12e311};}),_0x2859f;},priceComparator=(_0x11cb64,_0x21852b)=>{const _0x38b9b7=_0x19eb4e;if(_0x11cb64[_0x38b9b7(0x556)]===_0x21852b[_0x38b9b7(0x556)])return 0x0;const _0x1c2c18=parseInt(_0x11cb64[_0x38b9b7(0x556)]),_0x5d33bb=parseInt(_0x21852b['name']);if(isFinite(_0x1c2c18)&&isFinite(_0x5d33bb)){if(_0x1c2c18===_0x5d33bb)return _0x11cb64[_0x38b9b7(0x556)]>_0x21852b['name']?0x1:-0x1;return _0x1c2c18>_0x5d33bb?0x1:-0x1;}else{if(isFinite(_0x1c2c18)&&!isFinite(_0x5d33bb))return-0x1;else return!isFinite(_0x1c2c18)&&isFinite(_0x5d33bb)?0x1:_0x11cb64[_0x38b9b7(0x556)]>_0x21852b[_0x38b9b7(0x556)]?0x1:-0x1;}},getColorSequence=(_0x4ed73f,_0x50cc85)=>{const _0x8a9a3f=_0x19eb4e;if(!_0x50cc85)return[];for(let _0x42d0c0=0x0;_0x42d0c0<_0x4ed73f['length'];_0x42d0c0++){if(_0x4ed73f[_0x42d0c0][_0x8a9a3f(0x362)]===_0x50cc85)return _0x4ed73f[_0x42d0c0];}const _0x46346e=_0x4ed73f[0x0],_0x350f5c=[];for(let _0x4598e4=0x0;_0x4598e4<_0x50cc85;_0x4598e4++){const _0x5d3cbf=Math[_0x8a9a3f(0x2bb)](_0x4598e4*_0x46346e[_0x8a9a3f(0x362)]/_0x50cc85);_0x350f5c[_0x8a9a3f(0x445)](_0x4ed73f[0x0][_0x5d3cbf]);}return _0x350f5c;};import{debounce}from'throttle-debounce';import{interpret}from'robot3';var getSeatsWithPrices=(_0x16f797,_0x5bcc26,_0x108311)=>{const _0x5a7515=_0x19eb4e,_0x106426=getPriceIdAndSpecialBySeatId(_0x5bcc26[_0x5a7515(0x29e)]);return _0x16f797[_0x5a7515(0x210)](_0x36f185=>{const _0x239176=_0x5a7515,_0x23175b=_0x106426[_0x36f185['id']]&&_0x106426[_0x36f185['id']]['priceId'],_0x221085=_0x106426[_0x36f185['id']]&&_0x106426[_0x36f185['id']][_0x239176(0x1db)],_0x4a0677=_0x23175b&&_0x5bcc26[_0x239176(0x53c)][_0x239176(0x362)]?_0x108311[_0x23175b][_0x239176(0x2b6)]:void 0x0;return{..._0x36f185,'priceId':_0x23175b,'color':_0x4a0677,'special':_0x221085};});},getSectorsWithPrices=(_0xd03f0a,_0x3f368c,_0x45abe9)=>{const _0x296084=_0x19eb4e,_0x36f48e=getPriceIdAndSpecialBySectorId(_0x3f368c[_0x296084(0x2aa)]);return _0xd03f0a[_0x296084(0x210)](_0x1af393=>{const _0x28e064=_0x296084,_0x2df731=_0x36f48e[_0x1af393['id']]&&_0x36f48e[_0x1af393['id']][_0x28e064(0x22b)],_0x8f5791=_0x2df731&&_0x3f368c[_0x28e064(0x53c)]['length']?_0x45abe9[_0x2df731][_0x28e064(0x2b6)]:void 0x0,_0x1d3c0c=_0x36f48e[_0x1af393['id']]&&_0x36f48e[_0x1af393['id']]['special'];return{..._0x1af393,'priceId':_0x2df731,'color':_0x8f5791,'special':_0x1d3c0c};});},getPriceIdAndSpecialBySeatId=_0x594245=>{const _0x457fd6=_0x19eb4e,_0x57fd4c={};return _0x594245&&_0x594245[_0x457fd6(0x4b5)](_0x7e22ad=>_0x57fd4c[_0x7e22ad[0x0]]={'priceId':_0x7e22ad[0x1],'special':_0x7e22ad[0x2]}),_0x57fd4c;},getPriceIdAndSpecialBySectorId=_0x203fcf=>{const _0x2f77e7={};return _0x203fcf&&_0x203fcf['forEach'](_0x42a5bf=>_0x2f77e7[_0x42a5bf[0x0]]={'priceId':_0x42a5bf[0x1],'special':_0x42a5bf[0x3]}),_0x2f77e7;},Background_default=_0x19eb4e(0x4fe),Background_default2=_0x19eb4e(0x238),Seats_default='#version\x20100\x0aprecision\x20highp\x20float;\x0a\x0aattribute\x20vec2\x20position;\x0aattribute\x20float\x20iconsTypes;\x0aattribute\x20float\x20priceColorIndex;\x0aattribute\x20float\x20size;\x0a\x0auniform\x20float\x20stageWidth;\x0auniform\x20float\x20stageHeight;\x0auniform\x20float\x20scale;\x0auniform\x20vec2\x20translate;\x0auniform\x20vec3\x20priceColors[32];\x0a\x0avarying\x20vec4\x20fragColor;\x0avarying\x20float\x20v_iconsTypes;\x0a\x0avoid\x20main()\x20{\x0a\x20\x20\x20\x20vec2\x20pos\x20=\x20position\x20*\x20scale\x20+\x20translate;\x0a\x20\x20\x20\x20vec2\x20normalized\x20=\x20vec2(\x0a\x20\x20\x20\x20\x20\x20\x20\x20(2.0\x20*\x20pos.x\x20/\x20stageWidth)\x20-\x201.0,\x0a\x20\x20\x20\x20\x20\x20\x20\x201.0\x20-\x20(2.0\x20*\x20pos.y\x20/\x20stageHeight)\x0a\x20\x20\x20\x20);\x0a\x20\x20\x20\x20float\x20scaleFactor\x20=\x20scale\x20<\x200.3\x20?\x201.4\x20:\x201.0;\x0a\x20\x20\x20\x20gl_PointSize\x20=\x20(size\x20+\x200.0)\x20*\x20scale\x20*\x20scaleFactor;\x20\x0a\x0a\x20\x20\x20\x20if\x20(priceColorIndex\x20>=\x200.0)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20int\x20index\x20=\x20int(priceColorIndex);\x0a\x20\x20\x20\x20\x20\x20\x20\x20vec3\x20color\x20=\x20priceColors[index];\x0a\x20\x20\x20\x20\x20\x20\x20\x20fragColor\x20=\x20vec4(color,\x201.0);\x0a\x20\x20\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20fragColor\x20=\x20vec4(0.7,\x200.7,\x200.7,\x201.0);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20v_iconsTypes\x20=\x20iconsTypes;\x0a\x20\x20\x20\x20gl_Position\x20=\x20vec4(normalized,\x200.0,\x201.0);\x0a}',Seats_default2='#ifdef\x20GL_OES_standard_derivatives\x0a#extension\x20GL_OES_standard_derivatives\x20:\x20enable\x0a#endif\x0aprecision\x20highp\x20float;\x0a\x0avarying\x20vec4\x20fragColor;\x0avarying\x20float\x20v_iconsTypes;\x0auniform\x20sampler2D\x20u_iconAtlas;\x0a\x0aconst\x20int\x20MAX_ICONS\x20=\x2016;\x0auniform\x20vec4\x20u_iconUVs[MAX_ICONS];\x20\x0auniform\x20int\x20u_iconsCount;\x0auniform\x20float\x20u_iconTypes[MAX_ICONS];\x0a\x0afloat\x20getIconScale()\x20{\x0a\x20\x20\x20\x20return\x201.6;\x0a}\x0a\x0avec4\x20applyIcon(vec4\x20baseColor,\x20vec4\x20uvCoords)\x20{\x0a\x20\x20\x20\x20float\x20scale\x20=\x20getIconScale();\x0a\x20\x20\x20\x20vec2\x20iconUV\x20=\x20uvCoords.xy\x20+\x20(gl_PointCoord\x20*\x20uvCoords.zw\x20*\x20scale)\x20-\x20(uvCoords.zw\x20*\x20(scale\x20-\x201.0)\x20*\x200.5);\x0a\x20\x20\x20\x20vec4\x20iconColor\x20=\x20texture2D(u_iconAtlas,\x20iconUV);\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20return\x20vec4(\x0a\x20\x20\x20\x20\x20\x20\x20\x20mix(baseColor.rgb,\x20vec3(1.0),\x20iconColor.a),\x0a\x20\x20\x20\x20\x20\x20\x20\x20baseColor.a\x0a\x20\x20\x20\x20);\x0a}\x0a\x0avoid\x20main()\x20{\x0a\x20\x20\x20\x20vec2\x20cxy\x20=\x202.0\x20*\x20gl_PointCoord\x20-\x201.0;\x0a\x20\x20\x20\x20float\x20r\x20=\x20dot(cxy,\x20cxy);\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20float\x20delta\x20=\x200.0;\x0a\x20\x20\x20\x20float\x20alpha\x20=\x201.0;\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20#ifdef\x20GL_OES_standard_derivatives\x0a\x20\x20\x20\x20\x20\x20\x20\x20delta\x20=\x20fwidth(r);\x0a\x20\x20\x20\x20\x20\x20\x20\x20alpha\x20=\x201.0\x20-\x20smoothstep(1.0\x20-\x20delta,\x201.0\x20+\x20delta,\x20r);\x0a\x20\x20\x20\x20#else\x0a\x20\x20\x20\x20\x20\x20\x20\x20alpha\x20=\x201.0\x20-\x20smoothstep(0.9,\x201.0,\x20sqrt(r));\x0a\x20\x20\x20\x20#endif\x0a\x20\x20\x20\x20if\x20(r\x20>=\x201.0)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20discard;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20vec4\x20color\x20=\x20fragColor;\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20if\x20(v_iconsTypes\x20>\x200.0)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20(int\x20i\x20=\x200;\x20i\x20<\x20MAX_ICONS;\x20i++)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(i\x20>=\x20u_iconsCount)\x20break;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(abs(v_iconsTypes\x20-\x20u_iconTypes[i])\x20<\x200.01)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color\x20=\x20applyIcon(color,\x20u_iconUVs[i]);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20break;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20gl_FragColor\x20=\x20color;\x0a\x20\x20\x20\x20gl_FragColor.a\x20*=\x20alpha;\x0a}',GLBase=class{constructor(){const _0x13ce60=_0x19eb4e;this[_0x13ce60(0x4db)]=document[_0x13ce60(0x231)]('canvas'),this[_0x13ce60(0x4db)][_0x13ce60(0x2a3)]['position']=_0x13ce60(0x395),this[_0x13ce60(0x4db)]['style'][_0x13ce60(0x1c9)]='0',this[_0x13ce60(0x4db)][_0x13ce60(0x2dd)]('id',_0x13ce60(0x276));}[_0x19eb4e(0x3f6)](_0x2fa6c5,_0x2e56a4){const _0x54f9d4=_0x19eb4e,_0x167e35=this[_0x54f9d4(0x548)][_0x54f9d4(0x3f6)](_0x2fa6c5);if(!_0x167e35)throw new Error(_0x54f9d4(0x559));this[_0x54f9d4(0x548)][_0x54f9d4(0x35c)](_0x167e35,_0x2e56a4),this['ctx'][_0x54f9d4(0x364)](_0x167e35);if(!this['ctx'][_0x54f9d4(0x22a)](_0x167e35,this[_0x54f9d4(0x548)]['COMPILE_STATUS'])){const _0x5e3aa4=this[_0x54f9d4(0x548)][_0x54f9d4(0x3d8)](_0x167e35);console[_0x54f9d4(0x265)](_0x54f9d4(0x505),_0x5e3aa4),this[_0x54f9d4(0x548)]['deleteShader'](_0x167e35);throw new Error(_0x54f9d4(0x4aa));}return _0x167e35;}['createImageVertexShader'](){const _0xc75535=_0x19eb4e;return this[_0xc75535(0x3f6)](this[_0xc75535(0x548)][_0xc75535(0x493)],Background_default);}['createImageFragmentShader'](){const _0x4c4cf0=_0x19eb4e;return this[_0x4c4cf0(0x3f6)](this[_0x4c4cf0(0x548)][_0x4c4cf0(0x1be)],Background_default2);}[_0x19eb4e(0x3d6)](){const _0x17219a=_0x19eb4e;return this[_0x17219a(0x3f6)](this[_0x17219a(0x548)][_0x17219a(0x493)],Seats_default);}[_0x19eb4e(0x30e)](){const _0xd7ba17=_0x19eb4e;return this[_0xd7ba17(0x3f6)](this[_0xd7ba17(0x548)][_0xd7ba17(0x1be)],Seats_default2);}['createProgram'](_0x35f29d,_0x573d7a){const _0x38c098=_0x19eb4e,_0x30548b=this[_0x38c098(0x548)][_0x38c098(0x465)]();this[_0x38c098(0x548)]['attachShader'](_0x30548b,_0x35f29d),this[_0x38c098(0x548)]['attachShader'](_0x30548b,_0x573d7a),this[_0x38c098(0x548)][_0x38c098(0x240)](_0x30548b);if(!this[_0x38c098(0x548)]['getProgramParameter'](_0x30548b,this[_0x38c098(0x548)][_0x38c098(0x30d)])){console['error'](_0x38c098(0x33b),this[_0x38c098(0x548)][_0x38c098(0x22e)](_0x30548b)),this['ctx'][_0x38c098(0x25b)](_0x30548b);throw new Error(_0x38c098(0x1af));}return _0x30548b;}},showAtlas=_0x85e1fe=>{const _0x298e84=_0x19eb4e,_0x35ca6b=document[_0x298e84(0x231)](_0x298e84(0x2b0));_0x35ca6b[_0x298e84(0x2a3)]['position']=_0x298e84(0x1b8),_0x35ca6b[_0x298e84(0x2a3)][_0x298e84(0x1e7)]='black',_0x35ca6b['style'][_0x298e84(0x508)]=_0x298e84(0x470),_0x35ca6b[_0x298e84(0x2a3)]['width']=_0x298e84(0x351),_0x35ca6b[_0x298e84(0x2a3)][_0x298e84(0x506)]=_0x298e84(0x3ac),_0x35ca6b[_0x298e84(0x2a3)][_0x298e84(0x1c9)]=_0x298e84(0x3ac),_0x35ca6b[_0x298e84(0x2a3)][_0x298e84(0x4f9)]=_0x298e84(0x1c6),_0x85e1fe[_0x298e84(0x2a3)][_0x298e84(0x3d1)]=_0x298e84(0x263),_0x85e1fe['style'][_0x298e84(0x51f)]=_0x298e84(0x263),_0x85e1fe[_0x298e84(0x2a3)][_0x298e84(0x55b)]=_0x298e84(0x310),_0x35ca6b[_0x298e84(0x537)](_0x85e1fe),document['body'][_0x298e84(0x537)](_0x35ca6b);},initializeIconUniforms=(_0x36aaf6,_0x56620b,_0x2d450a,_0x5571a)=>{const _0x3a2f0f=_0x19eb4e;if(!_0x36aaf6)return;Object[_0x3a2f0f(0x447)](_0x36aaf6)[_0x3a2f0f(0x4b5)](_0x4b83c0=>{const _0x34418f=_0x3a2f0f,_0x5034e4=_0x2d450a[_0x34418f(0x346)](_0x5571a,'u_'+_0x4b83c0+'UV');_0x5034e4&&_0x56620b[_0x34418f(0x533)](_0x4b83c0,_0x5034e4);});},initializeIconAtlas=async(_0x4f025d,_0x3e4552,_0x391072,_0x17a8a7=![])=>{const _0x5ef8ea=_0x19eb4e;if(!_0x4f025d||Object['keys'](_0x4f025d)['length']===0x0)return null;const _0xae4de7=document[_0x5ef8ea(0x231)](_0x5ef8ea(0x4db)),_0x5c0639=_0xae4de7[_0x5ef8ea(0x415)]('2d'),_0x392c42=0x10,_0x5e32a3=0x3,_0x786c77=_0x392c42*_0x5e32a3,_0x2bd6b4=0x1,_0x537359=0x14,_0x2a11ee=Object[_0x5ef8ea(0x296)](_0x4f025d)[_0x5ef8ea(0x210)](([_0x80ad29,_0x5b208e],_0x4d90b6)=>({'name':_0x80ad29,'svg':_0x5b208e,'index':_0x4d90b6}));_0xae4de7[_0x5ef8ea(0x3d1)]=_0x786c77*_0x2a11ee['length']+_0x537359*0x2+_0x2bd6b4*0x2+_0x2bd6b4,_0xae4de7[_0x5ef8ea(0x51f)]=_0x786c77+_0x2bd6b4*0x2;let _0x474ae2=_0x2bd6b4;for(const {name:_0x415b48,svg:_0x357cd2}of _0x2a11ee){const _0x477959=await svgToBase64(_0x357cd2),_0x4ff844=new Image();_0x4ff844[_0x5ef8ea(0x45d)]=_0x477959,await new Promise(_0xe84708=>{const _0x407e19=_0x5ef8ea;_0x4ff844[_0x407e19(0x315)]=_0xe84708;}),_0x5c0639['drawImage'](_0x4ff844,_0x474ae2,_0x2bd6b4,_0x786c77,_0x786c77),_0x3e4552[_0x5ef8ea(0x533)](_0x415b48,{'x':(_0x474ae2-_0x2bd6b4)/_0xae4de7[_0x5ef8ea(0x3d1)],'y':0x0,'width':_0x786c77/_0xae4de7['width'],'height':0x1}),_0x474ae2+=_0x786c77+_0x2bd6b4+_0x537359;}_0x17a8a7&&showAtlas(_0xae4de7);const _0x39c793=_0x391072[_0x5ef8ea(0x3b3)]();if(!_0x39c793)return null;_0x391072['bindTexture'](_0x391072[_0x5ef8ea(0x2e9)],_0x39c793),_0x391072[_0x5ef8ea(0x213)](_0x391072['TEXTURE_2D'],0x0,_0x391072[_0x5ef8ea(0x452)],_0x391072[_0x5ef8ea(0x452)],_0x391072[_0x5ef8ea(0x1c4)],_0xae4de7);const _0x3fa8f1=[{'pname':_0x391072[_0x5ef8ea(0x355)],'param':_0x391072['LINEAR']},{'pname':_0x391072['TEXTURE_MAG_FILTER'],'param':_0x391072['LINEAR']},{'pname':_0x391072[_0x5ef8ea(0x1fe)],'param':_0x391072[_0x5ef8ea(0x3ee)]},{'pname':_0x391072[_0x5ef8ea(0x4d3)],'param':_0x391072[_0x5ef8ea(0x3ee)]}];return _0x3fa8f1[_0x5ef8ea(0x4b5)](({pname:_0x37a4a4,param:_0x45c94d})=>{const _0xb2e86a=_0x5ef8ea;_0x391072[_0xb2e86a(0x41b)](_0x391072[_0xb2e86a(0x2e9)],_0x37a4a4,_0x45c94d);}),_0x39c793;},ICON_VALUES={'accessible':0x1,'marked':0.8,'star':0.6,'default':0.4,'unavailable':0x0},processSeat=(_0x1ff09f,_0x536dab,_0x5131c6,_0x8ec123=ICON_VALUES[_0x19eb4e(0x361)])=>{const _0x133af4=_0x19eb4e;var _0xaa6385,_0x289afa,_0x5d9312,_0x4eeb1a;const _0x41729a=_0x536dab[_0x133af4(0x438)][_0x133af4(0x23b)][_0x133af4(0x4ce)],_0x587361=_0x1ff09f[_0x133af4(0x2af)]?_0x41729a[_0x133af4(0x361)]:_0x1ff09f[_0x133af4(0x441)]?_0x41729a[_0x133af4(0x441)]:_0x41729a['default'];if(!_0x587361)return{'position':[],'iconType':_0x8ec123,'priceColorIndex':-0x1,'size':0x6};const _0x5d7f1a=(_0x289afa=(_0xaa6385=_0x536dab['settings'])[_0x133af4(0x4be)])==null?void 0x0:_0x289afa[_0x133af4(0x279)](_0xaa6385,{'context':_0x536dab,'seat':_0x1ff09f,'style':_0x587361,'state':_0x133af4(0x23d)}),_0x2c1a49=[_0x1ff09f['x'],_0x1ff09f['y']];let _0x2ebc0b=_0x8ec123,_0x309c41=-0x1;const _0xba6e02=(_0x1ff09f['isAccessible']?(_0x5d9312=_0x587361['accessible'])==null?void 0x0:_0x5d9312['size']:_0x5d7f1a==null?void 0x0:_0x5d7f1a[_0x133af4(0x331)])||_0x587361[_0x133af4(0x331)];if(_0x1ff09f['priceId']){_0x309c41=_0x5131c6[_0x133af4(0x291)](_0x1068ae=>_0x1068ae['priceId']===_0x1ff09f['priceId']);if(_0x1ff09f[_0x133af4(0x4e1)])_0x2ebc0b=ICON_VALUES[_0x133af4(0x39f)];else{if(_0x1ff09f[_0x133af4(0x284)])_0x2ebc0b=ICON_VALUES[_0x133af4(0x382)];else(_0x5d7f1a==null?void 0x0:_0x5d7f1a[_0x133af4(0x413)])?_0x2ebc0b=(_0x4eeb1a=ICON_VALUES[_0x5d7f1a[_0x133af4(0x413)]])!=null?_0x4eeb1a:ICON_VALUES[_0x133af4(0x23d)]:_0x2ebc0b=ICON_VALUES[_0x133af4(0x23d)];}}return{'position':_0x2c1a49,'iconType':_0x2ebc0b,'priceColorIndex':_0x309c41,'size':_0xba6e02};},hexToRGB=_0x6b43da=>{const _0xbc9fe9=_0x19eb4e;if(!_0x6b43da)return[0x0,0x0,0x0];_0x6b43da=_0x6b43da['replace']('#','');const _0x3d47d3=parseInt(_0x6b43da['substring'](0x0,0x2),0x10),_0x17d916=parseInt(_0x6b43da['substring'](0x2,0x4),0x10),_0x311384=parseInt(_0x6b43da[_0xbc9fe9(0x458)](0x4,0x6),0x10);return[_0x3d47d3/0xff,_0x17d916/0xff,_0x311384/0xff];},generatePriceCategories=_0x34a842=>{const _0x601610=_0x19eb4e;return Object[_0x601610(0x296)](_0x34a842[_0x601610(0x2a6)])[_0x601610(0x210)](([_0x4b1497,_0x4b888a])=>{const _0x40c5d4=_0x601610,_0xafeecb=hexToRGB(_0x4b888a[_0x40c5d4(0x2b6)]);return{'priceId':parseInt(_0x4b1497),'colorRGB':_0xafeecb};});},createSeatsGeometry=_0x5d2f9c=>{const _0x4732e6=_0x19eb4e;if(!_0x5d2f9c[_0x4732e6(0x29e)]||_0x5d2f9c[_0x4732e6(0x29e)][_0x4732e6(0x362)]===0x0)return console['warn'](_0x4732e6(0x1ff)),null;const _0x4893f6=generatePriceCategories(_0x5d2f9c),_0x320368=[],_0x1ae422=[],_0x4bc8a6=[],_0x4c634c=[];for(const _0x3f9a2a of _0x5d2f9c['seats']){const {position:_0x2e9ad2,iconType:_0x3805ad,priceColorIndex:_0x415e16,size:_0x52ecd6}=processSeat(_0x3f9a2a,_0x5d2f9c,_0x4893f6);_0x2e9ad2[_0x4732e6(0x362)]>0x0&&(_0x320368['push'](..._0x2e9ad2),_0x1ae422['push'](_0x3805ad),_0x4bc8a6[_0x4732e6(0x445)](_0x415e16),_0x4c634c[_0x4732e6(0x445)](_0x52ecd6));}return{'positions':_0x320368,'iconTypes':_0x1ae422,'priceColorIndices':_0x4bc8a6,'priceCategories':_0x4893f6,'sizes':_0x4c634c};},createAndFillBuffer=(_0x48ce76,_0x12266b)=>{const _0x116025=_0x19eb4e,_0x1b9fdb=_0x48ce76[_0x116025(0x42c)]();if(!_0x1b9fdb)return console[_0x116025(0x265)]('Failed\x20to\x20create\x20WebGL\x20buffer'),null;return _0x48ce76[_0x116025(0x42d)](_0x48ce76['ARRAY_BUFFER'],_0x1b9fdb),_0x48ce76[_0x116025(0x451)](_0x48ce76[_0x116025(0x260)],new Float32Array(_0x12266b),_0x48ce76[_0x116025(0x42f)]),_0x1b9fdb;},setPriceColors=(_0x30c31e,_0xe8e8e6,_0x18b07f)=>{const _0xae40ed=_0x19eb4e,_0x301cfb=new Float32Array(0x20*0x3);Array['isArray'](_0x18b07f)?_0x18b07f[_0xae40ed(0x4b5)]((_0x1458ab,_0x3b42ed)=>{const _0x2d0581=_0xae40ed,_0xc628de=_0x1458ab[_0x2d0581(0x2c3)];_0x301cfb[_0x3b42ed*0x3]=_0xc628de[0x0]||0x0,_0x301cfb[_0x3b42ed*0x3+0x1]=_0xc628de[0x1]||0x0,_0x301cfb[_0x3b42ed*0x3+0x2]=_0xc628de[0x2]||0x0;}):console[_0xae40ed(0x265)](_0xae40ed(0x1de));_0x30c31e[_0xae40ed(0x4a9)](_0xe8e8e6);const _0x8d05cb=_0x30c31e[_0xae40ed(0x346)](_0xe8e8e6,_0xae40ed(0x216));_0x30c31e[_0xae40ed(0x2a5)](_0x8d05cb,_0x301cfb);},VisibilityManager=class{constructor(_0x164748){const _0x22ae87=_0x19eb4e;this[_0x22ae87(0x34b)]=_0x164748[_0x22ae87(0x438)][_0x22ae87(0x34b)];}[_0x19eb4e(0x459)](_0x165d4c){const _0x1537ed=_0x19eb4e;return{'outline':{'selectable':this[_0x1537ed(0x34c)](_0x165d4c),'visible':this[_0x1537ed(0x544)](_0x165d4c)},'seat':{'selectable':this[_0x1537ed(0x311)](_0x165d4c),'visible':this['isSeatVisible'](_0x165d4c)}};}[_0x19eb4e(0x311)](_0x5333e5){const _0x334e95=_0x19eb4e;return this[_0x334e95(0x220)](_0x5333e5,_0x334e95(0x29e),_0x334e95(0x2d5));}[_0x19eb4e(0x3e4)](_0x785621){const _0x3753be=_0x19eb4e;return this[_0x3753be(0x220)](_0x785621,'seats',_0x3753be(0x525));}[_0x19eb4e(0x34c)](_0x37a139){const _0x48eb14=_0x19eb4e;return this[_0x48eb14(0x220)](_0x37a139,_0x48eb14(0x3c5),_0x48eb14(0x2d5));}[_0x19eb4e(0x544)](_0x39fd97){const _0x3c7913=_0x19eb4e;return this[_0x3c7913(0x220)](_0x39fd97,_0x3c7913(0x3c5),_0x3c7913(0x525));}[_0x19eb4e(0x220)](_0x11eb59,_0x76c811,_0x2be292){const _0x376424=_0x19eb4e;var _0xdc9d9e,_0x560e3d,_0x166fc3,_0x2c7b84;if(!((_0x560e3d=(_0xdc9d9e=this['visibilitySettings'])==null?void 0x0:_0xdc9d9e[_0x76c811])==null?void 0x0:_0x560e3d[_0x2be292]))return!![];const _0x19f94f=(_0x2c7b84=(_0x166fc3=this[_0x376424(0x34b)])==null?void 0x0:_0x166fc3[_0x76c811])==null?void 0x0:_0x2c7b84[_0x2be292];return((_0x19f94f==null?void 0x0:_0x19f94f['from'])||0x0)*DPR<=_0x11eb59&&_0x11eb59<((_0x19f94f==null?void 0x0:_0x19f94f['to'])||0x14)*DPR;}},dpr3=window[_0x19eb4e(0x1cf)];function setRectangle(_0x2490d2,_0x317be3,_0x576645,_0x39b455,_0xf8dd95){const _0x5af5e1=_0x19eb4e;var _0x1000a3=_0x317be3,_0x560dc5=_0x317be3+_0x39b455,_0x1be84e=_0x576645,_0x30e3ee=_0x576645+_0xf8dd95;_0x2490d2[_0x5af5e1(0x451)](_0x2490d2[_0x5af5e1(0x260)],new Float32Array([_0x1000a3,_0x1be84e,_0x560dc5,_0x1be84e,_0x1000a3,_0x30e3ee,_0x1000a3,_0x30e3ee,_0x560dc5,_0x1be84e,_0x560dc5,_0x30e3ee]),_0x2490d2[_0x5af5e1(0x42f)]);}var WebGLCanvasLayer=class extends GLBase{constructor(_0x52120c){const _0x3c1adb=_0x19eb4e;var _0x3ff18b;super(),this['seatsPositions']=[],this[_0x3c1adb(0x46f)]=null,this[_0x3c1adb(0x30a)]=new Map(),this[_0x3c1adb(0x2ac)]=new Map(),this[_0x3c1adb(0x292)]=ICON_VALUES,this[_0x3c1adb(0x517)]=![],this[_0x3c1adb(0x412)]=_0x52120c,this['context']['element']['appendChild'](this[_0x3c1adb(0x4db)]),this[_0x3c1adb(0x423)](),this[_0x3c1adb(0x548)]=this['canvas']['getContext']('webgl',{'antialias':!![],'preserveDrawingBuffer':![]}),this[_0x3c1adb(0x535)]=new VisibilityManager(this[_0x3c1adb(0x412)]),this['ctx'][_0x3c1adb(0x258)](_0x3c1adb(0x281)),this['imageProgram']=this['createProgram'](this[_0x3c1adb(0x45e)](),this[_0x3c1adb(0x2bf)]()),this['seatsProgram']=this['createProgram'](this['createSeatsVertexShader'](),this[_0x3c1adb(0x30e)]()),this[_0x3c1adb(0x393)]=this[_0x3c1adb(0x548)][_0x3c1adb(0x33c)](this['seatsProgram'],_0x3c1adb(0x328)),this['a_seatAvailability']=this['ctx'][_0x3c1adb(0x33c)](this['seatsProgram'],_0x3c1adb(0x38a)),this[_0x3c1adb(0x40c)]=this[_0x3c1adb(0x548)][_0x3c1adb(0x346)](this[_0x3c1adb(0x1b1)],'scale'),this['stranslateUniform']=this['ctx']['getUniformLocation'](this[_0x3c1adb(0x1b1)],'translate'),this[_0x3c1adb(0x529)]=this[_0x3c1adb(0x548)][_0x3c1adb(0x346)](this['seatsProgram'],'stageWidth'),this[_0x3c1adb(0x1b2)]=this[_0x3c1adb(0x548)][_0x3c1adb(0x346)](this[_0x3c1adb(0x1b1)],'stageHeight'),this['dprUniform']=this[_0x3c1adb(0x548)][_0x3c1adb(0x346)](this[_0x3c1adb(0x1b1)],_0x3c1adb(0x1d5)),this['scaleLocationImage']=this[_0x3c1adb(0x548)][_0x3c1adb(0x346)](this[_0x3c1adb(0x46e)],_0x3c1adb(0x52a)),this[_0x3c1adb(0x300)]=this[_0x3c1adb(0x548)]['getUniformLocation'](this[_0x3c1adb(0x46e)],_0x3c1adb(0x269)),this['positionLocationImage']=this[_0x3c1adb(0x548)][_0x3c1adb(0x33c)](this[_0x3c1adb(0x46e)],_0x3c1adb(0x443)),this[_0x3c1adb(0x293)]=this[_0x3c1adb(0x548)]['getAttribLocation'](this[_0x3c1adb(0x46e)],_0x3c1adb(0x435)),this[_0x3c1adb(0x3dc)]=this[_0x3c1adb(0x548)][_0x3c1adb(0x346)](this[_0x3c1adb(0x46e)],_0x3c1adb(0x511)),this[_0x3c1adb(0x463)]=this[_0x3c1adb(0x548)][_0x3c1adb(0x346)](this['seatsProgram'],_0x3c1adb(0x20a)),initializeIconUniforms(this[_0x3c1adb(0x412)][_0x3c1adb(0x2a7)],this[_0x3c1adb(0x2ac)],this[_0x3c1adb(0x548)],this[_0x3c1adb(0x1b1)]),initializeIconAtlas(((_0x3ff18b=this[_0x3c1adb(0x412)][_0x3c1adb(0x438)][_0x3c1adb(0x23b)])==null?void 0x0:_0x3ff18b[_0x3c1adb(0x48b)])||{},this[_0x3c1adb(0x30a)],this[_0x3c1adb(0x548)],this['enableDebugTools'])['then'](_0x53ecc5=>{const _0x39452f=_0x3c1adb;this[_0x39452f(0x46f)]=_0x53ecc5;}),this['priceColorIndexAttribute']=this[_0x3c1adb(0x548)][_0x3c1adb(0x33c)](this['seatsProgram'],_0x3c1adb(0x2f4)),this[_0x3c1adb(0x55d)]=this[_0x3c1adb(0x548)][_0x3c1adb(0x33c)](this['seatsProgram'],'size');}[_0x19eb4e(0x2b1)](_0x399ec7,_0x19bdd1){const _0x5cc0f0=_0x19eb4e,_0x39e156={'x':_0x19bdd1['x']+this[_0x5cc0f0(0x412)][_0x5cc0f0(0x390)]['x']*_0x399ec7,'y':_0x19bdd1['y']+this['context'][_0x5cc0f0(0x390)]['y']*_0x399ec7},_0x5ee195=this[_0x5cc0f0(0x412)][_0x5cc0f0(0x4b7)]*_0x399ec7;this['context'][_0x5cc0f0(0x402)]=this['visibilityManager'][_0x5cc0f0(0x459)](_0x5ee195),this[_0x5cc0f0(0x26a)]!==this[_0x5cc0f0(0x412)][_0x5cc0f0(0x402)][_0x5cc0f0(0x3e7)][_0x5cc0f0(0x525)]&&(this[_0x5cc0f0(0x26a)]=this[_0x5cc0f0(0x412)][_0x5cc0f0(0x402)][_0x5cc0f0(0x3e7)][_0x5cc0f0(0x525)],this[_0x5cc0f0(0x1f9)]()),this[_0x5cc0f0(0x548)][_0x5cc0f0(0x286)](this['ctx']['COLOR_BUFFER_BIT']),this['drawSceneBackground'](_0x5ee195,_0x39e156),this['drawScene'](_0x5ee195,_0x39e156);}get[_0x19eb4e(0x3d1)](){const _0x49504f=_0x19eb4e;return this[_0x49504f(0x412)][_0x49504f(0x1b7)][_0x49504f(0x46c)];}get[_0x19eb4e(0x51f)](){return this['context']['element']['clientHeight'];}[_0x19eb4e(0x4c8)](){const _0x9bb033=_0x19eb4e;this[_0x9bb033(0x4db)][_0x9bb033(0x3d1)]=0x1,this[_0x9bb033(0x4db)]['height']=0x1,this[_0x9bb033(0x4db)][_0x9bb033(0x51d)](),this[_0x9bb033(0x412)][_0x9bb033(0x4c8)]();}[_0x19eb4e(0x423)](){const _0x46c165=_0x19eb4e;this['canvas']['width']=this[_0x46c165(0x3d1)]*dpr3,this['canvas'][_0x46c165(0x51f)]=this[_0x46c165(0x51f)]*dpr3,this[_0x46c165(0x4db)]['style'][_0x46c165(0x51f)]=this[_0x46c165(0x51f)]+'px',this[_0x46c165(0x4db)][_0x46c165(0x2a3)]['width']=this[_0x46c165(0x3d1)]+'px',this[_0x46c165(0x523)](!![]);}[_0x19eb4e(0x49c)](_0x1d6ff4,_0x417888){}async[_0x19eb4e(0x468)](){const _0x15aa69=_0x19eb4e;this[_0x15aa69(0x548)][_0x15aa69(0x42d)](this[_0x15aa69(0x548)][_0x15aa69(0x260)],this[_0x15aa69(0x545)]),setRectangle(this['ctx'],0x0,0x0,this[_0x15aa69(0x365)][_0x15aa69(0x3d1)],this[_0x15aa69(0x365)][_0x15aa69(0x51f)]),this['ctx'][_0x15aa69(0x2d4)](this[_0x15aa69(0x548)][_0x15aa69(0x2e9)],this[_0x15aa69(0x55a)]),this[_0x15aa69(0x548)][_0x15aa69(0x213)](this[_0x15aa69(0x548)][_0x15aa69(0x2e9)],0x0,this['ctx'][_0x15aa69(0x452)],this[_0x15aa69(0x548)][_0x15aa69(0x452)],this['ctx'][_0x15aa69(0x1c4)],this[_0x15aa69(0x365)]);}[_0x19eb4e(0x37f)](){const _0x1cc3ce=_0x19eb4e;if(!this['iconAtlas'])return;this[_0x1cc3ce(0x548)][_0x1cc3ce(0x4f3)](this[_0x1cc3ce(0x548)]['TEXTURE0']),this['ctx'][_0x1cc3ce(0x2d4)](this[_0x1cc3ce(0x548)][_0x1cc3ce(0x2e9)],this['iconAtlas']),this[_0x1cc3ce(0x548)]['uniform1i'](this['uniformIconAtlas'],0x0);const _0x460893=this[_0x1cc3ce(0x30a)][_0x1cc3ce(0x331)],_0xc1b9e4=this[_0x1cc3ce(0x548)][_0x1cc3ce(0x346)](this['seatsProgram'],'u_iconsCount');this[_0x1cc3ce(0x548)][_0x1cc3ce(0x4e6)](_0xc1b9e4,_0x460893);const _0xa7892d=[],_0x572f3f=[];this['iconsUVMap'][_0x1cc3ce(0x4b5)]((_0x227b8d,_0x495e4d)=>{const _0x218f0b=_0x1cc3ce;_0xa7892d[_0x218f0b(0x445)](_0x227b8d['x'],_0x227b8d['y'],_0x227b8d[_0x218f0b(0x3d1)],_0x227b8d['height']),_0x572f3f[_0x218f0b(0x445)](this['ICON_VALUES'][_0x495e4d]||this[_0x218f0b(0x292)][_0x218f0b(0x361)]);});const _0x11f3a4=this[_0x1cc3ce(0x548)][_0x1cc3ce(0x346)](this[_0x1cc3ce(0x1b1)],_0x1cc3ce(0x384));this[_0x1cc3ce(0x548)][_0x1cc3ce(0x1c2)](_0x11f3a4,new Float32Array(_0xa7892d));const _0x26c958=this[_0x1cc3ce(0x548)]['getUniformLocation'](this[_0x1cc3ce(0x1b1)],_0x1cc3ce(0x336));this[_0x1cc3ce(0x548)][_0x1cc3ce(0x417)](_0x26c958,new Float32Array(_0x572f3f));}async[_0x19eb4e(0x427)](){const _0xa999b3=_0x19eb4e;this[_0xa999b3(0x545)]=this[_0xa999b3(0x548)]['createBuffer'](),this['ctx'][_0xa999b3(0x42d)](this[_0xa999b3(0x548)][_0xa999b3(0x260)],this['positionBuffer']),setRectangle(this[_0xa999b3(0x548)],0x0,0x0,this['backgroundElement'][_0xa999b3(0x3d1)],this[_0xa999b3(0x365)][_0xa999b3(0x51f)]),this[_0xa999b3(0x44f)]=this['ctx']['createBuffer'](),this[_0xa999b3(0x548)][_0xa999b3(0x42d)](this[_0xa999b3(0x548)][_0xa999b3(0x260)],this[_0xa999b3(0x44f)]),this[_0xa999b3(0x548)][_0xa999b3(0x451)](this[_0xa999b3(0x548)]['ARRAY_BUFFER'],new Float32Array([0x0,0x0,0x1,0x0,0x0,0x1,0x0,0x1,0x1,0x0,0x1,0x1]),this['ctx'][_0xa999b3(0x42f)]),this['texture']=this[_0xa999b3(0x548)]['createTexture'](),this[_0xa999b3(0x548)][_0xa999b3(0x2d4)](this[_0xa999b3(0x548)][_0xa999b3(0x2e9)],this[_0xa999b3(0x55a)]),this[_0xa999b3(0x548)][_0xa999b3(0x41b)](this[_0xa999b3(0x548)][_0xa999b3(0x2e9)],this[_0xa999b3(0x548)]['TEXTURE_WRAP_S'],this['ctx'][_0xa999b3(0x3ee)]),this[_0xa999b3(0x548)][_0xa999b3(0x41b)](this[_0xa999b3(0x548)]['TEXTURE_2D'],this[_0xa999b3(0x548)]['TEXTURE_WRAP_T'],this[_0xa999b3(0x548)][_0xa999b3(0x3ee)]),this[_0xa999b3(0x548)][_0xa999b3(0x41b)](this[_0xa999b3(0x548)][_0xa999b3(0x2e9)],this[_0xa999b3(0x548)][_0xa999b3(0x355)],this['ctx'][_0xa999b3(0x422)]),this[_0xa999b3(0x548)]['texParameteri'](this[_0xa999b3(0x548)][_0xa999b3(0x2e9)],this[_0xa999b3(0x548)][_0xa999b3(0x211)],this[_0xa999b3(0x548)][_0xa999b3(0x422)]),this[_0xa999b3(0x548)][_0xa999b3(0x213)](this['ctx'][_0xa999b3(0x2e9)],0x0,this[_0xa999b3(0x548)][_0xa999b3(0x452)],this[_0xa999b3(0x548)][_0xa999b3(0x452)],this[_0xa999b3(0x548)][_0xa999b3(0x1c4)],this[_0xa999b3(0x365)]),this['ctx'][_0xa999b3(0x4a9)](this[_0xa999b3(0x46e)]),this[_0xa999b3(0x548)][_0xa999b3(0x4da)](this['positionLocationImage']),this[_0xa999b3(0x548)][_0xa999b3(0x42d)](this['ctx']['ARRAY_BUFFER'],this[_0xa999b3(0x545)]),this['ctx']['vertexAttribPointer'](this[_0xa999b3(0x4cb)],0x2,this[_0xa999b3(0x548)][_0xa999b3(0x1ae)],![],0x0,0x0),this['ctx'][_0xa999b3(0x4da)](this[_0xa999b3(0x293)]),this['ctx'][_0xa999b3(0x42d)](this[_0xa999b3(0x548)][_0xa999b3(0x260)],this['texcoordBuffer']),this[_0xa999b3(0x548)][_0xa999b3(0x303)](this[_0xa999b3(0x293)],0x2,this[_0xa999b3(0x548)]['FLOAT'],![],0x0,0x0),this[_0xa999b3(0x548)][_0xa999b3(0x305)](this[_0xa999b3(0x3dc)],this[_0xa999b3(0x548)][_0xa999b3(0x4db)][_0xa999b3(0x3d1)],this['ctx'][_0xa999b3(0x4db)][_0xa999b3(0x51f)]),this['ctx'][_0xa999b3(0x3c9)](this[_0xa999b3(0x3f2)],this[_0xa999b3(0x412)]['scale']),this[_0xa999b3(0x548)][_0xa999b3(0x305)](this['translateLocationImage'],this[_0xa999b3(0x412)][_0xa999b3(0x390)]['x'],this[_0xa999b3(0x412)]['translate']['y']),this[_0xa999b3(0x548)][_0xa999b3(0x4f6)](this[_0xa999b3(0x548)][_0xa999b3(0x3b2)],0x0,0x6);}[_0x19eb4e(0x1f9)](){const _0x1e65d1=_0x19eb4e,_0x4c6b92=this[_0x1e65d1(0x412)][_0x1e65d1(0x402)]['seat'][_0x1e65d1(0x525)]&&!this[_0x1e65d1(0x412)][_0x1e65d1(0x438)][_0x1e65d1(0x482)]&&!(this[_0x1e65d1(0x412)][_0x1e65d1(0x3ea)]&&this['context'][_0x1e65d1(0x438)][_0x1e65d1(0x21a)]),_0xa3fde2=createSeatsGeometry(this[_0x1e65d1(0x412)]);if(!_0xa3fde2)return;const {positions:_0x4e4187,iconTypes:_0x59eb8c,priceColorIndices:_0x34f549,priceCategories:_0x58569d,sizes:_0x328e98}=_0xa3fde2,_0x4ec4b1=_0x4c6b92?_0x4e4187:[];this['seatsPositionBuffer']=createAndFillBuffer(this[_0x1e65d1(0x548)],_0x4ec4b1),this['seatsAvailabilityBuffer']=createAndFillBuffer(this[_0x1e65d1(0x548)],_0x59eb8c),this[_0x1e65d1(0x1f8)]=createAndFillBuffer(this['ctx'],_0x34f549),this[_0x1e65d1(0x1cd)]=createAndFillBuffer(this[_0x1e65d1(0x548)],_0x328e98),this['seatsPositions']=_0x4e4187,setPriceColors(this['ctx'],this[_0x1e65d1(0x1b1)],_0x58569d);}async['redraw'](_0x115065){const _0x3b41ae=_0x19eb4e;if(!this['context'][_0x3b41ae(0x29e)])return;this['context'][_0x3b41ae(0x402)]=this[_0x3b41ae(0x535)][_0x3b41ae(0x459)](this[_0x3b41ae(0x412)][_0x3b41ae(0x4b7)]);const _0x1755ce=this[_0x3b41ae(0x26a)]!==this[_0x3b41ae(0x412)][_0x3b41ae(0x402)][_0x3b41ae(0x3e7)][_0x3b41ae(0x525)];_0x1755ce&&(this['prevSeatVisibility']=this[_0x3b41ae(0x412)][_0x3b41ae(0x402)][_0x3b41ae(0x3e7)][_0x3b41ae(0x525)],this['setSeatsGeometry']());const _0x5dc4b4=this[_0x3b41ae(0x2cf)]!==this[_0x3b41ae(0x365)];if(!_0x5dc4b4&&this['hasInitialDrawComplete']&&!_0x115065&&!_0x1755ce)return;this[_0x3b41ae(0x548)][_0x3b41ae(0x457)](0x0,0x0,this[_0x3b41ae(0x548)][_0x3b41ae(0x4db)][_0x3b41ae(0x3d1)],this[_0x3b41ae(0x548)][_0x3b41ae(0x4db)]['height']),this['ctx']['clear'](this[_0x3b41ae(0x548)][_0x3b41ae(0x404)]|this['ctx'][_0x3b41ae(0x4d0)]|this[_0x3b41ae(0x548)][_0x3b41ae(0x448)]),this[_0x3b41ae(0x55a)]&&(this[_0x3b41ae(0x548)][_0x3b41ae(0x1f3)](this['texture']),this['texture']=null,this[_0x3b41ae(0x548)][_0x3b41ae(0x43a)](0x0,0x0,0x0,0x0),this[_0x3b41ae(0x548)][_0x3b41ae(0x286)](this[_0x3b41ae(0x548)]['COLOR_BUFFER_BIT']|this[_0x3b41ae(0x548)][_0x3b41ae(0x4d0)])),!this[_0x3b41ae(0x55a)]&&this[_0x3b41ae(0x365)]&&(await this[_0x3b41ae(0x427)](),await this[_0x3b41ae(0x468)](),this['previousBackgroundElement']=this['backgroundElement']),!this[_0x3b41ae(0x501)]&&this['setSeatsGeometry'](),this['texture']&&this['drawSceneBackground'](this[_0x3b41ae(0x412)][_0x3b41ae(0x4b7)],this[_0x3b41ae(0x412)][_0x3b41ae(0x390)]),this[_0x3b41ae(0x200)](this[_0x3b41ae(0x412)][_0x3b41ae(0x4b7)],this[_0x3b41ae(0x412)][_0x3b41ae(0x390)]),this[_0x3b41ae(0x38b)]=!![];}[_0x19eb4e(0x200)](_0x261667,_0x1775c0){const _0x348765=_0x19eb4e;if(!this['seatsPositionBuffer']||!this[_0x348765(0x219)]){console[_0x348765(0x3f7)](_0x348765(0x26b));return;}this[_0x348765(0x548)][_0x348765(0x4a9)](this[_0x348765(0x1b1)]);const _0x1e3e4d=createSeatsGeometry(this[_0x348765(0x412)]);_0x1e3e4d&&setPriceColors(this[_0x348765(0x548)],this[_0x348765(0x1b1)],_0x1e3e4d[_0x348765(0x498)]);this[_0x348765(0x392)](),this[_0x348765(0x353)](_0x261667,_0x1775c0),this['setupBlending'](),this['setupShaderUniforms']();const _0x5d349a=this[_0x348765(0x2fb)][_0x348765(0x362)]/0x2;this[_0x348765(0x548)][_0x348765(0x4f6)](this[_0x348765(0x548)][_0x348765(0x4ea)],0x0,_0x5d349a);}[_0x19eb4e(0x407)](_0x545807,_0x45e0d3,_0x366a6a){const _0x3258b2=_0x19eb4e;this[_0x3258b2(0x548)][_0x3258b2(0x42d)](this[_0x3258b2(0x548)][_0x3258b2(0x260)],_0x545807),this['ctx']['enableVertexAttribArray'](_0x45e0d3),this[_0x3258b2(0x548)][_0x3258b2(0x303)](_0x45e0d3,_0x366a6a,this[_0x3258b2(0x548)][_0x3258b2(0x1ae)],![],0x0,0x0);}[_0x19eb4e(0x392)](){const _0x2234bd=_0x19eb4e;if(!this[_0x2234bd(0x501)]||!this[_0x2234bd(0x219)]||!this[_0x2234bd(0x1f8)]||!this[_0x2234bd(0x1cd)]){console['error'](_0x2234bd(0x205));return;}this[_0x2234bd(0x407)](this[_0x2234bd(0x501)],this[_0x2234bd(0x393)],0x2),this['setupBuffer'](this['seatsAvailabilityBuffer'],this['a_seatAvailability'],0x1),this[_0x2234bd(0x407)](this[_0x2234bd(0x1f8)],this[_0x2234bd(0x387)],0x1),this['setupBuffer'](this[_0x2234bd(0x1cd)],this[_0x2234bd(0x55d)],0x1);}[_0x19eb4e(0x353)](_0x5f46fa,_0x591ed6){const _0x4759fe=_0x19eb4e;this[_0x4759fe(0x548)][_0x4759fe(0x3c9)](this[_0x4759fe(0x40c)],_0x5f46fa),this['ctx'][_0x4759fe(0x479)](this[_0x4759fe(0x477)],[_0x591ed6['x'],_0x591ed6['y']]),this[_0x4759fe(0x548)][_0x4759fe(0x3c9)](this['stageWidthUniform'],this[_0x4759fe(0x3d1)]*dpr3),this[_0x4759fe(0x548)][_0x4759fe(0x3c9)](this[_0x4759fe(0x1b2)],this[_0x4759fe(0x51f)]*dpr3),this[_0x4759fe(0x548)][_0x4759fe(0x3c9)](this[_0x4759fe(0x285)],dpr3);}['setupBlending'](){const _0x588e8c=_0x19eb4e;this[_0x588e8c(0x548)][_0x588e8c(0x4a6)](this[_0x588e8c(0x548)][_0x588e8c(0x21f)]),this['ctx']['blendFunc'](this['ctx'][_0x588e8c(0x474)],this[_0x588e8c(0x548)]['ONE_MINUS_SRC_ALPHA']);}[_0x19eb4e(0x530)](_0x373b09,_0x18f0fe){const _0x452494=_0x19eb4e;this[_0x452494(0x548)]['useProgram'](this[_0x452494(0x46e)]),this[_0x452494(0x548)][_0x452494(0x4f3)](this[_0x452494(0x548)][_0x452494(0x3de)]),this[_0x452494(0x548)][_0x452494(0x2d4)](this[_0x452494(0x548)][_0x452494(0x2e9)],this[_0x452494(0x55a)]),this[_0x452494(0x548)][_0x452494(0x42d)](this[_0x452494(0x548)][_0x452494(0x260)],this[_0x452494(0x545)]),this['ctx'][_0x452494(0x4da)](this[_0x452494(0x4cb)]);if(this[_0x452494(0x365)])setRectangle(this[_0x452494(0x548)],0x0,0x0,this[_0x452494(0x365)][_0x452494(0x3d1)],this[_0x452494(0x365)][_0x452494(0x51f)]);this[_0x452494(0x548)][_0x452494(0x303)](this[_0x452494(0x4cb)],0x2,this[_0x452494(0x548)][_0x452494(0x1ae)],![],0x0,0x0),this[_0x452494(0x548)][_0x452494(0x42d)](this['ctx'][_0x452494(0x260)],this[_0x452494(0x44f)]),this['ctx'][_0x452494(0x4da)](this[_0x452494(0x293)]),this[_0x452494(0x548)][_0x452494(0x303)](this[_0x452494(0x293)],0x2,this[_0x452494(0x548)][_0x452494(0x1ae)],![],0x0,0x0),this[_0x452494(0x548)]['uniform2f'](this['resolutionLocation'],this[_0x452494(0x548)][_0x452494(0x4db)][_0x452494(0x3d1)],this[_0x452494(0x548)]['canvas'][_0x452494(0x51f)]),this[_0x452494(0x548)][_0x452494(0x3c9)](this[_0x452494(0x3f2)],_0x373b09),this[_0x452494(0x548)][_0x452494(0x305)](this[_0x452494(0x300)],_0x18f0fe['x'],_0x18f0fe['y']),this['ctx'][_0x452494(0x4f6)](this['ctx'][_0x452494(0x3b2)],0x0,0x6);}['renderContent'](){}static[_0x19eb4e(0x425)](){const _0x2e0dd1=_0x19eb4e;if(!window['WebGLRenderingContext'])return![];try{const _0x549427=document[_0x2e0dd1(0x231)]('canvas');return Boolean(_0x549427[_0x2e0dd1(0x415)](_0x2e0dd1(0x276)));}catch(_0x1a8e70){return![];}}},defaultZoomSettings={'presets':[0.5,0x1,0x2],'maxZoomToFitScale':0x1,'minPinchZoom':0.5,'maxPinchZoom':0x2},isObject=_0x2fa955=>_0x2fa955!==null&&typeof _0x2fa955==='object'&&!Array[_0x19eb4e(0x550)](_0x2fa955),deepMerge=(_0x3aae10,_0xf9d1ed)=>{const _0x1fda1b={..._0x3aae10};for(const _0x5a5b07 in _0xf9d1ed){if(_0xf9d1ed['hasOwnProperty'](_0x5a5b07)){const _0x52de20=_0x5a5b07,_0x44bf48=_0x3aae10[_0x52de20],_0x58b7fe=_0xf9d1ed[_0x52de20];isObject(_0x44bf48)&&isObject(_0x58b7fe)?_0x1fda1b[_0x52de20]=deepMerge(_0x44bf48,_0x58b7fe):_0x1fda1b[_0x52de20]=_0x58b7fe?_0x58b7fe:_0x44bf48;}}return _0x1fda1b;},mergeTheme=(_0x414465,_0x1bb1fc)=>{const _0x271d6c=_0x19eb4e;if(!_0x414465&&!_0x1bb1fc)return;if(_0x414465&&_0x1bb1fc){const _0x22ee76={..._0x414465};return _0x1bb1fc['bgColor']&&(_0x22ee76['bgColor']=_0x1bb1fc[_0x271d6c(0x253)]),_0x1bb1fc[_0x271d6c(0x3a4)]&&(_0x22ee76[_0x271d6c(0x3a4)]=_0x1bb1fc[_0x271d6c(0x3a4)]),_0x1bb1fc[_0x271d6c(0x48b)]&&(_0x22ee76[_0x271d6c(0x48b)]=_0x1bb1fc[_0x271d6c(0x48b)]),_0x1bb1fc[_0x271d6c(0x216)]&&(_0x22ee76[_0x271d6c(0x216)]=_0x1bb1fc[_0x271d6c(0x216)]),_0x1bb1fc['colorCategories']&&(_0x22ee76['colorCategories']=_0x1bb1fc['colorCategories']),_0x1bb1fc[_0x271d6c(0x4ce)]&&(_0x22ee76[_0x271d6c(0x4ce)]=deepMerge(_0x414465[_0x271d6c(0x4ce)]||{},_0x1bb1fc[_0x271d6c(0x4ce)])),_0x1bb1fc[_0x271d6c(0x379)]&&(_0x22ee76[_0x271d6c(0x379)]=deepMerge(_0x414465[_0x271d6c(0x379)]||{},_0x1bb1fc[_0x271d6c(0x379)])),_0x22ee76;}if(_0x1bb1fc)return _0x1bb1fc;return _0x414465;},mergeSettings=(_0x31f57e,_0x4c27b2)=>{const _0x3a2996=_0x19eb4e,_0x32a72a=Object[_0x3a2996(0x2c0)]({},_0x31f57e,_0x4c27b2);return _0x32a72a[_0x3a2996(0x23b)]=mergeTheme(_0x31f57e[_0x3a2996(0x23b)],_0x4c27b2==null?void 0x0:_0x4c27b2[_0x3a2996(0x23b)]),_0x31f57e['visibilitySettings']&&(_0x4c27b2==null?void 0x0:_0x4c27b2['visibilitySettings'])&&(_0x32a72a[_0x3a2996(0x34b)]=deepMerge(_0x31f57e['visibilitySettings'],_0x4c27b2==null?void 0x0:_0x4c27b2[_0x3a2996(0x34b)])),_0x31f57e[_0x3a2996(0x3ad)]&&(_0x4c27b2==null?void 0x0:_0x4c27b2['zoomSettings'])?_0x32a72a[_0x3a2996(0x3ad)]=deepMerge(_0x31f57e[_0x3a2996(0x3ad)],_0x4c27b2==null?void 0x0:_0x4c27b2[_0x3a2996(0x3ad)]):_0x32a72a[_0x3a2996(0x3ad)]=defaultZoomSettings,_0x32a72a;};!window[_0x19eb4e(0x297)]&&(window[_0x19eb4e(0x297)]=window[_0x19eb4e(0x21e)]);var DPR2=window['devicePixelRatio'],isSafari=/^((?!chrome|android).)*safari/i[_0x19eb4e(0x40d)](navigator[_0x19eb4e(0x1d4)]),paddingSetting=0.5,emptyPaddingSettings=0x0,Renderer=class{constructor(_0x5a2ffb,_0x27c71a,_0x4d7bcb){const _0xcff973=_0x19eb4e;this[_0xcff973(0x4c0)]=![],this[_0xcff973(0x20d)]=!![],this[_0xcff973(0x4c5)]=![],this[_0xcff973(0x325)]=![],this[_0xcff973(0x359)]={},this['handleTouchStart']=()=>{this['isTouchMode']=!![];},this[_0xcff973(0x560)]=_0x2223c3=>{const _0x2d30cf=_0xcff973;_0x2223c3&&this[_0x2d30cf(0x412)]['settings'][_0x2d30cf(0x236)]&&this[_0x2d30cf(0x412)][_0x2d30cf(0x438)][_0x2d30cf(0x236)](_0x2223c3);},this[_0xcff973(0x540)]=_0x41053e=>{const _0x52c44e=_0xcff973;this[_0x52c44e(0x301)]['send'](_0x41053e);},this[_0xcff973(0x3b9)]=_0x2fa0ca=>{const _0x152b8e=_0xcff973;this['doTranslate']({'x':_0x2fa0ca[_0x152b8e(0x209)]['x']*DPR2,'y':_0x2fa0ca['delta']['y']*DPR2},_0x2fa0ca['isFinish']),this[_0x152b8e(0x412)][_0x152b8e(0x438)][_0x152b8e(0x30b)]&&this['context']['settings'][_0x152b8e(0x30b)](_0x2fa0ca[_0x152b8e(0x209)],_0x2fa0ca[_0x152b8e(0x1d2)]);},this[_0xcff973(0x2e6)]=_0x302b5b=>{const _0x453352=_0xcff973,_0x50ab9d=window[_0x453352(0x1cf)],_0x5a1dea={'x':(_0x302b5b[_0x453352(0x369)]['x']*_0x50ab9d-this['context'][_0x453352(0x390)]['x'])/this[_0x453352(0x412)]['scale'],'y':(_0x302b5b[_0x453352(0x369)]['y']*_0x50ab9d-this['context'][_0x453352(0x390)]['y'])/this[_0x453352(0x412)][_0x453352(0x4b7)],'width':_0x302b5b['rect'][_0x453352(0x3d1)]/this[_0x453352(0x412)]['scale']*_0x50ab9d,'height':_0x302b5b[_0x453352(0x369)]['height']/this[_0x453352(0x412)][_0x453352(0x4b7)]*_0x50ab9d};_0x302b5b[_0x453352(0x4d7)]?this['context'][_0x453352(0x388)](_0x5a1dea,_0x302b5b['selectMode']):this[_0x453352(0x412)][_0x453352(0x2e5)](_0x5a1dea,_0x302b5b[_0x453352(0x2b7)]);_0x302b5b[_0x453352(0x411)]&&this[_0x453352(0x406)][_0x453352(0x514)]();if(_0x302b5b[_0x453352(0x1d2)]){this[_0x453352(0x363)][_0x453352(0x52d)](),this[_0x453352(0x406)][_0x453352(0x428)]();this[_0x453352(0x412)][_0x453352(0x438)][_0x453352(0x3d9)]&&this[_0x453352(0x412)][_0x453352(0x438)][_0x453352(0x3d9)]();const _0x238d25=this[_0x453352(0x412)][_0x453352(0x2fe)],_0x361874=this['context'][_0x453352(0x29e)][_0x453352(0x33f)](_0x4e9565=>_0x238d25[_0x453352(0x4e4)](_0x4e9565['id']));this[_0x453352(0x412)]['settings']['onSeatsSelectionChange']&&this['context'][_0x453352(0x438)][_0x453352(0x31d)](_0x361874),this[_0x453352(0x412)]['settings'][_0x453352(0x229)]&&this[_0x453352(0x412)][_0x453352(0x438)][_0x453352(0x229)](_0x361874);}else this['selectionLayer'][_0x453352(0x1d1)](_0x5a1dea);},this[_0xcff973(0x23c)]=_0xe1a0c7=>{const _0x149030=_0xcff973;if(this[_0x149030(0x412)][_0x149030(0x2fe)][_0x149030(0x362)]===0x0)return;const _0x5c9f53=this['context'][_0x149030(0x2fe)];this[_0x149030(0x412)][_0x149030(0x2fe)]=[],this[_0x149030(0x363)][_0x149030(0x523)]();this['context'][_0x149030(0x438)][_0x149030(0x3d9)]&&this[_0x149030(0x412)][_0x149030(0x438)]['onSeatSelectionChange']();const _0x44e5fb=this[_0x149030(0x412)]['seats'][_0x149030(0x33f)](_0x70daa5=>_0x5c9f53[_0x149030(0x4e4)](_0x70daa5['id']));this[_0x149030(0x412)]['settings'][_0x149030(0x31d)]&&this[_0x149030(0x412)][_0x149030(0x438)][_0x149030(0x31d)](_0x44e5fb),this[_0x149030(0x412)][_0x149030(0x438)][_0x149030(0x3b1)]&&this[_0x149030(0x412)][_0x149030(0x438)][_0x149030(0x3b1)](_0x44e5fb);},this[_0xcff973(0x4a2)]=_0x58d66c=>{const _0x14a844=_0xcff973;this[_0x14a844(0x1d8)]((_0x58d66c[_0x14a844(0x4b7)]||0x1)*DPR2,_0x58d66c[_0x14a844(0x226)]);},this[_0xcff973(0x2d6)]=({seat:_0x3e7b69,isRowsMode:_0x53315f,selectMode:_0x426cd3})=>{const _0xfeb345=_0xcff973;_0x53315f?this[_0xfeb345(0x412)][_0xfeb345(0x46a)]((this['context'][_0xfeb345(0x4c9)][_0x3e7b69[_0xfeb345(0x54c)]]||[])[_0xfeb345(0x210)](_0x58d462=>_0x58d462['id']),_0x426cd3):this[_0xfeb345(0x412)][_0xfeb345(0x46a)]([_0x3e7b69['id']],_0x426cd3),this[_0xfeb345(0x363)]['redraw'](),this[_0xfeb345(0x412)][_0xfeb345(0x438)]['onSeatSelectionChange']&&this[_0xfeb345(0x412)][_0xfeb345(0x438)][_0xfeb345(0x3d9)](),this[_0xfeb345(0x412)][_0xfeb345(0x438)]['onSeatsSelect']&&this['context'][_0xfeb345(0x438)][_0xfeb345(0x229)](_0x53315f?this[_0xfeb345(0x412)]['seatsByRowId'][_0x3e7b69[_0xfeb345(0x54c)]]:[_0x3e7b69]),this[_0xfeb345(0x412)][_0xfeb345(0x438)][_0xfeb345(0x31d)]&&this[_0xfeb345(0x412)][_0xfeb345(0x438)][_0xfeb345(0x31d)](_0x53315f?this[_0xfeb345(0x412)][_0xfeb345(0x4c9)][_0x3e7b69[_0xfeb345(0x54c)]]:[_0x3e7b69]);},this[_0xcff973(0x4d4)]=async({seat:_0x1c4538})=>{const _0x116e87=_0xcff973;var _0x47bfd3,_0x18e24e,_0x1385fe,_0x39769e,_0x2478fb,_0x5f0d4d;if(_0x1c4538[_0x116e87(0x2af)])return;const _0x2111e8=this[_0x116e87(0x412)][_0x116e87(0x2be)](),_0x2cc609=this[_0x116e87(0x25c)](_0x1c4538),_0x2b1bc0=!this[_0x116e87(0x412)]['isSeatInCart'](_0x1c4538['id']),_0x3a9ef5=this['context']['settings'][_0x116e87(0x3fc)];if(_0x3a9ef5&&_0x3a9ef5>0x1){this[_0x116e87(0x4f2)]();const _0x1bdeac=this[_0x116e87(0x23a)](_0x2cc609['id'],_0x3a9ef5);_0x1bdeac?_0x1bdeac[_0x116e87(0x4b5)](_0x28fe20=>this[_0x116e87(0x412)][_0x116e87(0x4fc)](_0x28fe20['id'])):this[_0x116e87(0x412)][_0x116e87(0x4f8)](void 0x0);this[_0x116e87(0x412)][_0x116e87(0x438)][_0x116e87(0x289)]&&this[_0x116e87(0x412)]['settings'][_0x116e87(0x289)](this[_0x116e87(0x412)][_0x116e87(0x2be)](),_0x2111e8);this[_0x116e87(0x363)]['redraw']();return;}try{_0x1c4538['state']=_0x116e87(0x512),this['redraw']();const _0x3666e6=_0x2b1bc0?await((_0x1385fe=(_0x18e24e=(_0x47bfd3=this[_0x116e87(0x412)]['settings'])[_0x116e87(0x394)])==null?void 0x0:_0x18e24e[_0x116e87(0x279)](_0x47bfd3,_0x2cc609))!=null?_0x1385fe:Promise[_0x116e87(0x1dc)](!![])):await((_0x5f0d4d=(_0x2478fb=(_0x39769e=this[_0x116e87(0x412)]['settings'])[_0x116e87(0x4e7)])==null?void 0x0:_0x2478fb[_0x116e87(0x279)](_0x39769e,_0x2cc609))!=null?_0x5f0d4d:Promise['resolve'](!![]));if(_0x3666e6===![]){_0x1c4538[_0x116e87(0x2f1)]=_0x116e87(0x265),this[_0x116e87(0x523)]();const _0x5cb8a3=this[_0x116e87(0x301)]['context']['hovered'];(_0x5cb8a3==null?void 0x0:_0x5cb8a3['targetType'])==='seat'&&(_0x5cb8a3==null?void 0x0:_0x5cb8a3['id'])===_0x1c4538['id']&&this['context'][_0x116e87(0x4f8)](void 0x0);setTimeout(()=>{const _0x20c0d4=_0x116e87;_0x1c4538[_0x20c0d4(0x2f1)]='default',this[_0x20c0d4(0x523)]();},0xbb8);return;}this[_0x116e87(0x2c5)]instanceof HTMLCanvasLayer&&this['stageLayer'][_0x116e87(0x565)](_0x1c4538['id']['toString']());_0x2b1bc0?(this['context'][_0x116e87(0x4fc)](_0x1c4538['id']),_0x1c4538[_0x116e87(0x2f1)]=_0x116e87(0x2d8)):(this[_0x116e87(0x412)][_0x116e87(0x2ab)](_0x1c4538['id']),_0x1c4538['state']=_0x116e87(0x23d));this[_0x116e87(0x412)][_0x116e87(0x438)][_0x116e87(0x289)]&&this[_0x116e87(0x412)][_0x116e87(0x438)]['onCartChange'](this[_0x116e87(0x412)]['getCart'](),_0x2111e8);const _0x562c42=this['service']['context'][_0x116e87(0x1f7)];!_0x2b1bc0&&(_0x562c42==null?void 0x0:_0x562c42['targetType'])===_0x116e87(0x3e7)&&(_0x562c42==null?void 0x0:_0x562c42['id'])===_0x1c4538['id']&&this[_0x116e87(0x412)]['setHovered'](void 0x0);}catch(_0x3cfa96){console[_0x116e87(0x265)](_0x116e87(0x232),_0x3cfa96),_0x1c4538[_0x116e87(0x2f1)]=_0x116e87(0x265),this[_0x116e87(0x523)]();}this[_0x116e87(0x523)]();},this['handleDestSectionClick']=async({section:_0x289ec3})=>{const _0x40c9e4=_0xcff973;if(!_0x289ec3['id'])return;if(this[_0x40c9e4(0x412)][_0x40c9e4(0x1ea)][_0x289ec3['id']][_0x40c9e4(0x34e)]||this['context']['sectionsById'][_0x289ec3['id']]['filtered'])return;!this['context'][_0x40c9e4(0x438)][_0x40c9e4(0x3bd)]&&(this[_0x40c9e4(0x412)]['cart']['ga']['find'](_0x5eb312=>_0x5eb312[_0x40c9e4(0x3c6)]===_0x289ec3['id'])?this['removeGaFromCart']({'sectorId':_0x289ec3['id']}):this[_0x40c9e4(0x22d)]({'sectorId':_0x289ec3['id'],'key':_0x289ec3[_0x40c9e4(0x556)],'count':0x1,'price':_0x289ec3[_0x40c9e4(0x22f)]})),this[_0x40c9e4(0x412)]['sectionsById'][_0x289ec3['id']][_0x40c9e4(0x2d8)]?(this[_0x40c9e4(0x386)](),this[_0x40c9e4(0x412)][_0x40c9e4(0x1ea)][_0x289ec3['id']][_0x40c9e4(0x2d8)]=![]):(this[_0x40c9e4(0x386)](_0x289ec3['id']),this[_0x40c9e4(0x412)]['sectionsById'][_0x289ec3['id']]['selected']=!![]),this[_0x40c9e4(0x412)][_0x40c9e4(0x438)][_0x40c9e4(0x374)]&&this['context'][_0x40c9e4(0x438)]['onSectorClick'](_0x289ec3),this[_0x40c9e4(0x412)][_0x40c9e4(0x438)][_0x40c9e4(0x41e)]&&this[_0x40c9e4(0x412)]['settings'][_0x40c9e4(0x41e)](_0x289ec3);},this['handlePinch']=_0x584380=>{const _0x5e461f=_0xcff973,_0x245cd3=this[_0x5e461f(0x1bf)](_0x584380[_0x5e461f(0x4b7)]);if(_0x584380['type']===_0x5e461f(0x313))this['pinchStartPoint']={..._0x584380[_0x5e461f(0x274)]},this[_0x5e461f(0x450)]['get'](_0x5e461f(0x43d))['set']({'enable':![]});else{if(_0x584380[_0x5e461f(0x4c3)]===_0x5e461f(0x2c7))this[_0x5e461f(0x412)][_0x5e461f(0x390)]=this[_0x5e461f(0x2fc)](_0x245cd3,this[_0x5e461f(0x3ae)],{'x':_0x584380[_0x5e461f(0x2eb)],'y':_0x584380[_0x5e461f(0x4ca)]}),this[_0x5e461f(0x2ae)](this[_0x5e461f(0x412)]['scale']*_0x245cd3),this[_0x5e461f(0x3ae)]=void 0x0,this['redraw'](),this[_0x5e461f(0x412)][_0x5e461f(0x438)][_0x5e461f(0x1da)]&&this[_0x5e461f(0x412)][_0x5e461f(0x438)][_0x5e461f(0x1da)](this[_0x5e461f(0x412)][_0x5e461f(0x4b7)]),window['setTimeout'](()=>this[_0x5e461f(0x450)][_0x5e461f(0x2a0)](_0x5e461f(0x43d))[_0x5e461f(0x533)]({'enable':!![]}),0x64);else{const _0x5a8424=this[_0x5e461f(0x356)](_0x245cd3,this[_0x5e461f(0x3ae)],{'x':_0x584380[_0x5e461f(0x2eb)],'y':_0x584380[_0x5e461f(0x4ca)]});this['cachedDraw'](_0x245cd3,_0x5a8424);}}},this[_0xcff973(0x343)]=_0x1c44a6=>{const _0x3bf1ce=_0xcff973,_0x2989de=this[_0x3bf1ce(0x25c)](_0x1c44a6[_0x3bf1ce(0x3e7)]);this[_0x3bf1ce(0x412)][_0x3bf1ce(0x438)][_0x3bf1ce(0x2b3)]&&this[_0x3bf1ce(0x412)]['settings'][_0x3bf1ce(0x2b3)](_0x2989de),this[_0x3bf1ce(0x412)][_0x3bf1ce(0x438)]['onSeatDebouncedEnter']&&this[_0x3bf1ce(0x560)](_0x2989de),this[_0x3bf1ce(0x412)][_0x3bf1ce(0x4f8)](_0x1c44a6['seat'],_0x1c44a6[_0x3bf1ce(0x4d7)]),this['context'][_0x3bf1ce(0x1b7)]['style'][_0x3bf1ce(0x1e5)]=_0x3bf1ce(0x507),this['selectionLayer'][_0x3bf1ce(0x523)]();},this[_0xcff973(0x50e)]=_0x41781c=>{const _0x42c0cc=_0xcff973;this[_0x42c0cc(0x406)][_0x42c0cc(0x39a)](),this[_0x42c0cc(0x406)][_0x42c0cc(0x44b)](),this['context']['settings']['onSectorMouseEnter']&&this[_0x42c0cc(0x412)]['settings'][_0x42c0cc(0x3a5)](_0x41781c[_0x42c0cc(0x48d)]),this[_0x42c0cc(0x412)]['element'][_0x42c0cc(0x2a3)][_0x42c0cc(0x1e5)]=_0x42c0cc(0x507),this[_0x42c0cc(0x363)][_0x42c0cc(0x523)]();},this[_0xcff973(0x233)]=_0x147ca8=>{const _0x1cb0e7=_0xcff973;this[_0x1cb0e7(0x412)]['settings'][_0x1cb0e7(0x454)]&&this[_0x1cb0e7(0x412)][_0x1cb0e7(0x438)]['onSeatMouseLeave'](),this[_0x1cb0e7(0x412)][_0x1cb0e7(0x4f8)](void 0x0),this['context'][_0x1cb0e7(0x1b7)][_0x1cb0e7(0x2a3)]['cursor']=_0x1cb0e7(0x23d),this['selectionLayer'][_0x1cb0e7(0x523)]();},this[_0xcff973(0x519)]=_0x3652df=>{const _0x22f85e=_0xcff973;this['context'][_0x22f85e(0x438)]['onSectorMouseLeave']&&this[_0x22f85e(0x412)]['settings'][_0x22f85e(0x36e)](),this[_0x22f85e(0x412)][_0x22f85e(0x1b7)][_0x22f85e(0x2a3)][_0x22f85e(0x1e5)]=_0x22f85e(0x23d),this[_0x22f85e(0x363)][_0x22f85e(0x523)]();},this[_0xcff973(0x2e7)]=_0x48a021=>{const _0x5b0cf4=_0xcff973;_0x48a021[_0x5b0cf4(0x467)]();if(_0x48a021[_0x5b0cf4(0x4b2)]||this[_0x5b0cf4(0x4c0)]||!_0x48a021[_0x5b0cf4(0x32b)])return;let _0x5ce7f1;if(isGaOutline(_0x48a021[_0x5b0cf4(0x32b)]))_0x5ce7f1=this[_0x5b0cf4(0x2df)](_0x48a021['target']);else isSectionOutline(_0x48a021[_0x5b0cf4(0x32b)])&&(_0x5ce7f1=this[_0x5b0cf4(0x2e2)](_0x48a021['target']));const _0x1e49c4={'x':_0x48a021[_0x5b0cf4(0x53d)],'y':_0x48a021['offsetY']};let _0x3d87e5=this[_0x5b0cf4(0x412)][_0x5b0cf4(0x1f2)](_0x1e49c4);if(!_0x3d87e5&&isSafari){const _0x45a236={'x':_0x48a021['pageX'],'y':_0x48a021[_0x5b0cf4(0x534)]};_0x3d87e5=this['context'][_0x5b0cf4(0x1f2)](_0x45a236);}this[_0x5b0cf4(0x540)]({'type':_0x5b0cf4(0x405),'target':_0x48a021[_0x5b0cf4(0x32b)],'seat':_0x3d87e5,'section':_0x5ce7f1});},this[_0xcff973(0x373)]=_0x26aaeb=>{const _0x47ad23=_0xcff973;if(_0x26aaeb[_0x47ad23(0x4b2)]||this[_0x47ad23(0x4c0)])return;this[_0x47ad23(0x540)]({'type':'srcMouseMove','target':_0x26aaeb[_0x47ad23(0x32b)]});},this[_0xcff973(0x563)]=()=>{const _0x3d1310=_0xcff973;window[_0x3d1310(0x39e)](this['resizeTimer']),this[_0x3d1310(0x26e)]=window['setTimeout'](this[_0x3d1310(0x423)],0xfa);},this[_0xcff973(0x423)]=()=>{const _0x36bbe6=_0xcff973,_0x176647=this[_0x36bbe6(0x3d1)],_0x5d0aa7=this[_0x36bbe6(0x51f)],_0x21cf65=getOffset(this[_0x36bbe6(0x412)][_0x36bbe6(0x1b7)]);this[_0x36bbe6(0x3d1)]=this['context']['element'][_0x36bbe6(0x4af)],this['height']=this[_0x36bbe6(0x412)]['settings'][_0x36bbe6(0x51f)]||window['innerHeight']-_0x21cf65['top'],this[_0x36bbe6(0x412)]['element'][_0x36bbe6(0x2a3)][_0x36bbe6(0x51f)]=this[_0x36bbe6(0x51f)]+'px';const _0x1ce5c1=_0x176647!==this[_0x36bbe6(0x3d1)]||_0x5d0aa7!==this[_0x36bbe6(0x51f)];if(_0x176647&&_0x5d0aa7&&_0x1ce5c1){const _0x5b0f05={'x':Math[_0x36bbe6(0x2bb)]((this['width']-_0x176647)/0x2*DPR2),'y':Math[_0x36bbe6(0x2bb)]((this[_0x36bbe6(0x51f)]-_0x5d0aa7)/0x2*DPR2)};this['context'][_0x36bbe6(0x390)]=addPoints(this['context'][_0x36bbe6(0x390)],_0x5b0f05);}if(_0x1ce5c1){if(this[_0x36bbe6(0x2c5)])this[_0x36bbe6(0x2c5)][_0x36bbe6(0x423)]();if(this[_0x36bbe6(0x363)])this[_0x36bbe6(0x363)][_0x36bbe6(0x423)]();if(this['outlineLayer'])this[_0x36bbe6(0x406)][_0x36bbe6(0x423)]();}},this[_0xcff973(0x345)]=_0x4a5b69=>{const _0x141817=_0xcff973;if(!this[_0x141817(0x35b)])return;if(!this[_0x141817(0x35b)][_0x141817(0x390)])return;if(!this[_0x141817(0x35b)][_0x141817(0x1df)])return;if(!this[_0x141817(0x35b)][_0x141817(0x366)])this['animation'][_0x141817(0x366)]=_0x4a5b69;if(_0x4a5b69-this[_0x141817(0x35b)][_0x141817(0x366)]>this[_0x141817(0x35b)]['duration'])this['service']['send'](_0x141817(0x49b)),this[_0x141817(0x412)][_0x141817(0x390)]=this[_0x141817(0x35b)]['toTranslate'],cancelAnimationFrame(this['animation'][_0x141817(0x266)]),this[_0x141817(0x35b)]=void 0x0,this[_0x141817(0x523)]();else{const _0x355cb3=Math[_0x141817(0x290)](0x1,(_0x4a5b69-this[_0x141817(0x35b)][_0x141817(0x366)])/this['animation'][_0x141817(0x453)]),_0x28753b=cubicInOut(_0x355cb3),_0x3e0aa0={'x':this[_0x141817(0x35b)][_0x141817(0x390)]['x']+(this['animation']['toTranslate']['x']-this[_0x141817(0x35b)][_0x141817(0x1df)]['x'])*_0x28753b,'y':this[_0x141817(0x35b)][_0x141817(0x390)]['y']+(this['animation'][_0x141817(0x1fb)]['y']-this[_0x141817(0x35b)]['fromTranslate']['y'])*_0x28753b};this['cachedDraw'](this['animation'][_0x141817(0x4fa)],_0x3e0aa0),this[_0x141817(0x35b)]['frame']=requestAnimationFrame(this[_0x141817(0x345)]);}},this[_0xcff973(0x3fa)]=_0x5051e5=>{const _0x40c985=_0xcff973;if(!this[_0x40c985(0x35b)])return;if(!this[_0x40c985(0x35b)][_0x40c985(0x430)])return;if(!this['animation']['startTime'])this[_0x40c985(0x35b)][_0x40c985(0x366)]=_0x5051e5;if(_0x5051e5-this['animation']['startTime']>this[_0x40c985(0x35b)][_0x40c985(0x453)])this[_0x40c985(0x301)][_0x40c985(0x259)]('animateend'),this[_0x40c985(0x2ae)](this[_0x40c985(0x35b)][_0x40c985(0x4fa)]),this[_0x40c985(0x412)][_0x40c985(0x390)]=this[_0x40c985(0x35b)]['toTranslate'],cancelAnimationFrame(this[_0x40c985(0x35b)][_0x40c985(0x266)]),this[_0x40c985(0x412)][_0x40c985(0x438)][_0x40c985(0x1da)]&&this[_0x40c985(0x412)]['settings'][_0x40c985(0x1da)](this[_0x40c985(0x35b)][_0x40c985(0x4fa)],this[_0x40c985(0x35b)]['fromScale']),this['animation']=void 0x0,this[_0x40c985(0x523)]();else{const _0x5b40c9=Math['min'](0x1,(_0x5051e5-this[_0x40c985(0x35b)]['startTime'])/this['animation'][_0x40c985(0x453)]),_0x348c92=cubicInOut(_0x5b40c9),_0xe306de=0x1+(this[_0x40c985(0x35b)]['toScale']/this[_0x40c985(0x35b)][_0x40c985(0x4dd)]-0x1)*_0x348c92,_0x4fa364={'x':this[_0x40c985(0x35b)]['relativeTranslate']['x']*_0x348c92,'y':this[_0x40c985(0x35b)][_0x40c985(0x430)]['y']*_0x348c92};this['cachedDraw'](_0xe306de,_0x4fa364),this[_0x40c985(0x35b)][_0x40c985(0x266)]=requestAnimationFrame(this[_0x40c985(0x3fa)]);}},this['doTranslate']=(_0x2eb57e,_0x110a1a)=>{const _0x54b0c2=_0xcff973;this['cachedDraw'](0x1,_0x2eb57e);if(_0x110a1a){const _0x320a58=addPoints(this[_0x54b0c2(0x412)]['translate'],_0x2eb57e),_0x47449a=this[_0x54b0c2(0x277)](_0x320a58);_0x320a58['y']!==_0x47449a['y']||_0x320a58['x']!==_0x47449a['x']?this[_0x54b0c2(0x4d8)](_0x2eb57e,_0x320a58,_0x47449a):(this['context']['translate']=_0x320a58,this[_0x54b0c2(0x523)]());}},this[_0xcff973(0x25c)]=_0x1c9969=>{const _0x3f1b0b=_0xcff973;return this['context'][_0x3f1b0b(0x25c)](_0x1c9969);},_0x5a2ffb[_0xcff973(0x2a3)][_0xcff973(0x1e7)]=_0x4d7bcb[_0xcff973(0x23b)][_0xcff973(0x253)],_0x5a2ffb[_0xcff973(0x2a3)][_0xcff973(0x28f)]='hidden',_0x5a2ffb[_0xcff973(0x2a3)][_0xcff973(0x328)]='relative',this[_0xcff973(0x412)]=new Context(_0x5a2ffb,_0x4d7bcb,()=>this[_0xcff973(0x363)][_0xcff973(0x523)]()),this[_0xcff973(0x423)](),this[_0xcff973(0x2c5)]=this[_0xcff973(0x1e8)](),this['selectionLayer']=new SelectionLayer(this['context']),this[_0xcff973(0x535)]=new VisibilityManager(this[_0xcff973(0x412)]),this[_0xcff973(0x450)]=this[_0xcff973(0x35f)](_0x5a2ffb),this[_0xcff973(0x560)]=debounce(_0x4d7bcb[_0xcff973(0x20b)]||0x0,this[_0xcff973(0x560)]),this['service']=this[_0xcff973(0x2cc)](_0x27c71a),this[_0xcff973(0x3cd)]=_0x4d7bcb[_0xcff973(0x3cd)]||paddingSetting,this['disableZoomToEmptySpace']=_0x4d7bcb[_0xcff973(0x4c5)]||![],this[_0xcff973(0x325)]=_0x4d7bcb[_0xcff973(0x325)]||![];}[_0x19eb4e(0x4c8)](){const _0x52c474=_0x19eb4e;this['isRunning']=![],this['animation']&&(cancelAnimationFrame(this['animation'][_0x52c474(0x266)]),this[_0x52c474(0x301)]['send'](_0x52c474(0x49b))),window[_0x52c474(0x39e)](this[_0x52c474(0x26e)]),this[_0x52c474(0x412)][_0x52c474(0x1b7)][_0x52c474(0x4c4)](_0x52c474(0x4f7),this[_0x52c474(0x2e7)]),window[_0x52c474(0x4c4)](_0x52c474(0x4f7),this[_0x52c474(0x373)]),window[_0x52c474(0x4c4)](_0x52c474(0x294),this[_0x52c474(0x563)]),window[_0x52c474(0x4c4)](_0x52c474(0x1bc),this[_0x52c474(0x48c)]),this[_0x52c474(0x450)]['destroy'](),this[_0x52c474(0x2c5)][_0x52c474(0x4c8)](),this[_0x52c474(0x363)][_0x52c474(0x4c8)](),this[_0x52c474(0x412)][_0x52c474(0x4c8)](),this[_0x52c474(0x406)]&&this[_0x52c474(0x406)]['destroy']();}[_0x19eb4e(0x2f6)](){const _0x188f3f=_0x19eb4e;return this[_0x188f3f(0x3d1)];}[_0x19eb4e(0x22c)](){const _0x5cebeb=_0x19eb4e;return this[_0x5cebeb(0x51f)];}[_0x19eb4e(0x30f)](_0x5990bc){const _0x4f588a=_0x19eb4e;return this[_0x4f588a(0x520)]({'mode':_0x5990bc}),!![];}['getMode'](){const _0x5b1bd6=_0x19eb4e;return this[_0x5b1bd6(0x301)][_0x5b1bd6(0x412)][_0x5b1bd6(0x2ad)];}[_0x19eb4e(0x2d2)](_0x51041b){const _0x29d298=_0x19eb4e;this[_0x29d298(0x412)][_0x29d298(0x438)]['height']=_0x51041b,this[_0x29d298(0x423)]();}[_0x19eb4e(0x218)](_0x1ddac1){const _0x35c978=_0x19eb4e;this['context'][_0x35c978(0x438)][_0x35c978(0x3fc)]=_0x1ddac1;}[_0x19eb4e(0x237)](_0x1bad4f){const _0x15be69=_0x19eb4e;if(!_0x1bad4f[_0x15be69(0x362)])return[];let _0x4e96ee;if(typeof _0x1bad4f[0x0]===_0x15be69(0x223))_0x4e96ee=_0x1bad4f;else{if(typeof _0x1bad4f[0x0]===_0x15be69(0x339))_0x4e96ee=this[_0x15be69(0x4fb)](_0x1bad4f);else{if(typeof _0x1bad4f[0x0]===_0x15be69(0x489))_0x4e96ee=_0x1bad4f[_0x15be69(0x210)](_0x57e0fb=>_0x57e0fb['id']);else throw new Error(_0x15be69(0x34a));}}return _0x4e96ee;}['getMarkedSeatsIds'](){const _0x58adbe=_0x19eb4e;return this[_0x58adbe(0x412)][_0x58adbe(0x29e)][_0x58adbe(0x33f)](_0x3a9bcf=>_0x3a9bcf[_0x58adbe(0x284)])[_0x58adbe(0x210)](_0x21d103=>_0x21d103['id']);}['setSeatsCategory'](_0x31c5e4,_0x1b9564,_0x27cb88){const _0x40ea55=_0x19eb4e;if(!_0x31c5e4['length'])return;const _0x5c496d=this['getSeatIds'](_0x31c5e4);_0x31c5e4[0x0]&&(_0x5c496d[_0x40ea55(0x4b5)](_0x29fb10=>{const _0x57d2ca=_0x40ea55,_0x4ebf9c=this[_0x57d2ca(0x412)]['seatsById'][_0x29fb10];_0x4ebf9c&&(_0x4ebf9c[_0x57d2ca(0x1db)]?_0x4ebf9c[_0x57d2ca(0x1db)][_0x57d2ca(0x486)]=_0x1b9564:_0x4ebf9c[_0x57d2ca(0x1db)]={'category':_0x1b9564});}),this[_0x40ea55(0x412)][_0x40ea55(0x275)][_0x1b9564]=_0x27cb88),this[_0x40ea55(0x523)]();}[_0x19eb4e(0x326)](_0x2e993d,_0x357b2d){const _0xcd92b5=_0x19eb4e;_0x357b2d?this[_0xcd92b5(0x412)][_0xcd92b5(0x24c)][_0x2e993d]=_0x357b2d:delete this[_0xcd92b5(0x412)][_0xcd92b5(0x24c)][_0x2e993d],this[_0xcd92b5(0x523)]();}[_0x19eb4e(0x419)](){const _0x5d1add=_0x19eb4e;for(const _0xca71c1 of this['context']['seats']){if(_0xca71c1[_0x5d1add(0x1db)])delete _0xca71c1[_0x5d1add(0x1db)]['category'];}this[_0x5d1add(0x412)][_0x5d1add(0x24c)]={},this[_0x5d1add(0x412)][_0x5d1add(0x275)]={},this['redraw']();}[_0x19eb4e(0x264)](_0x75395b){const _0x38b159=_0x19eb4e;var _0x4b014d;if(this[_0x38b159(0x412)][_0x38b159(0x275)][_0x75395b])return this[_0x38b159(0x412)][_0x38b159(0x275)][_0x75395b];const _0x52572c=(_0x4b014d=this['context'][_0x38b159(0x438)][_0x38b159(0x23b)])==null?void 0x0:_0x4b014d[_0x38b159(0x27c)];if(!(_0x52572c==null?void 0x0:_0x52572c['length']))return;return _0x52572c[_0x75395b%_0x52572c[_0x38b159(0x362)]];}[_0x19eb4e(0x35f)](_0x189d67){const _0x424744=_0x19eb4e,_0x49ce92=new _0x264ea2(_0x189d67);return _0x49ce92['get'](_0x424744(0x43d))['set']({'direction':_0x264ea2[_0x424744(0x539)]}),_0x49ce92['get'](_0x424744(0x2c4))[_0x424744(0x533)]({'enable':!![]}),_0x49ce92[_0x424744(0x2a0)](_0x424744(0x320))[_0x424744(0x533)]({'enable':![]}),_0x49ce92[_0x424744(0x2a0)]('rotate')[_0x424744(0x533)]({'enable':![]}),_0x49ce92['get'](_0x424744(0x4f0))[_0x424744(0x533)]({'threshold':0x4}),_0x49ce92;}[_0x19eb4e(0x520)](_0x5ee39b){const _0x5a3056=_0x19eb4e;this[_0x5a3056(0x301)]['send']({'type':_0x5a3056(0x490),..._0x5ee39b});}[_0x19eb4e(0x2cc)](_0x4fb657){let _0x2acae1;return interpret(_0x4fb657,_0x57806f=>{const _0x333ca5=_0x2173;if(_0x57806f[_0x333ca5(0x412)]['events']===_0x2acae1)return;_0x2acae1=_0x57806f['context'][_0x333ca5(0x35a)],_0x57806f[_0x333ca5(0x412)][_0x333ca5(0x35a)][_0x333ca5(0x4b5)](_0x10f066=>{const _0x17e6eb=_0x333ca5;switch(_0x10f066[_0x17e6eb(0x4c3)]){case _0x17e6eb(0x54b):this[_0x17e6eb(0x3b9)](_0x10f066);break;case'destPanZoom':this['handleDestPanZoom'](_0x10f066);break;case'destSeatSelect':this[_0x17e6eb(0x2d6)](_0x10f066);break;case'destSeatCartSwitch':this[_0x17e6eb(0x4d4)](_0x10f066);break;case'destSectionClick':this[_0x17e6eb(0x40b)](_0x10f066);break;case _0x17e6eb(0x54a):this['handleDestSeatMouseEnter'](_0x10f066);break;case _0x17e6eb(0x242):this['handleDestSectionMouseEnter'](_0x10f066);break;case'destSeatMouseLeave':this[_0x17e6eb(0x233)](_0x10f066);break;case _0x17e6eb(0x2cb):this[_0x17e6eb(0x519)](_0x10f066);break;case'destRectSelect':this[_0x17e6eb(0x2e6)](_0x10f066);break;case _0x17e6eb(0x442):this[_0x17e6eb(0x23c)](_0x10f066);break;}});});}['setContextScale'](_0x3aa26e){const _0x409813=_0x19eb4e,_0x1f7795=this[_0x409813(0x535)][_0x409813(0x34c)](this['context'][_0x409813(0x4b7)]),_0x5036fd=this[_0x409813(0x535)][_0x409813(0x34c)](_0x3aa26e);this[_0x409813(0x412)][_0x409813(0x4b7)]=_0x3aa26e,this['context'][_0x409813(0x3ea)]=this['context'][_0x409813(0x4b7)]<(this[_0x409813(0x412)][_0x409813(0x438)][_0x409813(0x1ac)]||0x0)*DPR2,this['context'][_0x409813(0x402)]=this[_0x409813(0x535)][_0x409813(0x459)](_0x3aa26e),_0x1f7795!==_0x5036fd&&this[_0x409813(0x406)]&&this[_0x409813(0x406)][_0x409813(0x2c1)](_0x5036fd),this[_0x409813(0x520)]({'scale':_0x3aa26e/DPR2,'isEagleView':this[_0x409813(0x412)][_0x409813(0x3ea)],'visibility':this['context'][_0x409813(0x402)]});}[_0x19eb4e(0x31a)](){const _0x1e3372=_0x19eb4e;return sortPrices(Object[_0x1e3372(0x4ad)](this[_0x1e3372(0x412)][_0x1e3372(0x2a6)]));}['initCart'](_0x688c37){const _0x4d80bf=_0x19eb4e;if(!this[_0x4d80bf(0x20d)])return;this[_0x4d80bf(0x412)][_0x4d80bf(0x2f7)](_0x688c37),this[_0x4d80bf(0x412)][_0x4d80bf(0x438)][_0x4d80bf(0x289)]&&this['context'][_0x4d80bf(0x438)][_0x4d80bf(0x289)](this[_0x4d80bf(0x412)][_0x4d80bf(0x2be)]());}['clearCart'](){const _0x2b79c4=_0x19eb4e;this[_0x2b79c4(0x412)][_0x2b79c4(0x2f7)]({'seats':[],'ga':[]});}[_0x19eb4e(0x2be)](){const _0x2a421a=_0x19eb4e;return this[_0x2a421a(0x412)]['getCart']();}['addHandlers'](){const _0x3dfc4f=_0x19eb4e;window[_0x3dfc4f(0x2b9)](_0x3dfc4f(0x1bc),this[_0x3dfc4f(0x48c)]),window[_0x3dfc4f(0x2b9)](_0x3dfc4f(0x294),this[_0x3dfc4f(0x563)]),this['context']['element'][_0x3dfc4f(0x2b9)](_0x3dfc4f(0x4f7),this['handleMouseMove']);const _0x4f7ef4=_0x18c61e=>{const _0x6a8d1a=_0x3dfc4f,_0x128ae2=this['outlineLayer'][_0x6a8d1a(0x4cc)],_0x41b027=_0x128ae2[_0x6a8d1a(0x23f)]();return{'x':_0x18c61e[_0x6a8d1a(0x274)]['x']-_0x41b027[_0x6a8d1a(0x1c9)],'y':_0x18c61e[_0x6a8d1a(0x274)]['y']-_0x41b027['top']};},_0x2badf4=_0x489d80=>{const _0x3b283c=_0x3dfc4f,_0x2ef8fd=_0x4f7ef4(_0x489d80);return{'x':_0x2ef8fd['x']-_0x489d80[_0x3b283c(0x2eb)],'y':_0x2ef8fd['y']-_0x489d80[_0x3b283c(0x4ca)]};};this[_0x3dfc4f(0x450)]['on'](_0x3dfc4f(0x25d),_0x277ab5=>{const _0x5c7434=_0x3dfc4f;this[_0x5c7434(0x540)]({'type':_0x5c7434(0x3b4),'delta':{'x':_0x277ab5['deltaX'],'y':_0x277ab5[_0x5c7434(0x4ca)]},'origin':_0x2badf4(_0x277ab5),'shiftKey':_0x277ab5[_0x5c7434(0x3b0)]['shiftKey'],'altKey':_0x277ab5[_0x5c7434(0x3b0)][_0x5c7434(0x487)]});}),this[_0x3dfc4f(0x450)]['on'](_0x3dfc4f(0x1c1),_0x1f1f2d=>{const _0x38a92b=_0x3dfc4f;this[_0x38a92b(0x540)]({'type':_0x38a92b(0x354),'delta':{'x':_0x1f1f2d[_0x38a92b(0x2eb)],'y':_0x1f1f2d[_0x38a92b(0x4ca)]},'origin':_0x2badf4(_0x1f1f2d),'shiftKey':_0x1f1f2d['srcEvent']['shiftKey'],'altKey':_0x1f1f2d['srcEvent'][_0x38a92b(0x487)]});}),this[_0x3dfc4f(0x450)]['on']('panend',_0xee895c=>{const _0x48c293=_0x3dfc4f;this[_0x48c293(0x540)]({'type':_0x48c293(0x522),'delta':{'x':_0xee895c[_0x48c293(0x2eb)],'y':_0xee895c['deltaY']},'origin':_0x2badf4(_0xee895c),'shiftKey':_0xee895c[_0x48c293(0x3b0)][_0x48c293(0x28c)],'altKey':_0xee895c[_0x48c293(0x3b0)][_0x48c293(0x487)]});}),this[_0x3dfc4f(0x450)]['on'](_0x3dfc4f(0x4f0),_0x5c14f8=>{const _0x5c36de=_0x3dfc4f;var _0x29df95;const _0x35c025=_0x4f7ef4(_0x5c14f8),_0x458c8a=this[_0x5c36de(0x412)][_0x5c36de(0x1f2)](_0x35c025),_0x2946eb=(_0x29df95=_0x5c14f8[_0x5c36de(0x32b)][_0x5c36de(0x21c)])==null?void 0x0:_0x29df95[_0x5c36de(0x37e)](_0x5c36de(0x338)),_0x3f4377=!_0x458c8a&&!_0x2946eb;if(this[_0x5c36de(0x4c5)]&&_0x3f4377)return;this[_0x5c36de(0x540)]({'type':_0x5c36de(0x283),'target':_0x5c14f8['target'],'point':_0x35c025,'section':this['getGaSectionByOutline'](_0x5c14f8[_0x5c36de(0x32b)]),'seat':_0x458c8a,'shiftKey':_0x5c14f8[_0x5c36de(0x3b0)][_0x5c36de(0x28c)],'altKey':_0x5c14f8['srcEvent']['altKey']});}),this[_0x3dfc4f(0x450)]['on'](_0x3dfc4f(0x27d),this[_0x3dfc4f(0x466)]);}async['setSchemaData'](_0x42c8db){const _0x3cedf7=_0x19eb4e;var _0x8883d0,_0x30f3ee,_0x37fb79,_0x1a110a,_0x534ad4,_0x23f18a,_0x37bdaf,_0x543a1a;const _0x12cc62=(_0x8883d0=_0x42c8db[_0x3cedf7(0x1e7)])==null?void 0x0:_0x8883d0[_0x3cedf7(0x338)],_0x3bb355=(_0x30f3ee=_0x42c8db['background'])==null?void 0x0:_0x30f3ee['svgLink'],_0x5265ae=(_0x37fb79=_0x42c8db[_0x3cedf7(0x1e7)])==null?void 0x0:_0x37fb79['images'],_0x166885=(_0x1a110a=_0x42c8db[_0x3cedf7(0x1e7)])==null?void 0x0:_0x1a110a[_0x3cedf7(0x397)];this[_0x3cedf7(0x325)]&&!_0x5265ae&&(this['stageLayer']['destroy'](),this[_0x3cedf7(0x325)]=![],this[_0x3cedf7(0x412)][_0x3cedf7(0x438)][_0x3cedf7(0x325)]=![],this[_0x3cedf7(0x2c5)]=this[_0x3cedf7(0x1e8)](),console['warn'](_0x3cedf7(0x3ca)));this['context'][_0x3cedf7(0x29e)]=getSeatsWithUpdatedCoords(_0x42c8db),this[_0x3cedf7(0x412)][_0x3cedf7(0x2f0)]=arrayToObjectById(_0x42c8db[_0x3cedf7(0x4a7)]),this[_0x3cedf7(0x412)][_0x3cedf7(0x1ea)]=arrayToObjectById(_0x42c8db[_0x3cedf7(0x46b)]);const {scale:_0x32e998,translate:_0x17c23c}=this[_0x3cedf7(0x337)](_0x42c8db[_0x3cedf7(0x1e7)]);this['setContextScale'](_0x32e998),this['context'][_0x3cedf7(0x390)]=_0x17c23c,this['zoomToFitScale']=_0x32e998;if(!((_0x534ad4=_0x42c8db[_0x3cedf7(0x1e7)])==null?void 0x0:_0x534ad4['viewBox']))throw new Error(_0x3cedf7(0x4a1));this[_0x3cedf7(0x412)][_0x3cedf7(0x555)]={'svgString':_0x12cc62,'viewBox':_0x42c8db[_0x3cedf7(0x1e7)][_0x3cedf7(0x341)],'svgUrl':_0x3bb355,'pngBackground':_0x5265ae,'outlineSvg':_0x166885},this[_0x3cedf7(0x406)]=new OutlineLayer(this[_0x3cedf7(0x412)]),this['selectionLayer'][_0x3cedf7(0x34f)]();let _0x5c4f63=0x0;const _0x150e54=async(_0x3c5d1f,_0x1527e7=0x0)=>{const _0x14eb04=_0x3cedf7,_0x2a1cfb=this[_0x14eb04(0x325)]?loadImageFromUrl(_0x3c5d1f,'anonymous'):loadImageFromUrl(_0x3c5d1f);_0x2a1cfb[_0x14eb04(0x396)](_0x40bc45=>{const _0x36ed51=_0x14eb04;if(_0x1527e7<_0x5c4f63)return;setImageSizeAndCenter(_0x40bc45,_0x42c8db[_0x36ed51(0x1e7)][_0x36ed51(0x341)]),this[_0x36ed51(0x2c5)][_0x36ed51(0x365)]=_0x40bc45,_0x5c4f63=_0x1527e7,this[_0x36ed51(0x523)]();});};try{((_0x23f18a=_0x5265ae==null?void 0x0:_0x5265ae[_0x3cedf7(0x24b)])==null?void 0x0:_0x23f18a['data'])&&await _0x150e54(_0x5265ae[_0x3cedf7(0x24b)][_0x3cedf7(0x329)],0x1),((_0x37bdaf=_0x5265ae==null?void 0x0:_0x5265ae[_0x3cedf7(0x24f)])==null?void 0x0:_0x37bdaf[_0x3cedf7(0x4a5)])&&await _0x150e54(_0x5265ae[_0x3cedf7(0x24f)][_0x3cedf7(0x4a5)],0x2),((_0x543a1a=_0x5265ae==null?void 0x0:_0x5265ae[_0x3cedf7(0x25a)])==null?void 0x0:_0x543a1a[_0x3cedf7(0x4a5)])&&await _0x150e54(_0x5265ae[_0x3cedf7(0x25a)]['path'],0x3),!_0x5265ae&&_0x12cc62&&(this[_0x3cedf7(0x2c5)]['backgroundElement']=await createSvgImageElement(_0x12cc62));}catch(_0x41d9c6){console[_0x3cedf7(0x265)]('Failed\x20to\x20load\x20PNG,\x20falling\x20back\x20to\x20SVG:',_0x41d9c6),_0x12cc62&&(this['stageLayer'][_0x3cedf7(0x365)]=await createSvgImageElement(_0x12cc62)),this[_0x3cedf7(0x523)]();}this['context'][_0x3cedf7(0x438)][_0x3cedf7(0x48e)]&&this['updateSeatLocks'](this['context'][_0x3cedf7(0x438)][_0x3cedf7(0x48e)]),this[_0x3cedf7(0x523)](),this[_0x3cedf7(0x4ab)](),this[_0x3cedf7(0x412)][_0x3cedf7(0x438)][_0x3cedf7(0x347)]&&this['context'][_0x3cedf7(0x438)][_0x3cedf7(0x347)]();}['setExternalPrices'](_0x410508){const _0x479e1d=_0x19eb4e,_0x36691b=_0x410508||this[_0x479e1d(0x412)][_0x479e1d(0x438)][_0x479e1d(0x4bd)];if(!Array[_0x479e1d(0x550)](_0x36691b)||_0x36691b[_0x479e1d(0x362)]===0x0)return;const _0x1eebeb={...this[_0x479e1d(0x412)][_0x479e1d(0x513)]()};if(!Object[_0x479e1d(0x447)](_0x1eebeb)['length'])return;const _0x147d15=Object['values'](_0x36691b[_0x479e1d(0x3aa)]((_0x140aa9,_0x50f3db)=>{const _0x316b3f=_0x479e1d;if(_0x50f3db[_0x316b3f(0x22b)]in _0x140aa9)return _0x140aa9;return _0x140aa9[_0x50f3db[_0x316b3f(0x22b)]]={'id':_0x50f3db[_0x316b3f(0x22b)],'name':_0x50f3db[_0x316b3f(0x22f)]['toString']()},_0x140aa9;},{}));if(!_0x147d15[_0x479e1d(0x362)])return;const _0x560c1c=[],_0x392688=[],_0x358aa0=_0x36691b[_0x479e1d(0x210)](_0x3a6020=>{const _0x25b38c=_0x479e1d,_0x1b7900=_0x3a6020['id']!==void 0x0?this[_0x25b38c(0x412)][_0x25b38c(0x1f4)][_0x3a6020['id']]:this[_0x25b38c(0x412)]['findSeatByKey'](_0x3a6020['seatKey']);if(!_0x1b7900){console[_0x25b38c(0x3f7)]('Missing\x20seat:\x20'+(_0x3a6020['id']!==void 0x0?'ID\x20'+_0x3a6020['id']:'Key\x20'+_0x3a6020[_0x25b38c(0x20e)])+_0x25b38c(0x3cc));if(_0x3a6020['id']!==void 0x0)_0x392688[_0x25b38c(0x445)](_0x3a6020['id']);else _0x560c1c[_0x25b38c(0x445)](_0x3a6020[_0x25b38c(0x20e)]);return;}return[_0x1b7900['id'],_0x3a6020['priceId']];})[_0x479e1d(0x33f)](Boolean);if(_0x560c1c['length']>0x0)this[_0x479e1d(0x412)][_0x479e1d(0x249)]=_0x560c1c;if(_0x392688[_0x479e1d(0x362)]>0x0)this[_0x479e1d(0x412)][_0x479e1d(0x206)]=_0x392688;if(!_0x358aa0[_0x479e1d(0x362)])return;_0x1eebeb[_0x479e1d(0x53c)]=_0x147d15,_0x1eebeb[_0x479e1d(0x29e)]=_0x358aa0,this[_0x479e1d(0x3f8)](_0x1eebeb);}['setPricesData'](_0x44851e){const _0x3b56c9=_0x19eb4e;this[_0x3b56c9(0x412)][_0x3b56c9(0x2a6)]=convertPricesToColoredById(_0x44851e[_0x3b56c9(0x53c)],this[_0x3b56c9(0x412)][_0x3b56c9(0x438)][_0x3b56c9(0x23b)][_0x3b56c9(0x216)]),this[_0x3b56c9(0x412)][_0x3b56c9(0x29e)]=getSeatsWithPrices(this[_0x3b56c9(0x412)][_0x3b56c9(0x29e)],_0x44851e,this[_0x3b56c9(0x412)][_0x3b56c9(0x2a6)]);const _0x543027=getSectorsWithPrices(Object[_0x3b56c9(0x4ad)](this[_0x3b56c9(0x412)][_0x3b56c9(0x1ea)]),_0x44851e,this[_0x3b56c9(0x412)][_0x3b56c9(0x2a6)]);this[_0x3b56c9(0x412)][_0x3b56c9(0x1ea)]=arrayToObjectById(_0x543027),this['context'][_0x3b56c9(0x438)]['lockedSeatsFilter']&&this[_0x3b56c9(0x2c9)](this['context'][_0x3b56c9(0x438)]['lockedSeatsFilter']),this[_0x3b56c9(0x406)]&&(this['outlineLayer'][_0x3b56c9(0x553)]()?this[_0x3b56c9(0x406)]['setBackgroundAsOutline']():this[_0x3b56c9(0x406)]['updateOutlines']());}[_0x19eb4e(0x22d)](_0x2153c1){const _0x35175d=_0x19eb4e;this[_0x35175d(0x412)][_0x35175d(0x22d)](_0x2153c1);}[_0x19eb4e(0x4e3)](_0x2b2d60){const _0x1321bd=_0x19eb4e;this[_0x1321bd(0x412)][_0x1321bd(0x4e3)](_0x2b2d60);}[_0x19eb4e(0x3c8)](_0x315e78){const _0x368921=_0x19eb4e;this[_0x368921(0x412)][_0x368921(0x3c8)](_0x315e78);}['removeSeatsFromCartByIds'](_0x298cf3){const _0x3097ad=_0x19eb4e;this[_0x3097ad(0x412)][_0x3097ad(0x4df)][_0x3097ad(0x29e)]=this[_0x3097ad(0x412)][_0x3097ad(0x4df)][_0x3097ad(0x29e)][_0x3097ad(0x33f)](_0x5cdbd5=>!_0x298cf3[_0x3097ad(0x4e4)](_0x5cdbd5['id'])),_0x298cf3[_0x3097ad(0x4b5)](_0x434a97=>{const _0x502ef3=_0x3097ad;this['context']['seatsById'][_0x434a97]&&delete this[_0x502ef3(0x412)][_0x502ef3(0x1f4)][_0x434a97][_0x502ef3(0x2f1)];}),this[_0x3097ad(0x412)][_0x3097ad(0x1b0)](),this[_0x3097ad(0x2c5)]['redraw']();}['removeSeatsFromCartByKeys'](_0x27daa8){const _0x55134a=_0x19eb4e;this[_0x55134a(0x524)](this[_0x55134a(0x4fb)](_0x27daa8));}[_0x19eb4e(0x1ca)](_0x3b3a89,_0x9b12d3){const _0x6cb274=_0x19eb4e;var _0xada020;const _0x21ff11=(_0xada020=_0x9b12d3==null?void 0x0:_0x9b12d3[_0x6cb274(0x4d6)])!=null?_0xada020:!![],_0x4dda9a=this['context'][_0x6cb274(0x2be)](),_0x368293=this[_0x6cb274(0x412)][_0x6cb274(0x4df)]['seats'],_0xfd19f2=Object[_0x6cb274(0x447)](this[_0x6cb274(0x412)]['pricesById'])[_0x6cb274(0x362)]>0x0;this[_0x6cb274(0x2c9)](_0x302437=>{const _0x59a594=_0x6cb274;if(_0x3b3a89[_0x59a594(0x4e4)](_0x302437['id']))return!![];if(_0x21ff11&&!_0xfd19f2)return![];if(_0x21ff11&&this[_0x59a594(0x412)][_0x59a594(0x1f4)][_0x302437['id']]['priceId'])return![];return Boolean(_0x302437[_0x59a594(0x2af)]);}),this[_0x6cb274(0x412)]['cart'][_0x6cb274(0x29e)]=this[_0x6cb274(0x412)]['cart']['seats'][_0x6cb274(0x33f)](_0x5dac28=>!_0x3b3a89['includes'](_0x5dac28['id'])),_0x21ff11&&_0x3b3a89['forEach'](_0x251041=>{const _0x2ba37d=_0x6cb274;this[_0x2ba37d(0x412)]['seatsById'][_0x251041]&&delete this[_0x2ba37d(0x412)]['seatsById'][_0x251041][_0x2ba37d(0x2f1)];}),this[_0x6cb274(0x412)][_0x6cb274(0x438)][_0x6cb274(0x289)]&&(JSON[_0x6cb274(0x2f2)](_0x368293)!==JSON[_0x6cb274(0x2f2)](this[_0x6cb274(0x412)][_0x6cb274(0x4df)]['seats'])&&this['context']['settings']['onCartChange'](this[_0x6cb274(0x412)][_0x6cb274(0x2be)](),_0x4dda9a)),this[_0x6cb274(0x412)][_0x6cb274(0x29e)]=Object[_0x6cb274(0x4ad)](this[_0x6cb274(0x412)][_0x6cb274(0x1f4)]),this['context'][_0x6cb274(0x1b0)](),this[_0x6cb274(0x2c5)][_0x6cb274(0x523)]();}['enableSeatsByIds'](_0x3d924a){const _0x52b559=_0x19eb4e;this['updateSeatLocks'](_0x40e95a=>![]),this[_0x52b559(0x2c5)]['redraw']();}['disableSeatsByKeys'](_0x2c122b){this['disableSeatsByIds'](this['seatKeysToIds'](_0x2c122b));}[_0x19eb4e(0x460)](_0x57b935){const _0x5def3b=_0x19eb4e;this['context']['seats']=this['context']['seats'][_0x5def3b(0x210)](_0x31e6a0=>{const _0x421c0f=_0x5def3b,_0x50435d=!_0x57b935[_0x421c0f(0x4e4)](_0x31e6a0['id']);return!!_0x31e6a0[_0x421c0f(0x441)]!==_0x50435d?{..._0x31e6a0,'filtered':_0x50435d}:_0x31e6a0;}),this[_0x5def3b(0x2c5)]['redraw']();}[_0x19eb4e(0x3dd)](_0x6f18cb){const _0x209d8c=_0x19eb4e;this[_0x209d8c(0x412)][_0x209d8c(0x29e)]=this[_0x209d8c(0x412)][_0x209d8c(0x29e)]['map'](_0x20c870=>{const _0x208692=_0x209d8c,_0x1d5c77=_0x6f18cb?!_0x6f18cb[_0x208692(0x4e4)](_0x20c870['id']):![];return!!_0x20c870[_0x208692(0x441)]!==_0x1d5c77?{..._0x20c870,'filtered':_0x1d5c77}:_0x20c870;}),this[_0x209d8c(0x2c5)][_0x209d8c(0x523)]();}[_0x19eb4e(0x429)](_0x17938e){const _0x4bcba1=_0x19eb4e;this['filterSeatsByIds'](this[_0x4bcba1(0x4fb)](_0x17938e));}['seatKeysToIds'](_0x1662fb){const _0x566f12=_0x19eb4e;return _0x1662fb[_0x566f12(0x210)](_0x111eea=>this[_0x566f12(0x412)][_0x566f12(0x4ee)](_0x111eea))[_0x566f12(0x33f)](Boolean)[_0x566f12(0x210)](_0xc3aaa=>_0xc3aaa['id']);}[_0x19eb4e(0x2c9)](_0x1051d4){const _0x463b6c=_0x19eb4e;this['context'][_0x463b6c(0x29e)]=this[_0x463b6c(0x412)][_0x463b6c(0x29e)][_0x463b6c(0x210)](_0x5d5eb7=>{const _0x46f2fb=_0x463b6c,_0x85c3a9=_0x1051d4(_0x5d5eb7);return!!_0x5d5eb7[_0x46f2fb(0x2af)]!==_0x85c3a9?{..._0x5d5eb7,'locked':_0x85c3a9}:_0x5d5eb7;}),this[_0x463b6c(0x2c5)][_0x463b6c(0x523)]();}[_0x19eb4e(0x48f)](){const _0x1254c4=_0x19eb4e;return this['context']['getSeatSelection']()[_0x1254c4(0x210)](_0x263647=>this[_0x1254c4(0x25c)](_0x263647));}[_0x19eb4e(0x500)](_0x34a49b){const _0x1a287d=_0x19eb4e,_0x94249b=this[_0x1a287d(0x412)][_0x1a287d(0x500)](_0x34a49b);if(!_0x94249b){this['outlineLayer'][_0x1a287d(0x500)](void 0x0);return;}_0x94249b==null?void 0x0:_0x94249b[_0x1a287d(0x4b5)](_0x3b2d36=>this[_0x1a287d(0x406)]['setSectionSelection'](_0x3b2d36));}['getSvgSectionBySelection'](){const _0x5147ee=_0x19eb4e;return this[_0x5147ee(0x412)][_0x5147ee(0x4ba)]();}['disableSvgSectionsByIds'](_0x38a4d6,_0x355a0f){const _0x45b131=_0x19eb4e;if(_0x355a0f==null?void 0x0:_0x355a0f[_0x45b131(0x4d6)]){const _0x46aa2c=this['getSections']()[_0x45b131(0x33f)](_0x38e53b=>_0x38e53b[_0x45b131(0x34e)])['map'](_0x50d16b=>_0x50d16b['id']);this[_0x45b131(0x469)](_0x46aa2c);}_0x38a4d6['forEach'](_0x4d4a0b=>{const _0x4c338f=_0x45b131;this['context'][_0x4c338f(0x1ea)][_0x4d4a0b]['disabled']=!![],this[_0x4c338f(0x406)][_0x4c338f(0x254)](_0x4d4a0b);}),this[_0x45b131(0x412)][_0x45b131(0x521)]=void 0x0,this[_0x45b131(0x2fd)]();}['enableSvgSectionsByIds'](_0x449532){const _0x1d1a82=_0x19eb4e;_0x449532[_0x1d1a82(0x4b5)](_0x2df17f=>{const _0x1ea100=_0x1d1a82;this[_0x1ea100(0x412)]['sectionsById'][_0x2df17f]['disabled']=![],this['context'][_0x1ea100(0x1ea)][_0x2df17f]['selected']=![],this[_0x1ea100(0x406)][_0x1ea100(0x2d9)](_0x2df17f);}),this[_0x1d1a82(0x412)][_0x1d1a82(0x521)]=void 0x0,this[_0x1d1a82(0x2fd)]();}async[_0x19eb4e(0x2fd)](){const _0x57d0fd=_0x19eb4e;var _0x58fdcc;if(!this[_0x57d0fd(0x412)][_0x57d0fd(0x555)][_0x57d0fd(0x526)])return;const _0x41e274=new DOMParser(),_0x52dbcd=_0x41e274[_0x57d0fd(0x50a)](this[_0x57d0fd(0x412)][_0x57d0fd(0x555)][_0x57d0fd(0x526)],_0x57d0fd(0x1c3))||new SVGSVGElement(),_0x2815d7=_0x52dbcd[_0x57d0fd(0x2f8)](_0x57d0fd(0x2cd));if(_0x2815d7){_0x2815d7[_0x57d0fd(0x2db)]='';const _0x445438=this[_0x57d0fd(0x406)][_0x57d0fd(0x4cc)],_0x31643b=(_0x58fdcc=_0x445438[_0x57d0fd(0x1ce)])==null?void 0x0:_0x58fdcc[_0x57d0fd(0x4e0)];_0x31643b==null?void 0x0:_0x31643b[_0x57d0fd(0x4b5)](_0x258465=>{const _0x13dbb4=_0x57d0fd;_0x2815d7[_0x13dbb4(0x537)](_0x258465[_0x13dbb4(0x330)](!![]));});var _0x59d061=new XMLSerializer(),_0x1c92c7=_0x59d061[_0x57d0fd(0x207)](_0x52dbcd);this[_0x57d0fd(0x2c5)]['backgroundElement']=await createSvgImageElement(_0x1c92c7),this['stageLayer']['drawOffscreenCanvas']();}}[_0x19eb4e(0x1dd)](_0x4244d1){const _0x2717ca=_0x19eb4e;_0x4244d1['forEach'](_0x4f9256=>{const _0x312de7=_0x2173;this[_0x312de7(0x412)][_0x312de7(0x1ea)][_0x4f9256]&&this[_0x312de7(0x412)]['sectionsById'][_0x4f9256][_0x312de7(0x22b)]!==void 0x0&&(this[_0x312de7(0x359)][_0x4f9256]=this['context'][_0x312de7(0x1ea)][_0x4f9256][_0x312de7(0x22b)],this[_0x312de7(0x412)][_0x312de7(0x1ea)][_0x4f9256][_0x312de7(0x34e)]=!![],delete this[_0x312de7(0x412)][_0x312de7(0x1ea)][_0x4f9256][_0x312de7(0x22b)],this[_0x312de7(0x412)][_0x312de7(0x1ea)][_0x4f9256][_0x312de7(0x2d8)]=![],this[_0x312de7(0x4e3)]({'sectorId':_0x4f9256}));}),this['context'][_0x2717ca(0x521)]=void 0x0,this['stageLayer'][_0x2717ca(0x523)]();}[_0x19eb4e(0x4ed)](){const _0x3d4dfd=_0x19eb4e;Object[_0x3d4dfd(0x447)](this[_0x3d4dfd(0x359)])[_0x3d4dfd(0x4b5)](_0x5e5cf9=>{const _0x2fdf18=_0x3d4dfd,_0x4010fc=Number(_0x5e5cf9);this[_0x2fdf18(0x412)][_0x2fdf18(0x1ea)][_0x4010fc]&&(this[_0x2fdf18(0x412)][_0x2fdf18(0x1ea)][_0x4010fc][_0x2fdf18(0x34e)]=![],this[_0x2fdf18(0x412)]['sectionsById'][_0x4010fc]['priceId']=this[_0x2fdf18(0x359)][_0x4010fc]);}),this[_0x3d4dfd(0x359)]={},this[_0x3d4dfd(0x412)][_0x3d4dfd(0x521)]=void 0x0,this[_0x3d4dfd(0x2c5)]['redraw']();}[_0x19eb4e(0x434)](_0x53e9f3,_0x28007d){const _0x315caf=_0x19eb4e;if(_0x28007d==null?void 0x0:_0x28007d[_0x315caf(0x4d6)]){const _0x5bbe29=this[_0x315caf(0x421)]()[_0x315caf(0x33f)](_0x381efd=>_0x381efd[_0x315caf(0x441)])[_0x315caf(0x210)](_0x8f83e3=>_0x8f83e3['id']);this['enableSvgSectionsByIds'](_0x5bbe29);}Object['keys'](this[_0x315caf(0x412)][_0x315caf(0x1ea)])[_0x315caf(0x4b5)](_0x3b2566=>{const _0x5c4fe7=_0x315caf,_0x1ae715=Number(_0x3b2566),_0xcfb9d5=!_0x53e9f3[_0x5c4fe7(0x4e4)](_0x1ae715);this[_0x5c4fe7(0x412)][_0x5c4fe7(0x1ea)][_0x1ae715][_0x5c4fe7(0x441)]=_0xcfb9d5,_0xcfb9d5?this['outlineLayer']['filterSvgSectionById'](_0x1ae715):this[_0x5c4fe7(0x406)]['removeFilterSvgSectionById'](_0x1ae715);}),this['context'][_0x315caf(0x521)]=void 0x0;}[_0x19eb4e(0x1e6)](_0x2e8858){const _0x5d5b9a=_0x19eb4e;(_0x2e8858?_0x2e8858:Object[_0x5d5b9a(0x447)](this[_0x5d5b9a(0x412)][_0x5d5b9a(0x1ea)]))['forEach'](_0xcbf4ed=>{const _0xa7a73=_0x5d5b9a,_0x4f7ff5=Number(_0xcbf4ed);this[_0xa7a73(0x412)][_0xa7a73(0x1ea)][_0x4f7ff5]['filtered']=![],this[_0xa7a73(0x412)][_0xa7a73(0x1ea)][_0x4f7ff5][_0xa7a73(0x2d8)]=![],this[_0xa7a73(0x406)]['removeFilterSvgSectionById'](_0x4f7ff5);}),this[_0x5d5b9a(0x412)][_0x5d5b9a(0x521)]=void 0x0;}[_0x19eb4e(0x531)](_0x1812a5,_0x15a8e0){const _0x58fdb2=_0x19eb4e,_0x35606e=Object[_0x58fdb2(0x4ad)](this[_0x58fdb2(0x412)][_0x58fdb2(0x1ea)]);this[_0x58fdb2(0x3f3)](_0x35606e[_0x58fdb2(0x33f)](_0x558f7a=>_0x1812a5[_0x58fdb2(0x4e4)](_0x558f7a[_0x58fdb2(0x556)]))[_0x58fdb2(0x210)](_0xf4717b=>_0xf4717b['id']),_0x15a8e0);}[_0x19eb4e(0x37c)](_0x14323a){const _0x48cf5a=_0x19eb4e,_0x1c2916=Object[_0x48cf5a(0x4ad)](this['context'][_0x48cf5a(0x1ea)]);this['enableSvgSectionsByIds'](_0x1c2916[_0x48cf5a(0x33f)](_0x23e90e=>_0x14323a[_0x48cf5a(0x4e4)](_0x23e90e[_0x48cf5a(0x556)]))[_0x48cf5a(0x210)](_0x4aeeb6=>_0x4aeeb6['id']));}['setSeatSelection'](_0x3898af){const _0x24cca6=_0x19eb4e,_0x27d475=this[_0x24cca6(0x237)](_0x3898af);this[_0x24cca6(0x412)][_0x24cca6(0x2fe)]=[..._0x27d475],this[_0x24cca6(0x363)][_0x24cca6(0x523)]();const _0x372169=this[_0x24cca6(0x412)][_0x24cca6(0x29e)][_0x24cca6(0x33f)](_0x2b5e2c=>_0x27d475[_0x24cca6(0x4e4)](_0x2b5e2c['id']));this[_0x24cca6(0x412)]['settings'][_0x24cca6(0x31d)]&&this[_0x24cca6(0x412)]['settings']['onSeatsSelectionChange'](_0x372169),this[_0x24cca6(0x412)]['settings'][_0x24cca6(0x229)]&&this['context']['settings'][_0x24cca6(0x229)](_0x372169);}[_0x19eb4e(0x386)](_0x41a421){const _0xcbd13d=_0x19eb4e;let _0x310131;if(_0x41a421&&typeof _0x41a421==='number')_0x310131=_0x41a421;else{if(_0x41a421&&typeof _0x41a421===_0xcbd13d(0x339)){const _0x3bedd4=this[_0xcbd13d(0x412)][_0xcbd13d(0x527)]()['find'](_0x2c06ba=>_0x2c06ba[_0xcbd13d(0x556)]===_0x41a421);(_0x3bedd4==null?void 0x0:_0x3bedd4['isGa'])&&(_0x310131=_0x3bedd4['id']);}}this[_0xcbd13d(0x412)][_0xcbd13d(0x521)]=_0x310131,this[_0xcbd13d(0x406)][_0xcbd13d(0x52f)](_0x310131),this['selectionLayer'][_0xcbd13d(0x523)]();}['getSelectedGa'](){const _0x1700d3=_0x19eb4e,_0x38b334=this[_0x1700d3(0x412)][_0x1700d3(0x521)];return _0x38b334?this[_0x1700d3(0x412)]['sectionsById'][_0x38b334]:void 0x0;}['getSections'](){const _0x390d52=_0x19eb4e;if(!this[_0x390d52(0x412)]['sectionsById'])return[];return Object[_0x390d52(0x4ad)](this['context'][_0x390d52(0x1ea)]);}[_0x19eb4e(0x3b8)](){const _0x3b29fe=_0x19eb4e;return Object[_0x3b29fe(0x4ad)](this[_0x3b29fe(0x412)][_0x3b29fe(0x2f0)]);}[_0x19eb4e(0x4fd)](){const _0xc6d58d=_0x19eb4e;return Object[_0xc6d58d(0x4ad)](this['context']['seatsById']);}[_0x19eb4e(0x332)](_0x180425){const _0x2f8544=_0x19eb4e;return this[_0x2f8544(0x412)]['rowsById'][_0x180425];}[_0x19eb4e(0x3ab)](){const _0x3c1a36=_0x19eb4e;if(this[_0x3c1a36(0x2c5)]instanceof HTMLCanvasLayer){const _0x23539e=this[_0x3c1a36(0x2c5)][_0x3c1a36(0x3ab)]();return _0x23539e[_0x3c1a36(0x210)](_0x2b29b=>({..._0x2b29b,...this[_0x3c1a36(0x412)][_0x3c1a36(0x562)](_0x2b29b)}));}else throw new Error(_0x3c1a36(0x389));}['getSectionsWithCoords'](){const _0x4f3e8b=_0x19eb4e,_0x3f5408=[]['slice'][_0x4f3e8b(0x279)](this[_0x4f3e8b(0x406)]['svgElement']['querySelectorAll']('.'+OUTLINE_CLASS+_0x4f3e8b(0x3a1))),_0x1a835f=_0x3f5408[_0x4f3e8b(0x210)](_0xd47ede=>{const _0x26e13a=_0x4f3e8b;let _0x539c0f;if(isGaOutline(_0xd47ede))_0x539c0f=this['getGaSectionByOutline'](_0xd47ede);else isSectionOutline(_0xd47ede)&&(_0x539c0f=this[_0x26e13a(0x2e2)](_0xd47ede));return _0x539c0f;})[_0x4f3e8b(0x33f)](Boolean)[_0x4f3e8b(0x210)](_0x2d3496=>({..._0x2d3496,'x':Math[_0x4f3e8b(0x2bb)](_0x2d3496[_0x4f3e8b(0x369)]['left']+_0x2d3496[_0x4f3e8b(0x369)][_0x4f3e8b(0x3d1)]/0x2),'y':Math[_0x4f3e8b(0x2bb)](_0x2d3496['rect'][_0x4f3e8b(0x506)]+_0x2d3496[_0x4f3e8b(0x369)][_0x4f3e8b(0x51f)]/0x2)}));return _0x1a835f;}['getGaSectionByOutline'](_0x533b85){const _0x3967fe=_0x19eb4e;var _0xdfb92f,_0x3ee6aa,_0x5b7102;const _0x324e76=_0x31359d=>{const _0x21c500=_0x2173,_0x50f0f3=Number(_0x31359d[_0x21c500(0x214)](DATA_GOS_ID));if(_0x50f0f3)return{'sectionId':_0x50f0f3,'element':_0x31359d};const _0x33e5ad=_0x31359d['parentNode'];return{'sectionId':Number(_0x33e5ad[_0x21c500(0x214)](DATA_GOS_ID)),'element':_0x33e5ad};},{sectionId:_0x3c1011,element:_0x25d1ee}=_0x324e76(_0x533b85);if(_0x3c1011&&this[_0x3967fe(0x412)]['sectionsById'][_0x3c1011]){const {id:_0x26d96f,name:_0x1638bd,priceId:_0x355921,special:_0x76e716,type:_0x30c77a}=this[_0x3967fe(0x412)][_0x3967fe(0x1ea)][_0x3c1011];let _0x46d299=void 0x0;if(_0x355921){const _0x442847=this[_0x3967fe(0x412)][_0x3967fe(0x2a6)][Number(_0x355921)];_0x442847&&(_0x46d299=parseInt(_0x442847[_0x3967fe(0x556)]));}const _0x58174d=(_0x5b7102=(_0x3ee6aa=(_0xdfb92f=this['context'][_0x3967fe(0x1ea)])==null?void 0x0:_0xdfb92f[_0x26d96f])==null?void 0x0:_0x3ee6aa[_0x3967fe(0x3d2)])!=null?_0x5b7102:![];return{'id':_0x26d96f,'name':_0x1638bd,'price':_0x46d299,'special':_0x76e716,'ga':_0x58174d,'rect':this[_0x3967fe(0x228)](_0x25d1ee),'type':_0x30c77a};}return void 0x0;}['getSectionByOutline'](_0x465a4e){const _0x27ffc4=_0x19eb4e,_0x462a39=Number(_0x465a4e[_0x27ffc4(0x214)](DATA_GOS_ID));if(_0x462a39&&this[_0x27ffc4(0x412)][_0x27ffc4(0x1ea)][_0x462a39]){const {id:_0x4928d7,name:_0x4c42b1,priceId:_0x297e6d,special:_0x5042aa,type:_0x581e09}=this[_0x27ffc4(0x412)][_0x27ffc4(0x1ea)][_0x462a39],_0xaf3cfb=_0x297e6d&&this[_0x27ffc4(0x412)][_0x27ffc4(0x2a6)][Number(_0x297e6d)]?parseInt(this[_0x27ffc4(0x412)][_0x27ffc4(0x2a6)][Number(_0x297e6d)][_0x27ffc4(0x556)]):void 0x0;return{'id':_0x4928d7,'name':_0x4c42b1,'price':_0xaf3cfb,'special':_0x5042aa,'ga':![],'rect':this[_0x27ffc4(0x228)](_0x465a4e),'type':_0x581e09};}return void 0x0;}[_0x19eb4e(0x228)](_0x27b29c){const _0x2db1c7=_0x19eb4e,_0xac7ece=_0x27b29c[_0x2db1c7(0x23f)](),_0x199224=this['context'][_0x2db1c7(0x1b7)][_0x2db1c7(0x23f)]();return{'left':Math[_0x2db1c7(0x2bb)](_0xac7ece[_0x2db1c7(0x1c9)]-_0x199224[_0x2db1c7(0x1c9)]),'top':Math[_0x2db1c7(0x2bb)](_0xac7ece[_0x2db1c7(0x506)]-_0x199224[_0x2db1c7(0x506)]),'width':Math[_0x2db1c7(0x2bb)](_0xac7ece[_0x2db1c7(0x3d1)]),'height':Math[_0x2db1c7(0x2bb)](_0xac7ece['height'])};}[_0x19eb4e(0x23a)](_0x4e5b19,_0x37ea25){const _0x1ba0b5=_0x19eb4e,_0x495b33=this['context']['seatsById'][_0x4e5b19],_0x12833c=this[_0x1ba0b5(0x412)][_0x1ba0b5(0x4c9)][_0x495b33[_0x1ba0b5(0x54c)]][_0x1ba0b5(0x33f)](_0x18d33f=>!_0x18d33f[_0x1ba0b5(0x2af)]),_0x3ec6f7=Number(_0x495b33[_0x1ba0b5(0x556)]);if(!Number['isInteger'](_0x3ec6f7))return;let _0x5cd1b5=_0x3ec6f7,_0x1216d5;const _0x333644=[];do{_0x5cd1b5++,_0x1216d5=_0x12833c[_0x1ba0b5(0x495)](_0x1d155b=>_0x1d155b[_0x1ba0b5(0x556)]===String(_0x5cd1b5));if(_0x1216d5)_0x333644['push'](_0x1216d5);}while(_0x1216d5&&_0x333644[_0x1ba0b5(0x362)]<_0x37ea25-0x1);let _0x3fe11e=_0x3ec6f7,_0x38d1e9;const _0x5ceb1b=[];do{_0x3fe11e--,_0x38d1e9=_0x12833c[_0x1ba0b5(0x495)](_0x510cb2=>_0x510cb2[_0x1ba0b5(0x556)]===String(_0x3fe11e));if(_0x38d1e9)_0x5ceb1b[_0x1ba0b5(0x445)](_0x38d1e9);}while(_0x38d1e9&&_0x5ceb1b[_0x1ba0b5(0x362)]<_0x37ea25-0x1);let _0x4de8f1=Math[_0x1ba0b5(0x28d)]((_0x37ea25-0x1)/0x2),_0x38b0ee=Math[_0x1ba0b5(0x333)]((_0x37ea25-0x1)/0x2);if(_0x5ceb1b['length']<_0x4de8f1)_0x4de8f1=_0x5ceb1b[_0x1ba0b5(0x362)],_0x38b0ee=_0x37ea25-0x1-_0x4de8f1;else _0x333644[_0x1ba0b5(0x362)]<_0x38b0ee&&(_0x38b0ee=_0x333644['length'],_0x4de8f1=_0x37ea25-0x1-_0x38b0ee);if(_0x333644[_0x1ba0b5(0x362)]<_0x38b0ee||_0x5ceb1b[_0x1ba0b5(0x362)]<_0x4de8f1)return;const _0x3ce5ac=[..._0x5ceb1b['slice'](0x0,_0x4de8f1)[_0x1ba0b5(0x4eb)](),_0x495b33,..._0x333644[_0x1ba0b5(0x319)](0x0,_0x38b0ee)];return _0x3ce5ac;}[_0x19eb4e(0x1bf)](_0x302cca){const _0x42ff92=_0x19eb4e;var _0x2d00bf;const _0x4dcb96=(_0x2d00bf=this[_0x42ff92(0x412)][_0x42ff92(0x438)]['zoomSettings'])!=null?_0x2d00bf:defaultZoomSettings,_0x2ad8b2=Math['min'](_0x4dcb96[_0x42ff92(0x3f4)]*DPR2,this[_0x42ff92(0x53b)])/this[_0x42ff92(0x412)][_0x42ff92(0x4b7)],_0x42d72b=_0x4dcb96['maxPinchZoom']*DPR2/this[_0x42ff92(0x412)][_0x42ff92(0x4b7)];return Math[_0x42ff92(0x2f9)](_0x2ad8b2,Math[_0x42ff92(0x290)](_0x42d72b,_0x302cca));}[_0x19eb4e(0x255)](){const _0x264b80=_0x19eb4e;return this[_0x264b80(0x412)][_0x264b80(0x4b7)];}['zoomIn'](){const _0x76e5bf=_0x19eb4e,_0x3d57ee=this[_0x76e5bf(0x538)]();_0x3d57ee!==this[_0x76e5bf(0x412)]['scale']&&this['startAnimation'](_0x3d57ee);}[_0x19eb4e(0x4c1)](){const _0x1586b0=_0x19eb4e,_0x12551a=this['getPrevScale']();_0x12551a!==this[_0x1586b0(0x412)][_0x1586b0(0x4b7)]&&this[_0x1586b0(0x1d8)](_0x12551a);}[_0x19eb4e(0x202)](){const _0x2e321e=_0x19eb4e,_0x686dee=this[_0x2e321e(0x3cd)];this[_0x2e321e(0x3cd)]=emptyPaddingSettings,this[_0x2e321e(0x1d8)](this['zoomToFitScale']||0x1),this['padding']=_0x686dee;}['clearSectorHighlight'](){const _0x13cdab=_0x19eb4e;this[_0x13cdab(0x406)][_0x13cdab(0x39a)]();}['highlightSector'](_0x5dda41){const _0xc3fbf7=_0x19eb4e;this[_0xc3fbf7(0x406)][_0xc3fbf7(0x39a)](),this[_0xc3fbf7(0x406)][_0xc3fbf7(0x499)](_0x5dda41);}[_0x19eb4e(0x4d8)](_0x2ab30d,_0x404507,_0x52db39){const _0x59143f=_0x19eb4e;if(this[_0x59143f(0x35b)])return;this[_0x59143f(0x301)][_0x59143f(0x259)](_0x59143f(0x217)),this[_0x59143f(0x35b)]={'duration':this['context'][_0x59143f(0x438)]['zoomAnimationDuration']||0x0,'fromScale':0x1,'toScale':0x1,'translate':_0x2ab30d,'fromTranslate':_0x404507,'toTranslate':_0x52db39,'inProgress':!![],'frame':requestAnimationFrame(this['animationPanStep'])};}[_0x19eb4e(0x50f)](_0x4699ba,_0x4e5819){const _0x3676f0=_0x19eb4e,_0x382eba=this[_0x3676f0(0x3d3)](_0x4699ba);if(!_0x382eba)return;const _0x5d3317=this[_0x3676f0(0x406)][_0x3676f0(0x3a6)](_0x382eba);if(!_0x5d3317)return;(_0x4e5819==null?void 0x0:_0x4e5819[_0x3676f0(0x4ef)])&&this[_0x3676f0(0x406)]['focusSection'](_0x382eba);const _0x415461=0x1*DPR2,_0xa45429={'x':_0x5d3317['x']+_0x5d3317['width']/0x2-this[_0x3676f0(0x3d1)]*DPR2/0x2/_0x415461,'y':_0x5d3317['y']+_0x5d3317['height']/0x2-this[_0x3676f0(0x51f)]*DPR2/0x2/_0x415461};this[_0x3676f0(0x4c2)](_0x415461,_0xa45429);}['zoomToDestination'](_0x47bc8d,_0x1e0e48,_0x3f7427){const _0x4dde63=_0x19eb4e,_0x5ab215=_0x47bc8d/this[_0x4dde63(0x412)][_0x4dde63(0x4b7)],_0x3a2387={'x':(this[_0x4dde63(0x412)]['underlay'][_0x4dde63(0x341)]['x']-_0x1e0e48['x'])*_0x47bc8d,'y':(this[_0x4dde63(0x412)][_0x4dde63(0x555)][_0x4dde63(0x341)]['y']-_0x1e0e48['y'])*_0x47bc8d},_0x5978a1=this[_0x4dde63(0x277)](_0x3a2387,_0x47bc8d),_0x1bf39b=this[_0x4dde63(0x1bb)](_0x5ab215,_0x5978a1);this[_0x4dde63(0x35b)]={'duration':_0x3f7427||this[_0x4dde63(0x412)][_0x4dde63(0x438)][_0x4dde63(0x475)]||0x0,'fromScale':this[_0x4dde63(0x412)][_0x4dde63(0x4b7)],'toScale':_0x47bc8d,'toTranslate':_0x3a2387,'relativeTranslate':_0x1bf39b,'inProgress':!![],'frame':requestAnimationFrame(this[_0x4dde63(0x3fa)])};}[_0x19eb4e(0x3d3)](_0x1b2fb7){const _0x4349e0=_0x19eb4e;if(!_0x1b2fb7)return null;if(typeof _0x1b2fb7==='number')return _0x1b2fb7;const _0x48f595=this[_0x4349e0(0x421)]()[_0x4349e0(0x495)](_0x5bc032=>_0x5bc032[_0x4349e0(0x556)]===_0x1b2fb7);if(!_0x48f595)return null;return _0x48f595['id'];}[_0x19eb4e(0x1d8)](_0x5e77f4,_0x2128f3,_0x3b5894){const _0x3d4c1f=_0x19eb4e;if(this[_0x3d4c1f(0x35b)])return;this['service']['send'](_0x3d4c1f(0x217));const _0xafd170=_0x5e77f4/this[_0x3d4c1f(0x412)][_0x3d4c1f(0x4b7)],_0x102109=this[_0x3d4c1f(0x2fc)](_0xafd170,_0x2128f3),_0x4235d0=this[_0x3d4c1f(0x277)](_0x102109,_0x5e77f4),_0x243069=this[_0x3d4c1f(0x1bb)](_0xafd170,_0x4235d0);this[_0x3d4c1f(0x35b)]={'duration':_0x3b5894||this[_0x3d4c1f(0x412)][_0x3d4c1f(0x438)]['zoomAnimationDuration']||0x0,'fromScale':this[_0x3d4c1f(0x412)][_0x3d4c1f(0x4b7)],'toScale':_0x5e77f4,'toTranslate':_0x4235d0,'relativeTranslate':_0x243069,'inProgress':!![],'frame':requestAnimationFrame(this[_0x3d4c1f(0x3fa)])},this[_0x3d4c1f(0x412)][_0x3d4c1f(0x438)]['onZoomStart']&&this[_0x3d4c1f(0x412)][_0x3d4c1f(0x438)][_0x3d4c1f(0x234)](_0x5e77f4,this['context'][_0x3d4c1f(0x4b7)]);}[_0x19eb4e(0x496)](_0x1ff3c7,_0x3174a7){const _0xa97a87=_0x19eb4e;this[_0xa97a87(0x412)][_0xa97a87(0x438)][_0xa97a87(0x446)]?this[_0xa97a87(0x406)]['updateAnimationStep'](_0x1ff3c7,_0x3174a7):this[_0xa97a87(0x406)]['hide'](),this[_0xa97a87(0x2c5)][_0xa97a87(0x2b1)](_0x1ff3c7,_0x3174a7),this[_0xa97a87(0x363)][_0xa97a87(0x2b1)](_0x1ff3c7,_0x3174a7);}async[_0x19eb4e(0x523)](){const _0x1f144c=_0x19eb4e;this[_0x1f144c(0x412)]['settings'][_0x1f144c(0x480)]&&this[_0x1f144c(0x412)]['settings'][_0x1f144c(0x480)]();this[_0x1f144c(0x2c5)][_0x1f144c(0x523)](),this[_0x1f144c(0x363)][_0x1f144c(0x523)]();if(!this[_0x1f144c(0x2c5)][_0x1f144c(0x38f)])this[_0x1f144c(0x406)]['update']();this[_0x1f144c(0x412)][_0x1f144c(0x438)]['onRedrawEnd']&&this[_0x1f144c(0x412)][_0x1f144c(0x438)][_0x1f144c(0x3c2)]();}[_0x19eb4e(0x277)](_0x544c61,_0x2538e0){const _0x488dca=_0x19eb4e;return{'x':this[_0x488dca(0x510)](_0x544c61['x'],this[_0x488dca(0x3d1)]*DPR2,this[_0x488dca(0x412)][_0x488dca(0x555)][_0x488dca(0x341)][_0x488dca(0x3d1)],_0x2538e0),'y':this[_0x488dca(0x510)](_0x544c61['y'],this[_0x488dca(0x51f)]*DPR2,this[_0x488dca(0x412)][_0x488dca(0x555)][_0x488dca(0x341)][_0x488dca(0x51f)],_0x2538e0)};}['calculateLimit'](_0x53c4fa,_0x3fae93,_0x3973e6,_0x439507){const _0x52fd55=_0x19eb4e,_0x40526e=this[_0x52fd55(0x3cd)]*_0x3fae93,_0x2cd1c2=this[_0x52fd55(0x3cd)]*_0x3fae93,_0x4ca33a=!_0x439507?_0x3973e6*this[_0x52fd55(0x412)][_0x52fd55(0x4b7)]:_0x3973e6*_0x439507,_0x4fa4cc=_0x4ca33a+_0x40526e+_0x2cd1c2;if(_0x4fa4cc<_0x3fae93)return(_0x3fae93-_0x4fa4cc)/0x2+_0x40526e;if(_0x53c4fa>_0x40526e)return _0x40526e;const _0x306deb=(_0x4fa4cc-_0x3fae93)*-0x1+_0x40526e;if(_0x53c4fa<_0x306deb)return _0x306deb;return _0x53c4fa;}['calculateRelativeScaledLimitedTranslate'](_0x1907f4,_0x141034){const _0x50c34c=_0x19eb4e;return subPoints(_0x141034,{'x':this[_0x50c34c(0x412)][_0x50c34c(0x390)]['x']*_0x1907f4,'y':this[_0x50c34c(0x412)]['translate']['y']*_0x1907f4});}[_0x19eb4e(0x2fc)](_0xbb0b46,_0x5b6cce,_0x4a985d){const _0x32ef33=_0x19eb4e;return addPoints(this['calculateRelativeScaledTranslate'](_0xbb0b46,_0x5b6cce,_0x4a985d),{'x':this[_0x32ef33(0x412)]['translate']['x']*_0xbb0b46,'y':this[_0x32ef33(0x412)][_0x32ef33(0x390)]['y']*_0xbb0b46});}['calculateRelativeScaledTranslate'](_0x4229c7,_0x523548,_0xfa79cb){const _0x189405=_0x19eb4e,_0x37aca8=_0x523548||{'x':this[_0x189405(0x3d1)]/0x2,'y':this[_0x189405(0x51f)]/0x2},_0x2dba43=_0xfa79cb||{'x':0x0,'y':0x0};return{'x':(_0x37aca8['x']*(0x1-_0x4229c7)+_0x2dba43['x'])*DPR2,'y':(_0x37aca8['y']*(0x1-_0x4229c7)+_0x2dba43['y'])*DPR2};}[_0x19eb4e(0x337)](_0xa5beff){const _0x5d7396=_0x19eb4e;var _0x4222d3;const _0x1080a1=this[_0x5d7396(0x412)][_0x5d7396(0x438)][_0x5d7396(0x1b4)]||0.85,_0x5bacb0=this['width']/_0xa5beff[_0x5d7396(0x341)][_0x5d7396(0x3d1)],_0x58e04d=this['height']/_0xa5beff[_0x5d7396(0x341)]['height'];let _0x2e4be6=_0x5bacb0>_0x58e04d?_0x58e04d:_0x5bacb0;const _0x182f4f=(_0x4222d3=this[_0x5d7396(0x412)][_0x5d7396(0x438)][_0x5d7396(0x3ad)])!=null?_0x4222d3:defaultZoomSettings;_0x2e4be6=Math[_0x5d7396(0x290)](_0x182f4f[_0x5d7396(0x28b)]*DPR2,_0x2e4be6*_0x1080a1*DPR2);const _0x21f248={'x':(this[_0x5d7396(0x3d1)]*DPR2-_0xa5beff[_0x5d7396(0x341)]['width']*_0x2e4be6)/0x2,'y':(this[_0x5d7396(0x51f)]*DPR2-_0xa5beff[_0x5d7396(0x341)]['height']*_0x2e4be6)/0x2};return{'scale':_0x2e4be6,'translate':_0x21f248};}[_0x19eb4e(0x538)](){const _0x5ec315=_0x19eb4e,_0x22ce03=this[_0x5ec315(0x31b)]();for(let _0x98e097=0x0;_0x98e097<_0x22ce03[_0x5ec315(0x362)];_0x98e097++){if(_0x22ce03[_0x98e097]>this[_0x5ec315(0x412)][_0x5ec315(0x4b7)])return _0x22ce03[_0x98e097];}return this[_0x5ec315(0x3ff)]();}[_0x19eb4e(0x3a0)](){const _0x14a4a2=_0x19eb4e,_0x38ad25=this[_0x14a4a2(0x31b)]();for(let _0x54a72b=_0x38ad25[_0x14a4a2(0x362)]-0x1;_0x54a72b>=0x0;_0x54a72b--){if(_0x38ad25[_0x54a72b]<this[_0x14a4a2(0x412)]['scale'])return _0x38ad25[_0x54a72b];}return this[_0x14a4a2(0x2e4)]();}['getZoomPresets'](){const _0x1ecb21=_0x19eb4e;var _0x37881f;const _0x2676bd=(_0x37881f=this[_0x1ecb21(0x412)][_0x1ecb21(0x438)]['zoomSettings'])!=null?_0x37881f:defaultZoomSettings;if(!this[_0x1ecb21(0x53b)]&&_0x2676bd)return _0x2676bd[_0x1ecb21(0x299)][_0x1ecb21(0x210)](_0x196331=>_0x196331*DPR2);const _0x5b5396=this[_0x1ecb21(0x53b)],_0x34ed08=[_0x5b5396];return _0x2676bd[_0x1ecb21(0x299)][_0x1ecb21(0x210)](_0x240823=>_0x240823*DPR2)[_0x1ecb21(0x4b5)](_0x68abdf=>{const _0x9a47b9=_0x1ecb21;Math['max'](_0x68abdf/_0x5b5396,_0x5b5396/_0x68abdf)>1.2&&_0x34ed08[_0x9a47b9(0x445)](_0x68abdf);}),_0x34ed08['sort']((_0x33fc6f,_0x13e576)=>_0x33fc6f-_0x13e576);}['getMinZoom'](){const _0x3f1738=_0x19eb4e;return this[_0x3f1738(0x31b)]()[0x0];}['getMaxZoom'](){const _0x4a8e8b=_0x19eb4e,_0x3c7445=this[_0x4a8e8b(0x31b)]();return _0x3c7445[_0x3c7445[_0x4a8e8b(0x362)]-0x1];}[_0x19eb4e(0x37d)](_0x161474){const _0x353397=_0x19eb4e;if(this['stageLayer']instanceof HTMLCanvasLayer){const _0x5098a4=this[_0x353397(0x3cf)](),_0x57b758=_0x5098a4['find'](_0x54b903=>_0x54b903['id']===_0x161474['id']);if(!_0x57b758)return;const _0x2fe9a2=this[_0x353397(0x2c5)][_0x353397(0x455)]()[_0x353397(0x1c8)];if(_0x2fe9a2)return;const _0x593c44=this['stageLayer']['getAnimationPoint']();this[_0x353397(0x406)][_0x353397(0x514)]();const _0x3cf218={'zoomToFit':()=>this[_0x353397(0x202)](),'getSectionsWithCoords':()=>this[_0x353397(0x3cf)]()};this[_0x353397(0x2c5)][_0x353397(0x252)](_0x57b758,_0x3cf218)['then'](_0x176eb5=>{const _0x43d00e=_0x353397;if(!_0x176eb5){this[_0x43d00e(0x406)][_0x43d00e(0x428)](),this[_0x43d00e(0x523)]();return;}const _0x170a3c=this[_0x43d00e(0x412)][_0x43d00e(0x29e)],_0x3df2f9=_0x170a3c[_0x43d00e(0x362)]?0x1:Math[_0x43d00e(0x290)](0x1,this[_0x43d00e(0x412)][_0x43d00e(0x4b7)]*2.5);this[_0x43d00e(0x1d8)](_0x3df2f9,_0x593c44,this['context'][_0x43d00e(0x438)][_0x43d00e(0x3c1)]);const _0x5b22f0={...this[_0x43d00e(0x2c5)][_0x43d00e(0x27f)]};if(this['stageLayer']instanceof HTMLCanvasLayer){const _0x1acae3={...this[_0x43d00e(0x2c5)][_0x43d00e(0x455)]()};this[_0x43d00e(0x363)][_0x43d00e(0x1ed)](_0x5b22f0),this[_0x43d00e(0x363)][_0x43d00e(0x29d)]({..._0x1acae3,'skewAngle':_0x5b22f0[_0x43d00e(0x4b4)],'rotationAngle':_0x5b22f0[_0x43d00e(0x3ba)]});}else throw new Error(_0x43d00e(0x2bd));this[_0x43d00e(0x363)][_0x43d00e(0x38f)]=!![],this[_0x43d00e(0x363)][_0x43d00e(0x523)]();});}else throw new Error(_0x353397(0x208));}[_0x19eb4e(0x1e8)](){const _0x2102eb=_0x19eb4e;if(this['context'][_0x2102eb(0x438)][_0x2102eb(0x325)]){const _0x405cc0=WebGLCanvasLayer[_0x2102eb(0x425)]();if(_0x405cc0)return new WebGLCanvasLayer(this[_0x2102eb(0x412)]);}return new HTMLCanvasLayer(this[_0x2102eb(0x412)]);}},getOffset=_0x28d1bf=>{const _0x2f59ab=_0x19eb4e,_0x1bf4ae=_0x28d1bf[_0x2f59ab(0x23f)](),_0x12844e=document[_0x2f59ab(0x306)];let _0x31679f=window[_0x2f59ab(0x2ca)],_0x1371b2=window[_0x2f59ab(0x367)];return _0x12844e&&(_0x31679f=_0x31679f||_0x12844e[_0x2f59ab(0x1b9)],_0x1371b2=_0x1371b2||_0x12844e[_0x2f59ab(0x2f3)]),{'top':_0x1bf4ae['top']+_0x1371b2,'left':_0x1bf4ae[_0x2f59ab(0x1c9)]+_0x31679f};},getSeatsWithUpdatedCoords=({seats:_0x1ed3f3,background:_0x1ac1be})=>_0x1ed3f3[_0x19eb4e(0x210)](_0x4b5c1f=>({..._0x4b5c1f,'x':_0x4b5c1f['x']-_0x1ac1be[_0x19eb4e(0x341)]['x'],'y':_0x4b5c1f['y']-_0x1ac1be[_0x19eb4e(0x341)]['y']})),isGaOutline=_0x19b242=>{const _0x2a45ac=_0x19eb4e,_0x2ca953=_0x19b242[_0x2a45ac(0x214)](_0x2a45ac(0x20c));if(!_0x2ca953)return![];return!!_0x2ca953&&(_0x2ca953[_0x2a45ac(0x308)](_0x2a45ac(0x391))!==-0x1||_0x2ca953[_0x2a45ac(0x308)]('sm-table')!==-0x1||_0x2ca953[_0x2a45ac(0x308)](_0x2a45ac(0x1b6))!==-0x1);},isSectionOutline=_0x341f33=>{const _0x5e4df4=_0x19eb4e,_0x4671b0=_0x341f33[_0x5e4df4(0x214)](_0x5e4df4(0x20c));if(!_0x4671b0)return![];return!!_0x4671b0&&_0x4671b0[_0x5e4df4(0x308)](OUTLINE_CLASS)!==-0x1;};import{createMachine,guard,reduce,state,transition}from'robot3';var DEFAULT_SCALE=0x1,context=()=>({'scale':DEFAULT_SCALE,'isEagleView':![],'mode':'select','events':[]}),getSelectMode=({altKey:_0x3369fe,shiftKey:_0x111f05})=>{const _0x4b3a60=_0x19eb4e;if(_0x3369fe&&!_0x111f05)return'subtract';if(!_0x3369fe&&_0x111f05)return _0x4b3a60(0x3db);return'replace';},dragToSelect=(_0x2d6705,_0x34edd3)=>{const _0x5378c1=_0x19eb4e,_0x42b0e9={'type':'destRectSelect','selectMode':getSelectMode(_0x34edd3),'rect':{'x':_0x34edd3[_0x5378c1(0x226)]['x'],'y':_0x34edd3[_0x5378c1(0x226)]['y'],'width':_0x34edd3[_0x5378c1(0x209)]['x'],'height':_0x34edd3[_0x5378c1(0x209)]['y']},'isStart':_0x34edd3[_0x5378c1(0x4c3)]===_0x5378c1(0x3b4),'isFinish':_0x34edd3['type']===_0x5378c1(0x522),'isRowsMode':_0x2d6705[_0x5378c1(0x2ad)]===_0x5378c1(0x473)};return{..._0x2d6705,'events':[_0x42b0e9]};},dragToPan=(_0x5a6894,_0x456e39)=>{const _0x3f4200=_0x19eb4e,_0x15759b={'type':_0x3f4200(0x54b),'delta':_0x456e39[_0x3f4200(0x209)],'isStart':_0x456e39[_0x3f4200(0x4c3)]===_0x3f4200(0x3b4),'isFinish':_0x456e39[_0x3f4200(0x4c3)]===_0x3f4200(0x522)};return{..._0x5a6894,'events':[_0x15759b]};},click=(_0x2f9171,_0x56605e)=>{const _0xb64648=_0x19eb4e;var _0x233f3b;let _0x5621aa=[];const _0x2c25a5=_0x2f9171[_0xb64648(0x2ad)]===_0xb64648(0x43d);if(_0x2c25a5&&_0x2f9171[_0xb64648(0x3ea)])_0x5621aa=[{'type':_0xb64648(0x3f9),'scale':DEFAULT_SCALE,'origin':_0x56605e[_0xb64648(0x29b)]}];else{if(_0x2c25a5){}else{if((_0x233f3b=_0x56605e[_0xb64648(0x48d)])==null?void 0x0:_0x233f3b['ga'])_0x5621aa=[{'type':_0xb64648(0x45c),'point':_0x56605e[_0xb64648(0x29b)],'section':_0x56605e['section']}];else{if(_0x56605e[_0xb64648(0x3e7)])_0x5621aa=[{'type':_0xb64648(0x225),'selectMode':getSelectMode(_0x56605e),'point':_0x56605e[_0xb64648(0x29b)],'seat':_0x56605e[_0xb64648(0x3e7)],'isRowsMode':_0x2f9171[_0xb64648(0x2ad)]===_0xb64648(0x473)}];else getSelectMode(_0x56605e)===_0xb64648(0x536)&&(_0x5621aa=[{'type':_0xb64648(0x442)}]);}}}return{..._0x2f9171,'events':_0x5621aa};},updateHover=(_0x6d0034,_0x48f6a2,_0x3c9d66)=>{const _0x40d369=_0x19eb4e;if(_0x6d0034[_0x40d369(0x1f7)]&&_0x6d0034['hovered'][_0x40d369(0x235)]===_0x48f6a2&&_0x6d0034[_0x40d369(0x1f7)]['id']===_0x3c9d66['id'])return _0x6d0034;const _0x10078a=[];if(_0x6d0034['hovered'])switch(_0x6d0034[_0x40d369(0x1f7)][_0x40d369(0x235)]){case _0x40d369(0x3e7):_0x10078a[_0x40d369(0x445)]({'type':_0x40d369(0x2a8)});break;case _0x40d369(0x48d):_0x10078a['push']({'type':_0x40d369(0x2cb)});}switch(_0x48f6a2){case _0x40d369(0x3e7):_0x10078a[_0x40d369(0x445)]({'type':'destSeatMouseEnter','seat':_0x3c9d66,'isRowsMode':_0x6d0034[_0x40d369(0x2ad)]==='selectRows'});break;case'section':_0x10078a[_0x40d369(0x445)]({'type':_0x40d369(0x242),'section':_0x3c9d66});break;}return{..._0x6d0034,'hovered':{'targetType':_0x48f6a2,'id':_0x3c9d66['id']},'events':_0x10078a};},mouseMove=(_0x24bf36,_0x49d3e6)=>{const _0x493605=_0x19eb4e;var _0x3ca936;const _0x459195=_0x24bf36['mode']===_0x493605(0x43d);if(_0x459195)return _0x24bf36;if((_0x3ca936=_0x49d3e6[_0x493605(0x48d)])==null?void 0x0:_0x3ca936['ga'])return updateHover(_0x24bf36,_0x493605(0x48d),_0x49d3e6[_0x493605(0x48d)]);else{if(_0x49d3e6[_0x493605(0x3e7)])return updateHover(_0x24bf36,_0x493605(0x3e7),_0x49d3e6[_0x493605(0x3e7)]);else{if(_0x24bf36['hovered']){let _0x331a97;switch(_0x24bf36[_0x493605(0x1f7)][_0x493605(0x235)]){case _0x493605(0x3e7):_0x331a97={'type':_0x493605(0x2a8)};break;case'section':_0x331a97={'type':_0x493605(0x2cb)};break;}return{..._0x24bf36,'hovered':void 0x0,'events':[_0x331a97]};}}}return _0x24bf36;},contextChange=(_0x3233fa,_0x4e5fa7)=>{const {type:_0x37480e,..._0x3bdc81}=_0x4e5fa7;return{..._0x3233fa,..._0x3bdc81};},contextChangeTransition=transition(_0x19eb4e(0x490),_0x19eb4e(0x270),reduce(contextChange)),isSelectMode=_0x5b61fe=>_0x5b61fe[_0x19eb4e(0x2ad)]==='select'||_0x5b61fe[_0x19eb4e(0x2ad)]===_0x19eb4e(0x473),machine=createMachine({'idle':state(contextChangeTransition,transition(_0x19eb4e(0x283),_0x19eb4e(0x270),reduce(click)),transition('srcDragStart',_0x19eb4e(0x257),reduce(dragToSelect),guard(isSelectMode)),transition(_0x19eb4e(0x3b4),'panning',reduce(dragToPan)),transition(_0x19eb4e(0x405),'idle',reduce(mouseMove))),'panning':state(contextChangeTransition,transition('srcDragMove','panning',reduce(dragToPan)),transition(_0x19eb4e(0x522),_0x19eb4e(0x270),reduce(dragToPan))),'selecting':state(contextChangeTransition,transition(_0x19eb4e(0x354),_0x19eb4e(0x257),reduce(dragToSelect)),transition(_0x19eb4e(0x522),'idle',reduce(dragToSelect)))},context),machine_default=machine,COLOR_UNAVAILABLE=_0x19eb4e(0x1f1),DEFAULT_SIZE=0x18,theme={'gridStep':0xe,'bgColor':_0x19eb4e(0x241),'priceColors':[[_0x19eb4e(0x3e3),_0x19eb4e(0x385),_0x19eb4e(0x47b),'#2196F3',_0x19eb4e(0x24e),_0x19eb4e(0x3f0),_0x19eb4e(0x256),_0x19eb4e(0x398),_0x19eb4e(0x2ef),_0x19eb4e(0x368),'#FF5722',_0x19eb4e(0x278),_0x19eb4e(0x3eb)],[_0x19eb4e(0x321)],['#2196F3','#FFC107'],[_0x19eb4e(0x385),_0x19eb4e(0x321),_0x19eb4e(0x2ef)]],'colorCategories':[_0x19eb4e(0x3e3),_0x19eb4e(0x385),_0x19eb4e(0x47b),_0x19eb4e(0x321),_0x19eb4e(0x24e),_0x19eb4e(0x3f0),_0x19eb4e(0x256),_0x19eb4e(0x398),'#FFC107',_0x19eb4e(0x368),_0x19eb4e(0x516),_0x19eb4e(0x278),_0x19eb4e(0x3eb)],'seatStyles':{'default':{'size':DEFAULT_SIZE,'color':COLOR_UNAVAILABLE,'seatName':{'font':_0x19eb4e(0x1eb),'color':_0x19eb4e(0x4c7)},'accessible':{'size':DEFAULT_SIZE,'color':COLOR_UNAVAILABLE,'imageId':_0x19eb4e(0x39f)}},'unavailable':{'size':0x6,'color':COLOR_UNAVAILABLE},'filtered':{'size':0xa,'color':COLOR_UNAVAILABLE},'hovered':{'size':DEFAULT_SIZE,'color':COLOR_UNAVAILABLE,'seatName':{'font':_0x19eb4e(0x1eb),'color':'#fff'},'stroke':{'width':0x2,'color':_0x19eb4e(0x2ff),'align':'inside'}},'selected':{'size':DEFAULT_SIZE,'color':COLOR_UNAVAILABLE,'stroke':{'width':0x2,'color':'#444','align':'inside'},'seatName':{'font':'11px\x20Roboto,\x20Arial,\x20sans-serif','color':_0x19eb4e(0x2d7)}}},'svgSectionStyles':{'default':{},'unavailable':{},'hovered':{},'selected':{}}},theme_default2=theme,defaults={'debounceDelay':0x190,'zoomAnimationDuration':0x190,'seatSelectionMinZoom':0.66,'theme':theme_default2,'onBeforeSeatDraw':_0x128a9b=>{const _0x3307e4=_0x19eb4e;var _0x57f3f6,_0x3d5788,_0x5d8939,_0x33deaf;const _0x1fdbe1=Object[_0x3307e4(0x2c0)]({},_0x128a9b[_0x3307e4(0x2a3)]),_0x12cb2e=(_0x57f3f6=_0x128a9b[_0x3307e4(0x412)][_0x3307e4(0x438)][_0x3307e4(0x23b)])==null?void 0x0:_0x57f3f6[_0x3307e4(0x27c)];if((((_0x3d5788=_0x128a9b['seat'][_0x3307e4(0x1db)])==null?void 0x0:_0x3d5788[_0x3307e4(0x486)])||((_0x5d8939=_0x128a9b['seat'][_0x3307e4(0x1db)])==null?void 0x0:_0x5d8939[_0x3307e4(0x486)])===0x0)&&(_0x12cb2e==null?void 0x0:_0x12cb2e[_0x3307e4(0x362)])){if((_0x33deaf=_0x128a9b[_0x3307e4(0x412)][_0x3307e4(0x275)])==null?void 0x0:_0x33deaf[_0x128a9b[_0x3307e4(0x3e7)][_0x3307e4(0x1db)][_0x3307e4(0x486)]])_0x1fdbe1[_0x3307e4(0x2b6)]=_0x128a9b[_0x3307e4(0x412)][_0x3307e4(0x275)][_0x128a9b[_0x3307e4(0x3e7)][_0x3307e4(0x1db)]['category']];else _0x1fdbe1[_0x3307e4(0x2b6)]=_0x12cb2e[_0x128a9b[_0x3307e4(0x3e7)][_0x3307e4(0x1db)][_0x3307e4(0x486)]%_0x12cb2e[_0x3307e4(0x362)]];}return _0x1fdbe1;}},defaults_default=defaults,SeatmapAdminRenderer=class extends Renderer{constructor(_0x3b214a,_0x446643){const _0x344abe=_0x19eb4e;super(_0x3b214a,machine_default,mergeSettings(defaults_default,_0x446643));const _0x4d1ce7=_0x446643&&_0x446643['env'];let _0x59dd5f='';switch(_0x4d1ce7){case _0x344abe(0x566):_0x59dd5f=window[_0x344abe(0x47e)]['origin']+_0x344abe(0x340);break;case _0x344abe(0x4a4):_0x59dd5f=_0x344abe(0x262);break;default:_0x59dd5f='https://booking.seatmap.pro/api/public/v1.0/';}const _0x38ed4c=_0x446643&&_0x446643[_0x344abe(0x32a)]||_0x59dd5f,_0x107097=_0x446643&&_0x446643[_0x344abe(0x2ea)];if(!_0x107097)throw new Error(_0x344abe(0x2c6));this['apiClient']=new BookingApiClient({'baseUrl':_0x38ed4c,'publicKey':_0x107097,'debug':_0x446643==null?void 0x0:_0x446643['debug']});}[_0x19eb4e(0x30f)](_0x4ca15e){const _0x5311e4=_0x19eb4e;return super['setMode'](_0x4ca15e),this['outlineLayer']?(_0x4ca15e===_0x5311e4(0x43d)?this[_0x5311e4(0x406)]['hide']():this[_0x5311e4(0x406)][_0x5311e4(0x428)](),!![]):![];}async[_0x19eb4e(0x349)](_0x194530){const _0x5835fd=_0x19eb4e,_0x13feed=await this['apiClient']['fetchSchemaForEvent'](_0x194530);await this[_0x5835fd(0x26c)](_0x13feed);}async[_0x19eb4e(0x41c)](_0x1b3039){const _0x51f049=_0x19eb4e,_0x4a8e71=await this['apiClient']['fetchSchema'](_0x1b3039);await this[_0x51f049(0x26c)](_0x4a8e71);}};import{nanoid}from'nanoid';var STATS_URL='https://stat.seatmap.pro',isLocalhost=()=>location[_0x19eb4e(0x1f0)]===_0x19eb4e(0x45b)||location['hostname']===_0x19eb4e(0x2f5)||location[_0x19eb4e(0x1f0)]===_0x19eb4e(0x409),BookingStats=class{constructor(){const _0x76a588=_0x19eb4e;this[_0x76a588(0x3e2)]=-0x1,this['requestNumber']=0x0,this['sessionId']=nanoid(),this[_0x76a588(0x32f)]=Date[_0x76a588(0x376)]();}[_0x19eb4e(0x437)](_0x1a1df7,_0x2d561f){const _0x54d53b=_0x19eb4e;if(isLocalhost())return;const _0x454c1f={..._0x2d561f,'sessionId':this[_0x54d53b(0x2ce)],'requestNumber':++this[_0x54d53b(0x4b8)]},_0x65c679=new Request(STATS_URL+_0x1a1df7,{'method':_0x54d53b(0x53f),'body':JSON[_0x54d53b(0x2f2)](_0x454c1f),'mode':'no-cors'});fetch(_0x65c679);}[_0x19eb4e(0x3df)](_0x538365){const _0x15cfb8=_0x19eb4e,_0x1534a0={'eventId':this[_0x15cfb8(0x302)],'seatCount':this[_0x15cfb8(0x324)],'availableSeatCount':this[_0x15cfb8(0x3bb)],'schemaRequestTime':this[_0x15cfb8(0x1ec)],'schemaResponseSize':this[_0x15cfb8(0x53e)],'pricesRequestTime':this[_0x15cfb8(0x403)],'pricesResponseSize':this[_0x15cfb8(0x485)],'viewBox':_0x538365,'screenWidth':window[_0x15cfb8(0x551)][_0x15cfb8(0x3d1)],'screenHeight':window[_0x15cfb8(0x551)][_0x15cfb8(0x51f)],'initTime':this['initTime'],'pathUrl':this[_0x15cfb8(0x246)],'eventName':this['eventName'],'tags':this[_0x15cfb8(0x3e0)]};this[_0x15cfb8(0x437)]('/init',_0x1534a0);}[_0x19eb4e(0x488)](_0x3d973c){const _0x2021d0=_0x19eb4e;this[_0x2021d0(0x437)](_0x2021d0(0x32d),{'viewBox':_0x3d973c});}[_0x19eb4e(0x1d9)](_0x5d98c9){const _0x34b9f4=_0x19eb4e;this[_0x34b9f4(0x437)](_0x34b9f4(0x35e),_0x5d98c9);}[_0x19eb4e(0x3af)](_0x50ed8a){const _0x3a9db1=_0x19eb4e;this[_0x3a9db1(0x437)](_0x3a9db1(0x483),_0x50ed8a);}},COLOR_UNAVAILABLE2=_0x19eb4e(0x1f1),DEFAULT_SIZE2=0x10,ACCESSIBLE_INCREASE_INDEX=1.625,theme2={'gridStep':0xe,'bgColor':'#f7f7f7','priceColors':[[_0x19eb4e(0x3e3),_0x19eb4e(0x385),_0x19eb4e(0x47b),_0x19eb4e(0x321),_0x19eb4e(0x24e),'#009688',_0x19eb4e(0x256),_0x19eb4e(0x398),_0x19eb4e(0x2ef),'#FF9800',_0x19eb4e(0x516),_0x19eb4e(0x278),_0x19eb4e(0x3eb)],[_0x19eb4e(0x321)],['#2196F3','#FFC107'],[_0x19eb4e(0x385),_0x19eb4e(0x321),_0x19eb4e(0x2ef)]],'images':{'checkmark':_0x19eb4e(0x317),'star':'<svg\x20width=\x2216\x22\x20height=\x2216\x22\x20fill=\x22none\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M8\x200l2.163\x205.023\x205.445.505-4.108\x203.61\x201.202\x205.334L8\x2011.68l-4.702\x202.792L4.5\x209.137.392\x205.527l5.445-.504L8\x200z\x22\x20fill=\x22#fff\x22/></svg>','accessible':_0x19eb4e(0x1ef),'loading':_0x19eb4e(0x552),'error':_0x19eb4e(0x433)},'seatStyles':{'default':{'size':DEFAULT_SIZE2,'color':COLOR_UNAVAILABLE2,'accessible':{'size':DEFAULT_SIZE2*ACCESSIBLE_INCREASE_INDEX,'color':COLOR_UNAVAILABLE2,'imageId':_0x19eb4e(0x39f)}},'unavailable':{'size':0x6,'color':COLOR_UNAVAILABLE2},'filtered':{'size':0xa,'color':COLOR_UNAVAILABLE2},'hovered':{'size':0x26,'color':COLOR_UNAVAILABLE2,'seatName':{'font':_0x19eb4e(0x204),'color':_0x19eb4e(0x4c7)}},'selected':{'size':0x2a,'color':COLOR_UNAVAILABLE2,'imageId':'checkmark','shadow':{'blur':0x14,'color':_0x19eb4e(0x44e)}},'loading':{'size':0x2a,'color':_0x19eb4e(0x321),'imageId':_0x19eb4e(0x4cf),'shadow':{'blur':0x14,'color':_0x19eb4e(0x44e)}},'error':{'size':0x2a,'color':'#F44336','imageId':_0x19eb4e(0x265),'shadow':{'blur':0x14,'color':'rgba(0,\x200,\x200,\x200.3)'}}},'svgSectionStyles':{'default':{},'unavailable':{'bgColor':_0x19eb4e(0x3d5)},'hovered':{'bgColor':'#c7c7c7','stroke':{'color':_0x19eb4e(0x321),'width':_0x19eb4e(0x2e0),'opacity':0x1},'cursor':_0x19eb4e(0x507)},'selected':{'bgColor':_0x19eb4e(0x3d5),'stroke':{'color':_0x19eb4e(0x321),'opacity':0x1}}}},theme_default3=theme2,defaultVisibilityLevel=0.66,minZoom=0x0,maxZoom=0x64,defaults2={'debounceDelay':0x190,'zoomAnimationDuration':0x190,'transformAnimationDuration':0x3e8,'seatSelectionMinZoom':defaultVisibilityLevel,'theme':theme_default3,'zoomSettings':{'presets':[0.5,0x1,0x2],'maxZoomToFitScale':0x1,'minPinchZoom':0.5,'maxPinchZoom':0x2},'visibilitySettings':{'seats':{'visible':{'from':minZoom,'to':maxZoom},'selectable':{'from':defaultVisibilityLevel,'to':maxZoom}},'outlines':{'visible':{'from':minZoom,'to':defaultVisibilityLevel},'selectable':{'from':minZoom,'to':defaultVisibilityLevel}}},'onBeforeSeatDraw':_0x352019=>{const _0x1f8c42=_0x19eb4e,_0x562971=Object[_0x1f8c42(0x2c0)]({},_0x352019[_0x1f8c42(0x2a3)]);return _0x352019[_0x1f8c42(0x3e7)][_0x1f8c42(0x22b)]&&!_0x352019[_0x1f8c42(0x3e7)][_0x1f8c42(0x441)]&&!_0x352019[_0x1f8c42(0x3e7)][_0x1f8c42(0x2af)]&&(_0x562971[_0x1f8c42(0x2b6)]=_0x352019['context'][_0x1f8c42(0x2a6)][Number(_0x352019[_0x1f8c42(0x3e7)]['priceId'])][_0x1f8c42(0x2b6)]),_0x562971;},'lockedSeatsFilter':_0x1a1c97=>!_0x1a1c97[_0x19eb4e(0x22b)]},defaults_default2=defaults2;function _0x35d0(){const _0x430678=['onSeatsDeselect','TRIANGLES','createTexture','srcDragStart','No\x20SVG','renderGaTitles','SEAT_MOUSE_ENTER','getRows','handleDestPan','rotationAngle','availableSeatCount','requestTime','disableCartInteractions','arc','gaInfo','spinnerAnimationId','transformAnimationDuration','onRedrawEnd','1477227HEZMIs','outlineShapes','outlines','sectorId','hidden','addSeatsToCart','uniform1f','Images\x20are\x20not\x20available,\x20switching\x20to\x20HTML5\x20canvas\x20mode','strokeStyle','\x20on\x20scheme!','padding','1310030zFcpDl','getSectionsWithCoords','renderContent','width','isGa','getSectionId','fetchPricesForEvent','#c7c7c7','createSeatsVertexShader','querySelector','getShaderInfoLog','onSeatSelectionChange','getPositionByOffset','add','resolutionLocation','removeFilter','TEXTURE0','sendInit','tags','eventName','initTime','#9C27B0','isSeatVisible','classList','DRAG_START','seat','renderHoveredSeat','env','isEagleView','#E91E63','setAnimateSection','Problem\x20SVG:','CLAMP_TO_EDGE','_renderSeat','#009688','reverseRotationAnimation','scaleLocationImage','disableSvgSectionsByIds','minPinchZoom','responseSize','createShader','warn','setPricesData','destPanZoom','animationStep','middle','groupSize','addSpinningSeat','setSectionCoords','getMaxZoom','calculateAbsolutePoint','within','visibility','pricesRequestTime','COLOR_BUFFER_BIT','srcMouseMove','outlineLayer','setupBuffer','2hWPsIo','0.0.0.0','fetchSchemaForVenue','handleDestSectionClick','scaleUniform','test','guid','18px\x20Arial','stroke-width','isStart','context','imageId','\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga[outer-highlight=\x221\x22]\x20>\x20path:not([data-seatmap-ga])\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','getContext','sort','uniform1fv',',\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','resetCategories','37727833XbgDhO','texParameteri','loadSchema','extractSVGBackgroundOutlines','onSectionClick','restore','hoveredRow','getSections','LINEAR','updateSize','startSpinnerAnimation','isWebGlAvailable','stroke','setBackgroundGeometry','show','filterSeatsByKeys','getElementsByTagName','createOutlineRect','createBuffer','bindBuffer','seatmap','STATIC_DRAW','relativeTranslate','isSeatInCart','isSectionSelected','<svg\x20width=\x2218\x22\x20height=\x2218\x22\x20viewBox=\x220\x200\x2018\x2018\x22\x20fill=\x22none\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<circle\x20cx=\x229\x22\x20cy=\x229\x22\x20r=\x228\x22\x20stroke=\x22#fff\x22\x20stroke-width=\x222\x22/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<path\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20d=\x22M6.5\x2011.5\x20L11.5\x206.5\x20M6.5\x206.5\x20L11.5\x2011.5\x22\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20stroke=\x22#fff\x22\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20stroke-width=\x222\x22\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20stroke-linecap=\x22round\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20/>\x0a\x20\x20\x20\x20\x20\x20</svg>','filterSvgSectionsByIds','a_texCoord','fillStyle','request','settings','\x20animation\x20issue\x20occured.','clearColor','ids','63AIaOIx','pan','imageSmoothingEnabled','cleanSvgInlineStyles','finish','filtered','destDeselect','a_position','Attribute','push','showOutlineLayerOnAnimation','keys','STENCIL_BUFFER_BIT','resetSectionViewState','data-section-id','clearSectionFocus','getOutlineRects','splice','rgba(0,\x200,\x200,\x200.3)','texcoordBuffer','hammer','bufferData','RGBA','duration','onSeatMouseLeave','getAnimationState','requestPlain','viewport','substring','getVisibilityStatuses','=\x221\x22]\x20>\x20path:not([data-seatmap-ga])\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','localhost','destSectionClick','src','createImageVertexShader','parse','filterSeatsByIds','sqrt','spinningSeats','uniformIconAtlas','onerror','createProgram','handlePinch','stopPropagation','updateBackground','enableSvgSectionsByIds','selectSeats','sectors','clientWidth','outer-highlight','imageProgram','iconAtlas','999','setBackgroundAsOutline','configuration','selectRows','SRC_ALPHA','zoomAnimationDuration','getBBox','stranslateUniform','sectionName','uniform2fv','hasChildNodes','#3F51B5','getViewBox','createSeatImages','location','btoa','onRedrawStart','TABLE','hideSeats','/seat/deselect','shadowBlur','pricesResponseSize','category','altKey','sendViewBox','object','getCartSeats','images','handleTouchStart','section','lockedSeatsFilter','getSeatSelection','contextchange','crossOrigin','rotationAnimation','VERTEX_SHADER','contains','find','cachedDraw','hoveredSeat','priceCategories','highlightSection','apiClient','animateend','drawCanvas','font','event/schema/?id=','firstChild','textBaseline','SVG\x20viewbox\x20not\x20defined','handleDestPanZoom','Table\x20id','stage','path','enable','rows','setPricesDTO','useProgram','Shader\x20compilation\x20error','addHandlers','\x0a\x20\x20\x20\x20.','values','_seats','offsetWidth','SVG\x20image\x20load\x20error','\x22]\x20>\x20rect','buttons','SeatmapBookingRenderer\x20constructor','skewAngle','forEach','cos','scale','requestNumber','addClassName','getSvgSectionBySelection','toString','message','seatsPrices','onBeforeSeatDraw','createObjectURL','isTouchMode','zoomOut','zoomToDestination','type','removeEventListener','disableZoomToEmptySpace','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20stroke:\x20#2196f3;\x0a\x20\x20\x20\x20\x20\x20\x20\x20fill:\x20#2196f314;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','#fff','destroy','seatsByRowId','deltaY','positionLocationImage','svgElement','rowIds','seatStyles','checkmark','DEPTH_BUFFER_BIT','bottom','head','TEXTURE_WRAP_T','handleDestSeatCartSwitch','green','resetAll','isRowsMode','startPanAnimation','DRAG_END','enableVertexAttribArray','canvas','SEAT_SELECT','fromScale','maxY','cart','childNodes','isAccessible','split','removeGaFromCart','includes','isSpinningSeat','uniform1i','onSeatDeselect','textContent','clearRect','POINTS','reverse','filterSvgSectionById','enableSectionsByIds','findSeatByKey','focus','tap','has','clearCart','activeTexture','createElementNS','statusText','drawArrays','mousemove','setHovered','transform','toScale','seatKeysToIds','addSeatToCart','getSeats','attribute\x20vec2\x20a_position;\x0aattribute\x20vec2\x20a_texCoord;\x0a\x0auniform\x20vec2\x20u_resolution;\x0a\x0auniform\x20float\x20u_scale;\x0auniform\x20vec2\x20u_translate;\x0auniform\x20mat4\x20u_matrix;\x0avarying\x20vec2\x20v_texCoord;\x0a\x0avoid\x20main()\x20{\x0a\x20\x20\x20\x20//\x20convert\x20the\x20rectangle\x20from\x20pixels\x20to\x200.0\x20to\x201.0\x0a\x20\x20\x20\x20vec2\x20zeroToOne\x20=\x20a_position\x20/\x20u_resolution\x20*\x20u_scale\x20+\x20u_translate/u_resolution;\x0a\x0a\x20\x20\x20\x20//\x20convert\x20from\x200->1\x20to\x200->2\x0a\x20\x20\x20\x20vec2\x20zeroToTwo\x20=\x20zeroToOne\x20*\x202.0;\x0a\x0a\x20\x20\x20\x20//\x20convert\x20from\x200->2\x20to\x20-1->+1\x20(clipspace)\x0a\x20\x20\x20\x20vec2\x20clipSpace\x20=\x20zeroToTwo\x20-\x201.0;\x0a\x0a\x20\x20\x20\x20gl_Position\x20=\x20vec4(clipSpace\x20*\x20vec2(1,\x20-1),\x200,\x201);\x0a\x0a\x20\x20\x20\x20//\x20pass\x20the\x20texCoord\x20to\x20the\x20fragment\x20shader\x0a\x20\x20\x20\x20//\x20The\x20GPU\x20will\x20interpolate\x20this\x20value\x20between\x20points.\x0a\x20\x20\x20\x20v_texCoord\x20=\x20a_texCoord;\x0a}','imageSmoothingQuality','setSectionSelection','seatsPositionBuffer','toLowerCase','auto','\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga[','Shader\x20compilation\x20error:','top','pointer','zIndex','lastFrameTime','parseFromString','updateAnimationStep','createStatsSeatRequest','unpackSchemaDTO','handleDestSectionMouseEnter','zoomToSection','calculateLimit','u_resolution','loading','getPricesDTO','hide','stroke-opacity','#FF5722','enableDebugTools','seatName','handleDestSectionMouseLeave','fetchSchema','outline','sm-bind-ga','remove','\x20{\x0a\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20stroke-width:\x201px;\x0a\x20\x20\x20\x20\x20\x20stroke-opacity:\x200.5;\x0a\x20\x20\x20\x20\x20\x20vector-effect:\x20non-scaling-stroke;\x0a\x20\x20\x20\x20\x20\x20transition:\x20stroke\x20100ms\x20ease-in-out;\x0a\x20\x20\x20\x20}\x0a\x20\x20','height','changeMachineContext','selectedGaId','srcDragEnd','redraw','removeSeatsFromCartByIds','visible','svgString','getGaSectors','\x0a\x20\x20\x20\x20\x20\x20.sm-eagle-view\x20.','stageWidthUniform','u_scale','calculatedOutlineRects','getCoordsAfterRotation','hideSelectionRect','getSectionUpdatedCoords','highlightGa','drawSceneBackground','disableSvgSectionsByNames','update','set','pageY','visibilityManager','replace','appendChild','getNextScale','DIRECTION_ALL','appendGAOutlines','zoomToFitScale','prices','offsetX','schemaResponseSize','POST','emitSrcEvent','REPLACE','[outer-highlight=\x221\x22],\x0a\x20\x20\x20\x20\x20\x20.sm-shape-ga[outer-highlight=\x221\x22],\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga[outer-highlight=\x221\x22]\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20stroke:\x20#2196f3;\x0a\x20\x20\x20\x20\x20\x20\x20\x20fill:\x20#2196f314;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','setCenterPoint','isOutlineVisible','positionBuffer','px\x22\x20height=\x22','setRotationAngle','ctx','Section\x20','destSeatMouseEnter','destPan','rowId','133pHvZlV',')\x20rotate(','blur','isArray','screen','<svg\x20width=\x2218\x22\x20height=\x2218\x22\x20viewBox=\x220\x200\x2018\x2018\x22\x20fill=\x22none\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M9\x201C13.4183\x201\x2017\x204.58172\x2017\x209C17\x2013.4183\x2013.4183\x2017\x209\x2017C4.58172\x2017\x201\x2013.4183\x201\x209\x22\x20stroke=\x22#fff\x22\x20stroke-width=\x222\x22\x20stroke-linecap=\x22round\x22/></svg>','checkBackgroundOutlines','restoreIds','underlay','name','data:image/svg+xml;base64,','sin','Unable\x20to\x20create\x20shader','texture','display','px\x20Arial','seatSize','440960KEzNkX','maxX','handleDebouncedSeatChange','data-seatmap-ga','getOffsetByPosition','handleWindowResize','destSeatCartSwitch','removeSpinningSeat','local','seatSelectionMinZoom',',\x0a\x20\x20\x20\x20\x20\x20.','FLOAT','Program\x20linking\x20failed','afterCartUpdate','seatsProgram','stageHeightUniform','lineWidth','initialPadding','querySelectorAll','sm-binded-ga','element','fixed','scrollLeft','\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga\x20>\x20path:not([data-seatmap-ga]):hover\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','calculateRelativeScaledLimitedTranslate','touchstart','pow','FRAGMENT_SHADER','normalizePinchScale','SVG\x20parsing\x20error:\x20','panmove','uniform4fv','image/svg+xml','UNSIGNED_BYTE','redefined','translate(-50%,\x20-50%)','high','inProgress','left','disableSeatsByIds','panning','SUBTRACT','sizeBuffer','lastChild','devicePixelRatio','sectionsGroups','showSelectionRect','isFinish','renderSelectionRect','userAgent','dpr','data-ga-unavailable','offscreenCanvas','startAnimation','sendSeatSelect','onZoomEnd','special','resolve','disableSectionsByIds','priceCategories\x20is\x20not\x20an\x20array\x20or\x20is\x20undefined','fromTranslate','trim','229160aCTLCA','renderSelectedSeat','red','seatsIndex','cursor','removeFilterSvgSectionsByIds','background','getStageLayer','<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22></svg>','sectionsById','11px\x20Roboto,\x20Arial,\x20sans-serif','schemaRequestTime','setTransformationState','anonymous','<svg\x20width=\x2214\x22\x20height=\x2216\x22\x20viewBox=\x220\x200\x2011\x2013\x22\x20fill=\x22none\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M5.22765\x203.42832C4.91123\x203.42832\x204.60776\x203.3004\x204.38401\x203.0727C4.16027\x202.845\x204.03457\x202.53617\x204.03457\x202.21416C4.03457\x201.89214\x204.16027\x201.58332\x204.38401\x201.35562C4.60776\x201.12792\x204.91123\x201\x205.22765\x201C5.54408\x201\x205.84754\x201.12792\x206.07129\x201.35562C6.29504\x201.58332\x206.42074\x201.89214\x206.42074\x202.21416C6.42074\x202.53617\x206.29504\x202.845\x206.07129\x203.0727C5.84754\x203.3004\x205.54408\x203.42832\x205.22765\x203.42832ZM5.22765\x203.42832V8.28495H7.61383L10\x2011.3204M5.22765\x205.85664H8.21037M2.84148\x206.16018C2.41406\x206.34031\x202.03366\x206.61916\x201.73038\x206.97467C1.42709\x207.33019\x201.20922\x207.75263\x201.094\x208.20859C0.97877\x208.66455\x200.969348\x209.14154\x201.06647\x209.60185C1.1636\x2010.0622\x201.3646\x2010.4932\x201.65361\x2010.8608C1.94261\x2011.2284\x202.31168\x2011.5226\x202.73165\x2011.7201C3.15162\x2011.9176\x203.61096\x2012.0129\x204.07338\x2011.9986C4.5358\x2011.9843\x204.9886\x2011.8607\x205.396\x2011.6376C5.8034\x2011.4146\x206.15423\x2011.0981\x206.42075\x2010.7133\x22\x20stroke=\x22white\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22/></svg>','hostname','#bbb','getSeatByOffset','deleteTexture','seatsById','\x0a\x20\x20\x20\x20\x20\x20.sm-shape-ga[','Error\x20in\x20request\x20to\x20','hovered','priceColorBuffer','setSeatsGeometry','subtract','toTranslate','hasBackgroundOutline','\x0a\x20\x20\x20\x20\x20\x20','TEXTURE_WRAP_S','No\x20seats\x20data','drawScene','nodeName','zoomToFit','.sm-bg-outlines','18px\x20Arial,\x20sans-serif','Error:\x20One\x20or\x20more\x20buffers\x20are\x20not\x20initialized.','seatsIdsMissedOnPriceSet','serializeToString','viewSection\x20is\x20not\x20implemented\x20for\x20WebGLLayer.','delta','u_iconAtlas','debounceDelay','class','isRunning','seatKey','shadowOffsetX','map','TEXTURE_MAG_FILTER','isDebug','texImage2D','getAttribute','toDataURL','priceColors','animatestart','setGroupSize','seatsAvailabilityBuffer','showRows','concat','parentElement','#999','msCrypto','BLEND','validate','\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga\x20>\x20path:not([data-seatmap-ga])\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','API\x20request\x20failed\x20with\x20status\x20','number','SECTION_MOUSE_LEAVE','destSeatSelect','origin','removeChild','getSectorRectByOutline','onSeatsSelect','getShaderParameter','priceId','getHeight','addGaToCart','getProgramInfoLog','price','plainSeats','createElement','Error\x20when\x20choosing\x20a\x20seat:','handleDestSeatMouseLeave','onZoomStart','targetType','onSeatDebouncedEnter','getSeatIds','precision\x20mediump\x20float;\x0a\x0a//\x20our\x20texture\x0auniform\x20sampler2D\x20u_image;\x0a\x0a//\x20the\x20texCoords\x20passed\x20in\x20from\x20the\x20vertex\x20shader.\x0avarying\x20vec2\x20v_texCoord;\x0a\x0avoid\x20main()\x20{\x0a\x20\x20\x20\x20gl_FragColor\x20=\x20texture2D(u_image,\x20v_texCoord);\x0a}','beginPath','findNearestSeatGroup','theme','handleDestDeselect','default','...','getBoundingClientRect','linkProgram','#f7f7f7','destSectionMouseEnter','minX','_selectedSeatIds','getContextSvg','pathUrl','fill','SEAT_MOUSE_LEAVE','seatsKeysMissedOnPriceSet','repairSeat','blurred','gaCategories','join','#00BCD4','preview','repairGa','spinnerRotation','applySectionViewAnimation','bgColor','disableSvgSectionById','getZoom','#4CAF50','selecting','getExtension','send','full','deleteProgram','seatToExtendedSeat','panstart','venue/schema/?id=','angle','ARRAY_BUFFER','createOrGetOutlineShapes','https://booking.seatmap.dev/api/public/v1.0/','100%','getCategoryColor','error','frame','backgroundSVG','focusSection','u_translate','prevSeatVisibility','Seat\x20buffers\x20not\x20initialized','setSchemaData','px\x22\x20','resizeTimer','event/prices/?id=','idle','SECTION',':hover,\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga:hover\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','offsetHeight','center','categoriesColor','webgl','calculateLimitedTranslate','#F44336','call','sm-bg-outlines','calcOutlineRect','colorCategories','pinchstart\x20pinchmove\x20pinchend','PAN_ZOOM','sectionViewTransform','_selectedGaId','OES_standard_derivatives','updateOutlines','srcClick','isMarked','dprUniform','clear','sectionId','http://www.w3.org/2000/svg','onCartChange','\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','maxZoomToFitScale','shiftKey','ceil','rgba(0,\x200,\x200,\x20','overflow','min','findIndex','ICON_VALUES','texcoordLocation','resize','2310654lKlKIt','entries','crypto','fetchSchemaForEvent','presets','fillText','point','all','setAnimationState','seats','Failed\x20to\x20get\x20canvas\x20context','get','polyline','\x0a\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20fill:\x20transparent;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga\x20path[data-seatmap-ga]:hover\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','style','applySkew','uniform3fv','pricesById','seatImages','destSeatMouseLeave','createTextNode','groupOfSeats','removeSeatFromCart','iconUniforms','mode','setContextScale','locked','div','drawOnscreenCanvas','hasAttribute','onSeatMouseEnter','drawOffscreenCanvas','appendAutoAndGaOutlines','color','selectMode','shadow','addEventListener','rgba(33,\x20150,\x20243,\x200.1)','round','underlayBindedPathAttr','getAnimationState\x20is\x20not\x20implemented\x20for\x20this\x20layer','getCart','createImageFragmentShader','assign','handleChangeEagleView','restoreSeats','colorRGB','pinch','stageLayer','Public\x20key\x20is\x20undefined','pinchend','sm-outline-auto','updateSeatLocks','scrollX','destSectionMouseLeave','createMachineService','sm-background','sessionId','previousBackgroundElement','=\x221\x22]\x20path[data-seatmap-ga]\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','rowNumber','setHeight','ellipse','bindTexture','selectable','handleDestSeatSelect','#000','selected','enableSvgSectionById','drawImage','innerHTML','395041xSRDDQ','setAttribute','clientHeight','getGaSectionByOutline','3px','shadowColor','getSectionByOutline','seatToCartSeat','getMinZoom','rectSelectSeats','handleDestRectSelect','handleMouseMove','image/png','TEXTURE_2D','publicKey','deltaX','showUnavailableOutlines','rotate','body','#FFC107','rowsById','state','stringify','scrollTop','priceColorIndex','127.0.0.1','getWidth','initCart','getElementById','max','key','seatsPositions','calculateAbsoluteScaledTranslate','updateBackgroundImage','selectedSeatIds','#444','translateLocationImage','service','eventId','vertexAttribPointer','stats','uniform2f','documentElement','line','indexOf','Failed\x20to\x20load\x20seat\x20image\x20\x22','iconsUVMap','onPan','40zUSvbE','LINK_STATUS','createSeatsFragmentShader','setMode','block','isSeatSelectable','createGaInfo','pinchstart','log','onload','\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga[','<svg\x20width=\x2218\x22\x20height=\x2218\x22\x20fill=\x22none\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M1.5\x208.5l5\x205\x2010-10\x22\x20stroke=\x22#fff\x22\x20stroke-width=\x222\x22/></svg>','data-default-fill','slice','getPrices','getZoomPresets','polygon','onSeatsSelectionChange','offscreenCtx','shadowOffsetY','swipe','#2196F3','circle','sm-outline','seatCount','switchToWebGL','setGaCategory','fetchRowsSvgForEvent','position','data','baseUrl','target','outlineRect','/viewbox','pointer-events','initStartTime','cloneNode','size','getRowById','floor','gaFontScales','</svg>','u_iconTypes','getInitialScaleAndTranslate','svg','string','sm-outlines','Program\x20link\x20error:','getAttribLocation',')\x20translate(','data-gos-guid','filter','/api/public/v1.0/','viewBox','Failed\x20to\x20parse\x20API\x20response\x20as\x20JSON:\x20','handleDestSeatMouseEnter','text','animationPanStep','getUniformLocation','onSchemaDataLoaded','isTable','loadEvent','Seats\x20should\x20be\x20an\x20array\x20of\x20ids,\x20composite\x20keys\x20or\x20objects','visibilitySettings','isOutlineSelectable','drawPoint','disabled','updateGaFontScales','sectorIds','25%','<svg\x20','setUniforms','srcDragMove','TEXTURE_MIN_FILTER','calculateRelativeScaledTranslate','originalSvg','removeAttribute','originalSectionPrices','events','animation','shaderSource','setTransform','/seat/select','createHammer','&publicKey=','unavailable','length','selectionLayer','compileShader','backgroundElement','startTime','scrollY','#FF9800','rect','\x0a\x20\x20\x20\x20.sm-binded-ga,\x0a\x20\x20\x20\x20.sm-eagle-view\x20.','\x0a\x20\x20\x20\x20\x20\x20.sm-eagle-view\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20left:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20100%;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','_pricesDTO','Error\x20in\x20requestPlain\x20to\x20','onSectorMouseLeave','\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga[outer-highlight=\x221\x22]\x20path[data-seatmap-ga]\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','SECTION_CLICK','0.1','opacity','handleMouseMoveOutside','onSectorClick','\x0a\x20\x20\x20\x20\x20\x20\x20\x20','now','SECTION_MOUSE_ENTER','SVG\x20has\x20duplicate\x20attributes:\x20','svgSectionStyles','GET','getSectionElement','enableSvgSectionsByNames','viewSection','closest','setupShaderUniforms','sm-eagle-view','debug','marked','=\x221\x22]\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','u_iconUVs','#673AB7','setSelectedGa','priceColorIndexAttribute','rectSelectRows','getVisibleSeats\x20is\x20not\x20implemented\x20for\x20WebGLLayer.','iconsTypes','hasInitialDrawComplete','save','redrawHandler','initializeBackgroundOutline','sectionViewActive','translate','sm-shape-ga','setupBuffers','a_seatPosition','onSeatSelect','absolute','then','outlineSvg','#CDDC39','removeClassNameAll','clearSectionHighlight','range','href','from','clearTimeout','accessible','getPrevScale',',.sm-table,.sm-shape-ga,.sm-binded-ga','selectionRect','\x0a\x20\x20\x20\x20\x20\x20.sm-shape-ga,\x0a\x20\x20\x20\x20\x20\x20.sm-table,\x20\x0a\x20\x20\x20\x20\x20\x20.sm-eagle-view\x20.','gridStep','onSectorMouseEnter','getSectionRect','none','height=\x22','count','reduce','getVisibleSeats','50%','zoomSettings','pinchStartPoint','sendSeatDeselect','srcEvent'];_0x35d0=function(){return _0x430678;};return _0x35d0();}import{createMachine as _0xfd5c6d,state as _0x2c578c,transition as _0x176335,reduce as _0xbdbfe5}from'robot3';var DEFAULT_SCALE2=0x1,context2=()=>({'scale':DEFAULT_SCALE2,'isEagleView':![],'events':[]}),dragToPan2=(_0x2a2d3c,_0x1d1e73)=>{const _0x2ab06b=_0x19eb4e,_0x30afef={'type':_0x2ab06b(0x54b),'delta':_0x1d1e73['delta'],'isStart':_0x1d1e73[_0x2ab06b(0x4c3)]===_0x2ab06b(0x3b4),'isFinish':_0x1d1e73[_0x2ab06b(0x4c3)]==='srcDragEnd'};return{..._0x2a2d3c,'events':[_0x30afef]};},click2=(_0x15992e,_0x500c89)=>{const _0x5318bf=_0x19eb4e;var _0x4e9295,_0x5449a3,_0x55ebfb,_0x16d37b,_0x444169;let _0x269522=[];if((_0x4e9295=_0x500c89['section'])==null?void 0x0:_0x4e9295['ga'])_0x269522=[{'type':_0x5318bf(0x45c),'point':_0x500c89[_0x5318bf(0x29b)],'section':_0x500c89[_0x5318bf(0x48d)]}];else{if(((_0x5449a3=_0x500c89['section'])==null?void 0x0:_0x5449a3['price'])&&((_0x55ebfb=_0x500c89['section'])==null?void 0x0:_0x55ebfb['type'])===_0x5318bf(0x481))_0x269522=[{'type':'destSectionClick','point':_0x500c89[_0x5318bf(0x29b)],'section':_0x500c89[_0x5318bf(0x48d)]}];else{if((_0x16d37b=_0x15992e[_0x5318bf(0x402)])==null?void 0x0:_0x16d37b['outline']['selectable'])_0x269522=[{'type':_0x5318bf(0x3f9),'scale':DEFAULT_SCALE2,'origin':_0x500c89[_0x5318bf(0x29b)]}];else _0x500c89[_0x5318bf(0x3e7)]&&((_0x444169=_0x15992e['visibility'])==null?void 0x0:_0x444169[_0x5318bf(0x3e7)][_0x5318bf(0x2d5)])&&(_0x269522=[{'type':_0x5318bf(0x564),'point':_0x500c89[_0x5318bf(0x29b)],'seat':_0x500c89['seat']}]);}}return{..._0x15992e,'events':_0x269522};},updateHover2=(_0x239385,_0x25d467,_0x808676)=>{const _0x12c3db=_0x19eb4e;if(_0x239385['hovered']&&_0x239385['hovered']['targetType']===_0x25d467&&_0x239385['hovered']['id']===_0x808676['id'])return _0x239385;const _0x2694b4=[];if(_0x239385[_0x12c3db(0x1f7)])switch(_0x239385['hovered']['targetType']){case'seat':_0x2694b4[_0x12c3db(0x445)]({'type':'destSeatMouseLeave'});break;case _0x12c3db(0x48d):_0x2694b4[_0x12c3db(0x445)]({'type':'destSectionMouseLeave'});}switch(_0x25d467){case'seat':_0x2694b4[_0x12c3db(0x445)]({'type':_0x12c3db(0x54a),'seat':_0x808676});break;case'section':_0x2694b4[_0x12c3db(0x445)]({'type':'destSectionMouseEnter','section':_0x808676});break;}return{..._0x239385,'hovered':{'targetType':_0x25d467,'id':_0x808676['id']},'events':_0x2694b4};},mouseMove2=(_0x6c2997,_0x3da3a1)=>{const _0xc2577e=_0x19eb4e;var _0x4ea291,_0x520b1e,_0x12bc92;if((_0x4ea291=_0x3da3a1[_0xc2577e(0x48d)])==null?void 0x0:_0x4ea291['ga'])return updateHover2(_0x6c2997,_0xc2577e(0x48d),_0x3da3a1[_0xc2577e(0x48d)]);else{if(_0x3da3a1[_0xc2577e(0x48d)]&&((_0x520b1e=_0x6c2997[_0xc2577e(0x402)])==null?void 0x0:_0x520b1e[_0xc2577e(0x51b)][_0xc2577e(0x2d5)]))return updateHover2(_0x6c2997,_0xc2577e(0x48d),_0x3da3a1[_0xc2577e(0x48d)]);else{if(_0x3da3a1['seat']&&((_0x12bc92=_0x6c2997['visibility'])==null?void 0x0:_0x12bc92[_0xc2577e(0x3e7)]['selectable']))return updateHover2(_0x6c2997,'seat',_0x3da3a1[_0xc2577e(0x3e7)]);else{if(_0x6c2997[_0xc2577e(0x1f7)]){let _0x47fe23;switch(_0x6c2997['hovered'][_0xc2577e(0x235)]){case'seat':_0x47fe23={'type':'destSeatMouseLeave'};break;case _0xc2577e(0x48d):_0x47fe23={'type':'destSectionMouseLeave'};break;}return{..._0x6c2997,'hovered':void 0x0,'events':[_0x47fe23]};}}}}return _0x6c2997;},contextChange2=(_0x3ead46,_0x19682c)=>{const {type:_0x2af157,..._0x4eb0d1}=_0x19682c;return{..._0x3ead46,..._0x4eb0d1};},contextChangeTransition2=_0x176335(_0x19eb4e(0x490),_0x19eb4e(0x270),_0xbdbfe5(contextChange2)),machine2=_0xfd5c6d({'idle':_0x2c578c(contextChangeTransition2,_0x176335(_0x19eb4e(0x283),_0x19eb4e(0x270),_0xbdbfe5(click2)),_0x176335('srcDragStart',_0x19eb4e(0x1cb),_0xbdbfe5(dragToPan2)),_0x176335(_0x19eb4e(0x405),_0x19eb4e(0x270),_0xbdbfe5(mouseMove2))),'panning':_0x2c578c(contextChangeTransition2,_0x176335(_0x19eb4e(0x354),_0x19eb4e(0x1cb),_0xbdbfe5(dragToPan2)),_0x176335(_0x19eb4e(0x522),_0x19eb4e(0x270),_0xbdbfe5(dragToPan2)))},context2),machine_default2=machine2,round2=_0x205960=>Math[_0x19eb4e(0x2bb)](_0x205960*0x64)/0x64,SeatmapBookingRenderer=class extends Renderer{constructor(_0x1617f7,_0x4b25b7,_0x278f2c){const _0x24455f=_0x19eb4e;super(_0x1617f7,machine_default2,mergeSettings(defaults_default2,_0x4b25b7));(_0x4b25b7==null?void 0x0:_0x4b25b7[_0x24455f(0x381)])&&console['info'](_0x24455f(0x4b3),_0x4b25b7);this[_0x24455f(0x3e0)]=_0x278f2c;const _0x2c3ba7=_0x4b25b7&&_0x4b25b7[_0x24455f(0x3e9)];let _0x161542=window[_0x24455f(0x47e)][_0x24455f(0x226)]+'/api/public/v1.0/';switch(_0x2c3ba7){case _0x24455f(0x566):_0x161542=window[_0x24455f(0x47e)][_0x24455f(0x226)]+_0x24455f(0x340);break;case _0x24455f(0x4a4):_0x161542=_0x24455f(0x262);break;default:_0x161542='https://booking.seatmap.pro/api/public/v1.0/';}const _0x53fa3e=_0x4b25b7&&_0x4b25b7[_0x24455f(0x32a)]||_0x161542,_0x1a0ca5=_0x4b25b7&&_0x4b25b7[_0x24455f(0x2ea)];if(!_0x1a0ca5)throw new Error(_0x24455f(0x2c6));this['apiClient']=new BookingApiClient({'baseUrl':_0x53fa3e,'publicKey':_0x1a0ca5,'debug':_0x4b25b7==null?void 0x0:_0x4b25b7[_0x24455f(0x381)]});}['getViewBox'](){const _0x5c69ff=_0x19eb4e,_0x1b8bf1=window['devicePixelRatio'];return{'width':this[_0x5c69ff(0x2f6)](),'height':this[_0x5c69ff(0x22c)](),'scale':round2(this['context'][_0x5c69ff(0x4b7)]/_0x1b8bf1),'translateX':round2(this[_0x5c69ff(0x412)][_0x5c69ff(0x390)]['x']/_0x1b8bf1),'translateY':round2(this[_0x5c69ff(0x412)]['translate']['y']/_0x1b8bf1)};}async[_0x19eb4e(0x349)](_0x22c451,_0x13752b){const _0x1a2e69=_0x19eb4e;var _0x3b746b,_0x14cfe4;this[_0x1a2e69(0x304)]=new BookingStats(),this[_0x1a2e69(0x304)][_0x1a2e69(0x302)]=_0x22c451;let [_0x3f538e,_0x234485,_0x5827ab]=await Promise[_0x1a2e69(0x29c)]([this['apiClient'][_0x1a2e69(0x298)](_0x22c451),this[_0x1a2e69(0x49a)][_0x1a2e69(0x3d4)](_0x22c451),this[_0x1a2e69(0x49a)]['fetchRowsSvgForEvent'](_0x22c451)]);_0x13752b&&([_0x3f538e,_0x234485]=this['leaveSectionOnly'](_0x13752b,_0x3f538e,_0x234485));const _0x1c333b=this[_0x1a2e69(0x412)]['settings'][_0x1a2e69(0x3c2)];this[_0x1a2e69(0x412)]['settings']['onRedrawEnd']=()=>{const _0x98037e=_0x1a2e69;this[_0x98037e(0x304)][_0x98037e(0x3e2)]===-0x1?(this[_0x98037e(0x304)][_0x98037e(0x3e2)]=Date['now']()-this[_0x98037e(0x304)][_0x98037e(0x32f)],this[_0x98037e(0x304)][_0x98037e(0x3df)](this[_0x98037e(0x47c)]())):this['stats'][_0x98037e(0x488)](this[_0x98037e(0x47c)]());if(_0x1c333b)_0x1c333b();};if(!this[_0x1a2e69(0x20d)])return;const _0x90d945='\x0a\x20\x20\x20\x20<style>\x20\x0a\x20\x20\x20\x20\x20\x20#sm-rows\x20polyline\x20{\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20fill:\x20none;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20stroke:\x20#0958D9;\x0a\x20\x20\x20\x20\x20\x20\x20\x20stroke-width:\x2015px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20stroke-linecap:\x20round;\x0a\x20\x20\x20\x20\x20\x20}\x20\x20\x0a\x20\x20\x20\x20\x20\x20</style>\x0a\x20\x20\x20\x20';this[_0x1a2e69(0x412)][_0x1a2e69(0x438)]['showRows']&&((_0x3b746b=_0x3f538e['background'])==null?void 0x0:_0x3b746b[_0x1a2e69(0x338)])&&(_0x3f538e[_0x1a2e69(0x1e7)][_0x1a2e69(0x338)]=_0x3f538e['background']['svg'][_0x1a2e69(0x536)](_0x1a2e69(0x335),''+_0x90d945+_0x5827ab['data']+_0x1a2e69(0x335)));this[_0x1a2e69(0x26c)](_0x3f538e),this[_0x1a2e69(0x3f8)](_0x234485),this['context'][_0x1a2e69(0x4a8)](_0x234485),this['setExternalPrices'](),this[_0x1a2e69(0x304)][_0x1a2e69(0x324)]=this['context'][_0x1a2e69(0x29e)]['length'],this[_0x1a2e69(0x304)][_0x1a2e69(0x3bb)]=this[_0x1a2e69(0x412)][_0x1a2e69(0x29e)][_0x1a2e69(0x33f)](_0x566a95=>_0x566a95[_0x1a2e69(0x22b)])[_0x1a2e69(0x362)],this['stats'][_0x1a2e69(0x1ec)]=_0x3f538e[_0x1a2e69(0x3bc)],this[_0x1a2e69(0x304)][_0x1a2e69(0x53e)]=_0x3f538e[_0x1a2e69(0x3f5)],this['stats'][_0x1a2e69(0x403)]=_0x234485[_0x1a2e69(0x3bc)],this['stats'][_0x1a2e69(0x485)]=_0x234485['responseSize'],this[_0x1a2e69(0x304)][_0x1a2e69(0x246)]=window['location'][_0x1a2e69(0x39c)],this[_0x1a2e69(0x304)]['eventName']=(_0x14cfe4=_0x3f538e[_0x1a2e69(0x472)])==null?void 0x0:_0x14cfe4[_0x1a2e69(0x3e1)],this[_0x1a2e69(0x304)][_0x1a2e69(0x3e0)]=this[_0x1a2e69(0x3e0)];const _0xe0c1a0=this[_0x1a2e69(0x412)][_0x1a2e69(0x438)][_0x1a2e69(0x394)];this['context'][_0x1a2e69(0x438)][_0x1a2e69(0x394)]=async _0x2fcc44=>{const _0x31f0ad=_0x1a2e69;let _0x195eac=void 0x0;if(_0xe0c1a0)_0x195eac=await _0xe0c1a0(_0x2fcc44);return this[_0x31f0ad(0x304)]['sendSeatSelect'](this[_0x31f0ad(0x50c)](_0x2fcc44,_0x195eac!==![])),_0x195eac;};const _0x1234f4=this[_0x1a2e69(0x412)]['settings']['onSeatDeselect'];this[_0x1a2e69(0x412)]['settings'][_0x1a2e69(0x4e7)]=async _0x3f8be8=>{const _0x4a536b=_0x1a2e69;let _0x2286bd=void 0x0;if(_0x1234f4)_0x2286bd=await _0x1234f4(_0x3f8be8);return this[_0x4a536b(0x304)][_0x4a536b(0x3af)](this['createStatsSeatRequest'](_0x3f8be8,_0x2286bd!==![])),_0x2286bd;};}[_0x19eb4e(0x50c)](_0x26d853,_0x49386a){const _0x566f30=_0x19eb4e;return{'key':_0x26d853[_0x566f30(0x2fa)],'seatId':_0x26d853['id'],'sectionId':_0x26d853['sectionId'],'isSuccess':_0x49386a,'price':_0x26d853[_0x566f30(0x22f)],'ax':round2(_0x26d853['x']),'ay':round2(_0x26d853['y']),'viewBox':this['getViewBox']()};}['leaveSectionOnly'](_0x270302,_0xd1cd97,_0xdd7d02){const _0x590dd9=_0x19eb4e,_0x34bf0c=_0xd1cd97['seats']['filter'](_0x3660f7=>_0x3660f7[_0x590dd9(0x3c6)]===_0x270302),_0x2b0a90=_0xd1cd97['rows'][_0x590dd9(0x33f)](_0x4674a8=>_0x4674a8[_0x590dd9(0x3c6)]===_0x270302),_0x23004c=_0xd1cd97[_0x590dd9(0x46b)][_0x590dd9(0x33f)](_0x2cfb64=>_0x2cfb64['id']===_0x270302);let _0x1c92ba=Infinity,_0x4e096a=Infinity,_0x2365ec=-Infinity,_0x5f5767=-Infinity;for(let _0x3e337a=0x0;_0x3e337a<_0x34bf0c[_0x590dd9(0x362)];_0x3e337a++){const _0xc06cc4=_0x34bf0c[_0x3e337a];if(_0xc06cc4['x']<_0x1c92ba)_0x1c92ba=_0xc06cc4['x'];if(_0xc06cc4['x']>_0x2365ec)_0x2365ec=_0xc06cc4['x'];if(_0xc06cc4['y']<_0x4e096a)_0x4e096a=_0xc06cc4['y'];if(_0xc06cc4['y']>_0x5f5767)_0x5f5767=_0xc06cc4['y'];}const _0x1c66f1=0x1c;_0x1c92ba-=_0x1c66f1,_0x2365ec+=_0x1c66f1,_0x4e096a-=_0x1c66f1,_0x5f5767+=_0x1c66f1;const _0x194dc9={'seats':_0x34bf0c,'rows':_0x2b0a90,'sectors':_0x23004c,'background':{'svg':_0x590dd9(0x1e9),'viewBox':{'x':_0x1c92ba,'y':_0x4e096a,'width':_0x2365ec-_0x1c92ba,'height':_0x5f5767-_0x4e096a}}};return[_0x194dc9,_0xdd7d02];}};import'whatwg-fetch';var BookingApiClient=class{constructor(_0x3946a6){this['settings']={..._0x3946a6};}async[_0x19eb4e(0x51a)](_0x20c642){const _0x32055f=_0x19eb4e,_0x1f2f8a=await this[_0x32055f(0x437)](_0x32055f(0x49e)+_0x20c642+_0x32055f(0x360)+this[_0x32055f(0x438)][_0x32055f(0x2ea)]);return this[_0x32055f(0x50d)](_0x1f2f8a);}async[_0x19eb4e(0x40a)](_0x1bda8b){const _0x3b855d=_0x19eb4e,_0x1b1e9a=await this[_0x3b855d(0x437)](_0x3b855d(0x25e)+_0x1bda8b+_0x3b855d(0x360)+this[_0x3b855d(0x438)]['publicKey']);_0x1b1e9a['schema']=this[_0x3b855d(0x50d)](_0x1b1e9a[_0x3b855d(0x42e)]);const {seatmap:_0x23493d,..._0x5ebc7a}=_0x1b1e9a;return _0x5ebc7a;}async[_0x19eb4e(0x298)](_0x252de7){const _0x3be5c4=_0x19eb4e,_0x25db86=this[_0x3be5c4(0x438)][_0x3be5c4(0x381)]?'&debug='+this[_0x3be5c4(0x438)][_0x3be5c4(0x381)]:'',_0x190663=await this['request']('event/?id='+_0x252de7+'&publicKey='+this['settings'][_0x3be5c4(0x2ea)]+'&disableOriginal=true'+_0x25db86);return this[_0x3be5c4(0x50d)](_0x190663);}[_0x19eb4e(0x50d)](_0x32c649){const _0x3a295a=_0x19eb4e,_0x30534b=_0x32c649[_0x3a295a(0x1e7)];if(_0x30534b==null?void 0x0:_0x30534b[_0x3a295a(0x338)]){const _0x4d56ab=_0x30534b[_0x3a295a(0x338)]['match'](/<svg[^>]*>/);if(_0x4d56ab){const _0x168c37=_0x4d56ab[0x0];!_0x168c37[_0x3a295a(0x4e4)](_0x3a295a(0x3a8))&&!_0x168c37['includes']('height=\x27')&&(_0x30534b[_0x3a295a(0x338)]=_0x30534b[_0x3a295a(0x338)][_0x3a295a(0x536)](_0x3a295a(0x352),'<svg\x20width=\x22'+_0x30534b[_0x3a295a(0x341)][_0x3a295a(0x3d1)]+_0x3a295a(0x546)+_0x30534b[_0x3a295a(0x341)][_0x3a295a(0x51f)]+_0x3a295a(0x26d)));}}return{..._0x32c649,'plainSeats':void 0x0,'seats':this[_0x3a295a(0x2c2)](_0x32c649[_0x3a295a(0x230)],_0x32c649==null?void 0x0:_0x32c649[_0x3a295a(0x472)]),'rows':this[_0x3a295a(0x554)](_0x32c649[_0x3a295a(0x4a7)]),'sectors':this[_0x3a295a(0x554)](_0x32c649[_0x3a295a(0x46b)])};}async['fetchPricesForEvent'](_0x17237f){const _0x555abe=_0x19eb4e;return this[_0x555abe(0x437)](_0x555abe(0x26f)+_0x17237f+'&publicKey='+this[_0x555abe(0x438)][_0x555abe(0x2ea)]);}async[_0x19eb4e(0x327)](_0x53291b){const _0xc0543b=_0x19eb4e;return this[_0xc0543b(0x456)]('event/schema/rows/?id='+_0x53291b+_0xc0543b(0x360)+this[_0xc0543b(0x438)][_0xc0543b(0x2ea)]);}async['request'](_0x4da33c){const _0x85eddf=_0x19eb4e;try{const _0x40ce1a=new Request(concatUrlParts(this[_0x85eddf(0x438)][_0x85eddf(0x32a)],_0x4da33c),{'method':_0x85eddf(0x37a)}),_0xd6aa00=Date['now'](),_0x2445e8=await fetch(_0x40ce1a),_0x22c913=Date[_0x85eddf(0x376)]()-_0xd6aa00;if(!_0x2445e8['ok'])throw new Error(_0x85eddf(0x222)+_0x2445e8['status']+':\x20'+_0x2445e8[_0x85eddf(0x4f5)]);const _0x181443=await _0x2445e8[_0x85eddf(0x344)]();try{const _0x1b5598=JSON[_0x85eddf(0x45f)](_0x181443);return _0x1b5598[_0x85eddf(0x3bc)]=_0x22c913,_0x1b5598[_0x85eddf(0x3f5)]=_0x181443['length'],_0x1b5598;}catch(_0x4a597b){throw new Error(_0x85eddf(0x342)+_0x4a597b[_0x85eddf(0x4bc)]);}}catch(_0x3455f4){console[_0x85eddf(0x265)](_0x85eddf(0x1f6)+_0x4da33c+':',_0x3455f4);throw _0x3455f4;}}async[_0x19eb4e(0x456)](_0x459d8c){const _0xfc5c4b=_0x19eb4e;try{const _0x51249a=new Request(concatUrlParts(this[_0xfc5c4b(0x438)][_0xfc5c4b(0x32a)],_0x459d8c),{'method':_0xfc5c4b(0x37a)}),_0x204f4d=Date[_0xfc5c4b(0x376)](),_0x30989d=await fetch(_0x51249a),_0x5860bf=Date[_0xfc5c4b(0x376)]()-_0x204f4d;if(!_0x30989d['ok'])throw new Error('API\x20request\x20failed\x20with\x20status\x20'+_0x30989d['status']+':\x20'+_0x30989d['statusText']);const _0x33eacc=await _0x30989d['text'](),_0x53d49c={'data':_0x33eacc,'requestTime':_0x5860bf,'responseSize':_0x33eacc[_0xfc5c4b(0x362)]};return _0x53d49c;}catch(_0x5d1832){console[_0xfc5c4b(0x265)](_0xfc5c4b(0x36d)+_0x459d8c+':',_0x5d1832);throw _0x5d1832;}}[_0x19eb4e(0x2c2)](_0x110419,_0xfec5a5){const _0x2666bf=_0x19eb4e;var _0x351bd0,_0x58f1e7;const _0x59e7ae=[];let _0x3b66d2=0x0,_0x4b7d99=0x0,_0x184b24=0x0,_0x524ba2=0x0,_0x5becc7=0x0;for(let _0x5d27a9=0x0;_0x5d27a9<_0x110419[_0x2666bf(0x43b)][_0x2666bf(0x362)];_0x5d27a9++){const _0x476fcf=_0x110419[_0x2666bf(0x43b)][_0x5d27a9]+_0x3b66d2,_0x25fa1f=_0x110419['x'][_0x5d27a9]+_0x4b7d99,_0x21a26e=_0x110419['y'][_0x5d27a9]+_0x184b24,_0x114f13=_0x110419['names'][_0x5d27a9],_0x3aa22=_0x110419[_0x2666bf(0x4cd)][_0x5d27a9]+_0x524ba2,_0xf65cf2=_0x110419[_0x2666bf(0x350)][_0x5d27a9]+_0x5becc7,_0x31074a=(_0x351bd0=_0xfec5a5==null?void 0x0:_0xfec5a5[_0x2666bf(0x39f)])==null?void 0x0:_0x351bd0['includes'](_0x476fcf),_0x26fc0f=(_0x58f1e7=_0xfec5a5==null?void 0x0:_0xfec5a5[_0x2666bf(0x382)])==null?void 0x0:_0x58f1e7[_0x2666bf(0x4e4)](_0x476fcf);_0x59e7ae[_0x2666bf(0x445)]({'id':_0x476fcf,'x':_0x25fa1f,'y':_0x21a26e,'name':_0x114f13,'rowId':_0x3aa22,'sectorId':_0xf65cf2,'isAccessible':_0x31074a,'isMarked':_0x26fc0f}),_0x3b66d2=_0x476fcf,_0x4b7d99=_0x25fa1f,_0x184b24=_0x21a26e,_0x524ba2=_0x3aa22,_0x5becc7=_0xf65cf2;}return _0x59e7ae;}['restoreIds'](_0x5ec426){const _0x40b03d=_0x19eb4e,_0x5611b3=[];let _0x30e400=0x0;for(let _0x10d794=0x0;_0x10d794<_0x5ec426[_0x40b03d(0x362)];_0x10d794++){const _0xcceb78=_0x5ec426[_0x10d794],_0x77f0a1=_0xcceb78['id']+_0x30e400;_0x5611b3[_0x40b03d(0x445)]({..._0xcceb78,'id':_0x77f0a1}),_0x30e400=_0x77f0a1;}return _0x5611b3;}},concatUrlParts=(_0x149468,_0x11d610)=>{return _0x149468['replace'](/\/$/,'')+'/'+_0x11d610['replace'](/^\//,'');};export{BookingApiClient,DestEventType,Renderer,RendererSelectMode,RendererTargetType,SeatmapAdminRenderer,SeatmapBookingRenderer,SrcEventType,convertPricesToColored,convertPricesToColoredById,defaultZoomSettings,mergeSettings,sortPrices};
|
|
1
|
+
const _0x1eb601=_0x51bc;(function(_0x4234d8,_0x1700a3){const _0x16a58c=_0x51bc,_0x157165=_0x4234d8();while(!![]){try{const _0xb2d991=-parseInt(_0x16a58c(0x3da))/0x1*(-parseInt(_0x16a58c(0x173))/0x2)+parseInt(_0x16a58c(0x2b8))/0x3+-parseInt(_0x16a58c(0x359))/0x4*(-parseInt(_0x16a58c(0x40c))/0x5)+parseInt(_0x16a58c(0x55e))/0x6+-parseInt(_0x16a58c(0x1df))/0x7*(parseInt(_0x16a58c(0x588))/0x8)+parseInt(_0x16a58c(0x1c2))/0x9+parseInt(_0x16a58c(0x463))/0xa*(-parseInt(_0x16a58c(0x539))/0xb);if(_0xb2d991===_0x1700a3)break;else _0x157165['push'](_0x157165['shift']());}catch(_0x3c26a6){_0x157165['push'](_0x157165['shift']());}}}(_0x1b71,0x4eea3));function arrayToObjectById(_0x2e3337){const _0x526ebf=_0x51bc,_0x418a14={};if(!_0x2e3337)return _0x418a14;for(let _0x31f868=0x0;_0x31f868<_0x2e3337[_0x526ebf(0x204)];_0x31f868++){_0x418a14[_0x2e3337[_0x31f868]['id']]=_0x2e3337[_0x31f868];}return _0x418a14;}var cubicInOut=_0x7e2697=>{const _0x578bdb=_0x51bc;return 0x1-Math[_0x578bdb(0x135)](0x1-_0x7e2697,0x3);},VERSION=_0x1eb601(0x3bc),dpr=window[_0x1eb601(0x415)],Layer=class{constructor(_0x13d606){const _0x58cb52=_0x1eb601;this[_0x58cb52(0x388)]=![],this[_0x58cb52(0x12e)]=0x0,this[_0x58cb52(0x4b7)]=null,this[_0x58cb52(0x586)]=0x0,this['spinningSeats']=new Set(),this[_0x58cb52(0xb9)]=_0x13d606,this[_0x58cb52(0x4a4)]=document['createElement'](_0x58cb52(0x4a4)),this[_0x58cb52(0x4a4)][_0x58cb52(0x464)][_0x58cb52(0x43d)]='absolute',this[_0x58cb52(0x4a4)][_0x58cb52(0x464)][_0x58cb52(0x289)]='0',this[_0x58cb52(0xb9)][_0x58cb52(0x1fb)]['appendChild'](this['canvas']),this[_0x58cb52(0xf2)]=this[_0x58cb52(0x4a4)][_0x58cb52(0x42e)]('2d'),this['offscreenCanvas']=document[_0x58cb52(0x4a9)](_0x58cb52(0x4a4)),this[_0x58cb52(0x25e)]=this[_0x58cb52(0x50d)]['getContext']('2d'),this['updateSize'](),this['isDebug']=this[_0x58cb52(0xb9)][_0x58cb52(0x11b)][_0x58cb52(0x3fe)]===_0x58cb52(0x542);}get[_0x1eb601(0x55a)](){const _0x2ec0b0=_0x1eb601;return this[_0x2ec0b0(0xb9)][_0x2ec0b0(0x1fb)]['clientWidth'];}get[_0x1eb601(0x3e0)](){const _0x125581=_0x1eb601;return this[_0x125581(0xb9)][_0x125581(0x1fb)]['clientHeight'];}[_0x1eb601(0x386)](){const _0x49ab5f=_0x1eb601;this['ctx'][_0x49ab5f(0x1d7)](0x0,0x0,this[_0x49ab5f(0x4a4)]['width'],this[_0x49ab5f(0x4a4)][_0x49ab5f(0x3e0)]),this[_0x49ab5f(0x25e)][_0x49ab5f(0x1d7)](0x0,0x0,this[_0x49ab5f(0x50d)][_0x49ab5f(0x55a)],this['offscreenCanvas'][_0x49ab5f(0x3e0)]),this['canvas'][_0x49ab5f(0x55a)]=0x1,this['canvas'][_0x49ab5f(0x3e0)]=0x1,this[_0x49ab5f(0x50d)][_0x49ab5f(0x55a)]=0x1,this[_0x49ab5f(0x50d)]['height']=0x1,this[_0x49ab5f(0x4a4)][_0x49ab5f(0x1cf)](),this[_0x49ab5f(0x50d)][_0x49ab5f(0x1cf)](),this[_0x49ab5f(0xb9)][_0x49ab5f(0x386)]();}['updateSize'](){const _0x1c08b7=_0x1eb601;this[_0x1c08b7(0x4a4)][_0x1c08b7(0x55a)]=this[_0x1c08b7(0x55a)]*dpr,this[_0x1c08b7(0x4a4)][_0x1c08b7(0x3e0)]=this[_0x1c08b7(0x3e0)]*dpr,this[_0x1c08b7(0x4a4)][_0x1c08b7(0x464)]['height']=this[_0x1c08b7(0x3e0)]+'px',this[_0x1c08b7(0x4a4)]['style'][_0x1c08b7(0x55a)]=this[_0x1c08b7(0x55a)]+'px',this[_0x1c08b7(0x50d)][_0x1c08b7(0x55a)]=this[_0x1c08b7(0x55a)]*dpr,this[_0x1c08b7(0x50d)][_0x1c08b7(0x3e0)]=this[_0x1c08b7(0x3e0)]*dpr,this['redraw']();}[_0x1eb601(0x148)](){const _0x5c3582=_0x1eb601;this[_0x5c3582(0x411)](),this[_0x5c3582(0x2ff)](this[_0x5c3582(0xb9)][_0x5c3582(0x368)],this[_0x5c3582(0xb9)][_0x5c3582(0x5b1)]);}[_0x1eb601(0x2c0)](_0x40e01f,_0x464237,_0x4c882c,_0x8ecb1b){const _0x3d715d=_0x1eb601;var _0x1037dc,_0x35e380,_0x4ae3f4;const _0x1a1d64=this['context'];this[_0x3d715d(0xb9)][_0x3d715d(0x11b)][_0x3d715d(0x15d)]&&(_0x4c882c=this[_0x3d715d(0xb9)][_0x3d715d(0x11b)][_0x3d715d(0x15d)]({'context':_0x1a1d64,'seat':_0x464237,'style':_0x4c882c,'state':_0x8ecb1b}));_0x40e01f[_0x3d715d(0x4d1)](),_0x40e01f[_0x3d715d(0x57c)]=_0x4c882c[_0x3d715d(0x4e4)];if(_0x4c882c[_0x3d715d(0x4ba)]){_0x40e01f[_0x3d715d(0x412)]=_0x4c882c[_0x3d715d(0x4ba)][_0x3d715d(0x4e4)]||_0x3d715d(0x211),_0x40e01f['shadowBlur']=_0x4c882c[_0x3d715d(0x4ba)][_0x3d715d(0x32b)]*this[_0x3d715d(0xb9)]['scale'];if(_0x4c882c[_0x3d715d(0x4ba)]['x'])_0x40e01f['shadowOffsetX']=_0x4c882c[_0x3d715d(0x4ba)]['x']*this[_0x3d715d(0xb9)]['scale'];if(_0x4c882c[_0x3d715d(0x4ba)]['y'])_0x40e01f[_0x3d715d(0x1f7)]=_0x4c882c[_0x3d715d(0x4ba)]['y']*this[_0x3d715d(0xb9)]['scale'];}_0x40e01f[_0x3d715d(0x4fc)]();const _0x25152b=(_0x464237[_0x3d715d(0x376)]?(_0x1037dc=_0x4c882c[_0x3d715d(0x35d)])==null?void 0x0:_0x1037dc[_0x3d715d(0x1cc)]:_0x4c882c[_0x3d715d(0x1cc)])||_0x4c882c[_0x3d715d(0x1cc)];_0x40e01f['arc'](_0x464237['x'],_0x464237['y'],_0x25152b/0x2,0x0,0x2*Math['PI']),_0x40e01f[_0x3d715d(0x344)]();_0x4c882c[_0x3d715d(0x48b)]&&(_0x40e01f[_0x3d715d(0x11a)]=_0x4c882c[_0x3d715d(0x48b)]['width'],_0x40e01f[_0x3d715d(0x361)]=_0x4c882c[_0x3d715d(0x48b)][_0x3d715d(0x4e4)],_0x40e01f[_0x3d715d(0x48b)]());_0x40e01f['restore']();let _0x349fa4;switch(_0x8ecb1b){case _0x3d715d(0x161):!this[_0x3d715d(0x438)](_0x464237['id'][_0x3d715d(0x223)]())&&this[_0x3d715d(0x5aa)](_0x464237['id'][_0x3d715d(0x223)]());_0x349fa4='loading';break;case _0x3d715d(0x1ca):_0x349fa4=_0x3d715d(0x1ca);break;case _0x3d715d(0x448):_0x349fa4=(_0x464237[_0x3d715d(0x376)]?(_0x35e380=_0x4c882c[_0x3d715d(0x35d)])==null?void 0x0:_0x35e380['imageId']:_0x4c882c[_0x3d715d(0x455)])||_0x4c882c[_0x3d715d(0x455)];break;default:this[_0x3d715d(0x438)](_0x464237['id'][_0x3d715d(0x223)]())&&this[_0x3d715d(0x3b8)](_0x464237['id']['toString']());_0x349fa4=(_0x464237['isAccessible']?(_0x4ae3f4=_0x4c882c[_0x3d715d(0x35d)])==null?void 0x0:_0x4ae3f4[_0x3d715d(0x455)]:_0x4c882c[_0x3d715d(0x455)])||_0x4c882c[_0x3d715d(0x455)];break;}if(_0x349fa4){const _0x162b4b=this['context']['seatImages'][_0x349fa4];if(_0x162b4b){_0x40e01f['save']();let _0x96f4cd=0x12;if(_0x349fa4===_0x3d715d(0x161))_0x96f4cd=0x18;else{if(_0x349fa4===_0x3d715d(0x1ca))_0x96f4cd=0x12;else{if(_0x8ecb1b===_0x3d715d(0x448)||_0x349fa4===_0x3d715d(0x4a2))_0x96f4cd=0x12;}}const _0x1de5e9=_0x162b4b,_0x50934d=_0x1de5e9[_0x3d715d(0x55a)]||_0x1de5e9[_0x3d715d(0x30b)]||0x80,_0x15fdaa=_0x1de5e9[_0x3d715d(0x3e0)]||_0x1de5e9['naturalHeight']||0x80,_0x3fb5c8=_0x15fdaa>0x0&&_0x50934d>0x0?_0x15fdaa/_0x50934d:0x1,_0x198887=_0x96f4cd,_0x2b1665=_0x96f4cd*_0x3fb5c8;_0x349fa4==='loading'?(_0x40e01f[_0x3d715d(0x5b1)](_0x464237['x'],_0x464237['y']),_0x40e01f[_0x3d715d(0x267)](this['spinnerRotation']),_0x40e01f['drawImage'](_0x162b4b,-_0x198887/0x2,-_0x2b1665/0x2,_0x198887,_0x2b1665)):_0x40e01f['drawImage'](_0x162b4b,_0x464237['x']-_0x198887/0x2,_0x464237['y']-_0x2b1665/0x2,_0x198887,_0x2b1665);_0x40e01f[_0x3d715d(0x3ba)]();return;}}_0x4c882c[_0x3d715d(0xca)]&&this[_0x3d715d(0xb9)][_0x3d715d(0x368)]/window[_0x3d715d(0x415)]>=0.35&&(_0x40e01f[_0x3d715d(0x4d1)](),_0x40e01f[_0x3d715d(0xa7)]=_0x3d715d(0x1ab),_0x40e01f[_0x3d715d(0x3a1)]='middle',_0x40e01f[_0x3d715d(0x257)]=_0x4c882c[_0x3d715d(0xca)][_0x3d715d(0x257)],_0x40e01f[_0x3d715d(0x57c)]=_0x4c882c[_0x3d715d(0xca)][_0x3d715d(0x4e4)],_0x40e01f[_0x3d715d(0x1de)](_0x464237['name'],_0x464237['x'],_0x464237['y']+0x1),_0x40e01f[_0x3d715d(0x3ba)]());}[_0x1eb601(0x31c)](_0x494ad6,_0x5850e5,_0x277a4d){const _0x57ff68=_0x1eb601;_0x494ad6[_0x57ff68(0x4d1)](),_0x494ad6[_0x57ff68(0x4fc)](),_0x494ad6[_0x57ff68(0x3eb)](_0x5850e5['x'],_0x5850e5['y'],0x64,0x0,0x2*Math['PI']),_0x494ad6[_0x57ff68(0x57c)]=_0x277a4d||_0x57ff68(0xdd),_0x494ad6[_0x57ff68(0x344)](),_0x494ad6[_0x57ff68(0x3ba)]();}[_0x1eb601(0x411)](){const _0x19e997=_0x1eb601;if(this[_0x19e997(0xb9)]['scale']===void 0x0||this['context'][_0x19e997(0x5b1)]===void 0x0)return;this[_0x19e997(0x25e)]['save'](),this[_0x19e997(0x25e)][_0x19e997(0xcd)](0x1,0x0,0x0,0x1,0x0,0x0),this['offscreenCtx'][_0x19e997(0x1d7)](0x0,0x0,this['width']*dpr,this[_0x19e997(0x3e0)]*dpr),this[_0x19e997(0x25e)]['setTransform'](this[_0x19e997(0xb9)][_0x19e997(0x368)],0x0,0x0,this[_0x19e997(0xb9)][_0x19e997(0x368)],this[_0x19e997(0xb9)][_0x19e997(0x5b1)]['x'],this['context'][_0x19e997(0x5b1)]['y']),this['offscreenCtx'][_0x19e997(0x3a4)]=_0x19e997(0x54b),this[_0x19e997(0x25e)]['imageSmoothingEnabled']=!![],this[_0x19e997(0x2db)](),this[_0x19e997(0x25e)][_0x19e997(0x3ba)]();}['drawOnscreenCanvas'](_0x15a7a6,_0x342164){const _0x511c02=_0x1eb601,_0x4acfa1=this[_0x511c02(0xf2)];_0x4acfa1[_0x511c02(0x4d1)](),_0x4acfa1[_0x511c02(0xcd)](0x1,0x0,0x0,0x1,0x0,0x0),_0x4acfa1[_0x511c02(0x1d7)](0x0,0x0,this[_0x511c02(0x55a)]*dpr,this[_0x511c02(0x3e0)]*dpr),_0x4acfa1[_0x511c02(0xcd)](_0x15a7a6,0x0,0x0,_0x15a7a6,_0x342164['x'],_0x342164['y']),_0x4acfa1[_0x511c02(0x470)](this['offscreenCanvas'],0x0,0x0),_0x4acfa1[_0x511c02(0x3ba)]();}['addSpinningSeat'](_0x46a019){const _0x3a5971=_0x1eb601;this[_0x3a5971(0x2a1)][_0x3a5971(0x1f5)](_0x46a019),this[_0x3a5971(0x4b7)]===null&&this['startSpinnerAnimation']();}[_0x1eb601(0x3b8)](_0xefccf4){const _0x280c24=_0x1eb601;this[_0x280c24(0x2a1)][_0x280c24(0x360)](_0xefccf4),this['spinningSeats'][_0x280c24(0x1cc)]===0x0&&this['spinnerAnimationId']!==null&&(cancelAnimationFrame(this[_0x280c24(0x4b7)]),this[_0x280c24(0x4b7)]=null);}[_0x1eb601(0x438)](_0x495a07){const _0x1d6f3c=_0x1eb601;return this[_0x1d6f3c(0x2a1)][_0x1d6f3c(0x52e)](_0x495a07);}[_0x1eb601(0x559)](){const _0x27c8bf=_0x1eb601;if(this[_0x27c8bf(0x4b7)]!==null)return;const _0x4b9741=_0x24926f=>{const _0x4ffb97=_0x27c8bf,_0x359354=this[_0x4ffb97(0x12e)]?_0x24926f-this['lastFrameTime']:0x10;this[_0x4ffb97(0x12e)]=_0x24926f,this[_0x4ffb97(0x586)]+=0.01*_0x359354,this['spinningSeats'][_0x4ffb97(0x1cc)]>0x0?(this['redraw'](),this[_0x4ffb97(0x4b7)]=requestAnimationFrame(_0x4b9741)):(this[_0x4ffb97(0x4b7)]=null,this[_0x4ffb97(0x12e)]=0x0);};this[_0x27c8bf(0x4b7)]=requestAnimationFrame(_0x4b9741);}[_0x1eb601(0x2ca)](_0x1ebab2,_0x3dfb5e){const _0x4bdfdb=_0x1eb601,_0x24574a=this[_0x4bdfdb(0xb9)][_0x4bdfdb(0x11b)][_0x4bdfdb(0x5c2)];let _0x328c38,_0x17a165=_0x4bdfdb(0x53d);if(_0x3dfb5e[_0x4bdfdb(0x52d)]===_0x4bdfdb(0x161))_0x328c38=_0x24574a[_0x4bdfdb(0x42c)]['loading'],_0x17a165=_0x4bdfdb(0x161);else{if(_0x3dfb5e['state']===_0x4bdfdb(0x1ca))_0x328c38=_0x24574a[_0x4bdfdb(0x42c)][_0x4bdfdb(0x1ca)],_0x17a165=_0x4bdfdb(0x1ca);else{if(_0x3dfb5e[_0x4bdfdb(0x452)])_0x328c38=_0x24574a[_0x4bdfdb(0x42c)]['unavailable'],_0x17a165=_0x4bdfdb(0x4eb);else{if(_0x3dfb5e[_0x4bdfdb(0x3c1)])_0x328c38=_0x24574a['seatStyles'][_0x4bdfdb(0x3c1)];else{if(_0x3dfb5e[_0x4bdfdb(0x52d)]==='selected')_0x328c38=_0x24574a['seatStyles']['selected'],_0x17a165='selected';else this[_0x4bdfdb(0xb9)][_0x4bdfdb(0x244)](_0x3dfb5e['id'])?(_0x328c38=_0x24574a[_0x4bdfdb(0x42c)][_0x4bdfdb(0x448)],_0x17a165='selected'):_0x328c38=_0x24574a['seatStyles'][_0x4bdfdb(0x53d)];}}}}this['_renderSeat'](_0x1ebab2,_0x3dfb5e,_0x328c38,_0x17a165);}[_0x1eb601(0x2d6)](_0x23f7cd,_0x123069){const _0x265102=_0x1eb601,_0x8b38e3=this['context'][_0x265102(0x11b)][_0x265102(0x5c2)];if(_0x123069['locked']||_0x123069[_0x265102(0x3c1)]||this[_0x265102(0xb9)][_0x265102(0x244)](_0x123069['id'])||_0x123069[_0x265102(0x52d)]===_0x265102(0x161)||_0x123069['state']==='error')return;const _0x174435=_0x8b38e3[_0x265102(0x42c)]['hovered'];this[_0x265102(0x2c0)](_0x23f7cd,_0x123069,_0x174435,'hovered');}[_0x1eb601(0x35a)](_0x37c88f,_0xccd04e){const _0x3c417c=_0x1eb601,_0x3ed170=this['context']['settings']['theme'];if(_0xccd04e[_0x3c417c(0x452)]||_0xccd04e[_0x3c417c(0x3c1)]||_0xccd04e[_0x3c417c(0x52d)]==='loading'||_0xccd04e[_0x3c417c(0x52d)]==='error')return;this[_0x3c417c(0x2c0)](_0x37c88f,_0xccd04e,_0x3ed170[_0x3c417c(0x42c)][_0x3c417c(0x448)],_0x3c417c(0x448));}},dpr2=window['devicePixelRatio'],skewAngleRadian=0.95,INITIAL_TRANSFORM={'rotationAngle':0x0,'center':{'x':0x0,'y':0x0},'top':{'x':0x0,'y':0x0},'section':{'x':0x0,'y':0x0},'skewAngle':0x0},INITIAL_ANIMATION={'rotationAngle':0x0,'skewAngle':0x0,'inProgress':![]},SectionViewLayer=class extends Layer{constructor(){const _0x443238=_0x1eb601;super(...arguments),this['sectionViewActive']=![],this[_0x443238(0x3a8)]={...INITIAL_TRANSFORM},this[_0x443238(0x118)]={'duration':this[_0x443238(0xb9)]['settings']['transformAnimationDuration']||0x0,...INITIAL_ANIMATION};}['_renderSeat'](_0x153c5a,_0x155481,_0x177a4d,_0x5421cb){const _0x250b01=_0x1eb601;if(this[_0x250b01(0x118)]['inProgress'])return;this['sectionViewActive']&&this[_0x250b01(0x3a8)]['rotationAngle']!==0x0&&(_0x155481=this[_0x250b01(0xb3)](_0x155481)),super[_0x250b01(0x2c0)](_0x153c5a,_0x155481,_0x177a4d,_0x5421cb);}['drawOffscreenCanvas'](){const _0xb618a=_0x1eb601;if(this['context']['scale']===void 0x0||this[_0xb618a(0xb9)][_0xb618a(0x5b1)]===void 0x0)return;this[_0xb618a(0x25e)][_0xb618a(0x4d1)](),this[_0xb618a(0x25e)][_0xb618a(0xcd)](0x1,0x0,0x0,0x1,0x0,0x0),this[_0xb618a(0x25e)][_0xb618a(0x1d7)](0x0,0x0,this[_0xb618a(0x55a)]*dpr2,this['height']*dpr2),this[_0xb618a(0x25e)][_0xb618a(0xcd)](this['context']['scale'],0x0,0x0,this['context'][_0xb618a(0x368)],this[_0xb618a(0xb9)][_0xb618a(0x5b1)]['x'],this[_0xb618a(0xb9)][_0xb618a(0x5b1)]['y']),this[_0xb618a(0x25e)][_0xb618a(0x3a4)]=_0xb618a(0x54b),this[_0xb618a(0x25e)][_0xb618a(0x13a)]=!![];if(this[_0xb618a(0x4f8)]){const _0x4bb1d0=this[_0xb618a(0x118)][_0xb618a(0x363)];this['offscreenCtx'][_0xb618a(0xcd)](this['context'][_0xb618a(0x368)],0x0,0x0,this[_0xb618a(0xb9)][_0xb618a(0x368)]*Math[_0xb618a(0x8f)](_0x4bb1d0),this[_0xb618a(0xb9)][_0xb618a(0x5b1)]['x'],this[_0xb618a(0xb9)][_0xb618a(0x5b1)]['y']);}this[_0xb618a(0x2db)](),this[_0xb618a(0x25e)][_0xb618a(0x3ba)]();}[_0x1eb601(0x2ff)](_0x31327a,_0x28cdf4){const _0x5b89c1=_0x1eb601,_0x3f7a59=this[_0x5b89c1(0xf2)];_0x3f7a59[_0x5b89c1(0x4d1)](),_0x3f7a59[_0x5b89c1(0xcd)](0x1,0x0,0x0,0x1,0x0,0x0),_0x3f7a59['clearRect'](0x0,0x0,this['width']*dpr2,this[_0x5b89c1(0x3e0)]*dpr2),_0x3f7a59[_0x5b89c1(0xcd)](_0x31327a,0x0,0x0,_0x31327a,_0x28cdf4['x'],_0x28cdf4['y']),_0x3f7a59[_0x5b89c1(0x470)](this[_0x5b89c1(0x50d)],0x0,0x0),_0x3f7a59[_0x5b89c1(0x3ba)]();}[_0x1eb601(0x148)](){const _0x3c7e37=_0x1eb601;this[_0x3c7e37(0x411)](),this[_0x3c7e37(0x2ff)](0x1,{'x':0x0,'y':0x0});}['rotationAnimation'](){return new Promise(_0xe4d1e6=>{const _0x464fb0=_0x5abf34=>{const _0x4215f9=_0x51bc;if(!this[_0x4215f9(0x118)]['startTime'])this[_0x4215f9(0x118)][_0x4215f9(0x2b5)]=_0x5abf34;if(_0x5abf34-this[_0x4215f9(0x118)]['startTime']>this[_0x4215f9(0x118)]['duration']){this[_0x4215f9(0x118)][_0x4215f9(0x3d4)]=this[_0x4215f9(0x3a8)]['rotationAngle'],this[_0x4215f9(0x118)][_0x4215f9(0x363)]=this[_0x4215f9(0x3a8)]['skewAngle'],this[_0x4215f9(0x118)]['startTime']=void 0x0,this[_0x4215f9(0x118)][_0x4215f9(0x92)]=![],this['redraw'](),cancelAnimationFrame(_0x5abf34),_0xe4d1e6(!![]);return;}this['animation'][_0x4215f9(0x92)]=!![];const _0x535d3f=Math[_0x4215f9(0x147)](0x1,(_0x5abf34-this[_0x4215f9(0x118)]['startTime'])/this[_0x4215f9(0x118)]['duration']),_0x467985=cubicInOut(_0x535d3f),_0x3e8816=this[_0x4215f9(0x3a8)][_0x4215f9(0x3d4)]*_0x467985,_0x4af514=this['sectionViewTransform'][_0x4215f9(0x363)]*_0x467985,_0x392d1c=this[_0x4215f9(0x3a8)][_0x4215f9(0x3d4)]<0x0?Math[_0x4215f9(0x516)]:Math[_0x4215f9(0x147)];this[_0x4215f9(0x118)][_0x4215f9(0x3d4)]=_0x392d1c(this[_0x4215f9(0x3a8)][_0x4215f9(0x3d4)],_0x3e8816),this[_0x4215f9(0x118)][_0x4215f9(0x363)]=Math['min'](this[_0x4215f9(0x3a8)][_0x4215f9(0x363)],_0x4af514),this[_0x4215f9(0x148)](),requestAnimationFrame(_0x464fb0);};requestAnimationFrame(_0x464fb0);});}[_0x1eb601(0x1a1)](){return new Promise(_0x1e21c5=>{const _0x3c6bfb=_0x360d2e=>{const _0x24eda8=_0x51bc;if(!this[_0x24eda8(0x118)][_0x24eda8(0x2b5)])this[_0x24eda8(0x118)][_0x24eda8(0x2b5)]=_0x360d2e;if(_0x360d2e-this[_0x24eda8(0x118)][_0x24eda8(0x2b5)]>this[_0x24eda8(0x118)][_0x24eda8(0x50a)]){this[_0x24eda8(0x118)][_0x24eda8(0x3d4)]=0x0,this[_0x24eda8(0x118)][_0x24eda8(0x363)]=0x0,this[_0x24eda8(0x118)]['startTime']=void 0x0,this['redraw'](),cancelAnimationFrame(_0x360d2e),_0x1e21c5(!![]);return;}const _0x41a58f=Math[_0x24eda8(0x147)](0x1,(_0x360d2e-this[_0x24eda8(0x118)]['startTime'])/this[_0x24eda8(0x118)][_0x24eda8(0x50a)]),_0x5629aa=cubicInOut(_0x41a58f),_0xe537af=this[_0x24eda8(0x3a8)][_0x24eda8(0x3d4)]*(0x1-_0x5629aa),_0x109cc1=this['sectionViewTransform'][_0x24eda8(0x363)]*(0x1-_0x5629aa);this['animation'][_0x24eda8(0x3d4)]=_0xe537af,this['animation'][_0x24eda8(0x363)]=Math[_0x24eda8(0x516)](0x0,_0x109cc1),this['redraw'](),requestAnimationFrame(_0x3c6bfb);};requestAnimationFrame(_0x3c6bfb);});}[_0x1eb601(0x18b)](_0x2fc2b0){const _0xef05a1=_0x1eb601;this[_0xef05a1(0x15c)](),this[_0xef05a1(0x1d9)](_0x2fc2b0),this[_0xef05a1(0x5b2)]();}[_0x1eb601(0x1d9)](_0x2a5d40){const _0x1d126e=_0x1eb601,{x:_0x357de0,y:_0x4fe517}=this[_0x1d126e(0xb9)]['getPositionByOffset'](_0x2a5d40);this[_0x1d126e(0x3a8)][_0x1d126e(0x128)]={'x':_0x357de0,'y':_0x4fe517};}[_0x1eb601(0x15c)](){const _0x43c96a=_0x1eb601,_0x591708=0x0,_0x4f56f7=this[_0x43c96a(0x55a)],_0x4128d6=0x0,_0xec966e=this[_0x43c96a(0x3e0)],_0x1591eb=(_0x591708+_0x4f56f7)/0x2,_0x5ca8c3=(_0x4128d6+_0xec966e)/0x2,_0x102c45=this[_0x43c96a(0xb9)]['getPositionByOffset']({'x':_0x1591eb,'y':_0x5ca8c3}),_0x9e8262=this[_0x43c96a(0xb9)][_0x43c96a(0x16a)]({'x':_0x1591eb,'y':0x0});this[_0x43c96a(0x3a8)][_0x43c96a(0x1ab)]={..._0x102c45},this[_0x43c96a(0x3a8)][_0x43c96a(0x478)]={..._0x9e8262};}[_0x1eb601(0x5b2)](){const _0x219c12=_0x1eb601,_0x45e4f4={...this[_0x219c12(0x3a8)][_0x219c12(0x128)]},_0x1f7822={...this[_0x219c12(0x3a8)]['center']},_0x5dc129={...this['sectionViewTransform'][_0x219c12(0x478)]},_0x3ed5a5=_0x45e4f4['x']<_0x1f7822['x'];let _0x59243b=Math['pow'](_0x1f7822['x']-_0x5dc129['x'],0x2)+Math['pow'](_0x1f7822['y']-_0x5dc129['y'],0x2),_0x3d8fbd=Math[_0x219c12(0x135)](_0x1f7822['x']-_0x45e4f4['x'],0x2)+Math[_0x219c12(0x135)](_0x1f7822['y']-_0x45e4f4['y'],0x2),_0x20c4f6=Math[_0x219c12(0x135)](_0x45e4f4['x']-_0x5dc129['x'],0x2)+Math[_0x219c12(0x135)](_0x45e4f4['y']-_0x5dc129['y'],0x2),_0x3b8b07=Math['acos']((_0x59243b+_0x3d8fbd-_0x20c4f6)/Math[_0x219c12(0x290)](0x4*_0x59243b*_0x3d8fbd))*(0xb4/Math['PI']);_0x3ed5a5?_0x3b8b07<0x5a?_0x3b8b07=0xb4+_0x3b8b07:_0x3b8b07=_0x3b8b07-0xb4:_0x3b8b07=0xb4-_0x3b8b07,this[_0x219c12(0x3a8)][_0x219c12(0x3d4)]=_0x3b8b07;}['getSectionUpdatedCoords'](){const _0x3774e5=_0x1eb601;return this['getCoordsAfterRotation'](this[_0x3774e5(0x3a8)][_0x3774e5(0x128)]);}[_0x1eb601(0xb3)](_0xce8c94){const _0x4828f9=_0x1eb601;if(!this[_0x4828f9(0x4f8)])return _0xce8c94;const {x:_0x1c61a0,y:_0x9b25f3}=this[_0x4828f9(0x3a8)][_0x4828f9(0x1ab)],{x:_0x889b4b,y:_0x303abe}=_0xce8c94,_0x5d25ba=this[_0x4828f9(0x3a8)][_0x4828f9(0x3d4)],_0x30c7e7=Math['PI']/-0xb4*_0x5d25ba,_0x4a4ef2=Math[_0x4828f9(0x8f)](_0x30c7e7),_0x22f15a=Math[_0x4828f9(0x510)](_0x30c7e7),_0x3fdc53=_0x4a4ef2*(_0x889b4b-_0x1c61a0)+_0x22f15a*(_0x303abe-_0x9b25f3)+_0x1c61a0,_0x5e64cb=_0x4a4ef2*(_0x303abe-_0x9b25f3)-_0x22f15a*(_0x889b4b-_0x1c61a0)+_0x9b25f3;return{..._0xce8c94,'x':_0x3fdc53,'y':_0x5e64cb};}['setTransformationState'](_0x3baba8){const _0x4ed642=_0x1eb601;this[_0x4ed642(0x3a8)]={..._0x3baba8};}[_0x1eb601(0x22a)](_0x2715d9){const _0x37a7a0=_0x1eb601;this[_0x37a7a0(0x118)]={..._0x2715d9};}[_0x1eb601(0x343)](){const _0x6238d=_0x1eb601;return this[_0x6238d(0x118)];}[_0x1eb601(0x590)](){const _0x370a57=_0x1eb601,_0x36e916=this[_0x370a57(0xb9)][_0x370a57(0x556)](this['getSectionUpdatedCoords']()),_0x5a4e98={'x':_0x36e916['x'],'y':_0x36e916['y']*Math[_0x370a57(0x8f)](this[_0x370a57(0x3a8)]['skewAngle'])};return _0x5a4e98;}[_0x1eb601(0x127)](){const _0x2d787b=_0x1eb601;this['sectionViewTransform'][_0x2d787b(0x363)]=skewAngleRadian;}[_0x1eb601(0x2db)](){const _0x316e6b=_0x1eb601;if(this[_0x316e6b(0x4f8)]){this[_0x316e6b(0x267)](this[_0x316e6b(0x25e)],this[_0x316e6b(0x118)]['rotationAngle']||0x0,this[_0x316e6b(0x3a8)][_0x316e6b(0x1ab)],this['backgroundElement']);this[_0x316e6b(0x388)]&&(this[_0x316e6b(0x31c)](this[_0x316e6b(0x25e)],this[_0x316e6b(0x52b)](),_0x316e6b(0x32c)),this['sectionViewTransform'][_0x316e6b(0x1ab)]&&this[_0x316e6b(0x31c)](this[_0x316e6b(0x25e)],this['sectionViewTransform'][_0x316e6b(0x1ab)],'green'),this[_0x316e6b(0x3a8)][_0x316e6b(0x478)]&&this[_0x316e6b(0x31c)](this['offscreenCtx'],this[_0x316e6b(0x3a8)]['top'],_0x316e6b(0x2ef)));return;}this[_0x316e6b(0x57d)]&&!this[_0x316e6b(0x4f8)]&&this[_0x316e6b(0x25e)][_0x316e6b(0x470)](this[_0x316e6b(0x57d)],0x0,0x0,this['backgroundElement'][_0x316e6b(0x55a)],this['backgroundElement'][_0x316e6b(0x3e0)]);}async[_0x1eb601(0x330)](_0x3e20e6,_0x1e7c39){const _0x40f293=_0x1eb601;var _0x41a76e;const _0x25d2c2=this[_0x40f293(0x4f8)]||!!this[_0x40f293(0x168)]&&this[_0x40f293(0x168)]!==_0x3e20e6['id'],_0x1cce31=this[_0x40f293(0x168)]===_0x3e20e6['id'],_0x1528d9=()=>new Promise(_0x33dc34=>{const _0x4800df=_0x40f293;_0x1e7c39[_0x4800df(0x119)](),setTimeout(()=>{_0x33dc34(!![]);},(this[_0x4800df(0xb9)][_0x4800df(0x11b)]['zoomAnimationDuration']||0x0)*1.5);});!this['context']['isEagleView']&&await _0x1528d9();_0x25d2c2&&(this[_0x40f293(0x118)][_0x40f293(0x92)]=!![],await Promise['all']([this[_0x40f293(0x1a1)](),_0x1528d9()]),this[_0x40f293(0x5c0)]());if(_0x1cce31)return this['redraw'](),![];const _0x163870=(_0x41a76e=_0x1e7c39[_0x40f293(0x3e9)]())==null?void 0x0:_0x41a76e[_0x40f293(0x12a)](_0x407974=>_0x407974['id']===_0x3e20e6['id']);if(!_0x163870)return![];return this[_0x40f293(0x168)]=_0x3e20e6['id']||null,this[_0x40f293(0x4f8)]=!![],this['applySkew'](),this[_0x40f293(0x18b)](_0x163870),typeof this[_0x40f293(0x3a8)]['rotationAngle']===_0x40f293(0x4bc)?this[_0x40f293(0x2fc)]():(console[_0x40f293(0xa5)](_0x40f293(0x50f)+this[_0x40f293(0x168)]+_0x40f293(0xe8)),this[_0x40f293(0x5c0)]()),!![];}[_0x1eb601(0x5c0)](){const _0xd86581=_0x1eb601;this[_0xd86581(0x4f8)]=![],this[_0xd86581(0x168)]=null,this[_0xd86581(0x3a8)]={...INITIAL_TRANSFORM},this['animation']={'duration':this[_0xd86581(0xb9)][_0xd86581(0x11b)][_0xd86581(0x4d6)]||0x0,...INITIAL_ANIMATION};}['rotate'](_0x57e705,_0x441982,_0x4bb937,_0x5dcd4f){const _0x1d35e1=_0x1eb601;_0x57e705['save']();const {x:_0xfd1d33,y:_0x352237}=_0x4bb937;_0x57e705[_0x1d35e1(0x5b1)](_0xfd1d33,_0x352237),_0x57e705[_0x1d35e1(0x267)](_0x441982*(Math['PI']/0xb4)),_0x57e705['translate'](-_0xfd1d33,-_0x352237),_0x57e705[_0x1d35e1(0x470)](_0x5dcd4f,0x0,0x0,_0x5dcd4f[_0x1d35e1(0x55a)],_0x5dcd4f[_0x1d35e1(0x3e0)]),_0x57e705[_0x1d35e1(0x3ba)]();}},HTMLCanvasLayer=class extends SectionViewLayer{constructor(){const _0x29caa7=_0x1eb601;super(...arguments),this[_0x29caa7(0x2b3)]=![],this[_0x29caa7(0x2ad)]=![],this[_0x29caa7(0x4e2)]=![];}async['captureSeatmap'](){const _0x4dbdf0=_0x1eb601;try{this[_0x4dbdf0(0x148)](),await new Promise(_0x4ec4e4=>{const _0x2d8af7=()=>{const _0x389b6b=_0x51bc,_0x37a247=Array[_0x389b6b(0x18e)](this[_0x389b6b(0xb9)][_0x389b6b(0x272)])&&this[_0x389b6b(0xb9)][_0x389b6b(0x272)][_0x389b6b(0x204)]>0x0,_0x1c0123=this[_0x389b6b(0x2ad)]&&(!_0x37a247||this[_0x389b6b(0x4e2)])&&this['hasInitialDrawComplete'];if(_0x1c0123)return _0x4ec4e4();requestAnimationFrame(_0x2d8af7);};requestAnimationFrame(_0x2d8af7);});const _0x31891d=this['offscreenCanvas'][_0x4dbdf0(0x123)](_0x4dbdf0(0x20a)),_0x5a8dc2=new Image();return _0x5a8dc2[_0x4dbdf0(0x569)]=_0x31891d,await new Promise(_0x3979ea=>{const _0x444784=_0x4dbdf0;if(_0x5a8dc2[_0x444784(0x32a)])return _0x3979ea();_0x5a8dc2[_0x444784(0x479)]=()=>_0x3979ea(),_0x5a8dc2[_0x444784(0x323)]=()=>_0x3979ea();}),_0x5a8dc2;}catch(_0x540730){return null;}}[_0x1eb601(0x3d7)](_0xeed6ad=0x0){const _0xb57914=_0x1eb601;let _0x3194bf=[];const _0xb94507=this['context'][_0xb57914(0x1f6)][_0xb57914(0x44e)][_0xb57914(0x38a)]&&!this[_0xb57914(0xb9)]['settings'][_0xb57914(0x46c)]&&!(this[_0xb57914(0xb9)][_0xb57914(0x56e)]&&this[_0xb57914(0xb9)]['settings'][_0xb57914(0x3f0)]);if(_0xb94507){const _0x36adc7=this[_0xb57914(0xb9)][_0xb57914(0x16a)]({'x':0x0,'y':0x0}),_0x359ece=this[_0xb57914(0xb9)][_0xb57914(0x16a)]({'x':this[_0xb57914(0x55a)],'y':this[_0xb57914(0x3e0)]}),_0x542b13={'minX':_0x36adc7['x']-_0xeed6ad,'minY':_0x36adc7['y']-_0xeed6ad,'maxX':_0x359ece['x']+_0xeed6ad,'maxY':_0x359ece['y']+_0xeed6ad};_0x3194bf=findVisibleSeats(_0x542b13,this[_0xb57914(0xb9)][_0xb57914(0x272)],this['context']['seatsIndex']);}return _0x3194bf;}[_0x1eb601(0x2db)](){const _0x58294d=_0x1eb601;this['backgroundElement']&&(this['backgroundElement'][_0x58294d(0x32a)]||this[_0x58294d(0x57d)][_0x58294d(0x1c9)]===_0x58294d(0x32a))&&this[_0x58294d(0x57d)][_0x58294d(0x30b)]>0x0&&(this[_0x58294d(0x2ad)]=!![]);super[_0x58294d(0x2db)]();const _0xb2920e=this['sectionViewActive']?0xfa:0x2,_0x2c8775=this[_0x58294d(0xb9)]['settings'][_0x58294d(0x5c2)]['gridStep']*_0xb2920e,_0x2807e4=this[_0x58294d(0x3d7)](_0x2c8775);if(_0x2807e4[_0x58294d(0x204)]>0x0)this[_0x58294d(0x4e2)]=!![];_0x2807e4[_0x58294d(0x4ff)](_0x450be4=>this[_0x58294d(0x2ca)](this[_0x58294d(0x25e)],_0x450be4)),this['hasInitialDrawComplete']=!![];}},findVisibleSeats=(_0x2f2e5a,_0x39169a,_0x1e39eb)=>{const _0x57170b=_0x1eb601;return _0x1e39eb[_0x57170b(0x296)](_0x2f2e5a[_0x57170b(0x260)],_0x2f2e5a[_0x57170b(0x514)],_0x2f2e5a[_0x57170b(0x2fd)],_0x2f2e5a[_0x57170b(0x3a5)])['map'](_0x58287c=>({..._0x39169a[_0x58287c]}));};function createSvgElement(_0x4915e9){const _0xc6f00b=_0x1eb601;if(!_0x4915e9)return console[_0xc6f00b(0xa5)](_0xc6f00b(0x46f)),document[_0xc6f00b(0x46b)](_0xc6f00b(0x3ac),_0xc6f00b(0x4a1));const _0x2b734b=new DOMParser(),_0x826df4=_0x2b734b['parseFromString'](_0x4915e9,_0xc6f00b(0x47f)),_0x10c884=_0x826df4[_0xc6f00b(0x379)](_0xc6f00b(0x21a));if(_0x10c884){const _0x1bea0c=_0x10c884[_0xc6f00b(0x379)](_0xc6f00b(0x104)),_0x34f824=_0x1bea0c?_0x1bea0c[_0xc6f00b(0x5af)]:_0x10c884[_0xc6f00b(0x5af)];console[_0xc6f00b(0x1ca)](_0xc6f00b(0x48f),_0x4915e9[_0xc6f00b(0x1da)](0x0,0x1f4)+'...');if(_0x34f824&&_0x34f824[_0xc6f00b(0x308)](_0xc6f00b(0x5c1))&&_0x34f824['includes'](_0xc6f00b(0xf8)))throw new Error('SVG\x20has\x20duplicate\x20attributes:\x20'+_0x34f824);throw new Error(_0xc6f00b(0x294)+_0x34f824);}const _0x513627=_0x826df4[_0xc6f00b(0x2e7)];if(!_0x513627||_0x513627['nodeName'][_0xc6f00b(0x27c)]()!==_0xc6f00b(0x4a1))throw new Error(_0xc6f00b(0x281));return _0x513627;}function createSvgImageElement(_0x372eda,_0x2c8fd6,_0x428b65){const _0x1bed7b=_0x1eb601;if(!_0x372eda)throw new Error(_0x1bed7b(0x46f));let _0x1cf5b9=null;return _0x2c8fd6&&_0x428b65&&(_0x1cf5b9=getSvgDimensions(_0x372eda,_0x2c8fd6,_0x428b65)),new Promise((_0x53cab8,_0x3108b2)=>{const _0x228e81=_0x1bed7b,_0x1ac569=new Image();_0x1ac569[_0x228e81(0x569)]=_0x228e81(0x8a)+btoa(unescape(encodeURIComponent(_0x372eda))),_0x1cf5b9&&(_0x1ac569[_0x228e81(0x55a)]=_0x1cf5b9[_0x228e81(0x55a)],_0x1ac569['height']=_0x1cf5b9[_0x228e81(0x3e0)]),_0x1ac569['onload']=()=>_0x53cab8(_0x1ac569),_0x1ac569[_0x228e81(0x323)]=()=>_0x3108b2(_0x228e81(0xeb));});}async function loadImageFromUrl(_0x3ad786,_0x2cd395){const _0x5cba95=_0x1eb601;if(!_0x3ad786)throw new Error(_0x5cba95(0x3b1));return new Promise((_0x53fc88,_0x57c1de)=>{const _0x4352f3=_0x5cba95,_0x5e99fd=new Image();_0x2cd395&&(_0x5e99fd[_0x4352f3(0x14f)]=_0x2cd395),_0x5e99fd[_0x4352f3(0x569)]=_0x3ad786,_0x5e99fd[_0x4352f3(0x479)]=()=>_0x53fc88(_0x5e99fd),_0x5e99fd['onerror']=_0x52d425=>_0x57c1de('PNG\x20image\x20load\x20error:\x20'+_0x52d425[_0x4352f3(0x4c4)]);});}var setImageSizeAndCenter=(_0x1a77e6,_0x1d5248)=>{const _0x5338b9=_0x1eb601,{x:_0x105223,y:_0x9e91ab,width:_0x5b64c6,height:_0x49fc53}=_0x1d5248;_0x1a77e6[_0x5338b9(0x464)][_0x5338b9(0x43d)]=_0x5338b9(0x23d),_0x1a77e6[_0x5338b9(0x464)][_0x5338b9(0x289)]=_0x105223+'px',_0x1a77e6['style'][_0x5338b9(0x478)]=_0x9e91ab+'px',_0x1a77e6['style'][_0x5338b9(0x55a)]=_0x5b64c6+'px',_0x1a77e6['style'][_0x5338b9(0x3e0)]=_0x49fc53+'px',_0x1a77e6[_0x5338b9(0x55a)]=_0x5b64c6,_0x1a77e6[_0x5338b9(0x3e0)]=_0x49fc53,_0x1a77e6[_0x5338b9(0x464)][_0x5338b9(0x334)]=_0x5338b9(0x546);};async function svgToBase64(_0x2aceab){const _0x453d6c=_0x1eb601,_0x35efdc=new Blob([_0x2aceab],{'type':_0x453d6c(0x47f)}),_0x5bd642=URL[_0x453d6c(0x24f)](_0x35efdc);return new Promise((_0x598795,_0x368513)=>{const _0x48fb0b=_0x453d6c,_0x5ec4ee=new Image();_0x5ec4ee[_0x48fb0b(0x14f)]=_0x48fb0b(0x3f3);const _0x49cb0a=0x4;_0x5ec4ee[_0x48fb0b(0x479)]=()=>{const _0x281f87=_0x48fb0b;URL[_0x281f87(0x304)](_0x5bd642);const _0x53053e=document[_0x281f87(0x4a9)](_0x281f87(0x4a4));_0x53053e['width']=_0x5ec4ee[_0x281f87(0x55a)]*_0x49cb0a,_0x53053e[_0x281f87(0x3e0)]=_0x5ec4ee[_0x281f87(0x3e0)]*_0x49cb0a;const _0x5939b3=_0x53053e[_0x281f87(0x42e)]('2d');_0x5939b3?(_0x5939b3[_0x281f87(0x470)](_0x5ec4ee,0x0,0x0,_0x53053e[_0x281f87(0x55a)],_0x53053e[_0x281f87(0x3e0)]),_0x598795(_0x53053e['toDataURL'](_0x281f87(0x20a)))):_0x368513(new Error('Failed\x20to\x20get\x20canvas\x20context'));},_0x5ec4ee[_0x48fb0b(0x323)]=_0x368513,_0x5ec4ee[_0x48fb0b(0x569)]=_0x5bd642;});}function getSvgDimensions(_0x3b70b1,_0x14615f,_0x313457){const _0x48f351=_0x1eb601,_0x4819fb=new DOMParser(),_0x3ed26e=_0x4819fb[_0x48f351(0x597)](_0x3b70b1,_0x48f351(0x47f)),_0x4ecf8c=_0x3ed26e[_0x48f351(0x24c)]('svg')[0x0];if(_0x4ecf8c['hasAttribute']('width')&&_0x4ecf8c['hasAttribute']('height'))return{'width':parseFloat(_0x4ecf8c[_0x48f351(0x348)](_0x48f351(0x55a))[_0x48f351(0x3b5)]('px','')),'height':parseFloat(_0x4ecf8c[_0x48f351(0x348)](_0x48f351(0x3e0))[_0x48f351(0x3b5)]('px',''))};else{if(_0x4ecf8c[_0x48f351(0x228)](_0x48f351(0x2af))){const _0x5ea890=_0x4ecf8c[_0x48f351(0x348)](_0x48f351(0x2af))['split']('\x20');return{'width':parseFloat(_0x5ea890[0x2]),'height':parseFloat(_0x5ea890[0x3])};}else return{'width':_0x14615f,'height':_0x313457};}}var theme_default={'gridStep':0xe,'bgColor':_0x1eb601(0x2a2),'unavailableSeatRadius':0x3,'filteredSeatRadius':0x5,'availableSeatRadius':0x8,'specialSeatRadius':0xc,'hoveredSeatRadius':0x13,'selectedSeatRadius':0x15,'seatFont':_0x1eb601(0x153),'seatTextColor':'#fff','unavailableSeatColor':_0x1eb601(0x504),'filteredSeatColor':_0x1eb601(0x4b1),'svgSectionStyles':{'default':{},'filtered':{'bgColor':_0x1eb601(0x4b1)},'unavailable':{'bgColor':'#bbb'},'hovered':{'stroke':{'color':_0x1eb601(0x26c),'width':'3px'},'cursor':_0x1eb601(0x21d)},'selected':{'stroke':{'color':_0x1eb601(0x26c),'opacity':0x1}}},'shadowColor':_0x1eb601(0x318),'shadowBlur':0x14,'priceColors':[['#9C27B0',_0x1eb601(0xc6),'#3F51B5','#2196F3',_0x1eb601(0x4d3),_0x1eb601(0x28f),_0x1eb601(0x23c),_0x1eb601(0x3c9),_0x1eb601(0x378),_0x1eb601(0x1bc),_0x1eb601(0x23b),_0x1eb601(0xde),_0x1eb601(0x1ce)],[_0x1eb601(0x26c)],[_0x1eb601(0x26c),_0x1eb601(0x378)],[_0x1eb601(0xc6),_0x1eb601(0x26c),_0x1eb601(0x378)]],'colorCategories':[_0x1eb601(0x20b),_0x1eb601(0xc6),_0x1eb601(0x4dd),_0x1eb601(0x26c),_0x1eb601(0x4d3),'#009688',_0x1eb601(0x23c),_0x1eb601(0x3c9),_0x1eb601(0x378),_0x1eb601(0x1bc),'#FF5722',_0x1eb601(0xde),'#E91E63']},ATTR_DATA_GA_SELECTED=_0x1eb601(0x4c3),ATTR_OUTER_HIGHLIGHT='outer-highlight',ATTR_DATA_GA_UNAVAILABLE=_0x1eb601(0x3cb),ATTR_DATA_DEFAULT_FILL=_0x1eb601(0x3bf),SM_OUTLINE_FOCUSED=_0x1eb601(0x2b1),UNDERLAY_BINDED_GA_CSS_STYLES=_0x1eb601(0x10c),OUTLINE_CLASS=_0x1eb601(0x487),appendStyles=_0x4b16af=>{const _0x5c6162=_0x1eb601,_0x27cb61=document['querySelector'](_0x5c6162(0x3c3))||document[_0x5c6162(0x200)],_0xf6198e=document[_0x5c6162(0x46b)]('http://www.w3.org/2000/svg',_0x5c6162(0x464)),_0x135249=generateDynamicHighlightCss(bgOutlineCss,_0x4b16af||theme_default[_0x5c6162(0x11f)]);_0xf6198e[_0x5c6162(0xa9)](document[_0x5c6162(0x37d)](_0x135249));const _0x536aaa=generateDynamicHighlightCss(outlineCss,theme_default[_0x5c6162(0x11f)]);_0xf6198e['appendChild'](document[_0x5c6162(0x37d)](_0x536aaa)),_0x27cb61[_0x5c6162(0xa9)](_0xf6198e);},getThemeStyle=(_0x396bbb,_0x354d88)=>{if(_0x354d88)return _0x396bbb+':\x20'+_0x354d88+';';return'';},generateDynamicHighlightCss=(_0x211b2c,_0x130698)=>{const _0x187031=_0x1eb601;var _0x20cb75,_0x5a5c58,_0x16660f,_0x343059,_0x4c0f73,_0x5ede3b,_0x47e291,_0x191024,_0x1fd0aa,_0x3fa346,_0x18eaab,_0x549754,_0x344dd1,_0x5c4d3d,_0x326dac,_0x4dccbe,_0x3999b7,_0x46b6a7,_0x49d9a3,_0x48ffef,_0x27aa59,_0xa6c02f,_0x4c148c,_0x40ad15,_0x4b074a,_0x1d9dd1,_0x83b821,_0x2e975a,_0x546a39,_0x3306a1,_0x1560b8,_0x4389b1,_0x30f82a,_0x3c43e6,_0x58e144,_0x445a3c,_0x5dfbea,_0x45abf5,_0x502fa4,_0x27da07,_0x20a815;const _0xc2df4a='\x0a\x20\x20\x20\x20\x20\x20.sm-eagle-view\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20left:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20100%;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',_0x1b2bdb=_0x187031(0x409)+OUTLINE_CLASS+_0x187031(0x554)+getThemeStyle(_0x187031(0x8c),(_0x20cb75=_0x130698==null?void 0x0:_0x130698[_0x187031(0x53d)])==null?void 0x0:_0x20cb75[_0x187031(0x8c)])+_0x187031(0x426)+getThemeStyle(_0x187031(0x48b),(_0x16660f=(_0x5a5c58=_0x130698==null?void 0x0:_0x130698[_0x187031(0x53d)])==null?void 0x0:_0x5a5c58[_0x187031(0x48b)])==null?void 0x0:_0x16660f[_0x187031(0x4e4)])+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle(_0x187031(0x37e),(_0x4c0f73=(_0x343059=_0x130698==null?void 0x0:_0x130698['hovered'])==null?void 0x0:_0x343059[_0x187031(0x48b)])==null?void 0x0:_0x4c0f73['opacity'])+_0x187031(0x591)+getThemeStyle('fill',(_0x47e291=(_0x5ede3b=_0x130698==null?void 0x0:_0x130698[_0x187031(0x53d)])==null?void 0x0:_0x5ede3b['sectionName'])==null?void 0x0:_0x47e291[_0x187031(0x4e4)])+_0x187031(0x2f7),_0x3415c0='\x0a\x20\x20\x20\x20\x20\x20.sm-shape-ga:hover,\x0a\x20\x20\x20\x20\x20\x20.sm-table:hover,\x20\x0a\x20\x20\x20\x20\x20\x20.sm-eagle-view\x20.'+OUTLINE_CLASS+':hover,\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga:hover\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle('cursor',(_0x191024=_0x130698==null?void 0x0:_0x130698['hovered'])==null?void 0x0:_0x191024[_0x187031(0x8c)])+_0x187031(0x426)+getThemeStyle('stroke',(_0x3fa346=(_0x1fd0aa=_0x130698==null?void 0x0:_0x130698[_0x187031(0x25f)])==null?void 0x0:_0x1fd0aa['stroke'])==null?void 0x0:_0x3fa346[_0x187031(0x4e4)])+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle(_0x187031(0x37e),(_0x549754=(_0x18eaab=_0x130698==null?void 0x0:_0x130698[_0x187031(0x25f)])==null?void 0x0:_0x18eaab[_0x187031(0x48b)])==null?void 0x0:_0x549754[_0x187031(0x390)])+_0x187031(0x426)+getThemeStyle(_0x187031(0x152),(_0x5c4d3d=(_0x344dd1=_0x130698==null?void 0x0:_0x130698['hovered'])==null?void 0x0:_0x344dd1[_0x187031(0x48b)])==null?void 0x0:_0x5c4d3d['width'])+'\x0a\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20fill:\x20transparent;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga\x20path[data-seatmap-ga]:hover\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle(_0x187031(0x344),(_0x326dac=_0x130698==null?void 0x0:_0x130698['hovered'])==null?void 0x0:_0x326dac[_0x187031(0x4ef)])+'\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga\x20>\x20path:not([data-seatmap-ga]):hover\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle(_0x187031(0x344),(_0x3999b7=(_0x4dccbe=_0x130698==null?void 0x0:_0x130698[_0x187031(0x25f)])==null?void 0x0:_0x4dccbe['sectionName'])==null?void 0x0:_0x3999b7[_0x187031(0x4e4)])+_0x187031(0x2f7),_0x30fc9f=_0x187031(0xfd)+ATTR_DATA_GA_SELECTED+_0x187031(0x536)+ATTR_DATA_GA_SELECTED+_0x187031(0x329)+getThemeStyle(_0x187031(0x8c),(_0x46b6a7=_0x130698==null?void 0x0:_0x130698[_0x187031(0x448)])==null?void 0x0:_0x46b6a7['cursor'])+_0x187031(0x426)+getThemeStyle('stroke',(_0x48ffef=(_0x49d9a3=_0x130698==null?void 0x0:_0x130698[_0x187031(0x448)])==null?void 0x0:_0x49d9a3['stroke'])==null?void 0x0:_0x48ffef[_0x187031(0x4e4)])+_0x187031(0x426)+getThemeStyle(_0x187031(0x37e),(_0xa6c02f=(_0x27aa59=_0x130698==null?void 0x0:_0x130698['selected'])==null?void 0x0:_0x27aa59[_0x187031(0x48b)])==null?void 0x0:_0xa6c02f[_0x187031(0x390)])+_0x187031(0x503)+ATTR_DATA_GA_SELECTED+_0x187031(0x3ae)+getThemeStyle(_0x187031(0x344),(_0x4c148c=_0x130698==null?void 0x0:_0x130698[_0x187031(0x448)])==null?void 0x0:_0x4c148c[_0x187031(0x4ef)])+_0x187031(0x105)+ATTR_DATA_GA_SELECTED+_0x187031(0x2c9)+getThemeStyle(_0x187031(0x344),(_0x4b074a=(_0x40ad15=_0x130698==null?void 0x0:_0x130698[_0x187031(0x448)])==null?void 0x0:_0x40ad15['sectionName'])==null?void 0x0:_0x4b074a['color'])+'\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',_0x4d84a4=_0x187031(0xfd)+ATTR_DATA_GA_UNAVAILABLE+_0x187031(0x536)+ATTR_DATA_GA_UNAVAILABLE+_0x187031(0x329)+getThemeStyle(_0x187031(0x8c),(_0x1d9dd1=_0x130698==null?void 0x0:_0x130698[_0x187031(0x4eb)])==null?void 0x0:_0x1d9dd1['cursor'])+_0x187031(0x426)+getThemeStyle(_0x187031(0x48b),(_0x2e975a=(_0x83b821=_0x130698==null?void 0x0:_0x130698['unavailable'])==null?void 0x0:_0x83b821[_0x187031(0x48b)])==null?void 0x0:_0x2e975a[_0x187031(0x4e4)])+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle(_0x187031(0x37e),(_0x3306a1=(_0x546a39=_0x130698==null?void 0x0:_0x130698[_0x187031(0x4eb)])==null?void 0x0:_0x546a39['stroke'])==null?void 0x0:_0x3306a1[_0x187031(0x390)])+_0x187031(0x503)+ATTR_DATA_GA_UNAVAILABLE+'=\x221\x22]\x20path[data-seatmap-ga]\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle(_0x187031(0x344),(_0x1560b8=_0x130698==null?void 0x0:_0x130698[_0x187031(0x4eb)])==null?void 0x0:_0x1560b8[_0x187031(0x4ef)])+_0x187031(0x105)+ATTR_DATA_GA_UNAVAILABLE+_0x187031(0x2c9)+getThemeStyle(_0x187031(0x344),(_0x30f82a=(_0x4389b1=_0x130698==null?void 0x0:_0x130698['unavailable'])==null?void 0x0:_0x4389b1[_0x187031(0x33d)])==null?void 0x0:_0x30f82a[_0x187031(0x4e4)])+'\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',_0x17b02d=_0x187031(0x3d3)+getThemeStyle(_0x187031(0x8c),(_0x3c43e6=_0x130698==null?void 0x0:_0x130698[_0x187031(0x25f)])==null?void 0x0:_0x3c43e6[_0x187031(0x8c)])+_0x187031(0x426)+getThemeStyle(_0x187031(0x48b),(_0x445a3c=(_0x58e144=_0x130698==null?void 0x0:_0x130698[_0x187031(0x25f)])==null?void 0x0:_0x58e144['stroke'])==null?void 0x0:_0x445a3c[_0x187031(0x4e4)])+_0x187031(0x426)+getThemeStyle('stroke-opacity',(_0x45abf5=(_0x5dfbea=_0x130698==null?void 0x0:_0x130698['hovered'])==null?void 0x0:_0x5dfbea['stroke'])==null?void 0x0:_0x45abf5[_0x187031(0x390)])+_0x187031(0x1c7)+getThemeStyle('fill',(_0x502fa4=_0x130698==null?void 0x0:_0x130698[_0x187031(0x25f)])==null?void 0x0:_0x502fa4['bgColor'])+'\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga[outer-highlight=\x221\x22]\x20>\x20path:not([data-seatmap-ga])\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle('fill',(_0x20a815=(_0x27da07=_0x130698==null?void 0x0:_0x130698[_0x187031(0x25f)])==null?void 0x0:_0x27da07[_0x187031(0x33d)])==null?void 0x0:_0x20a815[_0x187031(0x4e4)])+'\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',_0x2373cd=_0x187031(0x351)+SM_OUTLINE_FOCUSED+_0x187031(0x473)+SM_OUTLINE_FOCUSED+_0x187031(0x53f);return'\x0a\x20\x20\x20\x20\x20\x20'+_0x211b2c+'\x0a\x20\x20\x20\x20\x20\x20'+_0xc2df4a+'\x0a\x20\x20\x20\x20\x20\x20'+_0x1b2bdb+_0x187031(0x1dc)+_0x3415c0+_0x187031(0x1dc)+_0x30fc9f+'\x0a\x20\x20\x20\x20\x20\x20'+_0x4d84a4+_0x187031(0x1dc)+_0x17b02d+_0x187031(0x1dc)+_0x2373cd+'\x0a\x20\x20\x20\x20\x20\x20.sm-eagle-view\x20.'+OUTLINE_CLASS+_0x187031(0x2c1);},bgOutlineCss=_0x1eb601(0x414)+OUTLINE_CLASS+'\x20{\x0a\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20stroke-width:\x201px;\x0a\x20\x20\x20\x20\x20\x20stroke-opacity:\x200.5;\x0a\x20\x20\x20\x20\x20\x20vector-effect:\x20non-scaling-stroke;\x0a\x20\x20\x20\x20\x20\x20transition:\x20stroke\x20100ms\x20ease-in-out;\x0a\x20\x20\x20\x20}\x0a\x20\x20',outlineCss=_0x1eb601(0x406)+OUTLINE_CLASS+_0x1eb601(0x535)+OUTLINE_CLASS+_0x1eb601(0xd4),cleanupStyles=(_0x3161c2,_0x350242)=>{const _0x59aa31=_0x1eb601;if(!_0x3161c2['hasAttribute'](_0x59aa31(0x464)))return;if(_0x350242[_0x59aa31(0x204)]===0x1&&_0x350242[0x0]==='*'){_0x3161c2[_0x59aa31(0x1ac)](_0x59aa31(0x464));return;}const _0x6ca0fe=_0x3161c2[_0x59aa31(0x348)](_0x59aa31(0x464)),_0x20472b=_0x6ca0fe&&_0x6ca0fe[_0x59aa31(0x1c8)](';')[_0x59aa31(0x2c8)](_0x6eec8c=>_0x6eec8c[_0x59aa31(0x19d)]()[_0x59aa31(0x1c8)](':')),_0x31666a=_0x20472b&&_0x20472b[_0x59aa31(0x1f1)](_0x435a3f=>_0x435a3f[0x0]&&!_0x350242[_0x59aa31(0x308)](_0x435a3f[0x0][_0x59aa31(0x19d)]()));if(_0x31666a&&_0x31666a[_0x59aa31(0x204)]>0x0){const _0x2ab421=_0x31666a[_0x59aa31(0x2c8)](_0x528ebf=>_0x528ebf[_0x59aa31(0x495)](':'))['join'](';');_0x3161c2[_0x59aa31(0x407)](_0x59aa31(0x464),_0x2ab421);}else _0x3161c2[_0x59aa31(0x1ac)](_0x59aa31(0x464));},DPR=window['devicePixelRatio'],THREE_D_CONSTANTS={'tiltFactor':0x2,'perspectiveFactor':1.5};function buildCss3DTransform({rotationZ:_0x22bbcc,perspectiveZ:_0x2ce0a6,tiltX:_0x35cbff},_0x41b71d){const _0x5a32ce=_0x1eb601;var _0x232240;const _0x297490=_0x22bbcc*0xb4/Math['PI'],_0x2aac0d=0x1+_0x35cbff*THREE_D_CONSTANTS[_0x5a32ce(0x46d)],_0x2e1899=0x1+_0x2ce0a6*THREE_D_CONSTANTS[_0x5a32ce(0x375)],_0x3fe229=[],_0x22563c=Math[_0x5a32ce(0x516)](0.0001,(_0x232240=_0x41b71d==null?void 0x0:_0x41b71d[_0x5a32ce(0xf3)])!=null?_0x232240:0x1);if(_0x22563c!==0x1)_0x3fe229[_0x5a32ce(0x116)](_0x5a32ce(0x2d1)+_0x22563c+')');if(_0x2ce0a6!==0x0)_0x3fe229[_0x5a32ce(0x116)]('scaleY('+_0x2e1899+')');if(_0x35cbff!==0x0)_0x3fe229[_0x5a32ce(0x116)]('scaleY('+_0x2aac0d+')');if(_0x22bbcc!==0x0)_0x3fe229[_0x5a32ce(0x116)](_0x5a32ce(0xa2)+_0x297490+_0x5a32ce(0x4d7));if(_0x22563c!==0x1)_0x3fe229['push'](_0x5a32ce(0x2d1)+0x1/_0x22563c+')');return _0x3fe229['join']('\x20');}function getDefaultTransformOrigin(){const _0x58237b=_0x1eb601;return _0x58237b(0x310);}function projectPointTo3DView(_0x4326cd,_0x2e5d62,{rotationZ:_0x5d44cf,perspectiveZ:_0x3b140b,tiltX:_0x2b6bdb}){const _0x215e54=_0x1eb601,_0x24d920=Math[_0x215e54(0x516)](0x1,_0x2e5d62[_0x215e54(0x55a)]),_0xbeea17=Math['max'](0x1,_0x2e5d62['height']),_0x3ab3d5=0x2*_0x4326cd['x']/_0x24d920-0x1,_0x1ada54=0x1-0x2*_0x4326cd['y']/_0xbeea17,_0x490edc=Math[_0x215e54(0x8f)](_0x5d44cf),_0x3b2318=Math[_0x215e54(0x510)](_0x5d44cf),_0x54c7a3=_0x490edc*_0x3ab3d5-_0x3b2318*_0x1ada54,_0xc1266a=_0x3b2318*_0x3ab3d5+_0x490edc*_0x1ada54,_0x384af9=_0xc1266a+_0xc1266a*_0x2b6bdb*THREE_D_CONSTANTS[_0x215e54(0x46d)],_0x3b5810=0x1+_0x384af9*_0x3b140b*THREE_D_CONSTANTS[_0x215e54(0x375)],_0x413210=_0x54c7a3*_0x3b5810,_0x54c3be=_0x384af9*_0x3b5810,_0x390dcb=(_0x413210+0x1)/0x2*_0x24d920,_0x298a1b=(0x1-_0x54c3be)/0x2*_0xbeea17;return{'x':_0x390dcb,'y':_0x298a1b};}function unprojectPointFrom3DView(_0x4dbf19,_0x228aa4,{rotationZ:_0x1e3dda,perspectiveZ:_0x1b2122,tiltX:_0x12bf6f}){const _0x1f328f=_0x1eb601,_0x3bd3de=Math[_0x1f328f(0x516)](0x1,_0x228aa4[_0x1f328f(0x55a)]),_0x24e39b=Math[_0x1f328f(0x516)](0x1,_0x228aa4[_0x1f328f(0x3e0)]),_0x5e6133=0x2*_0x4dbf19['x']/_0x3bd3de-0x1,_0x59dbc0=0x1-0x2*_0x4dbf19['y']/_0x24e39b,_0x2ac050=_0x1b2122*THREE_D_CONSTANTS['perspectiveFactor'];let _0x45fbbd=_0x59dbc0,_0x6e10fd=0x1;if(Math[_0x1f328f(0x182)](_0x2ac050)>0.000001){const _0xfa6f32=0x1+0x4*_0x2ac050*_0x59dbc0,_0x563409=_0xfa6f32>=0x0?Math['sqrt'](_0xfa6f32):0x1;_0x45fbbd=(-0x1+_0x563409)/(0x2*_0x2ac050),_0x6e10fd=0x1+_0x2ac050*_0x45fbbd;}const _0x4b0e3f=_0x5e6133/_0x6e10fd,_0x5ad61b=_0x45fbbd/(0x1+_0x12bf6f*THREE_D_CONSTANTS[_0x1f328f(0x46d)]),_0x53b56e=_0x4b0e3f,_0x52abc8=Math[_0x1f328f(0x8f)](_0x1e3dda),_0xf72cf2=Math[_0x1f328f(0x510)](_0x1e3dda),_0x830ced=_0x52abc8*_0x53b56e-_0xf72cf2*_0x5ad61b,_0x7c0f7f=_0xf72cf2*_0x53b56e+_0x52abc8*_0x5ad61b,_0x1173df=(_0x830ced+0x1)/0x2*_0x3bd3de,_0x5b1050=(0x1-_0x7c0f7f)/0x2*_0x24e39b;return{'x':_0x1173df,'y':_0x5b1050};}var UNDERLAY_BINDED_GA_PATH_ATTR=_0x1eb601(0x4b0),UNDERLAY_BINDED_GA_PATH_ATTR_LEGACY=_0x1eb601(0x41f),UNDERLAY_SVG_GROUP=_0x1eb601(0x32d),UNDERLAY_TO_BIND_GA_PATH_ATTR=_0x1eb601(0x43f),DATA_GOS_ID=_0x1eb601(0x367),DATA_FONT_SCALE=_0x1eb601(0x298),enrichElementWithData=(_0x3e57e7,_0x293bd2,_0x32d9fe,_0x5352d1)=>{const _0x43f43d=_0x1eb601,_0x3d0167=_0x3e57e7[_0x43f43d(0x348)](_0x32d9fe);if(!_0x3d0167)return;_0x3e57e7[_0x43f43d(0x407)]('data-gos-guid',_0x3d0167);const _0x1095d4=_0x293bd2[_0x43f43d(0x12a)](_0x920585=>(_0x920585==null?void 0x0:_0x920585[_0x43f43d(0x1cd)])===_0x3d0167);if(!_0x1095d4){_0x3e57e7[_0x43f43d(0x407)]('opacity',_0x43f43d(0xe6));return;}!(_0x1095d4==null?void 0x0:_0x1095d4[_0x43f43d(0x3fb)])&&_0x3e57e7[_0x43f43d(0x407)]('opacity',_0x43f43d(0xe6));const _0x335405=_0x1095d4==null?void 0x0:_0x1095d4['id'];_0x335405&&_0x3e57e7[_0x43f43d(0x407)](DATA_GOS_ID,_0x335405[_0x43f43d(0x223)]());const _0x1725af=_0x5352d1[_0x43f43d(0x272)][_0x43f43d(0x1f1)](_0x1115e3=>_0x1115e3[_0x43f43d(0x254)]===_0x335405),_0x3a561f=_0x1725af[_0x43f43d(0x12a)](_0x496b41=>_0x496b41['priceId']);if(_0x1725af[_0x43f43d(0x204)]>0x0&&!_0x3a561f&&_0x5352d1[_0x43f43d(0x11b)][_0x43f43d(0x126)])return;_0x5352d1['settings'][_0x43f43d(0x220)]?_0x3e57e7[_0x43f43d(0x2c2)][_0x43f43d(0x1f5)](OUTLINE_CLASS):_0x3e57e7['classList']['add'](_0x43f43d(0x2f9));},OutlineLayer=class{constructor(_0x52a7f0){const _0x5dac38=_0x1eb601;this[_0x5dac38(0x4fe)]=![],this[_0x5dac38(0x155)]=UNDERLAY_BINDED_GA_PATH_ATTR,this[_0x5dac38(0x22f)]={},this[_0x5dac38(0x4f5)]=_0x50010f=>{const _0x381439=_0x5dac38,{sectionsById:_0x381ac7}=this['context'],_0x88a47e=[];return _0x50010f[_0x381439(0x4ff)](_0x5d2697=>{const _0x10354a=_0x381439,_0x2be3e3=Number(_0x5d2697[_0x10354a(0x348)](DATA_GOS_ID)),_0x53c65b=_0x2be3e3?_0x381ac7[_0x2be3e3]:null,_0x5d8dfd=_0x5d2697['getAttribute'](_0x10354a(0x111));if(!_0x53c65b||!_0x5d8dfd)return;const _0x17cb0d=matrixStrToArray(_0x5d8dfd);_0x88a47e[_0x10354a(0x116)]({'id':_0x53c65b['id'],'name':_0x53c65b[_0x10354a(0x391)],'transform':_0x17cb0d,'isTable':!!(_0x53c65b['type']==='TABLE')});}),_0x88a47e;},this[_0x5dac38(0x5ba)]=_0xc56c45=>{const _0x2d4d06=_0x5dac38,_0x39d7b8=document['querySelector'](UNDERLAY_SVG_GROUP),_0x19c9ce=_0x39d7b8==null?void 0x0:_0x39d7b8['querySelector']('['+DATA_GOS_ID+'=\x22'+_0xc56c45+'\x22]'),_0x2c63c3=this[_0x2d4d06(0xb9)][_0x2d4d06(0x11b)]['theme'];if(!_0x19c9ce)return;_0x19c9ce[_0x2d4d06(0x1ac)](ATTR_DATA_GA_SELECTED),_0x19c9ce[_0x2d4d06(0x407)](ATTR_DATA_GA_UNAVAILABLE,'1');const _0x5f581e=Array['from'](_0x19c9ce==null?void 0x0:_0x19c9ce[_0x2d4d06(0x599)]('['+UNDERLAY_TO_BIND_GA_PATH_ATTR+']'));_0x5f581e==null?void 0x0:_0x5f581e[_0x2d4d06(0x4ff)](_0x43954e=>{const _0x4162e0=_0x2d4d06;var _0x468a7d,_0x1944b4,_0x24f896;const _0x469dce=_0x43954e[_0x4162e0(0x348)](ATTR_DATA_DEFAULT_FILL);if(_0x469dce)return;const _0x161d0e=_0x43954e[_0x4162e0(0x348)](_0x4162e0(0x344))||_0x4162e0(0x53b);_0x43954e[_0x4162e0(0x407)](ATTR_DATA_DEFAULT_FILL,_0x161d0e),_0x43954e[_0x4162e0(0x407)](_0x4162e0(0x344),((_0x1944b4=(_0x468a7d=_0x2c63c3==null?void 0x0:_0x2c63c3[_0x4162e0(0x11f)])==null?void 0x0:_0x468a7d['unavailable'])==null?void 0x0:_0x1944b4[_0x4162e0(0x4ef)])||((_0x24f896=theme_default['svgSectionStyles'])==null?void 0x0:_0x24f896[_0x4162e0(0x4eb)][_0x4162e0(0x4ef)])),_0x43954e['setAttribute'](_0x4162e0(0x82),'none');});},this[_0x5dac38(0x1d4)]=_0x38f01f=>{const _0x2b15b5=_0x5dac38,_0x5c1cda=document[_0x2b15b5(0x379)](UNDERLAY_SVG_GROUP),_0x373641=_0x5c1cda==null?void 0x0:_0x5c1cda[_0x2b15b5(0x379)]('['+DATA_GOS_ID+'=\x22'+_0x38f01f+'\x22]');if(!_0x373641)return;_0x373641[_0x2b15b5(0x1ac)](ATTR_DATA_GA_SELECTED),_0x373641[_0x2b15b5(0x1ac)](ATTR_DATA_GA_UNAVAILABLE);const _0x59b88f=Array[_0x2b15b5(0xd0)](_0x373641==null?void 0x0:_0x373641[_0x2b15b5(0x599)]('['+UNDERLAY_TO_BIND_GA_PATH_ATTR+']'));_0x59b88f==null?void 0x0:_0x59b88f[_0x2b15b5(0x4ff)](_0xf244dd=>{const _0x2bfd0f=_0x2b15b5,_0x280b36=_0xf244dd['getAttribute'](ATTR_DATA_DEFAULT_FILL);if(!_0x280b36)return;_0xf244dd['setAttribute'](_0x2bfd0f(0x344),_0x280b36),_0xf244dd[_0x2bfd0f(0x1ac)](ATTR_DATA_DEFAULT_FILL),_0xf244dd['removeAttribute']('pointer-events');});},this['filterSvgSectionById']=_0x37c16f=>{const _0x5c6f99=_0x5dac38,_0x27e066=document[_0x5c6f99(0x379)](UNDERLAY_SVG_GROUP),_0x922643=_0x27e066==null?void 0x0:_0x27e066[_0x5c6f99(0x379)]('['+DATA_GOS_ID+'=\x22'+_0x37c16f+'\x22]'),_0x373eb3=this[_0x5c6f99(0xb9)][_0x5c6f99(0x11b)][_0x5c6f99(0x5c2)];if(!_0x922643)return;_0x922643['removeAttribute'](ATTR_DATA_GA_SELECTED);const _0x4eb405=Array[_0x5c6f99(0xd0)](_0x922643==null?void 0x0:_0x922643[_0x5c6f99(0x599)]('['+UNDERLAY_TO_BIND_GA_PATH_ATTR+']'));_0x4eb405==null?void 0x0:_0x4eb405['forEach'](_0x31574f=>{const _0x2922cf=_0x5c6f99;var _0x333c89,_0x47bc70,_0x396948;const _0x2a80ae=_0x31574f[_0x2922cf(0x348)](ATTR_DATA_DEFAULT_FILL);if(_0x2a80ae)return;const _0x4edad2=_0x31574f[_0x2922cf(0x348)](_0x2922cf(0x344))||_0x2922cf(0x53b);_0x31574f[_0x2922cf(0x407)](ATTR_DATA_DEFAULT_FILL,_0x4edad2),_0x31574f['setAttribute'](_0x2922cf(0x344),((_0x47bc70=(_0x333c89=_0x373eb3==null?void 0x0:_0x373eb3[_0x2922cf(0x11f)])==null?void 0x0:_0x333c89[_0x2922cf(0x3c1)])==null?void 0x0:_0x47bc70[_0x2922cf(0x4ef)])||((_0x396948=theme_default[_0x2922cf(0x11f)])==null?void 0x0:_0x396948['filtered'][_0x2922cf(0x4ef)])),_0x31574f[_0x2922cf(0x407)](_0x2922cf(0x82),_0x2922cf(0x53b));});},this[_0x5dac38(0x355)]=_0x53ff06=>{const _0x2ac4c4=_0x5dac38,_0x229da2=document[_0x2ac4c4(0x379)](UNDERLAY_SVG_GROUP),_0x292da8=_0x229da2==null?void 0x0:_0x229da2[_0x2ac4c4(0x379)]('['+DATA_GOS_ID+'=\x22'+_0x53ff06+'\x22]');if(!_0x292da8)return;_0x292da8[_0x2ac4c4(0x1ac)](ATTR_DATA_GA_SELECTED);const _0xacd032=Array[_0x2ac4c4(0xd0)](_0x292da8==null?void 0x0:_0x292da8[_0x2ac4c4(0x599)]('['+UNDERLAY_TO_BIND_GA_PATH_ATTR+']'));_0xacd032==null?void 0x0:_0xacd032['forEach'](_0x30c1f6=>{const _0x3b831b=_0x2ac4c4,_0x350947=_0x30c1f6[_0x3b831b(0x348)](ATTR_DATA_DEFAULT_FILL);if(!_0x350947)return;_0x30c1f6['setAttribute'](_0x3b831b(0x344),_0x350947),_0x30c1f6['removeAttribute'](ATTR_DATA_DEFAULT_FILL),_0x30c1f6['removeAttribute'](_0x3b831b(0x82));});};var _0x1c6fb2;this[_0x5dac38(0xb9)]=_0x52a7f0,this['initializeBackgroundOutline'](),this[_0x5dac38(0x428)]=document[_0x5dac38(0x46b)](_0x5dac38(0x3ac),'svg'),this[_0x5dac38(0x428)]['style'][_0x5dac38(0x43d)]='absolute',this[_0x5dac38(0x428)][_0x5dac38(0x464)]['left']='0',this[_0x5dac38(0x428)][_0x5dac38(0x464)][_0x5dac38(0x55a)]=_0x5dac38(0xac),this[_0x5dac38(0x428)][_0x5dac38(0x464)][_0x5dac38(0x3e0)]='100%',this[_0x5dac38(0x428)][_0x5dac38(0x464)]['overflow']=_0x5dac38(0x38a),appendStyles((_0x1c6fb2=this['context'][_0x5dac38(0x11b)][_0x5dac38(0x5c2)])==null?void 0x0:_0x1c6fb2[_0x5dac38(0x11f)]),this[_0x5dac38(0x319)]()?(this[_0x5dac38(0x428)][_0x5dac38(0x2c2)][_0x5dac38(0x1f5)](_0x5dac38(0xfa)),this['setBackgroundAsOutline']()):this[_0x5dac38(0x3e2)](),this[_0x5dac38(0x481)](),this[_0x5dac38(0x40a)](),this['context'][_0x5dac38(0x1fb)][_0x5dac38(0xa9)](this['svgElement']),this['handleChangeEagleView']();}[_0x1eb601(0x386)](){const _0x11f921=_0x1eb601;this[_0x11f921(0x428)]['remove'](),this['context'][_0x11f921(0x386)]();}[_0x1eb601(0x326)](_0x113c23){const _0x4ecfee=_0x1eb601;if(!_0x113c23){const _0x22eacb=this['svgElement']['querySelectorAll']('['+ATTR_DATA_GA_SELECTED+']');_0x22eacb==null?void 0x0:_0x22eacb[_0x4ecfee(0x4ff)](_0x9c0d7c=>_0x9c0d7c[_0x4ecfee(0x1ac)](ATTR_DATA_GA_SELECTED));return;}const _0x3b555f=this[_0x4ecfee(0x1ed)](_0x113c23);_0x3b555f==null?void 0x0:_0x3b555f[_0x4ecfee(0x407)](ATTR_DATA_GA_SELECTED,'1');}[_0x1eb601(0x333)](_0x3b9ee0){const _0x4a3b20=_0x1eb601,_0x10f8fc=this[_0x4a3b20(0x428)][_0x4a3b20(0x379)]('['+ATTR_DATA_GA_SELECTED+']');_0x10f8fc==null?void 0x0:_0x10f8fc[_0x4a3b20(0x1ac)](ATTR_DATA_GA_SELECTED);const _0xdb7069=this[_0x4a3b20(0x1ed)](_0x3b9ee0);_0xdb7069==null?void 0x0:_0xdb7069[_0x4a3b20(0x407)](ATTR_DATA_GA_SELECTED,'1');}[_0x1eb601(0x2ab)](){const _0x206763=_0x1eb601,_0x5807c6=this[_0x206763(0x428)][_0x206763(0x599)]('['+ATTR_OUTER_HIGHLIGHT+']');_0x5807c6==null?void 0x0:_0x5807c6[_0x206763(0x4ff)](_0x2e8304=>_0x2e8304[_0x206763(0x1ac)](ATTR_OUTER_HIGHLIGHT));}[_0x1eb601(0x10a)](_0x476919){const _0x518dba=this['getSectionElement'](_0x476919);_0x518dba==null?void 0x0:_0x518dba['setAttribute'](ATTR_OUTER_HIGHLIGHT,'1');}['highlightAllSections'](){const _0x37939c=_0x1eb601,_0x576527=this[_0x37939c(0x428)][_0x37939c(0x599)]('['+DATA_GOS_ID+']');_0x576527==null?void 0x0:_0x576527[_0x37939c(0x4ff)](_0x3b3133=>{const _0x5af390=_0x37939c;_0x3b3133[_0x5af390(0x407)](ATTR_OUTER_HIGHLIGHT,'1');});}[_0x1eb601(0xee)](){const _0x2976dc=_0x1eb601;this[_0x2976dc(0x293)](SM_OUTLINE_FOCUSED);}[_0x1eb601(0x151)](_0x11c096){const _0x2b9bbb=_0x1eb601;this['clearSectionFocus'](),this[_0x2b9bbb(0x3fc)](SM_OUTLINE_FOCUSED,_0x11c096);}[_0x1eb601(0x293)](_0x4fb4bf){const _0x3ff984=_0x1eb601,_0x3fb0e2=this[_0x3ff984(0x428)][_0x3ff984(0x599)]('.'+_0x4fb4bf);if(!_0x3fb0e2)return;_0x3fb0e2['forEach'](_0xc748a=>_0xc748a[_0x3ff984(0x2c2)][_0x3ff984(0x1cf)](_0x4fb4bf));}[_0x1eb601(0x3fc)](_0x19fb18,_0x372bde){const _0x2d06a3=_0x1eb601;if(!_0x372bde)return;const _0x5ade9f=this[_0x2d06a3(0x1ed)](_0x372bde);if(!_0x5ade9f)return;_0x5ade9f[_0x2d06a3(0x2c2)][_0x2d06a3(0x1f5)](_0x19fb18);}[_0x1eb601(0x39a)](_0x4ec62b){const _0x10b03e=_0x1eb601;if(!_0x4ec62b)return null;const _0x3906c8=this['outlineRect'][_0x4ec62b];if(_0x3906c8)return _0x3906c8;const _0x434d7f=this[_0x10b03e(0x1ed)](_0x4ec62b);if(!_0x434d7f)return null;const _0x37138c=_0x434d7f[_0x10b03e(0x171)]();return _0x37138c;}[_0x1eb601(0x1ed)](_0x370570){const _0x50ef86=_0x1eb601;var _0x58baa7;const _0x2878f6=(_0x58baa7=this[_0x50ef86(0x428)]['querySelector']('['+DATA_GOS_ID+'=\x22'+_0x370570+'\x22]\x20>\x20rect'))!=null?_0x58baa7:this[_0x50ef86(0x428)][_0x50ef86(0x379)]('['+DATA_GOS_ID+'=\x22'+_0x370570+'\x22]');return _0x2878f6;}get[_0x1eb601(0x55a)](){const _0x2dab32=_0x1eb601;return this[_0x2dab32(0xb9)][_0x2dab32(0x1fb)][_0x2dab32(0x5b6)];}get[_0x1eb601(0x3e0)](){const _0x5cb1d4=_0x1eb601;return this[_0x5cb1d4(0xb9)][_0x5cb1d4(0x1fb)][_0x5cb1d4(0x2aa)];}[_0x1eb601(0x481)](){const _0x3432ae=_0x1eb601;this['svgElement']['setAttribute'](_0x3432ae(0x55a),this[_0x3432ae(0x55a)]+''),this['svgElement'][_0x3432ae(0x407)](_0x3432ae(0x3e0),this[_0x3432ae(0x3e0)]+''),this[_0x3432ae(0x279)]();}[_0x1eb601(0x319)](){const _0x3416d0=_0x1eb601,_0x274967=this[_0x3416d0(0x4f4)]();return(_0x274967==null?void 0x0:_0x274967[_0x3416d0(0x308)](UNDERLAY_BINDED_GA_PATH_ATTR))||(_0x274967==null?void 0x0:_0x274967[_0x3416d0(0x308)](UNDERLAY_BINDED_GA_PATH_ATTR_LEGACY));}[_0x1eb601(0x56f)](){const _0x7783bf=_0x1eb601,_0x32e5d4=this[_0x7783bf(0x4f4)]();if(!_0x32e5d4)return;this[_0x7783bf(0x162)]=createSvgElement(_0x32e5d4!=null?_0x32e5d4:''),this[_0x7783bf(0x4fe)]=!![],this['underlayBindedPathAttr']=(_0x32e5d4==null?void 0x0:_0x32e5d4[_0x7783bf(0x308)](UNDERLAY_BINDED_GA_PATH_ATTR_LEGACY))?UNDERLAY_BINDED_GA_PATH_ATTR_LEGACY:UNDERLAY_BINDED_GA_PATH_ATTR;const _0x1d8a44=this[_0x7783bf(0x162)]['getElementById'](_0x7783bf(0x172))||document['createElementNS']('http://www.w3.org/2000/svg','g');this[_0x7783bf(0x3e1)]=_0x1d8a44['cloneNode'](!![]),this['backgroundSVG'][_0x7783bf(0x1ac)]('id');const _0x198a7f=this['backgroundSVG']['querySelectorAll']('['+UNDERLAY_BINDED_GA_CSS_STYLES+']');_0x198a7f[_0x7783bf(0x204)]&&_0x198a7f[_0x7783bf(0x4ff)](_0x4734d5=>_0x4734d5[_0x7783bf(0x1cf)]());}[_0x1eb601(0x55b)](){const _0x5026c4=_0x1eb601;if(!this[_0x5026c4(0x4fe)])return;this[_0x5026c4(0x428)][_0x5026c4(0xd5)]='';const _0xbca220=this[_0x5026c4(0x124)](),_0x4ef8ed=this[_0x5026c4(0x3e1)]['getAttribute']('viewBox');_0x4ef8ed&&this[_0x5026c4(0x428)][_0x5026c4(0x407)](_0x5026c4(0x2af),_0x4ef8ed);this[_0x5026c4(0x428)]['appendChild'](this['backgroundSVG']);const _0x48a887=document[_0x5026c4(0x46b)](_0x5026c4(0x3ac),'g');this[_0x5026c4(0x55f)](_0x48a887,_0xbca220),this[_0x5026c4(0x428)]['appendChild'](_0x48a887),this[_0x5026c4(0x7d)]=this[_0x5026c4(0xbc)]();}[_0x1eb601(0x124)](){const _0x5c430b=_0x1eb601,_0x1a946d=Object[_0x5c430b(0x59b)](this[_0x5c430b(0xb9)][_0x5c430b(0x336)]),_0x5c7048=this['backgroundSVG'][_0x5c430b(0x599)]('['+this[_0x5c430b(0x155)]+']');return _0x5c7048[_0x5c430b(0x4ff)](_0x452e27=>{enrichElementWithData(_0x452e27,_0x1a946d,this['underlayBindedPathAttr'],this['context']);}),_0x5c7048;}[_0x1eb601(0x4c8)](_0xab7b3b=[_0x1eb601(0x344)]){const _0x557e4c=_0x1eb601;if(!this['svgElement'])return;const _0x4d0b10=['circle',_0x557e4c(0x321),'path',_0x557e4c(0x21f),'line',_0x557e4c(0x28a),_0x557e4c(0x317)];_0x4d0b10['forEach'](_0x4f4f00=>{const _0x46d6fd=_0x557e4c,_0x5ca691=this[_0x46d6fd(0x428)][_0x46d6fd(0x599)](_0x4f4f00);_0x5ca691[_0x46d6fd(0x4ff)](_0x83e135=>cleanupStyles(_0x83e135,_0xab7b3b));});}['updateOutlines'](){const _0x4be770=_0x1eb601;this[_0x4be770(0x428)]['innerHTML']='',this[_0x4be770(0x55f)](this[_0x4be770(0x428)]),this['outlineRect']=this[_0x4be770(0xbc)]();}['appendAutoAndGaOutlines'](_0x3da39a,_0x4427d1){const _0x24f191=_0x1eb601,_0x531e96=this[_0x24f191(0x4f4)]();if(!_0x531e96)return;this[_0x24f191(0x1e6)](_0x3da39a,_0x531e96,_0x4427d1),this['appendGAOutlines'](_0x3da39a,_0x531e96);}[_0x1eb601(0x199)](_0x13d280,_0x17e42c){const _0xe12457=_0x1eb601;if(this[_0xe12457(0x51f)])return this[_0xe12457(0x51f)];return this[_0xe12457(0x51f)]=getOutlinePaths(_0x13d280,this['context']['sectionsById']),Object[_0xe12457(0x59b)](this[_0xe12457(0xb9)]['sectionsById'])[_0xe12457(0x1f1)](_0x5b6f04=>!_0x5b6f04['isGa'])[_0xe12457(0x1f1)](_0x4f52fe=>_0x17e42c?!Array['from'](_0x17e42c)[_0xe12457(0x12a)](_0x15569b=>{const _0x1d7903=_0xe12457;var _0xa73e6;return _0x15569b[_0x1d7903(0x348)](DATA_GOS_ID)===((_0xa73e6=_0x4f52fe['id'])==null?void 0x0:_0xa73e6['toString']());}):!![])[_0xe12457(0x4ff)](_0x1dec7b=>{const _0x3d36a2=_0xe12457;!this[_0x3d36a2(0x51f)][_0x1dec7b['id']]&&(this['outlineShapes'][_0x1dec7b['id']]=this['createOutlineRect'](_0x1dec7b));}),this[_0xe12457(0x51f)];}[_0x1eb601(0x1e6)](_0x167e26,_0x1cd15f,_0x253bcc){const _0x147e6c=_0x1eb601,_0x4b6aa7=this[_0x147e6c(0x199)](_0x1cd15f,_0x253bcc);Object[_0x147e6c(0x3a0)](_0x4b6aa7)[_0x147e6c(0x4ff)](_0x421286=>{const _0x459752=_0x147e6c,_0x1bab66=Number(_0x421286),_0x5055aa=this[_0x459752(0xb9)]['sectionsById'][_0x1bab66];if(_0x5055aa[_0x459752(0x8e)]&&this[_0x459752(0xb9)][_0x459752(0x11b)][_0x459752(0x126)])return;const _0x4c2af8=this['context'][_0x459752(0x272)][_0x459752(0x12a)](_0x247989=>_0x247989[_0x459752(0x254)]===_0x1bab66&&_0x247989[_0x459752(0x8e)]);if(!_0x4c2af8&&!this[_0x459752(0xb9)][_0x459752(0x11b)][_0x459752(0x126)])return;_0x167e26['appendChild'](_0x4b6aa7[_0x1bab66]);});}[_0x1eb601(0x1b4)](_0xa40c45,_0xa14d9f){const _0x1a3bfe=_0x1eb601,_0x37d434=getGaGroups(_0xa14d9f,this[_0x1a3bfe(0xb9)]['sectionsById'],this['context'][_0x1a3bfe(0x272)]);_0x37d434[_0x1a3bfe(0x4ff)](_0x57d3b4=>{const _0x25230c=_0x1a3bfe;_0x57d3b4[_0x25230c(0x2c2)][_0x25230c(0x1f5)](_0x25230c(0x14b)),_0xa40c45['appendChild'](_0x57d3b4);}),this[_0x1a3bfe(0xb9)][_0x1a3bfe(0x2d2)]=this[_0x1a3bfe(0x4f5)](_0x37d434);}[_0x1eb601(0xbc)](){const _0x140986=_0x1eb601,_0xbc8ec3={},_0x55f580=this[_0x140986(0xb9)][_0x140986(0x1fb)][_0x140986(0x4f9)](),_0x4ed684=_0x55f580[_0x140986(0x478)],_0x23de2c=_0x55f580[_0x140986(0x289)],_0x314769={'x':this['context'][_0x140986(0x3e8)][_0x140986(0x2af)]['x']-this[_0x140986(0xb9)][_0x140986(0x5b1)]['x']/this['context'][_0x140986(0x368)],'y':this['context'][_0x140986(0x3e8)][_0x140986(0x2af)]['y']-this[_0x140986(0xb9)][_0x140986(0x5b1)]['y']/this[_0x140986(0xb9)]['scale']},_0x148dee=this[_0x140986(0x428)]['querySelectorAll']('['+DATA_GOS_ID+_0x140986(0x573));_0x148dee['forEach'](_0x61d6a2=>{const _0x54d113=_0x140986;var _0x43b3ed;const _0x184e51=(_0x43b3ed=_0x61d6a2[_0x54d113(0x93)])==null?void 0x0:_0x43b3ed['getAttribute'](DATA_GOS_ID);if(!_0x184e51)return;_0xbc8ec3[_0x184e51]=_0x61d6a2['getBBox']();});const _0x17e099=this[_0x140986(0x428)][_0x140986(0x599)]('['+DATA_GOS_ID+']');return _0x17e099['forEach'](_0xd23e2=>{const _0x466759=_0x140986,_0x4b50c4=_0xd23e2[_0x466759(0x348)](DATA_GOS_ID);if(!_0x4b50c4)return;const _0x480d66=_0xd23e2,_0xbd06f2=_0x480d66[_0x466759(0x4f9)]();_0xbc8ec3[_0x4b50c4]={'x':(_0xbd06f2['x']-_0x23de2c)*DPR/this['context'][_0x466759(0x368)]+_0x314769['x'],'y':(_0xbd06f2['y']-_0x4ed684)*DPR/this['context'][_0x466759(0x368)]+_0x314769['y'],'width':_0xbd06f2[_0x466759(0x55a)]*DPR/this[_0x466759(0xb9)]['scale'],'height':_0xbd06f2[_0x466759(0x3e0)]*DPR/this[_0x466759(0xb9)]['scale']};}),_0xbc8ec3;}[_0x1eb601(0x57f)](_0x1a17f4){const _0x3bd7a0=_0x1eb601;let _0x32b673=this[_0x3bd7a0(0x22f)][_0x1a17f4['id']];!_0x32b673&&(_0x32b673=this[_0x3bd7a0(0xff)](_0x1a17f4),this[_0x3bd7a0(0x22f)][_0x1a17f4['id']]=_0x32b673);const _0x4bac32=document[_0x3bd7a0(0x46b)](_0x3bd7a0(0x3ac),_0x3bd7a0(0x321));_0x4bac32[_0x3bd7a0(0x407)](_0x3bd7a0(0x1b8),OUTLINE_CLASS),_0x4bac32[_0x3bd7a0(0x407)](DATA_GOS_ID,_0x32b673[_0x3bd7a0(0x168)]+''),_0x4bac32[_0x3bd7a0(0x407)]('rx','8'),_0x4bac32[_0x3bd7a0(0x407)]('x',_0x32b673['x']+''),_0x4bac32[_0x3bd7a0(0x407)]('y',_0x32b673['y']+''),_0x4bac32['setAttribute'](_0x3bd7a0(0x55a),_0x32b673[_0x3bd7a0(0x55a)]+''),_0x4bac32['setAttribute'](_0x3bd7a0(0x3e0),_0x32b673[_0x3bd7a0(0x3e0)]+'');if(_0x32b673['transform'])_0x4bac32[_0x3bd7a0(0x407)](_0x3bd7a0(0x111),_0x32b673['transform']);return _0x4bac32;}['calcOutlineRect'](_0x1ca0ca){const _0x1bfe57=_0x1eb601,_0x33029e=this[_0x1bfe57(0xb9)]['seats'][_0x1bfe57(0x1f1)](_0x3c48c9=>_0x3c48c9[_0x1bfe57(0x254)]===_0x1ca0ca['id']);let _0x361ee9,_0x4eca86;if(_0x1ca0ca['angle']){const _0xa3ecea=_0x1ca0ca[_0x1bfe57(0x2c5)]/0xb4*Math['PI'],_0xae5ec0=Math[_0x1bfe57(0x510)](-_0xa3ecea),_0x1d1134=Math[_0x1bfe57(0x8f)](-_0xa3ecea);_0x361ee9=_0x33029e[_0x1bfe57(0x2c8)](_0x5c48da=>_0x5c48da['x']*_0x1d1134-_0x5c48da['y']*_0xae5ec0),_0x4eca86=_0x33029e['map'](_0x19f49f=>_0x19f49f['y']*_0x1d1134+_0x19f49f['x']*_0xae5ec0);}else _0x361ee9=_0x33029e[_0x1bfe57(0x2c8)](_0x3f533c=>_0x3f533c['x']),_0x4eca86=_0x33029e[_0x1bfe57(0x2c8)](_0x558b36=>_0x558b36['y']);const _0x53eea4=Math[_0x1bfe57(0x147)](..._0x361ee9),_0x1f3b41=Math['max'](..._0x361ee9),_0x2097bb=Math[_0x1bfe57(0x147)](..._0x4eca86),_0x413dc6=Math[_0x1bfe57(0x516)](..._0x4eca86),_0x5a34f2=this[_0x1bfe57(0xb9)][_0x1bfe57(0x3e8)][_0x1bfe57(0x2af)],_0x4a7d1e=theme_default[_0x1bfe57(0x589)]*1.5;return{'sectionId':_0x1ca0ca['id'],'x':Math[_0x1bfe57(0x241)](_0x53eea4-_0x4a7d1e+_0x5a34f2['x']),'y':Math['round'](_0x2097bb-_0x4a7d1e+_0x5a34f2['y']),'width':Math[_0x1bfe57(0x241)](_0x1f3b41-_0x53eea4+_0x4a7d1e*0x2),'height':Math['round'](_0x413dc6-_0x2097bb+_0x4a7d1e*0x2),'transform':_0x1ca0ca[_0x1bfe57(0x2c5)]?_0x1bfe57(0x47c)+_0x5a34f2['x']+'\x20'+_0x5a34f2['y']+_0x1bfe57(0x2e2)+_0x1ca0ca[_0x1bfe57(0x2c5)]+_0x1bfe57(0x529)+-_0x5a34f2['x']+'\x20'+-_0x5a34f2['y']+')':void 0x0};}[_0x1eb601(0x402)](_0x578121){const _0x434311=_0x1eb601;(_0x578121!==void 0x0?_0x578121:this['context'][_0x434311(0x56e)])?(this[_0x434311(0x428)]['classList'][_0x434311(0x1f5)](_0x434311(0x347)),this[_0x434311(0x428)][_0x434311(0x464)][_0x434311(0x43d)]=_0x434311(0x23d),this['svgElement']['style'][_0x434311(0x289)]='0',this[_0x434311(0x428)][_0x434311(0x464)][_0x434311(0x55a)]=_0x434311(0xac),this[_0x434311(0x428)]['style'][_0x434311(0x3e0)]='100%'):this['svgElement'][_0x434311(0x2c2)][_0x434311(0x1cf)](_0x434311(0x347));}[_0x1eb601(0x279)](){const _0x2a8dc7=_0x1eb601;this[_0x2a8dc7(0x4c8)]([_0x2a8dc7(0x344)]);const {scale:_0x505a5a,translate:_0x4a7c2c,underlay:_0x10dc7c}=this[_0x2a8dc7(0xb9)],_0xebcc4f=window[_0x2a8dc7(0x415)],_0x539c53=[(_0x10dc7c[_0x2a8dc7(0x2af)]['x']*_0x505a5a-_0x4a7c2c['x'])/_0x505a5a,(_0x10dc7c['viewBox']['y']*_0x505a5a-_0x4a7c2c['y'])/_0x505a5a,this['width']/_0x505a5a*_0xebcc4f,this[_0x2a8dc7(0x3e0)]/_0x505a5a*_0xebcc4f][_0x2a8dc7(0x495)]('\x20');this[_0x2a8dc7(0x428)][_0x2a8dc7(0x407)](_0x2a8dc7(0x2af),_0x539c53),this[_0x2a8dc7(0xb2)](),this['context'][_0x2a8dc7(0x56e)]&&(this['svgElement'][_0x2a8dc7(0x464)][_0x2a8dc7(0x43d)]=_0x2a8dc7(0x23d),this[_0x2a8dc7(0x428)]['style'][_0x2a8dc7(0x289)]='0',this[_0x2a8dc7(0x428)][_0x2a8dc7(0x464)][_0x2a8dc7(0x55a)]=_0x2a8dc7(0xac),this[_0x2a8dc7(0x428)][_0x2a8dc7(0x464)]['height']=_0x2a8dc7(0xac)),this[_0x2a8dc7(0x49c)]();}[_0x1eb601(0x4ca)](_0x2fdf3b,_0x18abbe){const _0x54ef03=_0x1eb601,{underlay:_0x2a3a86}=this['context'],_0x3c4ff4=window[_0x54ef03(0x415)],_0x19af05=this['context'][_0x54ef03(0x368)]*_0x2fdf3b,_0xb54cb6=[_0x2a3a86[_0x54ef03(0x2af)]['x']-(this[_0x54ef03(0xb9)][_0x54ef03(0x5b1)]['x']/this[_0x54ef03(0xb9)][_0x54ef03(0x368)]+_0x18abbe['x']/_0x19af05),_0x2a3a86[_0x54ef03(0x2af)]['y']-(this['context']['translate']['y']/this['context'][_0x54ef03(0x368)]+_0x18abbe['y']/_0x19af05),this[_0x54ef03(0x55a)]/_0x19af05*_0x3c4ff4,this['height']/_0x19af05*_0x3c4ff4]['join']('\x20');this[_0x54ef03(0x428)][_0x54ef03(0x407)](_0x54ef03(0x2af),_0xb54cb6),this[_0x54ef03(0xb2)](),this[_0x54ef03(0x49c)]();return;}[_0x1eb601(0x40a)](){const _0x2fbf08=_0x1eb601;this['svgElement'][_0x2fbf08(0x464)][_0x2fbf08(0x1f6)]=_0x2fbf08(0x496);}[_0x1eb601(0x49c)](){const _0x516708=_0x1eb601;this[_0x516708(0x428)][_0x516708(0x464)][_0x516708(0x1f6)]=_0x516708(0x38a);}[_0x1eb601(0x4f4)](){const _0x3d0d86=_0x1eb601;return this[_0x3d0d86(0xb9)][_0x3d0d86(0x3e8)][_0x3d0d86(0x188)]||this[_0x3d0d86(0xb9)][_0x3d0d86(0x3e8)][_0x3d0d86(0x146)];}['forceUpdate'](){this['update']();}['apply3DTransforms'](){const _0x13ef17=_0x1eb601;if(!this[_0x13ef17(0xb9)]['enable3DView']){this[_0x13ef17(0x428)][_0x13ef17(0x464)][_0x13ef17(0x111)]='',this[_0x13ef17(0x428)]['style'][_0x13ef17(0x421)]='';return;}const {rotationZ:_0x5847d2,tiltX:_0x17ad84}=this[_0x13ef17(0xb9)];this[_0x13ef17(0x428)][_0x13ef17(0x464)][_0x13ef17(0x421)]=getDefaultTransformOrigin(),this[_0x13ef17(0x428)][_0x13ef17(0x464)][_0x13ef17(0x58e)]=_0x13ef17(0x31f);const _0x1505cf=this[_0x13ef17(0x55a)]/Math[_0x13ef17(0x516)](0x1,this[_0x13ef17(0x3e0)]),_0x2eff6e=buildCss3DTransform({'rotationZ':_0x5847d2,'perspectiveZ':0x0,'tiltX':_0x17ad84},{'aspectRatio':_0x1505cf});this['svgElement']['style'][_0x13ef17(0x111)]=_0x2eff6e;}[_0x1eb601(0x511)](_0x479e92,_0x3b4e46){const _0x3e2fc0=_0x1eb601;var _0x201b49;if(!_0x479e92)return;this['rowsOverlayElement']&&this[_0x3e2fc0(0x2f5)][_0x3e2fc0(0x93)]&&(this[_0x3e2fc0(0x2f5)][_0x3e2fc0(0x93)][_0x3e2fc0(0x154)](this[_0x3e2fc0(0x2f5)]),this[_0x3e2fc0(0x2f5)]=void 0x0);const _0x5ca8ff='<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22>'+_0x479e92+_0x3e2fc0(0x5b0),_0x4e9c91=createSvgElement(_0x5ca8ff),_0x4b130b=_0x4e9c91[_0x3e2fc0(0x379)](_0x3e2fc0(0x285));let _0x4d0744;if(_0x4b130b)_0x4d0744=_0x4b130b;else{if(_0x4e9c91[_0x3e2fc0(0x198)]){const _0x233ea6=document['createElementNS']('http://www.w3.org/2000/svg','g');_0x233ea6['setAttribute']('id','sm-rows');while(_0x4e9c91['firstElementChild']){_0x233ea6[_0x3e2fc0(0xa9)](_0x4e9c91[_0x3e2fc0(0x198)]);}_0x4d0744=_0x233ea6;}else return;}if(_0x3b4e46){const _0x5d759d=document[_0x3e2fc0(0x46b)](_0x3e2fc0(0x3ac),_0x3e2fc0(0x464));_0x5d759d['appendChild'](document[_0x3e2fc0(0x37d)](_0x3b4e46)),this[_0x3e2fc0(0x428)]['appendChild'](_0x5d759d);}this[_0x3e2fc0(0x428)][_0x3e2fc0(0xa9)](_0x4d0744),this[_0x3e2fc0(0x2f5)]=_0x4d0744;try{const _0x5038f5=[],_0x39e5a5=_0x4d0744['querySelectorAll'](_0x3e2fc0(0x28a)),_0x1c5f8d=(_0x201b49=this[_0x3e2fc0(0xb9)]['underlay'])==null?void 0x0:_0x201b49[_0x3e2fc0(0x2af)],_0x36d4e9=_0x1c5f8d?-_0x1c5f8d['x']:0x0,_0x1cb3e4=_0x1c5f8d?-_0x1c5f8d['y']:0x0;_0x39e5a5[_0x3e2fc0(0x4ff)](_0x2927c8=>{const _0xe94b33=_0x3e2fc0,_0xdf6046=_0x2927c8[_0xe94b33(0x348)](_0xe94b33(0x4e1));if(!_0xdf6046)return;const _0x5d1c69=[];_0xdf6046['trim']()['split'](/\s+/)[_0xe94b33(0x4ff)](_0xdcc2ad=>{const _0x2d6488=_0xe94b33,[_0xed39cd,_0x3f63cd]=_0xdcc2ad[_0x2d6488(0x1c8)](','),_0x1e9a27=parseFloat(_0xed39cd),_0x525b28=parseFloat(_0x3f63cd);if(!isNaN(_0x1e9a27)&&!isNaN(_0x525b28))_0x5d1c69[_0x2d6488(0x116)]({'x':_0x1e9a27+_0x36d4e9,'y':_0x525b28+_0x1cb3e4});});if(_0x5d1c69[_0xe94b33(0x204)]<0x2)return;let _0x1aba02;const _0x2953f2=_0x2927c8[_0xe94b33(0x348)]('stroke-width');if(_0x2953f2){const _0x190d6f=parseFloat(_0x2953f2[_0xe94b33(0x3b5)]('px',''));if(!isNaN(_0x190d6f))_0x1aba02=_0x190d6f;}const _0x10d889=_0x2927c8[_0xe94b33(0x348)](_0xe94b33(0x48b))||void 0x0;_0x5038f5[_0xe94b33(0x116)]({'points':_0x5d1c69,'widthPx':_0x1aba02,'color':_0x10d889});}),_0x5038f5[_0x3e2fc0(0x204)]&&(this['context']['rowsPolylines']=_0x5038f5,this[_0x3e2fc0(0xb9)]['rowsPolylinesVersion']++);}catch(_0x4edc96){console[_0x3e2fc0(0xa5)](_0x3e2fc0(0x219),_0x4edc96);}}},getGaGroups=(_0x457429,_0x4e85c6,_0x47d071)=>{const _0x427874=_0x1eb601,_0x5ff97=createSvgElement(_0x457429),_0x2d5407=_0x5ff97[_0x427874(0x599)]('['+DATA_GOS_ID+']'),_0x4a2e5b=theme_default[_0x427874(0x589)],_0x4827e6=[];for(let _0x2ad4e7=0x0;_0x2ad4e7<_0x2d5407[_0x427874(0x204)];_0x2ad4e7++){const _0x1f9876=_0x2d5407[_0x2ad4e7],_0x2035cb=_0x1f9876[_0x427874(0x348)](DATA_GOS_ID),_0x1b27d0=_0x1f9876['classList'][_0x427874(0x187)](_0x427874(0x5bc));if(_0x1b27d0)continue;if(!_0x2035cb)continue;const _0x2cf072=_0x4e85c6[+_0x2035cb];if(_0x2cf072[_0x427874(0x309)]===_0x427874(0x565)&&_0x2cf072[_0x427874(0x8e)]){const _0x8e7979=_0x47d071['filter'](_0x3fbf39=>_0x3fbf39[_0x427874(0x254)]===_0x2cf072['id']&&_0x3fbf39[_0x427874(0x8e)]);if(_0x8e7979[_0x427874(0x204)]>0x0)continue;const _0x54a12d=_0x1f9876[_0x427874(0xc3)]==='g'?_0x1f9876[_0x427874(0x523)]:_0x1f9876;_0x54a12d[_0x427874(0x407)]('x',(+_0x54a12d[_0x427874(0x348)]('x')-0x2*_0x4a2e5b)[_0x427874(0x223)]()),_0x54a12d['setAttribute']('y',(+_0x54a12d[_0x427874(0x348)]('y')-0x2*_0x4a2e5b)[_0x427874(0x223)]()),_0x54a12d[_0x427874(0x407)]('width',(+_0x54a12d[_0x427874(0x348)](_0x427874(0x55a))+0x4*_0x4a2e5b)['toString']()),_0x54a12d['setAttribute'](_0x427874(0x3e0),(+_0x54a12d['getAttribute'](_0x427874(0x3e0))+0x4*_0x4a2e5b)[_0x427874(0x223)]());}if(_0x2cf072[_0x427874(0x309)]===_0x427874(0x565)&&!_0x2cf072[_0x427874(0x8e)])continue;_0x4827e6[_0x427874(0x116)](_0x1f9876);}return _0x4827e6;},getOutlinePaths=(_0x2e2562,_0x4b22dc)=>{const _0x478fae=_0x1eb601,_0x1554f8=createSvgElement(_0x2e2562),_0x46ce41={},_0x5009a6=_0x1554f8['getElementById'](_0x478fae(0x86));if(_0x5009a6){const _0x4f855b=_0x5009a6['querySelectorAll']('['+DATA_GOS_ID+']');for(let _0x5bdea0=0x0;_0x5bdea0<_0x4f855b[_0x478fae(0x204)];_0x5bdea0++){const _0x1c0f1e=_0x4f855b[_0x5bdea0],_0x13dd1a=Number(_0x1c0f1e[_0x478fae(0x348)](DATA_GOS_ID));if(!_0x13dd1a||!_0x4b22dc[_0x13dd1a])continue;_0x46ce41[_0x13dd1a]=_0x1c0f1e;}}return _0x46ce41;},matrixStrToArray=_0x2acda1=>_0x2acda1['substring'](0x7,_0x2acda1['length']-0x1)[_0x1eb601(0x1c8)]('\x20')[_0x1eb601(0x2c8)](parseFloat);import _0x5e4919 from'kdbush';var RendererTargetType=(_0x172786=>{const _0x4ed6f0=_0x1eb601;return _0x172786[_0x4ed6f0(0x4ee)]=_0x4ed6f0(0x44e),_0x172786[_0x4ed6f0(0x120)]=_0x4ed6f0(0x128),_0x172786;})(RendererTargetType||{}),RendererSelectMode=(_0xb2175c=>{const _0x2451a7=_0x1eb601;return _0xb2175c[_0x2451a7(0x17d)]=_0x2451a7(0x3b5),_0xb2175c[_0x2451a7(0x1a8)]='add',_0xb2175c[_0x2451a7(0x513)]='subtract',_0xb2175c;})(RendererSelectMode||{}),SrcEventType=(_0x48b780=>{const _0x4af637=_0x1eb601;return _0x48b780[_0x4af637(0x526)]=_0x4af637(0x380),_0x48b780[_0x4af637(0x42b)]='srcDragMove',_0x48b780[_0x4af637(0x1f3)]='srcDragEnd',_0x48b780[_0x4af637(0x4ac)]=_0x4af637(0x4d4),_0x48b780[_0x4af637(0x134)]=_0x4af637(0x122),_0x48b780;})(SrcEventType||{}),DestEventType=(_0x2feaaf=>{const _0x5b4d14=_0x1eb601;return _0x2feaaf['PAN']=_0x5b4d14(0x91),_0x2feaaf[_0x5b4d14(0x39b)]=_0x5b4d14(0x3dd),_0x2feaaf[_0x5b4d14(0x4b6)]=_0x5b4d14(0x541),_0x2feaaf[_0x5b4d14(0x283)]='destPanZoom',_0x2feaaf[_0x5b4d14(0x1e3)]=_0x5b4d14(0x3d5),_0x2feaaf[_0x5b4d14(0x27e)]=_0x5b4d14(0x2f6),_0x2feaaf['SECTION_CLICK']=_0x5b4d14(0x1be),_0x2feaaf[_0x5b4d14(0x129)]=_0x5b4d14(0x3f6),_0x2feaaf['SECTION_MOUSE_ENTER']='destSectionMouseEnter',_0x2feaaf[_0x5b4d14(0x571)]=_0x5b4d14(0x52c),_0x2feaaf['SECTION_MOUSE_LEAVE']=_0x5b4d14(0x2cf),_0x2feaaf;})(DestEventType||{}),Context=class{constructor(_0x584486,_0x3b6f73,_0x4ccc75){const _0xe063cd=_0x1eb601;this[_0xe063cd(0x45b)]=_0x4ccc75,this[_0xe063cd(0x4c0)]={},this[_0xe063cd(0x4da)]={'seats':[],'ga':[]},this['gaCategories']={},this[_0xe063cd(0x431)]={},this[_0xe063cd(0x85)]={},this['seatsKeysMissedOnPriceSet']=[],this[_0xe063cd(0xc7)]=[],this[_0xe063cd(0x389)]=0x0,this[_0xe063cd(0x35f)]={},this[_0xe063cd(0x41e)]=[],this[_0xe063cd(0x2d2)]=[],this['_selectedAt']={},this[_0xe063cd(0x2d0)]={},this['getPositionByOffset']=_0x3e07df=>({'x':(_0x3e07df['x']*window[_0xe063cd(0x415)]-this[_0xe063cd(0x5b1)]['x'])/this[_0xe063cd(0x368)],'y':(_0x3e07df['y']*window[_0xe063cd(0x415)]-this['translate']['y'])/this[_0xe063cd(0x368)]}),this[_0xe063cd(0x556)]=_0x4b1082=>({'x':Math[_0xe063cd(0x241)]((_0x4b1082['x']*this[_0xe063cd(0x368)]+this['translate']['x'])/window['devicePixelRatio']),'y':Math[_0xe063cd(0x241)]((_0x4b1082['y']*this[_0xe063cd(0x368)]+this[_0xe063cd(0x5b1)]['y'])/window[_0xe063cd(0x415)])}),this[_0xe063cd(0x30a)]=_0x519be5=>{const _0x397e39=_0xe063cd,_0xe1a598=_0x519be5['id']?this[_0x397e39(0x3b7)][_0x519be5['id']]:this['findSeatByKey'](_0x519be5['key']);if(!_0xe1a598)return;return this[_0x397e39(0x3b6)](_0xe1a598,_0x519be5);},this[_0xe063cd(0x4ce)]=()=>{const _0x3efdfa=_0xe063cd;this[_0x3efdfa(0x4da)][_0x3efdfa(0x272)][_0x3efdfa(0x4ff)](_0x25c578=>{const _0x4d84b1=_0x3efdfa,_0x44d488=this[_0x4d84b1(0x3b7)][_0x25c578['id']];if(_0x44d488[_0x4d84b1(0x8e)]||!_0x25c578[_0x4d84b1(0x305)])return;const _0x6219f9=Object['values'](this[_0x4d84b1(0x85)])[_0x4d84b1(0x12a)](_0x2d4e0a=>_0x2d4e0a['name']===_0x25c578['price']+'');if(_0x6219f9)_0x44d488[_0x4d84b1(0x8e)]=_0x6219f9['id'];if(_0x25c578[_0x4d84b1(0x2f3)]&&!_0x44d488[_0x4d84b1(0x2f3)])_0x44d488['special']=_0x25c578['special'];}),this[_0x3efdfa(0x4da)]['ga'][_0x3efdfa(0x4ff)](_0x294dc6=>{const _0x25eb05=_0x3efdfa,_0x4a998b=this[_0x25eb05(0x336)][_0x294dc6[_0x25eb05(0x254)]];if(_0x4a998b[_0x25eb05(0x8e)]||!_0x294dc6[_0x25eb05(0x305)])return;const _0x121c23=Object['values'](this[_0x25eb05(0x85)])[_0x25eb05(0x12a)](_0x21bf54=>_0x21bf54[_0x25eb05(0x391)]===_0x294dc6[_0x25eb05(0x305)]+'');if(_0x121c23)_0x4a998b['priceId']=_0x121c23['id'];}),this[_0x3efdfa(0x45b)]();},this[_0xe063cd(0x508)]=_0x40d6df=>{const _0x2a8f49=_0xe063cd;if(!_0x40d6df[_0x2a8f49(0x4fa)])return;const _0x3667a7=_0x40d6df[_0x2a8f49(0x254)]?this['sectionsById'][_0x40d6df['sectorId']]:Object[_0x2a8f49(0x59b)](this['sectionsById'])[_0x2a8f49(0x12a)](_0x23f22a=>_0x23f22a[_0x2a8f49(0x391)]===_0x40d6df[_0x2a8f49(0x521)]);if(!_0x3667a7)return;return{'sectorId':_0x3667a7['id'],'key':_0x3667a7[_0x2a8f49(0x391)],'count':_0x40d6df['count'],'price':_0x40d6df['price']};},this[_0xe063cd(0x3b6)]=(_0x5760e6,_0xa89feb)=>{const _0x1e6cb7=_0xe063cd,_0xee8542=this['sectionsById'][_0x5760e6[_0x1e6cb7(0x254)]],_0x54d525=this[_0x1e6cb7(0x7a)][_0x5760e6[_0x1e6cb7(0x4f0)]],_0x35c954=[_0xee8542&&_0xee8542[_0x1e6cb7(0x391)],_0x54d525&&_0x54d525[_0x1e6cb7(0x54c)],_0x5760e6[_0x1e6cb7(0x391)]][_0x1e6cb7(0x495)](';;');return{'id':_0x5760e6['id'],'key':_0x35c954,'price':(_0xa89feb==null?void 0x0:_0xa89feb[_0x1e6cb7(0x305)])!==void 0x0?_0xa89feb['price']:_0x5760e6[_0x1e6cb7(0x8e)]?parseInt(this[_0x1e6cb7(0x85)][Number(_0x5760e6[_0x1e6cb7(0x8e)])][_0x1e6cb7(0x391)]):void 0x0,'special':(_0xa89feb==null?void 0x0:_0xa89feb[_0x1e6cb7(0x2f3)])?_0xa89feb[_0x1e6cb7(0x2f3)]:_0x5760e6[_0x1e6cb7(0x2f3)]};},this['seatToExtendedSeat']=_0x5b63fc=>{const _0x3e716f=_0xe063cd,_0x4989ad=this[_0x3e716f(0x336)][_0x5b63fc['sectorId']],_0x51bccd=this['rowsById'][_0x5b63fc[_0x3e716f(0x4f0)]],_0x4fee28=this[_0x3e716f(0x49d)](_0x5b63fc);return Object[_0x3e716f(0x3df)](this[_0x3e716f(0x3b6)](_0x5b63fc),{'x':_0x4fee28['x'],'y':_0x4fee28['y'],'ax':_0x5b63fc['x'],'ay':_0x5b63fc['y'],'sectionId':_0x5b63fc[_0x3e716f(0x254)],'sectorId':_0x5b63fc[_0x3e716f(0x254)],'seatName':_0x5b63fc[_0x3e716f(0x391)],'rowNumber':_0x51bccd[_0x3e716f(0x54c)],'sectionName':_0x4989ad['name']});},this[_0xe063cd(0x374)]=_0x4a8f8f=>getSeatByPosition(this['getPositionByOffset'](_0x4a8f8f),this[_0xe063cd(0x272)],this['seatsIndex'],this[_0xe063cd(0x11b)][_0xe063cd(0x5c2)]['seatStyles']['hovered'][_0xe063cd(0x1cc)]),this[_0xe063cd(0x140)]=(_0x1961b5,_0x1bf87c)=>{const _0x43a89c=_0xe063cd,_0x1e65ba=window[_0x43a89c(0x415)];if(this[_0x43a89c(0x243)]){const _0x1dadd4={'x':_0x1961b5['x']*_0x1e65ba,'y':_0x1961b5['y']*_0x1e65ba},_0x25851f={'width':_0x1bf87c['width']*_0x1e65ba,'height':_0x1bf87c[_0x43a89c(0x3e0)]*_0x1e65ba},_0x1b7a3e=unprojectPointFrom3DView(_0x1dadd4,_0x25851f,{'rotationZ':this['rotationZ'],'perspectiveZ':this['perspectiveZ'],'tiltX':this[_0x43a89c(0x280)]}),_0x544a9d={'x':(_0x1b7a3e['x']-this[_0x43a89c(0x5b1)]['x'])/this[_0x43a89c(0x368)],'y':(_0x1b7a3e['y']-this[_0x43a89c(0x5b1)]['y'])/this['scale']};return getSeatByPosition(_0x544a9d,this[_0x43a89c(0x272)],this['seatsIndex'],this[_0x43a89c(0x11b)][_0x43a89c(0x5c2)][_0x43a89c(0x42c)]['hovered']['size']);}return getSeatByPosition(this['getPositionByOffset'](_0x1961b5),this[_0x43a89c(0x272)],this[_0x43a89c(0x195)],this[_0x43a89c(0x11b)]['theme'][_0x43a89c(0x42c)]['hovered'][_0x43a89c(0x1cc)]);},this[_0xe063cd(0x1fb)]=_0x584486,this[_0xe063cd(0x11b)]={..._0x3b6f73},this[_0xe063cd(0x4c0)]=this[_0xe063cd(0x1b6)](),this[_0xe063cd(0x243)]=_0x3b6f73[_0xe063cd(0x243)]||![],this['rotationZ']=0x0,this['perspectiveZ']=0x0,this['tiltX']=this['enable3DView']?0x0:0x0;}set['selectedSeatIds'](_0x3904a8){const _0x2433a8=_0x1eb601;this[_0x2433a8(0x41e)]=_0x3904a8,this[_0x2433a8(0x56c)]=void 0x0;}get[_0x1eb601(0x3bd)](){const _0x10ab98=_0x1eb601;return this[_0x10ab98(0x41e)];}set[_0x1eb601(0x121)](_0x4972ac){this['_selectedGaId']=_0x4972ac,this['_selectedSeatIds']=[];}get[_0x1eb601(0x121)](){const _0x7a8de8=_0x1eb601;return this[_0x7a8de8(0x56c)];}[_0x1eb601(0x386)](){const _0x3fef9f=_0x1eb601;this['element'][_0x3fef9f(0xfb)]()&&this[_0x3fef9f(0x1fb)]['childNodes'][_0x3fef9f(0x4ff)](_0x4c4fd7=>{const _0x218203=_0x3fef9f;this[_0x218203(0x1fb)][_0x218203(0x154)](_0x4c4fd7);});}[_0x1eb601(0x1af)](_0x14daef){this['_pricesDTO']=_0x14daef;}[_0x1eb601(0x338)](){const _0x33585c=_0x1eb601;return this[_0x33585c(0x35f)];}['setHovered'](_0x20d329,_0xa9489e){const _0x4e13aa=_0x1eb601;if(!_0x20d329)this[_0x4e13aa(0x3f2)]=void 0x0,this['hoveredRow']=void 0x0;else _0xa9489e?(this[_0x4e13aa(0x342)]=this[_0x4e13aa(0x7a)][_0x20d329[_0x4e13aa(0x4f0)]],this['hoveredSeat']=void 0x0):(this[_0x4e13aa(0x342)]=void 0x0,this['hoveredSeat']=_0x20d329);}[_0x1eb601(0x1b6)](){const _0x3a987c=_0x1eb601,_0x51e844=this[_0x3a987c(0x11b)][_0x3a987c(0x5c2)][_0x3a987c(0x584)];if(!_0x51e844)return{};const _0x2c0665={};return Object[_0x3a987c(0x3a0)](_0x51e844)['forEach'](_0x3bacf3=>{const _0x3884e7=_0x3a987c,_0x34ab2a=new Image();_0x34ab2a[_0x3884e7(0x569)]=_0x3884e7(0x8a)+window[_0x3884e7(0x95)](_0x51e844[_0x3bacf3]),_0x34ab2a[_0x3884e7(0x479)]=()=>{const _0x142c8a=_0x3884e7;_0x2c0665[_0x3bacf3]=_0x34ab2a,!_0x34ab2a[_0x142c8a(0x55a)]&&(document[_0x142c8a(0x200)][_0x142c8a(0xa9)](_0x34ab2a),_0x34ab2a[_0x142c8a(0x55a)]=_0x34ab2a[_0x142c8a(0x557)],_0x34ab2a[_0x142c8a(0x3e0)]=_0x34ab2a[_0x142c8a(0x297)],document[_0x142c8a(0x200)][_0x142c8a(0x154)](_0x34ab2a));},_0x34ab2a[_0x3884e7(0x323)]=()=>{const _0x1e887d=_0x3884e7;console[_0x1e887d(0x1ca)](_0x1e887d(0xba)+_0x3bacf3+_0x1e887d(0x4f6));};}),_0x2c0665;}['initCart'](_0x389c77){const _0x54d2c6=_0x1eb601,_0x25a290=_0x389c77[_0x54d2c6(0x272)]['map'](this[_0x54d2c6(0x30a)])[_0x54d2c6(0x1f1)](Boolean),_0x20b9c2=_0x389c77['ga'][_0x54d2c6(0x2c8)](this[_0x54d2c6(0x508)])['filter'](Boolean);this[_0x54d2c6(0x4da)]={'seats':_0x25a290,'ga':_0x20b9c2},this['afterCartUpdate']();}get[_0x1eb601(0x272)](){const _0x1fea53=_0x1eb601;return this[_0x1fea53(0x35e)];}set[_0x1eb601(0x272)](_0x4c8194){const _0x4841d2=_0x1eb601;this[_0x4841d2(0x35e)]=_0x4c8194,this[_0x4841d2(0x195)]=new _0x5e4919(_0x4c8194['length']),this[_0x4841d2(0x35e)][_0x4841d2(0x4ff)](_0x4d5008=>{const _0x2edd0b=_0x4841d2;this['seatsIndex'][_0x2edd0b(0x1f5)](_0x4d5008['x'],_0x4d5008['y']);}),this[_0x4841d2(0x195)][_0x4841d2(0x598)](),this[_0x4841d2(0x3b7)]=arrayToObjectById(_0x4c8194),this[_0x4841d2(0x2c4)]={},_0x4c8194[_0x4841d2(0x4ff)](_0x31b667=>{const _0x9ff4b4=_0x4841d2;if(!this['seatsByRowId'][_0x31b667[_0x9ff4b4(0x4f0)]])this[_0x9ff4b4(0x2c4)][_0x31b667['rowId']]=[];this[_0x9ff4b4(0x2c4)][_0x31b667[_0x9ff4b4(0x4f0)]]['push'](_0x31b667);});}[_0x1eb601(0x215)](_0x4e47dd){const _0x4e2ce7=_0x1eb601,_0x27495f=this['repairGa'](_0x4e47dd);if(!_0x27495f)return;const _0x36f2bd=this[_0x4e2ce7(0x4da)]['ga'][_0x4e2ce7(0x12a)](_0x3c3720=>_0x3c3720[_0x4e2ce7(0x254)]===_0x27495f['sectorId']);_0x36f2bd?(_0x36f2bd[_0x4e2ce7(0x4fa)]+=_0x27495f['count'],_0x36f2bd[_0x4e2ce7(0x305)]=_0x27495f['price']!==void 0x0?_0x27495f['price']:_0x36f2bd[_0x4e2ce7(0x305)]):this[_0x4e2ce7(0x4da)]['ga'][_0x4e2ce7(0x116)](_0x27495f),this['afterCartUpdate']();}[_0x1eb601(0x112)](_0x3be546){const _0xcfaf9e=_0x1eb601,_0x1ad023=this[_0xcfaf9e(0x4da)]['ga']['findIndex'](_0x4b6639=>_0x4b6639[_0xcfaf9e(0x254)]===_0x3be546['sectorId']);if(_0x1ad023===-0x1)return;if(_0x3be546[_0xcfaf9e(0x305)]&&this['cart']['ga'][_0x1ad023][_0xcfaf9e(0x305)]!==_0x3be546[_0xcfaf9e(0x305)])return;this[_0xcfaf9e(0x4da)]['ga'][_0xcfaf9e(0x165)](_0x1ad023,0x1),this[_0xcfaf9e(0x4ce)]();}[_0x1eb601(0x472)](){const _0x7191b=_0x1eb601,_0x24980b=performance[_0x7191b(0x515)]();(this[_0x7191b(0x4da)][_0x7191b(0x272)]||[])[_0x7191b(0x4ff)](_0x579524=>{const _0x2dbf59=_0x7191b;if(_0x579524['id'])this[_0x2dbf59(0x2d0)][_0x579524['id']]=_0x24980b;}),this['initCart']({'seats':[],'ga':[]});}[_0x1eb601(0x27d)](_0x3c4c10){const _0x33996b=_0x1eb601,_0x22e7af=performance[_0x33996b(0x515)]();this[_0x33996b(0x4da)][_0x33996b(0x272)]=this[_0x33996b(0x4da)]['seats']['filter'](_0x1a8c9f=>!_0x3c4c10['includes'](_0x1a8c9f['id'])),_0x3c4c10['forEach'](_0x13220e=>{const _0x3afdc6=_0x33996b;this['_deselectedAt'][_0x13220e]=_0x22e7af,this[_0x3afdc6(0x3b7)][_0x13220e]&&delete this[_0x3afdc6(0x3b7)][_0x13220e]['state'];}),this['afterCartUpdate']();}[_0x1eb601(0x2fa)](_0x562239){const _0x222320=_0x1eb601;this[_0x222320(0x163)][_0x562239]=performance[_0x222320(0x515)](),this[_0x222320(0x2d0)][_0x562239]&&delete this[_0x222320(0x2d0)][_0x562239];}['addSeatsToCart'](_0x2b0f50){const _0x44d8a0=_0x1eb601,_0x12e3e4=_0x2b0f50[_0x44d8a0(0x2c8)](this[_0x44d8a0(0x30a)])[_0x44d8a0(0x1f1)](Boolean);this[_0x44d8a0(0x4da)][_0x44d8a0(0x272)]=[...this['cart']['seats'],..._0x12e3e4];const _0x36058f=performance[_0x44d8a0(0x515)]();_0x12e3e4[_0x44d8a0(0x4ff)](_0x4ae73b=>{const _0x4c9862=_0x44d8a0;if(_0x4ae73b['id']){this[_0x4c9862(0x163)][_0x4ae73b['id']]=_0x36058f;if(this[_0x4c9862(0x2d0)][_0x4ae73b['id']])delete this['_deselectedAt'][_0x4ae73b['id']];}}),this[_0x44d8a0(0x4ce)]();}[_0x1eb601(0x268)](_0x570e89,_0x1cb927){const _0x36dd89=_0x1eb601,_0x5c0711=Math['min'](_0x570e89['x'],_0x570e89['x']+_0x570e89[_0x36dd89(0x55a)]),_0x335f33=Math[_0x36dd89(0x516)](_0x570e89['x'],_0x570e89['x']+_0x570e89[_0x36dd89(0x55a)]),_0xb96887=Math[_0x36dd89(0x147)](_0x570e89['y'],_0x570e89['y']+_0x570e89['height']),_0x2a19ae=Math['max'](_0x570e89['y'],_0x570e89['y']+_0x570e89[_0x36dd89(0x3e0)]),_0xbfa26d=this[_0x36dd89(0x195)][_0x36dd89(0x296)](_0x5c0711,_0xb96887,_0x335f33,_0x2a19ae)[_0x36dd89(0x2c8)](_0x2351e1=>this[_0x36dd89(0x272)][_0x2351e1]['id']);this['selectSeats'](_0xbfa26d,_0x1cb927);}[_0x1eb601(0x419)](_0x579800,_0x176f17){const _0x19b12b=_0x1eb601,_0x22274e=this[_0x19b12b(0x3bd)],_0x527cb7=_0x579800;switch(_0x176f17){case _0x19b12b(0x3b5):{this[_0x19b12b(0x3bd)]=_0x527cb7;break;}case _0x19b12b(0x1f5):{this[_0x19b12b(0x3bd)]=[...new Set([..._0x22274e,..._0x527cb7])];break;}case _0x19b12b(0x459):{this[_0x19b12b(0x3bd)]=_0x22274e['filter'](_0x262770=>!_0x527cb7[_0x19b12b(0x308)](_0x262770));break;}}}[_0x1eb601(0x15b)](_0x3ca16e,_0x31d6bd){const _0x2b878d=_0x1eb601,_0x4bab09=Math[_0x2b878d(0x147)](_0x3ca16e['x'],_0x3ca16e['x']+_0x3ca16e[_0x2b878d(0x55a)]),_0x7f700d=Math['max'](_0x3ca16e['x'],_0x3ca16e['x']+_0x3ca16e[_0x2b878d(0x55a)]),_0x4e41c1=Math['min'](_0x3ca16e['y'],_0x3ca16e['y']+_0x3ca16e['height']),_0x4e2a5b=Math[_0x2b878d(0x516)](_0x3ca16e['y'],_0x3ca16e['y']+_0x3ca16e['height']);let _0x11b476=this[_0x2b878d(0x195)][_0x2b878d(0x296)](_0x4bab09,_0x4e41c1,_0x7f700d,_0x4e2a5b)[_0x2b878d(0x2c8)](_0x12839e=>this[_0x2b878d(0x272)][_0x12839e][_0x2b878d(0x4f0)]);_0x11b476=[...new Set(_0x11b476)];const _0x387c92=_0x11b476[_0x2b878d(0x2c8)](_0x3d15c1=>this[_0x2b878d(0x2c4)][_0x3d15c1]['map'](_0xdaa1ac=>_0xdaa1ac['id'])),_0x4dd3b9=[]['concat'](..._0x387c92);this[_0x2b878d(0x419)](_0x4dd3b9,_0x31d6bd);}['findSeatByKey'](_0x28aad9){const _0x452f45=_0x1eb601,[_0x2bdce6,_0x5e4cc4,_0x3345b5]=_0x28aad9['split'](';;'),_0x3ef123=+_0x2bdce6,_0x1dd4d9=_0x3ef123?this[_0x452f45(0x336)][_0x3ef123]:Object[_0x452f45(0x59b)](this['sectionsById'])[_0x452f45(0x12a)](_0x482feb=>_0x482feb[_0x452f45(0x391)]===_0x2bdce6);if(!_0x1dd4d9)return;const _0x5069ad=Object[_0x452f45(0x59b)](this[_0x452f45(0x7a)])[_0x452f45(0x12a)](_0x274370=>_0x274370[_0x452f45(0x254)]===_0x1dd4d9['id']&&_0x274370[_0x452f45(0x54c)]+''===_0x5e4cc4);if(!_0x5069ad)return;const _0x15ca7e=this[_0x452f45(0x272)][_0x452f45(0x12a)](_0x1f698a=>_0x1f698a[_0x452f45(0x254)]===_0x1dd4d9['id']&&_0x1f698a[_0x452f45(0x4f0)]===_0x5069ad['id']&&_0x1f698a[_0x452f45(0x391)]===_0x3345b5);return _0x15ca7e;}['getCart'](){const _0x4ad90f=_0x1eb601;return JSON['parse'](JSON[_0x4ad90f(0x4e8)](this[_0x4ad90f(0x4da)]));}[_0x1eb601(0x244)](_0x32f405){const _0x6d6ad0=_0x1eb601;return!!this[_0x6d6ad0(0x4da)][_0x6d6ad0(0x272)]['find'](_0x1dad0b=>_0x1dad0b['id']===_0x32f405);}[_0x1eb601(0x94)](_0xf4c885){const _0x28a167=_0x1eb601;return!!this[_0x28a167(0x4da)]['ga'][_0x28a167(0x12a)](_0x51c4a5=>_0x51c4a5[_0x28a167(0x254)]===_0xf4c885);}['addSeatToCart'](_0x2daa70){const _0x1158c6=_0x1eb601;if(this[_0x1158c6(0x244)](_0x2daa70))return;const _0x58b6d2=this[_0x1158c6(0x3b6)](this['seatsById'][_0x2daa70]);this[_0x1158c6(0x4da)][_0x1158c6(0x272)][_0x1158c6(0x116)](_0x58b6d2),this['_selectedAt'][_0x2daa70]=performance[_0x1158c6(0x515)](),this[_0x1158c6(0x2d0)][_0x2daa70]&&delete this[_0x1158c6(0x2d0)][_0x2daa70];}[_0x1eb601(0x1e8)](_0x4e057b){const _0x47a514=_0x1eb601,_0x518c69=this[_0x47a514(0x4da)][_0x47a514(0x272)][_0x47a514(0x303)](_0xe32999=>_0xe32999['id']===_0x4e057b);_0x518c69!==-0x1&&this[_0x47a514(0x4da)][_0x47a514(0x272)]['splice'](_0x518c69,0x1),this[_0x47a514(0x2d0)][_0x4e057b]=performance[_0x47a514(0x515)](),this['_selectedAt'][_0x4e057b]&&delete this[_0x47a514(0x163)][_0x4e057b];}['getCartSeats'](){const _0x403576=_0x1eb601;if(!this[_0x403576(0x4da)][_0x403576(0x272)][_0x403576(0x204)])return[];const _0x31fcc0=this[_0x403576(0x4da)]['seats']['map'](_0x3d45fa=>_0x3d45fa['id']||0x0);if(this[_0x403576(0x3f2)]){const _0x224dfa=_0x31fcc0[_0x403576(0x234)](this[_0x403576(0x3f2)]['id']);_0x224dfa!==-0x1&&(_0x31fcc0[_0x403576(0x165)](_0x224dfa,0x1),_0x31fcc0[_0x403576(0x116)](this[_0x403576(0x3f2)]['id']));}const _0x772086={};return this[_0x403576(0x272)][_0x403576(0x1f1)](_0x1c03c9=>_0x31fcc0['includes'](_0x1c03c9['id']))[_0x403576(0x4ff)](_0x2bbfe1=>{_0x772086[_0x2bbfe1['id']]=_0x2bbfe1;}),_0x31fcc0['map'](_0x34bd87=>_0x772086[_0x34bd87])['filter'](_0x2a27e3=>_0x2a27e3);}[_0x1eb601(0x48e)](){const _0x68273=_0x1eb601;return this[_0x68273(0x3bd)][_0x68273(0x2c8)](_0x16f993=>this[_0x68273(0x3b7)][_0x16f993]);}[_0x1eb601(0x326)](_0x474a0d){const _0x1df98b=_0x1eb601;var _0x394338;(!(_0x474a0d==null?void 0x0:_0x474a0d[_0x1df98b(0x204)])||(_0x474a0d==null?void 0x0:_0x474a0d['length'])<0x1)&&Object[_0x1df98b(0x59b)](this[_0x1df98b(0x336)])[_0x1df98b(0x4ff)](_0x3d110d=>{const _0x217a90=_0x1df98b;_0x3d110d[_0x217a90(0x448)]=![];});const _0x4554fb=(_0x394338=_0x474a0d==null?void 0x0:_0x474a0d[_0x1df98b(0x2c8)](_0x5d691c=>{const _0x29a0d6=_0x1df98b;if(_0x5d691c&&typeof _0x5d691c==='number')return this['sectionsById'][_0x5d691c][_0x29a0d6(0x448)]=!![],_0x5d691c;else{if(_0x5d691c&&typeof _0x5d691c===_0x29a0d6(0x445)){const _0x13f73c=Object[_0x29a0d6(0x59b)](this[_0x29a0d6(0x336)])[_0x29a0d6(0x12a)](_0x156a38=>_0x156a38[_0x29a0d6(0x391)]===_0x5d691c);if(_0x13f73c)return _0x13f73c[_0x29a0d6(0x448)]=!![],_0x13f73c['id'];}}return void 0x0;}))!=null?_0x394338:null;return _0x4554fb;}['getSvgSectionBySelection'](){const _0x43b119=_0x1eb601;return Object['values'](this['sectionsById'])['filter'](_0xa9efed=>_0xa9efed[_0x43b119(0x448)]);}['getGaSectors'](){const _0x2f9539=_0x1eb601;return Object['values'](this[_0x2f9539(0x336)])[_0x2f9539(0x1f1)](_0xc787fc=>_0xc787fc[_0x2f9539(0x3fb)]);}[_0x1eb601(0x49d)](_0xfa74bc){const _0x4a6ab8=_0x1eb601,{scale:_0x58bd8f,translate:_0x545496}=this,_0x5a149a=window[_0x4a6ab8(0x415)];return{'x':Math[_0x4a6ab8(0x241)]((_0xfa74bc['x']*_0x58bd8f+_0x545496['x'])/_0x5a149a),'y':Math[_0x4a6ab8(0x241)]((_0xfa74bc['y']*_0x58bd8f+_0x545496['y'])/_0x5a149a)};}},getSeatByPosition=(_0xee7afc,_0xeb6bcc,_0x2ac191,_0x3b6daa)=>{const _0x9062e0=_0x1eb601,_0x195302=_0x2ac191[_0x9062e0(0x301)](_0xee7afc['x'],_0xee7afc['y'],_0x3b6daa/0x2)[0x0];return _0x195302||_0x195302===0x0?_0xeb6bcc[_0x195302]:void 0x0;},LABEL_STYLES={0x1:{'size':0x10,'opacity':0.5},0x2:{'size':0x18,'opacity':0.45},0x3:{'size':0x24,'opacity':0.4},0x4:{'size':0x40,'opacity':0.35},0x5:{'size':0x60,'opacity':0.35},0x6:{'size':0x90,'opacity':0.35}},DEFAULT_FONT_SCALE=0x1,arr=['c2','Vh','dG','1h','cC','5w','cm','8='],SelectionLayer=class extends SectionViewLayer{[_0x1eb601(0x4f4)](){const _0x12f266=_0x1eb601;return this[_0x12f266(0xb9)][_0x12f266(0x3e8)][_0x12f266(0x188)]||this['context'][_0x12f266(0x3e8)][_0x12f266(0x146)];}[_0x1eb601(0x7c)](){const _0x3dda85=_0x1eb601,_0x15ac26=this[_0x3dda85(0x4f4)]();if(!_0x15ac26)return;const _0x23562=createSvgElement(_0x15ac26),_0x561cf6=_0x23562['querySelectorAll']('['+DATA_GOS_ID+']'),_0x3d579f={};for(let _0x552d3e=0x0;_0x552d3e<_0x561cf6[_0x3dda85(0x204)];_0x552d3e++){const _0x2434bb=_0x561cf6[_0x552d3e],_0x339b8d=_0x2434bb['getAttribute'](DATA_GOS_ID),_0x122e34=_0x2434bb[_0x3dda85(0x348)](DATA_FONT_SCALE);_0x339b8d&&_0x122e34&&(_0x3d579f[_0x339b8d]=+_0x122e34);}this[_0x3dda85(0x47e)]=_0x3d579f;}[_0x1eb601(0x14c)](_0x3214e2){const _0x119e17=_0x1eb601;this[_0x119e17(0x17f)]=_0x3214e2,this[_0x119e17(0x148)]();}[_0x1eb601(0x22b)](){const _0x519289=_0x1eb601;this[_0x519289(0x17f)]=void 0x0,this[_0x519289(0x148)]();}['renderContent'](){const _0x344f95=_0x1eb601,_0x573e19=this['context'][_0x344f95(0x11b)]['switchToWebGL'];if(!_0x573e19){this['context'][_0x344f95(0x28e)]()['forEach'](_0x5e4a92=>this[_0x344f95(0x35a)](this[_0x344f95(0x25e)],_0x5e4a92)),this[_0x344f95(0xb9)][_0x344f95(0x48e)]()[_0x344f95(0x4ff)](_0x462f67=>this[_0x344f95(0x35a)](this[_0x344f95(0x25e)],_0x462f67));if(this[_0x344f95(0xb9)][_0x344f95(0x342)])this['context'][_0x344f95(0x2c4)][this[_0x344f95(0xb9)][_0x344f95(0x342)]['id']][_0x344f95(0x4ff)](_0x8d980d=>this['renderHoveredSeat'](this[_0x344f95(0x25e)],_0x8d980d));else this['context'][_0x344f95(0x3f2)]&&this[_0x344f95(0x2d6)](this[_0x344f95(0x25e)],this['context'][_0x344f95(0x3f2)]);}this[_0x344f95(0x331)](this[_0x344f95(0x25e)]),this['renderSelectionRect'](this['offscreenCtx']);}[_0x1eb601(0x2ff)](_0x12d5ea,_0x3800c3){const _0x1fc5c1=_0x1eb601;super[_0x1fc5c1(0x2ff)](_0x12d5ea,_0x3800c3);const _0xb51ac1=this[_0x1fc5c1(0xf2)],_0x3f85bb=window[_0x1fc5c1(0x415)];_0xb51ac1[_0x1fc5c1(0x4d1)](),_0xb51ac1[_0x1fc5c1(0xa7)]='left',_0xb51ac1[_0x1fc5c1(0x3a1)]='bottom',_0xb51ac1[_0x1fc5c1(0x257)]=0x12*_0x3f85bb+_0x1fc5c1(0xcc),_0xb51ac1[_0x1fc5c1(0x57c)]=_0x1fc5c1(0xf5),_0xb51ac1['fillText'](atob(arr[_0x1fc5c1(0x495)]('')),0x1e*_0x3f85bb,(this[_0x1fc5c1(0x3e0)]-0x1e)*_0x3f85bb),_0xb51ac1[_0x1fc5c1(0x3ba)](),this[_0x1fc5c1(0xb2)]();}['renderGaTitles'](_0x2559af){const _0x4426f4=_0x1eb601,_0x56a662=this[_0x4426f4(0xb9)][_0x4426f4(0x2d2)],_0x2c33f2=this[_0x4426f4(0xb9)][_0x4426f4(0x3e8)][_0x4426f4(0x2af)],_0x1ca5e0=this[_0x4426f4(0xb9)]['settings']['theme'];_0x2559af[_0x4426f4(0x4d1)](),_0x2559af[_0x4426f4(0x5b1)](-_0x2c33f2['x'],-_0x2c33f2['y']),_0x56a662[_0x4426f4(0x4ff)](_0x542853=>{const _0x59cef9=_0x4426f4;_0x2559af['save'](),_0x2559af[_0x59cef9(0x111)](..._0x542853[_0x59cef9(0x111)]);let _0x1570f6=0x0;if(!_0x542853[_0x59cef9(0x50e)]){const _0x2748f2=this[_0x59cef9(0x47e)][_0x542853['id']]||DEFAULT_FONT_SCALE,{size:_0x1ea5e6,opacity:_0x36f0a1}=LABEL_STYLES[_0x2748f2]||LABEL_STYLES[DEFAULT_FONT_SCALE],_0x1df09e=-((_0x1ea5e6+_0x1ca5e0[_0x59cef9(0x589)]+_0x1ca5e0[_0x59cef9(0x42c)][_0x59cef9(0x25f)][_0x59cef9(0x1cc)])/0x2),_0x4da9ed=Math[_0x59cef9(0x241)](_0x1df09e+_0x1ea5e6/0x2);_0x1570f6=Math['round'](_0x1df09e+_0x1ea5e6+_0x1ca5e0[_0x59cef9(0x589)]+_0x1ca5e0[_0x59cef9(0x42c)][_0x59cef9(0x25f)][_0x59cef9(0x1cc)]/0x2),_0x2559af[_0x59cef9(0xa7)]=_0x59cef9(0x1ab),_0x2559af['textBaseline']=_0x59cef9(0x532),_0x2559af['font']=_0x1ea5e6+'px\x20Arial',_0x2559af[_0x59cef9(0x57c)]=_0x59cef9(0x225)+_0x36f0a1+')',_0x2559af[_0x59cef9(0x1de)](_0x542853['name'],0x0,_0x4da9ed);}const _0x105dce=this[_0x59cef9(0xb9)][_0x59cef9(0x336)][_0x542853['id']],_0x5ddde9={'id':-0x1,'sectorId':-0x1,'rowId':-0x1,'name':'','x':0x0,'y':_0x1570f6,'priceId':_0x105dce[_0x59cef9(0x8e)]};this[_0x59cef9(0xb9)][_0x59cef9(0x2f0)][_0x542853['id']]&&(_0x5ddde9['special']={'category':this['context'][_0x59cef9(0x2f0)][_0x542853['id']]}),(!_0x542853[_0x59cef9(0x50e)]||_0x105dce[_0x59cef9(0x8e)])&&(this[_0x59cef9(0xb9)][_0x59cef9(0x94)](_0x105dce['id'])?this[_0x59cef9(0x35a)](_0x2559af,_0x5ddde9):this['renderSeat'](_0x2559af,_0x5ddde9)),_0x2559af[_0x59cef9(0x3ba)]();}),_0x2559af[_0x4426f4(0x3ba)]();}[_0x1eb601(0x4ed)](_0x5d231c){const _0x56fad7=_0x1eb601;if(!this['selectionRect'])return;const {x:_0x260ddc,y:_0x210cfd,width:_0x37f97e,height:_0x47d20a}=this[_0x56fad7(0x17f)];_0x5d231c[_0x56fad7(0x4d1)](),_0x5d231c[_0x56fad7(0x57c)]=_0x56fad7(0xe0),_0x5d231c[_0x56fad7(0x321)](_0x260ddc,_0x210cfd,_0x37f97e,_0x47d20a),_0x5d231c[_0x56fad7(0x344)](),_0x5d231c[_0x56fad7(0x3ba)]();}['apply3DTransforms'](){const _0x5d36ed=_0x1eb601;var _0x1d5946;const _0x159cbf=(_0x1d5946=this[_0x5d36ed(0xf2)])==null?void 0x0:_0x1d5946[_0x5d36ed(0x4a4)];if(!_0x159cbf)return;if(!this['context'][_0x5d36ed(0x243)]){_0x159cbf[_0x5d36ed(0x464)]['transform']='',_0x159cbf[_0x5d36ed(0x464)][_0x5d36ed(0x421)]='';return;}const {rotationZ:_0x5e28e3,tiltX:_0xaf17f8}=this['context'];_0x159cbf[_0x5d36ed(0x464)][_0x5d36ed(0x421)]=getDefaultTransformOrigin();const _0x50a549=this[_0x5d36ed(0x55a)]/Math[_0x5d36ed(0x516)](0x1,this[_0x5d36ed(0x3e0)]),_0xa95d36=buildCss3DTransform({'rotationZ':_0x5e28e3,'perspectiveZ':0x0,'tiltX':_0xaf17f8},{'aspectRatio':_0x50a549});_0x159cbf[_0x5d36ed(0x464)]['transform']=_0xa95d36;}},DPR2=window[_0x1eb601(0x415)],_MinimapLayer=class _MinimapLayer{constructor(_0x206749,_0x196bf5){const _0x38ea28=_0x1eb601;this[_0x38ea28(0x233)]=0x1,this['contentScale']=0x1,this[_0x38ea28(0x21b)]=0x0,this[_0x38ea28(0x231)]=0x0,this['backgroundImage']=null,this['isBackgroundReady']=![],this[_0x38ea28(0x1e4)]=null,this['snapshotTranslatePx']=null,this[_0x38ea28(0x34d)]=![],this[_0x38ea28(0x4bb)]=null,this[_0x38ea28(0x58b)]=_0x3009f5=>{const _0x400178=_0x38ea28;_0x3009f5['stopPropagation'](),_0x3009f5[_0x400178(0xdb)]();if(this['isDragging'])return;const _0x59cbb9=_0x3009f5[_0x400178(0xb4)][_0x400178(0x4f9)](),_0x1325bb=(_0x3009f5['clientX']-_0x59cbb9[_0x400178(0x289)])*DPR2,_0x252d1d=(_0x3009f5[_0x400178(0x4fd)]-_0x59cbb9[_0x400178(0x478)])*DPR2;this['navigateToPoint'](_0x1325bb,_0x252d1d,!![],!![]);},this[_0x38ea28(0x436)]=_0x6a02ae=>{const _0x1b6de0=_0x38ea28;_0x6a02ae['stopPropagation'](),_0x6a02ae[_0x1b6de0(0xdb)](),this[_0x1b6de0(0x34d)]=!![],this[_0x1b6de0(0x4a4)][_0x1b6de0(0x464)]['cursor']=_0x1b6de0(0x1ae);const _0xefe404=_0x6a02ae[_0x1b6de0(0xb4)][_0x1b6de0(0x4f9)](),_0x75738f=(_0x6a02ae[_0x1b6de0(0x13c)]-_0xefe404['left'])*DPR2,_0x43db02=(_0x6a02ae['clientY']-_0xefe404[_0x1b6de0(0x478)])*DPR2,_0x316277=this[_0x1b6de0(0x194)](),_0xe8efc2=_0x316277['x']+_0x316277[_0x1b6de0(0x55a)]/0x2,_0x2057e5=_0x316277['y']+_0x316277[_0x1b6de0(0x3e0)]/0x2;this['dragOffset']={'x':_0x75738f-_0xe8efc2,'y':_0x43db02-_0x2057e5};},this[_0x38ea28(0x180)]=_0x3bf75d=>{const _0x50f802=_0x38ea28;this[_0x50f802(0x34d)]&&(_0x3bf75d[_0x50f802(0x4be)](),_0x3bf75d[_0x50f802(0xdb)]());if(!this['isDragging'])return;const _0x36dfb5=_0x3bf75d[_0x50f802(0xb4)][_0x50f802(0x4f9)](),_0x2a1b1c=(_0x3bf75d['clientX']-_0x36dfb5[_0x50f802(0x289)])*DPR2,_0x29b0b5=(_0x3bf75d[_0x50f802(0x4fd)]-_0x36dfb5['top'])*DPR2,_0x595c63=this[_0x50f802(0x2dd)]||{'x':0x0,'y':0x0},_0x2e9a5c=_0x2a1b1c-_0x595c63['x'],_0x23d1c0=_0x29b0b5-_0x595c63['y'];this['navigateToPoint'](_0x2e9a5c,_0x23d1c0,!![],![]);},this[_0x38ea28(0x2e0)]=()=>{const _0x5a1085=_0x38ea28;this[_0x5a1085(0x34d)]=![],this[_0x5a1085(0x4a4)][_0x5a1085(0x464)][_0x5a1085(0x8c)]=_0x5a1085(0x21d);};var _0x28b17a,_0x4d4263,_0x202a1a,_0x15a7f7,_0x54676d,_0x484ee9,_0x10dd78,_0x2547a3,_0x1d0bab,_0x5681f7;this[_0x38ea28(0xb9)]=_0x206749,this[_0x38ea28(0x4fb)]=_0x196bf5;const _0x51755f=this[_0x38ea28(0xb9)]['settings'][_0x38ea28(0x416)];this['config']={'position':_0x51755f['position']||'bottom-right','width':_0x51755f[_0x38ea28(0x55a)]||0xc8,'opacity':(_0x28b17a=_0x51755f[_0x38ea28(0x390)])!=null?_0x28b17a:0.8,'backgroundColor':_0x51755f[_0x38ea28(0x21c)]||((_0x4d4263=this[_0x38ea28(0xb9)][_0x38ea28(0x11b)][_0x38ea28(0x5c2)])==null?void 0x0:_0x4d4263[_0x38ea28(0x4ef)])||_0x38ea28(0x256),'borderColor':_0x51755f[_0x38ea28(0x5b8)]||((_0x484ee9=(_0x54676d=(_0x15a7f7=(_0x202a1a=this['context']['settings'][_0x38ea28(0x5c2)])==null?void 0x0:_0x202a1a[_0x38ea28(0x11f)])==null?void 0x0:_0x15a7f7[_0x38ea28(0x53d)])==null?void 0x0:_0x54676d[_0x38ea28(0x48b)])==null?void 0x0:_0x484ee9[_0x38ea28(0x4e4)])||_0x38ea28(0x2fb),'viewportColor':_0x51755f[_0x38ea28(0x4b8)]||_0x38ea28(0x23b),'borderWidth':(_0x10dd78=_0x51755f['borderWidth'])!=null?_0x10dd78:0x2,'margin':(_0x2547a3=_0x51755f['margin'])!=null?_0x2547a3:0x10,'offscreenColor':_0x51755f[_0x38ea28(0x1d3)]||_0x38ea28(0x579),'offscreenOpacity':(_0x1d0bab=_0x51755f[_0x38ea28(0x1b1)])!=null?_0x1d0bab:0.4,'showCartPins':(_0x5681f7=_0x51755f[_0x38ea28(0x3be)])!=null?_0x5681f7:!![]},this['canvas']=document['createElement'](_0x38ea28(0x4a4)),this[_0x38ea28(0x4a4)][_0x38ea28(0x464)][_0x38ea28(0x43d)]=_0x38ea28(0x23d),this[_0x38ea28(0x4a4)]['style'][_0x38ea28(0x53a)]=_0x38ea28(0x1ba),this['canvas'][_0x38ea28(0x464)][_0x38ea28(0x1eb)]=_0x38ea28(0x546),this[_0x38ea28(0x4a4)]['style']['cursor']=_0x38ea28(0x21d),this['canvas'][_0x38ea28(0x464)][_0x38ea28(0x418)]=_0x38ea28(0x22d),this['canvas'][_0x38ea28(0x464)][_0x38ea28(0x1aa)]=_0x38ea28(0x383),this['canvas'][_0x38ea28(0x464)][_0x38ea28(0x390)]=this[_0x38ea28(0x520)][_0x38ea28(0x390)]['toString'](),this[_0x38ea28(0xf2)]=this['canvas'][_0x38ea28(0x42e)]('2d'),this[_0x38ea28(0x1f0)]=document[_0x38ea28(0x4a9)](_0x38ea28(0x4a4)),this[_0x38ea28(0x1f0)][_0x38ea28(0x464)][_0x38ea28(0x43d)]='absolute',this[_0x38ea28(0x1f0)][_0x38ea28(0x464)][_0x38ea28(0x53a)]=_0x38ea28(0xc2),this[_0x38ea28(0x1f0)]['style'][_0x38ea28(0x1eb)]='auto',this['overlayCanvas'][_0x38ea28(0x464)][_0x38ea28(0x418)]='4px',this[_0x38ea28(0x1f0)][_0x38ea28(0x464)][_0x38ea28(0x390)]=this[_0x38ea28(0x520)][_0x38ea28(0x390)][_0x38ea28(0x223)](),this[_0x38ea28(0x437)]=this[_0x38ea28(0x1f0)][_0x38ea28(0x42e)]('2d'),this[_0x38ea28(0x481)](),this[_0x38ea28(0x274)](),this['context'][_0x38ea28(0x1fb)][_0x38ea28(0xa9)](this[_0x38ea28(0x4a4)]),this['context'][_0x38ea28(0x1fb)][_0x38ea28(0xa9)](this[_0x38ea28(0x1f0)]),this[_0x38ea28(0x4a4)][_0x38ea28(0x464)][_0x38ea28(0x12b)]='none',this['overlayCanvas'][_0x38ea28(0x464)]['touchAction']=_0x38ea28(0x53b),this[_0x38ea28(0x16c)]();}['updateSize'](){const _0x5836d3=_0x1eb601;var _0x27e6fe;if(!((_0x27e6fe=this[_0x5836d3(0xb9)][_0x5836d3(0x3e8)])==null?void 0x0:_0x27e6fe['viewBox']))return;const _0x5ed08f=this[_0x5836d3(0xb9)]['underlay'][_0x5836d3(0x2af)],_0x284473=_0x5ed08f['height']/_0x5ed08f['width'];this['minimapWidth']=this[_0x5836d3(0x520)][_0x5836d3(0x55a)],this[_0x5836d3(0x492)]=this[_0x5836d3(0x520)][_0x5836d3(0x55a)]*_0x284473,this['canvas'][_0x5836d3(0x55a)]=this[_0x5836d3(0x30d)]*DPR2,this[_0x5836d3(0x4a4)][_0x5836d3(0x3e0)]=this[_0x5836d3(0x492)]*DPR2,this[_0x5836d3(0x4a4)][_0x5836d3(0x464)][_0x5836d3(0x55a)]=this[_0x5836d3(0x30d)]+'px',this[_0x5836d3(0x4a4)][_0x5836d3(0x464)][_0x5836d3(0x3e0)]=this[_0x5836d3(0x492)]+'px',this[_0x5836d3(0x1f0)][_0x5836d3(0x55a)]=this[_0x5836d3(0x30d)]*DPR2,this[_0x5836d3(0x1f0)][_0x5836d3(0x3e0)]=this[_0x5836d3(0x492)]*DPR2,this[_0x5836d3(0x1f0)][_0x5836d3(0x464)][_0x5836d3(0x55a)]=this[_0x5836d3(0x30d)]+'px',this[_0x5836d3(0x1f0)]['style'][_0x5836d3(0x3e0)]=this[_0x5836d3(0x492)]+'px',this['contentScale']=Math[_0x5836d3(0x147)](this[_0x5836d3(0x4a4)][_0x5836d3(0x55a)]/_0x5ed08f[_0x5836d3(0x55a)],this[_0x5836d3(0x4a4)][_0x5836d3(0x3e0)]/_0x5ed08f[_0x5836d3(0x3e0)]),this[_0x5836d3(0x21b)]=(this[_0x5836d3(0x4a4)][_0x5836d3(0x55a)]-_0x5ed08f[_0x5836d3(0x55a)]*this[_0x5836d3(0x547)])/0x2,this['contentOffsetY']=(this['canvas'][_0x5836d3(0x3e0)]-_0x5ed08f[_0x5836d3(0x3e0)]*this[_0x5836d3(0x547)])/0x2,this[_0x5836d3(0x233)]=this[_0x5836d3(0x547)];}[_0x1eb601(0x274)](){const _0x2aff1b=_0x1eb601,_0x49b279=this['config']['margin']+'px';this['canvas'][_0x2aff1b(0x464)][_0x2aff1b(0x478)]=_0x2aff1b(0x546),this[_0x2aff1b(0x4a4)][_0x2aff1b(0x464)][_0x2aff1b(0x384)]=_0x2aff1b(0x546),this['canvas'][_0x2aff1b(0x464)][_0x2aff1b(0x440)]=_0x2aff1b(0x546),this[_0x2aff1b(0x4a4)][_0x2aff1b(0x464)][_0x2aff1b(0x289)]=_0x2aff1b(0x546),this[_0x2aff1b(0x1f0)][_0x2aff1b(0x464)][_0x2aff1b(0x478)]=_0x2aff1b(0x546),this[_0x2aff1b(0x1f0)][_0x2aff1b(0x464)][_0x2aff1b(0x384)]=_0x2aff1b(0x546),this[_0x2aff1b(0x1f0)][_0x2aff1b(0x464)][_0x2aff1b(0x440)]=_0x2aff1b(0x546),this['overlayCanvas'][_0x2aff1b(0x464)]['left']='auto';switch(this[_0x2aff1b(0x520)][_0x2aff1b(0x43d)]){case _0x2aff1b(0x149):this[_0x2aff1b(0x4a4)][_0x2aff1b(0x464)][_0x2aff1b(0x478)]=_0x49b279,this[_0x2aff1b(0x4a4)][_0x2aff1b(0x464)][_0x2aff1b(0x289)]=_0x49b279,this[_0x2aff1b(0x1f0)][_0x2aff1b(0x464)][_0x2aff1b(0x478)]=_0x49b279,this[_0x2aff1b(0x1f0)][_0x2aff1b(0x464)][_0x2aff1b(0x289)]=_0x49b279;break;case _0x2aff1b(0x364):this[_0x2aff1b(0x4a4)][_0x2aff1b(0x464)][_0x2aff1b(0x478)]=_0x49b279,this['canvas']['style'][_0x2aff1b(0x384)]=_0x49b279,this['overlayCanvas'][_0x2aff1b(0x464)][_0x2aff1b(0x478)]=_0x49b279,this[_0x2aff1b(0x1f0)][_0x2aff1b(0x464)]['right']=_0x49b279;break;case _0x2aff1b(0x96):this[_0x2aff1b(0x4a4)][_0x2aff1b(0x464)][_0x2aff1b(0x440)]=_0x49b279,this[_0x2aff1b(0x4a4)]['style'][_0x2aff1b(0x289)]=_0x49b279,this['overlayCanvas'][_0x2aff1b(0x464)][_0x2aff1b(0x440)]=_0x49b279,this['overlayCanvas']['style'][_0x2aff1b(0x289)]=_0x49b279;break;case _0x2aff1b(0x533):this[_0x2aff1b(0x4a4)][_0x2aff1b(0x464)][_0x2aff1b(0x440)]=_0x49b279,this['canvas'][_0x2aff1b(0x464)]['right']=_0x49b279,this['overlayCanvas'][_0x2aff1b(0x464)][_0x2aff1b(0x440)]=_0x49b279,this['overlayCanvas']['style'][_0x2aff1b(0x384)]=_0x49b279;break;}}['setBackgroundImage'](_0x36ee54){const _0x573271=_0x1eb601;this[_0x573271(0x238)]=_0x36ee54,this[_0x573271(0x1e4)]=null,this['snapshotTranslatePx']=null;const _0x2251fe=()=>{const _0x1b88c6=_0x573271;this[_0x1b88c6(0x33e)]=!![],this[_0x1b88c6(0x3ad)]();};this[_0x573271(0x238)][_0x573271(0x32a)]&&this[_0x573271(0x238)][_0x573271(0x30b)]>0x0?_0x2251fe():(this[_0x573271(0x238)][_0x573271(0x479)]=_0x2251fe,this[_0x573271(0x238)]['onerror']=()=>{const _0x57540a=_0x573271;this[_0x57540a(0x33e)]=![];});}[_0x1eb601(0x273)](_0x42f114,_0x17ca6e){const _0x5d19a3=_0x1eb601;this[_0x5d19a3(0x238)]=_0x42f114,this['snapshotScalePxPerUnit']=_0x17ca6e[_0x5d19a3(0x368)],this[_0x5d19a3(0x34a)]={'x':_0x17ca6e[_0x5d19a3(0x5b1)]['x'],'y':_0x17ca6e[_0x5d19a3(0x5b1)]['y']};const _0x2888d1=()=>{const _0x239783=_0x5d19a3;this[_0x239783(0x33e)]=!![],this[_0x239783(0x3ad)]();};this['backgroundImage'][_0x5d19a3(0x32a)]&&this[_0x5d19a3(0x238)][_0x5d19a3(0x30b)]>0x0?_0x2888d1():(this[_0x5d19a3(0x238)][_0x5d19a3(0x479)]=_0x2888d1,this[_0x5d19a3(0x238)][_0x5d19a3(0x323)]=()=>{const _0x15f319=_0x5d19a3;this[_0x15f319(0x33e)]=![];});}['drawBackground'](){const _0x3ed7ae=_0x1eb601;if(!this['isBackgroundReady']||!this[_0x3ed7ae(0x238)])return;this['ctx'][_0x3ed7ae(0x4d1)](),this[_0x3ed7ae(0xf2)][_0x3ed7ae(0x1d7)](0x0,0x0,this[_0x3ed7ae(0x4a4)][_0x3ed7ae(0x55a)],this['canvas'][_0x3ed7ae(0x3e0)]),this['ctx'][_0x3ed7ae(0x57c)]=this[_0x3ed7ae(0x520)][_0x3ed7ae(0x21c)],this[_0x3ed7ae(0xf2)]['fillRect'](0x0,0x0,this[_0x3ed7ae(0x4a4)]['width'],this[_0x3ed7ae(0x4a4)][_0x3ed7ae(0x3e0)]);const _0x232f4c=this['context'][_0x3ed7ae(0x3e8)]['viewBox'];if(this[_0x3ed7ae(0x238)][_0x3ed7ae(0x32a)]&&this[_0x3ed7ae(0x238)][_0x3ed7ae(0x55a)]>0x0){const _0x146e08=this[_0x3ed7ae(0x21b)],_0x48c262=this[_0x3ed7ae(0x231)],_0x3be223=_0x232f4c[_0x3ed7ae(0x55a)]*this['contentScale'],_0x27b1f1=_0x232f4c[_0x3ed7ae(0x3e0)]*this[_0x3ed7ae(0x547)];if(this['snapshotScalePxPerUnit']&&this[_0x3ed7ae(0x34a)]){const _0x4c6f87=Math[_0x3ed7ae(0x516)](0x0,this['snapshotTranslatePx']['x']),_0x3f9512=Math[_0x3ed7ae(0x516)](0x0,this['snapshotTranslatePx']['y']),_0x153ada=Math[_0x3ed7ae(0x147)](this[_0x3ed7ae(0x238)][_0x3ed7ae(0x30b)]-_0x4c6f87,_0x232f4c[_0x3ed7ae(0x55a)]*this[_0x3ed7ae(0x1e4)]),_0xa4a0fb=Math[_0x3ed7ae(0x147)](this[_0x3ed7ae(0x238)][_0x3ed7ae(0x3b9)]-_0x3f9512,_0x232f4c[_0x3ed7ae(0x3e0)]*this['snapshotScalePxPerUnit']);this[_0x3ed7ae(0xf2)][_0x3ed7ae(0x470)](this[_0x3ed7ae(0x238)],_0x4c6f87,_0x3f9512,Math[_0x3ed7ae(0x516)](0x1,_0x153ada),Math[_0x3ed7ae(0x516)](0x1,_0xa4a0fb),_0x146e08,_0x48c262,_0x3be223,_0x27b1f1);}else this[_0x3ed7ae(0xf2)]['drawImage'](this[_0x3ed7ae(0x238)],_0x146e08,_0x48c262,_0x3be223,_0x27b1f1);}this[_0x3ed7ae(0xf2)][_0x3ed7ae(0x3ba)](),this[_0x3ed7ae(0xf2)][_0x3ed7ae(0x361)]=this[_0x3ed7ae(0x520)][_0x3ed7ae(0x5b8)],this[_0x3ed7ae(0xf2)][_0x3ed7ae(0x11a)]=this['config'][_0x3ed7ae(0x1a6)],this['ctx'][_0x3ed7ae(0x5a1)](this[_0x3ed7ae(0x520)][_0x3ed7ae(0x1a6)]/0x2,this['config'][_0x3ed7ae(0x1a6)]/0x2,this[_0x3ed7ae(0x4a4)][_0x3ed7ae(0x55a)]-this[_0x3ed7ae(0x520)]['borderWidth'],this[_0x3ed7ae(0x4a4)][_0x3ed7ae(0x3e0)]-this['config'][_0x3ed7ae(0x1a6)]);}[_0x1eb601(0x194)](){const _0x81c1a4=_0x1eb601,_0x99efdf=this[_0x81c1a4(0xb9)]['element'][_0x81c1a4(0x5b6)],_0x32e3b6=this[_0x81c1a4(0xb9)][_0x81c1a4(0x1fb)][_0x81c1a4(0x2aa)],_0x55bb9d=this['context'][_0x81c1a4(0x368)],_0x38c234=this[_0x81c1a4(0xb9)][_0x81c1a4(0x5b1)],_0x3b3b99=[{'x':0x0,'y':0x0},{'x':_0x99efdf,'y':0x0},{'x':_0x99efdf,'y':_0x32e3b6},{'x':0x0,'y':_0x32e3b6}];let _0x3bde8b;if(this[_0x81c1a4(0xb9)]['enable3DView']){const _0x2366a1=(this[_0x81c1a4(0xb9)]['rotationZ']||0x0)+Math['PI']/0x2;_0x3bde8b=_0x3b3b99[_0x81c1a4(0x2c8)](_0x5f4b66=>{const _0x1ab68d=_0x81c1a4,_0x3de5ac=unprojectPointFrom3DView(_0x5f4b66,{'width':_0x99efdf,'height':_0x32e3b6},{'rotationZ':_0x2366a1,'perspectiveZ':this[_0x1ab68d(0xb9)][_0x1ab68d(0x226)]||0x0,'tiltX':this[_0x1ab68d(0xb9)][_0x1ab68d(0x280)]||0x0});return{'x':(_0x3de5ac['x']*DPR2-_0x38c234['x'])/_0x55bb9d,'y':(_0x3de5ac['y']*DPR2-_0x38c234['y'])/_0x55bb9d};});}else _0x3bde8b=_0x3b3b99[_0x81c1a4(0x2c8)](_0x277cfa=>({'x':(_0x277cfa['x']*DPR2-_0x38c234['x'])/_0x55bb9d,'y':(_0x277cfa['y']*DPR2-_0x38c234['y'])/_0x55bb9d}));const _0x107434=_0x3bde8b[_0x81c1a4(0x2c8)](_0xb1a8d0=>_0xb1a8d0['x']),_0x438a4b=_0x3bde8b[_0x81c1a4(0x2c8)](_0x761536=>_0x761536['y']),_0x184519=Math['min'](..._0x107434),_0x3e0762=Math[_0x81c1a4(0x516)](..._0x107434),_0x12ea5b=Math[_0x81c1a4(0x147)](..._0x438a4b),_0x31a0fd=Math[_0x81c1a4(0x516)](..._0x438a4b),_0x3ae107=_0x3bde8b[_0x81c1a4(0x2c8)](_0x507605=>({'x':this[_0x81c1a4(0x21b)]+_0x507605['x']*this[_0x81c1a4(0x547)],'y':this[_0x81c1a4(0x231)]+_0x507605['y']*this['contentScale']}));return{'x':this[_0x81c1a4(0x21b)]+_0x184519*this[_0x81c1a4(0x547)],'y':this[_0x81c1a4(0x231)]+_0x12ea5b*this['contentScale'],'width':(_0x3e0762-_0x184519)*this[_0x81c1a4(0x547)],'height':(_0x31a0fd-_0x12ea5b)*this['contentScale'],'corners':_0x3ae107};}['updateViewportIndicator'](){const _0x30c96f=_0x1eb601;this['overlayCtx'][_0x30c96f(0x1d7)](0x0,0x0,this['overlayCanvas'][_0x30c96f(0x55a)],this[_0x30c96f(0x1f0)]['height']);const _0x932b0f=this['calculateViewportRect']();this[_0x30c96f(0x437)][_0x30c96f(0x4d1)]();const _0x23b958=this[_0x30c96f(0x520)][_0x30c96f(0x1d3)],_0x1af242=Math['max'](0x0,Math['min'](0x1,this[_0x30c96f(0x520)][_0x30c96f(0x1b1)]));this[_0x30c96f(0x437)][_0x30c96f(0x4d1)](),this[_0x30c96f(0x437)][_0x30c96f(0x57a)]=_0x1af242,this[_0x30c96f(0x437)]['fillStyle']=_0x23b958;if(this['context']['enable3DView']&&_0x932b0f[_0x30c96f(0x353)][_0x30c96f(0x204)]===0x4){this[_0x30c96f(0x437)][_0x30c96f(0x4fc)](),this['overlayCtx'][_0x30c96f(0x321)](0x0,0x0,this['overlayCanvas'][_0x30c96f(0x55a)],this[_0x30c96f(0x1f0)][_0x30c96f(0x3e0)]),this[_0x30c96f(0x437)][_0x30c96f(0x394)](_0x932b0f[_0x30c96f(0x353)][0x0]['x'],_0x932b0f[_0x30c96f(0x353)][0x0]['y']);for(let _0x3d74f2=0x1;_0x3d74f2<_0x932b0f[_0x30c96f(0x353)][_0x30c96f(0x204)];_0x3d74f2++){this[_0x30c96f(0x437)][_0x30c96f(0xb8)](_0x932b0f[_0x30c96f(0x353)][_0x3d74f2]['x'],_0x932b0f[_0x30c96f(0x353)][_0x3d74f2]['y']);}this['overlayCtx'][_0x30c96f(0x261)](),this['overlayCtx']['fill'](_0x30c96f(0x230)),this['overlayCtx'][_0x30c96f(0x57a)]=0x1,this[_0x30c96f(0x437)][_0x30c96f(0x361)]=this[_0x30c96f(0x520)][_0x30c96f(0x4b8)],this[_0x30c96f(0x437)][_0x30c96f(0x11a)]=0x2,this[_0x30c96f(0x437)][_0x30c96f(0x4fc)](),this[_0x30c96f(0x437)]['moveTo'](_0x932b0f['corners'][0x0]['x'],_0x932b0f[_0x30c96f(0x353)][0x0]['y']);for(let _0x761739=0x1;_0x761739<_0x932b0f[_0x30c96f(0x353)]['length'];_0x761739++){this[_0x30c96f(0x437)][_0x30c96f(0xb8)](_0x932b0f['corners'][_0x761739]['x'],_0x932b0f['corners'][_0x761739]['y']);}this['overlayCtx'][_0x30c96f(0x261)](),this['overlayCtx']['stroke'](),this[_0x30c96f(0x4b9)](_0x932b0f);}else{this['overlayCtx'][_0x30c96f(0x2be)](0x0,0x0,this['overlayCanvas'][_0x30c96f(0x55a)],Math[_0x30c96f(0x516)](0x0,_0x932b0f['y']));const _0x5bd94f=_0x932b0f['y']+_0x932b0f[_0x30c96f(0x3e0)];this[_0x30c96f(0x437)][_0x30c96f(0x2be)](0x0,_0x5bd94f,this[_0x30c96f(0x1f0)][_0x30c96f(0x55a)],this['overlayCanvas'][_0x30c96f(0x3e0)]-_0x5bd94f),this[_0x30c96f(0x437)][_0x30c96f(0x2be)](0x0,_0x932b0f['y'],Math[_0x30c96f(0x516)](0x0,_0x932b0f['x']),_0x932b0f['height']);const _0x224d37=_0x932b0f['x']+_0x932b0f[_0x30c96f(0x55a)];this[_0x30c96f(0x437)][_0x30c96f(0x2be)](_0x224d37,_0x932b0f['y'],this[_0x30c96f(0x1f0)][_0x30c96f(0x55a)]-_0x224d37,_0x932b0f[_0x30c96f(0x3e0)]),this[_0x30c96f(0x437)][_0x30c96f(0x57a)]=0x1,this[_0x30c96f(0x437)][_0x30c96f(0x361)]=this[_0x30c96f(0x520)]['viewportColor'],this[_0x30c96f(0x437)][_0x30c96f(0x11a)]=0x2,this[_0x30c96f(0x437)][_0x30c96f(0x5a1)](_0x932b0f['x'],_0x932b0f['y'],_0x932b0f[_0x30c96f(0x55a)],_0x932b0f[_0x30c96f(0x3e0)]),this[_0x30c96f(0x4b9)](_0x932b0f);}this['overlayCtx'][_0x30c96f(0x3ba)](),this[_0x30c96f(0x437)][_0x30c96f(0x3ba)](),this['config'][_0x30c96f(0x3be)]&&this[_0x30c96f(0x432)]();}[_0x1eb601(0x4b9)](_0x3c78a3){const _0x55cf77=_0x1eb601;if(this['isViewportNearFullCanvas'](_0x3c78a3))return;const _0x58a60a=this[_0x55cf77(0xb9)][_0x55cf77(0x5a3)]||0x0;if(Math[_0x55cf77(0x182)](_0x58a60a)<0.0001)return;const _0x54870b=this[_0x55cf77(0x437)];let _0x1147ae,_0x531bf0;this[_0x55cf77(0xb9)][_0x55cf77(0x243)]&&_0x3c78a3[_0x55cf77(0x353)]&&_0x3c78a3['corners'][_0x55cf77(0x204)]===0x4?(_0x1147ae=(_0x3c78a3[_0x55cf77(0x353)][0x0]['x']+_0x3c78a3['corners'][0x1]['x']+_0x3c78a3[_0x55cf77(0x353)][0x2]['x']+_0x3c78a3[_0x55cf77(0x353)][0x3]['x'])/0x4,_0x531bf0=(_0x3c78a3[_0x55cf77(0x353)][0x0]['y']+_0x3c78a3[_0x55cf77(0x353)][0x1]['y']+_0x3c78a3[_0x55cf77(0x353)][0x2]['y']+_0x3c78a3[_0x55cf77(0x353)][0x3]['y'])/0x4):(_0x1147ae=_0x3c78a3['x']+_0x3c78a3['width']/0x2,_0x531bf0=_0x3c78a3['y']+_0x3c78a3[_0x55cf77(0x3e0)]/0x2);const _0x288da9=Math[_0x55cf77(0x516)](0xa*DPR2,Math[_0x55cf77(0x147)](_0x3c78a3[_0x55cf77(0x55a)],_0x3c78a3[_0x55cf77(0x3e0)])*0.25),_0x3df3c5=Math[_0x55cf77(0x516)](0x3*DPR2,Math[_0x55cf77(0x147)](_0x3c78a3[_0x55cf77(0x55a)],_0x3c78a3[_0x55cf77(0x3e0)])*0.12);_0x54870b[_0x55cf77(0x4d1)](),_0x54870b[_0x55cf77(0x5b1)](_0x1147ae,_0x531bf0),_0x54870b[_0x55cf77(0x267)](-_0x58a60a),_0x54870b[_0x55cf77(0x4fc)](),_0x54870b[_0x55cf77(0x394)](0x0,0x0),_0x54870b[_0x55cf77(0xb8)](0x0,-_0x288da9),_0x54870b[_0x55cf77(0x361)]=this['config'][_0x55cf77(0x4b8)],_0x54870b[_0x55cf77(0x11a)]=Math[_0x55cf77(0x516)](0x2,1.5*DPR2),_0x54870b[_0x55cf77(0x48b)](),_0x54870b['beginPath'](),_0x54870b['moveTo'](0x0,-_0x288da9),_0x54870b[_0x55cf77(0xb8)](-_0x3df3c5*0.5,-_0x288da9+_0x3df3c5),_0x54870b[_0x55cf77(0x394)](0x0,-_0x288da9),_0x54870b['lineTo'](_0x3df3c5*0.5,-_0x288da9+_0x3df3c5),_0x54870b['stroke']();const _0x623fe0=Math[_0x55cf77(0x182)](this[_0x55cf77(0xb9)][_0x55cf77(0x280)]||0x0);if(_0x623fe0>0.001){const _0x1b1bd6=-_0x288da9*0.4,_0x3c3a01=Math['min'](_0x288da9*0.5,0x6*DPR2+_0x623fe0*0x14);_0x54870b[_0x55cf77(0x4fc)](),_0x54870b['moveTo'](-_0x3c3a01,_0x1b1bd6),_0x54870b[_0x55cf77(0xb8)](_0x3c3a01,_0x1b1bd6),_0x54870b[_0x55cf77(0x11a)]=Math[_0x55cf77(0x516)](0x1,DPR2),_0x54870b[_0x55cf77(0x361)]=_0x55cf77(0x582),_0x54870b[_0x55cf77(0x48b)]();}_0x54870b[_0x55cf77(0x3ba)]();}[_0x1eb601(0x381)](_0x5d0199){const _0x37f3a6=_0x1eb601,_0xd6f640=this[_0x37f3a6(0x1f0)][_0x37f3a6(0x55a)]*this['overlayCanvas'][_0x37f3a6(0x3e0)];let _0x3e5233;if(this['context'][_0x37f3a6(0x243)]&&_0x5d0199[_0x37f3a6(0x353)]&&_0x5d0199['corners'][_0x37f3a6(0x204)]===0x4){const _0x864ac7=_0x5d0199['corners'];let _0x16b1b4=0x0;for(let _0x2091f7=0x0;_0x2091f7<_0x864ac7[_0x37f3a6(0x204)];_0x2091f7++){const _0x3ee090=_0x864ac7[_0x2091f7],_0x3ac36d=_0x864ac7[(_0x2091f7+0x1)%_0x864ac7[_0x37f3a6(0x204)]];_0x16b1b4+=_0x3ee090['x']*_0x3ac36d['y']-_0x3ac36d['x']*_0x3ee090['y'];}_0x3e5233=Math[_0x37f3a6(0x182)](_0x16b1b4)/0x2;}else _0x3e5233=Math['max'](0x0,_0x5d0199['width'])*Math[_0x37f3a6(0x516)](0x0,_0x5d0199[_0x37f3a6(0x3e0)]);return _0x3e5233>=_0xd6f640*0.95;}[_0x1eb601(0x432)](){const _0xf944e6=_0x1eb601;var _0x4fa0f8,_0x3c4d9e,_0x933047;if(!this['context']['seats']||this[_0xf944e6(0xb9)][_0xf944e6(0x272)]['length']===0x0)return;const _0x21ff37=this['overlayCtx'],_0x9a7a11=this[_0xf944e6(0xb9)][_0xf944e6(0x11b)]['theme'],_0x3b32af=Math[_0xf944e6(0x516)](0x1,DPR2),_0x3e3431=Math[_0xf944e6(0x516)](0x10*DPR2,0x14*DPR2),_0xdb5abe=_MinimapLayer[_0xf944e6(0x524)];for(const _0xef565f of this[_0xf944e6(0xb9)]['seats']){if(!this[_0xf944e6(0xb9)][_0xf944e6(0x244)](_0xef565f['id']))continue;const _0x2dd9ec=_0xef565f['x']*this[_0xf944e6(0x233)],_0x4ec19a=_0xef565f['y']*this['minimapScale'],_0x25b5a4=_0x3e3431/_0xdb5abe;_0x21ff37[_0xf944e6(0x4d1)](),_0x21ff37['translate'](_0x2dd9ec,_0x4ec19a),_0x21ff37[_0xf944e6(0x368)](_0x25b5a4,_0x25b5a4),_0x21ff37[_0xf944e6(0x5b1)](-_0xdb5abe/0x2,-_0xdb5abe);const _0x125c68=_0xef565f[_0xf944e6(0x8e)]!==void 0x0&&((_0x4fa0f8=this[_0xf944e6(0xb9)][_0xf944e6(0x85)][Number(_0xef565f['priceId'])])==null?void 0x0:_0x4fa0f8[_0xf944e6(0x4e4)])||((_0x933047=(_0x3c4d9e=_0x9a7a11==null?void 0x0:_0x9a7a11['seatStyles'])==null?void 0x0:_0x3c4d9e[_0xf944e6(0x448)])==null?void 0x0:_0x933047[_0xf944e6(0x4e4)])||this[_0xf944e6(0x520)][_0xf944e6(0x4b8)]||_0xf944e6(0x23b);_0x21ff37[_0xf944e6(0x57c)]=_0x125c68,_0x21ff37['fill'](_MinimapLayer[_0xf944e6(0x142)]),_0x21ff37['lineWidth']=_0x3b32af/_0x25b5a4,_0x21ff37['strokeStyle']=this[_0xf944e6(0x236)](_0x125c68),_0x21ff37[_0xf944e6(0x48b)](_MinimapLayer[_0xf944e6(0x142)]),_0x21ff37[_0xf944e6(0x3ba)]();}}[_0x1eb601(0x236)](_0x4c5cdf){const _0xc46b82=_0x1eb601,_0x488422=this[_0xc46b82(0x132)](_0x4c5cdf);if(!_0x488422)return'#000000';const _0x3e3717=0.2126*_0x488422['r']+0.7152*_0x488422['g']+0.0722*_0x488422['b'];return _0x3e3717>0x8c?_0xc46b82(0x579):_0xc46b82(0xbd);}[_0x1eb601(0x132)](_0x41cf26){const _0xd5583e=_0x1eb601;if(!_0x41cf26)return null;const _0x2f48a0=_0x41cf26['trim']();if(_0x2f48a0[0x0]==='#'){const _0x2a883f=_0x2f48a0[_0xd5583e(0x538)](0x1);if(_0x2a883f[_0xd5583e(0x204)]===0x3){const _0xf6bd37=parseInt(_0x2a883f[0x0]+_0x2a883f[0x0],0x10),_0x1f20b0=parseInt(_0x2a883f[0x1]+_0x2a883f[0x1],0x10),_0x42cda2=parseInt(_0x2a883f[0x2]+_0x2a883f[0x2],0x10);return{'r':_0xf6bd37,'g':_0x1f20b0,'b':_0x42cda2};}if(_0x2a883f[_0xd5583e(0x204)]===0x6){const _0x550c03=parseInt(_0x2a883f['slice'](0x0,0x2),0x10),_0x4ceca1=parseInt(_0x2a883f[_0xd5583e(0x538)](0x2,0x4),0x10),_0x124bda=parseInt(_0x2a883f[_0xd5583e(0x538)](0x4,0x6),0x10);return{'r':_0x550c03,'g':_0x4ceca1,'b':_0x124bda};}}const _0x3610f5=_0x41cf26[_0xd5583e(0x12c)](/rgba?\((\d+)\s*,\s*(\d+)\s*,\s*(\d+)/i);if(_0x3610f5)return{'r':Number(_0x3610f5[0x1]),'g':Number(_0x3610f5[0x2]),'b':Number(_0x3610f5[0x3])};return null;}[_0x1eb601(0x13b)](_0x466553,_0x135891,_0x2640c6=![],_0x5e1848=![]){const _0x13c4cb=_0x1eb601;var _0x3115a3;const _0x2932f9=_0x466553/this[_0x13c4cb(0x233)],_0x3a59c1=_0x135891/this['minimapScale'],_0xad1703=this[_0x13c4cb(0xb9)][_0x13c4cb(0x1fb)]['clientWidth'],_0x58755b=this[_0x13c4cb(0xb9)]['element'][_0x13c4cb(0x2aa)],_0x3367e8=this[_0x13c4cb(0xb9)][_0x13c4cb(0x368)],_0x21f292={'x':-(_0x2932f9*_0x3367e8)+_0xad1703*DPR2/0x2,'y':-(_0x3a59c1*_0x3367e8)+_0x58755b*DPR2/0x2};if(_0x5e1848&&this['navigator']){const _0x49d9d9=(_0x3115a3=this[_0x13c4cb(0xb9)]['underlay'])==null?void 0x0:_0x3115a3[_0x13c4cb(0x2af)],_0x3760a8=_0x49d9d9?{'x':_0x49d9d9['x']+_0x2932f9,'y':_0x49d9d9['y']+_0x3a59c1}:{'x':_0x2932f9,'y':_0x3a59c1};this[_0x13c4cb(0x4fb)][_0x13c4cb(0x9a)](_0x3760a8,this[_0x13c4cb(0xb9)]['settings'][_0x13c4cb(0x38c)]);}else this['context'][_0x13c4cb(0x5b1)]=_0x21f292,this[_0x13c4cb(0x1c0)]();}['scheduleUpdate'](){const _0x2e0534=_0x1eb601;if(this[_0x2e0534(0x4bb)]!==null)return;this[_0x2e0534(0x4bb)]=requestAnimationFrame(()=>{const _0x338742=_0x2e0534;this[_0x338742(0x4bb)]=null,this[_0x338742(0x577)](),this[_0x338742(0xb9)][_0x338742(0x11b)][_0x338742(0x1f9)]&&this[_0x338742(0xb9)][_0x338742(0x11b)]['onPan']({'x':0x0,'y':0x0},!![]);});}[_0x1eb601(0x16c)](){const _0x24f445=_0x1eb601,_0x918a5b=_0x1d09f6=>{const _0x160957=_0x51bc;_0x1d09f6[_0x160957(0x4be)](),_0x1d09f6[_0x160957(0xdb)]();};this[_0x24f445(0x4a4)][_0x24f445(0x222)](_0x24f445(0x1f2),this[_0x24f445(0x58b)]),this[_0x24f445(0x4a4)][_0x24f445(0x222)](_0x24f445(0x131),this[_0x24f445(0x436)]),this[_0x24f445(0x4a4)]['addEventListener'](_0x24f445(0x49e),_0x918a5b),this[_0x24f445(0x4a4)]['addEventListener'](_0x24f445(0x433),_0x918a5b),this[_0x24f445(0x4a4)][_0x24f445(0x222)]('mouseleave',_0x918a5b),this[_0x24f445(0x4a4)][_0x24f445(0x222)](_0x24f445(0x506),_0x918a5b),this[_0x24f445(0x4a4)][_0x24f445(0x222)]('pointerup',_0x918a5b),this[_0x24f445(0x4a4)][_0x24f445(0x222)](_0x24f445(0x4b3),_0x918a5b),this[_0x24f445(0x4a4)][_0x24f445(0x222)]('touchstart',_0x918a5b,{'passive':![]}),this[_0x24f445(0x4a4)][_0x24f445(0x222)](_0x24f445(0x3a7),_0x918a5b,{'passive':![]}),this['canvas'][_0x24f445(0x222)](_0x24f445(0x396),_0x918a5b,{'passive':![]}),this[_0x24f445(0x1f0)][_0x24f445(0x222)](_0x24f445(0x1f2),this['handleClick']),this[_0x24f445(0x1f0)][_0x24f445(0x222)]('mousedown',this[_0x24f445(0x436)]),this[_0x24f445(0x1f0)][_0x24f445(0x222)]('mousemove',_0x918a5b),this[_0x24f445(0x1f0)]['addEventListener'](_0x24f445(0x433),_0x918a5b),this['overlayCanvas']['addEventListener'](_0x24f445(0x36e),_0x918a5b),this['overlayCanvas'][_0x24f445(0x222)](_0x24f445(0x506),_0x918a5b),this[_0x24f445(0x1f0)][_0x24f445(0x222)](_0x24f445(0x11d),_0x918a5b),this[_0x24f445(0x1f0)][_0x24f445(0x222)](_0x24f445(0x4b3),_0x918a5b),this[_0x24f445(0x1f0)]['addEventListener']('touchstart',_0x918a5b,{'passive':![]}),this[_0x24f445(0x1f0)][_0x24f445(0x222)]('touchmove',_0x918a5b,{'passive':![]}),this[_0x24f445(0x1f0)]['addEventListener'](_0x24f445(0x396),_0x918a5b,{'passive':![]}),window[_0x24f445(0x222)](_0x24f445(0x49e),this['handleMouseMove']),window['addEventListener'](_0x24f445(0x433),this['handleMouseUp']);}[_0x1eb601(0x2e1)](){const _0xa05a09=_0x1eb601,_0x243685=_0x14c3d3=>{const _0x44c9ac=_0x51bc;_0x14c3d3[_0x44c9ac(0x4be)](),_0x14c3d3[_0x44c9ac(0xdb)]();};this[_0xa05a09(0x4a4)][_0xa05a09(0x2de)](_0xa05a09(0x1f2),this[_0xa05a09(0x58b)]),this[_0xa05a09(0x4a4)][_0xa05a09(0x2de)](_0xa05a09(0x131),this[_0xa05a09(0x436)]),this['canvas'][_0xa05a09(0x2de)](_0xa05a09(0x49e),_0x243685),this[_0xa05a09(0x4a4)][_0xa05a09(0x2de)](_0xa05a09(0x433),_0x243685),this[_0xa05a09(0x4a4)][_0xa05a09(0x2de)](_0xa05a09(0x36e),_0x243685),this[_0xa05a09(0x4a4)][_0xa05a09(0x2de)](_0xa05a09(0x506),_0x243685),this['canvas'][_0xa05a09(0x2de)](_0xa05a09(0x11d),_0x243685),this['canvas'][_0xa05a09(0x2de)](_0xa05a09(0x4b3),_0x243685),this['canvas'][_0xa05a09(0x2de)]('touchstart',_0x243685),this[_0xa05a09(0x4a4)]['removeEventListener'](_0xa05a09(0x3a7),_0x243685),this[_0xa05a09(0x4a4)][_0xa05a09(0x2de)](_0xa05a09(0x396),_0x243685),this[_0xa05a09(0x1f0)][_0xa05a09(0x2de)]('click',this['handleClick']),this[_0xa05a09(0x1f0)]['removeEventListener'](_0xa05a09(0x131),this['handleMouseDown']),this['overlayCanvas'][_0xa05a09(0x2de)]('mousemove',_0x243685),this[_0xa05a09(0x1f0)][_0xa05a09(0x2de)]('mouseup',_0x243685),this[_0xa05a09(0x1f0)][_0xa05a09(0x2de)]('mouseleave',_0x243685),this['overlayCanvas']['removeEventListener']('pointerdown',_0x243685),this[_0xa05a09(0x1f0)]['removeEventListener'](_0xa05a09(0x11d),_0x243685),this[_0xa05a09(0x1f0)][_0xa05a09(0x2de)](_0xa05a09(0x4b3),_0x243685),this[_0xa05a09(0x1f0)][_0xa05a09(0x2de)](_0xa05a09(0x259),_0x243685),this[_0xa05a09(0x1f0)][_0xa05a09(0x2de)](_0xa05a09(0x3a7),_0x243685),this[_0xa05a09(0x1f0)][_0xa05a09(0x2de)](_0xa05a09(0x396),_0x243685),window['removeEventListener'](_0xa05a09(0x49e),this[_0xa05a09(0x180)]),window[_0xa05a09(0x2de)](_0xa05a09(0x433),this['handleMouseUp']);}['show'](){const _0x48fd5b=_0x1eb601;this[_0x48fd5b(0x4a4)][_0x48fd5b(0x464)][_0x48fd5b(0x5c3)]=_0x48fd5b(0x555),this[_0x48fd5b(0x1f0)]['style'][_0x48fd5b(0x5c3)]='block';}[_0x1eb601(0x40a)](){const _0x1f5e35=_0x1eb601;this[_0x1f5e35(0x4a4)][_0x1f5e35(0x464)][_0x1f5e35(0x5c3)]=_0x1f5e35(0x53b),this[_0x1f5e35(0x1f0)]['style'][_0x1f5e35(0x5c3)]='none';}[_0x1eb601(0x263)](_0x2ca920){const _0x5163bc=_0x1eb601;this[_0x5163bc(0x520)][_0x5163bc(0x43d)]=_0x2ca920,this[_0x5163bc(0x274)]();}[_0x1eb601(0x5bb)](_0x4d7ce5){const _0x5872c4=_0x1eb601;this[_0x5872c4(0x520)]['showCartPins']=_0x4d7ce5,this[_0x5872c4(0x577)]();}[_0x1eb601(0x386)](){const _0x308ef4=_0x1eb601;this[_0x308ef4(0x4bb)]!==null&&(cancelAnimationFrame(this['animationFrameId']),this[_0x308ef4(0x4bb)]=null),this[_0x308ef4(0x2e1)](),this['ctx'][_0x308ef4(0x1d7)](0x0,0x0,this[_0x308ef4(0x4a4)][_0x308ef4(0x55a)],this[_0x308ef4(0x4a4)][_0x308ef4(0x3e0)]),this[_0x308ef4(0x437)][_0x308ef4(0x1d7)](0x0,0x0,this[_0x308ef4(0x1f0)][_0x308ef4(0x55a)],this[_0x308ef4(0x1f0)][_0x308ef4(0x3e0)]),this[_0x308ef4(0x4a4)]['remove'](),this[_0x308ef4(0x1f0)][_0x308ef4(0x1cf)](),this[_0x308ef4(0x238)]=null;}};_MinimapLayer['CART_PIN_PATH']=new Path2D(_0x1eb601(0xf9)),_MinimapLayer['CART_PIN_VIEWBOX']=425.963;var MinimapLayer=_MinimapLayer,addPoints=(_0x1bfc00,_0x4e5d83)=>{return{'x':_0x1bfc00['x']+_0x4e5d83['x'],'y':_0x1bfc00['y']+_0x4e5d83['y']};},subPoints=(_0x466836,_0xbadee9)=>{return{'x':_0x466836['x']-_0xbadee9['x'],'y':_0x466836['y']-_0xbadee9['y']};};import _0x5f3803 from'hammerjs';var sortPrices=_0x5d40bf=>_0x5d40bf['sort'](priceComparator),convertPricesToColored=(_0x1cd9e7,_0x133b6f)=>{const _0x13927c=_0x1eb601;if(!_0x1cd9e7)return[];const _0x48697c=getColorSequence(_0x133b6f,_0x1cd9e7['length']);return _0x1cd9e7['sort'](priceComparator)[_0x13927c(0x2c8)]((_0x260ed8,_0x346314)=>({..._0x260ed8,'color':_0x48697c[_0x346314]}));},convertPricesToColoredById=(_0x2ceb71,_0x117b4a)=>{const _0x1a5515=_0x1eb601,_0x428957={};return convertPricesToColored(_0x2ceb71,_0x117b4a)[_0x1a5515(0x4ff)](_0x4d4c4b=>{const {id:_0x42d806,name:_0x158f0a,color:_0x2dbe95}=_0x4d4c4b;_0x428957[_0x42d806]={'id':_0x42d806,'name':_0x158f0a,'color':_0x2dbe95};}),_0x428957;},priceComparator=(_0x2507e8,_0x1edf08)=>{const _0x30c1fd=_0x1eb601;if(_0x2507e8['name']===_0x1edf08[_0x30c1fd(0x391)])return 0x0;const _0x86ec0d=parseInt(_0x2507e8[_0x30c1fd(0x391)]),_0xfff5ca=parseInt(_0x1edf08['name']);if(isFinite(_0x86ec0d)&&isFinite(_0xfff5ca)){if(_0x86ec0d===_0xfff5ca)return _0x2507e8[_0x30c1fd(0x391)]>_0x1edf08[_0x30c1fd(0x391)]?0x1:-0x1;return _0x86ec0d>_0xfff5ca?0x1:-0x1;}else{if(isFinite(_0x86ec0d)&&!isFinite(_0xfff5ca))return-0x1;else return!isFinite(_0x86ec0d)&&isFinite(_0xfff5ca)?0x1:_0x2507e8[_0x30c1fd(0x391)]>_0x1edf08[_0x30c1fd(0x391)]?0x1:-0x1;}},getColorSequence=(_0x1be1a0,_0x3bf79c)=>{const _0x3a9c92=_0x1eb601;if(!_0x3bf79c)return[];for(let _0x12c9be=0x0;_0x12c9be<_0x1be1a0[_0x3a9c92(0x204)];_0x12c9be++){if(_0x1be1a0[_0x12c9be][_0x3a9c92(0x204)]===_0x3bf79c)return _0x1be1a0[_0x12c9be];}const _0x314eda=_0x1be1a0[0x0],_0x1b70a0=[];for(let _0x34c1b6=0x0;_0x34c1b6<_0x3bf79c;_0x34c1b6++){const _0x58c936=Math['round'](_0x34c1b6*_0x314eda[_0x3a9c92(0x204)]/_0x3bf79c);_0x1b70a0['push'](_0x1be1a0[0x0][_0x58c936]);}return _0x1b70a0;};import{debounce}from'throttle-debounce';import{interpret}from'robot3';var getSeatsWithPrices=(_0x4f8f56,_0x215cc1,_0x462fcc)=>{const _0xd79665=getPriceIdAndSpecialBySeatId(_0x215cc1['seats']);return _0x4f8f56['map'](_0x18d0ab=>{const _0x6f8706=_0x51bc,_0x4d7f44=_0xd79665[_0x18d0ab['id']]&&_0xd79665[_0x18d0ab['id']][_0x6f8706(0x8e)],_0x1ae7d6=_0xd79665[_0x18d0ab['id']]&&_0xd79665[_0x18d0ab['id']][_0x6f8706(0x2f3)],_0x338102=_0x4d7f44&&_0x215cc1[_0x6f8706(0x287)]['length']?_0x462fcc[_0x4d7f44][_0x6f8706(0x4e4)]:void 0x0;return{..._0x18d0ab,'priceId':_0x4d7f44,'color':_0x338102,'special':_0x1ae7d6};});},getSectorsWithPrices=(_0x4ef73e,_0x3a69f2,_0x11acaf)=>{const _0x308403=_0x1eb601,_0x1a5776=getPriceIdAndSpecialBySectorId(_0x3a69f2[_0x308403(0x25d)]);return _0x4ef73e[_0x308403(0x2c8)](_0x49d579=>{const _0xa54fe1=_0x308403,_0x5a522b=_0x1a5776[_0x49d579['id']]&&_0x1a5776[_0x49d579['id']]['priceId'],_0x3f4d58=_0x5a522b&&_0x3a69f2['prices'][_0xa54fe1(0x204)]?_0x11acaf[_0x5a522b][_0xa54fe1(0x4e4)]:void 0x0,_0x21c5bc=_0x1a5776[_0x49d579['id']]&&_0x1a5776[_0x49d579['id']][_0xa54fe1(0x2f3)];return{..._0x49d579,'priceId':_0x5a522b,'color':_0x3f4d58,'special':_0x21c5bc};});},getPriceIdAndSpecialBySeatId=_0x2e03e3=>{const _0x2bcb53=_0x1eb601,_0x2000d0={};return _0x2e03e3&&_0x2e03e3[_0x2bcb53(0x4ff)](_0x297865=>_0x2000d0[_0x297865[0x0]]={'priceId':_0x297865[0x1],'special':_0x297865[0x2]}),_0x2000d0;},getPriceIdAndSpecialBySectorId=_0x3487c9=>{const _0x2fd788=_0x1eb601,_0xa455c4={};return _0x3487c9&&_0x3487c9[_0x2fd788(0x4ff)](_0x4c0aea=>_0xa455c4[_0x4c0aea[0x0]]={'priceId':_0x4c0aea[0x1],'special':_0x4c0aea[0x3]}),_0xa455c4;},Background_default=_0x1eb601(0x324),Background_default2=_0x1eb601(0x1f8),Seats_default=_0x1eb601(0x467),Seats_default2=_0x1eb601(0x1bb),Overlay_default=_0x1eb601(0x2ee),Overlay_default2=_0x1eb601(0x48c),GLBase=class{constructor(){const _0x556bf0=_0x1eb601;this['canvas']=document[_0x556bf0(0x4a9)](_0x556bf0(0x4a4)),this['canvas'][_0x556bf0(0x464)]['position']=_0x556bf0(0x23d),this[_0x556bf0(0x4a4)][_0x556bf0(0x464)][_0x556bf0(0x289)]='0',this[_0x556bf0(0x4a4)]['setAttribute']('id','webgl');}['createShader'](_0x5a6fbb,_0x3c8291){const _0x3d11f4=_0x1eb601,_0x274aa5=this['ctx'][_0x3d11f4(0x208)](_0x5a6fbb);if(!_0x274aa5)throw new Error(_0x3d11f4(0xb0));this[_0x3d11f4(0xf2)][_0x3d11f4(0x114)](_0x274aa5,_0x3c8291),this['ctx'][_0x3d11f4(0x44a)](_0x274aa5);if(!this['ctx'][_0x3d11f4(0x480)](_0x274aa5,this[_0x3d11f4(0xf2)][_0x3d11f4(0x51b)])){const _0x790a1=this[_0x3d11f4(0xf2)][_0x3d11f4(0x245)](_0x274aa5);console[_0x3d11f4(0x1ca)](_0x3d11f4(0x30e),_0x790a1),this[_0x3d11f4(0xf2)][_0x3d11f4(0x19e)](_0x274aa5);throw new Error(_0x3d11f4(0x498));}return _0x274aa5;}[_0x1eb601(0x207)](){const _0x36e567=_0x1eb601;return this[_0x36e567(0x208)](this[_0x36e567(0xf2)][_0x36e567(0x2cc)],Background_default);}[_0x1eb601(0x2d5)](){const _0x599d63=_0x1eb601;return this[_0x599d63(0x208)](this[_0x599d63(0xf2)][_0x599d63(0x572)],Background_default2);}[_0x1eb601(0x2c7)](){const _0x4567ac=_0x1eb601;return this[_0x4567ac(0x208)](this[_0x4567ac(0xf2)][_0x4567ac(0x2cc)],Seats_default);}['createSeatsFragmentShader'](){const _0x59aaf4=_0x1eb601;return this[_0x59aaf4(0x208)](this[_0x59aaf4(0xf2)]['FRAGMENT_SHADER'],Seats_default2);}[_0x1eb601(0x23a)](){const _0x3e461d=_0x1eb601;return this['createShader'](this[_0x3e461d(0xf2)][_0x3e461d(0x2cc)],Overlay_default);}['createOverlayFragmentShader'](){const _0x104298=_0x1eb601;return this[_0x104298(0x208)](this[_0x104298(0xf2)][_0x104298(0x572)],Overlay_default2);}[_0x1eb601(0x370)](_0x267cb2,_0x448103){const _0x1f846b=_0x1eb601,_0xe519a7=this[_0x1f846b(0xf2)][_0x1f846b(0x370)]();this[_0x1f846b(0xf2)][_0x1f846b(0x37a)](_0xe519a7,_0x267cb2),this[_0x1f846b(0xf2)][_0x1f846b(0x37a)](_0xe519a7,_0x448103),this['ctx']['linkProgram'](_0xe519a7);if(!this[_0x1f846b(0xf2)][_0x1f846b(0x302)](_0xe519a7,this[_0x1f846b(0xf2)][_0x1f846b(0x2ae)])){console['error'](_0x1f846b(0x217),this[_0x1f846b(0xf2)]['getProgramInfoLog'](_0xe519a7)),this[_0x1f846b(0xf2)][_0x1f846b(0x1ef)](_0xe519a7);throw new Error('Program\x20linking\x20failed');}return _0xe519a7;}},showAtlas=_0x5b2667=>{const _0x19f6c0=_0x1eb601,_0x3b9ec1=document[_0x19f6c0(0x4a9)](_0x19f6c0(0x104));_0x3b9ec1['style'][_0x19f6c0(0x43d)]=_0x19f6c0(0x101),_0x3b9ec1[_0x19f6c0(0x464)]['background']=_0x19f6c0(0x2ef),_0x3b9ec1['style'][_0x19f6c0(0x53a)]=_0x19f6c0(0x59c),_0x3b9ec1[_0x19f6c0(0x464)][_0x19f6c0(0x55a)]='25%',_0x3b9ec1['style'][_0x19f6c0(0x478)]='50%',_0x3b9ec1['style'][_0x19f6c0(0x289)]=_0x19f6c0(0x20f),_0x3b9ec1[_0x19f6c0(0x464)]['transform']='translate(-50%,\x20-50%)',_0x5b2667[_0x19f6c0(0x464)][_0x19f6c0(0x55a)]=_0x19f6c0(0xac),_0x5b2667[_0x19f6c0(0x464)][_0x19f6c0(0x3e0)]=_0x19f6c0(0xac),_0x5b2667['style'][_0x19f6c0(0x5c3)]=_0x19f6c0(0x555),_0x3b9ec1['appendChild'](_0x5b2667),document['body'][_0x19f6c0(0xa9)](_0x3b9ec1);},initializeIconAtlas=async(_0x2b426e,_0x1337cf,_0x54fc54,_0x42311c=![])=>{const _0x1ce1ed=_0x1eb601;if(!_0x2b426e||Object[_0x1ce1ed(0x3a0)](_0x2b426e)['length']===0x0)return{'texture':null,'width':0x0,'height':0x0};const _0x2f9409=document[_0x1ce1ed(0x4a9)]('canvas'),_0x2d39d3=_0x2f9409[_0x1ce1ed(0x42e)]('2d'),_0x36d279=0x10,_0x2ee8fc=0x3,_0x4ca9dc=_0x36d279*_0x2ee8fc,_0x22544d=0x1,_0x445efe=0x14,_0x24fdb4=Object[_0x1ce1ed(0x5ad)](_0x2b426e)['map'](([_0x32b1b4,_0x29243e],_0x3381f6)=>({'name':_0x32b1b4,'svg':_0x29243e,'index':_0x3381f6})),_0x14b79=_0x24fdb4[_0x1ce1ed(0x204)];_0x2f9409['width']=_0x4ca9dc*_0x14b79+(_0x14b79-0x1)*(_0x22544d+_0x445efe)+_0x22544d*0x2+_0x445efe*0x2,_0x2f9409['height']=_0x4ca9dc+_0x22544d*0x2;let _0x417c45=_0x445efe+_0x22544d;for(const {name:_0x494e68,svg:_0x198176}of _0x24fdb4){const _0x415051=await svgToBase64(_0x198176),_0x11712a=new Image();_0x11712a[_0x1ce1ed(0x569)]=_0x415051,await new Promise(_0x549967=>{_0x11712a['onload']=_0x549967;});const _0x18ecab=_0x11712a['width'],_0xd3f122=_0x11712a[_0x1ce1ed(0x3e0)],_0x2fc562=_0x4ca9dc/Math['max'](_0x18ecab,_0xd3f122),_0x4bcbf6=Math['round'](_0x18ecab*_0x2fc562),_0x3a066d=Math[_0x1ce1ed(0x241)](_0xd3f122*_0x2fc562),_0x3cf408=_0x417c45+Math['floor']((_0x4ca9dc-_0x4bcbf6)/0x2),_0x2a58f8=_0x22544d+Math['floor']((_0x4ca9dc-_0x3a066d)/0x2);_0x2d39d3['drawImage'](_0x11712a,_0x3cf408,_0x2a58f8,_0x4bcbf6,_0x3a066d),_0x1337cf['set'](_0x494e68,{'x':_0x417c45/_0x2f9409[_0x1ce1ed(0x55a)],'y':_0x22544d/_0x2f9409['height'],'width':_0x4ca9dc/_0x2f9409[_0x1ce1ed(0x55a)],'height':_0x4ca9dc/_0x2f9409['height']}),_0x417c45+=_0x4ca9dc+_0x22544d+_0x445efe;}_0x42311c&&showAtlas(_0x2f9409);const _0x267e23=_0x54fc54[_0x1ce1ed(0x18d)]();if(!_0x267e23)return{'texture':null,'width':_0x2f9409['width'],'height':_0x2f9409[_0x1ce1ed(0x3e0)]};_0x54fc54[_0x1ce1ed(0x2e3)](_0x54fc54[_0x1ce1ed(0x20d)],_0x267e23),_0x54fc54[_0x1ce1ed(0x246)](_0x54fc54['TEXTURE_2D'],0x0,_0x54fc54[_0x1ce1ed(0x3b0)],_0x54fc54['RGBA'],_0x54fc54[_0x1ce1ed(0x322)],_0x2f9409);const _0x31139f=[{'pname':_0x54fc54['TEXTURE_MIN_FILTER'],'param':_0x54fc54[_0x1ce1ed(0x3af)]},{'pname':_0x54fc54[_0x1ce1ed(0x358)],'param':_0x54fc54[_0x1ce1ed(0x3af)]},{'pname':_0x54fc54['TEXTURE_WRAP_S'],'param':_0x54fc54['CLAMP_TO_EDGE']},{'pname':_0x54fc54[_0x1ce1ed(0x54a)],'param':_0x54fc54[_0x1ce1ed(0x43a)]}];return _0x31139f['forEach'](({pname:_0x2450a9,param:_0x56d1dc})=>{const _0x430ca4=_0x1ce1ed;_0x54fc54[_0x430ca4(0x136)](_0x54fc54[_0x430ca4(0x20d)],_0x2450a9,_0x56d1dc);}),{'texture':_0x267e23,'width':_0x2f9409[_0x1ce1ed(0x55a)],'height':_0x2f9409[_0x1ce1ed(0x3e0)]};},RESERVED_ICON_VALUES={'accessible':0x1,'marked':0.8,'default':0.4,'unavailable':0x0};function generateIconValues(_0x5c5213){const _0x54a2af=_0x1eb601,_0x2c0ada={...RESERVED_ICON_VALUES};if(!Array[_0x54a2af(0x18e)](_0x5c5213)||_0x5c5213[_0x54a2af(0x204)]===0x0)return _0x2c0ada;const _0x4fdfac=_0x5c5213[_0x54a2af(0x1f1)](_0x5c48db=>!Object[_0x54a2af(0x51e)]['hasOwnProperty']['call'](RESERVED_ICON_VALUES,_0x5c48db))[_0x54a2af(0x500)]();let _0x5066c1=0.55;const _0x47e011=0.03;for(let _0x5ecdfe=0x0;_0x5ecdfe<_0x4fdfac[_0x54a2af(0x204)];_0x5ecdfe++){_0x2c0ada[_0x4fdfac[_0x5ecdfe]]=_0x5066c1,_0x5066c1=Math[_0x54a2af(0x147)](_0x5066c1+_0x47e011,0.97);}return _0x2c0ada;}function _0x51bc(_0x5b3c8b,_0x3fab2c){const _0x1b7132=_0x1b71();return _0x51bc=function(_0x51bccd,_0x58c095){_0x51bccd=_0x51bccd-0x79;let _0x525374=_0x1b7132[_0x51bccd];return _0x525374;},_0x51bc(_0x5b3c8b,_0x3fab2c);}var VisibilityManager=class{constructor(_0xab4436){const _0x497475=_0x1eb601;this[_0x497475(0x16f)]=_0xab4436['settings']['visibilitySettings'];}[_0x1eb601(0x158)](_0x360d10){const _0x3704c3=_0x1eb601;return{'outline':{'selectable':this['isOutlineSelectable'](_0x360d10),'visible':this[_0x3704c3(0x10e)](_0x360d10)},'seat':{'selectable':this[_0x3704c3(0x4ea)](_0x360d10),'visible':this[_0x3704c3(0x25c)](_0x360d10)}};}[_0x1eb601(0x4ea)](_0x5de0c8){const _0x4f1bcd=_0x1eb601;return this[_0x4f1bcd(0x206)](_0x5de0c8,_0x4f1bcd(0x272),'selectable');}[_0x1eb601(0x25c)](_0x55d237){const _0x3aa73f=_0x1eb601;return this[_0x3aa73f(0x206)](_0x55d237,_0x3aa73f(0x272),_0x3aa73f(0x38a));}[_0x1eb601(0xab)](_0x299c60){const _0x1df285=_0x1eb601;return this['validate'](_0x299c60,_0x1df285(0x56b),_0x1df285(0x25a));}[_0x1eb601(0x10e)](_0x396c34){const _0x19ae2c=_0x1eb601;return this['validate'](_0x396c34,_0x19ae2c(0x56b),_0x19ae2c(0x38a));}['validate'](_0x34e3bc,_0x2faf42,_0x3c5ccc){const _0x9d235a=_0x1eb601;var _0x3c746b,_0x45e952,_0x56c86f,_0x517a7f;if(!((_0x45e952=(_0x3c746b=this[_0x9d235a(0x16f)])==null?void 0x0:_0x3c746b[_0x2faf42])==null?void 0x0:_0x45e952[_0x3c5ccc]))return!![];const _0x3e63ca=(_0x517a7f=(_0x56c86f=this[_0x9d235a(0x16f)])==null?void 0x0:_0x56c86f[_0x2faf42])==null?void 0x0:_0x517a7f[_0x3c5ccc];return((_0x3e63ca==null?void 0x0:_0x3e63ca[_0x9d235a(0xd0)])||0x0)*DPR<=_0x34e3bc&&_0x34e3bc<((_0x3e63ca==null?void 0x0:_0x3e63ca['to'])||0x14)*DPR;}},Rows_default=_0x1eb601(0x447),Rows_default2=_0x1eb601(0x1d8),SCALE_PARAMETERS={0x1:{'scale':0x1,'sizes':{'seatSizePx':0x18,'rowNumberSizePx':0xe,'rowWidthPx':0x1e,'sectionNameSizePx':0x30,'sectionBorderThicknessPx':0xc,'sectionInnerPaddingPx':0x28,'aisleWidthBetweenSectionsPx':0x18,'distanceBetweenTiersPx':0x30},'general':{'showSectorAisles':!![],'showSectionEntrances':!![],'sectionNameInBackground':!![]},'seatView':{'displayed':!![],'clickable':!![],'colorCoding':!![],'showDetailedInfo':!![],'showRowNumber':!![],'interaction':_0x1eb601(0x272)},'rowView':{'displayed':!![],'clickable':!![],'colorCoding':!![],'showDetailedInfo':!![],'showRowNumber':!![],'interaction':_0x1eb601(0x2dc)},'sectionView':{'interaction':_0x1eb601(0x53b)},'rowsOpacityAlpha':0.18},0.75:{'scale':0.75,'sizes':{'seatSizePx':0x12,'rowNumberSizePx':10.5,'rowWidthPx':22.5,'sectionNameSizePx':0x30,'sectionBorderThicknessPx':0x9,'sectionInnerPaddingPx':0x1e,'aisleWidthBetweenSectionsPx':0x12,'distanceBetweenTiersPx':0x24},'general':{'showSectorAisles':!![],'showSectionEntrances':!![],'sectionNameInBackground':!![]},'seatView':{'displayed':!![],'clickable':!![],'colorCoding':!![],'showDetailedInfo':!![],'showRowNumber':!![],'interaction':_0x1eb601(0x272)},'rowView':{'displayed':!![],'clickable':!![],'colorCoding':!![],'showDetailedInfo':!![],'showRowNumber':!![],'interaction':_0x1eb601(0x2dc)},'sectionView':{'interaction':'none'},'rowsOpacityAlpha':0.22},0.5:{'scale':0.5,'sizes':{'seatSizePx':0xc,'rowNumberSizePx':0x7,'rowWidthPx':0xf,'sectionNameSizePx':0x30,'sectionBorderThicknessPx':0x6,'sectionInnerPaddingPx':0x14,'aisleWidthBetweenSectionsPx':0xc,'distanceBetweenTiersPx':0x18},'general':{'showSectorAisles':![],'showSectionEntrances':!![],'sectionNameInBackground':!![]},'seatView':{'displayed':!![],'clickable':![],'colorCoding':!![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x1eb601(0x128)},'rowView':{'displayed':!![],'clickable':![],'colorCoding':!![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x1eb601(0x128)},'sectionView':{'interaction':_0x1eb601(0x128),'colorCodingTiedToPrice':![],'nameUsesSectionColor':!![]},'rowsOpacityAlpha':0.26},0.25:{'scale':0.25,'sizes':{'seatSizePx':0x6,'rowNumberSizePx':3.5,'rowWidthPx':7.5,'sectionNameSizePx':0x20,'sectionBorderThicknessPx':0x3,'sectionInnerPaddingPx':0xa,'aisleWidthBetweenSectionsPx':0x6,'distanceBetweenTiersPx':0xc},'general':{'showSectorAisles':![],'showSectionEntrances':!![],'sectionNameInBackground':!![]},'seatView':{'displayed':!![],'clickable':![],'colorCoding':!![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x1eb601(0x128)},'rowView':{'displayed':!![],'clickable':![],'colorCoding':!![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x1eb601(0x128)},'sectionView':{'interaction':_0x1eb601(0x128),'colorCodingTiedToPrice':![],'nameUsesSectionColor':!![]},'rowsOpacityAlpha':0.3,'notes':_0x1eb601(0x144)},0.2:{'scale':0.2,'sizes':{'seatSizePx':4.8,'rowNumberSizePx':2.8,'rowWidthPx':0x6,'sectionNameSizePx':25.6,'sectionBorderThicknessPx':2.4,'sectionInnerPaddingPx':0x8,'aisleWidthBetweenSectionsPx':4.8,'distanceBetweenTiersPx':9.6},'general':{'showSectorAisles':![],'showSectionEntrances':!![],'sectionNameInBackground':!![]},'seatView':{'displayed':!![],'clickable':![],'colorCoding':!![],'showDetailedInfo':![],'showRowNumber':![],'interaction':'section'},'rowView':{'displayed':!![],'clickable':![],'colorCoding':!![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x1eb601(0x128)},'sectionView':{'interaction':'section','colorCodingTiedToPrice':![],'nameUsesSectionColor':!![]},'rowsOpacityAlpha':0.32,'notes':_0x1eb601(0x144)},0.1:{'scale':0.1,'sizes':{'seatSizePx':2.4,'rowNumberSizePx':1.4,'rowWidthPx':0x3,'sectionNameSizePx':12.8,'sectionBorderThicknessPx':1.2,'sectionInnerPaddingPx':0x4,'aisleWidthBetweenSectionsPx':2.4,'distanceBetweenTiersPx':4.8},'general':{'showSectorAisles':![],'showSectionEntrances':!![],'sectionNameInBackground':!![]},'seatView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x1eb601(0x128)},'rowView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x1eb601(0x128)},'sectionView':{'interaction':_0x1eb601(0x128),'colorCodingTiedToPrice':![],'nameUsesSectionColor':!![]},'rowsOpacityAlpha':0.35,'notes':_0x1eb601(0x3c7)},0.075:{'scale':0.075,'sizes':{'seatSizePx':1.8,'rowNumberSizePx':0x1,'rowWidthPx':2.25,'sectionNameSizePx':4.8,'sectionBorderThicknessPx':9.6,'sectionInnerPaddingPx':0x3,'aisleWidthBetweenSectionsPx':1.8,'distanceBetweenTiersPx':3.6},'general':{'showSectorAisles':![],'showSectionEntrances':!![],'sectionNameInBackground':!![]},'seatView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x1eb601(0x128)},'rowView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x1eb601(0x128)},'sectionView':{'interaction':_0x1eb601(0x128),'colorCodingTiedToPrice':![],'nameUsesSectionColor':!![]},'rowsOpacityAlpha':0.35},0.05:{'scale':0.05,'sizes':{'seatSizePx':1.2,'rowNumberSizePx':0.7,'rowWidthPx':1.5,'sectionNameSizePx':0x30,'sectionBorderThicknessPx':6.4,'sectionInnerPaddingPx':0x2,'aisleWidthBetweenSectionsPx':1.2,'distanceBetweenTiersPx':2.4},'general':{'showSectorAisles':![],'showSectionEntrances':!![],'sectionNameInBackground':!![]},'seatView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x1eb601(0x128)},'rowView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x1eb601(0x128)},'sectionView':{'interaction':_0x1eb601(0x128),'colorCodingTiedToPrice':![],'nameUsesSectionColor':!![]},'rowsOpacityAlpha':0.35},0.025:{'scale':0.025,'sizes':{'seatSizePx':0.6,'rowNumberSizePx':0.35,'rowWidthPx':0.75,'sectionNameSizePx':3.2,'sectionBorderThicknessPx':0.3,'sectionInnerPaddingPx':0x1,'aisleWidthBetweenSectionsPx':0.6,'distanceBetweenTiersPx':1.2},'general':{'showSectorAisles':![],'showSectionEntrances':!![],'sectionNameInBackground':!![]},'seatView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':'section'},'rowView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x1eb601(0x128)},'sectionView':{'interaction':_0x1eb601(0x128),'colorCodingTiedToPrice':![],'nameUsesSectionColor':!![]},'rowsOpacityAlpha':0.35},0.02:{'scale':0.02,'sizes':{'seatSizePx':0.48,'rowNumberSizePx':0.28,'rowWidthPx':0.6,'sectionNameSizePx':2.56,'sectionBorderThicknessPx':0.24,'sectionInnerPaddingPx':0.8,'aisleWidthBetweenSectionsPx':0.48,'distanceBetweenTiersPx':0.96},'general':{'showSectorAisles':![],'showSectionEntrances':!![],'sectionNameInBackground':!![]},'seatView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x1eb601(0x128)},'rowView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x1eb601(0x128)},'sectionView':{'interaction':_0x1eb601(0x128),'colorCodingTiedToPrice':![],'nameUsesSectionColor':!![]},'rowsOpacityAlpha':0.35},0.01:{'scale':0.01,'sizes':{'seatSizePx':0.24,'rowNumberSizePx':0.14,'rowWidthPx':0.3,'sectionNameSizePx':1.28,'sectionBorderThicknessPx':0.12,'sectionInnerPaddingPx':0.4,'aisleWidthBetweenSectionsPx':0.24,'distanceBetweenTiersPx':0.48},'general':{'showSectorAisles':![],'showSectionEntrances':!![],'sectionNameInBackground':!![]},'seatView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x1eb601(0x128)},'rowView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':'section'},'sectionView':{'interaction':_0x1eb601(0x128),'colorCodingTiedToPrice':![],'nameUsesSectionColor':!![]},'rowsOpacityAlpha':0.35}},AVAILABLE_SCALES=Object['keys'](SCALE_PARAMETERS)['map'](_0x56ed14=>Number(_0x56ed14))['sort']((_0x31e525,_0x3595ce)=>_0x31e525-_0x3595ce);function getScaleParameters(_0x301410){return SCALE_PARAMETERS[_0x301410];}var RowsRenderer=class{constructor(_0x526547,_0x39f5b2,_0x2a7a31,_0x2d92a6){const _0x3c9383=_0x1eb601;this[_0x3c9383(0x252)]=null,this[_0x3c9383(0x130)]=-0x1,this[_0x3c9383(0x1fc)]=null,this[_0x3c9383(0x429)]=null,this[_0x3c9383(0x224)]=null,this[_0x3c9383(0x2c3)]=null,this['rows_enable3DView']=null,this['rows_rotationZ']=null,this[_0x3c9383(0xf0)]=null,this[_0x3c9383(0x548)]=null,this['rows_color']=null,this['rowsBuffer']=null,this[_0x3c9383(0x540)]=[],this[_0x3c9383(0x2ed)]=0xf,this['rowsColorRgba']=[0x9/0xff,0x58/0xff,0xd9/0xff,0.18],this[_0x3c9383(0x2a4)]=null,this[_0x3c9383(0x56a)]=-0x1,this[_0x3c9383(0x4c7)]=-0x1,this[_0x3c9383(0x494)]=!![],this[_0x3c9383(0xf2)]=_0x526547,this[_0x3c9383(0x327)]=_0x39f5b2,this[_0x3c9383(0x29c)]=_0x2a7a31,this[_0x3c9383(0x38d)]=_0x2d92a6,this[_0x3c9383(0xf6)]();}[_0x1eb601(0x4e6)](_0x4e4cf6,_0x428710){const _0x5e7aba=_0x1eb601;if(!this[_0x5e7aba(0x252)])return;this[_0x5e7aba(0x494)]=this[_0x5e7aba(0x57b)](_0x4e4cf6);if(!this[_0x5e7aba(0x494)])return;const _0x21b785=this[_0x5e7aba(0x369)](_0x4e4cf6);typeof _0x21b785==='number'&&!Number['isNaN'](_0x21b785)&&(this['rowsStrokeWidthPx']=_0x21b785);const _0x4f61bb=this['getLockedSeatsSignature']();(this[_0x5e7aba(0x2a4)]!==_0x4e4cf6||this['rowsPolylinesVersionBuilt']!==(this[_0x5e7aba(0x327)][_0x5e7aba(0x389)]||0x0)||this[_0x5e7aba(0x4c7)]!==_0x4f61bb)&&(this['buildRowsGeometry'](_0x4e4cf6),this[_0x5e7aba(0x2a4)]=_0x4e4cf6,this['rowsPolylinesVersionBuilt']=this[_0x5e7aba(0x327)][_0x5e7aba(0x389)]||0x0,this[_0x5e7aba(0x4c7)]=_0x4f61bb);if(!this[_0x5e7aba(0x192)]||this['rowsVertices'][_0x5e7aba(0x204)]===0x0)return;this[_0x5e7aba(0xf2)][_0x5e7aba(0x47b)](this[_0x5e7aba(0x252)]),this['ctx'][_0x5e7aba(0xf1)](this[_0x5e7aba(0xf2)][_0x5e7aba(0x54e)],this[_0x5e7aba(0x192)]),this[_0x5e7aba(0xf2)][_0x5e7aba(0x509)](this[_0x5e7aba(0xf2)][_0x5e7aba(0x54e)],new Float32Array(this[_0x5e7aba(0x540)]),this['ctx'][_0x5e7aba(0x574)]),this[_0x5e7aba(0xf2)][_0x5e7aba(0x133)](this[_0x5e7aba(0x130)]),this[_0x5e7aba(0xf2)][_0x5e7aba(0x205)](this[_0x5e7aba(0x130)],0x2,this[_0x5e7aba(0xf2)][_0x5e7aba(0x24b)],![],0x0,0x0),this[_0x5e7aba(0xf2)][_0x5e7aba(0x425)](this[_0x5e7aba(0x224)],_0x4e4cf6),this[_0x5e7aba(0xf2)][_0x5e7aba(0x4b5)](this[_0x5e7aba(0x2c3)],_0x428710['x'],_0x428710['y']),this[_0x5e7aba(0xf2)]['uniform1f'](this[_0x5e7aba(0x1fc)],this[_0x5e7aba(0x29c)]()),this[_0x5e7aba(0xf2)][_0x5e7aba(0x425)](this[_0x5e7aba(0x429)],this[_0x5e7aba(0x38d)]()),this[_0x5e7aba(0xf2)][_0x5e7aba(0x424)](this['rows_enable3DView'],this[_0x5e7aba(0x327)]['enable3DView']?0x1:0x0),this[_0x5e7aba(0xf2)]['uniform1f'](this[_0x5e7aba(0x3a2)],this[_0x5e7aba(0x327)][_0x5e7aba(0x5a3)]),this['ctx']['uniform1f'](this[_0x5e7aba(0xf0)],this[_0x5e7aba(0x327)][_0x5e7aba(0x226)]),this['ctx']['uniform1f'](this[_0x5e7aba(0x548)],this[_0x5e7aba(0x327)][_0x5e7aba(0x280)]);const _0x272a33=this[_0x5e7aba(0x2ac)](_0x4e4cf6);this[_0x5e7aba(0xf2)][_0x5e7aba(0x502)](this[_0x5e7aba(0x3ff)],this[_0x5e7aba(0x55d)][0x0],this['rowsColorRgba'][0x1],this[_0x5e7aba(0x55d)][0x2],_0x272a33),this[_0x5e7aba(0x2b6)](),this['ctx'][_0x5e7aba(0x209)](this[_0x5e7aba(0xf2)]['TRIANGLES'],0x0,this[_0x5e7aba(0x540)][_0x5e7aba(0x204)]/0x2);}[_0x1eb601(0x413)](_0x399f15){const _0xdec41d=_0x1eb601;if(!AVAILABLE_SCALES||AVAILABLE_SCALES['length']===0x0)return null;let _0x1ec893=AVAILABLE_SCALES[0x0],_0x4a1a7e=Math[_0xdec41d(0x182)](_0x399f15-_0x1ec893);for(let _0x153405=0x1;_0x153405<AVAILABLE_SCALES[_0xdec41d(0x204)];_0x153405++){const _0x196128=AVAILABLE_SCALES[_0x153405],_0x2db8a7=Math[_0xdec41d(0x182)](_0x399f15-_0x196128);_0x2db8a7<_0x4a1a7e&&(_0x1ec893=_0x196128,_0x4a1a7e=_0x2db8a7);}return _0x1ec893;}[_0x1eb601(0x57b)](_0x363d54){const _0x49c71c=_0x1eb601;var _0x527523;if(_0x363d54<0.25)return!![];const _0x208e46=this['getNearestDocumentedScale'](_0x363d54);if(_0x208e46==null)return!![];const _0x28638e=getScaleParameters(_0x208e46);return(_0x527523=_0x28638e==null?void 0x0:_0x28638e[_0x49c71c(0x441)][_0x49c71c(0x550)])!=null?_0x527523:!![];}[_0x1eb601(0x369)](_0x33ad5b){const _0x340c4e=_0x1eb601;var _0x14250d;const _0x6c2bc5=this[_0x340c4e(0x413)](_0x33ad5b);if(_0x6c2bc5==null)return null;const _0x506d16=getScaleParameters(_0x6c2bc5);return(_0x14250d=_0x506d16==null?void 0x0:_0x506d16[_0x340c4e(0x269)]['rowWidthPx'])!=null?_0x14250d:null;}[_0x1eb601(0x2ac)](_0x1b2b6c){const _0x3bbea6=_0x1eb601;if(_0x1b2b6c<0.25)return 0x1;const _0x5c754d=0.25,_0x1d503d=0x1,_0x1618e1=Math[_0x3bbea6(0x516)](_0x5c754d,Math['min'](_0x1d503d,_0x1b2b6c)),_0x3d00a4=(_0x1618e1-_0x5c754d)/(_0x1d503d-_0x5c754d),_0xa86f91=0x1,_0x2fefd5=0.4,_0x4a82e9=_0xa86f91+(_0x2fefd5-_0xa86f91)*_0x3d00a4;return Math[_0x3bbea6(0x516)](0x0,Math['min'](0x1,_0x4a82e9));}[_0x1eb601(0xf6)](){const _0x77f355=_0x1eb601,_0x3feafb=this[_0x77f355(0x208)](this[_0x77f355(0xf2)][_0x77f355(0x2cc)],Rows_default),_0x18912e=this[_0x77f355(0x208)](this['ctx'][_0x77f355(0x572)],Rows_default2);this[_0x77f355(0x252)]=this[_0x77f355(0x370)](_0x3feafb,_0x18912e),this['rows_a_position']=this['ctx'][_0x77f355(0x2a9)](this[_0x77f355(0x252)],_0x77f355(0x3f1)),this[_0x77f355(0x1fc)]=this['ctx'][_0x77f355(0x47a)](this[_0x77f355(0x252)],_0x77f355(0x25b)),this[_0x77f355(0x429)]=this[_0x77f355(0xf2)][_0x77f355(0x47a)](this[_0x77f355(0x252)],_0x77f355(0x32e)),this[_0x77f355(0x224)]=this[_0x77f355(0xf2)][_0x77f355(0x47a)](this[_0x77f355(0x252)],'scale'),this['rows_translate']=this[_0x77f355(0xf2)]['getUniformLocation'](this[_0x77f355(0x252)],_0x77f355(0x5b1)),this[_0x77f355(0x4c9)]=this['ctx']['getUniformLocation'](this[_0x77f355(0x252)],_0x77f355(0xbe)),this[_0x77f355(0x3a2)]=this['ctx']['getUniformLocation'](this[_0x77f355(0x252)],_0x77f355(0x41d)),this['rows_perspectiveZ']=this[_0x77f355(0xf2)][_0x77f355(0x47a)](this[_0x77f355(0x252)],'u_perspectiveZ'),this[_0x77f355(0x548)]=this['ctx'][_0x77f355(0x47a)](this[_0x77f355(0x252)],_0x77f355(0x3dc)),this[_0x77f355(0x3ff)]=this[_0x77f355(0xf2)][_0x77f355(0x47a)](this[_0x77f355(0x252)],_0x77f355(0x7e)),this[_0x77f355(0x192)]=this[_0x77f355(0xf2)]['createBuffer']();}[_0x1eb601(0x1c5)](_0x45b11d){const _0x4f4d64=_0x1eb601;var _0x55faa8,_0x23bf23,_0x3f833b,_0x7ebee0,_0x27ffcd,_0x43aeb6,_0x95f3e2,_0x1e5721,_0x817801,_0x8fdc84,_0x588ad6,_0x1cf1c9;this[_0x4f4d64(0x540)]=[];const _0x48aae2=(_0x19275e,_0x24bdd6,_0x151985,_0x4245fe,_0x214e7a)=>{const _0x5c3acb=_0x4f4d64,_0x263419=_0x151985-_0x19275e,_0x1a5579=_0x4245fe-_0x24bdd6,_0x104821=Math[_0x5c3acb(0x290)](_0x263419*_0x263419+_0x1a5579*_0x1a5579);if(_0x104821===0x0)return;const _0x58ed51=-_0x1a5579/_0x104821,_0xb09ea4=_0x263419/_0x104821,_0x251a8e=_0x58ed51*_0x214e7a,_0x146c47=_0xb09ea4*_0x214e7a;this[_0x5c3acb(0x540)][_0x5c3acb(0x116)](_0x19275e+_0x251a8e,_0x24bdd6+_0x146c47,_0x151985+_0x251a8e,_0x4245fe+_0x146c47,_0x151985-_0x251a8e,_0x4245fe-_0x146c47,_0x19275e+_0x251a8e,_0x24bdd6+_0x146c47,_0x151985-_0x251a8e,_0x4245fe-_0x146c47,_0x19275e-_0x251a8e,_0x24bdd6-_0x146c47);},_0x24501e=(_0x4f748e,_0x1319ed,_0x498c2d,_0x106624,_0x2b42bc,_0x41802b)=>{const _0xb0b995=_0x4f4d64,_0x2009e2=Math[_0xb0b995(0x290)](_0x498c2d*_0x498c2d+_0x106624*_0x106624)||0x1,_0x4c48f0=_0x498c2d/_0x2009e2,_0x244587=_0x106624/_0x2009e2,_0x228203=Math['atan2'](_0x244587,_0x4c48f0)+(_0x41802b?Math['PI']:0x0),_0xaf3a83=_0x228203-Math['PI']/0x2,_0x370d75=_0x228203+Math['PI']/0x2,_0x2e8b78=Math[_0xb0b995(0x516)](0x8,Math['min'](0x18,Math[_0xb0b995(0x3cf)](_0x2b42bc))),_0x33462c=(_0x370d75-_0xaf3a83)/_0x2e8b78;for(let _0xd8c9c2=0x0;_0xd8c9c2<_0x2e8b78;_0xd8c9c2++){const _0x213150=_0xaf3a83+_0xd8c9c2*_0x33462c,_0x92fea8=_0xaf3a83+(_0xd8c9c2+0x1)*_0x33462c,_0x47159e=_0x4f748e+Math['cos'](_0x213150)*_0x2b42bc,_0xc9fa7c=_0x1319ed+Math[_0xb0b995(0x510)](_0x213150)*_0x2b42bc,_0x4d2d56=_0x4f748e+Math[_0xb0b995(0x8f)](_0x92fea8)*_0x2b42bc,_0x33b593=_0x1319ed+Math[_0xb0b995(0x510)](_0x92fea8)*_0x2b42bc;this[_0xb0b995(0x540)][_0xb0b995(0x116)](_0x4f748e,_0x1319ed,_0x47159e,_0xc9fa7c,_0x4d2d56,_0x33b593);}},_0x44b580=(_0x27ffcd=(_0x7ebee0=(_0x3f833b=(_0x23bf23=(_0x55faa8=this['appContext']['settings'])==null?void 0x0:_0x55faa8['theme'])==null?void 0x0:_0x23bf23['seatStyles'])==null?void 0x0:_0x3f833b[_0x4f4d64(0x53d)])==null?void 0x0:_0x7ebee0[_0x4f4d64(0x1cc)])!=null?_0x27ffcd:0x6,_0x270520=Math[_0x4f4d64(0x516)](_0x44b580/0x2,this[_0x4f4d64(0x2ed)]),_0x537916=(_0x8fdc84=(_0x817801=(_0x43aeb6=this[_0x4f4d64(0x327)][_0x4f4d64(0x11b)])==null?void 0x0:_0x43aeb6[_0x4f4d64(0x4cc)])!=null?_0x817801:(_0x1e5721=(_0x95f3e2=this[_0x4f4d64(0x327)]['settings'])==null?void 0x0:_0x95f3e2['theme'])==null?void 0x0:_0x1e5721[_0x4f4d64(0x589)])!=null?_0x8fdc84:0xe,_0x4f1730=(_0x1cf1c9=(_0x588ad6=this[_0x4f4d64(0x327)][_0x4f4d64(0x11b)])==null?void 0x0:_0x588ad6[_0x4f4d64(0x587)])!=null?_0x1cf1c9:0x2,_0x47d644=Math[_0x4f4d64(0x516)](_0x45b11d,0.001),_0x349706=_0x537916*0x2*_0x47d644,_0x5505cc=Math['max'](0x0,(_0x349706-_0x4f1730)/0x2);if(this[_0x4f4d64(0x327)][_0x4f4d64(0x2f8)]&&this[_0x4f4d64(0x327)]['rowsPolylines'][_0x4f4d64(0x204)]){const _0x363fdf=_0x537916,_0x2044bb=(_0x27a237,_0x4677df,_0x270e28,_0x3caae3)=>{const _0x1ac9e8=_0x4f4d64;var _0x3bb092;const _0xb8f1a3=(_0x27a237+_0x270e28)/0x2,_0x17090b=(_0x4677df+_0x3caae3)/0x2,_0xcc80=((_0x3bb092=this[_0x1ac9e8(0x327)][_0x1ac9e8(0x195)])==null?void 0x0:_0x3bb092[_0x1ac9e8(0x301)](_0xb8f1a3,_0x17090b,_0x363fdf))||[];for(let _0x578ce3=0x0;_0x578ce3<_0xcc80[_0x1ac9e8(0x204)];_0x578ce3++){const _0x30a555=this['appContext']['seats'][_0xcc80[_0x578ce3]];if(this[_0x1ac9e8(0x312)](_0x30a555))return!![];}return![];};this[_0x4f4d64(0x327)][_0x4f4d64(0x2f8)][_0x4f4d64(0x4ff)](_0x142fcf=>{const _0x959b74=_0x4f4d64;var _0x13896c;if(!_0x142fcf['points']||_0x142fcf[_0x959b74(0x4e1)][_0x959b74(0x204)]<0x2)return;const _0x133f24=(_0x13896c=_0x142fcf[_0x959b74(0x292)])!=null?_0x13896c:this[_0x959b74(0x2ed)],_0x10b1c6=Math[_0x959b74(0x147)](_0x133f24,_0x270520,_0x5505cc),_0x278610=_0x10b1c6*0.15,_0x136b18=Math['max'](_0x45b11d,0.001),_0x3f51d3=_0x10b1c6/_0x136b18,_0x2a0b47=_0x278610/_0x136b18;for(let _0xedda9f=0x0;_0xedda9f<_0x142fcf['points'][_0x959b74(0x204)]-0x1;_0xedda9f++){const _0x4be894=_0x142fcf['points'][_0xedda9f],_0x4b4d76=_0x142fcf[_0x959b74(0x4e1)][_0xedda9f+0x1],_0x373299=_0x2044bb(_0x4be894['x'],_0x4be894['y'],_0x4b4d76['x'],_0x4b4d76['y']);_0x48aae2(_0x4be894['x'],_0x4be894['y'],_0x4b4d76['x'],_0x4b4d76['y'],_0x373299?_0x2a0b47:_0x3f51d3);}const _0x119ee2=_0x142fcf['points'][0x0],_0x2f6449=_0x142fcf['points'][0x1],_0xccdbf1=_0x142fcf[_0x959b74(0x4e1)][_0x142fcf[_0x959b74(0x4e1)][_0x959b74(0x204)]-0x2],_0x5e4065=_0x142fcf['points'][_0x142fcf[_0x959b74(0x4e1)]['length']-0x1],_0x2c83b5=_0x2044bb(_0x119ee2['x'],_0x119ee2['y'],_0x2f6449['x'],_0x2f6449['y']),_0x3aab17=_0x2044bb(_0xccdbf1['x'],_0xccdbf1['y'],_0x5e4065['x'],_0x5e4065['y']);_0x24501e(_0x119ee2['x'],_0x119ee2['y'],_0x2f6449['x']-_0x119ee2['x'],_0x2f6449['y']-_0x119ee2['y'],_0x2c83b5?_0x2a0b47:_0x3f51d3,!![]),_0x24501e(_0x5e4065['x'],_0x5e4065['y'],_0x5e4065['x']-_0xccdbf1['x'],_0x5e4065['y']-_0xccdbf1['y'],_0x3aab17?_0x2a0b47:_0x3f51d3,![]);});}else{if(this[_0x4f4d64(0x327)][_0x4f4d64(0x2c4)]){const _0x115e95=Math[_0x4f4d64(0x147)](this[_0x4f4d64(0x2ed)],_0x270520,_0x5505cc),_0x46a3e7=_0x115e95*0.15,_0x2f8938=Math[_0x4f4d64(0x516)](_0x45b11d,0.001),_0x21917c=_0x115e95/_0x2f8938,_0xa245e0=_0x46a3e7/_0x2f8938,_0x5a0378=this[_0x4f4d64(0x327)]['seatsByRowId'];for(const _0x15d0aa in _0x5a0378){const _0x596805=_0x5a0378[_0x15d0aa];if(!_0x596805||_0x596805['length']<0x2)continue;const _0x28b820=_0x596805[_0x4f4d64(0x538)]()[_0x4f4d64(0x500)]((_0x1bf59d,_0x5a9bd3)=>_0x1bf59d['x']-_0x5a9bd3['x']);for(let _0x33aac5=0x0;_0x33aac5<_0x28b820[_0x4f4d64(0x204)]-0x1;_0x33aac5++){const _0xc0fba2=_0x28b820[_0x33aac5],_0x4cdb6e=_0x28b820[_0x33aac5+0x1],_0x28e5b0=this['isSeatUnavailable'](_0xc0fba2)||this[_0x4f4d64(0x312)](_0x4cdb6e),_0x12173f=_0x28e5b0?_0xa245e0:_0x21917c;_0x48aae2(_0xc0fba2['x'],_0xc0fba2['y'],_0x4cdb6e['x'],_0x4cdb6e['y'],_0x12173f);}const _0x2dd13d=_0x28b820[0x0],_0x5c4616=_0x28b820[0x1],_0x32b757=_0x28b820[_0x28b820[_0x4f4d64(0x204)]-0x2],_0x4c761f=_0x28b820[_0x28b820['length']-0x1],_0x22db53=this[_0x4f4d64(0x312)](_0x2dd13d)||this['isSeatUnavailable'](_0x5c4616),_0xaef2fe=this[_0x4f4d64(0x312)](_0x4c761f)||this[_0x4f4d64(0x312)](_0x32b757);_0x24501e(_0x2dd13d['x'],_0x2dd13d['y'],_0x5c4616['x']-_0x2dd13d['x'],_0x5c4616['y']-_0x2dd13d['y'],_0x22db53?_0xa245e0:_0x21917c,!![]),_0x24501e(_0x4c761f['x'],_0x4c761f['y'],_0x4c761f['x']-_0x32b757['x'],_0x4c761f['y']-_0x32b757['y'],_0xaef2fe?_0xa245e0:_0x21917c,![]);}}}if(!this[_0x4f4d64(0x192)])this[_0x4f4d64(0x192)]=this[_0x4f4d64(0xf2)][_0x4f4d64(0x4cf)]();}[_0x1eb601(0x208)](_0x186130,_0x3355bb){const _0x3ed655=_0x1eb601,_0x263cbf=this[_0x3ed655(0xf2)][_0x3ed655(0x208)](_0x186130);return this[_0x3ed655(0xf2)][_0x3ed655(0x114)](_0x263cbf,_0x3355bb),this[_0x3ed655(0xf2)]['compileShader'](_0x263cbf),_0x263cbf;}[_0x1eb601(0x370)](_0x5d3c5c,_0x456237){const _0x42c979=_0x1eb601,_0x13092c=this[_0x42c979(0xf2)]['createProgram']();return this['ctx'][_0x42c979(0x37a)](_0x13092c,_0x5d3c5c),this['ctx'][_0x42c979(0x37a)](_0x13092c,_0x456237),this['ctx'][_0x42c979(0x22e)](_0x13092c),_0x13092c;}[_0x1eb601(0x2b6)](){const _0xb14ef0=_0x1eb601;this[_0xb14ef0(0xf2)][_0xb14ef0(0x40b)](this[_0xb14ef0(0xf2)]['BLEND']),this[_0xb14ef0(0xf2)]['blendFunc'](this[_0xb14ef0(0xf2)][_0xb14ef0(0x543)],this[_0xb14ef0(0xf2)][_0xb14ef0(0x346)]);}['isSeatUnavailable'](_0x11ae5e){const _0x4de24f=_0x1eb601;return!!((_0x11ae5e==null?void 0x0:_0x11ae5e['locked'])||(_0x11ae5e==null?void 0x0:_0x11ae5e['state'])===_0x4de24f(0x4eb)||!(_0x11ae5e==null?void 0x0:_0x11ae5e['priceId']));}['getLockedSeatsSignature'](){const _0x47b150=_0x1eb601,_0x484bb3=this['appContext']['seats']||[];let _0x353579=0x811c9dc5>>>0x0;for(let _0xa4d6fa=0x0;_0xa4d6fa<_0x484bb3[_0x47b150(0x204)];_0xa4d6fa++){const _0x186a39=_0x484bb3[_0xa4d6fa];if(!this['isSeatUnavailable'](_0x186a39))continue;let _0x8ccfab=_0x186a39['id']>>>0x0;_0x353579^=_0x8ccfab&0xff,_0x353579=Math[_0x47b150(0x2e9)](_0x353579,0x1000193),_0x353579^=_0x8ccfab>>>0x8&0xff,_0x353579=Math[_0x47b150(0x2e9)](_0x353579,0x1000193),_0x353579^=_0x8ccfab>>>0x10&0xff,_0x353579=Math[_0x47b150(0x2e9)](_0x353579,0x1000193),_0x353579^=_0x8ccfab>>>0x18&0xff,_0x353579=Math[_0x47b150(0x2e9)](_0x353579,0x1000193);}return _0x353579>>>0x0;}},OverlayRenderer=class{constructor(_0xef0ed2,_0x467d48,_0x4f2361,_0x2727fc){const _0x1d7e06=_0x1eb601;this['program']=null,this[_0x1d7e06(0x3f1)]=-0x1,this[_0x1d7e06(0x474)]=-0x1,this[_0x1d7e06(0x27a)]=-0x1,this[_0x1d7e06(0x1a5)]=-0x1,this['a_loading']=-0x1,this[_0x1d7e06(0x9b)]=-0x1,this[_0x1d7e06(0x3aa)]=-0x1,this['a_selectedStart']=-0x1,this[_0x1d7e06(0x51a)]=-0x1,this[_0x1d7e06(0x2cd)]=null,this[_0x1d7e06(0x18c)]=null,this[_0x1d7e06(0x33a)]=null,this[_0x1d7e06(0x462)]=null,this[_0x1d7e06(0xbe)]=null,this[_0x1d7e06(0x41d)]=null,this[_0x1d7e06(0x3e3)]=null,this[_0x1d7e06(0x3dc)]=null,this[_0x1d7e06(0x36d)]=null,this[_0x1d7e06(0x313)]=null,this[_0x1d7e06(0x7b)]=null,this[_0x1d7e06(0x4e7)]=null,this['u_markedUV']=null,this[_0x1d7e06(0x2a3)]=null,this['u_loadingColor']=null,this[_0x1d7e06(0x1e5)]=null,this[_0x1d7e06(0x12d)]=null,this[_0x1d7e06(0x276)]=null,this[_0x1d7e06(0x19a)]=null,this[_0x1d7e06(0x90)]=null,this[_0x1d7e06(0x15e)]=new Map(),this[_0x1d7e06(0xf2)]=_0xef0ed2,this['appContext']=_0x467d48,this['getStageWidthPx']=_0x4f2361,this[_0x1d7e06(0x38d)]=_0x2727fc,this[_0x1d7e06(0xf6)]();}[_0x1eb601(0x4a3)](_0x3c2936,_0x470866){const _0x24cf76=_0x1eb601;this[_0x24cf76(0x90)]=_0x3c2936,this[_0x24cf76(0x15e)]=_0x470866;}[_0x1eb601(0x4e6)](_0x323711,_0x3cedef){const _0x4bc495=_0x1eb601;var _0x34237a,_0x36fe13,_0x6ef422,_0x389732,_0xd5edf6,_0x4b5271,_0xb65050,_0x50c2c4,_0x47dba1,_0x3e8e28,_0x1cfa34,_0x3b2a48,_0x2e8c97,_0x3145da,_0x4a6f16,_0xb09084,_0x1c99f0,_0x591004,_0x285b87,_0x5c3db7;if(!this[_0x4bc495(0x79)])return;const _0x431157=[],_0x22341b=this[_0x4bc495(0x327)][_0x4bc495(0x11b)][_0x4bc495(0x5c2)],_0x3725c8=(_0x36fe13=(_0x34237a=_0x22341b==null?void 0x0:_0x22341b[_0x4bc495(0x42c)])==null?void 0x0:_0x34237a[_0x4bc495(0x448)])==null?void 0x0:_0x36fe13[_0x4bc495(0x1cc)],_0x7b8270=(_0x389732=(_0x6ef422=_0x22341b==null?void 0x0:_0x22341b[_0x4bc495(0x42c)])==null?void 0x0:_0x6ef422['hovered'])==null?void 0x0:_0x389732['size'],_0x6f1e1b=(_0x4b5271=(_0xd5edf6=_0x22341b==null?void 0x0:_0x22341b[_0x4bc495(0x42c)])==null?void 0x0:_0xd5edf6['loading'])==null?void 0x0:_0x4b5271[_0x4bc495(0x1cc)],_0x52fa69=(_0x50c2c4=(_0xb65050=_0x22341b==null?void 0x0:_0x22341b[_0x4bc495(0x42c)])==null?void 0x0:_0xb65050[_0x4bc495(0x1ca)])==null?void 0x0:_0x50c2c4[_0x4bc495(0x1cc)],_0x5e08b4=Object[_0x4bc495(0x5ad)](this[_0x4bc495(0x327)]['pricesById']||{}),_0x7aedc4={};for(let _0x3f19fb=0x0;_0x3f19fb<_0x5e08b4[_0x4bc495(0x204)];_0x3f19fb++){const _0x50fbaa=Number(_0x5e08b4[_0x3f19fb][0x0]);_0x7aedc4[_0x50fbaa]=_0x3f19fb;}const _0x3dde74=new Set(this['appContext']['getCartSeats']&&this[_0x4bc495(0x327)][_0x4bc495(0x28e)]()[_0x4bc495(0x2c8)](_0x589836=>_0x589836['id'])||[]),_0x941aa0=new Set();if(this['appContext'][_0x4bc495(0x342)])(((_0x47dba1=this[_0x4bc495(0x327)][_0x4bc495(0x2c4)])==null?void 0x0:_0x47dba1[this[_0x4bc495(0x327)][_0x4bc495(0x342)]['id']])||[])[_0x4bc495(0x4ff)](_0x4b2aef=>_0x941aa0[_0x4bc495(0x1f5)](_0x4b2aef['id']));else this['appContext']['hoveredSeat']&&_0x941aa0[_0x4bc495(0x1f5)](this['appContext'][_0x4bc495(0x3f2)]['id']);const _0x590a71=performance['now']()/0x3e8,_0x39fc47=0.3;for(let _0x38d415=0x0;_0x38d415<this[_0x4bc495(0x327)][_0x4bc495(0x272)][_0x4bc495(0x204)];_0x38d415++){const _0x4d9ef3=this['appContext'][_0x4bc495(0x272)][_0x38d415],_0x20b53c=_0x3dde74[_0x4bc495(0x52e)](_0x4d9ef3['id'])?0x1:0x0,_0x5310b5=_0x941aa0[_0x4bc495(0x52e)](_0x4d9ef3['id'])?0x1:0x0,_0x94eef4=_0x4d9ef3[_0x4bc495(0x52d)]===_0x4bc495(0x161)?0x1:0x0,_0x41ed9b=_0x4d9ef3[_0x4bc495(0x52d)]==='error'?0x1:0x0,_0x44eeb1=(_0x3e8e28=this[_0x4bc495(0x327)][_0x4bc495(0x2d0)])==null?void 0x0:_0x3e8e28[_0x4d9ef3['id']],_0x1e9bc6=!_0x20b53c&&!_0x94eef4&&_0x44eeb1?_0x44eeb1/0x3e8:-0x1,_0xd56e8f=_0x1e9bc6>=0x0&&_0x590a71-_0x1e9bc6<_0x39fc47;if(_0x20b53c||_0x5310b5||_0x94eef4||_0x41ed9b||_0xd56e8f){const _0x1f5887=_0x20b53c?_0x3725c8!=null?_0x3725c8:0x6:_0x5310b5?_0x7b8270!=null?_0x7b8270:0x6:_0x94eef4?_0x6f1e1b!=null?_0x6f1e1b:0x6:(_0x1cfa34=_0x52fa69!=null?_0x52fa69:_0x3725c8)!=null?_0x1cfa34:0x6,_0x196584=(_0x3b2a48=this['appContext']['_selectedAt'])==null?void 0x0:_0x3b2a48[_0x4d9ef3['id']],_0x28816a=_0x196584?_0x196584/0x3e8:-0x1,_0x36643b=_0x4d9ef3[_0x4bc495(0x8e)]!==void 0x0&&_0x4d9ef3[_0x4bc495(0x8e)]!==null?(_0x2e8c97=_0x7aedc4[Number(_0x4d9ef3['priceId'])])!=null?_0x2e8c97:-0x1:-0x1;_0x431157[_0x4bc495(0x116)](_0x4d9ef3['x'],_0x4d9ef3['y'],_0x1f5887,_0x20b53c,_0x5310b5,_0x94eef4,_0x41ed9b,_0x36643b,_0x28816a,_0x1e9bc6);}}if(_0x431157[_0x4bc495(0x204)]>0x0){if(!this[_0x4bc495(0x19a)])this[_0x4bc495(0x19a)]=this['ctx']['createBuffer']();this[_0x4bc495(0xf2)][_0x4bc495(0xf1)](this['ctx']['ARRAY_BUFFER'],this[_0x4bc495(0x19a)]),this['ctx']['bufferData'](this[_0x4bc495(0xf2)]['ARRAY_BUFFER'],new Float32Array(_0x431157),this[_0x4bc495(0xf2)][_0x4bc495(0x574)]),this['ctx'][_0x4bc495(0x47b)](this[_0x4bc495(0x79)]);const _0x1aa2a3=0xa,_0x280b46=_0x1aa2a3*0x4;this[_0x4bc495(0xf2)][_0x4bc495(0x133)](this[_0x4bc495(0x3f1)]),this[_0x4bc495(0xf2)][_0x4bc495(0x205)](this[_0x4bc495(0x3f1)],0x2,this[_0x4bc495(0xf2)][_0x4bc495(0x24b)],![],_0x280b46,0x0),this['ctx'][_0x4bc495(0x133)](this[_0x4bc495(0x474)]),this['ctx'][_0x4bc495(0x205)](this[_0x4bc495(0x474)],0x1,this['ctx'][_0x4bc495(0x24b)],![],_0x280b46,0x2*0x4),this[_0x4bc495(0xf2)][_0x4bc495(0x133)](this['a_selected']),this[_0x4bc495(0xf2)][_0x4bc495(0x205)](this[_0x4bc495(0x27a)],0x1,this[_0x4bc495(0xf2)][_0x4bc495(0x24b)],![],_0x280b46,0x3*0x4),this[_0x4bc495(0xf2)][_0x4bc495(0x133)](this['a_hovered']),this[_0x4bc495(0xf2)][_0x4bc495(0x205)](this['a_hovered'],0x1,this[_0x4bc495(0xf2)]['FLOAT'],![],_0x280b46,0x4*0x4),this[_0x4bc495(0xf2)][_0x4bc495(0x133)](this['a_loading']),this[_0x4bc495(0xf2)][_0x4bc495(0x205)](this[_0x4bc495(0x537)],0x1,this[_0x4bc495(0xf2)][_0x4bc495(0x24b)],![],_0x280b46,0x5*0x4),this[_0x4bc495(0xf2)][_0x4bc495(0x133)](this['a_error']),this[_0x4bc495(0xf2)][_0x4bc495(0x205)](this[_0x4bc495(0x9b)],0x1,this[_0x4bc495(0xf2)][_0x4bc495(0x24b)],![],_0x280b46,0x6*0x4),this[_0x4bc495(0xf2)]['enableVertexAttribArray'](this[_0x4bc495(0x3aa)]),this[_0x4bc495(0xf2)]['vertexAttribPointer'](this[_0x4bc495(0x3aa)],0x1,this[_0x4bc495(0xf2)]['FLOAT'],![],_0x280b46,0x7*0x4),this[_0x4bc495(0xf2)][_0x4bc495(0x133)](this[_0x4bc495(0x13d)]),this[_0x4bc495(0xf2)][_0x4bc495(0x205)](this[_0x4bc495(0x13d)],0x1,this[_0x4bc495(0xf2)]['FLOAT'],![],_0x280b46,0x8*0x4),this['ctx'][_0x4bc495(0x133)](this[_0x4bc495(0x51a)]),this['ctx'][_0x4bc495(0x205)](this[_0x4bc495(0x51a)],0x1,this[_0x4bc495(0xf2)][_0x4bc495(0x24b)],![],_0x280b46,0x9*0x4),this['ctx']['uniform1f'](this[_0x4bc495(0x33a)],_0x323711),this[_0x4bc495(0xf2)][_0x4bc495(0x4b5)](this[_0x4bc495(0x462)],_0x3cedef['x'],_0x3cedef['y']),this['ctx'][_0x4bc495(0x425)](this[_0x4bc495(0x2cd)],this[_0x4bc495(0x29c)]()),this[_0x4bc495(0xf2)][_0x4bc495(0x425)](this[_0x4bc495(0x18c)],this[_0x4bc495(0x38d)]()),this[_0x4bc495(0xf2)]['uniform1i'](this['u_enable3DView'],this[_0x4bc495(0x327)][_0x4bc495(0x243)]?0x1:0x0),this[_0x4bc495(0xf2)][_0x4bc495(0x425)](this[_0x4bc495(0x41d)],this['appContext'][_0x4bc495(0x5a3)]),this[_0x4bc495(0xf2)]['uniform1f'](this[_0x4bc495(0x3e3)],this[_0x4bc495(0x327)]['perspectiveZ']),this['ctx'][_0x4bc495(0x425)](this[_0x4bc495(0x3dc)],this[_0x4bc495(0x327)][_0x4bc495(0x280)]),this[_0x4bc495(0xf2)][_0x4bc495(0x425)](this[_0x4bc495(0x313)],performance[_0x4bc495(0x515)]()/0x3e8),this[_0x4bc495(0xf2)][_0x4bc495(0x425)](this['u_pulseDuration'],0.3);const _0x297fa7=0xc,_0x37e34c=performance[_0x4bc495(0x515)]()/0x3e8*_0x297fa7;if(this[_0x4bc495(0x276)])this['ctx'][_0x4bc495(0x425)](this[_0x4bc495(0x276)],_0x37e34c);const _0x1d0033=((_0x4a6f16=(_0x3145da=_0x22341b==null?void 0x0:_0x22341b[_0x4bc495(0x42c)])==null?void 0x0:_0x3145da['loading'])==null?void 0x0:_0x4a6f16['color'])||'#2196F3',_0x4daec8=_0x2960b8=>{const _0x47386b=_0x4bc495,_0x3a46e7=_0x2960b8[_0x47386b(0x3b5)]('#',''),_0x3c3f68=parseInt(_0x3a46e7[_0x47386b(0x1da)](0x0,0x2),0x10)/0xff,_0x152be0=parseInt(_0x3a46e7['substring'](0x2,0x4),0x10)/0xff,_0x578e65=parseInt(_0x3a46e7[_0x47386b(0x1da)](0x4,0x6),0x10)/0xff;return[_0x3c3f68,_0x152be0,_0x578e65];},[_0x57eca0,_0x59eaab,_0x2d74f3]=_0x4daec8(_0x1d0033);if(this['u_loadingColor'])this['ctx'][_0x4bc495(0x1b9)](this['u_loadingColor'],_0x57eca0,_0x59eaab,_0x2d74f3);const _0x102320=((_0x1c99f0=(_0xb09084=_0x22341b==null?void 0x0:_0x22341b[_0x4bc495(0x42c)])==null?void 0x0:_0xb09084[_0x4bc495(0x1ca)])==null?void 0x0:_0x1c99f0[_0x4bc495(0x4e4)])||_0x4bc495(0xde),_0x45c986=_0x3e4ed5=>{const _0x12ec22=_0x4bc495,_0x1d94b3=_0x3e4ed5['replace']('#',''),_0x2b26ee=parseInt(_0x1d94b3[_0x12ec22(0x1da)](0x0,0x2),0x10)/0xff,_0x178000=parseInt(_0x1d94b3[_0x12ec22(0x1da)](0x2,0x4),0x10)/0xff,_0x37d1ec=parseInt(_0x1d94b3[_0x12ec22(0x1da)](0x4,0x6),0x10)/0xff;return[_0x2b26ee,_0x178000,_0x37d1ec];},[_0x1cb9fe,_0x302da7,_0x342e51]=_0x45c986(_0x102320);if(this[_0x4bc495(0x12d)])this[_0x4bc495(0xf2)][_0x4bc495(0x1b9)](this[_0x4bc495(0x12d)],_0x1cb9fe,_0x302da7,_0x342e51);const _0x362c5f=(_0x591004=this['appContext']['settings'][_0x4bc495(0x5c2)])==null?void 0x0:_0x591004[_0x4bc495(0x11f)],_0x158bfe=((_0x5c3db7=(_0x285b87=_0x362c5f==null?void 0x0:_0x362c5f[_0x4bc495(0x25f)])==null?void 0x0:_0x285b87[_0x4bc495(0x48b)])==null?void 0x0:_0x5c3db7[_0x4bc495(0x4e4)])||_0x4bc495(0x26c),_0x250ca8=(_0x53f0d6,_0xbb242d)=>{const _0x5e7031=_0x4bc495,_0x5a8ac6=_0x53f0d6[_0x5e7031(0x3b5)]('#',''),_0x27f513=parseInt(_0x5a8ac6['substring'](0x0,0x2),0x10)/0xff,_0x176cf2=parseInt(_0x5a8ac6[_0x5e7031(0x1da)](0x2,0x4),0x10)/0xff,_0x5686f6=parseInt(_0x5a8ac6[_0x5e7031(0x1da)](0x4,0x6),0x10)/0xff;return[_0x27f513,_0x176cf2,_0x5686f6,_0xbb242d];},[_0x2f9f42,_0x528226,_0x329a9c,_0x416fa6]=_0x250ca8(_0x158bfe,0x1);this[_0x4bc495(0xf2)][_0x4bc495(0x502)](this[_0x4bc495(0x36d)],_0x2f9f42,_0x528226,_0x329a9c,_0x416fa6);const _0x524b48=this[_0x4bc495(0xf2)][_0x4bc495(0x47a)](this[_0x4bc495(0x79)],_0x4bc495(0x3cd));if(_0x524b48){const _0x3f295b=new Float32Array(0x20*0x3),_0xb0167b=_0x5e08b4;for(let _0x577c30=0x0;_0x577c30<Math['min'](_0xb0167b[_0x4bc495(0x204)],0x20);_0x577c30++){const _0x2515ae=_0xb0167b[_0x577c30][0x1]['color']||'',_0x32a654=(_0x2515ae||'')['replace']('#',''),_0x227f7c=(parseInt(_0x32a654[_0x4bc495(0x1da)](0x0,0x2),0x10)||0x0)/0xff,_0x483b8c=(parseInt(_0x32a654[_0x4bc495(0x1da)](0x2,0x4),0x10)||0x0)/0xff,_0xb33a83=(parseInt(_0x32a654[_0x4bc495(0x1da)](0x4,0x6),0x10)||0x0)/0xff;_0x3f295b[_0x577c30*0x3+0x0]=_0x227f7c,_0x3f295b[_0x577c30*0x3+0x1]=_0x483b8c,_0x3f295b[_0x577c30*0x3+0x2]=_0xb33a83;}this[_0x4bc495(0xf2)][_0x4bc495(0x27b)](_0x524b48,_0x3f295b);}if(this[_0x4bc495(0x90)]&&this[_0x4bc495(0x4e7)]&&this[_0x4bc495(0x295)]){this[_0x4bc495(0xf2)]['activeTexture'](this[_0x4bc495(0xf2)]['TEXTURE1']),this['ctx']['bindTexture'](this[_0x4bc495(0xf2)][_0x4bc495(0x20d)],this[_0x4bc495(0x90)]),this[_0x4bc495(0xf2)][_0x4bc495(0x424)](this['u_iconAtlas'],0x1);const _0x532d17=this['iconsUVMap'][_0x4bc495(0x558)](_0x4bc495(0x4a2));_0x532d17&&this[_0x4bc495(0xf2)][_0x4bc495(0x502)](this[_0x4bc495(0x295)],_0x532d17['x'],_0x532d17['y'],_0x532d17['width'],_0x532d17[_0x4bc495(0x3e0)]);if(this['u_loadingUV']){const _0x549f56=this[_0x4bc495(0x15e)][_0x4bc495(0x558)](_0x4bc495(0x161));_0x549f56&&this[_0x4bc495(0xf2)]['uniform4f'](this['u_loadingUV'],_0x549f56['x'],_0x549f56['y'],_0x549f56[_0x4bc495(0x55a)],_0x549f56['height']);}if(this[_0x4bc495(0x1e5)]){const _0x1665d3=this[_0x4bc495(0x15e)][_0x4bc495(0x558)](_0x4bc495(0x1ca));_0x1665d3&&this[_0x4bc495(0xf2)][_0x4bc495(0x502)](this[_0x4bc495(0x1e5)],_0x1665d3['x'],_0x1665d3['y'],_0x1665d3[_0x4bc495(0x55a)],_0x1665d3[_0x4bc495(0x3e0)]);}}this[_0x4bc495(0xf2)]['enable'](this[_0x4bc495(0xf2)]['BLEND']),this['ctx'][_0x4bc495(0x534)](this[_0x4bc495(0xf2)]['SRC_ALPHA'],this[_0x4bc495(0xf2)][_0x4bc495(0x346)]),this[_0x4bc495(0xf2)][_0x4bc495(0x209)](this[_0x4bc495(0xf2)][_0x4bc495(0x3f5)],0x0,_0x431157[_0x4bc495(0x204)]/_0x1aa2a3);}}[_0x1eb601(0xf6)](){const _0x47afe2=_0x1eb601,_0xeddd6=this[_0x47afe2(0x208)](this[_0x47afe2(0xf2)][_0x47afe2(0x2cc)],Overlay_default),_0x313caf=this[_0x47afe2(0x208)](this['ctx'][_0x47afe2(0x572)],Overlay_default2);this['program']=this[_0x47afe2(0x370)](_0xeddd6,_0x313caf),this[_0x47afe2(0x3f1)]=this[_0x47afe2(0xf2)][_0x47afe2(0x2a9)](this[_0x47afe2(0x79)],'a_position'),this[_0x47afe2(0x474)]=this['ctx']['getAttribLocation'](this[_0x47afe2(0x79)],_0x47afe2(0x474)),this[_0x47afe2(0x27a)]=this[_0x47afe2(0xf2)]['getAttribLocation'](this['program'],_0x47afe2(0x27a)),this[_0x47afe2(0x1a5)]=this[_0x47afe2(0xf2)][_0x47afe2(0x2a9)](this[_0x47afe2(0x79)],_0x47afe2(0x1a5)),this[_0x47afe2(0x537)]=this[_0x47afe2(0xf2)][_0x47afe2(0x2a9)](this[_0x47afe2(0x79)],_0x47afe2(0x537)),this['a_error']=this[_0x47afe2(0xf2)][_0x47afe2(0x2a9)](this[_0x47afe2(0x79)],_0x47afe2(0x9b)),this['a_priceColorIndex']=this[_0x47afe2(0xf2)][_0x47afe2(0x2a9)](this['program'],_0x47afe2(0x3aa)),this[_0x47afe2(0x13d)]=this['ctx']['getAttribLocation'](this[_0x47afe2(0x79)],'a_selectedStart'),this['a_deselectedStart']=this['ctx'][_0x47afe2(0x2a9)](this[_0x47afe2(0x79)],_0x47afe2(0x51a)),this[_0x47afe2(0x2cd)]=this[_0x47afe2(0xf2)]['getUniformLocation'](this[_0x47afe2(0x79)],_0x47afe2(0x25b)),this[_0x47afe2(0x18c)]=this['ctx'][_0x47afe2(0x47a)](this[_0x47afe2(0x79)],_0x47afe2(0x32e)),this[_0x47afe2(0x33a)]=this[_0x47afe2(0xf2)][_0x47afe2(0x47a)](this['program'],'scale'),this[_0x47afe2(0x462)]=this[_0x47afe2(0xf2)]['getUniformLocation'](this[_0x47afe2(0x79)],'translate'),this[_0x47afe2(0xbe)]=this[_0x47afe2(0xf2)][_0x47afe2(0x47a)](this[_0x47afe2(0x79)],_0x47afe2(0xbe)),this[_0x47afe2(0x41d)]=this['ctx']['getUniformLocation'](this['program'],_0x47afe2(0x41d)),this[_0x47afe2(0x3e3)]=this['ctx'][_0x47afe2(0x47a)](this[_0x47afe2(0x79)],_0x47afe2(0x3e3)),this[_0x47afe2(0x3dc)]=this[_0x47afe2(0xf2)]['getUniformLocation'](this['program'],'u_tiltX'),this[_0x47afe2(0x36d)]=this['ctx'][_0x47afe2(0x47a)](this['program'],_0x47afe2(0x36d)),this[_0x47afe2(0x313)]=this[_0x47afe2(0xf2)]['getUniformLocation'](this[_0x47afe2(0x79)],_0x47afe2(0x313)),this[_0x47afe2(0x7b)]=this[_0x47afe2(0xf2)][_0x47afe2(0x47a)](this[_0x47afe2(0x79)],'u_pulseDuration'),this[_0x47afe2(0x4e7)]=this[_0x47afe2(0xf2)][_0x47afe2(0x47a)](this[_0x47afe2(0x79)],_0x47afe2(0x4e7)),this['u_markedUV']=this[_0x47afe2(0xf2)]['getUniformLocation'](this['program'],_0x47afe2(0x295)),this['u_loadingUV']=this[_0x47afe2(0xf2)][_0x47afe2(0x47a)](this[_0x47afe2(0x79)],_0x47afe2(0x2a3)),this[_0x47afe2(0x15a)]=this[_0x47afe2(0xf2)][_0x47afe2(0x47a)](this[_0x47afe2(0x79)],'u_loadingColor'),this['u_errorUV']=this[_0x47afe2(0xf2)][_0x47afe2(0x47a)](this[_0x47afe2(0x79)],_0x47afe2(0x1e5)),this[_0x47afe2(0x12d)]=this[_0x47afe2(0xf2)][_0x47afe2(0x47a)](this['program'],_0x47afe2(0x12d)),this[_0x47afe2(0x276)]=this[_0x47afe2(0xf2)][_0x47afe2(0x47a)](this['program'],_0x47afe2(0x276));}[_0x1eb601(0x208)](_0x12b6eb,_0x453125){const _0xe496eb=_0x1eb601,_0x565420=this[_0xe496eb(0xf2)][_0xe496eb(0x208)](_0x12b6eb);this[_0xe496eb(0xf2)][_0xe496eb(0x114)](_0x565420,_0x453125),this[_0xe496eb(0xf2)][_0xe496eb(0x44a)](_0x565420);const _0x3b087b=this[_0xe496eb(0xf2)][_0xe496eb(0x480)](_0x565420,this[_0xe496eb(0xf2)][_0xe496eb(0x51b)]);if(!_0x3b087b){const _0x3f2b4a=this[_0xe496eb(0xf2)]['getShaderInfoLog'](_0x565420)||_0xe496eb(0x1f4);console[_0xe496eb(0x1ca)](_0xe496eb(0x59d),_0x3f2b4a);}return _0x565420;}[_0x1eb601(0x370)](_0x54d499,_0x5a9c3f){const _0x59c613=_0x1eb601,_0x27ed0a=this['ctx']['createProgram']();this[_0x59c613(0xf2)][_0x59c613(0x37a)](_0x27ed0a,_0x54d499),this[_0x59c613(0xf2)][_0x59c613(0x37a)](_0x27ed0a,_0x5a9c3f),this[_0x59c613(0xf2)][_0x59c613(0x22e)](_0x27ed0a);const _0x4f0293=this[_0x59c613(0xf2)][_0x59c613(0x302)](_0x27ed0a,this[_0x59c613(0xf2)][_0x59c613(0x2ae)]);if(!_0x4f0293){const _0x436d57=this[_0x59c613(0xf2)]['getProgramInfoLog'](_0x27ed0a)||_0x59c613(0x191);console[_0x59c613(0x1ca)]('OverlayRenderer\x20program\x20link\x20error:',_0x436d57);}return _0x27ed0a;}},ICON_VALUES=RESERVED_ICON_VALUES,processSeat=(_0x239c2e,_0x3bc90f,_0x2236fa,_0xc81b50,_0x4b851a=ICON_VALUES[_0x1eb601(0x4eb)])=>{const _0xdcd738=_0x1eb601;var _0x272166,_0x2d1858,_0x414227,_0x856f16;const _0x4a99db=_0x3bc90f[_0xdcd738(0x11b)]['theme'][_0xdcd738(0x42c)],_0xbeda83=_0x239c2e[_0xdcd738(0x452)]?_0x4a99db['unavailable']:_0x239c2e['filtered']?_0x4a99db[_0xdcd738(0x3c1)]:_0x4a99db[_0xdcd738(0x53d)];if(!_0xbeda83)return{'position':[],'iconType':_0x4b851a,'priceColorIndex':-0x1,'size':0x6};const _0x2cc0ff=(_0x2d1858=(_0x272166=_0x3bc90f[_0xdcd738(0x11b)])['onBeforeSeatDraw'])==null?void 0x0:_0x2d1858[_0xdcd738(0x484)](_0x272166,{'context':_0x3bc90f,'seat':_0x239c2e,'style':_0xbeda83,'state':_0xdcd738(0x53d)}),_0x24cf4d=[_0x239c2e['x'],_0x239c2e['y']];let _0x4f571c=_0x4b851a,_0x224ec9=-0x1;const _0x3d61be=(_0x239c2e['isAccessible']?(_0x414227=_0xbeda83[_0xdcd738(0x35d)])==null?void 0x0:_0x414227[_0xdcd738(0x1cc)]:_0x2cc0ff==null?void 0x0:_0x2cc0ff[_0xdcd738(0x1cc)])||_0xbeda83[_0xdcd738(0x1cc)];if(_0x239c2e[_0xdcd738(0x8e)]){_0x224ec9=_0x2236fa[_0xdcd738(0x303)](_0x2cc411=>_0x2cc411['priceId']===_0x239c2e[_0xdcd738(0x8e)]);if(_0x239c2e[_0xdcd738(0x376)])_0x4f571c=ICON_VALUES[_0xdcd738(0x35d)];else{if(_0x239c2e[_0xdcd738(0x178)])_0x4f571c=ICON_VALUES[_0xdcd738(0x2a7)];else{if(_0x2cc0ff==null?void 0x0:_0x2cc0ff['imageId']){const _0x1b7719=String(_0x2cc0ff['imageId']);_0x4f571c=(_0x856f16=_0xc81b50[_0x1b7719])!=null?_0x856f16:ICON_VALUES[_0xdcd738(0x53d)];}else _0x4f571c=ICON_VALUES[_0xdcd738(0x4eb)];}}}return{'position':_0x24cf4d,'iconType':_0x4f571c,'priceColorIndex':_0x224ec9,'size':_0x3d61be};},hexToRGB=_0x3925ea=>{const _0x4023b6=_0x1eb601;if(!_0x3925ea)return[0x0,0x0,0x0];_0x3925ea=_0x3925ea['replace']('#','');const _0x555223=parseInt(_0x3925ea[_0x4023b6(0x1da)](0x0,0x2),0x10),_0x20f5ef=parseInt(_0x3925ea['substring'](0x2,0x4),0x10),_0x48bee2=parseInt(_0x3925ea[_0x4023b6(0x1da)](0x4,0x6),0x10);return[_0x555223/0xff,_0x20f5ef/0xff,_0x48bee2/0xff];},generatePriceCategories=_0x2057e3=>{const _0x1aaf5d=_0x1eb601;return Object['entries'](_0x2057e3[_0x1aaf5d(0x85)])['map'](([_0x5c15ad,_0x768f53])=>{const _0x530d12=_0x1aaf5d,_0x35057a=hexToRGB(_0x768f53[_0x530d12(0x4e4)]);return{'priceId':parseInt(_0x5c15ad),'colorRGB':_0x35057a};});},createSeatsGeometry=_0x12d435=>{const _0x53911d=_0x1eb601;var _0x447674,_0x501623;const _0x4f8841=generatePriceCategories(_0x12d435),_0x704d82=Object[_0x53911d(0x3a0)](((_0x501623=(_0x447674=_0x12d435[_0x53911d(0x11b)])==null?void 0x0:_0x447674[_0x53911d(0x5c2)])==null?void 0x0:_0x501623[_0x53911d(0x584)])||{}),_0x137920=generateIconValues(_0x704d82);if(!_0x12d435[_0x53911d(0x272)]||_0x12d435[_0x53911d(0x272)]['length']===0x0)return{'positions':[],'iconTypes':[],'priceColorIndices':[],'priceCategories':_0x4f8841,'sizes':[],'seatIds':[]};const _0x24343a=[],_0x3f4adf=[],_0x42d4b4=[],_0x44a2a9=[],_0x5c304a=[];for(const _0x578924 of _0x12d435['seats']){const {position:_0x240f53,iconType:_0x55fea1,priceColorIndex:_0x43c620,size:_0x20f3d5}=processSeat(_0x578924,_0x12d435,_0x4f8841,_0x137920);_0x240f53[_0x53911d(0x204)]>0x0&&(_0x24343a[_0x53911d(0x116)](..._0x240f53),_0x3f4adf[_0x53911d(0x116)](_0x55fea1),_0x42d4b4[_0x53911d(0x116)](_0x43c620),_0x44a2a9[_0x53911d(0x116)](_0x20f3d5),_0x5c304a[_0x53911d(0x116)](_0x578924['id']));}return{'positions':_0x24343a,'iconTypes':_0x3f4adf,'priceColorIndices':_0x42d4b4,'priceCategories':_0x4f8841,'sizes':_0x44a2a9,'seatIds':_0x5c304a};},setPriceColors=(_0x4b2f9f,_0x2372c7,_0x4154c7)=>{const _0x149a39=_0x1eb601,_0x15edb5=new Float32Array(0x20*0x3);Array[_0x149a39(0x18e)](_0x4154c7)?_0x4154c7[_0x149a39(0x4ff)]((_0x298898,_0x41a657)=>{const _0x25c395=_0x149a39,_0x5a362f=_0x298898[_0x25c395(0x99)];_0x15edb5[_0x41a657*0x3]=_0x5a362f[0x0]||0x0,_0x15edb5[_0x41a657*0x3+0x1]=_0x5a362f[0x1]||0x0,_0x15edb5[_0x41a657*0x3+0x2]=_0x5a362f[0x2]||0x0;}):console['error'](_0x149a39(0x36a));_0x4b2f9f[_0x149a39(0x47b)](_0x2372c7);const _0xd695cd=_0x4b2f9f[_0x149a39(0x47a)](_0x2372c7,_0x149a39(0x3cd));_0x4b2f9f[_0x149a39(0x27b)](_0xd695cd,_0x15edb5);},dpr3=window[_0x1eb601(0x415)],SeatsRenderer=class{constructor(_0x8f2608,_0x229e1d,_0x4b9c8a,_0x51c841){const _0x1c9315=_0x1eb601;this[_0x1c9315(0x79)]=null,this['a_position']=-0x1,this[_0x1c9315(0x44c)]=-0x1,this[_0x1c9315(0x3aa)]=-0x1,this[_0x1c9315(0x474)]=-0x1,this[_0x1c9315(0xaa)]=-0x1,this[_0x1c9315(0x26f)]=-0x1,this[_0x1c9315(0x33a)]=null,this[_0x1c9315(0x462)]=null,this[_0x1c9315(0x2cd)]=null,this[_0x1c9315(0x18c)]=null,this[_0x1c9315(0x2b7)]=null,this[_0x1c9315(0xbe)]=null,this[_0x1c9315(0x41d)]=null,this[_0x1c9315(0x3e3)]=null,this[_0x1c9315(0x3dc)]=null,this[_0x1c9315(0x26d)]=null,this[_0x1c9315(0x4e5)]=null,this['priceColorBuffer']=null,this['sizeBuffer']=null,this[_0x1c9315(0xad)]=null,this[_0x1c9315(0x3e4)]=null,this[_0x1c9315(0x373)]=[],this[_0x1c9315(0x29b)]=[],this[_0x1c9315(0xc8)]=![],this[_0x1c9315(0x1ee)]=null,this[_0x1c9315(0x87)]=0x0,this['lastPricePaletteSignature']='',this[_0x1c9315(0x469)]=null,this[_0x1c9315(0x4c2)]=!![],this[_0x1c9315(0x400)]={},this[_0x1c9315(0x90)]=null,this[_0x1c9315(0x15e)]=new Map(),this[_0x1c9315(0x1ad)]=null,this[_0x1c9315(0x4e7)]=null,this['ctx']=_0x8f2608,this[_0x1c9315(0x327)]=_0x229e1d,this[_0x1c9315(0x29c)]=_0x4b9c8a,this[_0x1c9315(0x38d)]=_0x51c841,this[_0x1c9315(0xf6)]();}[_0x1eb601(0xe2)](){this['staticGeometryValid']=![];}['invalidatePriceIndices'](){const _0x14bbc3=_0x1eb601;this[_0x14bbc3(0x4c2)]=!![];}[_0x1eb601(0x4a3)](_0x107a93,_0x5839ea,_0x48e7d7){const _0x2bd0ae=_0x1eb601;this[_0x2bd0ae(0x90)]=_0x107a93,this[_0x2bd0ae(0x15e)]=_0x5839ea,this[_0x2bd0ae(0x1ad)]=_0x48e7d7;}['draw'](_0x14be3a,_0x42492c){const _0x180896=_0x1eb601;if(!this[_0x180896(0x79)])return;this[_0x180896(0xd7)](),this[_0x180896(0x315)](),this[_0x180896(0x84)](),this[_0x180896(0x38b)](),this[_0x180896(0xf2)][_0x180896(0x47b)](this[_0x180896(0x79)]),this[_0x180896(0x366)](this[_0x180896(0x26d)],this['a_position'],0x2),this[_0x180896(0x366)](this[_0x180896(0x4e5)],this[_0x180896(0x44c)],0x1),this[_0x180896(0x366)](this[_0x180896(0xfe)],this['a_priceColorIndex'],0x1),this[_0x180896(0x366)](this['sizeBuffer'],this[_0x180896(0x474)],0x1),this[_0x180896(0x366)](this['selectedFlagBuffer'],this[_0x180896(0xaa)],0x1),this[_0x180896(0x366)](this[_0x180896(0x3e4)],this[_0x180896(0x26f)],0x1),this[_0x180896(0xf2)][_0x180896(0x425)](this[_0x180896(0x33a)],_0x14be3a),this[_0x180896(0xf2)][_0x180896(0x1e9)](this[_0x180896(0x462)],[_0x42492c['x'],_0x42492c['y']]),this[_0x180896(0xf2)][_0x180896(0x425)](this[_0x180896(0x2cd)],this[_0x180896(0x29c)]()),this[_0x180896(0xf2)][_0x180896(0x425)](this[_0x180896(0x18c)],this[_0x180896(0x38d)]()),this[_0x180896(0xf2)][_0x180896(0x425)](this[_0x180896(0x2b7)],dpr3),this[_0x180896(0xf2)][_0x180896(0x424)](this[_0x180896(0xbe)],this['appContext']['enable3DView']?0x1:0x0),this[_0x180896(0xf2)][_0x180896(0x425)](this[_0x180896(0x41d)],this[_0x180896(0x327)][_0x180896(0x5a3)]),this[_0x180896(0xf2)][_0x180896(0x425)](this[_0x180896(0x3e3)],this[_0x180896(0x327)]['perspectiveZ']),this[_0x180896(0xf2)][_0x180896(0x425)](this['u_tiltX'],this[_0x180896(0x327)][_0x180896(0x280)]),this[_0x180896(0x442)](),this[_0x180896(0xf2)][_0x180896(0x40b)](this[_0x180896(0xf2)]['BLEND']),this[_0x180896(0xf2)]['blendFunc'](this[_0x180896(0xf2)][_0x180896(0x543)],this[_0x180896(0xf2)][_0x180896(0x346)]);const _0x4a082f=this[_0x180896(0x373)]['length']/0x2;this['ctx'][_0x180896(0x209)](this[_0x180896(0xf2)][_0x180896(0x3f5)],0x0,_0x4a082f);}['ensureStaticGeometry'](){const _0x4184d3=_0x1eb601,_0x27309d=this[_0x4184d3(0x327)][_0x4184d3(0x272)],_0xbec3fb=Array[_0x4184d3(0x18e)](_0x27309d)?_0x27309d['length']:0x0;if(!this['staticGeometryValid']||_0x27309d!==this[_0x4184d3(0x1ee)]||_0xbec3fb!==this[_0x4184d3(0x87)]){const _0x522f8d=createSeatsGeometry(this['appContext']);if(!_0x522f8d)return;const {positions:_0x48d654,iconTypes:_0x216f51,sizes:_0x2db110,seatIds:_0x2752f5}=_0x522f8d;this[_0x4184d3(0x373)]=_0x48d654,this['seatIds']=_0x2752f5,this[_0x4184d3(0x26d)]=this[_0x4184d3(0x1a3)](this[_0x4184d3(0x26d)],_0x48d654,this[_0x4184d3(0xf2)]['STATIC_DRAW']),this[_0x4184d3(0x4e5)]=this[_0x4184d3(0x1a3)](this['seatsAvailabilityBuffer'],_0x216f51,this[_0x4184d3(0xf2)][_0x4184d3(0x15f)]),this[_0x4184d3(0x55c)]=this[_0x4184d3(0x1a3)](this[_0x4184d3(0x55c)],_0x2db110,this['ctx'][_0x4184d3(0x15f)]),this['priceColorBuffer']=this[_0x4184d3(0xc5)](this[_0x4184d3(0xfe)],_0x2752f5['length']);const _0x3b9426=new Float32Array(_0x2752f5[_0x4184d3(0x204)]);this[_0x4184d3(0xad)]=this['fillBufferFloat32'](this[_0x4184d3(0xad)],_0x3b9426,this[_0x4184d3(0xf2)]['STATIC_DRAW']),this['hoveredFlagBuffer']=this[_0x4184d3(0x2ea)](this[_0x4184d3(0x3e4)],_0x3b9426,this[_0x4184d3(0xf2)][_0x4184d3(0x15f)]),this['lastSeatsRef']=_0x27309d,this['lastSeatsCount']=_0xbec3fb,this['staticGeometryValid']=!![],this[_0x4184d3(0x469)]=null,this[_0x4184d3(0x4c2)]=!![];}}[_0x1eb601(0x315)](){const _0x38841e=_0x1eb601,_0x3f6d64=Object['entries'](this[_0x38841e(0x327)][_0x38841e(0x85)]||{}),_0xe99db8=_0x3f6d64[_0x38841e(0x2c8)](([_0x3fe2d0,_0x9f128d])=>_0x3fe2d0+':'+(_0x9f128d&&_0x9f128d[_0x38841e(0x4e4)]||''))[_0x38841e(0x495)]('|');if(_0xe99db8!==this['lastPricePaletteSignature']){const _0x4a399e=_0x3f6d64[_0x38841e(0x2c8)](([_0x224523,_0x2e542c])=>({'priceId':parseInt(_0x224523),'colorRGB':this[_0x38841e(0x345)](_0x2e542c&&_0x2e542c[_0x38841e(0x4e4)]||'')}));setPriceColors(this[_0x38841e(0xf2)],this[_0x38841e(0x79)],_0x4a399e),this[_0x38841e(0x4c1)]=_0xe99db8,this[_0x38841e(0x469)]=null,this[_0x38841e(0x400)]={};for(let _0x120295=0x0;_0x120295<_0x3f6d64[_0x38841e(0x204)];_0x120295++){this['priceIdToIndex'][Number(_0x3f6d64[_0x120295][0x0])]=_0x120295;}this[_0x38841e(0x4c2)]=!![];}}['updatePriceIndicesBufferIfChanged'](){const _0x2b0bdc=_0x1eb601;var _0x63f725;if(this[_0x2b0bdc(0x29b)][_0x2b0bdc(0x204)]===0x0)return;if(!this['priceIndicesDirty']&&this[_0x2b0bdc(0x469)])return;const _0x2cd640=new Float32Array(this[_0x2b0bdc(0x29b)][_0x2b0bdc(0x204)]);for(let _0x116db9=0x0;_0x116db9<this['seatIds']['length'];_0x116db9++){const _0x520be6=this['seatIds'][_0x116db9],_0x39c449=(_0x63f725=this[_0x2b0bdc(0x327)]['seatsById'])==null?void 0x0:_0x63f725[_0x520be6],_0xa573e8=_0x39c449?_0x39c449[_0x2b0bdc(0x8e)]:void 0x0;_0x2cd640[_0x116db9]=_0xa573e8!==void 0x0&&_0xa573e8!==null&&this['priceIdToIndex'][Number(_0xa573e8)]!==void 0x0?this[_0x2b0bdc(0x400)][Number(_0xa573e8)]:-0x1;}const _0x2e9a4c=!this[_0x2b0bdc(0x469)]||this[_0x2b0bdc(0x469)][_0x2b0bdc(0x204)]!==_0x2cd640[_0x2b0bdc(0x204)]||!this[_0x2b0bdc(0x1bd)](this[_0x2b0bdc(0x469)],_0x2cd640);_0x2e9a4c&&(this['priceColorBuffer']=this[_0x2b0bdc(0x2ea)](this[_0x2b0bdc(0xfe)],_0x2cd640,this['ctx']['DYNAMIC_DRAW']),this[_0x2b0bdc(0x469)]=_0x2cd640),this['priceIndicesDirty']=![];}[_0x1eb601(0x38b)](){}[_0x1eb601(0xf6)](){const _0x94e21=_0x1eb601,_0x52385d=this[_0x94e21(0x208)](this[_0x94e21(0xf2)][_0x94e21(0x2cc)],Seats_default),_0x45f536=this[_0x94e21(0x208)](this[_0x94e21(0xf2)][_0x94e21(0x572)],Seats_default2);this[_0x94e21(0x79)]=this['createProgram'](_0x52385d,_0x45f536),this[_0x94e21(0x3f1)]=this['ctx'][_0x94e21(0x2a9)](this[_0x94e21(0x79)],_0x94e21(0x43d)),this[_0x94e21(0x44c)]=this[_0x94e21(0xf2)]['getAttribLocation'](this[_0x94e21(0x79)],_0x94e21(0x1e7)),this[_0x94e21(0x3aa)]=this[_0x94e21(0xf2)][_0x94e21(0x2a9)](this[_0x94e21(0x79)],_0x94e21(0x2a6)),this[_0x94e21(0x474)]=this[_0x94e21(0xf2)]['getAttribLocation'](this[_0x94e21(0x79)],_0x94e21(0x1cc)),this[_0x94e21(0xaa)]=this['ctx']['getAttribLocation'](this['program'],_0x94e21(0x47d)),this['a_hoveredFlag']=this['ctx'][_0x94e21(0x2a9)](this['program'],'hoveredFlag'),this['u_scale']=this[_0x94e21(0xf2)][_0x94e21(0x47a)](this[_0x94e21(0x79)],_0x94e21(0x368)),this[_0x94e21(0x462)]=this['ctx'][_0x94e21(0x47a)](this['program'],_0x94e21(0x5b1)),this[_0x94e21(0x2cd)]=this[_0x94e21(0xf2)][_0x94e21(0x47a)](this['program'],'stageWidth'),this[_0x94e21(0x18c)]=this[_0x94e21(0xf2)]['getUniformLocation'](this[_0x94e21(0x79)],'stageHeight'),this['u_dpr']=this['ctx'][_0x94e21(0x47a)](this[_0x94e21(0x79)],_0x94e21(0x4dc)),this[_0x94e21(0xbe)]=this[_0x94e21(0xf2)][_0x94e21(0x47a)](this[_0x94e21(0x79)],_0x94e21(0xbe)),this[_0x94e21(0x41d)]=this[_0x94e21(0xf2)]['getUniformLocation'](this[_0x94e21(0x79)],_0x94e21(0x41d)),this[_0x94e21(0x3e3)]=this[_0x94e21(0xf2)]['getUniformLocation'](this[_0x94e21(0x79)],_0x94e21(0x3e3)),this[_0x94e21(0x3dc)]=this['ctx'][_0x94e21(0x47a)](this[_0x94e21(0x79)],_0x94e21(0x3dc)),this['u_iconAtlas']=this['ctx'][_0x94e21(0x47a)](this['program'],_0x94e21(0x4e7));}[_0x1eb601(0x208)](_0x50def5,_0x5efb89){const _0x49fec3=_0x1eb601,_0x3c5f72=this[_0x49fec3(0xf2)][_0x49fec3(0x208)](_0x50def5);return this[_0x49fec3(0xf2)][_0x49fec3(0x114)](_0x3c5f72,_0x5efb89),this[_0x49fec3(0xf2)][_0x49fec3(0x44a)](_0x3c5f72),_0x3c5f72;}['createProgram'](_0x2dea01,_0x16a252){const _0x297c19=_0x1eb601,_0x2fe1c9=this[_0x297c19(0xf2)]['createProgram']();return this[_0x297c19(0xf2)][_0x297c19(0x37a)](_0x2fe1c9,_0x2dea01),this[_0x297c19(0xf2)][_0x297c19(0x37a)](_0x2fe1c9,_0x16a252),this[_0x297c19(0xf2)]['linkProgram'](_0x2fe1c9),_0x2fe1c9;}[_0x1eb601(0x1a3)](_0x5e85dd,_0x7f5391,_0x26c6d1){const _0x481fe7=_0x1eb601;if(!_0x5e85dd)_0x5e85dd=this[_0x481fe7(0xf2)][_0x481fe7(0x4cf)]();return this['ctx'][_0x481fe7(0xf1)](this['ctx'][_0x481fe7(0x54e)],_0x5e85dd),this[_0x481fe7(0xf2)][_0x481fe7(0x509)](this['ctx'][_0x481fe7(0x54e)],new Float32Array(_0x7f5391),_0x26c6d1),_0x5e85dd;}['fillBufferFloat32'](_0x5be8c2,_0x5a8e37,_0x4affcc){const _0x5db121=_0x1eb601;if(!_0x5be8c2)_0x5be8c2=this[_0x5db121(0xf2)][_0x5db121(0x4cf)]();return this[_0x5db121(0xf2)][_0x5db121(0xf1)](this['ctx'][_0x5db121(0x54e)],_0x5be8c2),this['ctx'][_0x5db121(0x509)](this[_0x5db121(0xf2)]['ARRAY_BUFFER'],_0x5a8e37,_0x4affcc),_0x5be8c2;}[_0x1eb601(0xc5)](_0x10c2a0,_0x11d3c2){const _0x5a952=_0x1eb601;if(!_0x10c2a0)_0x10c2a0=this[_0x5a952(0xf2)]['createBuffer']();return this[_0x5a952(0xf2)][_0x5a952(0xf1)](this[_0x5a952(0xf2)]['ARRAY_BUFFER'],_0x10c2a0),this[_0x5a952(0xf2)][_0x5a952(0x509)](this[_0x5a952(0xf2)]['ARRAY_BUFFER'],_0x11d3c2*0x4,this['ctx'][_0x5a952(0x574)]),_0x10c2a0;}[_0x1eb601(0x366)](_0x49870d,_0x5511e2,_0x365bd0){const _0x5ed630=_0x1eb601;this[_0x5ed630(0xf2)][_0x5ed630(0xf1)](this[_0x5ed630(0xf2)]['ARRAY_BUFFER'],_0x49870d),this[_0x5ed630(0xf2)][_0x5ed630(0x133)](_0x5511e2),this['ctx']['vertexAttribPointer'](_0x5511e2,_0x365bd0,this[_0x5ed630(0xf2)]['FLOAT'],![],0x0,0x0);}[_0x1eb601(0x442)](){const _0x22d519=_0x1eb601;if(!this[_0x22d519(0x90)]||!this[_0x22d519(0x79)]||!this[_0x22d519(0x1ad)])return;this[_0x22d519(0xf2)][_0x22d519(0x2d7)](this['ctx'][_0x22d519(0x38f)]),this['ctx']['bindTexture'](this[_0x22d519(0xf2)][_0x22d519(0x20d)],this['iconAtlas']),this[_0x22d519(0xf2)][_0x22d519(0x424)](this[_0x22d519(0x4e7)],0x0);const _0x40b394=this['iconsUVMap'][_0x22d519(0x1cc)],_0x21b97c=this[_0x22d519(0xf2)][_0x22d519(0x47a)](this[_0x22d519(0x79)],'u_iconsCount');this[_0x22d519(0xf2)]['uniform1i'](_0x21b97c,_0x40b394);const _0x596f3d=[],_0x33555e=[];this[_0x22d519(0x15e)][_0x22d519(0x4ff)]((_0x27667a,_0x585567)=>{const _0x4e9362=_0x22d519;var _0x50ac75;_0x596f3d[_0x4e9362(0x116)](_0x27667a['x'],_0x27667a['y'],_0x27667a[_0x4e9362(0x55a)],_0x27667a['height']),_0x33555e[_0x4e9362(0x116)]((_0x50ac75=this[_0x4e9362(0x1ad)][_0x585567])!=null?_0x50ac75:0x0);});const _0x4d050b=this[_0x22d519(0xf2)][_0x22d519(0x47a)](this[_0x22d519(0x79)],'u_iconUVs');this[_0x22d519(0xf2)][_0x22d519(0x42d)](_0x4d050b,new Float32Array(_0x596f3d));const _0x5c9429=this[_0x22d519(0xf2)]['getUniformLocation'](this[_0x22d519(0x79)],_0x22d519(0xaf));this[_0x22d519(0xf2)][_0x22d519(0x107)](_0x5c9429,new Float32Array(_0x33555e));}[_0x1eb601(0x1bd)](_0x34f39e,_0x5a547c){const _0x24e4a5=_0x1eb601;if(_0x34f39e['length']!==_0x5a547c[_0x24e4a5(0x204)])return![];for(let _0x1320fd=0x0;_0x1320fd<_0x34f39e[_0x24e4a5(0x204)];_0x1320fd++){if(_0x34f39e[_0x1320fd]!==_0x5a547c[_0x1320fd])return![];}return!![];}['hexToRGB'](_0x3800ab){const _0x1133d3=_0x1eb601,_0x53de68=(_0x3800ab||'')[_0x1133d3(0x3b5)]('#','');if(!_0x53de68||_0x53de68[_0x1133d3(0x204)]<0x6)return[0x0,0x0,0x0];const _0x59d84a=parseInt(_0x53de68[_0x1133d3(0x1da)](0x0,0x2),0x10)/0xff,_0x360d22=parseInt(_0x53de68['substring'](0x2,0x4),0x10)/0xff,_0x4348bc=parseInt(_0x53de68[_0x1133d3(0x1da)](0x4,0x6),0x10)/0xff;return[_0x59d84a,_0x360d22,_0x4348bc];}},BackgroundRenderer=class{constructor(_0x185dc6,_0x3bcc0c){const _0x5cee12=_0x1eb601;this['program']=null,this[_0x5cee12(0x3a9)]=-0x1,this[_0x5cee12(0x450)]=-0x1,this['u_resolution']=null,this[_0x5cee12(0x33a)]=null,this[_0x5cee12(0x462)]=null,this[_0x5cee12(0x160)]=null,this[_0x5cee12(0x3ed)]=null,this['u_image1']=null,this['u_enable3DView']=null,this[_0x5cee12(0x41d)]=null,this[_0x5cee12(0x3e3)]=null,this['u_tiltX']=null,this[_0x5cee12(0xed)]=null,this[_0x5cee12(0x2cb)]=null,this['ctx']=_0x185dc6,this[_0x5cee12(0x327)]=_0x3bcc0c,this[_0x5cee12(0xf6)]();}[_0x1eb601(0x4e6)](_0x122247,_0x1eec75,_0x12ee64,_0x211317,_0x1b6844,_0x919f73){const _0x60ad89=_0x1eb601;if(!this[_0x60ad89(0x79)]||!_0x1b6844||!_0x12ee64)return;if(!this['positionBuffer'])this['positionBuffer']=this[_0x60ad89(0xf2)][_0x60ad89(0x4cf)]();this['ctx'][_0x60ad89(0xf1)](this[_0x60ad89(0xf2)][_0x60ad89(0x54e)],this[_0x60ad89(0x2cb)]),this[_0x60ad89(0x357)](0x0,0x0,_0x1b6844['width'],_0x1b6844['height']),!this[_0x60ad89(0xed)]&&(this['texcoordBuffer']=this[_0x60ad89(0xf2)]['createBuffer'](),this[_0x60ad89(0xf2)]['bindBuffer'](this[_0x60ad89(0xf2)][_0x60ad89(0x54e)],this['texcoordBuffer']),this[_0x60ad89(0xf2)]['bufferData'](this[_0x60ad89(0xf2)]['ARRAY_BUFFER'],new Float32Array([0x0,0x0,0x1,0x0,0x0,0x1,0x0,0x1,0x1,0x0,0x1,0x1]),this['ctx'][_0x60ad89(0x15f)])),this[_0x60ad89(0xf2)][_0x60ad89(0x47b)](this[_0x60ad89(0x79)]),this['ctx'][_0x60ad89(0x2d7)](this[_0x60ad89(0xf2)]['TEXTURE0']),this[_0x60ad89(0xf2)][_0x60ad89(0x2e3)](this[_0x60ad89(0xf2)][_0x60ad89(0x20d)],_0x12ee64),this[_0x60ad89(0xf2)][_0x60ad89(0x424)](this[_0x60ad89(0x3ed)],0x0),this[_0x60ad89(0xf2)]['activeTexture'](this[_0x60ad89(0xf2)]['TEXTURE1']),this['ctx'][_0x60ad89(0x2e3)](this[_0x60ad89(0xf2)][_0x60ad89(0x20d)],_0x211317||_0x12ee64),this[_0x60ad89(0xf2)]['uniform1i'](this['u_image1'],0x1),this[_0x60ad89(0xf2)][_0x60ad89(0xf1)](this[_0x60ad89(0xf2)][_0x60ad89(0x54e)],this[_0x60ad89(0x2cb)]),this[_0x60ad89(0xf2)]['enableVertexAttribArray'](this[_0x60ad89(0x3a9)]),this[_0x60ad89(0xf2)][_0x60ad89(0x205)](this[_0x60ad89(0x3a9)],0x2,this['ctx']['FLOAT'],![],0x0,0x0),this[_0x60ad89(0xf2)][_0x60ad89(0xf1)](this[_0x60ad89(0xf2)]['ARRAY_BUFFER'],this['texcoordBuffer']),this[_0x60ad89(0xf2)]['enableVertexAttribArray'](this['texcoordLocation']),this[_0x60ad89(0xf2)][_0x60ad89(0x205)](this[_0x60ad89(0x450)],0x2,this[_0x60ad89(0xf2)]['FLOAT'],![],0x0,0x0),this[_0x60ad89(0xf2)][_0x60ad89(0x4b5)](this['u_resolution'],this[_0x60ad89(0xf2)][_0x60ad89(0x4a4)][_0x60ad89(0x55a)],this[_0x60ad89(0xf2)][_0x60ad89(0x4a4)][_0x60ad89(0x3e0)]),this[_0x60ad89(0xf2)][_0x60ad89(0x425)](this[_0x60ad89(0x33a)],_0x122247),this[_0x60ad89(0xf2)]['uniform2f'](this[_0x60ad89(0x462)],_0x1eec75['x'],_0x1eec75['y']),this[_0x60ad89(0xf2)][_0x60ad89(0x425)](this[_0x60ad89(0x160)],_0x919f73),this[_0x60ad89(0xf2)]['uniform1i'](this[_0x60ad89(0xbe)],this[_0x60ad89(0x327)][_0x60ad89(0x243)]?0x1:0x0),this[_0x60ad89(0xf2)][_0x60ad89(0x425)](this['u_rotationZ'],this['appContext']['rotationZ']),this[_0x60ad89(0xf2)][_0x60ad89(0x425)](this['u_perspectiveZ'],this[_0x60ad89(0x327)]['perspectiveZ']),this['ctx'][_0x60ad89(0x425)](this['u_tiltX'],this['appContext'][_0x60ad89(0x280)]),this['ctx'][_0x60ad89(0x209)](this[_0x60ad89(0xf2)]['TRIANGLES'],0x0,0x6);}[_0x1eb601(0xf6)](){const _0xfd0b9e=_0x1eb601,_0x130910=this[_0xfd0b9e(0x208)](this[_0xfd0b9e(0xf2)][_0xfd0b9e(0x2cc)],Background_default),_0x3c9c1a=this[_0xfd0b9e(0x208)](this['ctx'][_0xfd0b9e(0x572)],Background_default2);this[_0xfd0b9e(0x79)]=this[_0xfd0b9e(0x370)](_0x130910,_0x3c9c1a),this['positionLocation']=this[_0xfd0b9e(0xf2)]['getAttribLocation'](this[_0xfd0b9e(0x79)],_0xfd0b9e(0x3f1)),this['texcoordLocation']=this[_0xfd0b9e(0xf2)]['getAttribLocation'](this['program'],_0xfd0b9e(0x5a4)),this[_0xfd0b9e(0x1d6)]=this[_0xfd0b9e(0xf2)][_0xfd0b9e(0x47a)](this[_0xfd0b9e(0x79)],'u_resolution'),this['u_scale']=this[_0xfd0b9e(0xf2)]['getUniformLocation'](this['program'],'u_scale'),this[_0xfd0b9e(0x462)]=this[_0xfd0b9e(0xf2)][_0xfd0b9e(0x47a)](this['program'],_0xfd0b9e(0x462)),this[_0xfd0b9e(0x160)]=this[_0xfd0b9e(0xf2)][_0xfd0b9e(0x47a)](this[_0xfd0b9e(0x79)],'u_mix'),this[_0xfd0b9e(0x3ed)]=this[_0xfd0b9e(0xf2)][_0xfd0b9e(0x47a)](this['program'],'u_image0'),this[_0xfd0b9e(0x255)]=this['ctx'][_0xfd0b9e(0x47a)](this[_0xfd0b9e(0x79)],_0xfd0b9e(0x255)),this['u_enable3DView']=this[_0xfd0b9e(0xf2)][_0xfd0b9e(0x47a)](this[_0xfd0b9e(0x79)],_0xfd0b9e(0xbe)),this['u_rotationZ']=this['ctx'][_0xfd0b9e(0x47a)](this[_0xfd0b9e(0x79)],_0xfd0b9e(0x41d)),this['u_perspectiveZ']=this['ctx']['getUniformLocation'](this[_0xfd0b9e(0x79)],_0xfd0b9e(0x3e3)),this[_0xfd0b9e(0x3dc)]=this[_0xfd0b9e(0xf2)]['getUniformLocation'](this[_0xfd0b9e(0x79)],_0xfd0b9e(0x3dc));}[_0x1eb601(0x208)](_0x2d29f8,_0x208b5a){const _0x55e593=_0x1eb601,_0x5dd9bb=this[_0x55e593(0xf2)][_0x55e593(0x208)](_0x2d29f8);return this[_0x55e593(0xf2)][_0x55e593(0x114)](_0x5dd9bb,_0x208b5a),this[_0x55e593(0xf2)][_0x55e593(0x44a)](_0x5dd9bb),_0x5dd9bb;}[_0x1eb601(0x370)](_0x2bad12,_0x221f43){const _0x424847=_0x1eb601,_0x301122=this[_0x424847(0xf2)][_0x424847(0x370)]();return this['ctx'][_0x424847(0x37a)](_0x301122,_0x2bad12),this['ctx'][_0x424847(0x37a)](_0x301122,_0x221f43),this[_0x424847(0xf2)][_0x424847(0x22e)](_0x301122),_0x301122;}['setRectangle'](_0x65788d,_0x4b3257,_0x3c8dad,_0x381bdb){const _0x18b7dc=_0x1eb601,_0x52d811=_0x65788d,_0x5f39b5=_0x65788d+_0x3c8dad,_0x20e702=_0x4b3257,_0x49cd89=_0x4b3257+_0x381bdb;this[_0x18b7dc(0xf2)][_0x18b7dc(0x509)](this[_0x18b7dc(0xf2)]['ARRAY_BUFFER'],new Float32Array([_0x52d811,_0x20e702,_0x5f39b5,_0x20e702,_0x52d811,_0x49cd89,_0x52d811,_0x49cd89,_0x5f39b5,_0x20e702,_0x5f39b5,_0x49cd89]),this[_0x18b7dc(0xf2)][_0x18b7dc(0x15f)]);}},HoverSeatLabel=class{constructor(_0x4b476d,_0x183016){const _0x34a2f8=_0x1eb601;this[_0x34a2f8(0xb9)]=_0x4b476d,this[_0x34a2f8(0x3b4)]=_0x183016,this[_0x34a2f8(0x3fa)]=document[_0x34a2f8(0x4a9)](_0x34a2f8(0x104)),this[_0x34a2f8(0x3fa)][_0x34a2f8(0x464)]['position']=_0x34a2f8(0x23d),this[_0x34a2f8(0x3fa)][_0x34a2f8(0x464)][_0x34a2f8(0x1eb)]='none',this[_0x34a2f8(0x3fa)][_0x34a2f8(0x464)][_0x34a2f8(0x111)]=_0x34a2f8(0x4e9),this[_0x34a2f8(0x3fa)][_0x34a2f8(0x464)][_0x34a2f8(0x5a9)]=_0x34a2f8(0x595),this[_0x34a2f8(0x3fa)][_0x34a2f8(0x464)]['zIndex']='3',this[_0x34a2f8(0x3fa)][_0x34a2f8(0x464)]['willChange']='transform,\x20left,\x20top',this['labelEl']['style'][_0x34a2f8(0x203)]=_0x34a2f8(0x53b),this['hide'](),this['container'][_0x34a2f8(0xa9)](this[_0x34a2f8(0x3fa)]);}[_0x1eb601(0x4e6)](_0x247431,_0x589e84){const _0x3d7a6e=_0x1eb601;var _0x17d4ef,_0x1e9f8d,_0x10a8a0;if(this[_0x3d7a6e(0xb9)][_0x3d7a6e(0x342)]){this[_0x3d7a6e(0x40a)]();return;}const _0x40d408=this[_0x3d7a6e(0xb9)]['hoveredSeat'];if(!_0x40d408){this[_0x3d7a6e(0x40a)]();return;}const _0x5923b5=_0x40d408[_0x3d7a6e(0x391)]||'';if(!_0x5923b5){this[_0x3d7a6e(0x40a)]();return;}const _0x9d3c6=_0x40d408['state'];if(_0x40d408[_0x3d7a6e(0x452)]||_0x40d408[_0x3d7a6e(0x3c1)]||((_0x1e9f8d=(_0x17d4ef=this['context'])[_0x3d7a6e(0x244)])==null?void 0x0:_0x1e9f8d[_0x3d7a6e(0x484)](_0x17d4ef,_0x40d408['id']))||_0x9d3c6===_0x3d7a6e(0x161)||_0x9d3c6===_0x3d7a6e(0x1ca)){this['hide']();return;}if(this['hasSeatTexture'](_0x40d408)){this['hide']();return;}const _0x25a71a=_0x40d408['x']*_0x247431+_0x589e84['x'],_0x8db0db=_0x40d408['y']*_0x247431+_0x589e84['y'];let _0x41f365=_0x25a71a,_0x3e6525=_0x8db0db;if(this[_0x3d7a6e(0xb9)][_0x3d7a6e(0x243)]){const _0x4ac236=window[_0x3d7a6e(0x415)]||0x1,_0x30cd4a=this[_0x3d7a6e(0x3b4)][_0x3d7a6e(0x379)](_0x3d7a6e(0x4a4)),_0x48ae96=(_0x30cd4a==null?void 0x0:_0x30cd4a['width'])||this[_0x3d7a6e(0x3b4)]['clientWidth']*_0x4ac236,_0x59797e=(_0x30cd4a==null?void 0x0:_0x30cd4a[_0x3d7a6e(0x3e0)])||this['container'][_0x3d7a6e(0x2aa)]*_0x4ac236,_0x455975={'width':_0x48ae96,'height':_0x59797e},_0x2ab37a={'rotationZ':-this[_0x3d7a6e(0xb9)][_0x3d7a6e(0x5a3)]||0x0,'perspectiveZ':this[_0x3d7a6e(0xb9)]['perspectiveZ']||0x0,'tiltX':this[_0x3d7a6e(0xb9)]['tiltX']||0x0},_0x34c5a5=projectPointTo3DView({'x':_0x25a71a,'y':_0x8db0db},_0x455975,_0x2ab37a);_0x41f365=_0x34c5a5['x']/_0x4ac236,_0x3e6525=_0x34c5a5['y']/_0x4ac236;}const _0x5ca7ec=(_0x10a8a0=this[_0x3d7a6e(0xb9)][_0x3d7a6e(0x11b)][_0x3d7a6e(0x5c2)])==null?void 0x0:_0x10a8a0['seatStyles'],_0x2ee39e=(_0x5ca7ec==null?void 0x0:_0x5ca7ec[_0x3d7a6e(0x25f)])||(_0x5ca7ec==null?void 0x0:_0x5ca7ec[_0x3d7a6e(0x53d)]),_0x28aa87=this['context'][_0x3d7a6e(0x11b)][_0x3d7a6e(0x15d)]?this[_0x3d7a6e(0xb9)]['settings'][_0x3d7a6e(0x15d)]({'context':this[_0x3d7a6e(0xb9)],'seat':_0x40d408,'style':_0x2ee39e,'state':_0x3d7a6e(0x25f)})||_0x2ee39e:_0x2ee39e,_0x4cdd57=_0x28aa87==null?void 0x0:_0x28aa87[_0x3d7a6e(0xca)],_0x1c4cc7=this[_0x3d7a6e(0xb9)][_0x3d7a6e(0x368)]/window['devicePixelRatio']>=0.35;if(!_0x4cdd57||!_0x1c4cc7){this[_0x3d7a6e(0x40a)]();return;}const _0x437ef7=_0x4cdd57[_0x3d7a6e(0x257)]||_0x3d7a6e(0xa8),_0x30bb4f=_0x4cdd57[_0x3d7a6e(0x4e4)]||_0x3d7a6e(0xbd);this[_0x3d7a6e(0x3fa)]['textContent']=_0x5923b5,this[_0x3d7a6e(0x3fa)][_0x3d7a6e(0x464)][_0x3d7a6e(0x289)]=_0x41f365+'px',this['labelEl'][_0x3d7a6e(0x464)][_0x3d7a6e(0x478)]=_0x3e6525+0x1+'px',this[_0x3d7a6e(0x3fa)][_0x3d7a6e(0x464)][_0x3d7a6e(0x4e4)]=_0x30bb4f,this[_0x3d7a6e(0x3fa)][_0x3d7a6e(0x464)][_0x3d7a6e(0x257)]=_0x437ef7,this[_0x3d7a6e(0x3fa)][_0x3d7a6e(0x464)][_0x3d7a6e(0x5c3)]='block';}[_0x1eb601(0x386)](){const _0x313e4=_0x1eb601;this[_0x313e4(0x40a)](),this[_0x313e4(0x3fa)][_0x313e4(0x5a0)]&&this[_0x313e4(0x3fa)]['parentNode'][_0x313e4(0x154)](this[_0x313e4(0x3fa)]);}[_0x1eb601(0x40a)](){const _0x16777b=_0x1eb601;this[_0x16777b(0x3fa)][_0x16777b(0x464)][_0x16777b(0x5c3)]=_0x16777b(0x53b);}[_0x1eb601(0x3de)](_0x3955a9){const _0x5000fa=_0x1eb601;var _0x4e0eab,_0xd73972,_0x4faef6;try{const _0x1d1615=(_0x4e0eab=this['context']['settings'][_0x5000fa(0x5c2)])==null?void 0x0:_0x4e0eab[_0x5000fa(0x42c)],_0x493e9f=(_0x3955a9==null?void 0x0:_0x3955a9[_0x5000fa(0x452)])?_0x1d1615==null?void 0x0:_0x1d1615[_0x5000fa(0x4eb)]:(_0x3955a9==null?void 0x0:_0x3955a9[_0x5000fa(0x3c1)])?_0x1d1615==null?void 0x0:_0x1d1615[_0x5000fa(0x3c1)]:_0x1d1615==null?void 0x0:_0x1d1615[_0x5000fa(0x53d)],_0x3ee173=(_0x4faef6=(_0xd73972=this[_0x5000fa(0xb9)][_0x5000fa(0x11b)])[_0x5000fa(0x15d)])==null?void 0x0:_0x4faef6[_0x5000fa(0x484)](_0xd73972,{'context':this[_0x5000fa(0xb9)],'seat':_0x3955a9,'style':_0x493e9f,'state':'default'});if(_0x3955a9==null?void 0x0:_0x3955a9[_0x5000fa(0x178)])return!![];if(_0x3ee173==null?void 0x0:_0x3ee173[_0x5000fa(0x455)])return!![];if(_0x493e9f==null?void 0x0:_0x493e9f[_0x5000fa(0x455)])return!![];return![];}catch(_0x823b1f){return![];}}},dpr4=window[_0x1eb601(0x415)],ArkanoidGame=class{constructor(_0x45e083,_0xb3346e,_0x11fd5a,_0x1d9d6b,_0xbb65db){const _0x30e993=_0x1eb601;this['active']=![],this['phase']=_0x30e993(0x2d4),this['phaseStartMs']=0x0,this[_0x30e993(0x451)]=0x15e,this[_0x30e993(0x4a4)]=null,this['ctx2d']=null,this[_0x30e993(0x52d)]=null,this[_0x30e993(0xb9)]=_0x45e083,this[_0x30e993(0x41c)]=_0xb3346e,this[_0x30e993(0x54d)]=_0x11fd5a,this[_0x30e993(0x528)]=_0x1d9d6b,this[_0x30e993(0x26b)]=_0xbb65db,this[_0x30e993(0x288)](),this[_0x30e993(0x493)]();}[_0x1eb601(0x247)](){const _0x455e87=_0x1eb601;return this[_0x455e87(0x4cd)]||this[_0x455e87(0x401)]===_0x455e87(0x2b0);}[_0x1eb601(0x28d)](){const _0x2121b6=_0x1eb601,_0x3303c4=this[_0x2121b6(0xb9)][_0x2121b6(0x368)]/dpr4;return _0x3303c4>=0.75&&_0x3303c4<=0x1;}[_0x1eb601(0x34f)](){const _0x811c4b=_0x1eb601;this['active']=!this[_0x811c4b(0x4cd)],this[_0x811c4b(0x4cd)]?(this['start'](),this[_0x811c4b(0x401)]=_0x811c4b(0x3b3),this['phaseStartMs']=performance[_0x811c4b(0x515)](),this['scheduleFrame']()):this[_0x811c4b(0x2a0)]();}[_0x1eb601(0x4e0)](){if(!this['active'])return;this['requestFadeOut']();}[_0x1eb601(0x2a0)](){const _0x5614d9=_0x1eb601;if(this[_0x5614d9(0x401)]===_0x5614d9(0x2b0))return;this['phase']='fadeOut',this['phaseStartMs']=performance[_0x5614d9(0x515)](),this[_0x5614d9(0x528)]();}['resize'](){const _0xea0bb5=_0x1eb601;if(!this[_0xea0bb5(0x4a4)])return;const {width:_0x53459c,height:_0x91dad0}=this[_0xea0bb5(0x54d)]();this[_0xea0bb5(0x4a4)][_0xea0bb5(0x55a)]=_0x53459c*dpr4,this[_0xea0bb5(0x4a4)][_0xea0bb5(0x3e0)]=_0x91dad0*dpr4,this[_0xea0bb5(0x4a4)][_0xea0bb5(0x464)][_0xea0bb5(0x55a)]=_0x53459c+'px',this[_0xea0bb5(0x4a4)][_0xea0bb5(0x464)]['height']=_0x91dad0+'px';if(this[_0xea0bb5(0x240)])this[_0xea0bb5(0x240)][_0xea0bb5(0xcd)](dpr4,0x0,0x0,dpr4,0x0,0x0);}['update'](_0x54130b){const _0x23fc88=_0x1eb601;if(!this[_0x23fc88(0x4cd)]||!this[_0x23fc88(0x52d)])return![];const _0x2c234a=this[_0x23fc88(0x52d)],_0x214406=_0x2c234a[_0x23fc88(0x4a5)]?(_0x54130b-_0x2c234a[_0x23fc88(0x4a5)])/16.6667:0x1,_0x585c4c=_0x214406*16.6667;_0x2c234a[_0x23fc88(0x4a5)]=_0x54130b;this['phase']===_0x23fc88(0x3b3)&&_0x54130b-this[_0x23fc88(0xdc)]>=this[_0x23fc88(0x451)]&&(this[_0x23fc88(0x401)]=_0x23fc88(0x4cd));const {width:_0x114e77,height:_0xeecd5b}=this['getStageSize'](),_0x4d02a5=0x8*_0x214406;if(_0x2c234a['leftPressed'])_0x2c234a['paddleX']-=_0x4d02a5;if(_0x2c234a[_0x23fc88(0x33c)])_0x2c234a[_0x23fc88(0x2ce)]+=_0x4d02a5;_0x2c234a['paddleX']=Math[_0x23fc88(0x516)](0x0,Math['min'](_0x114e77-_0x2c234a[_0x23fc88(0x34c)],_0x2c234a[_0x23fc88(0x2ce)]));if(_0x2c234a['attached'])return _0x2c234a['ballX']=_0x2c234a['paddleX']+_0x2c234a[_0x23fc88(0x34c)]/0x2,_0x2c234a['ballY']=_0x2c234a['paddleY']-_0x2c234a[_0x23fc88(0x117)]-0x1,!![];_0x2c234a[_0x23fc88(0x42f)]+=_0x2c234a[_0x23fc88(0x410)]*_0x214406,_0x2c234a[_0x23fc88(0x202)]+=_0x2c234a[_0x23fc88(0x3a6)]*_0x214406;if(_0x2c234a[_0x23fc88(0x42f)]-_0x2c234a[_0x23fc88(0x117)]<0x0)_0x2c234a[_0x23fc88(0x42f)]=_0x2c234a['ballRadius'],_0x2c234a[_0x23fc88(0x410)]*=-0x1;else _0x2c234a[_0x23fc88(0x42f)]+_0x2c234a[_0x23fc88(0x117)]>_0x114e77&&(_0x2c234a[_0x23fc88(0x42f)]=_0x114e77-_0x2c234a[_0x23fc88(0x117)],_0x2c234a['ballVX']*=-0x1);_0x2c234a[_0x23fc88(0x202)]-_0x2c234a[_0x23fc88(0x117)]<0x0&&(_0x2c234a[_0x23fc88(0x202)]=_0x2c234a[_0x23fc88(0x117)],_0x2c234a[_0x23fc88(0x3a6)]*=-0x1);if(_0x2c234a[_0x23fc88(0x202)]+_0x2c234a[_0x23fc88(0x117)]>=_0x2c234a[_0x23fc88(0x45e)]&&_0x2c234a['ballY']+_0x2c234a[_0x23fc88(0x117)]<=_0x2c234a[_0x23fc88(0x45e)]+_0x2c234a[_0x23fc88(0x3ef)]&&_0x2c234a[_0x23fc88(0x42f)]>=_0x2c234a[_0x23fc88(0x2ce)]&&_0x2c234a[_0x23fc88(0x42f)]<=_0x2c234a[_0x23fc88(0x2ce)]+_0x2c234a['paddleWidth']&&_0x2c234a[_0x23fc88(0x3a6)]>0x0){_0x2c234a['ballY']=_0x2c234a['paddleY']-_0x2c234a['ballRadius'];const _0x3c8312=(_0x2c234a['ballX']-(_0x2c234a['paddleX']+_0x2c234a[_0x23fc88(0x34c)]/0x2))/(_0x2c234a[_0x23fc88(0x34c)]/0x2);_0x2c234a[_0x23fc88(0x410)]=0x5*_0x3c8312,_0x2c234a['ballVY']*=-0x1;}let _0x401fb0=![];for(let _0x36fc73=0x0;_0x36fc73<_0x2c234a['bricks'][_0x23fc88(0x204)];_0x36fc73++){const _0x5a191f=_0x2c234a[_0x23fc88(0x10f)][_0x36fc73];if(!_0x5a191f['alive'])continue;_0x401fb0=!![];if(_0x2c234a[_0x23fc88(0x42f)]>=_0x5a191f['x']&&_0x2c234a[_0x23fc88(0x42f)]<=_0x5a191f['x']+_0x5a191f[_0x23fc88(0x55a)]&&_0x2c234a[_0x23fc88(0x202)]>=_0x5a191f['y']&&_0x2c234a[_0x23fc88(0x202)]<=_0x5a191f['y']+_0x5a191f[_0x23fc88(0x3e0)]){_0x5a191f[_0x23fc88(0x18f)]=![],this['spawnExplosionAt'](_0x5a191f['x']+_0x5a191f[_0x23fc88(0x55a)]/0x2,_0x5a191f['y']+_0x5a191f[_0x23fc88(0x3e0)]/0x2,_0x5a191f[_0x23fc88(0x4e4)]),_0x2c234a[_0x23fc88(0x3a6)]*=-0x1;break;}}if(!_0x401fb0)_0x2c234a[_0x23fc88(0x1b5)]=![];for(let _0x3909e1=_0x2c234a[_0x23fc88(0x443)][_0x23fc88(0x204)]-0x1;_0x3909e1>=0x0;_0x3909e1--){const _0xb0a2a9=_0x2c234a[_0x23fc88(0x443)][_0x3909e1];let _0x3809d3=!![];for(let _0x4a7018=0x0;_0x4a7018<_0xb0a2a9[_0x23fc88(0x1b0)]['length'];_0x4a7018++){const _0x5063e5=_0xb0a2a9[_0x23fc88(0x1b0)][_0x4a7018];_0x5063e5[_0x23fc88(0x227)]+=_0x585c4c,_0x5063e5['x']+=_0x5063e5['vx']*_0x214406,_0x5063e5['y']+=_0x5063e5['vy']*_0x214406,_0x5063e5['vy']+=0.12*_0x214406;if(_0x5063e5[_0x23fc88(0x227)]<_0x5063e5[_0x23fc88(0x466)])_0x3809d3=![];}_0x3809d3&&_0x2c234a[_0x23fc88(0x443)][_0x23fc88(0x165)](_0x3909e1,0x1);}return _0x2c234a[_0x23fc88(0x202)]-_0x2c234a[_0x23fc88(0x117)]>_0xeecd5b&&(_0x2c234a['attached']=!![],_0x2c234a[_0x23fc88(0x410)]=0x0,_0x2c234a[_0x23fc88(0x3a6)]=0x0,_0x2c234a['ballX']=_0x2c234a[_0x23fc88(0x2ce)]+_0x2c234a[_0x23fc88(0x34c)]/0x2,_0x2c234a['ballY']=_0x2c234a['paddleY']-_0x2c234a[_0x23fc88(0x117)]-0x1),(this['active']||this[_0x23fc88(0x401)]===_0x23fc88(0x2b0))&&(_0x2c234a[_0x23fc88(0x1b5)]||!![]);}[_0x1eb601(0x4e6)](){const _0x456f38=_0x1eb601;if(!this[_0x456f38(0x240)]||!this[_0x456f38(0x52d)])return;const _0x748288=this['ctx2d'],{width:_0x5040c9,height:_0x50d13e}=this['getStageSize']();_0x748288[_0x456f38(0x1d7)](0x0,0x0,_0x5040c9,_0x50d13e);const _0x57ac62=this[_0x456f38(0x52d)];let _0x161717=0x1;if(this[_0x456f38(0x401)]===_0x456f38(0x3b3))_0x161717=Math['min'](0x1,(performance[_0x456f38(0x515)]()-this[_0x456f38(0xdc)])/this[_0x456f38(0x451)]);else{if(this[_0x456f38(0x401)]===_0x456f38(0x2b0)){_0x161717=0x1-Math['min'](0x1,(performance[_0x456f38(0x515)]()-this['phaseStartMs'])/this[_0x456f38(0x451)]);if(_0x161717<=0x0){this[_0x456f38(0x457)]();return;}}}_0x748288[_0x456f38(0x4d1)](),_0x748288[_0x456f38(0x57a)]=_0x161717;for(let _0x553d1c=0x0;_0x553d1c<_0x57ac62['bricks'][_0x456f38(0x204)];_0x553d1c++){const _0x1b91e5=_0x57ac62[_0x456f38(0x10f)][_0x553d1c];if(!_0x1b91e5['alive'])continue;_0x748288[_0x456f38(0x57c)]=_0x1b91e5[_0x456f38(0x4e4)],_0x748288[_0x456f38(0x2be)](_0x1b91e5['x'],_0x1b91e5['y'],_0x1b91e5[_0x456f38(0x55a)],_0x1b91e5[_0x456f38(0x3e0)]);}_0x748288[_0x456f38(0x57c)]=_0x456f38(0x11e),_0x748288[_0x456f38(0x2be)](_0x57ac62[_0x456f38(0x2ce)],_0x57ac62[_0x456f38(0x45e)],_0x57ac62['paddleWidth'],_0x57ac62['paddleHeight']),_0x748288['beginPath'](),_0x748288['fillStyle']=_0x456f38(0x3d9),_0x748288[_0x456f38(0x3eb)](_0x57ac62['ballX'],_0x57ac62[_0x456f38(0x202)],_0x57ac62[_0x456f38(0x117)],0x0,Math['PI']*0x2),_0x748288[_0x456f38(0x344)](),_0x748288['restore']();for(let _0x4ae54a=0x0;_0x4ae54a<_0x57ac62[_0x456f38(0x443)][_0x456f38(0x204)];_0x4ae54a++){const _0x3c9906=_0x57ac62[_0x456f38(0x443)][_0x4ae54a];for(let _0x3747ed=0x0;_0x3747ed<_0x3c9906['particles']['length'];_0x3747ed++){const _0x4608ab=_0x3c9906[_0x456f38(0x1b0)][_0x3747ed],_0x111ff5=Math[_0x456f38(0x147)](0x1,_0x4608ab[_0x456f38(0x227)]/_0x4608ab[_0x456f38(0x466)]),_0x3c166a=_0x4608ab['size']*(0x1-_0x111ff5),_0x500334=0x1-_0x111ff5;_0x748288[_0x456f38(0x57a)]=_0x500334,_0x748288[_0x456f38(0x57c)]=_0x4608ab['color'],_0x748288['fillRect'](_0x4608ab['x']-_0x3c166a/0x2,_0x4608ab['y']-_0x3c166a/0x2,_0x3c166a,_0x3c166a);}_0x748288[_0x456f38(0x57a)]=0x1;}}[_0x1eb601(0x386)](){const _0x50cc8a=_0x1eb601;if(this[_0x50cc8a(0x22c)])window[_0x50cc8a(0x2de)](_0x50cc8a(0x2bb),this[_0x50cc8a(0x22c)]);if(this['keyupHandler'])window['removeEventListener'](_0x50cc8a(0x1d5),this['keyupHandler']);if(this['ctx2d']&&this[_0x50cc8a(0x4a4)]){const {width:_0x5e7fbb,height:_0xfd252e}=this[_0x50cc8a(0x54d)]();this[_0x50cc8a(0x240)][_0x50cc8a(0x1d7)](0x0,0x0,_0x5e7fbb,_0xfd252e);}this[_0x50cc8a(0x4a4)]&&(this[_0x50cc8a(0x4a4)][_0x50cc8a(0x1cf)](),this[_0x50cc8a(0x4a4)]=null,this[_0x50cc8a(0x240)]=null),this[_0x50cc8a(0x4cd)]=![],this[_0x50cc8a(0x52d)]=null;}[_0x1eb601(0x288)](){const _0x4f4411=_0x1eb601;if(this[_0x4f4411(0x4a4)])return;const {width:_0x2ddbb6,height:_0x1165f5}=this[_0x4f4411(0x54d)](),_0x3f7274=document[_0x4f4411(0x4a9)](_0x4f4411(0x4a4));_0x3f7274['width']=_0x2ddbb6*dpr4,_0x3f7274[_0x4f4411(0x3e0)]=_0x1165f5*dpr4,_0x3f7274[_0x4f4411(0x464)][_0x4f4411(0x43d)]=_0x4f4411(0x23d),_0x3f7274[_0x4f4411(0x464)][_0x4f4411(0x289)]='0',_0x3f7274[_0x4f4411(0x464)][_0x4f4411(0x478)]='0',_0x3f7274[_0x4f4411(0x464)][_0x4f4411(0x55a)]=_0x2ddbb6+'px',_0x3f7274[_0x4f4411(0x464)][_0x4f4411(0x3e0)]=_0x1165f5+'px',_0x3f7274[_0x4f4411(0x464)][_0x4f4411(0x53a)]='2',_0x3f7274[_0x4f4411(0x464)][_0x4f4411(0x1eb)]=_0x4f4411(0x53b),this['hostElement'][_0x4f4411(0xa9)](_0x3f7274);const _0x52bfc5=_0x3f7274[_0x4f4411(0x42e)]('2d');if(_0x52bfc5)_0x52bfc5[_0x4f4411(0xcd)](dpr4,0x0,0x0,dpr4,0x0,0x0);this[_0x4f4411(0x4a4)]=_0x3f7274,this[_0x4f4411(0x240)]=_0x52bfc5;}[_0x1eb601(0x493)](){const _0xe97336=_0x1eb601;this[_0xe97336(0x22c)]=_0x32ab4d=>{const _0x1fef4c=_0xe97336;if(_0x32ab4d['code']===_0x1fef4c(0x453)&&_0x32ab4d[_0x1fef4c(0x275)]&&_0x32ab4d[_0x1fef4c(0x37c)]&&_0x32ab4d['shiftKey']){_0x32ab4d[_0x1fef4c(0xdb)]();if(!this['active']&&!this[_0x1fef4c(0x28d)]())return;this['toggle']();return;}if(!this[_0x1fef4c(0x4cd)]||!this[_0x1fef4c(0x52d)])return;if(_0x32ab4d[_0x1fef4c(0x594)]===_0x1fef4c(0x174)||_0x32ab4d[_0x1fef4c(0x594)]===_0x1fef4c(0x3c8)){_0x32ab4d[_0x1fef4c(0xdb)]();if(this[_0x1fef4c(0x52d)][_0x1fef4c(0x58d)]){this[_0x1fef4c(0x52d)][_0x1fef4c(0x58d)]=![];const _0x3dc6b9=Math[_0x1fef4c(0x58a)]()*0.6-0.3;this[_0x1fef4c(0x52d)][_0x1fef4c(0x410)]=0x4+_0x3dc6b9*0x2,this[_0x1fef4c(0x52d)]['ballVY']=-0x4;}return;}if(_0x32ab4d['code']===_0x1fef4c(0x2bc))_0x32ab4d[_0x1fef4c(0xdb)](),this[_0x1fef4c(0x52d)]['leftPressed']=!![];else _0x32ab4d[_0x1fef4c(0x594)]===_0x1fef4c(0x38e)&&(_0x32ab4d[_0x1fef4c(0xdb)](),this[_0x1fef4c(0x52d)][_0x1fef4c(0x33c)]=!![]);},this[_0xe97336(0x497)]=_0x23f5bd=>{const _0x569eb8=_0xe97336;if(!this['active']||!this[_0x569eb8(0x52d)])return;if(_0x23f5bd[_0x569eb8(0x594)]===_0x569eb8(0x2bc))_0x23f5bd[_0x569eb8(0xdb)](),this['state'][_0x569eb8(0x3ec)]=![];else _0x23f5bd[_0x569eb8(0x594)]===_0x569eb8(0x38e)&&(_0x23f5bd[_0x569eb8(0xdb)](),this['state'][_0x569eb8(0x33c)]=![]);},window[_0xe97336(0x222)]('keydown',this[_0xe97336(0x22c)],{'passive':![]}),window['addEventListener'](_0xe97336(0x1d5),this[_0xe97336(0x497)],{'passive':![]});}[_0x1eb601(0x583)](){const _0xd13b33=_0x1eb601;if(!this[_0xd13b33(0x4a4)]||!this[_0xd13b33(0x240)])this[_0xd13b33(0x288)]();const {width:_0xbac0ae,height:_0xdd4b21}=this[_0xd13b33(0x54d)]();this[_0xd13b33(0xb9)][_0xd13b33(0x11b)]['hideSeats']=!![],this['invalidateSeatsGeometry']();const _0x15d9a9=[],_0x344c7d=(this['context'][_0xd13b33(0x272)]||[])[_0xd13b33(0x1f1)](_0x3f211b=>!_0x3f211b[_0xd13b33(0x452)]),_0x103b41=0x1a,_0x445ce7=0x12;for(let _0x56cc38=0x0;_0x56cc38<_0x344c7d['length'];_0x56cc38++){const _0x5021f2=_0x344c7d[_0x56cc38],_0x305d4f=this['context'][_0xd13b33(0x49d)]({'x':_0x5021f2['x'],'y':_0x5021f2['y']}),_0x214030=this[_0xd13b33(0xbf)](_0x5021f2[_0xd13b33(0x8e)]);_0x15d9a9[_0xd13b33(0x116)]({'x':_0x305d4f['x']-_0x103b41/0x2,'y':_0x305d4f['y']-_0x445ce7/0x2,'width':_0x103b41,'height':_0x445ce7,'color':_0x214030,'alive':!![]});}const _0x4b75f5=Math[_0xd13b33(0x516)](0x3c,Math[_0xd13b33(0x147)](0x8c,Math[_0xd13b33(0x241)](_0xbac0ae*0.2))),_0x110450=0xa,_0x362b95=_0xdd4b21-0x18,_0x5ea06d=(_0xbac0ae-_0x4b75f5)/0x2;this[_0xd13b33(0x52d)]={'paddleX':_0x5ea06d,'paddleY':_0x362b95,'paddleWidth':_0x4b75f5,'paddleHeight':_0x110450,'leftPressed':![],'rightPressed':![],'attached':!![],'ballX':_0x5ea06d+_0x4b75f5/0x2,'ballY':_0x362b95-0xa-0x1,'ballVX':0x0,'ballVY':0x0,'ballRadius':0xa,'bricks':_0x15d9a9,'brickWidth':_0x103b41,'brickHeight':_0x445ce7,'explosions':[],'running':!![],'lastTime':performance[_0xd13b33(0x515)]()};}[_0x1eb601(0x392)](){const _0x9fb245=_0x1eb601;if(this['ctx2d']&&this['canvas']){const {width:_0x21ea17,height:_0x5c77ab}=this['getStageSize']();this[_0x9fb245(0x240)][_0x9fb245(0x1d7)](0x0,0x0,_0x21ea17,_0x5c77ab);}this[_0x9fb245(0x52d)]=null;}[_0x1eb601(0x457)](){const _0x4faa0b=_0x1eb601;this[_0x4faa0b(0xb9)][_0x4faa0b(0x11b)]['hideSeats']=![],this['invalidateSeatsGeometry'](),this[_0x4faa0b(0x4cd)]=![],this[_0x4faa0b(0x401)]=_0x4faa0b(0x2d4),this[_0x4faa0b(0x392)]();}[_0x1eb601(0x51c)](_0x45dff5,_0x194e0e,_0x4f69f9){const _0x3517c0=_0x1eb601;if(!this[_0x3517c0(0x52d)])return;const _0x26a951=0xa+Math[_0x3517c0(0x576)](Math[_0x3517c0(0x58a)]()*0xa),_0x85c565=new Array(_0x26a951)['fill'](0x0)[_0x3517c0(0x2c8)](()=>{const _0x7a6724=_0x3517c0,_0x59839b=Math['random']()*Math['PI']*0x2,_0xe6cf8a=0x2+Math['random']()*0x3;return{'x':_0x45dff5,'y':_0x194e0e,'vx':Math[_0x7a6724(0x8f)](_0x59839b)*_0xe6cf8a,'vy':Math[_0x7a6724(0x510)](_0x59839b)*_0xe6cf8a,'size':0x6+Math[_0x7a6724(0x58a)]()*0x6,'lifeMs':0x190+Math[_0x7a6724(0x58a)]()*0xfa,'ageMs':0x0,'color':_0x4f69f9};});this[_0x3517c0(0x52d)][_0x3517c0(0x443)][_0x3517c0(0x116)]({'particles':_0x85c565});}['getSeatBaseColor'](_0xfafbe3){const _0x57be76=_0x1eb601;var _0x9451e9,_0x5486f9,_0x33f6a4,_0x1bdabe,_0xbd0b6a,_0x2cc934,_0x226d9b;if(_0xfafbe3!==void 0x0&&_0xfafbe3!==null){const _0x5e3083=(_0x9451e9=this['context'][_0x57be76(0x85)])==null?void 0x0:_0x9451e9[Number(_0xfafbe3)];if(_0x5e3083&&_0x5e3083[_0x57be76(0x4e4)])return _0x5e3083[_0x57be76(0x4e4)];}const _0x50b046=((_0x1bdabe=(_0x33f6a4=(_0x5486f9=this[_0x57be76(0xb9)][_0x57be76(0x11b)]['theme'])==null?void 0x0:_0x5486f9[_0x57be76(0x42c)])==null?void 0x0:_0x33f6a4[_0x57be76(0x53d)])==null?void 0x0:_0x1bdabe[_0x57be76(0x4e4)])||((_0x226d9b=(_0x2cc934=(_0xbd0b6a=this[_0x57be76(0xb9)][_0x57be76(0x11b)][_0x57be76(0x5c2)])==null?void 0x0:_0xbd0b6a[_0x57be76(0x42c)])==null?void 0x0:_0x2cc934['hovered'])==null?void 0x0:_0x226d9b[_0x57be76(0x4e4)]);return _0x50b046||_0x57be76(0x44d);}},dpr5=window[_0x1eb601(0x415)];function setRectangle(_0x49c15d,_0x441437,_0x444382,_0x4468d1,_0x16424f){const _0x1f9584=_0x1eb601;var _0x20c282=_0x441437,_0xf73f87=_0x441437+_0x4468d1,_0x293b3d=_0x444382,_0x592e9f=_0x444382+_0x16424f;_0x49c15d['bufferData'](_0x49c15d[_0x1f9584(0x54e)],new Float32Array([_0x20c282,_0x293b3d,_0xf73f87,_0x293b3d,_0x20c282,_0x592e9f,_0x20c282,_0x592e9f,_0xf73f87,_0x293b3d,_0xf73f87,_0x592e9f]),_0x49c15d[_0x1f9584(0x15f)]);}var WebGLCanvasLayer=class extends GLBase{constructor(_0x55bc37){const _0x5724e5=_0x1eb601;var _0xe1ad26;super(),this[_0x5724e5(0x9c)]=null,this[_0x5724e5(0x393)]=0x1,this[_0x5724e5(0x1c4)]=![],this[_0x5724e5(0x527)]=null,this['backgroundImageSrc']=null,this[_0x5724e5(0x299)]=![],this[_0x5724e5(0x90)]=null,this['iconAtlasWidth']=0x0,this[_0x5724e5(0x196)]=0x0,this[_0x5724e5(0x15e)]=new Map(),this['iconValues']=RESERVED_ICON_VALUES,this[_0x5724e5(0x7f)]=![],this['rowsRenderer']=null,this[_0x5724e5(0x461)]=null,this[_0x5724e5(0x169)]=null,this['backgroundRenderer']=null,this[_0x5724e5(0x262)]=null,this[_0x5724e5(0x5a8)]=null,this['textureWorker']=null,this[_0x5724e5(0x50d)]=null,this[_0x5724e5(0x385)]=![],this['overlayPulseEndTime']=null,this['animationFrameId']=null,this[_0x5724e5(0x3e5)]=null,this[_0x5724e5(0x31a)]=0xc8,this[_0x5724e5(0x544)]=null,this[_0x5724e5(0x49a)]=null,this[_0x5724e5(0x4f8)]=![],this[_0x5724e5(0x3a8)]={'rotationAngle':0x0,'center':{'x':0x0,'y':0x0},'top':{'x':0x0,'y':0x0},'section':{'x':0x0,'y':0x0},'skewAngle':0x0},this[_0x5724e5(0x264)]=_0x3ecf35=>{const _0x1dea79=_0x5724e5;this[_0x1dea79(0x4bb)]=null;let _0xe2392f=![];if(this[_0x1dea79(0x544)]&&this[_0x1dea79(0x544)][_0x1dea79(0x247)]()){const _0x4d6d93=this['secretGame'][_0x1dea79(0x279)](_0x3ecf35);_0xe2392f=_0x4d6d93||_0xe2392f;}if(this[_0x1dea79(0x1c4)]&&this['crossfadeStartTime']!==null){const _0x1a3693=Math[_0x1dea79(0x147)](0x1,(_0x3ecf35-this[_0x1dea79(0x3e5)])/this['crossfadeDurationMs']);this['textureMix']=_0x1a3693,_0x1a3693<0x1?_0xe2392f=!![]:(this[_0x1dea79(0x9c)]&&(this[_0x1dea79(0x33b)]&&this[_0x1dea79(0x33b)]!==this['nextTexture']&&this[_0x1dea79(0xf2)][_0x1dea79(0x3d6)](this[_0x1dea79(0x33b)]),this[_0x1dea79(0x33b)]=this[_0x1dea79(0x9c)],this['nextTexture']=null),this[_0x1dea79(0x1c4)]=![],this['crossfadeStartTime']=null,this[_0x1dea79(0x393)]=0x1);}this[_0x1dea79(0x2e8)]!==null&&(_0x3ecf35<this['overlayPulseEndTime']?_0xe2392f=!![]:this['overlayPulseEndTime']=null),this[_0x1dea79(0x306)]()&&(_0xe2392f=!![]),this[_0x1dea79(0xcf)]()&&(_0xe2392f=!![]),this[_0x1dea79(0x184)](),_0xe2392f&&this[_0x1dea79(0x528)]();},this[_0x5724e5(0xb9)]=_0x55bc37,this[_0x5724e5(0xb9)][_0x5724e5(0x1fb)][_0x5724e5(0xa9)](this['canvas']),this[_0x5724e5(0x481)](),this[_0x5724e5(0x385)]=typeof OffscreenCanvas!==_0x5724e5(0x4ad)&&typeof Worker!=='undefined',this[_0x5724e5(0xf2)]=this[_0x5724e5(0x4a4)][_0x5724e5(0x42e)](_0x5724e5(0xe3),{'antialias':!![],'preserveDrawingBuffer':![]});this[_0x5724e5(0x385)]&&this[_0x5724e5(0x13f)]();this[_0x5724e5(0xec)]=new VisibilityManager(this[_0x5724e5(0xb9)]),this['ctx'][_0x5724e5(0x1a4)](_0x5724e5(0x335)),this[_0x5724e5(0x2b9)]=new BackgroundRenderer(this[_0x5724e5(0xf2)],this['context']),this['seatsRenderer']=new SeatsRenderer(this[_0x5724e5(0xf2)],this['context'],()=>this[_0x5724e5(0x55a)]*dpr5,()=>this['height']*dpr5),this[_0x5724e5(0x461)]=new OverlayRenderer(this['ctx'],this[_0x5724e5(0xb9)],()=>this[_0x5724e5(0x55a)]*dpr5,()=>this['height']*dpr5);if(![]){const _0x30b3f1=null[_0x5724e5(0x53d)];this[_0x5724e5(0x262)]=new _0x30b3f1(this['ctx'],this[_0x5724e5(0xb9)],()=>this[_0x5724e5(0x55a)]*dpr5,()=>this[_0x5724e5(0x3e0)]*dpr5);}this['rowsRenderer']=new RowsRenderer(this['ctx'],this[_0x5724e5(0xb9)],()=>this[_0x5724e5(0x55a)]*dpr5,()=>this['height']*dpr5),this[_0x5724e5(0x5a8)]=new HoverSeatLabel(this[_0x5724e5(0xb9)],this['context']['element']),this[_0x5724e5(0x544)]=new ArkanoidGame(this['context'],this[_0x5724e5(0xb9)][_0x5724e5(0x1fb)],()=>({'width':this[_0x5724e5(0x55a)],'height':this[_0x5724e5(0x3e0)]}),()=>this[_0x5724e5(0x528)](),()=>{const _0x171ab0=_0x5724e5;var _0x42785f,_0x2bdcc4;return(_0x2bdcc4=(_0x42785f=this[_0x171ab0(0x169)])==null?void 0x0:_0x42785f[_0x171ab0(0xe2)])==null?void 0x0:_0x2bdcc4[_0x171ab0(0x484)](_0x42785f);}),initializeIconAtlas(((_0xe1ad26=this[_0x5724e5(0xb9)][_0x5724e5(0x11b)][_0x5724e5(0x5c2)])==null?void 0x0:_0xe1ad26[_0x5724e5(0x584)])||{},this[_0x5724e5(0x15e)],this[_0x5724e5(0xf2)],this[_0x5724e5(0x7f)])['then'](_0x2e983f=>{const _0x20ec2a=_0x5724e5;this[_0x20ec2a(0x90)]=_0x2e983f['texture'],this[_0x20ec2a(0xea)]=_0x2e983f['width'],this['iconAtlasHeight']=_0x2e983f[_0x20ec2a(0x3e0)];const _0x2ae9e2=Array[_0x20ec2a(0xd0)](this[_0x20ec2a(0x15e)]['keys']());this[_0x20ec2a(0x1ad)]=generateIconValues(_0x2ae9e2),this[_0x20ec2a(0x169)]&&this[_0x20ec2a(0x169)][_0x20ec2a(0x4a3)](this[_0x20ec2a(0x90)],this['iconsUVMap'],this[_0x20ec2a(0x1ad)]),this['overlayRenderer']&&this['overlayRenderer'][_0x20ec2a(0x4a3)](this[_0x20ec2a(0x90)],this[_0x20ec2a(0x15e)]),this['debugRenderer']&&(this[_0x20ec2a(0x262)][_0x20ec2a(0x2eb)](this[_0x20ec2a(0x90)],this['iconAtlasWidth'],this[_0x20ec2a(0x196)]),this[_0x20ec2a(0x262)]['setIconsUVMap'](this[_0x20ec2a(0x15e)]));});}get['backgroundElement'](){const _0x5da958=_0x1eb601;return this[_0x5da958(0x49a)];}set[_0x1eb601(0x57d)](_0x33dc6e){const _0x12761f=_0x1eb601;this[_0x12761f(0x49a)]=_0x33dc6e,this[_0x12761f(0x4ae)]=null,this[_0x12761f(0x527)]=null,void this[_0x12761f(0x439)]()[_0x12761f(0x34e)](()=>this[_0x12761f(0x2b2)]());}async[_0x1eb601(0x213)](){const _0x17e210=_0x1eb601;var _0x2530a4,_0x430796;try{await new Promise(_0x554b3c=>{const _0x62bc2a=()=>{const _0x47f43e=_0x51bc,_0x3518ad=this[_0x47f43e(0x299)]&&!!this[_0x47f43e(0x57d)]&&this['hasInitialDrawComplete'];if(_0x3518ad)return _0x554b3c();requestAnimationFrame(_0x62bc2a);};requestAnimationFrame(_0x62bc2a);}),this[_0x17e210(0x184)](),(_0x430796=(_0x2530a4=this[_0x17e210(0xf2)])[_0x17e210(0x598)])==null?void 0x0:_0x430796[_0x17e210(0x484)](_0x2530a4);const _0x35d7c6=this['canvas'][_0x17e210(0x123)](_0x17e210(0x20a)),_0x4d48b4=new Image();return _0x4d48b4[_0x17e210(0x569)]=_0x35d7c6,await new Promise(_0x531b2e=>{const _0x166564=_0x17e210;if(_0x4d48b4[_0x166564(0x32a)])return _0x531b2e();_0x4d48b4[_0x166564(0x479)]=()=>_0x531b2e(),_0x4d48b4[_0x166564(0x323)]=()=>_0x531b2e();}),_0x4d48b4;}catch(_0x42cf54){return null;}}[_0x1eb601(0x2ff)](_0x3c26a4,_0x324f21){const _0x12d3fa=_0x1eb601,_0x452405={'x':_0x324f21['x']+this[_0x12d3fa(0xb9)][_0x12d3fa(0x5b1)]['x']*_0x3c26a4,'y':_0x324f21['y']+this[_0x12d3fa(0xb9)]['translate']['y']*_0x3c26a4},_0x23a6d0=this['context'][_0x12d3fa(0x368)]*_0x3c26a4,_0x447706=this[_0x12d3fa(0xec)][_0x12d3fa(0x158)](_0x23a6d0);this['prevSeatVisibility']!==_0x447706[_0x12d3fa(0x44e)][_0x12d3fa(0x38a)]&&(this['prevSeatVisibility']=_0x447706['seat']['visible'],this[_0x12d3fa(0xb9)][_0x12d3fa(0x1f6)]=_0x447706,this[_0x12d3fa(0x465)]()),this['ctx']['clear'](this['ctx'][_0x12d3fa(0x28b)]),this[_0x12d3fa(0x299)]&&this[_0x12d3fa(0x33b)]&&this[_0x12d3fa(0x57d)]&&this[_0x12d3fa(0x2b9)]&&this[_0x12d3fa(0x2b9)][_0x12d3fa(0x4e6)](_0x23a6d0,_0x452405,this[_0x12d3fa(0x33b)],this[_0x12d3fa(0x9c)],this[_0x12d3fa(0x57d)],this[_0x12d3fa(0x393)]),this['context'][_0x12d3fa(0x11b)][_0x12d3fa(0x3f0)]&&this[_0x12d3fa(0x491)](_0x23a6d0,_0x452405),this[_0x12d3fa(0x265)]()&&this[_0x12d3fa(0x328)](_0x23a6d0,_0x452405),this[_0x12d3fa(0x439)]();}['getVisibleSeats'](){return[];}[_0x1eb601(0x343)](){const _0x589811=_0x1eb601;return{'inProgress':![],'rotationAngle':0x0,'skewAngle':0x0,'duration':this[_0x589811(0xb9)]['settings']['transformAnimationDuration']||0x0};}[_0x1eb601(0x330)](_0x2686f7,_0x3ddb31){return new Promise(_0x5ceed0=>{const _0xe9c24b=_0x51bc;_0x3ddb31['zoomToFit'](),setTimeout(()=>{_0x5ceed0(!![]);},(this['context'][_0xe9c24b(0x11b)][_0xe9c24b(0x38c)]||0x0)*0.5);});}[_0x1eb601(0x590)](){return{'x':0x0,'y':0x0};}get[_0x1eb601(0x55a)](){const _0x50280b=_0x1eb601;return this[_0x50280b(0xb9)][_0x50280b(0x1fb)][_0x50280b(0x5b6)];}get[_0x1eb601(0x3e0)](){const _0x12e6dd=_0x1eb601;return this[_0x12e6dd(0xb9)]['element'][_0x12e6dd(0x2aa)];}[_0x1eb601(0x386)](){const _0x960374=_0x1eb601;this[_0x960374(0x59e)]&&(this['textureWorker'][_0x960374(0x185)](),this[_0x960374(0x59e)]=null),this[_0x960374(0x50d)]&&(this['offscreenCanvas']=null),this['canvas'][_0x960374(0x55a)]=0x1,this['canvas'][_0x960374(0x3e0)]=0x1,this[_0x960374(0x4a4)]['remove'](),this['hoverSeatLabel']&&(this[_0x960374(0x5a8)][_0x960374(0x386)](),this[_0x960374(0x5a8)]=null),this[_0x960374(0x4bb)]!==null&&(cancelAnimationFrame(this[_0x960374(0x4bb)]),this['animationFrameId']=null),this[_0x960374(0xb9)][_0x960374(0x386)]();}['updateSize'](){const _0x2f4ba0=_0x1eb601;var _0x3af3cf;this['canvas'][_0x2f4ba0(0x55a)]=this['width']*dpr5,this['canvas'][_0x2f4ba0(0x3e0)]=this[_0x2f4ba0(0x3e0)]*dpr5,this[_0x2f4ba0(0x4a4)][_0x2f4ba0(0x464)][_0x2f4ba0(0x3e0)]=this[_0x2f4ba0(0x3e0)]+'px',this[_0x2f4ba0(0x4a4)][_0x2f4ba0(0x464)][_0x2f4ba0(0x55a)]=this[_0x2f4ba0(0x55a)]+'px',(_0x3af3cf=this[_0x2f4ba0(0x544)])==null?void 0x0:_0x3af3cf['resize'](),this[_0x2f4ba0(0x148)](!![]);}[_0x1eb601(0x468)](_0x2b7664,_0x161ad7){}async['updateBackground'](){const _0xd23791=_0x1eb601;var _0x29ac9b;setRectangle(this[_0xd23791(0xf2)],0x0,0x0,this[_0xd23791(0x57d)][_0xd23791(0x55a)],this[_0xd23791(0x57d)][_0xd23791(0x3e0)]);const _0x19f13f=this[_0xd23791(0x1c4)]?(_0x29ac9b=this['nextTexture'])!=null?_0x29ac9b:this[_0xd23791(0xf2)]['createTexture']():this[_0xd23791(0x33b)];if(!_0x19f13f)throw new Error(_0xd23791(0x4f2));if(this[_0xd23791(0x1c4)]&&!this['nextTexture'])this['nextTexture']=_0x19f13f;this[_0xd23791(0xf2)]['bindTexture'](this[_0xd23791(0xf2)]['TEXTURE_2D'],_0x19f13f),this[_0xd23791(0xf2)]['texImage2D'](this[_0xd23791(0xf2)][_0xd23791(0x20d)],0x0,this[_0xd23791(0xf2)]['RGBA'],this[_0xd23791(0xf2)]['RGBA'],this[_0xd23791(0xf2)]['UNSIGNED_BYTE'],this[_0xd23791(0x57d)]);}async[_0x1eb601(0x439)](){const _0x30cda9=_0x1eb601;if(!this[_0x30cda9(0x57d)])return;const _0x313bae=this[_0x30cda9(0x57d)][_0x30cda9(0x569)]||this[_0x30cda9(0x57d)][_0x30cda9(0x2df)];if(this[_0x30cda9(0x527)]||this['backgroundImageSrc']===_0x313bae)return;if(typeof createImageBitmap!==_0x30cda9(0x4ad))return this[_0x30cda9(0x1ff)]();if(this[_0x30cda9(0x385)]&&this[_0x30cda9(0x59e)])return this[_0x30cda9(0xe5)]();this[_0x30cda9(0x4ae)]=_0x313bae;const _0x397daa=!!this[_0x30cda9(0x33b)]&&this['isTextureReady'];return!_0x397daa&&(this[_0x30cda9(0x299)]=![]),this[_0x30cda9(0x527)]=new Promise(_0x5987f3=>{const _0x14f847=_0x1d4f66=>{const _0x3fdc0f=_0x51bc;_0x3fdc0f(0x16d)in window?requestIdleCallback(_0x1d4f66,{'timeout':0x10}):setTimeout(_0x1d4f66,0x0);};_0x14f847(()=>{const _0x1fc04b=_0x51bc;try{this['setupBackgroundTexture'](),this['isTextureReady']=!![],void this[_0x1fc04b(0x2b2)](),_0x5987f3();}catch(_0x30736e){console[_0x1fc04b(0xa5)]('Failed\x20to\x20load\x20background\x20texture:',_0x30736e),_0x5987f3();}finally{this[_0x1fc04b(0x527)]=null;}});}),this[_0x30cda9(0x527)];}async[_0x1eb601(0x1ff)](){const _0x36f15f=_0x1eb601;if(!this[_0x36f15f(0x57d)])return;const _0x1ae38f=this['backgroundElement']['src']||this['backgroundElement'][_0x36f15f(0x2df)];if(this[_0x36f15f(0x4ae)]===_0x1ae38f)return;this[_0x36f15f(0x4ae)]=_0x1ae38f;const _0x40e6a8=!!this[_0x36f15f(0x33b)]&&this[_0x36f15f(0x299)];return!_0x40e6a8&&(this[_0x36f15f(0x299)]=![]),this[_0x36f15f(0x527)]=new Promise(async _0x1dbf9a=>{const _0x319003=_0x36f15f;try{const _0x144348=await createImageBitmap(this['backgroundElement'],{'premultiplyAlpha':_0x319003(0x53b),'colorSpaceConversion':'none','resizeQuality':'high'}),_0x5b2162=_0x21c93b=>{const _0x412eaa=_0x319003;_0x412eaa(0x16d)in window?requestIdleCallback(_0x21c93b,{'timeout':0x10}):setTimeout(_0x21c93b,0x0);};_0x5b2162(()=>{const _0x3339b2=_0x319003;try{this['isCrossfading']=!!this['texture']&&this[_0x3339b2(0x299)],this[_0x3339b2(0x150)](_0x144348),this[_0x3339b2(0x299)]=!![],this['isCrossfading']&&this[_0x3339b2(0x33b)]&&this[_0x3339b2(0xe9)](),_0x144348['close']();}catch(_0x4cdaf3){console[_0x3339b2(0xa5)]('Failed\x20to\x20upload\x20ImageBitmap\x20texture:',_0x4cdaf3),this['setupBackgroundTexture'](),this[_0x3339b2(0x299)]=!![];}finally{void this['forceRedraw'](),_0x1dbf9a(),this['textureLoadingPromise']=null;}});}catch(_0x2b3edb){console[_0x319003(0xa5)](_0x319003(0x5bf),_0x2b3edb),this['setupBackgroundTexture'](),this[_0x319003(0x299)]=!![],void this[_0x319003(0x2b2)](),_0x1dbf9a(),this[_0x319003(0x527)]=null;}}),this['textureLoadingPromise'];}['setupBackgroundTextureFromImageBitmap'](_0x386fd7){const _0x5aecc2=_0x1eb601;var _0x2489eb;if(!this['texture']){this['texture']=this['ctx']['createTexture']();if(!this[_0x5aecc2(0x33b)])throw new Error(_0x5aecc2(0x4f2));}const _0x49d334=this[_0x5aecc2(0x1c4)]?(_0x2489eb=this[_0x5aecc2(0x9c)])!=null?_0x2489eb:this[_0x5aecc2(0xf2)][_0x5aecc2(0x18d)]():this[_0x5aecc2(0x33b)];if(!_0x49d334)throw new Error(_0x5aecc2(0x4f2));if(this[_0x5aecc2(0x1c4)]&&!this[_0x5aecc2(0x9c)])this['nextTexture']=_0x49d334;this['ctx']['bindTexture'](this[_0x5aecc2(0xf2)][_0x5aecc2(0x20d)],_0x49d334),this[_0x5aecc2(0xf2)][_0x5aecc2(0x136)](this[_0x5aecc2(0xf2)][_0x5aecc2(0x20d)],this['ctx'][_0x5aecc2(0x4b2)],this[_0x5aecc2(0xf2)]['CLAMP_TO_EDGE']),this['ctx'][_0x5aecc2(0x136)](this[_0x5aecc2(0xf2)][_0x5aecc2(0x20d)],this['ctx'][_0x5aecc2(0x54a)],this['ctx'][_0x5aecc2(0x43a)]),this['ctx'][_0x5aecc2(0x136)](this[_0x5aecc2(0xf2)]['TEXTURE_2D'],this[_0x5aecc2(0xf2)]['TEXTURE_MIN_FILTER'],this[_0x5aecc2(0xf2)]['LINEAR']),this[_0x5aecc2(0xf2)][_0x5aecc2(0x136)](this[_0x5aecc2(0xf2)][_0x5aecc2(0x20d)],this[_0x5aecc2(0xf2)][_0x5aecc2(0x358)],this[_0x5aecc2(0xf2)]['LINEAR']),this['ctx'][_0x5aecc2(0x246)](this[_0x5aecc2(0xf2)]['TEXTURE_2D'],0x0,this[_0x5aecc2(0xf2)][_0x5aecc2(0x3b0)],this[_0x5aecc2(0xf2)][_0x5aecc2(0x3b0)],this['ctx'][_0x5aecc2(0x322)],_0x386fd7),this[_0x5aecc2(0x278)](),this['texture']&&_0x49d334!==this[_0x5aecc2(0x33b)]?this['startTextureCrossfade']():(this[_0x5aecc2(0x33b)]=_0x49d334,this[_0x5aecc2(0x393)]=0x1);}[_0x1eb601(0x13f)](){const _0x273fc3=_0x1eb601;try{const _0x2c832d='\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20gl;\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20offscreenCanvas;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20self.onmessage\x20=\x20async\x20function(e)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{\x20type,\x20data\x20}\x20=\x20e.data;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(type\x20===\x20\x27init\x27)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20offscreenCanvas\x20=\x20data.canvas;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gl\x20=\x20offscreenCanvas.getContext(\x27webgl\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20self.postMessage({\x20type:\x20\x27ready\x27\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(type\x20===\x20\x27loadTexture\x27)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{\x20imageData,\x20width,\x20height\x20}\x20=\x20data;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20Create\x20texture\x20on\x20worker\x20thread\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20texture\x20=\x20gl.createTexture();\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gl.bindTexture(gl.TEXTURE_2D,\x20texture);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20Set\x20texture\x20parameters\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gl.texParameteri(gl.TEXTURE_2D,\x20gl.TEXTURE_WRAP_S,\x20gl.CLAMP_TO_EDGE);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gl.texParameteri(gl.TEXTURE_2D,\x20gl.TEXTURE_WRAP_T,\x20gl.CLAMP_TO_EDGE);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gl.texParameteri(gl.TEXTURE_2D,\x20gl.TEXTURE_MIN_FILTER,\x20gl.LINEAR);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gl.texParameteri(gl.TEXTURE_2D,\x20gl.TEXTURE_MAG_FILTER,\x20gl.LINEAR);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20Upload\x20texture\x20data\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gl.texImage2D(gl.TEXTURE_2D,\x200,\x20gl.RGBA,\x20width,\x20height,\x200,\x20gl.RGBA,\x20gl.UNSIGNED_BYTE,\x20imageData);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20self.postMessage({\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20type:\x20\x27textureReady\x27,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20success:\x20true,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20textureId:\x20texture\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20catch\x20(error)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20self.postMessage({\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20type:\x20\x27textureReady\x27,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20success:\x20false,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20error:\x20error.message\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20',_0x29af78=new Blob([_0x2c832d],{'type':_0x273fc3(0x3db)});this['textureWorker']=new Worker(URL['createObjectURL'](_0x29af78)),this[_0x273fc3(0x59e)][_0x273fc3(0x218)]=_0x23a282=>{const _0x243f04=_0x273fc3,{type:_0x133164,success:_0x5cbf4e,error:_0x4c8ff5}=_0x23a282[_0x243f04(0x137)];if(_0x133164===_0x243f04(0x43c)){}else{if(_0x133164==='textureReady'){if(_0x5cbf4e){this[_0x243f04(0x299)]=!![];if(this[_0x243f04(0x527)]){}}else console[_0x243f04(0xa5)]('Worker\x20texture\x20loading\x20failed:',_0x4c8ff5);}}},this[_0x273fc3(0x59e)][_0x273fc3(0x323)]=_0x1d1400=>{const _0x9f7aed=_0x273fc3;console[_0x9f7aed(0xa5)](_0x9f7aed(0x566),_0x1d1400),this[_0x9f7aed(0x59e)]=null,this[_0x9f7aed(0x385)]=![];};if(typeof OffscreenCanvas!==_0x273fc3(0x4ad))try{this[_0x273fc3(0x50d)]=new OffscreenCanvas(0x100,0x100),this[_0x273fc3(0x59e)][_0x273fc3(0x456)]({'type':_0x273fc3(0x88),'data':{'canvas':this[_0x273fc3(0x50d)]}},[this[_0x273fc3(0x50d)]]);}catch(_0x14c96c){console['warn']('Failed\x20to\x20create\x20offscreen\x20canvas:',_0x14c96c),this['supportsOffscreenCanvas']=![],this[_0x273fc3(0x59e)]=null;}}catch(_0x2da908){console[_0x273fc3(0xa5)](_0x273fc3(0xb1),_0x2da908),this['textureWorker']=null,this[_0x273fc3(0x385)]=![];}}async[_0x1eb601(0xe5)](){const _0xcf495=_0x1eb601;if(!this[_0xcf495(0x59e)]||!this[_0xcf495(0x57d)])return;const _0x1d18a6=this['backgroundElement'][_0xcf495(0x569)]||this['backgroundElement'][_0xcf495(0x2df)];if(this['backgroundImageSrc']===_0x1d18a6)return;this[_0xcf495(0x4ae)]=_0x1d18a6;const _0x25a048=!!this[_0xcf495(0x33b)]&&this['isTextureReady'];return!_0x25a048&&(this[_0xcf495(0x299)]=![]),this[_0xcf495(0x527)]=new Promise((_0x36a8cf,_0x55fb6f)=>{const _0x540b37=_0xcf495,_0x37f991=document[_0x540b37(0x4a9)](_0x540b37(0x4a4)),_0x5f17b7=_0x37f991[_0x540b37(0x42e)]('2d');_0x37f991['width']=this[_0x540b37(0x57d)][_0x540b37(0x55a)],_0x37f991[_0x540b37(0x3e0)]=this[_0x540b37(0x57d)][_0x540b37(0x3e0)],_0x5f17b7['drawImage'](this[_0x540b37(0x57d)],0x0,0x0);const _0xbfbf92=_0x5f17b7[_0x540b37(0x50b)](0x0,0x0,_0x37f991[_0x540b37(0x55a)],_0x37f991[_0x540b37(0x3e0)]);this['offscreenCanvas']&&(this[_0x540b37(0x50d)][_0x540b37(0x55a)]!==_0x37f991[_0x540b37(0x55a)]||this['offscreenCanvas'][_0x540b37(0x3e0)]!==_0x37f991['height'])&&(this[_0x540b37(0x50d)][_0x540b37(0x55a)]=_0x37f991[_0x540b37(0x55a)],this[_0x540b37(0x50d)][_0x540b37(0x3e0)]=_0x37f991[_0x540b37(0x3e0)]);const _0x57a791=_0x595f3f=>{const _0x470b9f=_0x540b37;_0x595f3f[_0x470b9f(0x137)][_0x470b9f(0x309)]===_0x470b9f(0x471)&&(this['textureWorker'][_0x470b9f(0x2de)](_0x470b9f(0x4c4),_0x57a791),_0x595f3f[_0x470b9f(0x137)][_0x470b9f(0x17c)]?(this[_0x470b9f(0x299)]=!![],void this[_0x470b9f(0x2b2)](),_0x36a8cf()):(console[_0x470b9f(0xa5)]('Worker\x20texture\x20loading\x20failed:',_0x595f3f[_0x470b9f(0x137)][_0x470b9f(0x1ca)]),this[_0x470b9f(0x398)](),this['isTextureReady']=!![],void this['forceRedraw'](),_0x36a8cf()),this[_0x470b9f(0x527)]=null);};this[_0x540b37(0x59e)][_0x540b37(0x222)]('message',_0x57a791),this[_0x540b37(0x59e)]['postMessage']({'type':_0x540b37(0xfc),'data':{'imageData':_0xbfbf92[_0x540b37(0x137)],'width':_0x37f991[_0x540b37(0x55a)],'height':_0x37f991[_0x540b37(0x3e0)]}},[_0xbfbf92[_0x540b37(0x137)]['buffer']]);}),this[_0xcf495(0x527)];}[_0x1eb601(0x398)](){const _0x3a6428=_0x1eb601;if(!this[_0x3a6428(0x57d)])return;if(!this[_0x3a6428(0x33b)]){this['texture']=this[_0x3a6428(0xf2)]['createTexture']();if(!this[_0x3a6428(0x33b)])throw new Error(_0x3a6428(0x4f2));}this[_0x3a6428(0xf2)]['bindTexture'](this[_0x3a6428(0xf2)][_0x3a6428(0x20d)],this['texture']),this[_0x3a6428(0xf2)][_0x3a6428(0x136)](this[_0x3a6428(0xf2)]['TEXTURE_2D'],this[_0x3a6428(0xf2)][_0x3a6428(0x4b2)],this[_0x3a6428(0xf2)][_0x3a6428(0x43a)]),this[_0x3a6428(0xf2)][_0x3a6428(0x136)](this[_0x3a6428(0xf2)][_0x3a6428(0x20d)],this[_0x3a6428(0xf2)][_0x3a6428(0x54a)],this[_0x3a6428(0xf2)][_0x3a6428(0x43a)]),this[_0x3a6428(0xf2)]['texParameteri'](this['ctx'][_0x3a6428(0x20d)],this[_0x3a6428(0xf2)][_0x3a6428(0x3f7)],this[_0x3a6428(0xf2)]['LINEAR']),this['ctx'][_0x3a6428(0x136)](this[_0x3a6428(0xf2)][_0x3a6428(0x20d)],this[_0x3a6428(0xf2)][_0x3a6428(0x358)],this[_0x3a6428(0xf2)][_0x3a6428(0x3af)]),this[_0x3a6428(0xf2)][_0x3a6428(0x246)](this[_0x3a6428(0xf2)][_0x3a6428(0x20d)],0x0,this['ctx']['RGBA'],this[_0x3a6428(0xf2)][_0x3a6428(0x3b0)],this[_0x3a6428(0xf2)][_0x3a6428(0x322)],this[_0x3a6428(0x57d)]),this[_0x3a6428(0x278)]();}[_0x1eb601(0x278)](){const _0x2d5ddf=_0x1eb601;if(!this[_0x2d5ddf(0x57d)])return;}async['setBackgroundGeometry'](){const _0x381dfc=_0x1eb601;this['backgroundElement']&&await this[_0x381dfc(0x439)]();}['setSeatsGeometry'](){const _0x29232c=_0x1eb601;var _0x3be7f6,_0x4c6bfc;this[_0x29232c(0x169)]&&((_0x4c6bfc=(_0x3be7f6=this[_0x29232c(0x169)])['invalidateStaticGeometry'])==null?void 0x0:_0x4c6bfc[_0x29232c(0x484)](_0x3be7f6));}async['redraw'](_0x230c4c){const _0x40aee7=_0x1eb601;var _0x3d7c34,_0x188fda;if(!this[_0x40aee7(0xb9)][_0x40aee7(0x272)])return;this['context'][_0x40aee7(0x1f6)]=this[_0x40aee7(0xec)][_0x40aee7(0x158)](this[_0x40aee7(0xb9)][_0x40aee7(0x368)]);const _0xac5b7c=this[_0x40aee7(0x258)]!==this['context'][_0x40aee7(0x1f6)]['seat'][_0x40aee7(0x38a)];_0xac5b7c&&(this[_0x40aee7(0x258)]=this[_0x40aee7(0xb9)][_0x40aee7(0x1f6)][_0x40aee7(0x44e)][_0x40aee7(0x38a)]);const _0x346ab1=((_0x3d7c34=this[_0x40aee7(0x57d)])==null?void 0x0:_0x3d7c34[_0x40aee7(0x569)])||((_0x188fda=this[_0x40aee7(0x57d)])==null?void 0x0:_0x188fda['currentSrc']),_0x43b5dc=this[_0x40aee7(0x4ae)]!==_0x346ab1;_0x43b5dc&&this[_0x40aee7(0x57d)]&&this[_0x40aee7(0x439)](),this[_0x40aee7(0x544)]&&(!this[_0x40aee7(0x544)][_0x40aee7(0x28d)]()&&this[_0x40aee7(0x544)][_0x40aee7(0x4e0)]()),this[_0x40aee7(0x184)](),(this['hasSelectedSeats']()||this['hasLoadingSeats']()||this[_0x40aee7(0xcf)]())&&this[_0x40aee7(0x528)]();}async[_0x1eb601(0x2b2)](){const _0xed83c4=_0x1eb601;if(!this[_0xed83c4(0xb9)]['seats'])return;this['context']['visibility']=this[_0xed83c4(0xec)][_0xed83c4(0x158)](this[_0xed83c4(0xb9)][_0xed83c4(0x368)]);const _0x45e003=this[_0xed83c4(0x258)]!==this[_0xed83c4(0xb9)][_0xed83c4(0x1f6)][_0xed83c4(0x44e)][_0xed83c4(0x38a)];_0x45e003&&(this['prevSeatVisibility']=this[_0xed83c4(0xb9)][_0xed83c4(0x1f6)][_0xed83c4(0x44e)][_0xed83c4(0x38a)]),this[_0xed83c4(0x528)]();}[_0x1eb601(0x184)](){const _0x476a38=_0x1eb601;var _0x202d5e;if((_0x202d5e=this['secretGame'])==null?void 0x0:_0x202d5e[_0x476a38(0x247)]()){this[_0x476a38(0x544)][_0x476a38(0x4e6)](),this[_0x476a38(0x2b3)]=!![];return;}this[_0x476a38(0xf2)]['viewport'](0x0,0x0,this['ctx'][_0x476a38(0x4a4)][_0x476a38(0x55a)],this[_0x476a38(0xf2)][_0x476a38(0x4a4)][_0x476a38(0x3e0)]),this[_0x476a38(0xf2)]['clear'](this[_0x476a38(0xf2)]['COLOR_BUFFER_BIT']|this['ctx'][_0x476a38(0x372)]|this[_0x476a38(0xf2)]['STENCIL_BUFFER_BIT']),this[_0x476a38(0x299)]&&this[_0x476a38(0x33b)]&&this[_0x476a38(0x2b9)]&&this['backgroundRenderer']['draw'](this[_0x476a38(0xb9)][_0x476a38(0x368)],this['context'][_0x476a38(0x5b1)],this[_0x476a38(0x33b)],this[_0x476a38(0x9c)],this[_0x476a38(0x57d)],this[_0x476a38(0x393)]),this[_0x476a38(0xb9)][_0x476a38(0x11b)]['showRows']&&this['drawRows'](this[_0x476a38(0xb9)]['scale'],this[_0x476a38(0xb9)][_0x476a38(0x5b1)]),this[_0x476a38(0x265)]()&&this['drawScene'](this[_0x476a38(0xb9)][_0x476a38(0x368)],this['context'][_0x476a38(0x5b1)]),this[_0x476a38(0x2b3)]=!![];}[_0x1eb601(0x328)](_0x2620fd,_0x4f762b){const _0x545b80=_0x1eb601;this[_0x545b80(0x169)]&&this[_0x545b80(0x169)][_0x545b80(0x4e6)](_0x2620fd,_0x4f762b),this[_0x545b80(0x166)](_0x2620fd,_0x4f762b);}[_0x1eb601(0x166)](_0x44dfba,_0x2a48f0){const _0x43c7e5=_0x1eb601;if(!this[_0x43c7e5(0x461)])return;this[_0x43c7e5(0x461)][_0x43c7e5(0x4e6)](_0x44dfba,_0x2a48f0);if(this['hoverSeatLabel'])this[_0x43c7e5(0x5a8)][_0x43c7e5(0x4e6)](_0x44dfba,_0x2a48f0);this[_0x43c7e5(0x262)]&&this[_0x43c7e5(0xb9)]['settings'][_0x43c7e5(0x138)]&&this['debugRenderer']['draw'](_0x44dfba,_0x2a48f0);}[_0x1eb601(0x1b2)](_0x472efa=0x3e8){const _0x54f9d7=_0x1eb601,_0x446c8e=performance[_0x54f9d7(0x515)]();this['overlayPulseEndTime']=Math[_0x54f9d7(0x516)](this[_0x54f9d7(0x2e8)]||0x0,_0x446c8e+_0x472efa),this['scheduleFrame']();}[_0x1eb601(0x265)](){const _0x686527=_0x1eb601;return this[_0x686527(0xb9)][_0x686527(0x1f6)][_0x686527(0x44e)][_0x686527(0x38a)]&&!this[_0x686527(0xb9)][_0x686527(0x11b)][_0x686527(0x46c)]&&!(this[_0x686527(0xb9)][_0x686527(0x56e)]&&this[_0x686527(0xb9)]['settings'][_0x686527(0x3f0)]);}[_0x1eb601(0xe9)](){const _0x4014d3=_0x1eb601;this[_0x4014d3(0x1c4)]=!![],this['textureMix']=0x0,this[_0x4014d3(0x3e5)]=performance[_0x4014d3(0x515)](),this['scheduleFrame']();}[_0x1eb601(0x307)](_0x31dedd,_0xc77213){const _0x64ec13=_0x1eb601;if(!this[_0x64ec13(0x299)]||!this['texture']||!this[_0x64ec13(0x57d)])return;this[_0x64ec13(0x2b9)]&&this[_0x64ec13(0x2b9)][_0x64ec13(0x4e6)](_0x31dedd,_0xc77213,this[_0x64ec13(0x33b)],this[_0x64ec13(0x9c)],this[_0x64ec13(0x57d)],this['textureMix']);}['renderContent'](){}[_0x1eb601(0x491)](_0x150b3a,_0x5c0bab){const _0x3e220d=_0x1eb601;if(!this[_0x3e220d(0x352)])return;this[_0x3e220d(0x352)]['draw'](_0x150b3a,_0x5c0bab);}[_0x1eb601(0x528)](){const _0x275e4e=_0x1eb601;if(this['animationFrameId']!==null)return;this[_0x275e4e(0x4bb)]=requestAnimationFrame(this[_0x275e4e(0x264)]);}[_0x1eb601(0xb6)](){const _0x34d036=_0x1eb601;try{const _0x3c73b6=this[_0x34d036(0xb9)]['getCartSeats']?this[_0x34d036(0xb9)][_0x34d036(0x28e)]():[];return Array['isArray'](_0x3c73b6)&&_0x3c73b6['length']>0x0;}catch(_0x3b60b4){return![];}}[_0x1eb601(0x306)](){const _0x32c703=_0x1eb601;try{const _0x207cb3=this[_0x32c703(0xb9)]['seats']||[];for(let _0x69d299=0x0;_0x69d299<_0x207cb3['length'];_0x69d299++){if(_0x207cb3[_0x69d299][_0x32c703(0x52d)]===_0x32c703(0x161))return!![];}return![];}catch(_0x481709){return![];}}[_0x1eb601(0xcf)](){const _0x153316=_0x1eb601;try{const _0x5cc5e9=this['context'][_0x153316(0x2d0)];if(!_0x5cc5e9)return![];const _0x2ba6e1=performance[_0x153316(0x515)](),_0x4daf43=0x12c;for(const _0x440eb2 in _0x5cc5e9){if(!Object['prototype'][_0x153316(0x2b4)][_0x153316(0x484)](_0x5cc5e9,_0x440eb2))continue;if(_0x2ba6e1-_0x5cc5e9[_0x440eb2]<_0x4daf43)return!![];}return![];}catch(_0x523628){return![];}}static[_0x1eb601(0x17a)](){const _0x5dc4cc=_0x1eb601;if(!window[_0x5dc4cc(0x1d0)])return![];try{const _0x18dc6b=document['createElement'](_0x5dc4cc(0x4a4));return Boolean(_0x18dc6b['getContext'](_0x5dc4cc(0xe3)));}catch(_0x22ff7f){return![];}}},defaultZoomSettings={'presets':[0.5,0x1,0x2],'maxZoomToFitScale':0x1,'minPinchZoom':0.5,'maxPinchZoom':0x2},isObject=_0x29a1d2=>_0x29a1d2!==null&&typeof _0x29a1d2===_0x1eb601(0x46a)&&!Array['isArray'](_0x29a1d2),deepMerge=(_0x12a3fb,_0xea36eb)=>{const _0x10bb4d=_0x1eb601,_0x3fb517={..._0x12a3fb};for(const _0x4981a4 in _0xea36eb){if(_0xea36eb[_0x10bb4d(0x2b4)](_0x4981a4)){const _0x1c82a5=_0x4981a4,_0x276e2e=_0x12a3fb[_0x1c82a5],_0x3c3cab=_0xea36eb[_0x1c82a5];isObject(_0x276e2e)&&isObject(_0x3c3cab)?_0x3fb517[_0x1c82a5]=deepMerge(_0x276e2e,_0x3c3cab):_0x3fb517[_0x1c82a5]=_0x3c3cab?_0x3c3cab:_0x276e2e;}}return _0x3fb517;},mergeTheme=(_0x137857,_0x2f0b90)=>{const _0xea16bf=_0x1eb601;if(!_0x137857&&!_0x2f0b90)return;if(_0x137857&&_0x2f0b90){const _0x2df60b={..._0x137857};return _0x2f0b90[_0xea16bf(0x4ef)]&&(_0x2df60b[_0xea16bf(0x4ef)]=_0x2f0b90[_0xea16bf(0x4ef)]),_0x2f0b90[_0xea16bf(0x589)]&&(_0x2df60b['gridStep']=_0x2f0b90[_0xea16bf(0x589)]),_0x2f0b90[_0xea16bf(0x584)]&&(_0x2df60b[_0xea16bf(0x584)]={..._0x137857[_0xea16bf(0x584)]||{},..._0x2f0b90[_0xea16bf(0x584)]}),_0x2f0b90[_0xea16bf(0x3cd)]&&(_0x2df60b[_0xea16bf(0x3cd)]=_0x2f0b90[_0xea16bf(0x3cd)]),_0x2f0b90[_0xea16bf(0x320)]&&(_0x2df60b[_0xea16bf(0x320)]=_0x2f0b90[_0xea16bf(0x320)]),_0x2f0b90['seatStyles']&&(_0x2df60b[_0xea16bf(0x42c)]=deepMerge(_0x137857[_0xea16bf(0x42c)]||{},_0x2f0b90[_0xea16bf(0x42c)])),_0x2f0b90[_0xea16bf(0x11f)]&&(_0x2df60b[_0xea16bf(0x11f)]=deepMerge(_0x137857[_0xea16bf(0x11f)]||{},_0x2f0b90[_0xea16bf(0x11f)])),_0x2df60b;}if(_0x2f0b90)return _0x2f0b90;return _0x137857;},mergeSettings=(_0x3487f7,_0x2c9fd6)=>{const _0x237d1c=_0x1eb601,_0x2b996a=Object[_0x237d1c(0x3df)]({},_0x3487f7,_0x2c9fd6);return _0x2b996a[_0x237d1c(0x5c2)]=mergeTheme(_0x3487f7[_0x237d1c(0x5c2)],_0x2c9fd6==null?void 0x0:_0x2c9fd6[_0x237d1c(0x5c2)]),_0x3487f7[_0x237d1c(0x16f)]&&(_0x2c9fd6==null?void 0x0:_0x2c9fd6['visibilitySettings'])&&(_0x2b996a['visibilitySettings']=deepMerge(_0x3487f7['visibilitySettings'],_0x2c9fd6==null?void 0x0:_0x2c9fd6[_0x237d1c(0x16f)])),_0x3487f7[_0x237d1c(0xe1)]&&(_0x2c9fd6==null?void 0x0:_0x2c9fd6[_0x237d1c(0xe1)])?_0x2b996a[_0x237d1c(0xe1)]=deepMerge(_0x3487f7[_0x237d1c(0xe1)],_0x2c9fd6==null?void 0x0:_0x2c9fd6[_0x237d1c(0xe1)]):_0x2b996a[_0x237d1c(0xe1)]=defaultZoomSettings,_0x2b996a;},SanitizeManager=class{};SanitizeManager[_0x1eb601(0x286)]=_0x3bd688=>{const _0x2a752d=_0x1eb601;return _0x3bd688[_0x2a752d(0x1f1)](_0x5dcc64=>Boolean(_0x5dcc64));};var TransformAnimator=class{constructor(_0x163199){const _0x16efd6=_0x1eb601;this[_0x16efd6(0x16e)]=_0x10095e=>{const _0x71590f=_0x16efd6;var _0x45a829,_0x343eb6,_0x28037f,_0x2a526c;if(!this[_0x71590f(0x118)])return;if(!this[_0x71590f(0x118)]['translate'])return;if(!this['animation'][_0x71590f(0x4db)])return;if(!this[_0x71590f(0x118)]['startTime'])this[_0x71590f(0x118)][_0x71590f(0x2b5)]=_0x10095e;if(_0x10095e-this[_0x71590f(0x118)][_0x71590f(0x2b5)]>this[_0x71590f(0x118)][_0x71590f(0x50a)]){this[_0x71590f(0x156)][_0x71590f(0x210)](),this[_0x71590f(0x156)]['commitTransform']({'toTranslate':this[_0x71590f(0x118)][_0x71590f(0x1b3)]}),cancelAnimationFrame(this['animation']['frame']),this[_0x71590f(0x118)]=void 0x0,this[_0x71590f(0x156)][_0x71590f(0x148)]();if(this[_0x71590f(0x36c)]!==void 0x0&&((_0x343eb6=(_0x45a829=this[_0x71590f(0x156)])[_0x71590f(0x365)])==null?void 0x0:_0x343eb6[_0x71590f(0x484)](_0x45a829))){const _0x458608=this[_0x71590f(0x36c)];this['pendingRotationAngle']=void 0x0,(_0x2a526c=(_0x28037f=this[_0x71590f(0x156)])['onPendingRotation'])==null?void 0x0:_0x2a526c[_0x71590f(0x484)](_0x28037f,_0x458608);}}else{const _0x45a0f0=Math[_0x71590f(0x147)](0x1,(_0x10095e-this[_0x71590f(0x118)][_0x71590f(0x2b5)])/this[_0x71590f(0x118)][_0x71590f(0x50a)]),_0xae3f69=cubicInOut(_0x45a0f0),_0x2bf419={'x':this[_0x71590f(0x118)][_0x71590f(0x5b1)]['x']+(this[_0x71590f(0x118)][_0x71590f(0x1b3)]['x']-this[_0x71590f(0x118)]['fromTranslate']['x'])*_0xae3f69,'y':this[_0x71590f(0x118)][_0x71590f(0x5b1)]['y']+(this[_0x71590f(0x118)][_0x71590f(0x1b3)]['y']-this[_0x71590f(0x118)][_0x71590f(0x4db)]['y'])*_0xae3f69};this['options'][_0x71590f(0x3c6)](this['animation'][_0x71590f(0xf4)],_0x2bf419),this[_0x71590f(0x118)]['frame']=requestAnimationFrame(this[_0x71590f(0x16e)]);}},this[_0x16efd6(0x518)]=_0x2c83b7=>{const _0x1d1b00=_0x16efd6;var _0x2610af,_0x471b23,_0x31eac3,_0x2cb6b0,_0x1b991a,_0x4f36bd,_0x3afec1,_0x100d3c;if(!this[_0x1d1b00(0x118)])return;if(!this['animation'][_0x1d1b00(0x2b5)])this[_0x1d1b00(0x118)][_0x1d1b00(0x2b5)]=_0x2c83b7;if(!this[_0x1d1b00(0x118)]['relativeTranslate'])return;if(_0x2c83b7-this['animation'][_0x1d1b00(0x2b5)]>this[_0x1d1b00(0x118)][_0x1d1b00(0x50a)]){this['options'][_0x1d1b00(0x210)](),this[_0x1d1b00(0x156)][_0x1d1b00(0x17b)]({'toScale':this[_0x1d1b00(0x118)][_0x1d1b00(0xf4)],'toTranslate':this[_0x1d1b00(0x118)][_0x1d1b00(0x1b3)],'toRotationZ':this[_0x1d1b00(0x118)][_0x1d1b00(0x229)],'toTiltX':this[_0x1d1b00(0x118)][_0x1d1b00(0x13e)],'toPerspectiveZ':this[_0x1d1b00(0x118)][_0x1d1b00(0x3d0)]}),cancelAnimationFrame(this[_0x1d1b00(0x118)][_0x1d1b00(0x567)]),(_0x471b23=(_0x2610af=this['options'])[_0x1d1b00(0xef)])==null?void 0x0:_0x471b23[_0x1d1b00(0x484)](_0x2610af,this[_0x1d1b00(0x118)][_0x1d1b00(0xf4)],this[_0x1d1b00(0x118)][_0x1d1b00(0x501)]);const _0x1fcc7f=this['animation']['onComplete'];this[_0x1d1b00(0x118)]=void 0x0,this[_0x1d1b00(0x156)][_0x1d1b00(0x148)]();if(_0x1fcc7f)_0x1fcc7f();if(this[_0x1d1b00(0x36c)]!==void 0x0&&((_0x2cb6b0=(_0x31eac3=this[_0x1d1b00(0x156)])[_0x1d1b00(0x365)])==null?void 0x0:_0x2cb6b0['call'](_0x31eac3))){const _0x597745=this['pendingRotationAngle'];this[_0x1d1b00(0x36c)]=void 0x0,(_0x4f36bd=(_0x1b991a=this[_0x1d1b00(0x156)])[_0x1d1b00(0x552)])==null?void 0x0:_0x4f36bd[_0x1d1b00(0x484)](_0x1b991a,_0x597745);}}else{const _0x4e6f1e=Math[_0x1d1b00(0x147)](0x1,(_0x2c83b7-this[_0x1d1b00(0x118)][_0x1d1b00(0x2b5)])/this[_0x1d1b00(0x118)][_0x1d1b00(0x50a)]),_0x35e8c7=cubicInOut(_0x4e6f1e),_0x5be430=0x1+(this[_0x1d1b00(0x118)][_0x1d1b00(0xf4)]/this[_0x1d1b00(0x118)][_0x1d1b00(0x501)]-0x1)*_0x35e8c7,_0x4c2be2={'x':this[_0x1d1b00(0x118)]['relativeTranslate']['x']*_0x35e8c7,'y':this[_0x1d1b00(0x118)][_0x1d1b00(0x2d3)]['y']*_0x35e8c7};(this[_0x1d1b00(0x118)][_0x1d1b00(0x44b)]!==void 0x0&&this[_0x1d1b00(0x118)][_0x1d1b00(0x229)]!==void 0x0||this[_0x1d1b00(0x118)]['fromTiltX']!==void 0x0&&this[_0x1d1b00(0x118)][_0x1d1b00(0x13e)]!==void 0x0||this[_0x1d1b00(0x118)][_0x1d1b00(0x50c)]!==void 0x0&&this[_0x1d1b00(0x118)][_0x1d1b00(0x3d0)]!==void 0x0)&&((_0x100d3c=(_0x3afec1=this[_0x1d1b00(0x156)])['applyIntermediate3D'])==null?void 0x0:_0x100d3c[_0x1d1b00(0x484)](_0x3afec1,{'rotationZ':this[_0x1d1b00(0x118)]['fromRotationZ']!==void 0x0&&this[_0x1d1b00(0x118)][_0x1d1b00(0x229)]!==void 0x0?this[_0x1d1b00(0x118)]['fromRotationZ']+(this[_0x1d1b00(0x118)][_0x1d1b00(0x229)]-this[_0x1d1b00(0x118)][_0x1d1b00(0x44b)])*_0x35e8c7:void 0x0,'tiltX':this[_0x1d1b00(0x118)][_0x1d1b00(0x45c)]!==void 0x0&&this[_0x1d1b00(0x118)][_0x1d1b00(0x13e)]!==void 0x0?this['animation'][_0x1d1b00(0x45c)]+(this[_0x1d1b00(0x118)][_0x1d1b00(0x13e)]-this['animation'][_0x1d1b00(0x45c)])*_0x35e8c7:void 0x0,'perspectiveZ':this[_0x1d1b00(0x118)][_0x1d1b00(0x50c)]!==void 0x0&&this[_0x1d1b00(0x118)][_0x1d1b00(0x3d0)]!==void 0x0?this[_0x1d1b00(0x118)]['fromPerspectiveZ']+(this[_0x1d1b00(0x118)][_0x1d1b00(0x3d0)]-this[_0x1d1b00(0x118)][_0x1d1b00(0x50c)])*_0x35e8c7:void 0x0})),this[_0x1d1b00(0x156)][_0x1d1b00(0x3c6)](_0x5be430,_0x4c2be2),this['animation']['frame']=requestAnimationFrame(this[_0x1d1b00(0x518)]);}},this[_0x16efd6(0x156)]=_0x163199;}[_0x1eb601(0x490)](){const _0x27b7b3=_0x1eb601;return!!this[_0x27b7b3(0x118)]&&this[_0x27b7b3(0x118)][_0x27b7b3(0x92)];}[_0x1eb601(0x190)](){const _0x526d10=_0x1eb601;this[_0x526d10(0x118)]&&(cancelAnimationFrame(this[_0x526d10(0x118)]['frame']),this[_0x526d10(0x156)][_0x526d10(0x210)](),this[_0x526d10(0x118)]=void 0x0);}[_0x1eb601(0x408)](_0x3abbc5){const _0x58ac90=_0x1eb601;this[_0x58ac90(0x36c)]=_0x3abbc5;}[_0x1eb601(0x4a0)](_0xcf0b4a,_0x233368,_0x9324c3,_0x5ec934){const _0x5e52b3=_0x1eb601;if(this['animation'])return;this[_0x5e52b3(0x156)][_0x5e52b3(0x5b5)](),this[_0x5e52b3(0x118)]={'type':_0x5e52b3(0x143),'duration':_0x5ec934,'fromScale':0x1,'toScale':0x1,'translate':_0xcf0b4a,'fromTranslate':_0x233368,'toTranslate':_0x9324c3,'inProgress':!![],'frame':requestAnimationFrame(this['animationPanStep'])};}[_0x1eb601(0x2da)](_0x2efdd1){const _0x4400bd=_0x1eb601;this[_0x4400bd(0x118)]&&(cancelAnimationFrame(this[_0x4400bd(0x118)][_0x4400bd(0x567)]),this[_0x4400bd(0x156)]['onEnd'](),this['animation']=void 0x0),this[_0x4400bd(0x156)][_0x4400bd(0x5b5)](),this[_0x4400bd(0x118)]={'type':_0x4400bd(0x111),'duration':_0x2efdd1[_0x4400bd(0x50a)],'fromScale':_0x2efdd1[_0x4400bd(0x501)],'toScale':_0x2efdd1[_0x4400bd(0xf4)],'toTranslate':_0x2efdd1['toTranslate'],'relativeTranslate':_0x2efdd1['relativeTranslate'],'fromRotationZ':_0x2efdd1[_0x4400bd(0x44b)],'toRotationZ':_0x2efdd1[_0x4400bd(0x229)],'fromTiltX':_0x2efdd1[_0x4400bd(0x45c)],'toTiltX':_0x2efdd1[_0x4400bd(0x13e)],'fromPerspectiveZ':_0x2efdd1['fromPerspectiveZ'],'toPerspectiveZ':_0x2efdd1[_0x4400bd(0x3d0)],'onComplete':_0x2efdd1[_0x4400bd(0x420)],'inProgress':!![],'frame':requestAnimationFrame(this['animationStep'])};}},RotationAnimation=class{constructor(){this['animation']=null;}[_0x1eb601(0x583)](_0x2306ce,_0xa012c9){const _0x4040d7=_0x1eb601;this['stop'](),this[_0x4040d7(0x118)]={'startTime':Date[_0x4040d7(0x515)](),'animationId':null,'lastRotationZ':0x0,'angle':_0x2306ce,'isRunning':!![]};const _0x36b561=()=>{const _0x3e21a3=_0x4040d7;if(!this[_0x3e21a3(0x118)]||!this[_0x3e21a3(0x118)][_0x3e21a3(0x490)])return;const _0x303c81=(Date['now']()-this[_0x3e21a3(0x118)]['startTime'])/0x3e8,_0x4cfc30=_0x303c81*this[_0x3e21a3(0x118)][_0x3e21a3(0x2c5)]%(Math['PI']*0x2);Math['abs'](_0x4cfc30-this[_0x3e21a3(0x118)]['lastRotationZ'])>0.001&&(this['animation']['lastRotationZ']=_0x4cfc30,_0xa012c9(_0x4cfc30)),this[_0x3e21a3(0x118)]['animationId']=requestAnimationFrame(_0x36b561);};return this[_0x4040d7(0x118)][_0x4040d7(0x3f8)]=requestAnimationFrame(_0x36b561),this[_0x4040d7(0x118)][_0x4040d7(0x3f8)];}[_0x1eb601(0x392)](){const _0x5e1782=_0x1eb601;this[_0x5e1782(0x118)]&&this[_0x5e1782(0x118)][_0x5e1782(0x3f8)]!==null&&(this[_0x5e1782(0x118)]['isRunning']=![],cancelAnimationFrame(this[_0x5e1782(0x118)][_0x5e1782(0x3f8)]),this[_0x5e1782(0x118)]=null);}['isRunning'](){const _0x91125=_0x1eb601;return this['animation']!==null&&this[_0x91125(0x118)]['isRunning'];}[_0x1eb601(0x5a2)](){const _0x40b2c9=_0x1eb601;var _0x599945;return((_0x599945=this[_0x40b2c9(0x118)])==null?void 0x0:_0x599945[_0x40b2c9(0x3f8)])||null;}[_0x1eb601(0x23e)](){const _0x14cfb0=_0x1eb601;return this[_0x14cfb0(0x118)];}};function animate3D(_0x14189e,_0x3e2b21,_0x22d046,_0x5a76ce){const _0x52a4c7=_0x1eb601;var _0x57dabd,_0x297b4b,_0x1665cc,_0x476596,_0x4857e7,_0x8061ed;const _0x574b58=(_0x57dabd=_0x14189e[_0x52a4c7(0x5a3)])!=null?_0x57dabd:0x0,_0x40255b=(_0x297b4b=_0x14189e[_0x52a4c7(0x226)])!=null?_0x297b4b:0x0,_0x6b41c7=(_0x1665cc=_0x14189e[_0x52a4c7(0x280)])!=null?_0x1665cc:0x0,_0x623f46=(_0x476596=_0x3e2b21[_0x52a4c7(0x5a3)])!=null?_0x476596:_0x574b58,_0x703641=(_0x4857e7=_0x3e2b21[_0x52a4c7(0x226)])!=null?_0x4857e7:_0x40255b,_0x322e18=(_0x8061ed=_0x3e2b21[_0x52a4c7(0x280)])!=null?_0x8061ed:_0x6b41c7,_0x3e6bef=performance[_0x52a4c7(0x515)]();return new Promise(_0x255100=>{const _0x3b171c=_0x38116d=>{const _0x3d427e=_0x51bc,_0x224fef=Math[_0x3d427e(0x147)](0x1,(_0x38116d-_0x3e6bef)/Math[_0x3d427e(0x516)](0x1,_0x22d046)),_0x532b78=cubicInOut(_0x224fef);_0x5a76ce({'rotationZ':_0x574b58+(_0x623f46-_0x574b58)*_0x532b78,'perspectiveZ':_0x40255b+(_0x703641-_0x40255b)*_0x532b78,'tiltX':_0x6b41c7+(_0x322e18-_0x6b41c7)*_0x532b78}),_0x224fef<0x1?requestAnimationFrame(_0x3b171c):(_0x5a76ce({'rotationZ':_0x623f46,'perspectiveZ':_0x703641,'tiltX':_0x322e18}),_0x255100());};requestAnimationFrame(_0x3b171c);});}!window['crypto']&&(window[_0x1eb601(0x3cc)]=window[_0x1eb601(0x592)]);var DPR3=window[_0x1eb601(0x415)],paddingSetting=0.5,emptyPaddingSettings=0x0,Renderer=class{constructor(_0x320792,_0xabd2d0,_0x3bc1be){const _0x2cf2be=_0x1eb601;this[_0x2cf2be(0x530)]=![],this[_0x2cf2be(0x490)]=!![],this[_0x2cf2be(0x3bb)]=![],this[_0x2cf2be(0x2ba)]=![],this[_0x2cf2be(0x235)]={},this[_0x2cf2be(0x9d)]=()=>{const _0x4e5c27=_0x2cf2be;this[_0x4e5c27(0x530)]=!![];},this[_0x2cf2be(0x42a)]=_0x5db6bb=>{const _0x474344=_0x2cf2be;_0x5db6bb&&this[_0x474344(0xb9)]['settings'][_0x474344(0x31e)]&&this[_0x474344(0xb9)][_0x474344(0x11b)]['onSeatDebouncedEnter'](_0x5db6bb);},this[_0x2cf2be(0x350)]=_0x192e5e=>{const _0xa25c56=_0x2cf2be;this[_0xa25c56(0x2d8)]['send'](_0x192e5e);},this[_0x2cf2be(0x145)]=_0x1fa65f=>{const _0x1a95a3=_0x2cf2be;this[_0x1a95a3(0x3ee)]({'x':_0x1fa65f[_0x1a95a3(0x14e)]['x']*DPR3,'y':_0x1fa65f['delta']['y']*DPR3},_0x1fa65f['isFinish']),this[_0x1a95a3(0xb9)][_0x1a95a3(0x11b)][_0x1a95a3(0x1f9)]&&this[_0x1a95a3(0xb9)][_0x1a95a3(0x11b)][_0x1a95a3(0x1f9)](_0x1fa65f['delta'],_0x1fa65f['isFinish']);},this[_0x2cf2be(0x11c)]=_0xe014ec=>{const _0x12075a=_0x2cf2be,_0x22c514=window[_0x12075a(0x415)],_0x1d384a={'x':(_0xe014ec[_0x12075a(0x321)]['x']*_0x22c514-this[_0x12075a(0xb9)]['translate']['x'])/this[_0x12075a(0xb9)][_0x12075a(0x368)],'y':(_0xe014ec[_0x12075a(0x321)]['y']*_0x22c514-this[_0x12075a(0xb9)][_0x12075a(0x5b1)]['y'])/this[_0x12075a(0xb9)][_0x12075a(0x368)],'width':_0xe014ec[_0x12075a(0x321)][_0x12075a(0x55a)]/this[_0x12075a(0xb9)][_0x12075a(0x368)]*_0x22c514,'height':_0xe014ec[_0x12075a(0x321)]['height']/this['context'][_0x12075a(0x368)]*_0x22c514};_0xe014ec[_0x12075a(0x59f)]?this[_0x12075a(0xb9)]['rectSelectRows'](_0x1d384a,_0xe014ec[_0x12075a(0x549)]):this[_0x12075a(0xb9)][_0x12075a(0x268)](_0x1d384a,_0xe014ec[_0x12075a(0x549)]);_0xe014ec[_0x12075a(0x560)]&&this[_0x12075a(0x10b)][_0x12075a(0x40a)]();if(_0xe014ec[_0x12075a(0x1c6)]){this[_0x12075a(0x417)]['hideSelectionRect'](),this[_0x12075a(0x10b)][_0x12075a(0x49c)]();this[_0x12075a(0xb9)][_0x12075a(0x11b)][_0x12075a(0x89)]&&this[_0x12075a(0xb9)]['settings']['onSeatSelectionChange']();const _0x342710=this[_0x12075a(0xb9)][_0x12075a(0x3bd)],_0x4c420f=this[_0x12075a(0xb9)][_0x12075a(0x272)][_0x12075a(0x1f1)](_0x114b44=>_0x342710[_0x12075a(0x308)](_0x114b44['id']));this[_0x12075a(0xb9)][_0x12075a(0x11b)][_0x12075a(0x39d)]&&this[_0x12075a(0xb9)][_0x12075a(0x11b)][_0x12075a(0x39d)](_0x4c420f),this['context'][_0x12075a(0x11b)][_0x12075a(0x4d5)]&&this[_0x12075a(0xb9)][_0x12075a(0x11b)][_0x12075a(0x4d5)](_0x4c420f);}else this[_0x12075a(0x417)]['showSelectionRect'](_0x1d384a);},this[_0x2cf2be(0xa3)]=_0x5697f4=>{const _0x1d7621=_0x2cf2be;if(this[_0x1d7621(0xb9)][_0x1d7621(0x3bd)]['length']===0x0)return;const _0x5ee396=this[_0x1d7621(0xb9)][_0x1d7621(0x3bd)];this['context'][_0x1d7621(0x3bd)]=[],this['selectionLayer']['redraw']();this['context'][_0x1d7621(0x11b)][_0x1d7621(0x89)]&&this[_0x1d7621(0xb9)][_0x1d7621(0x11b)][_0x1d7621(0x89)]();const _0xc88648=this[_0x1d7621(0xb9)][_0x1d7621(0x272)]['filter'](_0x298317=>_0x5ee396[_0x1d7621(0x308)](_0x298317['id']));this[_0x1d7621(0xb9)]['settings'][_0x1d7621(0x39d)]&&this[_0x1d7621(0xb9)][_0x1d7621(0x11b)]['onSeatsSelectionChange'](_0xc88648),this['context']['settings'][_0x1d7621(0x4bf)]&&this[_0x1d7621(0xb9)][_0x1d7621(0x11b)]['onSeatsDeselect'](_0xc88648);},this[_0x2cf2be(0x2fe)]=_0x106aca=>{const _0x5b0e7b=_0x2cf2be;this['startAnimation']((_0x106aca[_0x5b0e7b(0x368)]||0x1)*DPR3,_0x106aca[_0x5b0e7b(0x1c3)]);},this['handleDestSeatSelect']=({seat:_0x2dda42,isRowsMode:_0x7fd8e1,selectMode:_0x5af8fd})=>{const _0x232ecb=_0x2cf2be;_0x7fd8e1?this['context'][_0x232ecb(0x419)]((this['context'][_0x232ecb(0x2c4)][_0x2dda42['rowId']]||[])['map'](_0xa716e7=>_0xa716e7['id']),_0x5af8fd):this[_0x232ecb(0xb9)][_0x232ecb(0x419)]([_0x2dda42['id']],_0x5af8fd),this[_0x232ecb(0x417)][_0x232ecb(0x148)](),this['context'][_0x232ecb(0x11b)]['onSeatSelectionChange']&&this[_0x232ecb(0xb9)][_0x232ecb(0x11b)]['onSeatSelectionChange'](),this[_0x232ecb(0xb9)][_0x232ecb(0x11b)][_0x232ecb(0x4d5)]&&this[_0x232ecb(0xb9)][_0x232ecb(0x11b)][_0x232ecb(0x4d5)](_0x7fd8e1?this[_0x232ecb(0xb9)][_0x232ecb(0x2c4)][_0x2dda42['rowId']]:[_0x2dda42]),this[_0x232ecb(0xb9)][_0x232ecb(0x11b)][_0x232ecb(0x39d)]&&this['context'][_0x232ecb(0x11b)][_0x232ecb(0x39d)](_0x7fd8e1?this[_0x232ecb(0xb9)][_0x232ecb(0x2c4)][_0x2dda42['rowId']]:[_0x2dda42]);},this[_0x2cf2be(0x4a6)]=async({seat:_0x105154})=>{const _0x2992f8=_0x2cf2be;var _0x4d2028,_0x2de1ef,_0xbd1e99,_0x5411e5,_0x2bc327,_0x492655;if(_0x105154['locked'])return;const _0x257ee5=this[_0x2992f8(0xb9)][_0x2992f8(0x237)](),_0x1167cd=this[_0x2992f8(0x2f1)](_0x105154),_0x3e3f04=!this[_0x2992f8(0xb9)][_0x2992f8(0x244)](_0x105154['id']),_0xa52b6c=this['context']['settings'][_0x2992f8(0x339)];if(_0xa52b6c&&_0xa52b6c>0x1){this[_0x2992f8(0x472)]();const _0x595027=this['findNearestSeatGroup'](_0x1167cd['id'],_0xa52b6c);_0x595027?_0x595027[_0x2992f8(0x4ff)](_0x1a3cfd=>this[_0x2992f8(0xb9)]['addSeatToCart'](_0x1a3cfd['id'])):this[_0x2992f8(0xb9)][_0x2992f8(0x2a8)](void 0x0);this[_0x2992f8(0xb9)][_0x2992f8(0x11b)][_0x2992f8(0x41a)]&&this[_0x2992f8(0xb9)][_0x2992f8(0x11b)][_0x2992f8(0x41a)](this[_0x2992f8(0xb9)]['getCart'](),_0x257ee5);this[_0x2992f8(0x417)][_0x2992f8(0x148)]();return;}try{_0x105154[_0x2992f8(0x52d)]=_0x2992f8(0x161),this['context'][_0x2992f8(0x2fa)](_0x105154['id']),this[_0x2992f8(0x148)]();const _0x3b6151=_0x3e3f04?await((_0xbd1e99=(_0x2de1ef=(_0x4d2028=this['context']['settings'])['onSeatSelect'])==null?void 0x0:_0x2de1ef[_0x2992f8(0x484)](_0x4d2028,_0x1167cd))!=null?_0xbd1e99:Promise[_0x2992f8(0x476)](!![])):await((_0x492655=(_0x2bc327=(_0x5411e5=this[_0x2992f8(0xb9)][_0x2992f8(0x11b)])[_0x2992f8(0x507)])==null?void 0x0:_0x2bc327['call'](_0x5411e5,_0x1167cd))!=null?_0x492655:Promise[_0x2992f8(0x476)](!![]));if(_0x3b6151===![]){_0x105154[_0x2992f8(0x52d)]=_0x2992f8(0x1ca),this[_0x2992f8(0x148)]();const _0x4eb63e=this[_0x2992f8(0x2d8)]['context'][_0x2992f8(0x25f)];(_0x4eb63e==null?void 0x0:_0x4eb63e[_0x2992f8(0x108)])==='seat'&&(_0x4eb63e==null?void 0x0:_0x4eb63e['id'])===_0x105154['id']&&this[_0x2992f8(0xb9)][_0x2992f8(0x2a8)](void 0x0);setTimeout(()=>{const _0x38f3a8=_0x2992f8;_0x105154['state']=_0x38f3a8(0x53d),this[_0x38f3a8(0x148)]();},0xbb8);return;}this[_0x2992f8(0x8b)]instanceof HTMLCanvasLayer&&this[_0x2992f8(0x8b)][_0x2992f8(0x3b8)](_0x105154['id'][_0x2992f8(0x223)]());_0x3e3f04?(this[_0x2992f8(0xb9)][_0x2992f8(0x581)](_0x105154['id']),_0x105154[_0x2992f8(0x52d)]=_0x2992f8(0x448)):(this[_0x2992f8(0xb9)][_0x2992f8(0x1e8)](_0x105154['id']),_0x105154[_0x2992f8(0x52d)]=_0x2992f8(0x53d));this[_0x2992f8(0xb9)][_0x2992f8(0x11b)][_0x2992f8(0x41a)]&&this[_0x2992f8(0xb9)][_0x2992f8(0x11b)]['onCartChange'](this['context'][_0x2992f8(0x237)](),_0x257ee5);const _0x683244=this[_0x2992f8(0x2d8)][_0x2992f8(0xb9)][_0x2992f8(0x25f)];!_0x3e3f04&&(_0x683244==null?void 0x0:_0x683244[_0x2992f8(0x108)])===_0x2992f8(0x44e)&&(_0x683244==null?void 0x0:_0x683244['id'])===_0x105154['id']&&this[_0x2992f8(0xb9)][_0x2992f8(0x2a8)](void 0x0);}catch(_0x30606d){console[_0x2992f8(0x1ca)](_0x2992f8(0x5b3),_0x30606d),_0x105154['state']=_0x2992f8(0x1ca),this[_0x2992f8(0x148)]();}this['redraw'](),this[_0x2992f8(0x8b)]instanceof WebGLCanvasLayer&&_0x3e3f04&&this['stageLayer'][_0x2992f8(0x1b2)](0x12c);},this[_0x2cf2be(0x340)]=async({section:_0x237fb1})=>{const _0x44f398=_0x2cf2be;if(!_0x237fb1['id'])return;if(this[_0x44f398(0xb9)][_0x44f398(0x336)][_0x237fb1['id']][_0x44f398(0x10d)]||this['context'][_0x44f398(0x336)][_0x237fb1['id']][_0x44f398(0x3c1)])return;!this[_0x44f398(0xb9)][_0x44f398(0x11b)][_0x44f398(0x1b7)]&&(this[_0x44f398(0xb9)][_0x44f398(0x4da)]['ga'][_0x44f398(0x12a)](_0x5270d5=>_0x5270d5['sectorId']===_0x237fb1['id'])?this['removeGaFromCart']({'sectorId':_0x237fb1['id']}):this['addGaToCart']({'sectorId':_0x237fb1['id'],'key':_0x237fb1[_0x44f398(0x391)],'count':0x1,'price':_0x237fb1[_0x44f398(0x305)]})),this['context'][_0x44f398(0x336)][_0x237fb1['id']][_0x44f398(0x448)]?(this[_0x44f398(0x4b4)](),this[_0x44f398(0xb9)][_0x44f398(0x336)][_0x237fb1['id']]['selected']=![]):(this[_0x44f398(0x4b4)](_0x237fb1['id']),this[_0x44f398(0xb9)][_0x44f398(0x336)][_0x237fb1['id']][_0x44f398(0x448)]=!![]),this[_0x44f398(0xb9)]['settings'][_0x44f398(0x21e)]&&this['context'][_0x44f398(0x11b)]['onSectorClick'](_0x237fb1),this[_0x44f398(0xb9)][_0x44f398(0x11b)][_0x44f398(0x270)]&&this['context'][_0x44f398(0x11b)][_0x44f398(0x270)](_0x237fb1);},this[_0x2cf2be(0x519)]=_0x169852=>{const _0x23ae0c=_0x2cf2be,_0x3fbbb9=this['normalizePinchScale'](_0x169852[_0x23ae0c(0x368)]);if(_0x169852['type']==='pinchstart'){const _0x37c7e2=this[_0x23ae0c(0xb9)][_0x23ae0c(0x1fb)][_0x23ae0c(0x4f9)]();this[_0x23ae0c(0x423)]={'x':_0x169852[_0x23ae0c(0x1ab)]['x']-_0x37c7e2['left'],'y':_0x169852[_0x23ae0c(0x1ab)]['y']-_0x37c7e2[_0x23ae0c(0x478)]},this[_0x23ae0c(0x30f)]['get'](_0x23ae0c(0x143))[_0x23ae0c(0x1cb)]({'enable':![]});}else{if(_0x169852[_0x23ae0c(0x309)]===_0x23ae0c(0x253))this[_0x23ae0c(0xb9)][_0x23ae0c(0x5b1)]=this[_0x23ae0c(0x486)](_0x3fbbb9,this[_0x23ae0c(0x423)],{'x':_0x169852[_0x23ae0c(0x139)],'y':_0x169852[_0x23ae0c(0x4d8)]}),this['setContextScale'](this['context']['scale']*_0x3fbbb9),this['pinchStartPoint']=void 0x0,this[_0x23ae0c(0x148)](),this[_0x23ae0c(0xb9)][_0x23ae0c(0x11b)][_0x23ae0c(0xef)]&&this[_0x23ae0c(0xb9)][_0x23ae0c(0x11b)][_0x23ae0c(0xef)](this[_0x23ae0c(0xb9)][_0x23ae0c(0x368)]),window[_0x23ae0c(0x2a5)](()=>this[_0x23ae0c(0x30f)][_0x23ae0c(0x558)]('pan')[_0x23ae0c(0x1cb)]({'enable':!![]}),0x64);else{const _0x178270=this[_0x23ae0c(0x23f)](_0x3fbbb9,this[_0x23ae0c(0x423)],{'x':_0x169852[_0x23ae0c(0x139)],'y':_0x169852[_0x23ae0c(0x4d8)]});this['cachedDraw'](_0x3fbbb9,_0x178270);}}},this[_0x2cf2be(0x56d)]=_0xca1c00=>{const _0x52fc45=_0x2cf2be,_0x541d60=this[_0x52fc45(0x2f1)](_0xca1c00[_0x52fc45(0x44e)]);this[_0x52fc45(0xb9)]['settings'][_0x52fc45(0x362)]&&this[_0x52fc45(0xb9)][_0x52fc45(0x11b)][_0x52fc45(0x362)](_0x541d60),this[_0x52fc45(0xb9)][_0x52fc45(0x11b)][_0x52fc45(0x31e)]&&this['handleDebouncedSeatChange'](_0x541d60),this[_0x52fc45(0xb9)][_0x52fc45(0x2a8)](_0xca1c00['seat'],_0xca1c00[_0x52fc45(0x59f)]),this[_0x52fc45(0xb9)][_0x52fc45(0x1fb)][_0x52fc45(0x464)][_0x52fc45(0x8c)]='pointer',!this['context'][_0x52fc45(0x11b)][_0x52fc45(0x2ba)]?this['selectionLayer'][_0x52fc45(0x148)]():this['stageLayer'][_0x52fc45(0x148)]();},this['handleDestSectionMouseEnter']=_0x307258=>{const _0x4ea825=_0x2cf2be;this[_0x4ea825(0x10b)][_0x4ea825(0x2ab)](),this[_0x4ea825(0x10b)][_0x4ea825(0xee)](),this[_0x4ea825(0xb9)][_0x4ea825(0x11b)][_0x4ea825(0x41b)]&&this[_0x4ea825(0xb9)]['settings'][_0x4ea825(0x41b)](_0x307258['section']),this[_0x4ea825(0xb9)][_0x4ea825(0x1fb)][_0x4ea825(0x464)][_0x4ea825(0x8c)]=_0x4ea825(0x21d),this['selectionLayer'][_0x4ea825(0x148)]();},this[_0x2cf2be(0x18a)]=_0x1214a8=>{const _0x19dc95=_0x2cf2be;this['context']['settings'][_0x19dc95(0x17e)]&&this[_0x19dc95(0xb9)][_0x19dc95(0x11b)][_0x19dc95(0x17e)](),this['context'][_0x19dc95(0x2a8)](void 0x0),this['context'][_0x19dc95(0x1fb)]['style'][_0x19dc95(0x8c)]=_0x19dc95(0x53d),!this['context']['settings'][_0x19dc95(0x2ba)]?this[_0x19dc95(0x417)][_0x19dc95(0x148)]():this['stageLayer'][_0x19dc95(0x148)]();},this[_0x2cf2be(0x422)]=_0x19494f=>{const _0x3269bb=_0x2cf2be;this[_0x3269bb(0xb9)][_0x3269bb(0x11b)][_0x3269bb(0x4f3)]&&this['context'][_0x3269bb(0x11b)][_0x3269bb(0x4f3)](),this['context']['element'][_0x3269bb(0x464)][_0x3269bb(0x8c)]=_0x3269bb(0x53d),this['selectionLayer']['redraw']();},this[_0x2cf2be(0x180)]=_0x73bcf2=>{const _0x3f93b3=_0x2cf2be;_0x73bcf2[_0x3f93b3(0x4be)]();if(_0x73bcf2[_0x3f93b3(0x115)]||this[_0x3f93b3(0x530)]||!_0x73bcf2[_0x3f93b3(0x16b)])return;let _0x219d2b;if(isGaOutline(_0x73bcf2[_0x3f93b3(0x16b)]))_0x219d2b=this['getGaSectionByOutline'](_0x73bcf2['target']);else isSectionOutline(_0x73bcf2[_0x3f93b3(0x16b)])&&(_0x219d2b=this[_0x3f93b3(0x446)](_0x73bcf2[_0x3f93b3(0x16b)]));const _0x5d3a53=this[_0x3f93b3(0xb9)][_0x3f93b3(0x1fb)][_0x3f93b3(0x4f9)](),_0x1d3023={'x':_0x73bcf2[_0x3f93b3(0x13c)]-_0x5d3a53['left'],'y':_0x73bcf2['clientY']-_0x5d3a53['top']},_0x5f021d=this['context'][_0x3f93b3(0x140)](_0x1d3023,{'width':this['getWidth'](),'height':this[_0x3f93b3(0x314)]()});this[_0x3f93b3(0x350)]({'type':'srcMouseMove','target':_0x73bcf2['target'],'seat':_0x5f021d,'section':_0x219d2b});},this[_0x2cf2be(0x3f4)]=_0x183e69=>{const _0x128e44=_0x2cf2be;if(_0x183e69['buttons']||this[_0x128e44(0x530)])return;this[_0x128e44(0x350)]({'type':'srcMouseMove','target':_0x183e69['target']});},this[_0x2cf2be(0x19f)]=_0x1d3a8f=>{const _0x373efb=_0x2cf2be;if(this[_0x373efb(0x530)])return;this[_0x373efb(0x350)]({'type':_0x373efb(0x122),'target':this[_0x373efb(0xb9)]['element']});},this['handleWindowResize']=()=>{const _0x3b28c9=_0x2cf2be;window['clearTimeout'](this['resizeTimer']),this[_0x3b28c9(0x4df)]=window[_0x3b28c9(0x2a5)](this[_0x3b28c9(0x481)],0xfa);},this[_0x2cf2be(0x481)]=()=>{const _0x3b2912=_0x2cf2be,_0x330343=this[_0x3b2912(0x55a)],_0x5da3c3=this[_0x3b2912(0x3e0)],_0x2faa3b=getOffset(this[_0x3b2912(0xb9)][_0x3b2912(0x1fb)]);this['width']=this[_0x3b2912(0xb9)][_0x3b2912(0x1fb)][_0x3b2912(0x557)],this['height']=this[_0x3b2912(0xb9)][_0x3b2912(0x11b)][_0x3b2912(0x3e0)]||window[_0x3b2912(0x1bf)]-_0x2faa3b[_0x3b2912(0x478)],this[_0x3b2912(0xb9)][_0x3b2912(0x1fb)][_0x3b2912(0x464)][_0x3b2912(0x3e0)]=this[_0x3b2912(0x3e0)]+'px';const _0x2d6776=_0x330343!==this['width']||_0x5da3c3!==this['height'];if(_0x330343&&_0x5da3c3&&_0x2d6776){const _0x5d8fa2={'x':Math[_0x3b2912(0x241)]((this[_0x3b2912(0x55a)]-_0x330343)/0x2*DPR3),'y':Math['round']((this[_0x3b2912(0x3e0)]-_0x5da3c3)/0x2*DPR3)};this[_0x3b2912(0xb9)][_0x3b2912(0x5b1)]=addPoints(this[_0x3b2912(0xb9)]['translate'],_0x5d8fa2);}if(_0x2d6776){if(this['stageLayer'])this[_0x3b2912(0x8b)]['updateSize']();if(this['selectionLayer'])this[_0x3b2912(0x417)][_0x3b2912(0x481)]();if(this['outlineLayer'])this[_0x3b2912(0x10b)][_0x3b2912(0x481)]();this['minimapLayer']&&(this[_0x3b2912(0x197)][_0x3b2912(0x481)](),this['setMinimapFromSnapshot'](this[_0x3b2912(0x8b)][_0x3b2912(0x57d)]));}},this[_0x2cf2be(0x3ee)]=(_0x44dcc0,_0x418b5c)=>{const _0x12ac6b=_0x2cf2be,_0x1b7fae=this[_0x12ac6b(0xb9)]['enable3DView']?this[_0x12ac6b(0x271)](_0x44dcc0):_0x44dcc0;this[_0x12ac6b(0x3c6)](0x1,_0x1b7fae);if(_0x418b5c){const _0x15d0d8=addPoints(this[_0x12ac6b(0xb9)][_0x12ac6b(0x5b1)],_0x1b7fae),_0x284d30=this[_0x12ac6b(0xae)](_0x15d0d8);_0x15d0d8['y']!==_0x284d30['y']||_0x15d0d8['x']!==_0x284d30['x']?this[_0x12ac6b(0x4a0)](_0x1b7fae,_0x15d0d8,_0x284d30):(this[_0x12ac6b(0xb9)][_0x12ac6b(0x5b1)]=_0x15d0d8,this[_0x12ac6b(0x148)]());}},this[_0x2cf2be(0x2f1)]=_0x627619=>{const _0x323abc=_0x2cf2be;return this[_0x323abc(0xb9)][_0x323abc(0x2f1)](_0x627619);},_0x320792[_0x2cf2be(0x464)][_0x2cf2be(0x434)]=_0x3bc1be['theme'][_0x2cf2be(0x4ef)],_0x320792[_0x2cf2be(0x464)][_0x2cf2be(0x382)]='hidden',_0x320792['style'][_0x2cf2be(0x43d)]='relative',this[_0x2cf2be(0xb9)]=new Context(_0x320792,_0x3bc1be,()=>this[_0x2cf2be(0x417)][_0x2cf2be(0x148)]()),this[_0x2cf2be(0x481)](),this[_0x2cf2be(0x8b)]=this[_0x2cf2be(0x100)](),this['selectionLayer']=new SelectionLayer(this[_0x2cf2be(0xb9)]),this[_0x2cf2be(0xec)]=new VisibilityManager(this[_0x2cf2be(0xb9)]),this[_0x2cf2be(0x30f)]=this['createHammer'](_0x320792),this['handleDebouncedSeatChange']=debounce(_0x3bc1be['debounceDelay']||0x0,this[_0x2cf2be(0x42a)]),this[_0x2cf2be(0x2d8)]=this['createMachineService'](_0xabd2d0),this[_0x2cf2be(0x44f)]=_0x3bc1be[_0x2cf2be(0x44f)]||paddingSetting,this[_0x2cf2be(0x3bb)]=_0x3bc1be[_0x2cf2be(0x3bb)]||![],this['switchToWebGL']=_0x3bc1be[_0x2cf2be(0x2ba)]||![],this['transformAnimator']=new TransformAnimator({'cachedDraw':(_0x429a03,_0x349b50)=>this[_0x2cf2be(0x3c6)](_0x429a03,_0x349b50),'commitTransform':({toScale:_0xed86c8,toTranslate:_0x52f91b,toRotationZ:_0x507ac7,toTiltX:_0x4bb2b2,toPerspectiveZ:_0x361383})=>{const _0x142981=_0x2cf2be;if(_0xed86c8!==void 0x0)this[_0x142981(0x2c6)](_0xed86c8);if(_0x52f91b)this['context'][_0x142981(0x5b1)]=_0x52f91b;if(_0x507ac7!==void 0x0)this[_0x142981(0xb9)]['rotationZ']=_0x507ac7;if(_0x4bb2b2!==void 0x0)this[_0x142981(0xb9)][_0x142981(0x280)]=_0x4bb2b2;if(_0x361383!==void 0x0)this[_0x142981(0xb9)][_0x142981(0x226)]=_0x361383;},'redraw':()=>this[_0x2cf2be(0x148)](),'onStart':()=>this[_0x2cf2be(0x2d8)][_0x2cf2be(0x110)](_0x2cf2be(0xd3)),'onEnd':()=>this['service'][_0x2cf2be(0x110)](_0x2cf2be(0x3d2)),'onZoomEnd':(_0x9e4d70,_0x3c377f)=>{const _0x5805a1=_0x2cf2be;var _0xf1e287,_0x4d1cde;return(_0x4d1cde=(_0xf1e287=this['context']['settings'])[_0x5805a1(0xef)])==null?void 0x0:_0x4d1cde[_0x5805a1(0x484)](_0xf1e287,_0x9e4d70,_0x3c377f);},'onPendingRotation':_0x4d2310=>this[_0x2cf2be(0x37b)](_0x4d2310),'is3DEnabled':()=>this[_0x2cf2be(0xb9)][_0x2cf2be(0x243)],'applyIntermediate3D':({rotationZ:_0x5ce8c2,tiltX:_0x4cf0e0,perspectiveZ:_0x252bd1})=>{const _0x5a5b66=_0x2cf2be;if(_0x5ce8c2!==void 0x0)this[_0x5a5b66(0xb9)][_0x5a5b66(0x5a3)]=_0x5ce8c2;if(_0x4cf0e0!==void 0x0)this[_0x5a5b66(0xb9)][_0x5a5b66(0x280)]=_0x4cf0e0;if(_0x252bd1!==void 0x0)this[_0x5a5b66(0xb9)][_0x5a5b66(0x226)]=_0x252bd1;this[_0x5a5b66(0x10b)]&&_0x5a5b66(0x2ec)in this[_0x5a5b66(0x10b)]&&this['outlineLayer'][_0x5a5b66(0x2ec)]();}}),this[_0x2cf2be(0x2fc)]=new RotationAnimation();}[_0x1eb601(0x181)](){const _0x4ca926=_0x1eb601;if(!this[_0x4ca926(0x197)])return;this[_0x4ca926(0x197)][_0x4ca926(0x577)]();}async[_0x1eb601(0xc9)](_0x7a21b1){const _0x4439d9=_0x1eb601;if(!this[_0x4439d9(0x197)])return;try{const _0x1ce9d9=await this['stageLayer'][_0x4439d9(0x213)]();if(_0x1ce9d9){const _0x247e55={'scale':this[_0x4439d9(0xb9)][_0x4439d9(0x368)],'translate':{...this[_0x4439d9(0xb9)][_0x4439d9(0x5b1)]}};this[_0x4439d9(0x197)]['setBackgroundSnapshot'](_0x1ce9d9,_0x247e55);}else _0x7a21b1&&this[_0x4439d9(0x197)]['setBackgroundImage'](_0x7a21b1);}catch(_0x2a03a3){if(_0x7a21b1)this[_0x4439d9(0x197)][_0x4439d9(0x36f)](_0x7a21b1);}finally{this[_0x4439d9(0x197)][_0x4439d9(0x577)]();}}[_0x1eb601(0x386)](){const _0x24473e=_0x1eb601;this[_0x24473e(0x490)]=![],this['transformAnimator'][_0x24473e(0x190)](),window[_0x24473e(0x337)](this[_0x24473e(0x4df)]),this[_0x24473e(0x435)](),this[_0x24473e(0xb9)][_0x24473e(0x1fb)][_0x24473e(0x2de)](_0x24473e(0x49e),this[_0x24473e(0x180)]),this[_0x24473e(0xb9)][_0x24473e(0x1fb)][_0x24473e(0x2de)]('mouseleave',this[_0x24473e(0x19f)]),window['removeEventListener'](_0x24473e(0x49e),this[_0x24473e(0x3f4)]),window[_0x24473e(0x2de)](_0x24473e(0xc1),this['handleWindowResize']),window['removeEventListener'](_0x24473e(0x259),this[_0x24473e(0x9d)]),this[_0x24473e(0x30f)][_0x24473e(0x386)](),this[_0x24473e(0x8b)][_0x24473e(0x386)](),this['selectionLayer']['destroy'](),this['context'][_0x24473e(0x386)](),this[_0x24473e(0x10b)]&&this[_0x24473e(0x10b)][_0x24473e(0x386)](),this['minimapLayer']&&this['minimapLayer'][_0x24473e(0x386)]();}[_0x1eb601(0x489)](){const _0x3f64d5=_0x1eb601;return this[_0x3f64d5(0x55a)];}['getHeight'](){const _0x4767b2=_0x1eb601;return this[_0x4767b2(0x3e0)];}[_0x1eb601(0x109)](){return VERSION;}[_0x1eb601(0x531)](_0x34b2de){const _0x467470=_0x1eb601;return this[_0x467470(0x37f)]({'mode':_0x34b2de}),!![];}['getMode'](){const _0x2fde15=_0x1eb601;return this['service'][_0x2fde15(0xb9)][_0x2fde15(0x221)];}['setHeight'](_0x5505b8){const _0x256810=_0x1eb601;this[_0x256810(0xb9)]['settings'][_0x256810(0x3e0)]=_0x5505b8,this[_0x256810(0x481)]();}['setGroupSize'](_0x5f4c5b){const _0x3a9138=_0x1eb601;this[_0x3a9138(0xb9)][_0x3a9138(0x11b)][_0x3a9138(0x339)]=_0x5f4c5b;}['getSeatIds'](_0x8c0da9){const _0x397eff=_0x1eb601;if(!_0x8c0da9[_0x397eff(0x204)])return[];let _0x1c3364;if(typeof _0x8c0da9[0x0]===_0x397eff(0x4bc))_0x1c3364=_0x8c0da9;else{if(typeof _0x8c0da9[0x0]===_0x397eff(0x445))_0x1c3364=this[_0x397eff(0x1db)](_0x8c0da9);else{if(typeof _0x8c0da9[0x0]===_0x397eff(0x46a))_0x1c3364=_0x8c0da9[_0x397eff(0x2c8)](_0x18858f=>_0x18858f['id']);else throw new Error(_0x397eff(0x5ab));}}return _0x1c3364;}['getMarkedSeatsIds'](){const _0x43eeb2=_0x1eb601;return this[_0x43eeb2(0xb9)][_0x43eeb2(0x272)][_0x43eeb2(0x1f1)](_0x1b094a=>_0x1b094a[_0x43eeb2(0x178)])[_0x43eeb2(0x2c8)](_0x422182=>_0x422182['id']);}[_0x1eb601(0x242)](_0x3d1cf4,_0x2ec8d9,_0x16791e){const _0x5a6730=_0x1eb601;if(!_0x3d1cf4['length'])return;const _0x3d4e3d=this[_0x5a6730(0x277)](_0x3d1cf4);_0x3d1cf4[0x0]&&(_0x3d4e3d[_0x5a6730(0x4ff)](_0x26df59=>{const _0x5eb2ec=_0x5a6730,_0x392e48=this[_0x5eb2ec(0xb9)][_0x5eb2ec(0x3b7)][_0x26df59];_0x392e48&&(_0x392e48['special']?_0x392e48[_0x5eb2ec(0x2f3)][_0x5eb2ec(0x53e)]=_0x2ec8d9:_0x392e48[_0x5eb2ec(0x2f3)]={'category':_0x2ec8d9});}),this['context']['categoriesColor'][_0x2ec8d9]=_0x16791e),this[_0x5a6730(0x148)]();}[_0x1eb601(0x3f9)](_0x51d268,_0x53e1d8){const _0x356782=_0x1eb601;_0x53e1d8?this[_0x356782(0xb9)][_0x356782(0x2f0)][_0x51d268]=_0x53e1d8:delete this[_0x356782(0xb9)][_0x356782(0x2f0)][_0x51d268],this[_0x356782(0x148)]();}[_0x1eb601(0xa0)](){const _0x25aea5=_0x1eb601;for(const _0x3b7d6d of this[_0x25aea5(0xb9)][_0x25aea5(0x272)]){if(_0x3b7d6d[_0x25aea5(0x2f3)])delete _0x3b7d6d[_0x25aea5(0x2f3)][_0x25aea5(0x53e)];}this[_0x25aea5(0xb9)][_0x25aea5(0x2f0)]={},this[_0x25aea5(0xb9)][_0x25aea5(0x431)]={},this[_0x25aea5(0x148)]();}[_0x1eb601(0x48a)](_0x5dd0b4){const _0xae3b34=_0x1eb601;var _0x1899c7;if(this[_0xae3b34(0xb9)][_0xae3b34(0x431)][_0x5dd0b4])return this[_0xae3b34(0xb9)][_0xae3b34(0x431)][_0x5dd0b4];const _0x33e323=(_0x1899c7=this['context'][_0xae3b34(0x11b)]['theme'])==null?void 0x0:_0x1899c7[_0xae3b34(0x320)];if(!(_0x33e323==null?void 0x0:_0x33e323[_0xae3b34(0x204)]))return;return _0x33e323[_0x5dd0b4%_0x33e323[_0xae3b34(0x204)]];}['createHammer'](_0x5de235){const _0x465d59=_0x1eb601,_0x2362d7=new _0x5f3803(_0x5de235);return _0x2362d7[_0x465d59(0x558)]('pan')['set']({'direction':_0x5f3803[_0x465d59(0x39f)]}),_0x2362d7[_0x465d59(0x558)]('pinch')[_0x465d59(0x1cb)]({'enable':!![]}),_0x2362d7[_0x465d59(0x558)](_0x465d59(0x5b7))['set']({'enable':![]}),_0x2362d7['get'](_0x465d59(0x267))[_0x465d59(0x1cb)]({'enable':![]}),_0x2362d7[_0x465d59(0x558)](_0x465d59(0x232))[_0x465d59(0x1cb)]({'threshold':0x4}),_0x2362d7;}[_0x1eb601(0x37f)](_0xbc75b2){const _0x5df7b6=_0x1eb601;this[_0x5df7b6(0x2d8)][_0x5df7b6(0x110)]({'type':_0x5df7b6(0x525),..._0xbc75b2});}[_0x1eb601(0x3fd)](_0x493749){let _0x583e8c;return interpret(_0x493749,_0x3e0703=>{const _0x243db8=_0x51bc;if(_0x3e0703[_0x243db8(0xb9)][_0x243db8(0x568)]===_0x583e8c)return;_0x583e8c=_0x3e0703[_0x243db8(0xb9)]['events'],_0x3e0703[_0x243db8(0xb9)]['events']['forEach'](_0x4fceda=>{const _0x13a962=_0x243db8;switch(_0x4fceda[_0x13a962(0x309)]){case _0x13a962(0x91):this['handleDestPan'](_0x4fceda);break;case _0x13a962(0x58f):this[_0x13a962(0x2fe)](_0x4fceda);break;case _0x13a962(0x3d5):this[_0x13a962(0x45d)](_0x4fceda);break;case _0x13a962(0x2f6):this[_0x13a962(0x4a6)](_0x4fceda);break;case _0x13a962(0x1be):this[_0x13a962(0x340)](_0x4fceda);break;case _0x13a962(0x3f6):this[_0x13a962(0x56d)](_0x4fceda);break;case'destSectionMouseEnter':this[_0x13a962(0x488)](_0x4fceda);break;case _0x13a962(0x52c):this[_0x13a962(0x18a)](_0x4fceda);break;case _0x13a962(0x2cf):this[_0x13a962(0x422)](_0x4fceda);break;case _0x13a962(0x3dd):this[_0x13a962(0x11c)](_0x4fceda);break;case _0x13a962(0x541):this['handleDestDeselect'](_0x4fceda);break;}});});}[_0x1eb601(0x2c6)](_0xf8b1da){const _0x28cabe=_0x1eb601,_0x536d42=this[_0x28cabe(0xec)][_0x28cabe(0xab)](this[_0x28cabe(0xb9)][_0x28cabe(0x368)]),_0x519e41=this['visibilityManager'][_0x28cabe(0xab)](_0xf8b1da);this[_0x28cabe(0xb9)][_0x28cabe(0x368)]=_0xf8b1da,this[_0x28cabe(0xb9)][_0x28cabe(0x56e)]=this[_0x28cabe(0xb9)]['scale']<(this[_0x28cabe(0xb9)][_0x28cabe(0x11b)][_0x28cabe(0x460)]||0x0)*DPR3,this[_0x28cabe(0xb9)][_0x28cabe(0x1f6)]=this[_0x28cabe(0xec)]['getVisibilityStatuses'](_0xf8b1da),_0x536d42!==_0x519e41&&this[_0x28cabe(0x10b)]&&this[_0x28cabe(0x10b)]['handleChangeEagleView'](_0x519e41),this['changeMachineContext']({'scale':_0xf8b1da/DPR3,'isEagleView':this[_0x28cabe(0xb9)]['isEagleView'],'visibility':this[_0x28cabe(0xb9)][_0x28cabe(0x1f6)],'enable3DView':this[_0x28cabe(0xb9)]['enable3DView'],'rotationZ':this['context'][_0x28cabe(0x5a3)],'perspectiveZ':this[_0x28cabe(0xb9)]['perspectiveZ'],'tiltX':this[_0x28cabe(0xb9)][_0x28cabe(0x280)],'getWidth':()=>this[_0x28cabe(0x489)](),'getHeight':()=>this[_0x28cabe(0x314)]()});}['getPrices'](){const _0x286f75=_0x1eb601;if(!this[_0x286f75(0xb9)]['pricesById'])return[];return sortPrices(Object[_0x286f75(0x59b)](this[_0x286f75(0xb9)][_0x286f75(0x85)]));}[_0x1eb601(0x51d)](_0x45262f){const _0x5ed60f=_0x1eb601;if(!this[_0x5ed60f(0x490)])return;this[_0x5ed60f(0xb9)][_0x5ed60f(0x51d)](_0x45262f),this[_0x5ed60f(0xb9)][_0x5ed60f(0x11b)][_0x5ed60f(0x41a)]&&this[_0x5ed60f(0xb9)]['settings'][_0x5ed60f(0x41a)](this[_0x5ed60f(0xb9)][_0x5ed60f(0x237)]()),this[_0x5ed60f(0x181)]();}[_0x1eb601(0x472)](){const _0x5a4a00=_0x1eb601;this[_0x5a4a00(0xb9)][_0x5a4a00(0x472)](),this[_0x5a4a00(0x8b)]instanceof WebGLCanvasLayer&&this[_0x5a4a00(0x8b)]['runOverlayPulse'](0x12c),this[_0x5a4a00(0x181)]();}[_0x1eb601(0x237)](){const _0x1d2e5f=_0x1eb601;return this[_0x1d2e5f(0xb9)][_0x1d2e5f(0x237)]();}[_0x1eb601(0x3c0)](){const _0x2a723b=_0x1eb601;window[_0x2a723b(0x222)](_0x2a723b(0x259),this[_0x2a723b(0x9d)]),window[_0x2a723b(0x222)](_0x2a723b(0xc1),this['handleWindowResize']),this[_0x2a723b(0xb9)][_0x2a723b(0x1fb)]['addEventListener'](_0x2a723b(0x49e),this['handleMouseMove']),this['context'][_0x2a723b(0x1fb)][_0x2a723b(0x222)](_0x2a723b(0x36e),this['handleMouseLeave']),window[_0x2a723b(0x222)](_0x2a723b(0x49e),this[_0x2a723b(0x3f4)]);const _0x5070bd=_0x1aec2e=>{const _0x41e389=_0x2a723b,_0x5e4c57=this[_0x41e389(0xb9)][_0x41e389(0x1fb)][_0x41e389(0x4f9)]();return{'x':_0x1aec2e['center']['x']-_0x5e4c57[_0x41e389(0x289)],'y':_0x1aec2e[_0x41e389(0x1ab)]['y']-_0x5e4c57[_0x41e389(0x478)]};},_0x3d9073=_0x201537=>{const _0xecb1bb=_0x2a723b,_0x2cf2d2=_0x5070bd(_0x201537);return{'x':_0x2cf2d2['x']-_0x201537[_0xecb1bb(0x139)],'y':_0x2cf2d2['y']-_0x201537[_0xecb1bb(0x4d8)]};};this[_0x2a723b(0x30f)]['on'](_0x2a723b(0x580),_0x488a18=>{const _0x3d010f=_0x2a723b;this['emitSrcEvent']({'type':_0x3d010f(0x380),'delta':{'x':_0x488a18['deltaX'],'y':_0x488a18[_0x3d010f(0x4d8)]},'origin':_0x3d9073(_0x488a18),'shiftKey':_0x488a18[_0x3d010f(0x5a5)][_0x3d010f(0x216)],'altKey':_0x488a18[_0x3d010f(0x5a5)][_0x3d010f(0x37c)]});}),this['hammer']['on'](_0x2a723b(0x103),_0x3485f4=>{const _0x365b52=_0x2a723b;this['emitSrcEvent']({'type':_0x365b52(0x5ae),'delta':{'x':_0x3485f4['deltaX'],'y':_0x3485f4['deltaY']},'origin':_0x3d9073(_0x3485f4),'shiftKey':_0x3485f4[_0x365b52(0x5a5)]['shiftKey'],'altKey':_0x3485f4[_0x365b52(0x5a5)]['altKey']});}),this[_0x2a723b(0x30f)]['on'](_0x2a723b(0x40f),_0x5109d2=>{const _0x44ddc3=_0x2a723b;this['emitSrcEvent']({'type':'srcDragEnd','delta':{'x':_0x5109d2[_0x44ddc3(0x139)],'y':_0x5109d2['deltaY']},'origin':_0x3d9073(_0x5109d2),'shiftKey':_0x5109d2[_0x44ddc3(0x5a5)]['shiftKey'],'altKey':_0x5109d2[_0x44ddc3(0x5a5)]['altKey']});}),this[_0x2a723b(0x30f)]['on'](_0x2a723b(0x232),_0x1b5928=>{const _0xc9119a=_0x2a723b;var _0x2ca18b;const _0xf5a24e=_0x5070bd(_0x1b5928),_0x3afd2c=this['context'][_0xc9119a(0x140)](_0xf5a24e,{'width':this[_0xc9119a(0x489)](),'height':this[_0xc9119a(0x314)]()}),_0x46ff11=(_0x2ca18b=_0x1b5928[_0xc9119a(0x16b)][_0xc9119a(0x93)])==null?void 0x0:_0x2ca18b[_0xc9119a(0xd9)](_0xc9119a(0x4a1)),_0x3aa659=!_0x3afd2c&&!_0x46ff11;if(this[_0xc9119a(0x3bb)]&&_0x3aa659)return;this[_0xc9119a(0x350)]({'type':'srcClick','target':_0x1b5928['target'],'point':_0xf5a24e,'section':this[_0xc9119a(0x4c5)](_0x1b5928['target']),'seat':_0x3afd2c,'shiftKey':_0x1b5928[_0xc9119a(0x5a5)][_0xc9119a(0x216)],'altKey':_0x1b5928['srcEvent'][_0xc9119a(0x37c)]});}),this[_0x2a723b(0x30f)]['on'](_0x2a723b(0x564),this[_0x2a723b(0x519)]);}async['setSchemaData'](_0x32b6ce){const _0x274ce3=_0x1eb601;var _0x121201,_0x286f40,_0x1e43c4,_0x4847b8,_0xecefbb,_0x241c68,_0xbf087f,_0x1cb58b,_0x17c4d8,_0xffaf2c,_0xc59707,_0x6d41f0;const _0x58af8e=(_0x121201=_0x32b6ce[_0x274ce3(0x434)])==null?void 0x0:_0x121201[_0x274ce3(0x4a1)],_0x2ca03e=(_0x286f40=_0x32b6ce[_0x274ce3(0x434)])==null?void 0x0:_0x286f40[_0x274ce3(0x4af)],_0x5e79b5=(_0x1e43c4=_0x32b6ce[_0x274ce3(0x434)])==null?void 0x0:_0x1e43c4[_0x274ce3(0x584)],_0x3fc727=(_0x4847b8=_0x32b6ce[_0x274ce3(0x434)])==null?void 0x0:_0x4847b8[_0x274ce3(0x188)];this[_0x274ce3(0x2ba)]&&!_0x5e79b5&&(this[_0x274ce3(0x8b)][_0x274ce3(0x386)](),this[_0x274ce3(0x2ba)]=![],this[_0x274ce3(0xb9)][_0x274ce3(0x11b)]['switchToWebGL']=![],this[_0x274ce3(0x8b)]=this[_0x274ce3(0x100)](),console['warn'](_0x274ce3(0x54f)));this[_0x274ce3(0xb9)][_0x274ce3(0x272)]=getSeatsWithUpdatedCoords(_0x32b6ce),this[_0x274ce3(0xb9)][_0x274ce3(0x7a)]=arrayToObjectById(_0x32b6ce[_0x274ce3(0x2dc)]),this[_0x274ce3(0xb9)][_0x274ce3(0x336)]=arrayToObjectById(_0x32b6ce[_0x274ce3(0x34b)]);const {scale:_0x59bbd,translate:_0x287b5c}=this[_0x274ce3(0x3a3)](_0x32b6ce[_0x274ce3(0x434)]);this[_0x274ce3(0x2c6)](_0x59bbd),this[_0x274ce3(0xb9)][_0x274ce3(0x5b1)]=_0x287b5c,this[_0x274ce3(0x14a)]=_0x59bbd;if(!((_0xecefbb=_0x32b6ce[_0x274ce3(0x434)])==null?void 0x0:_0xecefbb[_0x274ce3(0x2af)]))throw new Error(_0x274ce3(0x341));this[_0x274ce3(0xb9)][_0x274ce3(0x3e8)]={'svgString':_0x58af8e,'viewBox':_0x32b6ce[_0x274ce3(0x434)]['viewBox'],'svgUrl':_0x2ca03e,'pngBackground':_0x5e79b5,'outlineSvg':_0x3fc727},this['outlineLayer']=new OutlineLayer(this[_0x274ce3(0xb9)]),this[_0x274ce3(0x417)][_0x274ce3(0x7c)]();((_0x241c68=this['context']['settings'][_0x274ce3(0x416)])==null?void 0x0:_0x241c68[_0x274ce3(0x1fe)])&&(!this[_0x274ce3(0x197)]&&(this[_0x274ce3(0x197)]=new MinimapLayer(this[_0x274ce3(0xb9)],{'panToCenter':(_0xf9c1eb,_0x3e158f)=>{const _0xf47df=_0x274ce3,_0x49dae4=this[_0xf47df(0xb9)]['scale'],_0xe9e930={'x':_0xf9c1eb['x']-this['getWidth']()*DPR3/0x2/_0x49dae4,'y':_0xf9c1eb['y']-this[_0xf47df(0x314)]()*DPR3/0x2/_0x49dae4};this[_0xf47df(0x1ec)](_0x49dae4,_0xe9e930,_0x3e158f);}})),this['minimapLayer'][_0x274ce3(0x481)](),this['minimapLayer'][_0x274ce3(0x577)]());let _0x20aa35=0x0;const _0x110526=async(_0x5481f6,_0x146d64=0x0,_0xbabfa=![])=>{const _0x118dcc=_0x274ce3,_0x40ec19=this[_0x118dcc(0x2ba)]?loadImageFromUrl(_0x5481f6,_0x118dcc(0x3f3)):loadImageFromUrl(_0x5481f6);return _0x40ec19[_0x118dcc(0x34e)](_0xf0db60=>{const _0x4788e7=_0x118dcc;if(_0x146d64<_0x20aa35)return;setImageSizeAndCenter(_0xf0db60,_0x32b6ce[_0x4788e7(0x434)][_0x4788e7(0x2af)]),this[_0x4788e7(0x8b)][_0x4788e7(0x57d)]=_0xf0db60,_0x20aa35=_0x146d64,this[_0x4788e7(0x148)](),_0xbabfa&&this[_0x4788e7(0xc9)](_0xf0db60);}),_0x40ec19;};try{this[_0x274ce3(0xb9)][_0x274ce3(0x11b)][_0x274ce3(0x3f0)]&&_0x58af8e?(this[_0x274ce3(0x8b)][_0x274ce3(0x57d)]=await createSvgImageElement(_0x58af8e),((_0xbf087f=_0x32b6ce['background'])==null?void 0x0:_0xbf087f['viewBox'])&&setImageSizeAndCenter(this[_0x274ce3(0x8b)][_0x274ce3(0x57d)],_0x32b6ce[_0x274ce3(0x434)][_0x274ce3(0x2af)]),this[_0x274ce3(0xc9)](this[_0x274ce3(0x8b)]['backgroundElement'])):(((_0x1cb58b=_0x5e79b5==null?void 0x0:_0x5e79b5[_0x274ce3(0x405)])==null?void 0x0:_0x1cb58b[_0x274ce3(0x137)])&&_0x110526(_0x5e79b5[_0x274ce3(0x405)][_0x274ce3(0x137)],0x1,!![]),((_0x17c4d8=_0x5e79b5==null?void 0x0:_0x5e79b5['preview'])==null?void 0x0:_0x17c4d8[_0x274ce3(0x2bd)])&&_0x110526(_0x5e79b5[_0x274ce3(0x4d2)][_0x274ce3(0x2bd)],0x2),((_0xffaf2c=_0x5e79b5==null?void 0x0:_0x5e79b5['full'])==null?void 0x0:_0xffaf2c[_0x274ce3(0x2bd)])&&_0x110526(_0x5e79b5[_0x274ce3(0x43b)][_0x274ce3(0x2bd)],0x3),!_0x5e79b5&&_0x58af8e&&(this[_0x274ce3(0x8b)][_0x274ce3(0x57d)]=await createSvgImageElement(_0x58af8e),((_0xc59707=_0x32b6ce[_0x274ce3(0x434)])==null?void 0x0:_0xc59707[_0x274ce3(0x2af)])&&setImageSizeAndCenter(this[_0x274ce3(0x8b)][_0x274ce3(0x57d)],_0x32b6ce[_0x274ce3(0x434)][_0x274ce3(0x2af)])),this[_0x274ce3(0xc9)](this['stageLayer']['backgroundElement']));}catch(_0x8fcdf){console[_0x274ce3(0x1ca)](_0x274ce3(0x397),_0x8fcdf),_0x58af8e&&(this['stageLayer']['backgroundElement']=await createSvgImageElement(_0x58af8e),((_0x6d41f0=_0x32b6ce[_0x274ce3(0x434)])==null?void 0x0:_0x6d41f0[_0x274ce3(0x2af)])&&setImageSizeAndCenter(this[_0x274ce3(0x8b)]['backgroundElement'],_0x32b6ce[_0x274ce3(0x434)][_0x274ce3(0x2af)])),this[_0x274ce3(0x148)](),this[_0x274ce3(0xc9)](this[_0x274ce3(0x8b)][_0x274ce3(0x57d)]);}this[_0x274ce3(0xb9)][_0x274ce3(0x11b)][_0x274ce3(0x266)]&&this['updateSeatLocks'](this['context'][_0x274ce3(0x11b)][_0x274ce3(0x266)]),this[_0x274ce3(0x148)](),this[_0x274ce3(0x3c0)](),this['context'][_0x274ce3(0x11b)][_0x274ce3(0x377)]&&this[_0x274ce3(0xb9)]['settings'][_0x274ce3(0x377)](),this[_0x274ce3(0xb9)][_0x274ce3(0x11b)][_0x274ce3(0x83)]&&this[_0x274ce3(0x10b)]['highlightAllSections']();}[_0x1eb601(0x585)](_0x4e533c){const _0x5f3e0c=_0x1eb601,_0xf4c5ca=_0x4e533c||this['context'][_0x5f3e0c(0x11b)][_0x5f3e0c(0x1a7)];if(!Array['isArray'](_0xf4c5ca)||_0xf4c5ca[_0x5f3e0c(0x204)]===0x0)return;const _0xbc2f69={...this['context'][_0x5f3e0c(0x338)]()};if(!Object['keys'](_0xbc2f69)[_0x5f3e0c(0x204)])return;const _0x53585a=Object['values'](_0xf4c5ca[_0x5f3e0c(0x183)]((_0x3a089e,_0x58718f)=>{const _0xd21f93=_0x5f3e0c;if(_0x58718f[_0xd21f93(0x8e)]in _0x3a089e)return _0x3a089e;return _0x3a089e[_0x58718f[_0xd21f93(0x8e)]]={'id':_0x58718f[_0xd21f93(0x8e)],'name':_0x58718f[_0xd21f93(0x305)]['toString']()},_0x3a089e;},{}));if(!_0x53585a[_0x5f3e0c(0x204)])return;const _0x5cfe5c=[],_0x58d936=[],_0x316a35=_0xf4c5ca['map'](_0x1faf7c=>{const _0x404fcb=_0x5f3e0c,_0x3ff19c=_0x1faf7c['id']!==void 0x0?this[_0x404fcb(0xb9)][_0x404fcb(0x3b7)][_0x1faf7c['id']]:this[_0x404fcb(0xb9)][_0x404fcb(0xe7)](_0x1faf7c[_0x404fcb(0x403)]);if(!_0x3ff19c){console[_0x404fcb(0xa5)]('Missing\x20seat:\x20'+(_0x1faf7c['id']!==void 0x0?_0x404fcb(0x517)+_0x1faf7c['id']:_0x404fcb(0x170)+_0x1faf7c[_0x404fcb(0x403)])+'\x20on\x20scheme!');if(_0x1faf7c['id']!==void 0x0)_0x58d936[_0x404fcb(0x116)](_0x1faf7c['id']);else _0x5cfe5c[_0x404fcb(0x116)](_0x1faf7c[_0x404fcb(0x403)]);return;}return[_0x3ff19c['id'],_0x1faf7c[_0x404fcb(0x8e)]];})[_0x5f3e0c(0x1f1)](Boolean);if(_0x5cfe5c['length']>0x0)this[_0x5f3e0c(0xb9)][_0x5f3e0c(0xc0)]=_0x5cfe5c;if(_0x58d936[_0x5f3e0c(0x204)]>0x0)this[_0x5f3e0c(0xb9)][_0x5f3e0c(0xc7)]=_0x58d936;if(!_0x316a35[_0x5f3e0c(0x204)])return;_0xbc2f69[_0x5f3e0c(0x287)]=_0x53585a,_0xbc2f69['seats']=_0x316a35,this[_0x5f3e0c(0x164)](_0xbc2f69);}[_0x1eb601(0x164)](_0x26ff1d){const _0x3531fa=_0x1eb601;this['context'][_0x3531fa(0x85)]=convertPricesToColoredById(_0x26ff1d[_0x3531fa(0x287)],this['context']['settings'][_0x3531fa(0x5c2)]['priceColors']),this[_0x3531fa(0xb9)][_0x3531fa(0x272)]=getSeatsWithPrices(this['context'][_0x3531fa(0x272)],_0x26ff1d,this[_0x3531fa(0xb9)][_0x3531fa(0x85)]);const _0x19a297=getSectorsWithPrices(this['getSections'](),_0x26ff1d,this[_0x3531fa(0xb9)][_0x3531fa(0x85)]);this[_0x3531fa(0xb9)][_0x3531fa(0x336)]=arrayToObjectById(_0x19a297),this[_0x3531fa(0xb9)][_0x3531fa(0x11b)][_0x3531fa(0x266)]&&this[_0x3531fa(0x325)](this[_0x3531fa(0xb9)][_0x3531fa(0x11b)]['lockedSeatsFilter']),this[_0x3531fa(0x10b)]&&(this[_0x3531fa(0x10b)]['checkBackgroundOutlines']()?this[_0x3531fa(0x10b)][_0x3531fa(0x55b)]():this['outlineLayer'][_0x3531fa(0x3e2)]());}[_0x1eb601(0x215)](_0x243048){const _0x5469cb=_0x1eb601;this[_0x5469cb(0xb9)][_0x5469cb(0x215)](_0x243048);}[_0x1eb601(0x112)](_0x396526){const _0x16d38f=_0x1eb601;this['context'][_0x16d38f(0x112)](_0x396526);}[_0x1eb601(0x1e0)](_0x2df88c){const _0x3e4aad=_0x1eb601;this[_0x3e4aad(0xb9)][_0x3e4aad(0x1e0)](_0x2df88c),this['stageLayer']instanceof WebGLCanvasLayer&&this[_0x3e4aad(0x8b)][_0x3e4aad(0x1b2)](0x12c),this[_0x3e4aad(0x181)]();}[_0x1eb601(0x27d)](_0x3a5233){const _0x338566=_0x1eb601,_0x1b96ca=SanitizeManager['sanitizeIds'](_0x3a5233);this[_0x338566(0xb9)][_0x338566(0x27d)](_0x1b96ca),this['stageLayer'][_0x338566(0x148)](),this[_0x338566(0x8b)]instanceof WebGLCanvasLayer&&this[_0x338566(0x8b)][_0x338566(0x1b2)](0x12c),this[_0x338566(0x181)]();}[_0x1eb601(0x30c)](_0x3d5e1e){const _0x1f3bfd=_0x1eb601;this[_0x1f3bfd(0x27d)](this['seatKeysToIds'](_0x3d5e1e));}[_0x1eb601(0x2bf)](_0x575ed6,_0x34488b){const _0x120358=_0x1eb601;var _0xd0e846;const _0x35cc0f=SanitizeManager[_0x120358(0x286)](_0x575ed6),_0x56afc3=(_0xd0e846=_0x34488b==null?void 0x0:_0x34488b['resetAll'])!=null?_0xd0e846:!![],_0x3d70d5=this[_0x120358(0xb9)]['getCart'](),_0xddb4bb=this['context'][_0x120358(0x4da)][_0x120358(0x272)],_0xce90db=this[_0x120358(0xb9)][_0x120358(0x85)]&&Object['keys'](this[_0x120358(0xb9)][_0x120358(0x85)])['length']>0x0;this[_0x120358(0x325)](_0x2bbb60=>{const _0x384c6f=_0x120358;if(_0x35cc0f[_0x384c6f(0x308)](_0x2bbb60['id']))return!![];if(_0x56afc3&&!_0xce90db)return![];if(_0x56afc3&&this['context'][_0x384c6f(0x3b7)][_0x2bbb60['id']]['priceId'])return![];return Boolean(_0x2bbb60[_0x384c6f(0x452)]);}),this[_0x120358(0xb9)]['cart'][_0x120358(0x272)]=this[_0x120358(0xb9)][_0x120358(0x4da)]['seats'][_0x120358(0x1f1)](_0x20c43e=>!_0x35cc0f['includes'](_0x20c43e['id'])),_0x56afc3&&_0x35cc0f['forEach'](_0x378de8=>{const _0x24f887=_0x120358;this[_0x24f887(0xb9)][_0x24f887(0x3b7)][_0x378de8]&&delete this['context'][_0x24f887(0x3b7)][_0x378de8][_0x24f887(0x52d)];}),this['context'][_0x120358(0x11b)]['onCartChange']&&(JSON[_0x120358(0x4e8)](_0xddb4bb)!==JSON[_0x120358(0x4e8)](this[_0x120358(0xb9)][_0x120358(0x4da)][_0x120358(0x272)])&&this[_0x120358(0xb9)][_0x120358(0x11b)]['onCartChange'](this[_0x120358(0xb9)]['getCart'](),_0x3d70d5)),this[_0x120358(0xb9)][_0x120358(0x272)]=this[_0x120358(0x485)](),this[_0x120358(0xb9)][_0x120358(0x4ce)](),this['stageLayer'][_0x120358(0x148)](),this[_0x120358(0x181)]();}[_0x1eb601(0x477)](_0x4080b7){const _0x201b56=_0x1eb601;this[_0x201b56(0x325)](_0x2123ff=>![]),this['stageLayer']['redraw']();}[_0x1eb601(0x475)](_0x21c792){const _0x2b22c4=_0x1eb601;this['disableSeatsByIds'](this[_0x2b22c4(0x1db)](_0x21c792));}[_0x1eb601(0x332)](_0x442c08){const _0x1433be=_0x1eb601,_0x352c47=SanitizeManager['sanitizeIds'](_0x442c08);this[_0x1433be(0xb9)][_0x1433be(0x272)]=this[_0x1433be(0xb9)]['seats']['map'](_0x44fb97=>{const _0x104c06=_0x1433be,_0x5e559f=!_0x352c47[_0x104c06(0x308)](_0x44fb97['id']);return!!_0x44fb97[_0x104c06(0x3c1)]!==_0x5e559f?{..._0x44fb97,'filtered':_0x5e559f}:_0x44fb97;}),this['stageLayer'][_0x1433be(0x148)]();}[_0x1eb601(0x575)](_0x5211e0){const _0x223846=_0x1eb601;this[_0x223846(0xb9)][_0x223846(0x272)]=this[_0x223846(0xb9)][_0x223846(0x272)][_0x223846(0x2c8)](_0x3a967d=>{const _0x265dfc=_0x223846,_0x215a6e=_0x5211e0?!_0x5211e0['includes'](_0x3a967d['id']):![];return!!_0x3a967d[_0x265dfc(0x3c1)]!==_0x215a6e?{..._0x3a967d,'filtered':_0x215a6e}:_0x3a967d;}),this[_0x223846(0x8b)]['redraw']();}[_0x1eb601(0xd6)](_0xae18ab){const _0x443ea6=_0x1eb601;this[_0x443ea6(0x332)](this['seatKeysToIds'](_0xae18ab));}[_0x1eb601(0x1db)](_0x4308c2){const _0xe1ebcb=_0x1eb601;return _0x4308c2['map'](_0x3b6db5=>this[_0xe1ebcb(0xb9)]['findSeatByKey'](_0x3b6db5))[_0xe1ebcb(0x1f1)](Boolean)[_0xe1ebcb(0x2c8)](_0x4bb400=>_0x4bb400['id']);}[_0x1eb601(0x325)](_0x5de9ca){const _0x44f66c=_0x1eb601;this['context'][_0x44f66c(0x272)]=this['context'][_0x44f66c(0x272)]['map'](_0x55bb6e=>{const _0xd442d5=_0x5de9ca(_0x55bb6e);return!!_0x55bb6e['locked']!==_0xd442d5?{..._0x55bb6e,'locked':_0xd442d5}:_0x55bb6e;}),this['stageLayer'][_0x44f66c(0x148)]();}[_0x1eb601(0x48e)](){const _0x82a3f7=_0x1eb601;return this[_0x82a3f7(0xb9)][_0x82a3f7(0x48e)]()['map'](_0x583abd=>this[_0x82a3f7(0x2f1)](_0x583abd));}['setSectionSelection'](_0x2949ed){const _0x176a7e=_0x1eb601,_0x1901d4=this['context'][_0x176a7e(0x326)](_0x2949ed);if(!_0x1901d4){this[_0x176a7e(0x10b)][_0x176a7e(0x326)](void 0x0);return;}_0x1901d4==null?void 0x0:_0x1901d4['forEach'](_0x4e2592=>this[_0x176a7e(0x10b)][_0x176a7e(0x326)](_0x4e2592));}[_0x1eb601(0x29a)](){const _0x412a0f=_0x1eb601;return this[_0x412a0f(0xb9)][_0x412a0f(0x29a)]();}[_0x1eb601(0x31d)](_0x32e7e9,_0x1db6f3){const _0x556dca=_0x1eb601,_0x3063db=SanitizeManager['sanitizeIds'](_0x32e7e9);if(_0x1db6f3==null?void 0x0:_0x1db6f3[_0x556dca(0x427)]){const _0xd9eb2b=this[_0x556dca(0x46e)]()['filter'](_0x5c7e19=>_0x5c7e19[_0x556dca(0x10d)])[_0x556dca(0x2c8)](_0x3036ef=>_0x3036ef['id']);this[_0x556dca(0x29f)](_0xd9eb2b);}_0x3063db['forEach'](_0x496215=>{const _0x316562=_0x556dca;this[_0x316562(0xb9)][_0x316562(0x336)][_0x496215][_0x316562(0x10d)]=!![],this[_0x316562(0x10b)][_0x316562(0x5ba)](_0x496215);}),this['context'][_0x556dca(0x121)]=void 0x0,this[_0x556dca(0x430)]();}[_0x1eb601(0x29f)](_0x200afe){const _0x1ebc59=_0x1eb601,_0x429229=SanitizeManager[_0x1ebc59(0x286)](_0x200afe);_0x429229['forEach'](_0x2a5fb5=>{const _0x5d088d=_0x1ebc59;this[_0x5d088d(0xb9)][_0x5d088d(0x336)][_0x2a5fb5][_0x5d088d(0x10d)]=![],this['context']['sectionsById'][_0x2a5fb5]['selected']=![],this['outlineLayer'][_0x5d088d(0x1d4)](_0x2a5fb5);}),this[_0x1ebc59(0xb9)]['selectedGaId']=void 0x0,this[_0x1ebc59(0x430)]();}async[_0x1eb601(0x430)](){const _0x5c41f6=_0x1eb601;var _0x3cfd5e;if(!this[_0x5c41f6(0xb9)]['underlay'][_0x5c41f6(0x146)])return;const _0x1f0c05=new DOMParser(),_0x503e73=_0x1f0c05[_0x5c41f6(0x597)](this['context'][_0x5c41f6(0x3e8)][_0x5c41f6(0x146)],_0x5c41f6(0x47f))||new SVGSVGElement(),_0x1d8900=_0x503e73[_0x5c41f6(0x239)]('sm-background');if(_0x1d8900){_0x1d8900[_0x5c41f6(0xd5)]='';const _0x4010d0=this[_0x5c41f6(0x10b)][_0x5c41f6(0x428)],_0x2d3ded=(_0x3cfd5e=_0x4010d0[_0x5c41f6(0x1fa)])==null?void 0x0:_0x3cfd5e['childNodes'];_0x2d3ded==null?void 0x0:_0x2d3ded[_0x5c41f6(0x4ff)](_0x18938c=>{const _0x349884=_0x5c41f6;_0x1d8900[_0x349884(0xa9)](_0x18938c[_0x349884(0x316)](!![]));});var _0xca866e=new XMLSerializer(),_0x2f11a3=_0xca866e[_0x5c41f6(0x482)](_0x503e73);this['stageLayer'][_0x5c41f6(0x57d)]=await createSvgImageElement(_0x2f11a3),this[_0x5c41f6(0x8b)][_0x5c41f6(0x411)]();}}[_0x1eb601(0x1dd)](_0x353c72){const _0x23188d=_0x1eb601,_0x172719=SanitizeManager['sanitizeIds'](_0x353c72);_0x172719['forEach'](_0x42f48c=>{const _0x165856=_0x51bc;this['context'][_0x165856(0x336)][_0x42f48c]&&this[_0x165856(0xb9)][_0x165856(0x336)][_0x42f48c][_0x165856(0x8e)]!==void 0x0&&(this[_0x165856(0x235)][_0x42f48c]=this[_0x165856(0xb9)][_0x165856(0x336)][_0x42f48c][_0x165856(0x8e)],this[_0x165856(0xb9)][_0x165856(0x336)][_0x42f48c][_0x165856(0x10d)]=!![],delete this[_0x165856(0xb9)][_0x165856(0x336)][_0x42f48c][_0x165856(0x8e)],this[_0x165856(0xb9)]['sectionsById'][_0x42f48c][_0x165856(0x448)]=![],this[_0x165856(0x112)]({'sectorId':_0x42f48c}));}),this['context'][_0x23188d(0x121)]=void 0x0,this[_0x23188d(0x8b)][_0x23188d(0x148)]();}['enableSectionsByIds'](){const _0x63b423=_0x1eb601;if(!this['originalSectionPrices'])return;Object[_0x63b423(0x3a0)](this['originalSectionPrices'])[_0x63b423(0x4ff)](_0x53a450=>{const _0xe1c0c7=_0x63b423,_0x982c8d=Number(_0x53a450);this[_0xe1c0c7(0xb9)][_0xe1c0c7(0x336)][_0x982c8d]&&(this[_0xe1c0c7(0xb9)][_0xe1c0c7(0x336)][_0x982c8d][_0xe1c0c7(0x10d)]=![],this[_0xe1c0c7(0xb9)][_0xe1c0c7(0x336)][_0x982c8d][_0xe1c0c7(0x8e)]=this[_0xe1c0c7(0x235)][_0x982c8d]);}),this[_0x63b423(0x235)]={},this[_0x63b423(0xb9)][_0x63b423(0x121)]=void 0x0,this[_0x63b423(0x8b)][_0x63b423(0x148)]();}[_0x1eb601(0x106)](_0x4bed8b,_0x39f968){const _0x4fdef9=_0x1eb601,_0x3139e3=SanitizeManager['sanitizeIds'](_0x4bed8b);if(_0x39f968==null?void 0x0:_0x39f968[_0x4fdef9(0x427)]){const _0x294963=this[_0x4fdef9(0x46e)]()[_0x4fdef9(0x1f1)](_0x13219e=>_0x13219e[_0x4fdef9(0x3c1)])[_0x4fdef9(0x2c8)](_0x5152db=>_0x5152db['id']);this[_0x4fdef9(0x29f)](_0x294963);}this[_0x4fdef9(0x52f)]()[_0x4fdef9(0x4ff)](_0x2f97c9=>{const _0x1c0d31=_0x4fdef9,_0x1d2124=Number(_0x2f97c9),_0x5ac8b=!_0x3139e3[_0x1c0d31(0x308)](_0x1d2124);this[_0x1c0d31(0xb9)]['sectionsById'][_0x1d2124][_0x1c0d31(0x3c1)]=_0x5ac8b,_0x5ac8b?this[_0x1c0d31(0x10b)]['filterSvgSectionById'](_0x1d2124):this[_0x1c0d31(0x10b)][_0x1c0d31(0x355)](_0x1d2124);}),this[_0x4fdef9(0xb9)][_0x4fdef9(0x121)]=void 0x0;}[_0x1eb601(0x1d2)](_0x53586a){const _0x2a726b=_0x1eb601;(_0x53586a?SanitizeManager[_0x2a726b(0x286)](_0x53586a):this['getSectionsKeys']())[_0x2a726b(0x4ff)](_0x2257b7=>{const _0x119a93=_0x2a726b,_0x42ecc1=Number(_0x2257b7);this[_0x119a93(0xb9)][_0x119a93(0x336)][_0x42ecc1][_0x119a93(0x3c1)]=![],this[_0x119a93(0xb9)][_0x119a93(0x336)][_0x42ecc1][_0x119a93(0x448)]=![],this['outlineLayer'][_0x119a93(0x355)](_0x42ecc1);}),this[_0x2a726b(0xb9)][_0x2a726b(0x121)]=void 0x0;}[_0x1eb601(0x189)](_0x348203,_0x35afaa){const _0x2ac4a0=_0x1eb601,_0x44babe=this[_0x2ac4a0(0x46e)]();this[_0x2ac4a0(0x31d)](_0x44babe[_0x2ac4a0(0x1f1)](_0x33a710=>_0x348203[_0x2ac4a0(0x308)](_0x33a710[_0x2ac4a0(0x391)]))[_0x2ac4a0(0x2c8)](_0x29ef93=>_0x29ef93['id']),_0x35afaa);}['enableSvgSectionsByNames'](_0x501379){const _0xca9e2d=_0x1eb601,_0x1b341b=this[_0xca9e2d(0x46e)]();this[_0xca9e2d(0x29f)](_0x1b341b[_0xca9e2d(0x1f1)](_0x134839=>_0x501379[_0xca9e2d(0x308)](_0x134839[_0xca9e2d(0x391)]))[_0xca9e2d(0x2c8)](_0xa7b312=>_0xa7b312['id']));}[_0x1eb601(0x570)](_0x36237b){const _0xbf2909=_0x1eb601,_0x3520b6=this[_0xbf2909(0x277)](_0x36237b);this[_0xbf2909(0xb9)][_0xbf2909(0x3bd)]=[..._0x3520b6],this['selectionLayer'][_0xbf2909(0x148)]();this[_0xbf2909(0xb9)][_0xbf2909(0x11b)][_0xbf2909(0x2ba)]&&this[_0xbf2909(0x8b)][_0xbf2909(0x148)]();const _0x3fcabc=this['context'][_0xbf2909(0x272)][_0xbf2909(0x1f1)](_0x10d0ff=>_0x3520b6[_0xbf2909(0x308)](_0x10d0ff['id']));this[_0xbf2909(0xb9)][_0xbf2909(0x11b)][_0xbf2909(0x39d)]&&this[_0xbf2909(0xb9)][_0xbf2909(0x11b)][_0xbf2909(0x39d)](_0x3fcabc),this[_0xbf2909(0xb9)][_0xbf2909(0x11b)][_0xbf2909(0x4d5)]&&this['context'][_0xbf2909(0x11b)]['onSeatsSelect'](_0x3fcabc);}[_0x1eb601(0x4b4)](_0x38eb2f){const _0x4d7bc7=_0x1eb601;let _0x5d6e90;if(_0x38eb2f&&typeof _0x38eb2f==='number')_0x5d6e90=_0x38eb2f;else{if(_0x38eb2f&&typeof _0x38eb2f===_0x4d7bc7(0x445)){const _0xdf79a2=this[_0x4d7bc7(0xb9)][_0x4d7bc7(0x186)]()[_0x4d7bc7(0x12a)](_0x399049=>_0x399049[_0x4d7bc7(0x391)]===_0x38eb2f);(_0xdf79a2==null?void 0x0:_0xdf79a2[_0x4d7bc7(0x3fb)])&&(_0x5d6e90=_0xdf79a2['id']);}}this[_0x4d7bc7(0xb9)][_0x4d7bc7(0x121)]=_0x5d6e90,this[_0x4d7bc7(0x10b)][_0x4d7bc7(0x333)](_0x5d6e90),this[_0x4d7bc7(0x417)][_0x4d7bc7(0x148)]();}[_0x1eb601(0x356)](){const _0x4903af=_0x1eb601,_0xdc1354=this['context'][_0x4903af(0x121)];return _0xdc1354?this['context'][_0x4903af(0x336)][_0xdc1354]:void 0x0;}[_0x1eb601(0x46e)](){const _0x2d448c=_0x1eb601;if(!this[_0x2d448c(0xb9)]['sectionsById'])return[];return Object['values'](this[_0x2d448c(0xb9)][_0x2d448c(0x336)]);}[_0x1eb601(0x52f)](){const _0x49b4f9=_0x1eb601;if(!this['context'][_0x49b4f9(0x336)])return[];return Object[_0x49b4f9(0x3a0)](this[_0x49b4f9(0xb9)][_0x49b4f9(0x336)]);}[_0x1eb601(0x201)](){const _0xb33f68=_0x1eb601;if(!this[_0xb33f68(0xb9)][_0xb33f68(0x7a)])return[];return Object[_0xb33f68(0x59b)](this[_0xb33f68(0xb9)][_0xb33f68(0x7a)]);}[_0x1eb601(0x485)](){const _0x5a1cd3=_0x1eb601;if(!this[_0x5a1cd3(0xb9)][_0x5a1cd3(0x3b7)])return[];return Object[_0x5a1cd3(0x59b)](this[_0x5a1cd3(0xb9)][_0x5a1cd3(0x3b7)]);}[_0x1eb601(0x483)](_0x15f0a4){const _0x1ac06c=_0x1eb601;return this[_0x1ac06c(0xb9)][_0x1ac06c(0x7a)][_0x15f0a4];}['getVisibleSeats'](){const _0x2aeb26=_0x1eb601;if(this['stageLayer']instanceof HTMLCanvasLayer){const _0xf711ea=this[_0x2aeb26(0x8b)][_0x2aeb26(0x3d7)]();return _0xf711ea[_0x2aeb26(0x2c8)](_0x3fd556=>({..._0x3fd556,...this[_0x2aeb26(0xb9)][_0x2aeb26(0x556)](_0x3fd556)}));}else{const _0x4a5f3e=this['stageLayer'][_0x2aeb26(0x3d7)]();return _0x4a5f3e[_0x2aeb26(0x2c8)](_0x3bfcc4=>({..._0x3bfcc4,...this[_0x2aeb26(0xb9)]['getOffsetByPosition'](_0x3bfcc4)}));}}[_0x1eb601(0x3e9)](){const _0x3a4582=_0x1eb601,_0x2fb5b3=[]['slice'][_0x3a4582(0x484)](this[_0x3a4582(0x10b)][_0x3a4582(0x428)][_0x3a4582(0x599)]('.'+OUTLINE_CLASS+_0x3a4582(0x3ea))),_0x474652=_0x2fb5b3[_0x3a4582(0x2c8)](_0x4793c6=>{const _0x226fa5=_0x3a4582;let _0x42ef46;if(isGaOutline(_0x4793c6))_0x42ef46=this[_0x226fa5(0x4c5)](_0x4793c6);else isSectionOutline(_0x4793c6)&&(_0x42ef46=this['getSectionByOutline'](_0x4793c6));return _0x42ef46;})[_0x3a4582(0x1f1)](Boolean)[_0x3a4582(0x2c8)](_0x459d86=>({..._0x459d86,'x':Math[_0x3a4582(0x241)](_0x459d86[_0x3a4582(0x321)]['left']+_0x459d86[_0x3a4582(0x321)][_0x3a4582(0x55a)]/0x2),'y':Math['round'](_0x459d86[_0x3a4582(0x321)][_0x3a4582(0x478)]+_0x459d86[_0x3a4582(0x321)]['height']/0x2)}));return _0x474652;}[_0x1eb601(0x4c5)](_0x243309){const _0x23a8c4=_0x1eb601;var _0x3590e9,_0x53eeeb,_0x9166c0;const _0x3937dc=_0x12ca91=>{const _0x2a8845=_0x51bc,_0x29bc6f=Number(_0x12ca91['getAttribute'](DATA_GOS_ID));if(_0x29bc6f)return{'sectionId':_0x29bc6f,'element':_0x12ca91};const _0x1add1c=_0x12ca91[_0x2a8845(0x5a0)];return{'sectionId':Number(_0x1add1c[_0x2a8845(0x348)](DATA_GOS_ID)),'element':_0x1add1c};},{sectionId:_0x678c34,element:_0x468b77}=_0x3937dc(_0x243309);if(_0x678c34&&this[_0x23a8c4(0xb9)][_0x23a8c4(0x336)][_0x678c34]){const {id:_0x47828b,name:_0x475c5d,priceId:_0x356a22,special:_0x5caac7,type:_0x109039}=this[_0x23a8c4(0xb9)]['sectionsById'][_0x678c34];let _0x32b802=void 0x0;if(_0x356a22){const _0x490e99=this['context'][_0x23a8c4(0x85)][Number(_0x356a22)];_0x490e99&&(_0x32b802=parseInt(_0x490e99[_0x23a8c4(0x391)]));}const _0x2c5c82=(_0x9166c0=(_0x53eeeb=(_0x3590e9=this[_0x23a8c4(0xb9)][_0x23a8c4(0x336)])==null?void 0x0:_0x3590e9[_0x47828b])==null?void 0x0:_0x53eeeb[_0x23a8c4(0x3fb)])!=null?_0x9166c0:![];return{'id':_0x47828b,'name':_0x475c5d,'price':_0x32b802,'special':_0x5caac7,'ga':_0x2c5c82,'rect':this[_0x23a8c4(0xc4)](_0x468b77),'type':_0x109039};}return void 0x0;}[_0x1eb601(0x446)](_0x3c0303){const _0x425e4b=_0x1eb601,_0x5a7612=Number(_0x3c0303[_0x425e4b(0x348)](DATA_GOS_ID));if(_0x5a7612&&this['context'][_0x425e4b(0x336)][_0x5a7612]){const {id:_0xcb629b,name:_0x50ca35,priceId:_0x562896,special:_0x4429bc,type:_0x3edfbd}=this[_0x425e4b(0xb9)][_0x425e4b(0x336)][_0x5a7612],_0x5308ed=_0x562896&&this[_0x425e4b(0xb9)][_0x425e4b(0x85)][Number(_0x562896)]?parseInt(this[_0x425e4b(0xb9)]['pricesById'][Number(_0x562896)][_0x425e4b(0x391)]):void 0x0;return{'id':_0xcb629b,'name':_0x50ca35,'price':_0x5308ed,'special':_0x4429bc,'ga':![],'rect':this[_0x425e4b(0xc4)](_0x3c0303),'type':_0x3edfbd};}return void 0x0;}[_0x1eb601(0xc4)](_0x323c37){const _0x48d552=_0x1eb601,_0x7dc0d9=_0x323c37[_0x48d552(0x4f9)](),_0x306b6b=this[_0x48d552(0xb9)][_0x48d552(0x1fb)][_0x48d552(0x4f9)]();return{'left':Math['round'](_0x7dc0d9[_0x48d552(0x289)]-_0x306b6b[_0x48d552(0x289)]),'top':Math['round'](_0x7dc0d9[_0x48d552(0x478)]-_0x306b6b['top']),'width':Math[_0x48d552(0x241)](_0x7dc0d9['width']),'height':Math[_0x48d552(0x241)](_0x7dc0d9[_0x48d552(0x3e0)])};}[_0x1eb601(0x454)](_0x4d41af,_0x34b23e){const _0x15cdc3=_0x1eb601,_0x440c6f=this[_0x15cdc3(0xb9)]['seatsById'][_0x4d41af],_0x5956a4=this['context'][_0x15cdc3(0x2c4)][_0x440c6f['rowId']][_0x15cdc3(0x1f1)](_0x5dad8d=>!_0x5dad8d[_0x15cdc3(0x452)]),_0x1dc729=Number(_0x440c6f['name']);if(!Number[_0x15cdc3(0x4a7)](_0x1dc729))return;let _0x245103=_0x1dc729,_0x59f67f;const _0x432917=[];do{_0x245103++,_0x59f67f=_0x5956a4[_0x15cdc3(0x12a)](_0x43f833=>_0x43f833[_0x15cdc3(0x391)]===String(_0x245103));if(_0x59f67f)_0x432917['push'](_0x59f67f);}while(_0x59f67f&&_0x432917[_0x15cdc3(0x204)]<_0x34b23e-0x1);let _0x2dfd39=_0x1dc729,_0x46d20b;const _0x33acee=[];do{_0x2dfd39--,_0x46d20b=_0x5956a4[_0x15cdc3(0x12a)](_0x32ab1f=>_0x32ab1f[_0x15cdc3(0x391)]===String(_0x2dfd39));if(_0x46d20b)_0x33acee[_0x15cdc3(0x116)](_0x46d20b);}while(_0x46d20b&&_0x33acee[_0x15cdc3(0x204)]<_0x34b23e-0x1);let _0x11e5d5=Math[_0x15cdc3(0x3cf)]((_0x34b23e-0x1)/0x2),_0x4d5988=Math['floor']((_0x34b23e-0x1)/0x2);if(_0x33acee[_0x15cdc3(0x204)]<_0x11e5d5)_0x11e5d5=_0x33acee[_0x15cdc3(0x204)],_0x4d5988=_0x34b23e-0x1-_0x11e5d5;else _0x432917[_0x15cdc3(0x204)]<_0x4d5988&&(_0x4d5988=_0x432917[_0x15cdc3(0x204)],_0x11e5d5=_0x34b23e-0x1-_0x4d5988);if(_0x432917[_0x15cdc3(0x204)]<_0x4d5988||_0x33acee[_0x15cdc3(0x204)]<_0x11e5d5)return;const _0x3c9bd8=[..._0x33acee[_0x15cdc3(0x538)](0x0,_0x11e5d5)['reverse'](),_0x440c6f,..._0x432917[_0x15cdc3(0x538)](0x0,_0x4d5988)];return _0x3c9bd8;}[_0x1eb601(0x1d1)](_0x5ab403){const _0x470d2f=_0x1eb601;var _0x4e2d92;const _0x18990f=(_0x4e2d92=this[_0x470d2f(0xb9)][_0x470d2f(0x11b)][_0x470d2f(0xe1)])!=null?_0x4e2d92:defaultZoomSettings,_0x229063=Math[_0x470d2f(0x147)](_0x18990f[_0x470d2f(0x48d)]*DPR3,this[_0x470d2f(0x14a)])/this['context'][_0x470d2f(0x368)],_0x700b45=_0x18990f[_0x470d2f(0x2f4)]*DPR3/this[_0x470d2f(0xb9)]['scale'];return Math[_0x470d2f(0x516)](_0x229063,Math[_0x470d2f(0x147)](_0x700b45,_0x5ab403));}[_0x1eb601(0x43e)](){const _0x4761cd=_0x1eb601;return this[_0x4761cd(0xb9)][_0x4761cd(0x368)];}[_0x1eb601(0x125)](){const _0x1f75cd=_0x1eb601,_0x4c5b78=this[_0x1f75cd(0x1e1)]();_0x4c5b78!==this['context']['scale']&&this[_0x1f75cd(0x97)](_0x4c5b78);}[_0x1eb601(0x26a)](){const _0x3edcdf=_0x1eb601,_0x2269b8=this[_0x3edcdf(0x449)]();_0x2269b8!==this['context'][_0x3edcdf(0x368)]&&this[_0x3edcdf(0x97)](_0x2269b8);}[_0x1eb601(0xb7)](_0x568065,_0x52d471){const _0x396aa9=_0x1eb601,_0xcabc96=_0x568065*DPR3;if(_0x52d471==null?void 0x0:_0x52d471['destination']){const _0x41447d={'x':_0x52d471[_0x396aa9(0x291)]['x']-this['getWidth']()*DPR3/0x2/_0xcabc96,'y':_0x52d471['destination']['y']-this[_0x396aa9(0x314)]()*DPR3/0x2/_0xcabc96};this['zoomToDestination'](_0xcabc96,_0x41447d,_0x52d471[_0x396aa9(0x19b)]);}else this[_0x396aa9(0x97)](_0xcabc96,void 0x0,_0x52d471==null?void 0x0:_0x52d471['durationMs']);}[_0x1eb601(0x119)](){const _0x30e722=_0x1eb601,_0x4361d8=this[_0x30e722(0x44f)];this[_0x30e722(0x44f)]=emptyPaddingSettings,this[_0x30e722(0x97)](this[_0x30e722(0x14a)]||0x1),this[_0x30e722(0x44f)]=_0x4361d8;}['clearSectorHighlight'](){const _0x9becc5=_0x1eb601;this[_0x9becc5(0x10b)][_0x9becc5(0x2ab)]();}[_0x1eb601(0x1e2)](_0x11e865){const _0x2f85aa=_0x1eb601;this['outlineLayer'][_0x2f85aa(0x2ab)](),this['outlineLayer'][_0x2f85aa(0x10a)](_0x11e865);}[_0x1eb601(0x4a0)](_0x336c3f,_0x4e35bf,_0x4f69eb){const _0x215109=_0x1eb601;this[_0x215109(0x300)][_0x215109(0x4a0)](_0x336c3f,_0x4e35bf,_0x4f69eb,this[_0x215109(0xb9)][_0x215109(0x11b)]['zoomAnimationDuration']||0x0);}[_0x1eb601(0x49b)](_0x2a0571,_0x39ba0f){const _0x3f2dba=_0x1eb601;var _0x3d8201;const _0x4487ff=this[_0x3f2dba(0xe4)](_0x2a0571);if(!_0x4487ff)return;const _0x34aa1a=this[_0x3f2dba(0x10b)][_0x3f2dba(0x39a)](_0x4487ff);if(!_0x34aa1a)return;(_0x39ba0f==null?void 0x0:_0x39ba0f[_0x3f2dba(0x311)])&&this[_0x3f2dba(0x10b)][_0x3f2dba(0x151)](_0x4487ff);const _0x1f02ae=0x1*DPR3,_0x32aebd=0x1,_0x3759af=this[_0x3f2dba(0xb9)][_0x3f2dba(0x368)]/DPR3,_0x24c6bf=_0x3759af>0.5,_0x57fa56={'x':_0x34aa1a['x']+_0x34aa1a[_0x3f2dba(0x55a)]/0x2,'y':_0x34aa1a['y']+_0x34aa1a[_0x3f2dba(0x3e0)]/0x2};if(this[_0x3f2dba(0xb9)][_0x3f2dba(0x243)]){const _0x2a8977=this[_0x3f2dba(0xb9)][_0x3f2dba(0x3e8)][_0x3f2dba(0x2af)],_0x4ab95f={'x':_0x2a8977[_0x3f2dba(0x55a)]/0x2,'y':_0x2a8977['height']/0x2};let _0x5b4ce4;try{const _0x20a572=this[_0x3f2dba(0xb9)][_0x3f2dba(0x272)][_0x3f2dba(0x1f1)](_0x4b99ec=>_0x4b99ec['sectorId']===_0x4487ff);if(_0x20a572[_0x3f2dba(0x204)]>0x0){let _0x4073cf=_0x20a572[0x0]['x'],_0x2270f3=_0x20a572[0x0]['x'],_0xb83883=_0x20a572[0x0]['y'],_0x253142=_0x20a572[0x0]['y'];for(let _0x38b91c=0x1;_0x38b91c<_0x20a572[_0x3f2dba(0x204)];_0x38b91c++){const _0x257e09=_0x20a572[_0x38b91c];if(_0x257e09['x']<_0x4073cf)_0x4073cf=_0x257e09['x'];if(_0x257e09['x']>_0x2270f3)_0x2270f3=_0x257e09['x'];if(_0x257e09['y']<_0xb83883)_0xb83883=_0x257e09['y'];if(_0x257e09['y']>_0x253142)_0x253142=_0x257e09['y'];}_0x5b4ce4={'x':(_0x4073cf+_0x2270f3)/0x2,'y':(_0xb83883+_0x253142)/0x2};}else _0x5b4ce4={'x':_0x34aa1a['x']-_0x2a8977['x']+_0x34aa1a[_0x3f2dba(0x55a)]/0x2,'y':_0x34aa1a['y']-_0x2a8977['y']+_0x34aa1a[_0x3f2dba(0x3e0)]/0x2};}catch(_0xa2ab46){_0x5b4ce4={'x':_0x34aa1a['x']-_0x2a8977['x']+_0x34aa1a[_0x3f2dba(0x55a)]/0x2,'y':_0x34aa1a['y']-_0x2a8977['y']+_0x34aa1a['height']/0x2};}const _0x2d2fff=Math[_0x3f2dba(0x505)](_0x4ab95f['y']-_0x5b4ce4['y'],_0x4ab95f['x']-_0x5b4ce4['x']),_0xb46e56=-Math['PI']/0x2-_0x2d2fff,_0x2da9cd=_0xb46e56*0xb4/Math['PI'];let _0x148269;const _0x3258fa=0.000001;Math[_0x3f2dba(0x182)]((_0x3d8201=this[_0x3f2dba(0xb9)][_0x3f2dba(0x280)])!=null?_0x3d8201:0x0)<_0x3258fa&&(_0x148269=-0.2);if(_0x24c6bf){this['animateSequence']([{'zoomTo':0.5,'destination':_0x57fa56,'rotateTo':_0x2da9cd,'tiltTo':_0x148269},{'zoomTo':_0x32aebd}]);return;}const _0x45ce03=_0x1f02ae/this[_0x3f2dba(0xb9)]['scale'],_0x57413f={'x':_0x57fa56['x']-this[_0x3f2dba(0x489)]()*DPR3/0x2/_0x1f02ae,'y':_0x57fa56['y']-this[_0x3f2dba(0x314)]()*DPR3/0x2/_0x1f02ae},_0x2261e7={'x':(this[_0x3f2dba(0xb9)]['underlay'][_0x3f2dba(0x2af)]['x']-_0x57413f['x'])*_0x1f02ae,'y':(this['context']['underlay'][_0x3f2dba(0x2af)]['y']-_0x57413f['y'])*_0x1f02ae},_0xcc20ff=this[_0x3f2dba(0xae)](_0x2261e7,_0x1f02ae),_0x543534=this[_0x3f2dba(0x212)](_0x45ce03,_0xcc20ff);this[_0x3f2dba(0x300)]['startTransformAnimation']({'duration':this[_0x3f2dba(0xb9)][_0x3f2dba(0x11b)][_0x3f2dba(0x38c)]||0x0,'fromScale':this[_0x3f2dba(0xb9)][_0x3f2dba(0x368)],'toScale':_0x1f02ae,'toTranslate':_0xcc20ff,'relativeTranslate':_0x543534,'fromRotationZ':this[_0x3f2dba(0xb9)][_0x3f2dba(0x5a3)],'toRotationZ':_0xb46e56,'fromTiltX':this[_0x3f2dba(0xb9)][_0x3f2dba(0x280)],'toTiltX':_0x148269,'fromPerspectiveZ':this['context'][_0x3f2dba(0x226)],'toPerspectiveZ':this[_0x3f2dba(0xb9)][_0x3f2dba(0x226)]});return;}if(_0x24c6bf){this[_0x3f2dba(0x1a0)]([{'zoomTo':0.5,'destination':_0x57fa56},{'zoomTo':_0x32aebd}]);return;}const _0x6aea62={'x':_0x57fa56['x']-this['width']*DPR3/0x2/_0x1f02ae,'y':_0x57fa56['y']-this[_0x3f2dba(0x3e0)]*DPR3/0x2/_0x1f02ae};this[_0x3f2dba(0x1ec)](_0x1f02ae,_0x6aea62);}[_0x1eb601(0x1ec)](_0x4c367f,_0x1ca4b5,_0x1bc554){const _0x252332=_0x1eb601,_0xed34cd=_0x4c367f/this['context'][_0x252332(0x368)],_0x23dccb={'x':(this[_0x252332(0xb9)][_0x252332(0x3e8)][_0x252332(0x2af)]['x']-_0x1ca4b5['x'])*_0x4c367f,'y':(this[_0x252332(0xb9)]['underlay'][_0x252332(0x2af)]['y']-_0x1ca4b5['y'])*_0x4c367f},_0x3d0176=this[_0x252332(0xae)](_0x23dccb,_0x4c367f),_0x319296=this['calculateRelativeScaledLimitedTranslate'](_0xed34cd,_0x3d0176);this[_0x252332(0x300)][_0x252332(0x2da)]({'duration':_0x1bc554||this[_0x252332(0xb9)][_0x252332(0x11b)][_0x252332(0x38c)]||0x0,'fromScale':this[_0x252332(0xb9)]['scale'],'toScale':_0x4c367f,'toTranslate':_0x23dccb,'relativeTranslate':_0x319296});}async['animateSequence'](_0x256e37){const _0x5e9a80=_0x1eb601;if(!Array['isArray'](_0x256e37)||_0x256e37[_0x5e9a80(0x204)]===0x0)return;for(const _0x3905cd of _0x256e37){await new Promise(_0x470782=>{const _0x37ba69=_0x5e9a80;var _0x2a85c3,_0x453402;const _0x460d30=_0x3905cd[_0x37ba69(0xb7)]!==void 0x0?_0x3905cd[_0x37ba69(0xb7)]*DPR3:this[_0x37ba69(0xb9)][_0x37ba69(0x368)],_0x55449f=_0x460d30/this[_0x37ba69(0xb9)][_0x37ba69(0x368)];let _0x3db176=this[_0x37ba69(0xb9)][_0x37ba69(0x5b1)],_0x4337da;if(_0x3905cd[_0x37ba69(0x291)]){const _0x5840e1={'x':_0x3905cd['destination']['x']-this[_0x37ba69(0x489)]()*DPR3/0x2/_0x460d30,'y':_0x3905cd['destination']['y']-this[_0x37ba69(0x314)]()*DPR3/0x2/_0x460d30},_0xa0f916={'x':(this['context'][_0x37ba69(0x3e8)][_0x37ba69(0x2af)]['x']-_0x5840e1['x'])*_0x460d30,'y':(this[_0x37ba69(0xb9)][_0x37ba69(0x3e8)]['viewBox']['y']-_0x5840e1['y'])*_0x460d30},_0x313bc4=this[_0x37ba69(0xae)](_0xa0f916,_0x460d30);_0x3db176=_0x313bc4,_0x4337da=this[_0x37ba69(0x212)](_0x55449f,_0x313bc4);}else{const _0x4d7493=this[_0x37ba69(0x486)](_0x55449f),_0x4c63e2=this[_0x37ba69(0xae)](_0x4d7493,_0x460d30);_0x3db176=_0x4c63e2,_0x4337da=this[_0x37ba69(0x212)](_0x55449f,_0x4c63e2);}const _0x3253c5=this[_0x37ba69(0xb9)][_0x37ba69(0x5a3)],_0x281249=_0x3905cd['rotateTo']!==void 0x0?_0x3905cd[_0x37ba69(0x24d)]*Math['PI']/0xb4:_0x3253c5,_0x3b6dc9=this[_0x37ba69(0xb9)][_0x37ba69(0x280)],_0x2c80dd=_0x3905cd[_0x37ba69(0x102)]!==void 0x0?_0x3905cd[_0x37ba69(0x102)]:_0x3b6dc9,_0x23e4a5=this['context']['perspectiveZ'],_0x1bf171=_0x3905cd[_0x37ba69(0x113)]!==void 0x0?_0x3905cd[_0x37ba69(0x113)]:_0x23e4a5,_0x43a185=()=>_0x470782(),_0x8641c4=_0x460d30===this[_0x37ba69(0xb9)][_0x37ba69(0x368)],_0x378983=_0x3db176['x']===this[_0x37ba69(0xb9)]['translate']['x']&&_0x3db176['y']===this[_0x37ba69(0xb9)][_0x37ba69(0x5b1)]['y'],_0x25bd54=_0x3253c5===_0x281249&&_0x3b6dc9===_0x2c80dd&&_0x23e4a5===_0x1bf171;if(_0x8641c4&&_0x378983&&_0x25bd54){_0x470782();return;}this[_0x37ba69(0x300)][_0x37ba69(0x2da)]({'duration':(_0x453402=(_0x2a85c3=_0x3905cd[_0x37ba69(0x19b)])!=null?_0x2a85c3:this[_0x37ba69(0xb9)][_0x37ba69(0x11b)]['zoomAnimationDuration'])!=null?_0x453402:0x0,'fromScale':this[_0x37ba69(0xb9)][_0x37ba69(0x368)],'toScale':_0x460d30,'toTranslate':_0x3db176,'relativeTranslate':_0x4337da,'fromRotationZ':_0x3253c5,'toRotationZ':_0x281249,'fromTiltX':_0x3b6dc9,'toTiltX':_0x2c80dd,'fromPerspectiveZ':_0x23e4a5,'toPerspectiveZ':_0x1bf171,'onComplete':_0x43a185});});}}[_0x1eb601(0xe4)](_0x7bb507){const _0xecc928=_0x1eb601;if(!_0x7bb507)return null;if(typeof _0x7bb507===_0xecc928(0x4bc))return _0x7bb507;const _0x5ca121=this[_0xecc928(0x46e)]()[_0xecc928(0x12a)](_0x159a15=>_0x159a15[_0xecc928(0x391)]===_0x7bb507);if(!_0x5ca121)return null;return _0x5ca121['id'];}[_0x1eb601(0x97)](_0x388295,_0x20e306,_0x3fc3cf){const _0xc6f053=_0x1eb601,_0x350e26=_0x388295/this[_0xc6f053(0xb9)][_0xc6f053(0x368)],_0x20cdcb=this[_0xc6f053(0x486)](_0x350e26,_0x20e306),_0x1e5073=this[_0xc6f053(0xae)](_0x20cdcb,_0x388295),_0x9e9519=this['calculateRelativeScaledLimitedTranslate'](_0x350e26,_0x1e5073);this['transformAnimator'][_0xc6f053(0x2da)]({'duration':_0x3fc3cf||this[_0xc6f053(0xb9)][_0xc6f053(0x11b)]['zoomAnimationDuration']||0x0,'fromScale':this[_0xc6f053(0xb9)][_0xc6f053(0x368)],'toScale':_0x388295,'toTranslate':_0x1e5073,'relativeTranslate':_0x9e9519}),this[_0xc6f053(0xb9)][_0xc6f053(0x11b)][_0xc6f053(0x399)]&&this['context'][_0xc6f053(0x11b)][_0xc6f053(0x399)](_0x388295,this[_0xc6f053(0xb9)]['scale']);}[_0x1eb601(0x3c6)](_0x19eeb2,_0x1cd359){const _0x5ccacc=_0x1eb601;if(this[_0x5ccacc(0xb9)][_0x5ccacc(0x243)])this['outlineLayer']['updateAnimationStep'](_0x19eeb2,_0x1cd359);else this[_0x5ccacc(0xb9)]['settings']['showOutlineLayerOnAnimation']?this[_0x5ccacc(0x10b)][_0x5ccacc(0x4ca)](_0x19eeb2,_0x1cd359):this[_0x5ccacc(0x10b)]['hide']();this[_0x5ccacc(0x8b)]['drawOnscreenCanvas'](_0x19eeb2,_0x1cd359),this[_0x5ccacc(0x417)]['drawOnscreenCanvas'](_0x19eeb2,_0x1cd359),this[_0x5ccacc(0x197)]&&this[_0x5ccacc(0x197)]['updateViewportIndicator']();}async[_0x1eb601(0x148)](){const _0x26fe8e=_0x1eb601;this[_0x26fe8e(0xb9)][_0x26fe8e(0x11b)][_0x26fe8e(0x193)]&&this[_0x26fe8e(0xb9)][_0x26fe8e(0x11b)][_0x26fe8e(0x193)]();this[_0x26fe8e(0x8b)][_0x26fe8e(0x148)](),this[_0x26fe8e(0x417)][_0x26fe8e(0x148)]();if(!this['stageLayer'][_0x26fe8e(0x4f8)])this[_0x26fe8e(0x10b)][_0x26fe8e(0x279)]();this['minimapLayer']&&this[_0x26fe8e(0x197)]['updateViewportIndicator'](),this['context']['settings']['onRedrawEnd']&&this[_0x26fe8e(0xb9)][_0x26fe8e(0x11b)][_0x26fe8e(0x1a9)]();}[_0x1eb601(0x271)](_0x31158e){const _0x4c3609=_0x1eb601,_0x33c9ac=this[_0x4c3609(0xb9)][_0x4c3609(0x5a3)]||0x0,_0x499bd0=this[_0x4c3609(0xb9)][_0x4c3609(0x280)]||0x0,_0xa5561a=Math[_0x4c3609(0x8f)](_0x33c9ac),_0x165709=Math[_0x4c3609(0x510)](_0x33c9ac),_0x4df2d1=_0x31158e['x']*_0xa5561a+_0x31158e['y']*_0x165709,_0x4ac086=-_0x31158e['x']*_0x165709+_0x31158e['y']*_0xa5561a,_0x505d1c=Math[_0x4c3609(0x8f)](_0x499bd0),_0x283d44=Math[_0x4c3609(0x516)](0.1,Math[_0x4c3609(0x182)](_0x505d1c)),_0x4baac7=0x1/_0x283d44,_0x42b73c=0x1+0.5*Math[_0x4c3609(0x182)](Math[_0x4c3609(0x510)](_0x499bd0)),_0x1e6d4d=Math[_0x4c3609(0x147)](0x4,_0x4baac7*_0x42b73c);return{'x':_0x4df2d1,'y':_0x4ac086*_0x1e6d4d};}['calculateLimitedTranslate'](_0x3b5f13,_0x3ff7a3){const _0x11a04b=_0x1eb601;return{'x':this['calculateLimit'](_0x3b5f13['x'],this[_0x11a04b(0x55a)]*DPR3,this[_0x11a04b(0xb9)][_0x11a04b(0x3e8)][_0x11a04b(0x2af)][_0x11a04b(0x55a)],_0x3ff7a3),'y':this['calculateLimit'](_0x3b5f13['y'],this[_0x11a04b(0x3e0)]*DPR3,this[_0x11a04b(0xb9)][_0x11a04b(0x3e8)][_0x11a04b(0x2af)]['height'],_0x3ff7a3)};}['calculateLimit'](_0x591f79,_0x1a142a,_0x3ab8bb,_0xe555ae){const _0x398344=_0x1eb601,_0x471b72=this[_0x398344(0x44f)]*_0x1a142a,_0x69e711=this['padding']*_0x1a142a,_0x209d1c=!_0xe555ae?_0x3ab8bb*this[_0x398344(0xb9)][_0x398344(0x368)]:_0x3ab8bb*_0xe555ae,_0x21d95f=_0x209d1c+_0x471b72+_0x69e711;if(_0x21d95f<_0x1a142a)return(_0x1a142a-_0x21d95f)/0x2+_0x471b72;if(_0x591f79>_0x471b72)return _0x471b72;const _0x392175=(_0x21d95f-_0x1a142a)*-0x1+_0x471b72;if(_0x591f79<_0x392175)return _0x392175;return _0x591f79;}[_0x1eb601(0x212)](_0xa4b72b,_0x892980){const _0x2880e7=_0x1eb601;return subPoints(_0x892980,{'x':this[_0x2880e7(0xb9)][_0x2880e7(0x5b1)]['x']*_0xa4b72b,'y':this[_0x2880e7(0xb9)][_0x2880e7(0x5b1)]['y']*_0xa4b72b});}[_0x1eb601(0x486)](_0x2a43fb,_0x1f20aa,_0x489405){const _0x43f09a=_0x1eb601;return addPoints(this[_0x43f09a(0x23f)](_0x2a43fb,_0x1f20aa,_0x489405),{'x':this[_0x43f09a(0xb9)]['translate']['x']*_0x2a43fb,'y':this[_0x43f09a(0xb9)][_0x43f09a(0x5b1)]['y']*_0x2a43fb});}[_0x1eb601(0x23f)](_0x538ba6,_0x431c4e,_0x5e4b70){const _0xec9b0e=_0x1eb601,_0x3c1023=_0x431c4e||{'x':this['width']/0x2,'y':this[_0xec9b0e(0x3e0)]/0x2},_0x4c05f2=_0x5e4b70||{'x':0x0,'y':0x0};return{'x':(_0x3c1023['x']*(0x1-_0x538ba6)+_0x4c05f2['x'])*DPR3,'y':(_0x3c1023['y']*(0x1-_0x538ba6)+_0x4c05f2['y'])*DPR3};}['getInitialScaleAndTranslate'](_0x46f495){const _0x53c4a0=_0x1eb601;var _0x191d59;const _0x20bd47=this['context'][_0x53c4a0(0x11b)][_0x53c4a0(0x354)]||0.85,_0x41a9e9=this['width']/_0x46f495[_0x53c4a0(0x2af)][_0x53c4a0(0x55a)],_0x4017a3=this[_0x53c4a0(0x3e0)]/_0x46f495[_0x53c4a0(0x2af)][_0x53c4a0(0x3e0)];let _0xb671ea=_0x41a9e9>_0x4017a3?_0x4017a3:_0x41a9e9;const _0x2a3f43=(_0x191d59=this['context'][_0x53c4a0(0x11b)][_0x53c4a0(0xe1)])!=null?_0x191d59:defaultZoomSettings;_0xb671ea=Math['min'](_0x2a3f43['maxZoomToFitScale']*DPR3,_0xb671ea*_0x20bd47*DPR3);const _0x5946f9={'x':(this[_0x53c4a0(0x55a)]*DPR3-_0x46f495[_0x53c4a0(0x2af)]['width']*_0xb671ea)/0x2,'y':(this[_0x53c4a0(0x3e0)]*DPR3-_0x46f495[_0x53c4a0(0x2af)]['height']*_0xb671ea)/0x2};return{'scale':_0xb671ea,'translate':_0x5946f9};}[_0x1eb601(0x1e1)](){const _0x2fa05d=_0x1eb601,_0x81ae59=this['getZoomPresets']();for(let _0x199fa2=0x0;_0x199fa2<_0x81ae59[_0x2fa05d(0x204)];_0x199fa2++){if(_0x81ae59[_0x199fa2]>this[_0x2fa05d(0xb9)][_0x2fa05d(0x368)])return _0x81ae59[_0x199fa2];}return this[_0x2fa05d(0x26e)]();}[_0x1eb601(0x449)](){const _0xb420e=_0x1eb601,_0x12efd8=this[_0xb420e(0x45f)]();for(let _0x9af31e=_0x12efd8[_0xb420e(0x204)]-0x1;_0x9af31e>=0x0;_0x9af31e--){if(_0x12efd8[_0x9af31e]<this['context'][_0xb420e(0x368)])return _0x12efd8[_0x9af31e];}return this[_0xb420e(0x39c)]();}[_0x1eb601(0x45f)](){const _0x564344=_0x1eb601;var _0x4e6f13;const _0x6d4c53=(_0x4e6f13=this[_0x564344(0xb9)][_0x564344(0x11b)][_0x564344(0xe1)])!=null?_0x4e6f13:defaultZoomSettings;if(!this[_0x564344(0x14a)]&&_0x6d4c53)return _0x6d4c53[_0x564344(0x39e)][_0x564344(0x2c8)](_0x3e44c4=>_0x3e44c4*DPR3);const _0xd0d015=this[_0x564344(0x14a)],_0xeed979=[_0xd0d015];return _0x6d4c53[_0x564344(0x39e)][_0x564344(0x2c8)](_0x4443dd=>_0x4443dd*DPR3)[_0x564344(0x4ff)](_0x3832c4=>{const _0x36f330=_0x564344;Math['max'](_0x3832c4/_0xd0d015,_0xd0d015/_0x3832c4)>1.2&&_0xeed979[_0x36f330(0x116)](_0x3832c4);}),_0xeed979[_0x564344(0x500)]((_0x11e4c0,_0x546f38)=>_0x11e4c0-_0x546f38);}['getMinZoom'](){const _0x10a05d=_0x1eb601;return this[_0x10a05d(0x45f)]()[0x0];}[_0x1eb601(0x26e)](){const _0x573d08=_0x1eb601,_0x3edae4=this[_0x573d08(0x45f)]();return _0x3edae4[_0x3edae4[_0x573d08(0x204)]-0x1];}[_0x1eb601(0x284)](_0x50a989){const _0x1fb669=_0x1eb601;if(this[_0x1fb669(0x8b)]instanceof HTMLCanvasLayer){const _0x19c0b7=this[_0x1fb669(0x3e9)](),_0x589aa4=_0x19c0b7[_0x1fb669(0x12a)](_0x5a42f7=>_0x5a42f7['id']===_0x50a989['id']);if(!_0x589aa4)return;const _0x5b98bf=this[_0x1fb669(0x8b)][_0x1fb669(0x343)]()[_0x1fb669(0x92)];if(_0x5b98bf)return;const _0x17be2b=this[_0x1fb669(0x8b)][_0x1fb669(0x590)]();this['outlineLayer'][_0x1fb669(0x40a)]();const _0x2ba7d0={'zoomToFit':()=>this[_0x1fb669(0x119)](),'getSectionsWithCoords':()=>this['getSectionsWithCoords']()};this[_0x1fb669(0x8b)]['applySectionViewAnimation'](_0x589aa4,_0x2ba7d0)[_0x1fb669(0x34e)](_0x53dcea=>{const _0xf56d9c=_0x1fb669;if(!_0x53dcea){this[_0xf56d9c(0x10b)]['show'](),this[_0xf56d9c(0x148)]();return;}const _0x44a287=this[_0xf56d9c(0xb9)][_0xf56d9c(0x272)],_0x197e3d=_0x44a287[_0xf56d9c(0x204)]?0x1:Math[_0xf56d9c(0x147)](0x1,this[_0xf56d9c(0xb9)][_0xf56d9c(0x368)]*2.5);this[_0xf56d9c(0x97)](_0x197e3d,_0x17be2b,this[_0xf56d9c(0xb9)][_0xf56d9c(0x11b)][_0xf56d9c(0x4d6)]);const _0x5be936={...this[_0xf56d9c(0x8b)][_0xf56d9c(0x3a8)]};if(this[_0xf56d9c(0x8b)]instanceof HTMLCanvasLayer){const _0x535a96={...this[_0xf56d9c(0x8b)][_0xf56d9c(0x343)]()};this['selectionLayer']['setTransformationState'](_0x5be936),this['selectionLayer']['setAnimationState']({..._0x535a96,'skewAngle':_0x5be936[_0xf56d9c(0x363)],'rotationAngle':_0x5be936['rotationAngle']});}else throw new Error(_0xf56d9c(0x387));this[_0xf56d9c(0x417)][_0xf56d9c(0x4f8)]=!![],this[_0xf56d9c(0x417)]['redraw']();});}else{const _0x384c6e=this['getSectionsWithCoords'](),_0x59ed1b=_0x384c6e[_0x1fb669(0x12a)](_0x26e884=>_0x26e884['id']===_0x50a989['id']);if(!_0x59ed1b)return;const _0x4497f4=this[_0x1fb669(0x8b)][_0x1fb669(0x343)](),_0x379835=_0x4497f4[_0x1fb669(0x92)];if(_0x379835)return;this[_0x1fb669(0x10b)][_0x1fb669(0x40a)]();const _0x4c7c8d={'zoomToFit':()=>this[_0x1fb669(0x119)](),'getSectionsWithCoords':()=>this[_0x1fb669(0x3e9)]()};this[_0x1fb669(0x8b)][_0x1fb669(0x330)](_0x59ed1b,_0x4c7c8d)[_0x1fb669(0x34e)](_0x4b28e7=>{const _0x433691=_0x1fb669;if(!_0x4b28e7){this[_0x433691(0x10b)][_0x433691(0x49c)](),this[_0x433691(0x148)]();return;}_0x50a989['id']!==void 0x0&&this[_0x433691(0x49b)](_0x50a989['id'],{'focus':!![]}),this['outlineLayer']['show'](),this[_0x433691(0x148)]();});}}['getStageLayer'](){const _0x17d55d=_0x1eb601;if(this[_0x17d55d(0xb9)][_0x17d55d(0x11b)][_0x17d55d(0x2ba)]){const _0x1c3f3b=WebGLCanvasLayer[_0x17d55d(0x17a)]();if(_0x1c3f3b)return new WebGLCanvasLayer(this[_0x17d55d(0xb9)]);}return new HTMLCanvasLayer(this['context']);}[_0x1eb601(0x4aa)](_0xc28435){const _0x4c4e36=_0x1eb601;if(!this['context'][_0x4c4e36(0x243)]){console[_0x4c4e36(0xa5)](_0x4c4e36(0x12f));return;}_0xc28435[_0x4c4e36(0x5a3)]!==void 0x0&&(this[_0x4c4e36(0xb9)][_0x4c4e36(0x5a3)]=_0xc28435['rotationZ']),_0xc28435[_0x4c4e36(0x226)]!==void 0x0&&(this[_0x4c4e36(0xb9)][_0x4c4e36(0x226)]=_0xc28435[_0x4c4e36(0x226)]),_0xc28435[_0x4c4e36(0x280)]!==void 0x0&&(this[_0x4c4e36(0xb9)][_0x4c4e36(0x280)]=_0xc28435[_0x4c4e36(0x280)]),this['stageLayer']&&_0x4c4e36(0x2b2)in this[_0x4c4e36(0x8b)]?this[_0x4c4e36(0x8b)]['forceRedraw']():this[_0x4c4e36(0x8b)][_0x4c4e36(0x148)](),this[_0x4c4e36(0x417)][_0x4c4e36(0x148)](),this[_0x4c4e36(0x10b)]&&this[_0x4c4e36(0x10b)][_0x4c4e36(0x2ec)]();}['get3DViewParams'](){const _0x20d907=_0x1eb601;return{'enable3DView':this[_0x20d907(0xb9)][_0x20d907(0x243)],'rotationZ':this[_0x20d907(0xb9)][_0x20d907(0x5a3)],'perspectiveZ':this['context']['perspectiveZ'],'tiltX':this[_0x20d907(0xb9)]['tiltX']};}[_0x1eb601(0x45a)](_0xf3dab8,_0x56b129=0x320){const _0x4880f8=_0x1eb601;if(!this[_0x4880f8(0xb9)][_0x4880f8(0x243)])return console[_0x4880f8(0xa5)](_0x4880f8(0x12f)),Promise[_0x4880f8(0x476)]();return animate3D({'rotationZ':this[_0x4880f8(0xb9)][_0x4880f8(0x5a3)],'perspectiveZ':this['context'][_0x4880f8(0x226)],'tiltX':this['context']['tiltX']},_0xf3dab8,_0x56b129,({rotationZ:_0x4495ce,perspectiveZ:_0xd7fd4f,tiltX:_0x60aa80})=>{const _0xfb4d7=_0x4880f8;var _0x25c047;if(_0x4495ce!==void 0x0)this[_0xfb4d7(0xb9)][_0xfb4d7(0x5a3)]=_0x4495ce;if(_0xd7fd4f!==void 0x0)this[_0xfb4d7(0xb9)][_0xfb4d7(0x226)]=_0xd7fd4f;if(_0x60aa80!==void 0x0)this['context'][_0xfb4d7(0x280)]=_0x60aa80;this['stageLayer']&&_0xfb4d7(0x2b2)in this[_0xfb4d7(0x8b)]?this[_0xfb4d7(0x8b)][_0xfb4d7(0x2b2)]():this[_0xfb4d7(0x8b)][_0xfb4d7(0x148)](),this[_0xfb4d7(0x417)]['redraw'](),(_0x25c047=this['outlineLayer'])==null?void 0x0:_0x25c047[_0xfb4d7(0x2ec)]();});}['animateRotation'](_0x610279){const _0x3188ab=_0x1eb601;if(!this[_0x3188ab(0xb9)][_0x3188ab(0x243)])return console[_0x3188ab(0xa5)]('3D\x20view\x20is\x20not\x20enabled.\x20Set\x20enable3DView:\x20true\x20in\x20settings.'),null;if(this[_0x3188ab(0x300)][_0x3188ab(0x490)]())return this['transformAnimator'][_0x3188ab(0x408)](_0x610279),null;this[_0x3188ab(0x2fc)][_0x3188ab(0x490)]()&&this['rotationAnimation'][_0x3188ab(0x392)]();this[_0x3188ab(0x2d8)]['send'](_0x3188ab(0xd3));const _0x1ed6dd=this[_0x3188ab(0x2fc)][_0x3188ab(0x583)](_0x610279,_0x100571=>{const _0x35e723=_0x3188ab;var _0x61a23b;this['context'][_0x35e723(0x5a3)]=_0x100571,this[_0x35e723(0x8b)]&&_0x35e723(0x2b2)in this[_0x35e723(0x8b)]?this[_0x35e723(0x8b)]['forceRedraw']():this[_0x35e723(0x8b)][_0x35e723(0x148)](),this[_0x35e723(0x417)][_0x35e723(0x148)](),(_0x61a23b=this[_0x35e723(0x10b)])==null?void 0x0:_0x61a23b[_0x35e723(0x2ec)]();});return _0x1ed6dd;}[_0x1eb601(0x435)](){const _0x58e449=_0x1eb601;this['rotationAnimation'][_0x58e449(0x490)]()&&(this['rotationAnimation'][_0x58e449(0x392)](),this['service'][_0x58e449(0x110)](_0x58e449(0x3d2)));}[_0x1eb601(0x4d9)](){const _0x572880=_0x1eb601;return this[_0x572880(0x2fc)][_0x572880(0x490)]();}[_0x1eb601(0x40d)](){const _0x5813dd=_0x1eb601;return this[_0x5813dd(0x2fc)][_0x5813dd(0x5a2)]();}[_0x1eb601(0x4cb)](_0x4bcda0){const _0x8f66c7=_0x1eb601;var _0x12acca,_0x37997c;this[_0x8f66c7(0xb9)][_0x8f66c7(0x11b)][_0x8f66c7(0x83)]=_0x4bcda0,_0x4bcda0?(_0x12acca=this[_0x8f66c7(0x10b)])==null?void 0x0:_0x12acca[_0x8f66c7(0x1fd)]():(_0x37997c=this[_0x8f66c7(0x10b)])==null?void 0x0:_0x37997c[_0x8f66c7(0x2ab)]();}['getHighlightAllOutlines'](){const _0x5af830=_0x1eb601;return this[_0x5af830(0xb9)][_0x5af830(0x11b)][_0x5af830(0x83)]||![];}['showMinimap'](){const _0x1f1e9b=_0x1eb601;this[_0x1f1e9b(0x197)]&&this[_0x1f1e9b(0x197)][_0x1f1e9b(0x49c)]();}['hideMinimap'](){const _0x14eede=_0x1eb601;this[_0x14eede(0x197)]&&this[_0x14eede(0x197)][_0x14eede(0x40a)]();}[_0x1eb601(0x4d0)](){const _0x1e4f02=_0x1eb601;var _0x33ddbd;if(this[_0x1e4f02(0x197)]){const _0x57f8db=((_0x33ddbd=this['minimapLayer'][_0x1e4f02(0x4a4)])==null?void 0x0:_0x33ddbd[_0x1e4f02(0x464)][_0x1e4f02(0x5c3)])!==_0x1e4f02(0x53b);_0x57f8db?this[_0x1e4f02(0x197)][_0x1e4f02(0x40a)]():this[_0x1e4f02(0x197)][_0x1e4f02(0x49c)]();}}['setMinimapPinsEnabled'](_0x28438a){const _0x363431=_0x1eb601;this['minimapLayer']&&(this[_0x363431(0x197)][_0x363431(0x5bb)](_0x28438a),this['refreshMinimap']());}[_0x1eb601(0x3d8)](_0x43c47c){const _0x44a8e8=_0x1eb601;this['minimapLayer']&&this[_0x44a8e8(0x197)][_0x44a8e8(0x263)](_0x43c47c);}},getOffset=_0x3c67fd=>{const _0x39de73=_0x1eb601,_0x197a0b=_0x3c67fd[_0x39de73(0x4f9)](),_0x25825e=document[_0x39de73(0x2e7)];let _0x54b705=window[_0x39de73(0x35b)],_0x2c1e72=window[_0x39de73(0x3c4)];return _0x25825e&&(_0x54b705=_0x54b705||_0x25825e['scrollLeft'],_0x2c1e72=_0x2c1e72||_0x25825e[_0x39de73(0x157)]),{'top':_0x197a0b[_0x39de73(0x478)]+_0x2c1e72,'left':_0x197a0b[_0x39de73(0x289)]+_0x54b705};},getSeatsWithUpdatedCoords=({seats:_0xfcd956,background:_0x37a317})=>_0xfcd956[_0x1eb601(0x2c8)](_0x2e6dc5=>({..._0x2e6dc5,'x':_0x2e6dc5['x']-_0x37a317['viewBox']['x'],'y':_0x2e6dc5['y']-_0x37a317[_0x1eb601(0x2af)]['y']})),isGaOutline=_0x3a84f6=>{const _0x63dca7=_0x1eb601,_0x280f4e=_0x3a84f6['getAttribute'](_0x63dca7(0x1b8));if(!_0x280f4e)return![];return!!_0x280f4e&&(_0x280f4e['indexOf'](_0x63dca7(0x14b))!==-0x1||_0x280f4e[_0x63dca7(0x234)]('sm-table')!==-0x1||_0x280f4e[_0x63dca7(0x234)](_0x63dca7(0x2f9))!==-0x1);},isSectionOutline=_0x5a2369=>{const _0x2f521a=_0x1eb601,_0x461dd5=_0x5a2369[_0x2f521a(0x348)](_0x2f521a(0x1b8));if(!_0x461dd5)return![];return!!_0x461dd5&&_0x461dd5[_0x2f521a(0x234)](OUTLINE_CLASS)!==-0x1;},BookingApiClient=class{constructor(_0x3e0b00){const _0x4cabd5=_0x1eb601;this[_0x4cabd5(0x11b)]={..._0x3e0b00};}async[_0x1eb601(0x248)](_0x1734cc){const _0x388b12=_0x1eb601,_0x328615=await this[_0x388b12(0xdf)](_0x388b12(0x80)+_0x1734cc+_0x388b12(0xb5)+this[_0x388b12(0x11b)]['publicKey']);return this[_0x388b12(0x4f1)](_0x328615);}async[_0x1eb601(0x512)](_0x553b5c){const _0x5aa627=_0x1eb601,_0x2ff783=await this[_0x5aa627(0xdf)](_0x5aa627(0x59a)+_0x553b5c+_0x5aa627(0xb5)+this[_0x5aa627(0x11b)]['publicKey']);_0x2ff783['schema']=this[_0x5aa627(0x4f1)](_0x2ff783[_0x5aa627(0x179)]);const {seatmap:_0x1070bd,..._0x2045cc}=_0x2ff783;return _0x2045cc;}async[_0x1eb601(0x2e5)](_0x261305){const _0x549092=_0x1eb601,_0x4dd4e8=this['settings']['debug']?_0x549092(0x4a8)+this['settings']['debug']:'',_0x4d0a1b=await this['request']('event/?id='+_0x261305+_0x549092(0xb5)+this[_0x549092(0x11b)][_0x549092(0x3ce)]+_0x549092(0x177)+_0x4dd4e8);return this[_0x549092(0x4f1)](_0x4d0a1b);}[_0x1eb601(0x4f1)](_0x5d3715){const _0x101eb0=_0x1eb601,_0x3c5538=_0x5d3715[_0x101eb0(0x434)];if(_0x3c5538==null?void 0x0:_0x3c5538[_0x101eb0(0x4a1)]){const _0x5c1fd4=_0x3c5538['svg'][_0x101eb0(0x12c)](/<svg[^>]*>/);if(_0x5c1fd4){const _0x4e4c72=_0x5c1fd4[0x0];!_0x4e4c72[_0x101eb0(0x308)](_0x101eb0(0x33f))&&!_0x4e4c72['includes'](_0x101eb0(0x282))&&(_0x3c5538[_0x101eb0(0x4a1)]=_0x3c5538[_0x101eb0(0x4a1)][_0x101eb0(0x3b5)](_0x101eb0(0xa6),_0x101eb0(0x3c5)+_0x3c5538[_0x101eb0(0x2af)][_0x101eb0(0x55a)]+_0x101eb0(0x27f)+_0x3c5538[_0x101eb0(0x2af)][_0x101eb0(0x3e0)]+_0x101eb0(0x81)));}}return{..._0x5d3715,'plainSeats':void 0x0,'seats':this[_0x101eb0(0x2f2)](_0x5d3715['plainSeats'],_0x5d3715==null?void 0x0:_0x5d3715[_0x101eb0(0x5ac)]),'rows':this[_0x101eb0(0xcb)](_0x5d3715[_0x101eb0(0x2dc)]),'sectors':this[_0x101eb0(0xcb)](_0x5d3715['sectors'])};}async[_0x1eb601(0x5b9)](_0x53bba4){const _0x4bfb2a=_0x1eb601;return this[_0x4bfb2a(0xdf)](_0x4bfb2a(0x562)+_0x53bba4+_0x4bfb2a(0xb5)+this[_0x4bfb2a(0x11b)]['publicKey']);}async[_0x1eb601(0x251)](_0x4549bb){const _0x5072de=_0x1eb601;return this['requestPlain'](_0x5072de(0x49f)+_0x4549bb+_0x5072de(0xb5)+this[_0x5072de(0x11b)][_0x5072de(0x3ce)]);}async['request'](_0x2fd52c){const _0x429a92=_0x1eb601;try{const _0x241ea1=new Request(concatUrlParts(this['settings'][_0x429a92(0x9e)],_0x2fd52c),{'method':'GET'}),_0x23d717=Date[_0x429a92(0x515)](),_0x24cbe0=await fetch(_0x241ea1),_0x43b4d8=Date[_0x429a92(0x515)]()-_0x23d717;if(!_0x24cbe0['ok'])throw new Error('API\x20request\x20failed\x20with\x20status\x20'+_0x24cbe0[_0x429a92(0x561)]+':\x20'+_0x24cbe0[_0x429a92(0x52a)]);const _0x2d6508=await _0x24cbe0['text']();try{const _0x4f0926=JSON[_0x429a92(0x31b)](_0x2d6508);return _0x4f0926[_0x429a92(0x404)]=_0x43b4d8,_0x4f0926[_0x429a92(0x167)]=_0x2d6508[_0x429a92(0x204)],_0x4f0926;}catch(_0x235388){throw new Error('Failed\x20to\x20parse\x20API\x20response\x20as\x20JSON:\x20'+_0x235388[_0x429a92(0x4c4)]);}}catch(_0x39b476){console['error']('Error\x20in\x20request\x20to\x20'+_0x2fd52c+':',_0x39b476);throw _0x39b476;}}async[_0x1eb601(0x36b)](_0x1d53cf){const _0x40ad9d=_0x1eb601;try{const _0x28188a=new Request(concatUrlParts(this[_0x40ad9d(0x11b)][_0x40ad9d(0x9e)],_0x1d53cf),{'method':_0x40ad9d(0x29d)}),_0x2cab77=Date['now'](),_0x3ff2cf=await fetch(_0x28188a),_0x3de073=Date[_0x40ad9d(0x515)]()-_0x2cab77;if(!_0x3ff2cf['ok'])throw new Error('API\x20request\x20failed\x20with\x20status\x20'+_0x3ff2cf[_0x40ad9d(0x561)]+':\x20'+_0x3ff2cf[_0x40ad9d(0x52a)]);const _0x52fb9f=await _0x3ff2cf[_0x40ad9d(0x3e7)](),_0x357d54={'data':_0x52fb9f,'requestTime':_0x3de073,'responseSize':_0x52fb9f[_0x40ad9d(0x204)]};return _0x357d54;}catch(_0x4cffcc){console[_0x40ad9d(0x1ca)](_0x40ad9d(0x3ab)+_0x1d53cf+':',_0x4cffcc);throw _0x4cffcc;}}[_0x1eb601(0x2f2)](_0x1017b7,_0x1ccd50){const _0xd6cf68=_0x1eb601;var _0x439030,_0x23152b;const _0x513067=[];let _0x342d03=0x0,_0x425a3d=0x0,_0x3c13d1=0x0,_0x51f696=0x0,_0x5cd8df=0x0;for(let _0x32437f=0x0;_0x32437f<_0x1017b7[_0xd6cf68(0x159)]['length'];_0x32437f++){const _0x2d292d=_0x1017b7[_0xd6cf68(0x159)][_0x32437f]+_0x342d03,_0x185a3e=_0x1017b7['x'][_0x32437f]+_0x425a3d,_0x3c5561=_0x1017b7['y'][_0x32437f]+_0x3c13d1,_0x2153d2=_0x1017b7[_0xd6cf68(0x214)][_0x32437f],_0x40df6d=_0x1017b7[_0xd6cf68(0x98)][_0x32437f]+_0x51f696,_0xc93405=_0x1017b7[_0xd6cf68(0x499)][_0x32437f]+_0x5cd8df,_0x398119=(_0x439030=_0x1ccd50==null?void 0x0:_0x1ccd50[_0xd6cf68(0x35d)])==null?void 0x0:_0x439030['includes'](_0x2d292d),_0x257de6=(_0x23152b=_0x1ccd50==null?void 0x0:_0x1ccd50[_0xd6cf68(0x2a7)])==null?void 0x0:_0x23152b['includes'](_0x2d292d);_0x513067[_0xd6cf68(0x116)]({'id':_0x2d292d,'x':_0x185a3e,'y':_0x3c5561,'name':_0x2153d2,'rowId':_0x40df6d,'sectorId':_0xc93405,'isAccessible':_0x398119,'isMarked':_0x257de6}),_0x342d03=_0x2d292d,_0x425a3d=_0x185a3e,_0x3c13d1=_0x3c5561,_0x51f696=_0x40df6d,_0x5cd8df=_0xc93405;}return _0x513067;}[_0x1eb601(0xcb)](_0x2c20a2){const _0xaf3f9f=_0x1eb601,_0xadf2f2=[];let _0x3cee2b=0x0;for(let _0x3b1d21=0x0;_0x3b1d21<_0x2c20a2[_0xaf3f9f(0x204)];_0x3b1d21++){const _0x29e966=_0x2c20a2[_0x3b1d21],_0x565c78=_0x29e966['id']+_0x3cee2b;_0xadf2f2[_0xaf3f9f(0x116)]({..._0x29e966,'id':_0x565c78}),_0x3cee2b=_0x565c78;}return _0xadf2f2;}},concatUrlParts=(_0x452312,_0x252390)=>{const _0x4266d5=_0x1eb601;return _0x452312[_0x4266d5(0x3b5)](/\/$/,'')+'/'+_0x252390[_0x4266d5(0x3b5)](/^\//,'');};import{createMachine,guard,reduce,state,transition}from'robot3';var DEFAULT_SCALE=0x1,context=()=>({'scale':DEFAULT_SCALE,'isEagleView':![],'mode':_0x1eb601(0x1a2),'events':[]}),getSelectMode=({altKey:_0x1ef891,shiftKey:_0x19f4bb})=>{const _0xe47d1f=_0x1eb601;if(_0x1ef891&&!_0x19f4bb)return'subtract';if(!_0x1ef891&&_0x19f4bb)return _0xe47d1f(0x1f5);return _0xe47d1f(0x3b5);},dragToSelect=(_0x50faaa,_0x106d6c)=>{const _0x15c634=_0x1eb601,_0x2c5901={'type':_0x15c634(0x3dd),'selectMode':getSelectMode(_0x106d6c),'rect':{'x':_0x106d6c[_0x15c634(0x1c3)]['x'],'y':_0x106d6c[_0x15c634(0x1c3)]['y'],'width':_0x106d6c[_0x15c634(0x14e)]['x'],'height':_0x106d6c[_0x15c634(0x14e)]['y']},'isStart':_0x106d6c[_0x15c634(0x309)]===_0x15c634(0x380),'isFinish':_0x106d6c['type']===_0x15c634(0x9f),'isRowsMode':_0x50faaa[_0x15c634(0x221)]===_0x15c634(0x349)};return{..._0x50faaa,'events':[_0x2c5901]};},dragToPan=(_0xb2d1b2,_0x30e249)=>{const _0x44f4da=_0x1eb601,_0x3d3e6d={'type':_0x44f4da(0x91),'delta':_0x30e249[_0x44f4da(0x14e)],'isStart':_0x30e249[_0x44f4da(0x309)]==='srcDragStart','isFinish':_0x30e249[_0x44f4da(0x309)]===_0x44f4da(0x9f)};return{..._0xb2d1b2,'events':[_0x3d3e6d]};},click=(_0x533678,_0x1816f4)=>{const _0x27bae3=_0x1eb601;var _0x3c45e6;let _0x334dc3=[];const _0x17e12e=_0x533678[_0x27bae3(0x221)]==='pan';if(_0x17e12e&&_0x533678[_0x27bae3(0x56e)])_0x334dc3=[{'type':_0x27bae3(0x58f),'scale':DEFAULT_SCALE,'origin':_0x1816f4[_0x27bae3(0x14d)]}];else{if(_0x17e12e){}else{if((_0x3c45e6=_0x1816f4[_0x27bae3(0x128)])==null?void 0x0:_0x3c45e6['ga'])_0x334dc3=[{'type':_0x27bae3(0x1be),'point':_0x1816f4[_0x27bae3(0x14d)],'section':_0x1816f4['section']}];else{if(_0x1816f4[_0x27bae3(0x44e)])_0x334dc3=[{'type':_0x27bae3(0x3d5),'selectMode':getSelectMode(_0x1816f4),'point':_0x1816f4[_0x27bae3(0x14d)],'seat':_0x1816f4[_0x27bae3(0x44e)],'isRowsMode':_0x533678[_0x27bae3(0x221)]==='selectRows'}];else getSelectMode(_0x1816f4)===_0x27bae3(0x3b5)&&(_0x334dc3=[{'type':'destDeselect'}]);}}}return{..._0x533678,'events':_0x334dc3};},updateHover=(_0x2ea58d,_0x20064a,_0x4027e1)=>{const _0xc1c1d8=_0x1eb601;if(_0x2ea58d[_0xc1c1d8(0x25f)]&&_0x2ea58d['hovered'][_0xc1c1d8(0x108)]===_0x20064a&&_0x2ea58d[_0xc1c1d8(0x25f)]['id']===_0x4027e1['id'])return _0x2ea58d;const _0x393031=[];if(_0x2ea58d[_0xc1c1d8(0x25f)])switch(_0x2ea58d[_0xc1c1d8(0x25f)][_0xc1c1d8(0x108)]){case _0xc1c1d8(0x44e):_0x393031['push']({'type':_0xc1c1d8(0x52c)});break;case _0xc1c1d8(0x128):_0x393031[_0xc1c1d8(0x116)]({'type':'destSectionMouseLeave'});}switch(_0x20064a){case _0xc1c1d8(0x44e):_0x393031['push']({'type':_0xc1c1d8(0x3f6),'seat':_0x4027e1,'isRowsMode':_0x2ea58d['mode']==='selectRows'});break;case _0xc1c1d8(0x128):_0x393031[_0xc1c1d8(0x116)]({'type':_0xc1c1d8(0x4de),'section':_0x4027e1});break;}return{..._0x2ea58d,'hovered':{'targetType':_0x20064a,'id':_0x4027e1['id']},'events':_0x393031};},mouseMove=(_0x1d0bf9,_0x45559e)=>{const _0x2b10eb=_0x1eb601;var _0x1c035c;const _0x517321=_0x1d0bf9[_0x2b10eb(0x221)]==='pan';if(_0x517321)return _0x1d0bf9;if((_0x1c035c=_0x45559e[_0x2b10eb(0x128)])==null?void 0x0:_0x1c035c['ga'])return updateHover(_0x1d0bf9,_0x2b10eb(0x128),_0x45559e[_0x2b10eb(0x128)]);else{if(_0x45559e[_0x2b10eb(0x44e)])return updateHover(_0x1d0bf9,'seat',_0x45559e[_0x2b10eb(0x44e)]);else{if(_0x1d0bf9[_0x2b10eb(0x25f)]){let _0x2cfe94;switch(_0x1d0bf9[_0x2b10eb(0x25f)][_0x2b10eb(0x108)]){case _0x2b10eb(0x44e):_0x2cfe94={'type':_0x2b10eb(0x52c)};break;case _0x2b10eb(0x128):_0x2cfe94={'type':_0x2b10eb(0x2cf)};break;}return{..._0x1d0bf9,'hovered':void 0x0,'events':[_0x2cfe94]};}}}return _0x1d0bf9;},contextChange=(_0x1a5ce2,_0x1974ed)=>{const {type:_0x110765,..._0x33a1c8}=_0x1974ed;return{..._0x1a5ce2,..._0x33a1c8};},contextChangeTransition=transition(_0x1eb601(0x525),_0x1eb601(0x2d4),reduce(contextChange)),isSelectMode=_0x4a7e5a=>_0x4a7e5a[_0x1eb601(0x221)]===_0x1eb601(0x1a2)||_0x4a7e5a[_0x1eb601(0x221)]===_0x1eb601(0x349),machine=createMachine({'idle':state(contextChangeTransition,transition(_0x1eb601(0x4d4),_0x1eb601(0x2d4),reduce(click)),transition(_0x1eb601(0x380),'selecting',reduce(dragToSelect),guard(isSelectMode)),transition(_0x1eb601(0x380),_0x1eb601(0x2d9),reduce(dragToPan)),transition(_0x1eb601(0x122),_0x1eb601(0x2d4),reduce(mouseMove))),'panning':state(contextChangeTransition,transition('srcDragMove','panning',reduce(dragToPan)),transition('srcDragEnd',_0x1eb601(0x2d4),reduce(dragToPan))),'selecting':state(contextChangeTransition,transition(_0x1eb601(0x5ae),_0x1eb601(0x250),reduce(dragToSelect)),transition(_0x1eb601(0x9f),_0x1eb601(0x2d4),reduce(dragToSelect)))},context),machine_default=machine,COLOR_UNAVAILABLE='#bbb',DEFAULT_SIZE=0x18,theme={'gridStep':0xe,'bgColor':_0x1eb601(0x2a2),'priceColors':[[_0x1eb601(0x20b),_0x1eb601(0xc6),_0x1eb601(0x4dd),_0x1eb601(0x26c),'#00BCD4',_0x1eb601(0x28f),_0x1eb601(0x23c),'#CDDC39',_0x1eb601(0x378),_0x1eb601(0x1bc),_0x1eb601(0x23b),_0x1eb601(0xde),_0x1eb601(0x1ce)],[_0x1eb601(0x26c)],[_0x1eb601(0x26c),'#FFC107'],[_0x1eb601(0xc6),_0x1eb601(0x26c),_0x1eb601(0x378)]],'colorCategories':[_0x1eb601(0x20b),_0x1eb601(0xc6),_0x1eb601(0x4dd),'#2196F3',_0x1eb601(0x4d3),_0x1eb601(0x28f),_0x1eb601(0x23c),'#CDDC39','#FFC107',_0x1eb601(0x1bc),_0x1eb601(0x23b),_0x1eb601(0xde),_0x1eb601(0x1ce)],'seatStyles':{'default':{'size':DEFAULT_SIZE,'color':COLOR_UNAVAILABLE,'seatName':{'font':_0x1eb601(0x8d),'color':_0x1eb601(0x4bd)},'accessible':{'size':DEFAULT_SIZE,'color':COLOR_UNAVAILABLE,'imageId':_0x1eb601(0x35d)}},'unavailable':{'size':0x6,'color':COLOR_UNAVAILABLE},'filtered':{'size':0xa,'color':COLOR_UNAVAILABLE},'hovered':{'size':DEFAULT_SIZE,'color':COLOR_UNAVAILABLE,'seatName':{'font':_0x1eb601(0x8d),'color':'#fff'},'stroke':{'width':0x2,'color':_0x1eb601(0x249),'align':_0x1eb601(0x35c)}},'selected':{'size':DEFAULT_SIZE,'color':COLOR_UNAVAILABLE,'stroke':{'width':0x2,'color':_0x1eb601(0x249),'align':_0x1eb601(0x35c)},'seatName':{'font':_0x1eb601(0x8d),'color':_0x1eb601(0x211)}}},'svgSectionStyles':{'default':{},'unavailable':{},'hovered':{},'selected':{}}},theme_default2=theme,defaults={'debounceDelay':0x190,'zoomAnimationDuration':0x190,'seatSelectionMinZoom':0.66,'theme':theme_default2,'onBeforeSeatDraw':_0x31dd68=>{const _0x40e6f6=_0x1eb601;var _0x312897,_0x5c4e9f,_0x3d7446,_0x1d574e;const _0x5735a1=Object[_0x40e6f6(0x3df)]({},_0x31dd68[_0x40e6f6(0x464)]),_0x21136b=(_0x312897=_0x31dd68[_0x40e6f6(0xb9)][_0x40e6f6(0x11b)][_0x40e6f6(0x5c2)])==null?void 0x0:_0x312897[_0x40e6f6(0x320)];if((((_0x5c4e9f=_0x31dd68['seat']['special'])==null?void 0x0:_0x5c4e9f[_0x40e6f6(0x53e)])||((_0x3d7446=_0x31dd68[_0x40e6f6(0x44e)][_0x40e6f6(0x2f3)])==null?void 0x0:_0x3d7446['category'])===0x0)&&(_0x21136b==null?void 0x0:_0x21136b[_0x40e6f6(0x204)])){if((_0x1d574e=_0x31dd68['context'][_0x40e6f6(0x431)])==null?void 0x0:_0x1d574e[_0x31dd68[_0x40e6f6(0x44e)]['special'][_0x40e6f6(0x53e)]])_0x5735a1[_0x40e6f6(0x4e4)]=_0x31dd68['context'][_0x40e6f6(0x431)][_0x31dd68[_0x40e6f6(0x44e)][_0x40e6f6(0x2f3)][_0x40e6f6(0x53e)]];else _0x5735a1['color']=_0x21136b[_0x31dd68['seat'][_0x40e6f6(0x2f3)]['category']%_0x21136b[_0x40e6f6(0x204)]];}return _0x5735a1;}},defaults_default=defaults,SeatmapAdminRenderer=class extends Renderer{constructor(_0x34d526,_0x3d4ad5){const _0x54e8b1=_0x1eb601;super(_0x34d526,machine_default,mergeSettings(defaults_default,_0x3d4ad5));const _0x5265f3=_0x3d4ad5&&_0x3d4ad5['env'];let _0x5d23e4='';switch(_0x5265f3){case _0x54e8b1(0x5a6):_0x5d23e4=window[_0x54e8b1(0x1ea)][_0x54e8b1(0x1c3)]+'/api/public/v1.0/';break;case _0x54e8b1(0x542):_0x5d23e4=_0x54e8b1(0x2e4);break;default:_0x5d23e4='https://booking.seatmap.pro/api/public/v1.0/';}const _0x5cf5ba=_0x3d4ad5&&_0x3d4ad5['baseUrl']||_0x5d23e4,_0xb4fea2=_0x3d4ad5&&_0x3d4ad5[_0x54e8b1(0x3ce)];if(!_0xb4fea2)throw new Error('Public\x20key\x20is\x20undefined');this[_0x54e8b1(0x24a)]=new BookingApiClient({'baseUrl':_0x5cf5ba,'publicKey':_0xb4fea2,'debug':_0x3d4ad5==null?void 0x0:_0x3d4ad5['debug']});}['setMode'](_0x16d9cf){const _0x552d09=_0x1eb601;return super[_0x552d09(0x531)](_0x16d9cf),this[_0x552d09(0x10b)]?(_0x16d9cf===_0x552d09(0x143)?this[_0x552d09(0x10b)]['hide']():this['outlineLayer'][_0x552d09(0x49c)](),!![]):![];}async[_0x1eb601(0x593)](_0x14077b){const _0x871f19=_0x1eb601,_0x4986ae=await this['apiClient']['fetchSchemaForEvent'](_0x14077b);await this[_0x871f19(0x5a7)](_0x4986ae);}async['loadSchema'](_0x5ea8d8){const _0x2ca646=_0x1eb601,_0x43f559=await this[_0x2ca646(0x24a)][_0x2ca646(0x248)](_0x5ea8d8);await this['setSchemaData'](_0x43f559);}};import{nanoid}from'nanoid';var STATS_URL='https://stat.seatmap.pro',isLocalhost=()=>location[_0x1eb601(0xa1)]===_0x1eb601(0x4ec)||location[_0x1eb601(0xa1)]==='127.0.0.1'||location['hostname']===_0x1eb601(0x3d1),BookingStats=class{constructor(){const _0x26cee5=_0x1eb601;this[_0x26cee5(0x3b2)]=-0x1,this[_0x26cee5(0x5be)]=0x0,this[_0x26cee5(0x3ca)]=nanoid(),this[_0x26cee5(0x5b4)]=Date[_0x26cee5(0x515)]();}['request'](_0x294019,_0x356637){const _0x4269a8=_0x1eb601;if(isLocalhost())return;const _0x19d8dd={..._0x356637,'sessionId':this[_0x4269a8(0x3ca)],'requestNumber':++this[_0x4269a8(0x5be)],'version':VERSION},_0x4e7542=new Request(STATS_URL+_0x294019,{'method':'POST','body':JSON[_0x4269a8(0x4e8)](_0x19d8dd),'mode':_0x4269a8(0x3c2)});fetch(_0x4e7542);}['sendInit'](_0x57938f){const _0x4e43c8=_0x1eb601,_0x57d016={'eventId':this[_0x4e43c8(0x578)],'seatCount':this['seatCount'],'availableSeatCount':this[_0x4e43c8(0xf7)],'schemaRequestTime':this[_0x4e43c8(0x24e)],'schemaResponseSize':this[_0x4e43c8(0x32f)],'pricesRequestTime':this['pricesRequestTime'],'pricesResponseSize':this[_0x4e43c8(0x20c)],'viewBox':_0x57938f,'screenWidth':window[_0x4e43c8(0x40e)]['width'],'screenHeight':window[_0x4e43c8(0x40e)][_0x4e43c8(0x3e0)],'initTime':this[_0x4e43c8(0x3b2)],'pathUrl':this[_0x4e43c8(0x596)],'eventName':this[_0x4e43c8(0x458)],'tags':this[_0x4e43c8(0x522)],'version':VERSION};this[_0x4e43c8(0xdf)](_0x4e43c8(0x395),_0x57d016);}[_0x1eb601(0x3e6)](_0x23dd26){const _0x14db9e=_0x1eb601;this['request'](_0x14db9e(0x563),{'viewBox':_0x23dd26});}['sendSeatSelect'](_0x4b3f5f){const _0xaac0d0=_0x1eb601;this[_0xaac0d0(0xdf)](_0xaac0d0(0xd1),_0x4b3f5f);}['sendSeatDeselect'](_0x394ef0){const _0x36dc63=_0x1eb601;this[_0x36dc63(0xdf)](_0x36dc63(0x20e),_0x394ef0);}},COLOR_UNAVAILABLE2=_0x1eb601(0x504),DEFAULT_SIZE2=0x10,ACCESSIBLE_INCREASE_INDEX=1.625,theme2={'gridStep':0xe,'bgColor':_0x1eb601(0x2a2),'priceColors':[[_0x1eb601(0x20b),_0x1eb601(0xc6),'#3F51B5',_0x1eb601(0x26c),'#00BCD4',_0x1eb601(0x28f),_0x1eb601(0x23c),_0x1eb601(0x3c9),_0x1eb601(0x378),_0x1eb601(0x1bc),_0x1eb601(0x23b),'#F44336',_0x1eb601(0x1ce)],[_0x1eb601(0x26c)],['#2196F3',_0x1eb601(0x378)],[_0x1eb601(0xc6),'#2196F3','#FFC107']],'images':{'checkmark':_0x1eb601(0x141),'star':_0x1eb601(0xbb),'accessible':_0x1eb601(0xa4),'loading':'<svg\x20width=\x22128\x22\x20height=\x22128\x22\x20viewBox=\x220\x200\x20128\x20128\x22\x20fill=\x22none\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M64.5\x2014C92.3905\x2014\x20115\x2036.6096\x20115\x2064.5C115\x2092.3905\x2092.3905\x20115\x2064.5\x20115C36.6096\x20115\x2014\x2092.3905\x2014\x2064.5\x22\x20stroke=\x22white\x22\x20stroke-width=\x2212\x22\x20stroke-linecap=\x22round\x22/></svg>','error':_0x1eb601(0x4e3)},'seatStyles':{'default':{'size':DEFAULT_SIZE2,'color':COLOR_UNAVAILABLE2,'accessible':{'size':DEFAULT_SIZE2*ACCESSIBLE_INCREASE_INDEX,'color':COLOR_UNAVAILABLE2,'imageId':_0x1eb601(0x35d)}},'unavailable':{'size':0x6,'color':COLOR_UNAVAILABLE2},'filtered':{'size':0xa,'color':COLOR_UNAVAILABLE2},'hovered':{'size':0x26,'color':COLOR_UNAVAILABLE2,'seatName':{'font':'18px\x20Arial,\x20sans-serif','color':_0x1eb601(0x4bd)}},'selected':{'size':0x2a,'color':COLOR_UNAVAILABLE2,'imageId':_0x1eb601(0x4a2),'shadow':{'blur':0x14,'color':_0x1eb601(0x318)}},'loading':{'size':0x2a,'color':'#2196F3','imageId':_0x1eb601(0x1ca),'shadow':{'blur':0x14,'color':_0x1eb601(0x318)}},'error':{'size':0x2a,'color':'#F44336','imageId':_0x1eb601(0x1ca),'shadow':{'blur':0x14,'color':_0x1eb601(0x318)}}},'svgSectionStyles':{'default':{},'unavailable':{'bgColor':_0x1eb601(0xd8)},'hovered':{'bgColor':'#c7c7c7','stroke':{'color':_0x1eb601(0x26c),'width':_0x1eb601(0x4f7),'opacity':0x1},'cursor':_0x1eb601(0x21d)},'selected':{'bgColor':'#c7c7c7','stroke':{'color':_0x1eb601(0x26c),'opacity':0x1}}}},theme_default3=theme2,defaultVisibilityLevel=0.66,minZoom=0x0,maxZoom=0x64,defaults2={'debounceDelay':0x190,'zoomAnimationDuration':0x190,'transformAnimationDuration':0x3e8,'seatSelectionMinZoom':0.5,'theme':theme_default3,'zoomSettings':{'presets':[0.5,0x1,0x2],'maxZoomToFitScale':0x1,'minPinchZoom':0.5,'maxPinchZoom':0x2},'visibilitySettings':{'seats':{'visible':{'from':minZoom,'to':maxZoom},'selectable':{'from':defaultVisibilityLevel,'to':maxZoom}},'outlines':{'visible':{'from':minZoom,'to':defaultVisibilityLevel},'selectable':{'from':minZoom,'to':defaultVisibilityLevel}}},'onBeforeSeatDraw':_0x4c9554=>{const _0x301227=_0x1eb601,_0x4fb035=Object[_0x301227(0x3df)]({},_0x4c9554[_0x301227(0x464)]);return _0x4c9554['seat'][_0x301227(0x8e)]&&!_0x4c9554[_0x301227(0x44e)]['filtered']&&!_0x4c9554[_0x301227(0x44e)][_0x301227(0x452)]&&(_0x4fb035[_0x301227(0x4e4)]=_0x4c9554['context'][_0x301227(0x85)][Number(_0x4c9554[_0x301227(0x44e)][_0x301227(0x8e)])][_0x301227(0x4e4)]),_0x4fb035;},'lockedSeatsFilter':_0x20fc1c=>!_0x20fc1c['priceId']},defaults_default2=defaults2;import{createMachine as _0x45eb84,state as _0x1ea7f6,transition as _0xd3e9cb,reduce as _0x46fcbe}from'robot3';var DEFAULT_SCALE2=0x1,context2=()=>({'scale':DEFAULT_SCALE2,'isEagleView':![],'events':[]}),dragToPan2=(_0xfc0624,_0x16fcb0)=>{const _0x71a0f2=_0x1eb601,_0x2bb90c={'type':_0x71a0f2(0x91),'delta':_0x16fcb0['delta'],'isStart':_0x16fcb0[_0x71a0f2(0x309)]===_0x71a0f2(0x380),'isFinish':_0x16fcb0[_0x71a0f2(0x309)]===_0x71a0f2(0x9f)};return{..._0xfc0624,'events':[_0x2bb90c]};},toStagePoint=(_0x31f4d0,_0x5918c3)=>{const _0x432e0f=_0x1eb601,_0x1129d6=_0x31f4d0;if(_0x1129d6['enable3DView']){const _0x1cbe59=_0x1129d6['getWidth']&&_0x1129d6['getWidth']()||window[_0x432e0f(0x58c)],_0x513f96=_0x1129d6['getHeight']&&_0x1129d6[_0x432e0f(0x314)]()||window[_0x432e0f(0x1bf)];return unprojectPointFrom3DView(_0x5918c3,{'width':_0x1cbe59,'height':_0x513f96},{'rotationZ':_0x1129d6[_0x432e0f(0x5a3)]||0x0,'perspectiveZ':_0x1129d6[_0x432e0f(0x226)]||0x0,'tiltX':_0x1129d6['tiltX']||0x0});}return _0x5918c3;},click2=(_0x328ee9,_0x187fa6)=>{const _0x51d78c=_0x1eb601;var _0x27858d,_0x2b91e9,_0x1bc0d5,_0x3c5ff3,_0x1da27c;let _0x2d7cb1=[];const _0x1e6679=toStagePoint(_0x328ee9,_0x187fa6[_0x51d78c(0x14d)]);if((_0x27858d=_0x187fa6[_0x51d78c(0x128)])==null?void 0x0:_0x27858d['ga'])_0x2d7cb1=[{'type':_0x51d78c(0x1be),'point':_0x1e6679,'section':_0x187fa6[_0x51d78c(0x128)]}];else{if(((_0x2b91e9=_0x187fa6['section'])==null?void 0x0:_0x2b91e9[_0x51d78c(0x305)])&&((_0x1bc0d5=_0x187fa6['section'])==null?void 0x0:_0x1bc0d5[_0x51d78c(0x309)])===_0x51d78c(0x565))_0x2d7cb1=[{'type':_0x51d78c(0x1be),'point':_0x1e6679,'section':_0x187fa6[_0x51d78c(0x128)]}];else{if((_0x3c5ff3=_0x328ee9['visibility'])==null?void 0x0:_0x3c5ff3[_0x51d78c(0xce)]['selectable'])_0x2d7cb1=[{'type':_0x51d78c(0x58f),'scale':DEFAULT_SCALE2,'origin':_0x1e6679}];else _0x187fa6[_0x51d78c(0x44e)]&&((_0x1da27c=_0x328ee9[_0x51d78c(0x1f6)])==null?void 0x0:_0x1da27c[_0x51d78c(0x44e)][_0x51d78c(0x25a)])&&(_0x2d7cb1=[{'type':_0x51d78c(0x2f6),'point':_0x1e6679,'seat':_0x187fa6[_0x51d78c(0x44e)]}]);}}return{..._0x328ee9,'events':_0x2d7cb1};},updateHover2=(_0xfee490,_0x1a775e,_0x1eb220)=>{const _0xd54a10=_0x1eb601;if(_0xfee490['hovered']&&_0xfee490[_0xd54a10(0x25f)][_0xd54a10(0x108)]===_0x1a775e&&_0xfee490[_0xd54a10(0x25f)]['id']===_0x1eb220['id'])return _0xfee490;const _0x8317b2=[];if(_0xfee490['hovered'])switch(_0xfee490[_0xd54a10(0x25f)]['targetType']){case _0xd54a10(0x44e):_0x8317b2[_0xd54a10(0x116)]({'type':_0xd54a10(0x52c)});break;case _0xd54a10(0x128):_0x8317b2['push']({'type':_0xd54a10(0x2cf)});}switch(_0x1a775e){case _0xd54a10(0x44e):_0x8317b2['push']({'type':_0xd54a10(0x3f6),'seat':_0x1eb220});break;case'section':_0x8317b2[_0xd54a10(0x116)]({'type':_0xd54a10(0x4de),'section':_0x1eb220});break;}return{..._0xfee490,'hovered':{'targetType':_0x1a775e,'id':_0x1eb220['id']},'events':_0x8317b2};},isSeatUnavailable=_0x5df7c7=>{const _0x3dab69=_0x1eb601;return!!(_0x5df7c7['locked']||_0x5df7c7[_0x3dab69(0x52d)]===_0x3dab69(0x4eb));},mouseMove2=(_0x16e959,_0x55e0ed)=>{const _0x33bedc=_0x1eb601;var _0x2ad9c5,_0x59df17,_0xe5df4c;if((_0x2ad9c5=_0x55e0ed[_0x33bedc(0x128)])==null?void 0x0:_0x2ad9c5['ga'])return updateHover2(_0x16e959,_0x33bedc(0x128),_0x55e0ed[_0x33bedc(0x128)]);else{if(_0x55e0ed[_0x33bedc(0x128)]&&((_0x59df17=_0x16e959[_0x33bedc(0x1f6)])==null?void 0x0:_0x59df17[_0x33bedc(0xce)][_0x33bedc(0x25a)]))return updateHover2(_0x16e959,_0x33bedc(0x128),_0x55e0ed['section']);else{if(_0x55e0ed[_0x33bedc(0x44e)]&&((_0xe5df4c=_0x16e959[_0x33bedc(0x1f6)])==null?void 0x0:_0xe5df4c[_0x33bedc(0x44e)][_0x33bedc(0x25a)])&&!isSeatUnavailable(_0x55e0ed[_0x33bedc(0x44e)]))return updateHover2(_0x16e959,_0x33bedc(0x44e),_0x55e0ed['seat']);else{if(_0x16e959[_0x33bedc(0x25f)]){let _0x36267e;switch(_0x16e959[_0x33bedc(0x25f)][_0x33bedc(0x108)]){case _0x33bedc(0x44e):_0x36267e={'type':'destSeatMouseLeave'};break;case _0x33bedc(0x128):_0x36267e={'type':_0x33bedc(0x2cf)};break;}return{..._0x16e959,'hovered':void 0x0,'events':[_0x36267e]};}}}}return _0x16e959;},contextChange2=(_0x509fb6,_0xb17d2f)=>{const {type:_0x53a9f0,..._0x1e4405}=_0xb17d2f;return{..._0x509fb6,..._0x1e4405};},contextChangeTransition2=_0xd3e9cb('contextchange',_0x1eb601(0x2d4),_0x46fcbe(contextChange2)),machine2=_0x45eb84({'idle':_0x1ea7f6(contextChangeTransition2,_0xd3e9cb(_0x1eb601(0x4d4),_0x1eb601(0x2d4),_0x46fcbe(click2)),_0xd3e9cb(_0x1eb601(0x380),_0x1eb601(0x2d9),_0x46fcbe(dragToPan2)),_0xd3e9cb('srcMouseMove',_0x1eb601(0x2d4),_0x46fcbe(mouseMove2))),'panning':_0x1ea7f6(contextChangeTransition2,_0xd3e9cb(_0x1eb601(0x5ae),_0x1eb601(0x2d9),_0x46fcbe(dragToPan2)),_0xd3e9cb('srcDragEnd',_0x1eb601(0x2d4),_0x46fcbe(dragToPan2)))},context2),machine_default2=machine2,round2=_0x1cecd6=>Math[_0x1eb601(0x241)](_0x1cecd6*0x64)/0x64,SeatmapBookingRenderer=class extends Renderer{constructor(_0x492261,_0x5f3d6f,_0x3e2ecd){const _0x1e7233=_0x1eb601;super(_0x492261,machine_default2,mergeSettings(defaults_default2,_0x5f3d6f));(_0x5f3d6f==null?void 0x0:_0x5f3d6f[_0x1e7233(0x545)])&&console[_0x1e7233(0x29e)](_0x1e7233(0x4c6),_0x5f3d6f);this[_0x1e7233(0x522)]=_0x3e2ecd;const _0x41f0d6=_0x5f3d6f&&_0x5f3d6f[_0x1e7233(0x3fe)];let _0x34e31d=window[_0x1e7233(0x1ea)][_0x1e7233(0x1c3)]+_0x1e7233(0x2e6);switch(_0x41f0d6){case _0x1e7233(0x5a6):_0x34e31d=window['location'][_0x1e7233(0x1c3)]+_0x1e7233(0x2e6);break;case'stage':_0x34e31d='https://booking.seatmap.dev/api/public/v1.0/';break;default:_0x34e31d=_0x1e7233(0x444);}const _0xfe40e=_0x5f3d6f&&_0x5f3d6f['baseUrl']||_0x34e31d,_0x231924=_0x5f3d6f&&_0x5f3d6f['publicKey'];if(!_0x231924)throw new Error(_0x1e7233(0xd2));this[_0x1e7233(0x24a)]=new BookingApiClient({'baseUrl':_0xfe40e,'publicKey':_0x231924,'debug':_0x5f3d6f==null?void 0x0:_0x5f3d6f[_0x1e7233(0x545)]});}['getViewBox'](){const _0x9483c1=_0x1eb601,_0x5ae1dc=window['devicePixelRatio'];return{'width':this[_0x9483c1(0x489)](),'height':this[_0x9483c1(0x314)](),'scale':round2(this[_0x9483c1(0xb9)]['scale']/_0x5ae1dc),'translateX':round2(this['context'][_0x9483c1(0x5b1)]['x']/_0x5ae1dc),'translateY':round2(this[_0x9483c1(0xb9)][_0x9483c1(0x5b1)]['y']/_0x5ae1dc)};}async[_0x1eb601(0x593)](_0x1704bf,_0x46e6c0){const _0x40921b=_0x1eb601;var _0x487c87;this[_0x40921b(0x4ab)]=new BookingStats(),this[_0x40921b(0x4ab)][_0x40921b(0x578)]=_0x1704bf;let [_0x1ae21d,_0xee75d2,_0x1e6754]=await Promise['all']([this[_0x40921b(0x24a)]['fetchSchemaForEvent'](_0x1704bf),this[_0x40921b(0x24a)]['fetchPricesForEvent'](_0x1704bf),this[_0x40921b(0x24a)]['fetchRowsSvgForEvent'](_0x1704bf)]);_0x46e6c0&&([_0x1ae21d,_0xee75d2]=this[_0x40921b(0x551)](_0x46e6c0,_0x1ae21d,_0xee75d2));const _0x2c55b2=this[_0x40921b(0xb9)][_0x40921b(0x11b)][_0x40921b(0x1a9)];this[_0x40921b(0xb9)][_0x40921b(0x11b)][_0x40921b(0x1a9)]=()=>{const _0x5186c9=_0x40921b;this[_0x5186c9(0x4ab)]['initTime']===-0x1?(this[_0x5186c9(0x4ab)][_0x5186c9(0x3b2)]=Date[_0x5186c9(0x515)]()-this[_0x5186c9(0x4ab)][_0x5186c9(0x5b4)],this[_0x5186c9(0x4ab)]['sendInit'](this[_0x5186c9(0x175)]())):this[_0x5186c9(0x4ab)][_0x5186c9(0x3e6)](this[_0x5186c9(0x175)]());if(_0x2c55b2)_0x2c55b2();};if(!this['isRunning'])return;if(this[_0x40921b(0xb9)][_0x40921b(0x11b)][_0x40921b(0x3f0)]&&(_0x1e6754==null?void 0x0:_0x1e6754[_0x40921b(0x137)])){const _0x489c15=_0x40921b(0x28c),_0x3a69a2=this[_0x40921b(0xb9)]['settings'][_0x40921b(0x377)];this[_0x40921b(0xb9)][_0x40921b(0x11b)][_0x40921b(0x377)]=()=>{const _0x24dcd=_0x40921b;try{this[_0x24dcd(0x10b)]&&typeof this['outlineLayer'][_0x24dcd(0x511)]===_0x24dcd(0x553)&&this[_0x24dcd(0x10b)][_0x24dcd(0x511)](_0x1e6754[_0x24dcd(0x137)],_0x489c15);}catch(_0x45ffa0){console[_0x24dcd(0xa5)](_0x24dcd(0xda),_0x45ffa0);}if(_0x3a69a2)_0x3a69a2();};}this[_0x40921b(0x5a7)](_0x1ae21d),this['setPricesData'](_0xee75d2),this[_0x40921b(0xb9)]['setPricesDTO'](_0xee75d2),this[_0x40921b(0x585)](),this['stats']['seatCount']=this['context'][_0x40921b(0x272)]['length'],this[_0x40921b(0x4ab)][_0x40921b(0xf7)]=this[_0x40921b(0xb9)][_0x40921b(0x272)][_0x40921b(0x1f1)](_0x33903b=>_0x33903b[_0x40921b(0x8e)])[_0x40921b(0x204)],this[_0x40921b(0x4ab)][_0x40921b(0x24e)]=_0x1ae21d[_0x40921b(0x404)],this[_0x40921b(0x4ab)]['schemaResponseSize']=_0x1ae21d[_0x40921b(0x167)],this['stats'][_0x40921b(0x1c1)]=_0xee75d2[_0x40921b(0x404)],this[_0x40921b(0x4ab)][_0x40921b(0x20c)]=_0xee75d2[_0x40921b(0x167)],this[_0x40921b(0x4ab)][_0x40921b(0x596)]=window[_0x40921b(0x1ea)][_0x40921b(0x371)],this[_0x40921b(0x4ab)]['eventName']=(_0x487c87=_0x1ae21d[_0x40921b(0x5ac)])==null?void 0x0:_0x487c87['eventName'],this['stats'][_0x40921b(0x522)]=this[_0x40921b(0x522)];const _0x57102f=this[_0x40921b(0xb9)][_0x40921b(0x11b)][_0x40921b(0x19c)];this[_0x40921b(0xb9)][_0x40921b(0x11b)][_0x40921b(0x19c)]=async _0x5aa3c8=>{const _0x25875d=_0x40921b;let _0x21c3de=void 0x0;if(_0x57102f)_0x21c3de=await _0x57102f(_0x5aa3c8);return this[_0x25875d(0x4ab)][_0x25875d(0x5bd)](this['createStatsSeatRequest'](_0x5aa3c8,_0x21c3de!==![])),_0x21c3de;};const _0x4dad3e=this[_0x40921b(0xb9)][_0x40921b(0x11b)]['onSeatDeselect'];this[_0x40921b(0xb9)]['settings'][_0x40921b(0x507)]=async _0x3975c2=>{const _0xec05a6=_0x40921b;let _0x3a68b9=void 0x0;if(_0x4dad3e)_0x3a68b9=await _0x4dad3e(_0x3975c2);return this['stats'][_0xec05a6(0x53c)](this[_0xec05a6(0x176)](_0x3975c2,_0x3a68b9!==![])),_0x3a68b9;};}[_0x1eb601(0x176)](_0x33cc87,_0x589e5b){const _0x269155=_0x1eb601;return{'key':_0x33cc87[_0x269155(0x521)],'seatId':_0x33cc87['id'],'sectionId':_0x33cc87[_0x269155(0x168)],'isSuccess':_0x589e5b,'price':_0x33cc87['price'],'ax':round2(_0x33cc87['x']),'ay':round2(_0x33cc87['y']),'viewBox':this[_0x269155(0x175)]()};}['leaveSectionOnly'](_0x4549e1,_0x58102f,_0x4031a3){const _0xf069fe=_0x1eb601,_0x25cb4d=_0x58102f[_0xf069fe(0x272)][_0xf069fe(0x1f1)](_0x2f4bd5=>_0x2f4bd5[_0xf069fe(0x254)]===_0x4549e1),_0x2283ce=_0x58102f[_0xf069fe(0x2dc)][_0xf069fe(0x1f1)](_0x395f49=>_0x395f49[_0xf069fe(0x254)]===_0x4549e1),_0x5863a9=_0x58102f['sectors'][_0xf069fe(0x1f1)](_0x105799=>_0x105799['id']===_0x4549e1);let _0x2ce417=Infinity,_0x5c5618=Infinity,_0x29ead8=-Infinity,_0x3f5a14=-Infinity;for(let _0x2d4723=0x0;_0x2d4723<_0x25cb4d[_0xf069fe(0x204)];_0x2d4723++){const _0x368ab0=_0x25cb4d[_0x2d4723];if(_0x368ab0['x']<_0x2ce417)_0x2ce417=_0x368ab0['x'];if(_0x368ab0['x']>_0x29ead8)_0x29ead8=_0x368ab0['x'];if(_0x368ab0['y']<_0x5c5618)_0x5c5618=_0x368ab0['y'];if(_0x368ab0['y']>_0x3f5a14)_0x3f5a14=_0x368ab0['y'];}const _0x587bc3=0x1c;_0x2ce417-=_0x587bc3,_0x29ead8+=_0x587bc3,_0x5c5618-=_0x587bc3,_0x3f5a14+=_0x587bc3;const _0x420184={'seats':_0x25cb4d,'rows':_0x2283ce,'sectors':_0x5863a9,'background':{'svg':_0xf069fe(0x57e),'viewBox':{'x':_0x2ce417,'y':_0x5c5618,'width':_0x29ead8-_0x2ce417,'height':_0x3f5a14-_0x5c5618}}};return[_0x420184,_0x4031a3];}};function _0x1b71(){const _0x28e8b0=['color','seatsAvailabilityBuffer','draw','u_iconAtlas','stringify','translate(-50%,\x20-50%)','isSeatSelectable','unavailable','localhost','renderSelectionRect','SEAT','bgColor','rowId','unpackSchemaDTO','Failed\x20to\x20create\x20WebGL\x20texture','onSectorMouseLeave','getContextSvg','createGaInfo','\x22,\x20it\x20could\x20be\x20corrupted','3px','sectionViewActive','getBoundingClientRect','count','navigator','beginPath','clientY','hasBackgroundOutline','forEach','sort','fromScale','uniform4f','\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga[','#bbb','atan2','pointerdown','onSeatDeselect','repairGa','bufferData','duration','getImageData','fromPerspectiveZ','offscreenCanvas','isTable','Section\x20','sin','appendRowsOverlay','fetchSchemaForVenue','SUBTRACT','minY','now','max','ID\x20','animationStep','handlePinch','a_deselectedStart','COMPILE_STATUS','spawnExplosionAt','initCart','prototype','outlineShapes','config','key','tags','firstChild','CART_PIN_VIEWBOX','contextchange','DRAG_START','textureLoadingPromise','scheduleFrame',')\x20translate(','statusText','getSectionUpdatedCoords','destSeatMouseLeave','state','has','getSectionsKeys','isTouchMode','setMode','middle','bottom-right','blendFunc','\x20{\x0a\x20\x20\x20\x20\x20\x20display:\x20none;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x0a\x20\x20\x20\x20.sm-shape-ga,\x20\x0a\x20\x20\x20\x20.sm-table,\x20\x0a\x20\x20\x20\x20.sm-eagle-view\x20.','=\x221\x22],\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga[','a_loading','slice','11506vHMwxQ','zIndex','none','sendSeatDeselect','default','category','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20stroke:\x20#2196f3;\x0a\x20\x20\x20\x20\x20\x20\x20\x20fill:\x20#2196f314;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','rowsVertices','destDeselect','stage','SRC_ALPHA','secretGame','debug','auto','contentScale','rows_tiltX','selectMode','TEXTURE_WRAP_T','high','rowNumber','getStageSize','ARRAY_BUFFER','Images\x20are\x20not\x20available,\x20switching\x20to\x20HTML5\x20canvas\x20mode','displayed','leaveSectionOnly','onPendingRotation','function',',\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','block','getOffsetByPosition','offsetWidth','get','startSpinnerAnimation','width','setBackgroundAsOutline','sizeBuffer','rowsColorRgba','3840510mUMXCx','appendAutoAndGaOutlines','isStart','status','event/prices/?id=','/viewbox','pinchstart\x20pinchmove\x20pinchend','TABLE','Texture\x20worker\x20error:','frame','events','src','rowsPolylinesVersionBuilt','outlines','_selectedGaId','handleDestSeatMouseEnter','isEagleView','initializeBackgroundOutline','setSeatSelection','SEAT_MOUSE_LEAVE','FRAGMENT_SHADER',']\x20>\x20rect','DYNAMIC_DRAW','removeFilter','floor','updateViewportIndicator','eventId','#000000','globalAlpha','isRowsVisibleAtScale','fillStyle','backgroundElement','<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22></svg>','createOutlineRect','panstart','addSeatToCart','rgba(255,255,255,0.6)','start','images','setExternalPrices','spinnerRotation','rowsMinGapPx','208qWGDqu','gridStep','random','handleClick','innerWidth','attached','transformBox','destPanZoom','getAnimationPoint','\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga\x20>\x20path:not([data-seatmap-ga])\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','msCrypto','loadEvent','code','nowrap','pathUrl','parseFromString','finish','querySelectorAll','venue/schema/?id=','values','999','OverlayRenderer\x20shader\x20compile\x20error:','textureWorker','isRowsMode','parentNode','strokeRect','getAnimationId','rotationZ','a_texCoord','srcEvent','local','setSchemaData','hoverSeatLabel','whiteSpace','addSpinningSeat','Seats\x20should\x20be\x20an\x20array\x20of\x20ids,\x20composite\x20keys\x20or\x20objects','configuration','entries','srcDragMove','textContent','</svg>','translate','setRotationAngle','Error\x20when\x20choosing\x20a\x20seat:','initStartTime','onStart','clientWidth','swipe','borderColor','fetchPricesForEvent','disableSvgSectionById','setShowCartPins','sm-outline-auto','sendSeatSelect','requestNumber','Failed\x20to\x20create\x20ImageBitmap:','resetSectionViewState','Attribute','theme','display','program','rowsById','u_pulseDuration','updateGaFontScales','outlineRect','u_color','enableDebugTools','event/schema/?id=','px\x22\x20','pointer-events','highlightAllOutlines','updatePriceIndicesBufferIfChanged','pricesById','sm-outlines','lastSeatsCount','init','onSeatSelectionChange','data:image/svg+xml;base64,','stageLayer','cursor','11px\x20Roboto,\x20Arial,\x20sans-serif','priceId','cos','iconAtlas','destPan','inProgress','parentElement','isSectionSelected','btoa','bottom-left','startAnimation','rowIds','colorRGB','panToCenter','a_error','nextTexture','handleTouchStart','baseUrl','srcDragEnd','resetCategories','hostname','rotateZ(','handleDestDeselect','<svg\x20width=\x22128\x22\x20height=\x22128\x22\x20viewBox=\x220\x200\x20128\x20128\x22\x20fill=\x22none\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M62.0488\x2038.5303C59.2011\x2038.5303\x2056.4698\x2037.4488\x2054.4561\x2035.5237C52.4424\x2033.5986\x2051.3111\x2030.9876\x2051.3111\x2028.2652C51.3111\x2025.5426\x2052.4424\x2022.9317\x2054.4561\x2021.0066C56.4698\x2019.0815\x2059.2011\x2018\x2062.0488\x2018C64.8967\x2018\x2067.6279\x2019.0815\x2069.6416\x2021.0066C71.6554\x2022.9317\x2072.7867\x2025.5426\x2072.7867\x2028.2652C72.7867\x2030.9876\x2071.6554\x2033.5986\x2069.6416\x2035.5237C67.6279\x2037.4488\x2064.8967\x2038.5303\x2062.0488\x2038.5303ZM62.0488\x2038.5303V79.5909H83.5245L105\x20105.254M62.0488\x2059.0607H88.8933M40.5733\x2061.627C36.7265\x2063.1499\x2033.3029\x2065.5074\x2030.5734\x2068.5131C27.8438\x2071.5189\x2025.883\x2075.0904\x2024.846\x2078.9453C23.8089\x2082.8003\x2023.7241\x2086.833\x2024.5982\x2090.7247C25.4724\x2094.6168\x2027.2814\x2098.2607\x2029.8825\x20101.369C32.4835\x20104.476\x2035.8051\x20106.964\x2039.5848\x20108.634C43.3646\x20110.303\x2047.4986\x20111.109\x2051.6604\x20110.988C55.8222\x20110.867\x2059.8974\x20109.822\x2063.564\x20107.936C67.2306\x20106.051\x2070.3881\x20103.375\x2072.7867\x20100.122\x22\x20stroke=\x22white\x22\x20stroke-width=\x2212\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22/></svg>','warn','<svg\x20','textAlign','12px\x20Arial,\x20sans-serif','appendChild','a_selectedFlag','isOutlineSelectable','100%','selectedFlagBuffer','calculateLimitedTranslate','u_iconTypes','Unable\x20to\x20create\x20shader','Failed\x20to\x20initialize\x20texture\x20worker:','apply3DTransforms','getCoordsAfterRotation','currentTarget','&publicKey=','hasSelectedSeats','zoomTo','lineTo','context','Failed\x20to\x20load\x20seat\x20image\x20\x22','<svg\x20width=\x22113\x22\x20height=\x22113\x22\x20viewBox=\x220\x200\x20113\x20113\x22\x20fill=\x22none\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M56.5\x209L70.5731\x2041.6259L106\x2044.906L79.2721\x2068.3541L87.0927\x20103L56.5\x2084.8651L25.9073\x20103L33.7279\x2068.3476L7\x2044.8995L42.4269\x2041.6259L56.5\x209Z\x22\x20fill=\x22white\x22/></svg>','getOutlineRects','#FFFFFF','u_enable3DView','getSeatBaseColor','seatsKeysMissedOnPriceSet','resize','1001','nodeName','getSectorRectByOutline','ensureBufferSize','#673AB7','seatsIdsMissedOnPriceSet','staticGeometryValid','setMinimapFromSnapshot','seatName','restoreIds','px\x20Arial','setTransform','outline','hasDeselectionAnimations','from','/seat/select','Public\x20key\x20is\x20undefined','animatestart','\x20{\x0a\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20fill:\x20transparent;\x0a\x20\x20\x20\x20\x20\x20stroke:\x20transparent;\x0a\x20\x20\x20\x20\x20\x20stroke-width:\x202px;\x0a\x20\x20\x20\x20\x20\x20stroke-opacity:\x200.5;\x0a\x20\x20\x20\x20\x20\x20vector-effect:\x20non-scaling-stroke;\x0a\x20\x20\x20\x20\x20\x20transition:\x20stroke\x20100ms\x20ease-in-out;\x0a\x20\x20\x20\x20}\x0a\x20\x20','innerHTML','filterSeatsByKeys','ensureStaticGeometry','#c7c7c7','closest','Failed\x20to\x20append\x20rows\x20overlay:','preventDefault','phaseStartMs','orange','#F44336','request','rgba(33,\x20150,\x20243,\x200.1)','zoomSettings','invalidateStaticGeometry','webgl','getSectionId','loadTextureWithWorker','0.1','findSeatByKey','\x20animation\x20issue\x20occured.','startTextureCrossfade','iconAtlasWidth','SVG\x20image\x20load\x20error','visibilityManager','texcoordBuffer','clearSectionFocus','onZoomEnd','rows_perspectiveZ','bindBuffer','ctx','aspectRatio','toScale','rgba(0,\x200,\x200,\x200.005)','initializeProgram','availableSeatCount','redefined','M213.285,0h-0.608C139.114,0,79.268,59.826,79.268,133.361c0,48.202,21.952,111.817,65.246,189.081\x20c32.098,57.281,64.646,101.152,64.972,101.588c0.906,1.217,2.334,1.934,3.847,1.934c0.043,0,0.087,0,0.13-0.002\x20c1.561-0.043,3.002-0.842,3.868-2.143c0.321-0.486,32.637-49.287,64.517-108.976c43.03-80.563,64.848-141.624,64.848-181.482\x20C346.693,59.825,286.846,0,213.285,0z\x20M274.865,136.62c0,34.124-27.761,61.884-61.885,61.884\x20c-34.123,0-61.884-27.761-61.884-61.884s27.761-61.884,61.884-61.884C247.104,74.736,274.865,102.497,274.865,136.62z','sm-bg-outlines','hasChildNodes','loadTexture','\x0a\x20\x20\x20\x20\x20\x20.sm-shape-ga[','priceColorBuffer','calcOutlineRect','getStageLayer','fixed','tiltTo','panmove','div','\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga[','filterSvgSectionsByIds','uniform1fv','targetType','getVersion','highlightSection','outlineLayer','sm-ga-bind-css','disabled','isOutlineVisible','bricks','send','transform','removeGaFromCart','perspectiveTo','shaderSource','buttons','push','ballRadius','animation','zoomToFit','lineWidth','settings','handleDestRectSelect','pointerup','#111','svgSectionStyles','SECTION','selectedGaId','srcMouseMove','toDataURL','extractSVGBackgroundOutlines','zoomIn','showUnavailableOutlines','applySkew','section','SEAT_MOUSE_ENTER','find','touchAction','match','u_errorColor','lastFrameTime','3D\x20view\x20is\x20not\x20enabled.\x20Set\x20enable3DView:\x20true\x20in\x20settings.','rows_a_position','mousedown','parseColorToRgb','enableVertexAttribArray','MOUSE_MOVE','pow','texParameteri','data','showDebugLayer','deltaX','imageSmoothingEnabled','navigateToPoint','clientX','a_selectedStart','toTiltX','initializeTextureWorker','getSeatByViewportPoint','<svg\x20width=\x22128\x22\x20height=\x22128\x22\x20viewBox=\x220\x200\x20128\x20128\x22\x20fill=\x22none\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M10.6667\x2060.4445L46.2223\x2096L117.333\x2024.8889\x22\x20stroke=\x22white\x22\x20stroke-width=\x2212\x22/></svg>','CART_PIN_PATH','pan','Possibly\x20remove\x20price-based\x20color\x20indication\x20at\x20this\x20scale','handleDestPan','svgString','min','redraw','top-left','zoomToFitScale','sm-shape-ga','showSelectionRect','point','delta','crossOrigin','setupBackgroundTextureFromImageBitmap','focusSection','stroke-width','18px\x20Arial','removeChild','underlayBindedPathAttr','options','scrollTop','getVisibilityStatuses','ids','u_loadingColor','rectSelectRows','setCenterPoint','onBeforeSeatDraw','iconsUVMap','STATIC_DRAW','u_mix','loading','originalSvg','_selectedAt','setPricesData','splice','drawOverlay','responseSize','sectionId','seatsRenderer','getPositionByOffset','target','addEventListeners','requestIdleCallback','animationPanStep','visibilitySettings','Key\x20','getBBox','sm-background','30538sXoDJH','Space','getViewBox','createStatsSeatRequest','&disableOriginal=true','isMarked','seatmap','isWebGlAvailable','commitTransform','success','REPLACE','onSeatMouseLeave','selectionRect','handleMouseMove','refreshMinimap','abs','reduce','performRedraw','terminate','getGaSectors','contains','outlineSvg','disableSvgSectionsByNames','handleDestSeatMouseLeave','setAnimateSection','u_stageHeight','createTexture','isArray','alive','cancel','Unknown\x20program\x20link\x20error','rowsBuffer','onRedrawStart','calculateViewportRect','seatsIndex','iconAtlasHeight','minimapLayer','firstElementChild','createOrGetOutlineShapes','buffer','durationMs','onSeatSelect','trim','deleteShader','handleMouseLeave','animateSequence','reverseRotationAnimation','select','fillBufferWithUsage','getExtension','a_hovered','borderWidth','seatsPrices','ADD','onRedrawEnd','boxShadow','center','removeAttribute','iconValues','grabbing','setPricesDTO','particles','offscreenOpacity','runOverlayPulse','toTranslate','appendGAOutlines','running','createSeatImages','disableCartInteractions','class','uniform3f','1000','#ifdef\x20GL_OES_standard_derivatives\x0a#extension\x20GL_OES_standard_derivatives\x20:\x20enable\x0a#endif\x0aprecision\x20highp\x20float;\x0a\x0avarying\x20vec4\x20fragColor;\x0avarying\x20float\x20v_iconsTypes;\x0avarying\x20float\x20v_selected;\x0avarying\x20float\x20v_hovered;\x0auniform\x20sampler2D\x20u_iconAtlas;\x0auniform\x20float\x20scale;\x0a\x0aconst\x20int\x20MAX_ICONS\x20=\x2016;\x0auniform\x20vec4\x20u_iconUVs[MAX_ICONS];\x20\x0auniform\x20int\x20u_iconsCount;\x0auniform\x20float\x20u_iconTypes[MAX_ICONS];\x0a\x0afloat\x20getIconScale()\x20{\x0a\x20\x20\x20\x20return\x201.6;\x0a}\x0a\x0avec4\x20applyIcon(vec4\x20baseColor,\x20vec4\x20uvCoords)\x20{\x0a\x20\x20\x20\x20float\x20scale\x20=\x20getIconScale();\x0a\x20\x20\x20\x20vec2\x20iconUV\x20=\x20uvCoords.xy\x20+\x20(gl_PointCoord\x20*\x20uvCoords.zw\x20*\x20scale)\x20-\x20(uvCoords.zw\x20*\x20(scale\x20-\x201.0)\x20*\x200.5);\x0a\x20\x20\x20\x20vec4\x20iconColor\x20=\x20texture2D(u_iconAtlas,\x20iconUV);\x0a\x20\x20\x20\x20vec3\x20mixed\x20=\x20mix(baseColor.rgb,\x20iconColor.rgb,\x20iconColor.a);\x0a\x20\x20\x20\x20return\x20vec4(mixed,\x20baseColor.a);\x0a}\x0a\x0avoid\x20main()\x20{\x0a\x20\x20\x20\x20float\x20alpha\x20=\x201.0;\x0a\x20\x20\x20\x20bool\x20useSquare\x20=\x20(scale\x20<\x200.2);\x0a\x20\x20\x20\x20if\x20(!useSquare)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20vec2\x20cxy\x20=\x202.0\x20*\x20gl_PointCoord\x20-\x201.0;\x0a\x20\x20\x20\x20\x20\x20\x20\x20float\x20r\x20=\x20dot(cxy,\x20cxy);\x0a\x20\x20\x20\x20\x20\x20\x20\x20float\x20delta\x20=\x200.0;\x0a\x20\x20\x20\x20\x20\x20\x20\x20#ifdef\x20GL_OES_standard_derivatives\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20delta\x20=\x20fwidth(r);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20alpha\x20=\x201.0\x20-\x20smoothstep(1.0\x20-\x20delta,\x201.0\x20+\x20delta,\x20r);\x0a\x20\x20\x20\x20\x20\x20\x20\x20#else\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20alpha\x20=\x201.0\x20-\x20smoothstep(0.9,\x201.0,\x20sqrt(r));\x0a\x20\x20\x20\x20\x20\x20\x20\x20#endif\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(r\x20>=\x201.0)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20discard;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20Keep\x20full\x20alpha\x20for\x20square\x20points\x20(no\x20discard)\x0a\x20\x20\x20\x20\x20\x20\x20\x20alpha\x20=\x201.0;\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20vec4\x20color\x20=\x20fragColor;\x0a\x20\x20\x20\x20//\x20No\x20hover-specific\x20color\x20or\x20alpha\x20changes\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20if\x20(v_iconsTypes\x20>\x200.0)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20(int\x20i\x20=\x200;\x20i\x20<\x20MAX_ICONS;\x20i++)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(i\x20>=\x20u_iconsCount)\x20break;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(abs(v_iconsTypes\x20-\x20u_iconTypes[i])\x20<\x200.01)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color\x20=\x20applyIcon(color,\x20u_iconUVs[i]);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20break;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20gl_FragColor\x20=\x20color;\x0a\x20\x20\x20\x20gl_FragColor.a\x20*=\x20alpha;\x0a}','#FF9800','areFloat32ArraysEqual','destSectionClick','innerHeight','scheduleUpdate','pricesRequestTime','3929904vXsPXA','origin','isCrossfading','buildRowsGeometry','isFinish','\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga[outer-highlight=\x221\x22]\x20path[data-seatmap-ga]\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','split','readyState','error','set','size','guid','#E91E63','remove','WebGLRenderingContext','normalizePinchScale','removeFilterSvgSectionsByIds','offscreenColor','enableSvgSectionById','keyup','u_resolution','clearRect','#version\x20100\x0aprecision\x20mediump\x20float;\x0a\x0auniform\x20vec4\x20u_color;\x0a\x0avoid\x20main()\x20{\x0a\x20\x20gl_FragColor\x20=\x20u_color;\x0a}\x0a\x0a\x0a','setSectionCoords','substring','seatKeysToIds','\x0a\x20\x20\x20\x20\x20\x20','disableSectionsByIds','fillText','36715aPHylE','addSeatsToCart','getNextScale','highlightSector','SEAT_SELECT','snapshotScalePxPerUnit','u_errorUV','appendAutoOutlines','iconsTypes','removeSeatFromCart','uniform2fv','location','pointerEvents','zoomToDestination','getSectionElement','lastSeatsRef','deleteProgram','overlayCanvas','filter','click','DRAG_END','Unknown\x20shader\x20compile\x20error','add','visibility','shadowOffsetY','precision\x20mediump\x20float;\x0a\x0auniform\x20sampler2D\x20u_image0;\x0auniform\x20sampler2D\x20u_image1;\x0auniform\x20float\x20u_mix;\x20//\x200.0\x20=>\x20only\x20image0,\x201.0\x20=>\x20only\x20image1\x0a\x0avarying\x20vec2\x20v_texCoord;\x0a\x0avoid\x20main()\x20{\x0a\x20\x20\x20\x20vec4\x20c0\x20=\x20texture2D(u_image0,\x20v_texCoord);\x0a\x20\x20\x20\x20vec4\x20c1\x20=\x20texture2D(u_image1,\x20v_texCoord);\x0a\x20\x20\x20\x20gl_FragColor\x20=\x20mix(c0,\x20c1,\x20clamp(u_mix,\x200.0,\x201.0));\x0a}','onPan','lastChild','element','rows_stageWidth','highlightAllSections','enabled','loadTextureWithImageBitmap','body','getRows','ballY','userSelect','length','vertexAttribPointer','validate','createImageVertexShader','createShader','drawArrays','image/png','#9C27B0','pricesResponseSize','TEXTURE_2D','/seat/deselect','50%','onEnd','#000','calculateRelativeScaledLimitedTranslate','captureSeatmap','names','addGaToCart','shiftKey','Program\x20link\x20error:','onmessage','Failed\x20to\x20parse\x20rows\x20polylines\x20for\x20WebGL:','parsererror','contentOffsetX','backgroundColor','pointer','onSectorClick','ellipse','disableOutlinesInHelicopterView','mode','addEventListener','toString','rows_scale','rgba(0,\x200,\x200,\x20','perspectiveZ','ageMs','hasAttribute','toRotationZ','setAnimationState','hideSelectionRect','keydownHandler','4px','linkProgram','calculatedOutlineRects','evenodd','contentOffsetY','tap','minimapScale','indexOf','originalSectionPrices','getContrastingColor','getCart','backgroundImage','getElementById','createOverlayVertexShader','#FF5722','#4CAF50','absolute','getAnimation','calculateRelativeScaledTranslate','ctx2d','round','setSeatsCategory','enable3DView','isSeatInCart','getShaderInfoLog','texImage2D','isActive','fetchSchema','#444','apiClient','FLOAT','getElementsByTagName','rotateTo','schemaRequestTime','createObjectURL','selecting','fetchRowsSvgForEvent','rowsProgram','pinchend','sectorId','u_image1','#1a1a1a','font','prevSeatVisibility','touchstart','selectable','stageWidth','isSeatVisible','groupOfSeats','offscreenCtx','hovered','minX','closePath','debugRenderer','setPosition','onAnimationFrame','shouldDrawSeats','lockedSeatsFilter','rotate','rectSelectSeats','sizes','zoomOut','invalidateSeatsGeometry','#2196F3','seatsPositionBuffer','getMaxZoom','a_hoveredFlag','onSectionClick','transformPanDeltaFor3D','seats','setBackgroundSnapshot','applyPosition','metaKey','u_loadingRotateAngle','getSeatIds','setupBackgroundBuffers','update','a_selected','uniform3fv','toLowerCase','removeSeatsFromCartByIds','SEAT_CART_SWITCH','px\x22\x20height=\x22','tiltX','Root\x20element\x20is\x20not\x20<svg>','height=\x27','PAN_ZOOM','viewSection','#sm-rows','sanitizeIds','prices','initCanvas','left','polyline','COLOR_BUFFER_BIT','#sm-rows\x20polyline{fill:none;stroke:none;stroke-width:15px;stroke-linecap:round;}','canActivate','getCartSeats','#009688','sqrt','destination','widthPx','removeClassNameAll','SVG\x20parsing\x20error:\x20','u_markedUV','range','offsetHeight','data-font-scale','isTextureReady','getSvgSectionBySelection','seatIds','getStageWidthPx','GET','info','enableSvgSectionsByIds','requestFadeOut','spinningSeats','#f7f7f7','u_loadingUV','rowsGeometryBuiltForScale','setTimeout','priceColorIndex','marked','setHovered','getAttribLocation','clientHeight','clearSectionHighlight','getRowsOpacityForScale','hasBackgroundReady','LINK_STATUS','viewBox','fadeOut','sm-outline-focused','forceRedraw','hasInitialDrawComplete','hasOwnProperty','startTime','enableAlphaBlending','u_dpr','76569fcrsUa','backgroundRenderer','switchToWebGL','keydown','ArrowLeft','path','fillRect','disableSeatsByIds','_renderSeat','[outer-highlight=\x221\x22],\x0a\x20\x20\x20\x20\x20\x20.sm-shape-ga[outer-highlight=\x221\x22],\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga[outer-highlight=\x221\x22]\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20stroke:\x20#2196f3;\x0a\x20\x20\x20\x20\x20\x20\x20\x20fill:\x20#2196f314;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','classList','rows_translate','seatsByRowId','angle','setContextScale','createSeatsVertexShader','map','=\x221\x22]\x20>\x20path:not([data-seatmap-ga])\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','renderSeat','positionBuffer','VERTEX_SHADER','u_stageWidth','paddleX','destSectionMouseLeave','_deselectedAt','scaleX(','gaInfo','relativeTranslate','idle','createImageFragmentShader','renderHoveredSeat','activeTexture','service','panning','startTransformAnimation','renderContent','rows','dragOffset','removeEventListener','currentSrc','handleMouseUp','removeEventListeners',')\x20rotate(','bindTexture','https://booking.seatmap.dev/api/public/v1.0/','fetchSchemaForEvent','/api/public/v1.0/','documentElement','overlayPulseEndTime','imul','fillBufferFloat32','setIconAtlas','forceUpdate','rowsStrokeWidthPx','#version\x20100\x0aprecision\x20highp\x20float;\x0a\x0aattribute\x20vec2\x20a_position;\x0aattribute\x20float\x20a_size;\x0aattribute\x20float\x20a_selected;\x0aattribute\x20float\x20a_hovered;\x0aattribute\x20float\x20a_loading;\x0aattribute\x20float\x20a_error;\x0aattribute\x20float\x20a_priceColorIndex;\x0aattribute\x20float\x20a_selectedStart;\x20//\x20selection\x20start\x20time\x20in\x20seconds,\x20or\x20<\x200\x20if\x20none\x0aattribute\x20float\x20a_deselectedStart;\x20//\x20deselection\x20start\x20time\x20in\x20seconds,\x20or\x20<\x200\x20if\x20none\x0a\x0auniform\x20float\x20stageWidth;\x0auniform\x20float\x20stageHeight;\x0auniform\x20float\x20scale;\x0auniform\x20vec2\x20translate;\x0auniform\x20vec3\x20priceColors[32];\x0auniform\x20float\x20u_time;\x20//\x20global\x20time\x20in\x20seconds\x0auniform\x20float\x20u_pulseDuration;\x20//\x20seconds\x0a\x0auniform\x20bool\x20u_enable3DView;\x0auniform\x20float\x20u_rotationZ;\x0auniform\x20float\x20u_perspectiveZ;\x0auniform\x20float\x20u_tiltX;\x0a\x0avarying\x20float\x20v_selected;\x0avarying\x20float\x20v_hovered;\x0avarying\x20float\x20v_loading;\x0avarying\x20float\x20v_error;\x0avarying\x20float\x20v_priceColorIndex;\x0avarying\x20vec3\x20v_color;\x0avarying\x20float\x20v_pointSize;\x0avarying\x20float\x20v_baseSize;\x20//\x20original\x20a_size\x20(theme-based),\x20independent\x20of\x20zoom\x0avarying\x20float\x20v_deselectProgress;\x20//\x200..1\x20during\x20deselection\x20animation,\x20else\x200\x0a\x0amat3\x20rotateZ(float\x20angle)\x20{\x0a\x20\x20float\x20c\x20=\x20cos(angle);\x0a\x20\x20float\x20s\x20=\x20sin(angle);\x0a\x20\x20return\x20mat3(\x0a\x20\x20\x20\x20c,\x20-s,\x200.0,\x0a\x20\x20\x20\x20s,\x20\x20c,\x200.0,\x0a\x20\x20\x20\x200.0,\x200.0,\x201.0\x0a\x20\x20);\x0a}\x0a\x0avoid\x20main()\x20{\x0a\x20\x20vec2\x20pos\x20=\x20a_position\x20*\x20scale\x20+\x20translate;\x0a\x20\x20v_selected\x20=\x20a_selected;\x0a\x20\x20v_hovered\x20=\x20a_hovered;\x0a\x20\x20v_loading\x20=\x20a_loading;\x0a\x20\x20v_error\x20=\x20a_error;\x0a\x20\x20v_priceColorIndex\x20=\x20a_priceColorIndex;\x0a\x20\x20v_baseSize\x20=\x20a_size;\x0a\x20\x20if\x20(a_priceColorIndex\x20>=\x200.0)\x20{\x0a\x20\x20\x20\x20int\x20index\x20=\x20int(a_priceColorIndex);\x0a\x20\x20\x20\x20vec3\x20color\x20=\x20priceColors[index];\x0a\x20\x20\x20\x20v_color\x20=\x20color;\x0a\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20v_color\x20=\x20vec3(0.7,\x200.7,\x200.7);\x0a\x20\x20}\x0a\x0a\x20\x20vec2\x20ndc\x20=\x20vec2(\x0a\x20\x20\x20\x20(2.0\x20*\x20pos.x\x20/\x20stageWidth)\x20-\x201.0,\x0a\x20\x20\x20\x201.0\x20-\x20(2.0\x20*\x20pos.y\x20/\x20stageHeight)\x0a\x20\x20);\x0a\x0a\x20\x20if\x20(u_enable3DView)\x20{\x0a\x20\x20\x20\x20vec3\x20rotated\x20=\x20rotateZ(u_rotationZ)\x20*\x20vec3(ndc,\x200.0);\x0a\x20\x20\x20\x20float\x20tilt\x20=\x20rotated.y\x20*\x20u_tiltX;\x0a\x20\x20\x20\x20vec2\x20fp\x20=\x20vec2(rotated.x,\x20rotated.y\x20+\x20tilt\x20*\x202.0);\x0a\x20\x20\x20\x20float\x20p\x20=\x201.0\x20+\x20(fp.y\x20*\x20u_perspectiveZ\x20*\x201.5);\x0a\x20\x20\x20\x20vec2\x20finalPos\x20=\x20fp\x20*\x20p;\x0a\x20\x20\x20\x20gl_Position\x20=\x20vec4(finalPos,\x200.0,\x201.0);\x0a\x20\x20\x20\x20float\x20pulseScale\x20=\x201.0;\x0a\x20\x20\x20\x20if\x20(a_selectedStart\x20>=\x200.0\x20&&\x20a_loading\x20<\x200.5)\x20{\x0a\x20\x20\x20\x20\x20\x20float\x20t\x20=\x20clamp((u_time\x20-\x20a_selectedStart)\x20/\x20max(0.0001,\x20u_pulseDuration),\x200.0,\x201.0);\x0a\x20\x20\x20\x20\x20\x20float\x20peak\x20=\x201.4;\x0a\x20\x20\x20\x20\x20\x20float\x20minScale\x20=\x200.5;\x20//\x20shrink\x20to\x20half\x20of\x20selected\x20size\x20first\x0a\x20\x20\x20\x20\x20\x20float\x20s1\x20=\x200.25;\x20//\x20shrink\x20phase\x20portion\x0a\x20\x20\x20\x20\x20\x20float\x20s2\x20=\x200.65;\x20//\x20grow-to-peak\x20ends\x20here\x20(so\x20middle\x20takes\x20s2\x20-\x20s1)\x0a\x0a\x20\x20\x20\x20\x20\x20if\x20(t\x20<\x20s1)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20Phase\x201:\x20shrink\x201.0\x20->\x200.5\x20(ease-in)\x0a\x20\x20\x20\x20\x20\x20\x20\x20float\x20u\x20=\x20clamp(t\x20/\x20s1,\x200.0,\x201.0);\x0a\x20\x20\x20\x20\x20\x20\x20\x20u\x20=\x20u\x20*\x20u;\x20//\x20ease-in\x0a\x20\x20\x20\x20\x20\x20\x20\x20pulseScale\x20=\x20mix(1.0,\x20minScale,\x20u);\x0a\x20\x20\x20\x20\x20\x20}\x20else\x20if\x20(t\x20<\x20s2)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20Phase\x202:\x20grow\x200.5\x20->\x201.4\x20(ease-out)\x0a\x20\x20\x20\x20\x20\x20\x20\x20float\x20u\x20=\x20clamp((t\x20-\x20s1)\x20/\x20max(0.0001,\x20(s2\x20-\x20s1)),\x200.0,\x201.0);\x0a\x20\x20\x20\x20\x20\x20\x20\x20u\x20=\x201.0\x20-\x20pow(1.0\x20-\x20u,\x203.0);\x20//\x20ease-out\x0a\x20\x20\x20\x20\x20\x20\x20\x20pulseScale\x20=\x20mix(minScale,\x20peak,\x20u);\x0a\x20\x20\x20\x20\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20Phase\x203:\x20shrink\x201.4\x20->\x201.0\x20(ease-in)\x0a\x20\x20\x20\x20\x20\x20\x20\x20float\x20u\x20=\x20clamp((t\x20-\x20s2)\x20/\x20max(0.0001,\x20(1.0\x20-\x20s2)),\x200.0,\x201.0);\x0a\x20\x20\x20\x20\x20\x20\x20\x20u\x20=\x20u\x20*\x20u;\x20//\x20ease-in\x0a\x20\x20\x20\x20\x20\x20\x20\x20pulseScale\x20=\x20mix(peak,\x201.0,\x20u);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20//\x20Deselection\x20reverse\x20pulse:\x20only\x20when\x20not\x20selected\x20and\x20within\x20duration\x0a\x20\x20\x20\x20float\x20deselectScale\x20=\x201.0;\x0a\x20\x20\x20\x20v_deselectProgress\x20=\x200.0;\x0a\x20\x20\x20\x20if\x20(a_selected\x20<\x200.5\x20&&\x20a_deselectedStart\x20>=\x200.0\x20&&\x20a_loading\x20<\x200.5)\x20{\x0a\x20\x20\x20\x20\x20\x20float\x20t2\x20=\x20clamp((u_time\x20-\x20a_deselectedStart)\x20/\x20max(0.0001,\x20u_pulseDuration),\x200.0,\x201.0);\x0a\x20\x20\x20\x20\x20\x20v_deselectProgress\x20=\x20t2;\x0a\x20\x20\x20\x20\x20\x20//\x20Mirror\x20phases\x20in\x20reverse:\x20start\x20large\x20and\x20settle\x20down\x0a\x20\x20\x20\x20\x20\x20float\x20peak\x20=\x201.4;\x0a\x20\x20\x20\x20\x20\x20float\x20minScale\x20=\x200.5;\x0a\x20\x20\x20\x20\x20\x20float\x20s1\x20=\x200.25;\x0a\x20\x20\x20\x20\x20\x20float\x20s2\x20=\x200.65;\x0a\x20\x20\x20\x20\x20\x20if\x20(t2\x20<\x20(1.0\x20-\x20s2))\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20float\x20u\x20=\x20clamp(t2\x20/\x20(1.0\x20-\x20s2),\x200.0,\x201.0);\x0a\x20\x20\x20\x20\x20\x20\x20\x20u\x20=\x20u\x20*\x20u;\x0a\x20\x20\x20\x20\x20\x20\x20\x20deselectScale\x20=\x20mix(1.0,\x20peak,\x20u);\x0a\x20\x20\x20\x20\x20\x20}\x20else\x20if\x20(t2\x20<\x20(1.0\x20-\x20s1))\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20float\x20u\x20=\x20clamp((t2\x20-\x20(1.0\x20-\x20s2))\x20/\x20max(0.0001,\x20(s2\x20-\x20s1)),\x200.0,\x201.0);\x0a\x20\x20\x20\x20\x20\x20\x20\x20u\x20=\x201.0\x20-\x20pow(1.0\x20-\x20u,\x203.0);\x0a\x20\x20\x20\x20\x20\x20\x20\x20deselectScale\x20=\x20mix(peak,\x20minScale,\x20u);\x0a\x20\x20\x20\x20\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20float\x20u\x20=\x20clamp((t2\x20-\x20(1.0\x20-\x20s1))\x20/\x20max(0.0001,\x20s1),\x200.0,\x201.0);\x0a\x20\x20\x20\x20\x20\x20\x20\x20u\x20=\x20u\x20*\x20u;\x0a\x20\x20\x20\x20\x20\x20\x20\x20deselectScale\x20=\x20mix(minScale,\x201.0,\x20u);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20gl_PointSize\x20=\x20a_size\x20*\x20scale\x20*\x20p\x20*\x20pulseScale\x20*\x20deselectScale;\x0a\x20\x20\x20\x20v_pointSize\x20=\x20gl_PointSize;\x0a\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20gl_Position\x20=\x20vec4(ndc,\x200.0,\x201.0);\x0a\x20\x20\x20\x20float\x20pulseScale\x20=\x201.0;\x0a\x20\x20\x20\x20if\x20(a_selectedStart\x20>=\x200.0\x20&&\x20a_loading\x20<\x200.5)\x20{\x0a\x20\x20\x20\x20\x20\x20float\x20t\x20=\x20clamp((u_time\x20-\x20a_selectedStart)\x20/\x20max(0.0001,\x20u_pulseDuration),\x200.0,\x201.0);\x0a\x20\x20\x20\x20\x20\x20float\x20peak\x20=\x201.4;\x0a\x20\x20\x20\x20\x20\x20float\x20minScale\x20=\x200.5;\x0a\x20\x20\x20\x20\x20\x20float\x20s1\x20=\x200.25;\x0a\x20\x20\x20\x20\x20\x20float\x20s2\x20=\x200.65;\x0a\x0a\x20\x20\x20\x20\x20\x20if\x20(t\x20<\x20s1)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20float\x20u\x20=\x20clamp(t\x20/\x20s1,\x200.0,\x201.0);\x0a\x20\x20\x20\x20\x20\x20\x20\x20u\x20=\x20u\x20*\x20u;\x20//\x20ease-in\x0a\x20\x20\x20\x20\x20\x20\x20\x20pulseScale\x20=\x20mix(1.0,\x20minScale,\x20u);\x0a\x20\x20\x20\x20\x20\x20}\x20else\x20if\x20(t\x20<\x20s2)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20float\x20u\x20=\x20clamp((t\x20-\x20s1)\x20/\x20max(0.0001,\x20(s2\x20-\x20s1)),\x200.0,\x201.0);\x0a\x20\x20\x20\x20\x20\x20\x20\x20u\x20=\x201.0\x20-\x20pow(1.0\x20-\x20u,\x203.0);\x20//\x20ease-out\x0a\x20\x20\x20\x20\x20\x20\x20\x20pulseScale\x20=\x20mix(minScale,\x20peak,\x20u);\x0a\x20\x20\x20\x20\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20float\x20u\x20=\x20clamp((t\x20-\x20s2)\x20/\x20max(0.0001,\x20(1.0\x20-\x20s2)),\x200.0,\x201.0);\x0a\x20\x20\x20\x20\x20\x20\x20\x20u\x20=\x20u\x20*\x20u;\x20//\x20ease-in\x0a\x20\x20\x20\x20\x20\x20\x20\x20pulseScale\x20=\x20mix(peak,\x201.0,\x20u);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20//\x20Deselection\x20reverse\x20pulse\x20in\x202D\x0a\x20\x20\x20\x20float\x20deselectScale\x20=\x201.0;\x0a\x20\x20\x20\x20v_deselectProgress\x20=\x200.0;\x0a\x20\x20\x20\x20if\x20(a_selected\x20<\x200.5\x20&&\x20a_deselectedStart\x20>=\x200.0\x20&&\x20a_loading\x20<\x200.5)\x20{\x0a\x20\x20\x20\x20\x20\x20float\x20t2\x20=\x20clamp((u_time\x20-\x20a_deselectedStart)\x20/\x20max(0.0001,\x20u_pulseDuration),\x200.0,\x201.0);\x0a\x20\x20\x20\x20\x20\x20v_deselectProgress\x20=\x20t2;\x0a\x20\x20\x20\x20\x20\x20float\x20peak\x20=\x201.4;\x0a\x20\x20\x20\x20\x20\x20float\x20minScale\x20=\x200.5;\x0a\x20\x20\x20\x20\x20\x20float\x20s1\x20=\x200.25;\x0a\x20\x20\x20\x20\x20\x20float\x20s2\x20=\x200.65;\x0a\x20\x20\x20\x20\x20\x20if\x20(t2\x20<\x20(1.0\x20-\x20s2))\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20float\x20u\x20=\x20clamp(t2\x20/\x20(1.0\x20-\x20s2),\x200.0,\x201.0);\x0a\x20\x20\x20\x20\x20\x20\x20\x20u\x20=\x20u\x20*\x20u;\x0a\x20\x20\x20\x20\x20\x20\x20\x20deselectScale\x20=\x20mix(1.0,\x20peak,\x20u);\x0a\x20\x20\x20\x20\x20\x20}\x20else\x20if\x20(t2\x20<\x20(1.0\x20-\x20s1))\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20float\x20u\x20=\x20clamp((t2\x20-\x20(1.0\x20-\x20s2))\x20/\x20max(0.0001,\x20(s2\x20-\x20s1)),\x200.0,\x201.0);\x0a\x20\x20\x20\x20\x20\x20\x20\x20u\x20=\x201.0\x20-\x20pow(1.0\x20-\x20u,\x203.0);\x0a\x20\x20\x20\x20\x20\x20\x20\x20deselectScale\x20=\x20mix(peak,\x20minScale,\x20u);\x0a\x20\x20\x20\x20\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20float\x20u\x20=\x20clamp((t2\x20-\x20(1.0\x20-\x20s1))\x20/\x20max(0.0001,\x20s1),\x200.0,\x201.0);\x0a\x20\x20\x20\x20\x20\x20\x20\x20u\x20=\x20u\x20*\x20u;\x0a\x20\x20\x20\x20\x20\x20\x20\x20deselectScale\x20=\x20mix(minScale,\x201.0,\x20u);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20gl_PointSize\x20=\x20a_size\x20*\x20scale\x20*\x20pulseScale\x20*\x20deselectScale;\x0a\x20\x20\x20\x20v_pointSize\x20=\x20gl_PointSize;\x0a\x20\x20}\x0a}\x0a\x0a\x0a','black','gaCategories','seatToExtendedSeat','restoreSeats','special','maxPinchZoom','rowsOverlayElement','destSeatCartSwitch','\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','rowsPolylines','sm-binded-ga','triggerSeatSelectionPulse','#666','rotationAnimation','maxX','handleDestPanZoom','drawOnscreenCanvas','transformAnimator','within','getProgramParameter','findIndex','revokeObjectURL','price','hasLoadingSeats','drawSceneBackground','includes','type','repairSeat','naturalWidth','removeSeatsFromCartByKeys','minimapWidth','Shader\x20compilation\x20error:','hammer','50%\x2050%','focus','isSeatUnavailable','u_time','getHeight','updatePricePaletteUniformIfChanged','cloneNode','polygon','rgba(0,\x200,\x200,\x200.3)','checkBackgroundOutlines','crossfadeDurationMs','parse','drawPoint','disableSvgSectionsByIds','onSeatDebouncedEnter','view-box','colorCategories','rect','UNSIGNED_BYTE','onerror','attribute\x20vec2\x20a_position;\x0aattribute\x20vec2\x20a_texCoord;\x0a\x0auniform\x20vec2\x20u_resolution;\x20//\x20canvas\x20size\x20in\x20device\x20pixels\x0a\x0auniform\x20float\x20u_scale;\x0auniform\x20vec2\x20u_translate;\x20\x20//\x20stage\x20translate\x20in\x20stage\x20units\x0a\x0a//\x203D\x20View\x20uniforms\x0auniform\x20bool\x20u_enable3DView;\x0auniform\x20float\x20u_rotationZ;\x0auniform\x20float\x20u_perspectiveZ;\x0auniform\x20float\x20u_tiltX;\x0a\x0avarying\x20vec2\x20v_texCoord;\x0a\x0a//\x20Simple\x203D\x20rotation\x20matrix\x20for\x20Z\x20axis\x0amat3\x20rotateZ(float\x20angle)\x20{\x0a\x20\x20\x20\x20float\x20c\x20=\x20cos(angle);\x0a\x20\x20\x20\x20float\x20s\x20=\x20sin(angle);\x0a\x20\x20\x20\x20return\x20mat3(\x0a\x20\x20\x20\x20\x20\x20\x20\x20c,\x20-s,\x200.0,\x0a\x20\x20\x20\x20\x20\x20\x20\x20s,\x20\x20c,\x200.0,\x0a\x20\x20\x20\x20\x20\x20\x20\x200.0,\x200.0,\x201.0\x0a\x20\x20\x20\x20);\x0a}\x0a\x0avoid\x20main()\x20{\x0a\x20\x20\x20\x20//\x20Match\x20seats\x20normalization:\x20pos\x20=\x20world\x20px,\x20then\x20normalize\x20by\x20canvas\x20resolution\x0a\x20\x20\x20\x20vec2\x20pos\x20=\x20a_position\x20*\x20u_scale\x20+\x20u_translate;\x0a\x20\x20\x20\x20vec2\x20normalized\x20=\x20vec2(\x0a\x20\x20\x20\x20\x20\x20\x20\x20(2.0\x20*\x20pos.x\x20/\x20u_resolution.x)\x20-\x201.0,\x0a\x20\x20\x20\x20\x20\x20\x20\x201.0\x20-\x20(2.0\x20*\x20pos.y\x20/\x20u_resolution.y)\x0a\x20\x20\x20\x20);\x0a\x0a\x20\x20\x20\x20if\x20(u_enable3DView)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20vec3\x20rotated\x20=\x20rotateZ(u_rotationZ)\x20*\x20vec3(normalized,\x200.0);\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20Apply\x20tilt\x20and\x20perspective\x20like\x20Seats.vert\x0a\x20\x20\x20\x20\x20\x20\x20\x20float\x20tiltEffect\x20=\x20rotated.y\x20*\x20u_tiltX;\x0a\x20\x20\x20\x20\x20\x20\x20\x20vec2\x20finalPos\x20=\x20vec2(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rotated.x,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rotated.y\x20+\x20tiltEffect\x20*\x202.0\x0a\x20\x20\x20\x20\x20\x20\x20\x20);\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20float\x20perspectiveScale\x20=\x201.0\x20+\x20(finalPos.y\x20*\x20u_perspectiveZ\x20*\x201.5);\x0a\x20\x20\x20\x20\x20\x20\x20\x20finalPos\x20*=\x20perspectiveScale;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20gl_Position\x20=\x20vec4(finalPos,\x200.0,\x201.0);\x0a\x20\x20\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20gl_Position\x20=\x20vec4(normalized,\x200.0,\x201.0);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20//\x20pass\x20the\x20texCoord\x20to\x20the\x20fragment\x20shader\x0a\x20\x20\x20\x20v_texCoord\x20=\x20a_texCoord;\x0a}','updateSeatLocks','setSectionSelection','appContext','drawScene','=\x221\x22]\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','complete','blur','red','.sm-bg-outlines','stageHeight','schemaResponseSize','applySectionViewAnimation','renderGaTitles','filterSeatsByIds','highlightGa','imageRendering','OES_standard_derivatives','sectionsById','clearTimeout','getPricesDTO','groupSize','u_scale','texture','rightPressed','sectionName','isBackgroundReady','height=\x22','handleDestSectionClick','SVG\x20viewbox\x20not\x20defined','hoveredRow','getAnimationState','fill','hexToRGB','ONE_MINUS_SRC_ALPHA','sm-eagle-view','getAttribute','selectRows','snapshotTranslatePx','sectors','paddleWidth','isDragging','then','toggle','emitSrcEvent','\x0a\x20\x20\x20\x20\x20\x20.sm-eagle-view\x20.','rowsRenderer','corners','initialPadding','removeFilterSvgSectionById','getSelectedGa','setRectangle','TEXTURE_MAG_FILTER','28geTbUV','renderSelectedSeat','scrollX','inside','accessible','_seats','_pricesDTO','delete','strokeStyle','onSeatMouseEnter','skewAngle','top-right','is3DEnabled','bindAttrib','data-gos-id','scale','getRowWidthForScale','priceCategories\x20is\x20not\x20an\x20array\x20or\x20is\x20undefined','requestPlain','pendingRotationAngle','u_hoveredColor','mouseleave','setBackgroundImage','createProgram','href','DEPTH_BUFFER_BIT','seatsPositions','getSeatByOffset','perspectiveFactor','isAccessible','onSchemaDataLoaded','#FFC107','querySelector','attachShader','animateRotation','altKey','createTextNode','stroke-opacity','changeMachineContext','srcDragStart','isViewportNearFullCanvas','overflow','0\x202px\x208px\x20rgba(0,0,0,0.3)','right','supportsOffscreenCanvas','destroy','getAnimationState\x20is\x20not\x20implemented\x20for\x20this\x20layer','isDebug','rowsPolylinesVersion','visible','ensureZeroSelectionHoverBuffers','zoomAnimationDuration','getStageHeightPx','ArrowRight','TEXTURE0','opacity','name','stop','textureMix','moveTo','/init','touchend','Failed\x20to\x20load\x20PNG,\x20falling\x20back\x20to\x20SVG:','setupBackgroundTexture','onZoomStart','getSectionRect','RECT_SELECT','getMinZoom','onSeatsSelectionChange','presets','DIRECTION_ALL','keys','textBaseline','rows_rotationZ','getInitialScaleAndTranslate','imageSmoothingQuality','maxY','ballVY','touchmove','sectionViewTransform','positionLocation','a_priceColorIndex','Error\x20in\x20requestPlain\x20to\x20','http://www.w3.org/2000/svg','drawBackground','=\x221\x22]\x20path[data-seatmap-ga]\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','LINEAR','RGBA','No\x20URL','initTime','fadeIn','container','replace','seatToCartSeat','seatsById','removeSpinningSeat','naturalHeight','restore','disableZoomToEmptySpace','1.54.0','selectedSeatIds','showCartPins','data-default-fill','addHandlers','filtered','no-cors','head','scrollY','<svg\x20width=\x22','cachedDraw','Possibly\x20continue\x20showing\x20rows\x20at\x20this\x20scale\x20(including\x20for\x20seat-based\x20maps)','Spacebar','#CDDC39','sessionId','data-ga-unavailable','crypto','priceColors','publicKey','ceil','toPerspectiveZ','0.0.0.0','animateend','\x0a\x20\x20\x20\x20\x20\x20.sm-shape-ga[outer-highlight=\x221\x22],\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga[outer-highlight=\x221\x22]\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','rotationAngle','destSeatSelect','deleteTexture','getVisibleSeats','setMinimapPosition','#2D8CFF','4azEKAZ','application/javascript','u_tiltX','destRectSelect','hasSeatTexture','assign','height','backgroundSVG','updateOutlines','u_perspectiveZ','hoveredFlagBuffer','crossfadeStartTime','sendViewBox','text','underlay','getSectionsWithCoords',',.sm-table,.sm-shape-ga,.sm-binded-ga','arc','leftPressed','u_image0','doTranslate','paddleHeight','showRows','a_position','hoveredSeat','anonymous','handleMouseMoveOutside','POINTS','destSeatMouseEnter','TEXTURE_MIN_FILTER','animationId','setGaCategory','labelEl','isGa','addClassName','createMachineService','env','rows_color','priceIdToIndex','phase','handleChangeEagleView','seatKey','requestTime','blurred','\x0a\x20\x20\x20\x20.','setAttribute','setPendingRotationAngle','\x0a\x20\x20\x20\x20\x20\x20.sm-shape-ga,\x0a\x20\x20\x20\x20\x20\x20.sm-table,\x20\x0a\x20\x20\x20\x20\x20\x20.sm-eagle-view\x20.','hide','enable','239245QbIhno','getRotationAnimationId','screen','panend','ballVX','drawOffscreenCanvas','shadowColor','getNearestDocumentedScale','\x0a\x20\x20\x20\x20.sm-binded-ga,\x0a\x20\x20\x20\x20.sm-eagle-view\x20.','devicePixelRatio','minimap','selectionLayer','borderRadius','selectSeats','onCartChange','onSectorMouseEnter','hostElement','u_rotationZ','_selectedSeatIds','sm-bind-ga','onComplete','transformOrigin','handleDestSectionMouseLeave','pinchStartPoint','uniform1i','uniform1f','\x0a\x20\x20\x20\x20\x20\x20\x20\x20','resetAll','svgElement','rows_stageHeight','handleDebouncedSeatChange','DRAG_MOVE','seatStyles','uniform4fv','getContext','ballX','updateBackgroundImage','categoriesColor','drawCartSeatPins','mouseup','background','stopRotationAnimation','handleMouseDown','overlayCtx','isSpinningSeat','loadBackgroundTextureAsync','CLAMP_TO_EDGE','full','ready','position','getZoom','data-seatmap-ga','bottom','rowView','setupIconUniforms','explosions','https://booking.seatmap.pro/api/public/v1.0/','string','getSectionByOutline','#version\x20100\x0aprecision\x20highp\x20float;\x0a\x0aattribute\x20vec2\x20a_position;\x0auniform\x20float\x20stageWidth;\x0auniform\x20float\x20stageHeight;\x0auniform\x20float\x20scale;\x0auniform\x20vec2\x20translate;\x0auniform\x20bool\x20u_enable3DView;\x0auniform\x20float\x20u_rotationZ;\x0auniform\x20float\x20u_perspectiveZ;\x0auniform\x20float\x20u_tiltX;\x0a\x0amat3\x20rotateZ(float\x20angle)\x20{\x0a\x20\x20float\x20c\x20=\x20cos(angle);\x0a\x20\x20float\x20s\x20=\x20sin(angle);\x0a\x20\x20return\x20mat3(\x0a\x20\x20\x20\x20c,\x20-s,\x200.0,\x0a\x20\x20\x20\x20s,\x20\x20c,\x200.0,\x0a\x20\x20\x20\x200.0,\x200.0,\x201.0\x0a\x20\x20);\x0a}\x0a\x0avoid\x20main()\x20{\x0a\x20\x20vec2\x20pos\x20=\x20a_position\x20*\x20scale\x20+\x20translate;\x0a\x20\x20vec2\x20ndc\x20=\x20vec2(\x0a\x20\x20\x20\x20(2.0\x20*\x20pos.x\x20/\x20stageWidth)\x20-\x201.0,\x0a\x20\x20\x20\x201.0\x20-\x20(2.0\x20*\x20pos.y\x20/\x20stageHeight)\x0a\x20\x20);\x0a\x0a\x20\x20if\x20(u_enable3DView)\x20{\x0a\x20\x20\x20\x20vec3\x20rotated\x20=\x20rotateZ(u_rotationZ)\x20*\x20vec3(ndc,\x200.0);\x0a\x20\x20\x20\x20float\x20tilt\x20=\x20rotated.y\x20*\x20u_tiltX;\x0a\x20\x20\x20\x20vec2\x20fp\x20=\x20vec2(rotated.x,\x20rotated.y\x20+\x20tilt\x20*\x202.0);\x0a\x20\x20\x20\x20float\x20p\x20=\x201.0\x20+\x20(fp.y\x20*\x20u_perspectiveZ\x20*\x201.5);\x0a\x20\x20\x20\x20vec2\x20finalPos\x20=\x20fp\x20*\x20p;\x0a\x20\x20\x20\x20gl_Position\x20=\x20vec4(finalPos,\x200.0,\x201.0);\x0a\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20gl_Position\x20=\x20vec4(ndc,\x200.0,\x201.0);\x0a\x20\x20}\x0a}\x0a\x0a\x0a','selected','getPrevScale','compileShader','fromRotationZ','a_iconsTypes','#888888','seat','padding','texcoordLocation','fadeDurationMs','locked','KeyK','findNearestSeatGroup','imageId','postMessage','finishFadeOut','eventName','subtract','animateTo3DParams','redrawHandler','fromTiltX','handleDestSeatSelect','paddleY','getZoomPresets','seatSelectionMinZoom','overlayRenderer','u_translate','9930fxWHKb','style','setSeatsGeometry','lifeMs','#version\x20100\x0aprecision\x20highp\x20float;\x0a\x0aattribute\x20vec2\x20position;\x0aattribute\x20float\x20iconsTypes;\x0aattribute\x20float\x20priceColorIndex;\x0aattribute\x20float\x20size;\x0aattribute\x20float\x20selectedFlag;\x0aattribute\x20float\x20hoveredFlag;\x0a\x0auniform\x20float\x20stageWidth;\x0auniform\x20float\x20stageHeight;\x0auniform\x20float\x20scale;\x0auniform\x20vec2\x20translate;\x0auniform\x20vec3\x20priceColors[32];\x0a\x0a//\x203D\x20View\x20uniforms\x0auniform\x20bool\x20u_enable3DView;\x0auniform\x20float\x20u_rotationZ;\x0auniform\x20float\x20u_perspectiveZ;\x0auniform\x20float\x20u_tiltX;\x0a\x0avarying\x20vec4\x20fragColor;\x0avarying\x20float\x20v_iconsTypes;\x0avarying\x20float\x20v_selected;\x0avarying\x20float\x20v_hovered;\x0a\x0a//\x20Simple\x203D\x20rotation\x20matrix\x20for\x20Z\x20axis\x0amat3\x20rotateZ(float\x20angle)\x20{\x0a\x20\x20\x20\x20float\x20c\x20=\x20cos(angle);\x0a\x20\x20\x20\x20float\x20s\x20=\x20sin(angle);\x0a\x20\x20\x20\x20return\x20mat3(\x0a\x20\x20\x20\x20\x20\x20\x20\x20c,\x20-s,\x200.0,\x0a\x20\x20\x20\x20\x20\x20\x20\x20s,\x20c,\x200.0,\x0a\x20\x20\x20\x20\x20\x20\x20\x200.0,\x200.0,\x201.0\x0a\x20\x20\x20\x20);\x0a}\x0a\x0avoid\x20main()\x20{\x0a\x20\x20\x20\x20vec2\x20pos\x20=\x20position\x20*\x20scale\x20+\x20translate;\x0a\x20\x20\x20\x20v_selected\x20=\x20selectedFlag;\x0a\x20\x20\x20\x20v_hovered\x20=\x20hoveredFlag;\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20if\x20(u_enable3DView)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20Convert\x20to\x20normalized\x20coordinates\x20(2D\x20approach\x20with\x203D\x20effects)\x0a\x20\x20\x20\x20\x20\x20\x20\x20vec2\x20normalized\x20=\x20vec2(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(2.0\x20*\x20pos.x\x20/\x20stageWidth)\x20-\x201.0,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201.0\x20-\x20(2.0\x20*\x20pos.y\x20/\x20stageHeight)\x0a\x20\x20\x20\x20\x20\x20\x20\x20);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20Apply\x20Z\x20rotation\x0a\x20\x20\x20\x20\x20\x20\x20\x20vec3\x20rotated\x20=\x20rotateZ(u_rotationZ)\x20*\x20vec3(normalized,\x200.0);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20Apply\x20more\x20pronounced\x20perspective\x20tilt\x20effect\x0a\x20\x20\x20\x20\x20\x20\x20\x20float\x20tiltEffect\x20=\x20rotated.y\x20*\x20u_tiltX;\x0a\x20\x20\x20\x20\x20\x20\x20\x20vec2\x20finalPos\x20=\x20vec2(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rotated.x,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rotated.y\x20+\x20tiltEffect\x20*\x202.0\x0a\x20\x20\x20\x20\x20\x20\x20\x20);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20Add\x20stronger\x20perspective\x20Z\x20effect\x0a\x20\x20\x20\x20\x20\x20\x20\x20float\x20perspectiveScale\x20=\x201.0\x20+\x20(finalPos.y\x20*\x20u_perspectiveZ\x20*\x201.5);\x0a\x20\x20\x20\x20\x20\x20\x20\x20finalPos\x20*=\x20perspectiveScale;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20gl_Position\x20=\x20vec4(finalPos,\x200.0,\x201.0);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20Adjust\x20point\x20size\x20with\x20perspective\x0a\x20\x20\x20\x20\x20\x20\x20\x20float\x20scaleFactor\x20=\x20scale\x20<\x200.3\x20?\x201.4\x20:\x201.0;\x0a\x20\x20\x20\x20\x20\x20\x20\x20float\x20overlayBoost\x20=\x201.0\x20+\x20v_selected\x20*\x200.5;\x0a\x20\x20\x20\x20\x20\x20\x20\x20float\x20extraSize\x20=\x20scale\x20<\x200.2?\x20size\x20+\x204.0\x20:\x20size;\x0a\x20\x20\x20\x20\x20\x20\x20\x20gl_PointSize\x20=\x20(extraSize\x20+\x200.0)\x20*\x20scale\x20*\x20scaleFactor\x20*\x20perspectiveScale\x20*\x20overlayBoost;\x0a\x20\x0a\x20\x20\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x202D\x20mode\x20(original\x20logic)\x0a\x20\x20\x20\x20\x20\x20\x20\x20vec2\x20normalized\x20=\x20vec2(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(2.0\x20*\x20pos.x\x20/\x20stageWidth)\x20-\x201.0,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201.0\x20-\x20(2.0\x20*\x20pos.y\x20/\x20stageHeight)\x0a\x20\x20\x20\x20\x20\x20\x20\x20);\x0a\x20\x20\x20\x20\x20\x20\x20\x20float\x20scaleFactor\x20=\x20scale\x20<\x200.3\x20?\x201.4\x20:\x201.0;\x0a\x20\x20\x20\x20\x20\x20\x20\x20float\x20overlayBoost\x20=\x201.0\x20+\x20v_selected\x20*\x200.5;\x0a\x20\x20\x20\x20\x20\x20\x20\x20gl_PointSize\x20=\x20(size\x20+\x200.0)\x20*\x20scale\x20*\x20scaleFactor\x20*\x20overlayBoost;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20gl_Position\x20=\x20vec4(normalized,\x200.0,\x201.0);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20if\x20(priceColorIndex\x20>=\x200.0)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20int\x20index\x20=\x20int(priceColorIndex);\x0a\x20\x20\x20\x20\x20\x20\x20\x20vec3\x20color\x20=\x20priceColors[index];\x0a\x20\x20\x20\x20\x20\x20\x20\x20fragColor\x20=\x20vec4(color,\x201.0);\x0a\x20\x20\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20fragColor\x20=\x20vec4(0.7,\x200.7,\x200.7,\x201.0);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20v_iconsTypes\x20=\x20iconsTypes;\x0a}','drawCanvas','cachedPriceColorIndices','object','createElementNS','hideSeats','tiltFactor','getSections','No\x20SVG','drawImage','textureReady','clearCart',',\x0a\x20\x20\x20\x20\x20\x20.','a_size','disableSeatsByKeys','resolve','enableSeatsByIds','top','onload','getUniformLocation','useProgram','translate(','selectedFlag','gaFontScales','image/svg+xml','getShaderParameter','updateSize','serializeToString','getRowById','call','getSeats','calculateAbsoluteScaledTranslate','sm-outline','handleDestSectionMouseEnter','getWidth','getCategoryColor','stroke','#ifdef\x20GL_OES_standard_derivatives\x0a#extension\x20GL_OES_standard_derivatives\x20:\x20enable\x0a#endif\x0aprecision\x20mediump\x20float;\x0a\x0avarying\x20float\x20v_selected;\x0avarying\x20float\x20v_hovered;\x0avarying\x20float\x20v_loading;\x0avarying\x20float\x20v_error;\x0avarying\x20float\x20v_priceColorIndex;\x0avarying\x20vec3\x20v_color;\x0avarying\x20float\x20v_pointSize;\x20//\x20point\x20size\x20in\x20device\x20pixels\x0avarying\x20float\x20v_baseSize;\x20//\x20original\x20a_size\x20from\x20theme\x0avarying\x20float\x20v_deselectProgress;\x20//\x200..1\x20during\x20deselection\x20animation\x0a\x0auniform\x20vec4\x20u_hoveredColor;\x20//\x20ring\x20color\x0auniform\x20sampler2D\x20u_iconAtlas;\x0auniform\x20vec4\x20u_markedUV;\x20//\x20x,\x20y,\x20w,\x20h\x20in\x20atlas\x0auniform\x20vec4\x20u_loadingUV;\x20//\x20x,\x20y,\x20w,\x20h\x20in\x20atlas\x0auniform\x20vec3\x20u_loadingColor;\x20//\x20seat\x20fill\x20color\x20for\x20loading\x20state\x0auniform\x20vec4\x20u_errorUV;\x20//\x20x,\x20y,\x20w,\x20h\x20in\x20atlas\x0auniform\x20vec3\x20u_errorColor;\x20//\x20seat\x20fill\x20color\x20for\x20error\x20state\x0auniform\x20float\x20u_loadingRotateAngle;\x20//\x20angle\x20in\x20radians\x20for\x20loading\x20icon\x20rotation\x0a//\x20priceColors\x20no\x20longer\x20indexed\x20here;\x20color\x20is\x20passed\x20from\x20vertex\x20shader\x0a\x0a//\x20Returns\x20icon\x20alpha\x20sampled\x20from\x20a\x20rect\x20in\x20the\x20atlas,\x20with\x20clamping\x20inset\x20to\x20avoid\x20bleed.\x0a//\x20If\x20useLocalWindow\x20is\x20true,\x20a\x20centered\x20local\x20window\x20is\x20used\x20to\x20shrink\x20the\x20icon\x20(scale\x20<\x201\x20makes\x20it\x20smaller).\x0a//\x20If\x20useLocalWindow\x20is\x20false,\x20a\x20centered\x20expansion\x20formula\x20is\x20used\x20(scale\x20>\x201\x20makes\x20it\x20smaller).\x0afloat\x20iconAlphaFromRect(vec4\x20rect,\x20float\x20scale,\x20bool\x20useLocalWindow,\x20float\x20edgeA)\x20{\x0a\x20\x20vec2\x20inset\x20=\x20max(rect.zw\x20*\x200.02,\x20vec2(0.001));\x0a\x20\x20vec2\x20uvMin\x20=\x20rect.xy\x20+\x20inset;\x0a\x20\x20vec2\x20uvMax\x20=\x20rect.xy\x20+\x20rect.zw\x20-\x20inset;\x0a\x0a\x20\x20vec2\x20iconUV;\x0a\x20\x20float\x20inside\x20=\x201.0;\x0a\x20\x20if\x20(useLocalWindow)\x20{\x0a\x20\x20\x20\x20vec2\x20local\x20=\x20(gl_PointCoord\x20-\x200.5)\x20/\x20scale\x20+\x200.5;\x0a\x20\x20\x20\x20inside\x20=\x20step(0.0,\x20local.x)\x20*\x20step(0.0,\x20local.y)\x20*\x20step(local.x,\x201.0)\x20*\x20step(local.y,\x201.0);\x0a\x20\x20\x20\x20iconUV\x20=\x20mix(uvMin,\x20uvMax,\x20clamp(local,\x200.0,\x201.0));\x0a\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20iconUV\x20=\x20rect.xy\x20+\x20(gl_PointCoord\x20*\x20rect.zw\x20*\x20scale)\x20-\x20(rect.zw\x20*\x20(scale\x20-\x201.0)\x20*\x200.5);\x0a\x20\x20\x20\x20iconUV\x20=\x20clamp(iconUV,\x20uvMin,\x20uvMax);\x0a\x20\x20}\x0a\x20\x20vec4\x20iconColor\x20=\x20texture2D(u_iconAtlas,\x20iconUV);\x0a\x20\x20return\x20iconColor.a\x20*\x20inside\x20*\x20edgeA\x20*\x20edgeA;\x0a}\x0a\x0a//\x20Variant\x20that\x20samples\x20using\x20a\x20custom\x20point\x20coordinate\x20(for\x20rotation\x20effects)\x0afloat\x20iconAlphaFromRectWithUV(vec4\x20rect,\x20float\x20scale,\x20bool\x20useLocalWindow,\x20float\x20edgeA,\x20vec2\x20pointUV)\x20{\x0a\x20\x20vec2\x20inset\x20=\x20max(rect.zw\x20*\x200.02,\x20vec2(0.001));\x0a\x20\x20vec2\x20uvMin\x20=\x20rect.xy\x20+\x20inset;\x0a\x20\x20vec2\x20uvMax\x20=\x20rect.xy\x20+\x20rect.zw\x20-\x20inset;\x0a\x0a\x20\x20vec2\x20iconUV;\x0a\x20\x20float\x20inside\x20=\x201.0;\x0a\x20\x20if\x20(useLocalWindow)\x20{\x0a\x20\x20\x20\x20vec2\x20local\x20=\x20(pointUV\x20-\x200.5)\x20/\x20scale\x20+\x200.5;\x0a\x20\x20\x20\x20inside\x20=\x20step(0.0,\x20local.x)\x20*\x20step(0.0,\x20local.y)\x20*\x20step(local.x,\x201.0)\x20*\x20step(local.y,\x201.0);\x0a\x20\x20\x20\x20iconUV\x20=\x20mix(uvMin,\x20uvMax,\x20clamp(local,\x200.0,\x201.0));\x0a\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20iconUV\x20=\x20rect.xy\x20+\x20(pointUV\x20*\x20rect.zw\x20*\x20scale)\x20-\x20(rect.zw\x20*\x20(scale\x20-\x201.0)\x20*\x200.5);\x0a\x20\x20\x20\x20iconUV\x20=\x20clamp(iconUV,\x20uvMin,\x20uvMax);\x0a\x20\x20}\x0a\x20\x20vec4\x20iconColor\x20=\x20texture2D(u_iconAtlas,\x20iconUV);\x0a\x20\x20return\x20iconColor.a\x20*\x20inside\x20*\x20edgeA\x20*\x20edgeA;\x0a}\x0a\x0a//\x20Convert\x20an\x20intended\x20visual\x20icon\x20size\x20in\x20px\x20to\x20a\x20normalized\x20scale\x20relative\x20to\x20the\x20atlas\x20cell\x20(assumed\x20128x128)\x0afloat\x20scaleForIconPx(float\x20desiredPx)\x20{\x0a\x20\x20//\x20Keep\x20icon\x20proportional\x20to\x20the\x20seat\x20point:\x20at\x20v_pointSize\x20==\x20v_baseSize,\x20icon\x20==\x20desiredPx\x0a\x20\x20//\x20As\x20zoom\x20increases,\x20v_pointSize\x20grows,\x20so\x20icon\x20grows\x20proportionally.\x0a\x20\x20float\x20targetPx\x20=\x20desiredPx\x20*\x20(v_pointSize\x20/\x20max(1.0,\x20v_baseSize));\x0a\x20\x20float\x20s\x20=\x20clamp(targetPx\x20/\x20max(1.0,\x20v_pointSize),\x200.0,\x201.0);\x0a\x20\x20return\x20s;\x0a}\x0a\x0avoid\x20main()\x20{\x0a\x20\x20vec2\x20c\x20=\x202.0\x20*\x20gl_PointCoord\x20-\x201.0;\x0a\x20\x20float\x20r\x20=\x20dot(c,\x20c);\x0a\x20\x20//\x20Allow\x20a\x20small\x20area\x20outside\x20the\x20unit\x20circle\x20to\x20render\x20a\x20soft\x20halo\x20(drop\x20shadow)\x0a\x20\x20float\x20maxR\x20=\x201.25;\x20//\x20discard\x20beyond\x20halo\x20extent\x0a\x20\x20if\x20(r\x20>\x20maxR)\x20discard;\x0a\x0a\x20\x20//\x20Anti-aliased\x20edge\x20for\x20the\x20circle\x20fill\x0a\x20\x20float\x20edgeAlpha;\x0a#ifdef\x20GL_OES_standard_derivatives\x0a\x20\x20float\x20delta\x20=\x20fwidth(r);\x0a\x20\x20edgeAlpha\x20=\x201.0\x20-\x20smoothstep(1.0\x20-\x20delta,\x201.0\x20+\x20delta,\x20r);\x0a#else\x0a\x20\x20edgeAlpha\x20=\x201.0\x20-\x20smoothstep(0.9,\x201.0,\x20sqrt(r));\x0a#endif\x0a\x0a\x20\x20vec4\x20color\x20=\x20vec4(0.0);\x0a\x0a\x20\x20//\x20Selected/hovered/loading/error\x20fill\x20uses\x20seat\x20color\x0a\x20\x20if\x20(v_selected\x20>\x200.5\x20||\x20v_hovered\x20>\x200.5\x20||\x20v_loading\x20>\x200.5\x20||\x20v_error\x20>\x200.5)\x20{\x0a\x20\x20\x20\x20color\x20=\x20vec4(v_color,\x201.0);\x0a\x20\x20}\x0a\x20\x20//\x20During\x20deselection\x20animation,\x20fade\x20out\x20fill\x20from\x20selected\x20color\x20to\x20transparent\x0a\x20\x20if\x20(v_selected\x20<\x200.5\x20&&\x20v_deselectProgress\x20>\x200.0)\x20{\x0a\x20\x20\x20\x20float\x20alpha\x20=\x201.0\x20-\x20v_deselectProgress;\x20//\x20fade\x20out\x0a\x20\x20\x20\x20color\x20=\x20vec4(v_color,\x20alpha);\x0a\x20\x20}\x0a\x0a\x0a\x20\x20//\x20No\x20hover\x20ring\x20overlay;\x20center\x20remains\x20original\x20color\x0a\x0a\x20\x20//\x20When\x20selected,\x20overlay\x20the\x20marked\x20icon\x20(checkmark)\x20from\x20the\x20atlas\x20(no\x20rotation)\x0a\x20\x20if\x20(v_selected\x20>\x200.5)\x20{\x0a\x20\x20\x20\x20float\x20s\x20=\x20scaleForIconPx(18.0);\x0a\x20\x20\x20\x20float\x20iconAlpha\x20=\x20iconAlphaFromRect(u_markedUV,\x20s,\x20true,\x20edgeAlpha);\x0a\x20\x20\x20\x20color\x20=\x20vec4(mix(color.rgb,\x20vec3(1.0),\x20iconAlpha),\x20color.a);\x0a\x20\x20}\x0a\x20\x20//\x20Do\x20not\x20show\x20checkmark\x20during\x20deselection\x20fade\x0a\x0a\x20\x20//\x20When\x20loading,\x20overlay\x20the\x20loading\x20icon\x20(from\x20theme)\x20with\x20rotation\x0a\x20\x20if\x20(v_loading\x20>\x200.5)\x20{\x0a\x20\x20\x20\x20float\x20s\x20=\x20scaleForIconPx(24.0);\x0a\x20\x20\x20\x20float\x20c\x20=\x20cos(u_loadingRotateAngle);\x0a\x20\x20\x20\x20float\x20srot\x20=\x20sin(u_loadingRotateAngle);\x0a\x20\x20\x20\x20vec2\x20centered\x20=\x20gl_PointCoord\x20-\x200.5;\x0a\x20\x20\x20\x20vec2\x20rotated\x20=\x20vec2(c\x20*\x20centered.x\x20-\x20srot\x20*\x20centered.y,\x20srot\x20*\x20centered.x\x20+\x20c\x20*\x20centered.y)\x20+\x200.5;\x0a\x20\x20\x20\x20float\x20iconAlpha\x20=\x20iconAlphaFromRectWithUV(u_loadingUV,\x20s,\x20true,\x20edgeAlpha,\x20rotated);\x0a\x20\x20\x20\x20color\x20=\x20vec4(mix(color.rgb,\x20vec3(1.0),\x20iconAlpha),\x20color.a);\x0a\x20\x20}\x0a\x0a\x20\x20//\x20When\x20error,\x20overlay\x20the\x20error\x20icon\x20(from\x20theme)\x20without\x20animation\x0a\x20\x20if\x20(v_error\x20>\x200.5)\x20{\x0a\x20\x20\x20\x20float\x20s\x20=\x20scaleForIconPx(18.0);\x0a\x20\x20\x20\x20float\x20iconAlpha\x20=\x20iconAlphaFromRect(u_errorUV,\x20s,\x20true,\x20edgeAlpha);\x0a\x20\x20\x20\x20color\x20=\x20vec4(mix(color.rgb,\x20vec3(1.0),\x20iconAlpha),\x20color.a);\x0a\x20\x20}\x0a\x0a\x20\x20//\x20Compose\x20circle\x20fill\x20with\x20anti-aliased\x20edge\x0a\x20\x20vec4\x20outColor\x20=\x20color;\x0a\x20\x20outColor.a\x20*=\x20edgeAlpha;\x0a\x0a\x20\x20//\x20Add\x20a\x20subtle\x20soft\x20halo\x20outside\x20the\x20circle\x20to\x20mimic\x20canvas\x20drop\x20shadow\x0a\x20\x20float\x20haloWidth\x20=\x200.20;\x20//\x20how\x20far\x20the\x20halo\x20extends\x20beyond\x20the\x20circle\x0a#ifdef\x20GL_OES_standard_derivatives\x0a\x20\x20float\x20halo\x20=\x20(1.0\x20-\x20smoothstep(1.0,\x201.0\x20+\x20haloWidth,\x20r));\x0a#else\x0a\x20\x20float\x20halo\x20=\x20(1.0\x20-\x20smoothstep(1.0,\x201.0\x20+\x20haloWidth,\x20sqrt(r)));\x0a#endif\x0a\x20\x20//\x20Restrict\x20halo\x20to\x20outside\x20the\x20circle\x20only\x0a\x20\x20halo\x20*=\x20step(1.0,\x20r);\x0a\x20\x20//\x20Disable\x20halo\x20when\x20hovered,\x20selected,\x20or\x20loading\x20to\x20avoid\x20seams\x0a\x20\x20float\x20haloStrength\x20=\x20(v_selected\x20>\x200.5\x20||\x20v_hovered\x20>\x200.5\x20||\x20v_loading\x20>\x200.5\x20||\x20v_error\x20>\x200.5)\x20?\x200.0\x20:\x200.22;\x20//\x20opacity\x20of\x20the\x20halo\x0a\x20\x20vec3\x20haloColor\x20=\x20vec3(0.0);\x20//\x20black\x20shadow\x0a\x0a\x20\x20//\x20Blend\x20halo\x20where\x20the\x20circle\x20is\x20transparent\x0a\x20\x20outColor.rgb\x20=\x20mix(outColor.rgb,\x20haloColor,\x20halo\x20*\x20haloStrength\x20*\x20(1.0\x20-\x20outColor.a));\x0a\x20\x20outColor.a\x20=\x20max(outColor.a,\x20halo\x20*\x20haloStrength);\x0a\x0a\x20\x20gl_FragColor\x20=\x20outColor;\x0a}\x0a\x0a\x0a','minPinchZoom','getSeatSelection','Problem\x20SVG:','isRunning','drawRows','minimapHeight','attachKeyboardHandlers','rowsVisibleAtScale','join','hidden','keyupHandler','Shader\x20compilation\x20error','sectorIds','_backgroundElement','zoomToSection','show','calculateAbsolutePoint','mousemove','event/schema/rows/?id=','startPanAnimation','svg','checkmark','setIconsData','canvas','lastTime','handleDestSeatCartSwitch','isInteger','&debug=','createElement','update3DView','stats','CLICK','undefined','backgroundImageSrc','svgLink','data-section-id','#999','TEXTURE_WRAP_S','pointermove','setSelectedGa','uniform2f','DESELECT','spinnerAnimationId','viewportColor','drawViewportDirectionArrow','shadow','animationFrameId','number','#fff','stopPropagation','onSeatsDeselect','seatImages','lastPricePaletteSignature','priceIndicesDirty','data-ga-selected','message','getGaSectionByOutline','SeatmapBookingRenderer\x20constructor','rowsLockedSignatureBuilt','cleanSvgInlineStyles','rows_enable3DView','updateAnimationStep','setHighlightAllOutlines','rowsGridStep','active','afterCartUpdate','createBuffer','toggleMinimap','save','preview','#00BCD4','srcClick','onSeatsSelect','transformAnimationDuration','deg)','deltaY','isRotationAnimationRunning','cart','fromTranslate','dpr','#3F51B5','destSectionMouseEnter','resizeTimer','deactivate','points','hasSeatsDrawn','<svg\x20width=\x22128\x22\x20height=\x22128\x22\x20viewBox=\x220\x200\x20128\x20128\x22\x20fill=\x22none\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M64.5\x20115C92.3904\x20115\x20115\x2092.3904\x20115\x2064.5C115\x2036.6096\x2092.3904\x2014\x2064.5\x2014C36.6096\x2014\x2014\x2036.6096\x2014\x2064.5C14\x2092.3904\x2036.6096\x20115\x2064.5\x20115Z\x22\x20stroke=\x22white\x22\x20stroke-width=\x2212\x22/><path\x20d=\x22M48.7188\x2080.2813L80.2813\x2048.7188M48.7188\x2048.7188L80.2813\x2080.2813\x22\x20stroke=\x22white\x22\x20stroke-width=\x2212\x22\x20stroke-linecap=\x22round\x22/></svg>'];_0x1b71=function(){return _0x28e8b0;};return _0x1b71();}export{BookingApiClient,DestEventType,Renderer,RendererSelectMode,RendererTargetType,RotationAnimation,SeatmapAdminRenderer,SeatmapBookingRenderer,SrcEventType,VERSION,convertPricesToColored,convertPricesToColoredById,defaultZoomSettings,mergeSettings,sortPrices};
|