@seatmap.pro/renderer 1.55.0 → 1.55.2
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 +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x518421=_0x425e;(function(_0xab66c8,_0x2f23e3){const _0x30415e=_0x425e,_0x55a92a=_0xab66c8();while(!![]){try{const _0x1e8c33=parseInt(_0x30415e(0x25a))/0x1*(parseInt(_0x30415e(0x117))/0x2)+parseInt(_0x30415e(0x2d6))/0x3*(parseInt(_0x30415e(0x229))/0x4)+-parseInt(_0x30415e(0x3ac))/0x5*(parseInt(_0x30415e(0x5be))/0x6)+parseInt(_0x30415e(0x42e))/0x7*(-parseInt(_0x30415e(0x2e4))/0x8)+parseInt(_0x30415e(0x5fa))/0x9*(-parseInt(_0x30415e(0x219))/0xa)+parseInt(_0x30415e(0x255))/0xb+parseInt(_0x30415e(0x28d))/0xc;if(_0x1e8c33===_0x2f23e3)break;else _0x55a92a['push'](_0x55a92a['shift']());}catch(_0x1fde75){_0x55a92a['push'](_0x55a92a['shift']());}}}(_0x4630,0x6bb80));function arrayToObjectById(_0x52cc70){const _0xb78e3c={};if(!_0x52cc70)return _0xb78e3c;for(let _0x255d44=0x0;_0x255d44<_0x52cc70['length'];_0x255d44++){_0xb78e3c[_0x52cc70[_0x255d44]['id']]=_0x52cc70[_0x255d44];}return _0xb78e3c;}var cubicInOut=_0x567291=>{const _0x582fee=_0x425e;return 0x1-Math[_0x582fee(0x12d)](0x1-_0x567291,0x3);},VERSION='1.55.0',dpr=window[_0x518421(0x4d1)],Layer=class{constructor(_0x393804){const _0x3384b5=_0x518421;this[_0x3384b5(0x264)]=![],this[_0x3384b5(0x590)]=0x0,this[_0x3384b5(0x4af)]=null,this[_0x3384b5(0x546)]=0x0,this[_0x3384b5(0x1b2)]=new Set(),this[_0x3384b5(0x2b3)]=_0x393804,this[_0x3384b5(0x376)]=document['createElement'](_0x3384b5(0x376)),this[_0x3384b5(0x376)][_0x3384b5(0x1a9)]['position']=_0x3384b5(0x362),this['canvas'][_0x3384b5(0x1a9)][_0x3384b5(0x267)]='0',this['context'][_0x3384b5(0x107)][_0x3384b5(0x27d)](this[_0x3384b5(0x376)]),this[_0x3384b5(0x4d3)]=this[_0x3384b5(0x376)][_0x3384b5(0x2ae)]('2d'),this['offscreenCanvas']=document['createElement']('canvas'),this[_0x3384b5(0x242)]=this[_0x3384b5(0x3b8)][_0x3384b5(0x2ae)]('2d'),this[_0x3384b5(0x515)](),this[_0x3384b5(0x264)]=this[_0x3384b5(0x2b3)][_0x3384b5(0x398)][_0x3384b5(0x5d5)]===_0x3384b5(0x24e);}get[_0x518421(0x28a)](){const _0x2dc67e=_0x518421;return this['context'][_0x2dc67e(0x107)]['clientWidth'];}get['height'](){const _0x3d32aa=_0x518421;return this[_0x3d32aa(0x2b3)][_0x3d32aa(0x107)][_0x3d32aa(0x39f)];}[_0x518421(0x529)](){const _0x77332a=_0x518421;this[_0x77332a(0x4d3)][_0x77332a(0x44a)](0x0,0x0,this[_0x77332a(0x376)]['width'],this['canvas'][_0x77332a(0x52c)]),this[_0x77332a(0x242)]['clearRect'](0x0,0x0,this[_0x77332a(0x3b8)]['width'],this[_0x77332a(0x3b8)][_0x77332a(0x52c)]),this[_0x77332a(0x376)][_0x77332a(0x28a)]=0x1,this[_0x77332a(0x376)][_0x77332a(0x52c)]=0x1,this[_0x77332a(0x3b8)][_0x77332a(0x28a)]=0x1,this[_0x77332a(0x3b8)]['height']=0x1,this[_0x77332a(0x376)][_0x77332a(0x202)](),this[_0x77332a(0x3b8)][_0x77332a(0x202)](),this['context']['destroy']();}[_0x518421(0x515)](){const _0x1bd2b6=_0x518421;this[_0x1bd2b6(0x376)][_0x1bd2b6(0x28a)]=this[_0x1bd2b6(0x28a)]*dpr,this[_0x1bd2b6(0x376)][_0x1bd2b6(0x52c)]=this[_0x1bd2b6(0x52c)]*dpr,this[_0x1bd2b6(0x376)]['style'][_0x1bd2b6(0x52c)]=this[_0x1bd2b6(0x52c)]+'px',this[_0x1bd2b6(0x376)]['style'][_0x1bd2b6(0x28a)]=this[_0x1bd2b6(0x28a)]+'px',this[_0x1bd2b6(0x3b8)][_0x1bd2b6(0x28a)]=this[_0x1bd2b6(0x28a)]*dpr,this[_0x1bd2b6(0x3b8)]['height']=this[_0x1bd2b6(0x52c)]*dpr,this[_0x1bd2b6(0x3ef)]();}[_0x518421(0x3ef)](){const _0x412431=_0x518421;this[_0x412431(0x5d3)](),this[_0x412431(0x53b)](this['context'][_0x412431(0x270)],this[_0x412431(0x2b3)][_0x412431(0x481)]);}[_0x518421(0x5a7)](_0x2f66d7,_0x4c462b,_0x521df0,_0x3a5da6){const _0x29b481=_0x518421;var _0xe05691,_0x186851,_0x20767b;const _0x33267f=this[_0x29b481(0x2b3)];this[_0x29b481(0x2b3)]['settings']['onBeforeSeatDraw']&&(_0x521df0=this[_0x29b481(0x2b3)][_0x29b481(0x398)]['onBeforeSeatDraw']({'context':_0x33267f,'seat':_0x4c462b,'style':_0x521df0,'state':_0x3a5da6}));_0x2f66d7[_0x29b481(0x4ba)](),_0x2f66d7[_0x29b481(0x385)]=_0x521df0[_0x29b481(0x247)];if(_0x521df0[_0x29b481(0x41e)]){_0x2f66d7[_0x29b481(0x528)]=_0x521df0[_0x29b481(0x41e)][_0x29b481(0x247)]||'#000',_0x2f66d7[_0x29b481(0x505)]=_0x521df0['shadow']['blur']*this['context']['scale'];if(_0x521df0[_0x29b481(0x41e)]['x'])_0x2f66d7[_0x29b481(0x367)]=_0x521df0[_0x29b481(0x41e)]['x']*this[_0x29b481(0x2b3)]['scale'];if(_0x521df0[_0x29b481(0x41e)]['y'])_0x2f66d7[_0x29b481(0x213)]=_0x521df0['shadow']['y']*this['context']['scale'];}_0x2f66d7[_0x29b481(0x4df)]();const _0x1d033c=(_0x4c462b[_0x29b481(0x3ea)]?(_0xe05691=_0x521df0['accessible'])==null?void 0x0:_0xe05691[_0x29b481(0x2c5)]:_0x521df0[_0x29b481(0x2c5)])||_0x521df0[_0x29b481(0x2c5)];_0x2f66d7['arc'](_0x4c462b['x'],_0x4c462b['y'],_0x1d033c/0x2,0x0,0x2*Math['PI']),_0x2f66d7['fill']();_0x521df0['stroke']&&(_0x2f66d7[_0x29b481(0x3b7)]=_0x521df0[_0x29b481(0x128)][_0x29b481(0x28a)],_0x2f66d7[_0x29b481(0x42a)]=_0x521df0[_0x29b481(0x128)][_0x29b481(0x247)],_0x2f66d7[_0x29b481(0x128)]());_0x2f66d7[_0x29b481(0x351)]();let _0x171ca2;switch(_0x3a5da6){case _0x29b481(0x1f8):!this[_0x29b481(0x36b)](_0x4c462b['id']['toString']())&&this[_0x29b481(0x554)](_0x4c462b['id'][_0x29b481(0x40f)]());_0x171ca2='loading';break;case _0x29b481(0x452):_0x171ca2=_0x29b481(0x452);break;case'selected':_0x171ca2=(_0x4c462b[_0x29b481(0x3ea)]?(_0x186851=_0x521df0[_0x29b481(0x5f1)])==null?void 0x0:_0x186851[_0x29b481(0x195)]:_0x521df0[_0x29b481(0x195)])||_0x521df0[_0x29b481(0x195)];break;default:this[_0x29b481(0x36b)](_0x4c462b['id'][_0x29b481(0x40f)]())&&this['removeSpinningSeat'](_0x4c462b['id'][_0x29b481(0x40f)]());_0x171ca2=(_0x4c462b[_0x29b481(0x3ea)]?(_0x20767b=_0x521df0[_0x29b481(0x5f1)])==null?void 0x0:_0x20767b[_0x29b481(0x195)]:_0x521df0['imageId'])||_0x521df0[_0x29b481(0x195)];break;}if(_0x171ca2){const _0x5a5135=this[_0x29b481(0x2b3)][_0x29b481(0x1e1)][_0x171ca2];if(_0x5a5135){_0x2f66d7[_0x29b481(0x4ba)]();let _0x6ac8ef=0x12;if(_0x171ca2===_0x29b481(0x1f8))_0x6ac8ef=0x18;else{if(_0x171ca2==='error')_0x6ac8ef=0x12;else{if(_0x3a5da6===_0x29b481(0x175)||_0x171ca2==='checkmark')_0x6ac8ef=0x12;}}const _0x21d09b=_0x5a5135,_0x5a0d1f=_0x21d09b[_0x29b481(0x28a)]||_0x21d09b[_0x29b481(0x2ba)]||0x80,_0xa0f900=_0x21d09b[_0x29b481(0x52c)]||_0x21d09b[_0x29b481(0x610)]||0x80,_0x484b6d=_0xa0f900>0x0&&_0x5a0d1f>0x0?_0xa0f900/_0x5a0d1f:0x1,_0x161fd5=_0x6ac8ef,_0x4dc738=_0x6ac8ef*_0x484b6d;_0x171ca2===_0x29b481(0x1f8)?(_0x2f66d7[_0x29b481(0x481)](_0x4c462b['x'],_0x4c462b['y']),_0x2f66d7['rotate'](this[_0x29b481(0x546)]),_0x2f66d7[_0x29b481(0x3a7)](_0x5a5135,-_0x161fd5/0x2,-_0x4dc738/0x2,_0x161fd5,_0x4dc738)):_0x2f66d7[_0x29b481(0x3a7)](_0x5a5135,_0x4c462b['x']-_0x161fd5/0x2,_0x4c462b['y']-_0x4dc738/0x2,_0x161fd5,_0x4dc738);_0x2f66d7[_0x29b481(0x351)]();return;}}_0x521df0[_0x29b481(0x2cf)]&&this[_0x29b481(0x2b3)]['scale']/window[_0x29b481(0x4d1)]>=0.35&&(_0x2f66d7['save'](),_0x2f66d7['textAlign']=_0x29b481(0x3be),_0x2f66d7[_0x29b481(0x301)]=_0x29b481(0x2a2),_0x2f66d7[_0x29b481(0x5d7)]=_0x521df0['seatName'][_0x29b481(0x5d7)],_0x2f66d7[_0x29b481(0x385)]=_0x521df0[_0x29b481(0x2cf)][_0x29b481(0x247)],_0x2f66d7[_0x29b481(0x4ee)](_0x4c462b[_0x29b481(0x23f)],_0x4c462b['x'],_0x4c462b['y']+0x1),_0x2f66d7['restore']());}[_0x518421(0x4bf)](_0x5a9473,_0x5d9e8d,_0x29eb56){const _0xac1ea9=_0x518421;_0x5a9473['save'](),_0x5a9473[_0xac1ea9(0x4df)](),_0x5a9473[_0xac1ea9(0x415)](_0x5d9e8d['x'],_0x5d9e8d['y'],0x64,0x0,0x2*Math['PI']),_0x5a9473['fillStyle']=_0x29eb56||_0xac1ea9(0x37a),_0x5a9473['fill'](),_0x5a9473[_0xac1ea9(0x351)]();}[_0x518421(0x5d3)](){const _0x2bf873=_0x518421;if(this[_0x2bf873(0x2b3)]['scale']===void 0x0||this['context'][_0x2bf873(0x481)]===void 0x0)return;this[_0x2bf873(0x242)][_0x2bf873(0x4ba)](),this[_0x2bf873(0x242)]['setTransform'](0x1,0x0,0x0,0x1,0x0,0x0),this[_0x2bf873(0x242)][_0x2bf873(0x44a)](0x0,0x0,this[_0x2bf873(0x28a)]*dpr,this[_0x2bf873(0x52c)]*dpr),this[_0x2bf873(0x242)][_0x2bf873(0x1a4)](this[_0x2bf873(0x2b3)][_0x2bf873(0x270)],0x0,0x0,this[_0x2bf873(0x2b3)][_0x2bf873(0x270)],this[_0x2bf873(0x2b3)]['translate']['x'],this['context']['translate']['y']),this[_0x2bf873(0x242)]['imageSmoothingQuality']=_0x2bf873(0x154),this[_0x2bf873(0x242)]['imageSmoothingEnabled']=!![],this[_0x2bf873(0x33a)](),this[_0x2bf873(0x242)][_0x2bf873(0x351)]();}[_0x518421(0x53b)](_0x21b1c1,_0x284e95){const _0x3191de=_0x518421,_0x5bc2c9=this[_0x3191de(0x4d3)];_0x5bc2c9['save'](),_0x5bc2c9['setTransform'](0x1,0x0,0x0,0x1,0x0,0x0),_0x5bc2c9[_0x3191de(0x44a)](0x0,0x0,this[_0x3191de(0x28a)]*dpr,this[_0x3191de(0x52c)]*dpr),_0x5bc2c9[_0x3191de(0x1a4)](_0x21b1c1,0x0,0x0,_0x21b1c1,_0x284e95['x'],_0x284e95['y']),_0x5bc2c9['drawImage'](this[_0x3191de(0x3b8)],0x0,0x0),_0x5bc2c9[_0x3191de(0x351)]();}['addSpinningSeat'](_0x5617a5){const _0xca9c97=_0x518421;this[_0xca9c97(0x1b2)][_0xca9c97(0x2f0)](_0x5617a5),this[_0xca9c97(0x4af)]===null&&this[_0xca9c97(0x209)]();}[_0x518421(0x3bd)](_0xb22fa6){const _0x15e3a2=_0x518421;this[_0x15e3a2(0x1b2)][_0x15e3a2(0x137)](_0xb22fa6),this[_0x15e3a2(0x1b2)][_0x15e3a2(0x2c5)]===0x0&&this['spinnerAnimationId']!==null&&(cancelAnimationFrame(this[_0x15e3a2(0x4af)]),this['spinnerAnimationId']=null);}[_0x518421(0x36b)](_0x577384){const _0x5c8e2b=_0x518421;return this[_0x5c8e2b(0x1b2)][_0x5c8e2b(0x32a)](_0x577384);}['startSpinnerAnimation'](){const _0x5447fb=_0x518421;if(this['spinnerAnimationId']!==null)return;const _0x406f5d=_0x5c5062=>{const _0x30cd00=_0x425e,_0x2fd334=this[_0x30cd00(0x590)]?_0x5c5062-this[_0x30cd00(0x590)]:0x10;this[_0x30cd00(0x590)]=_0x5c5062,this['spinnerRotation']+=0.01*_0x2fd334,this[_0x30cd00(0x1b2)][_0x30cd00(0x2c5)]>0x0?(this['redraw'](),this[_0x30cd00(0x4af)]=requestAnimationFrame(_0x406f5d)):(this[_0x30cd00(0x4af)]=null,this[_0x30cd00(0x590)]=0x0);};this[_0x5447fb(0x4af)]=requestAnimationFrame(_0x406f5d);}[_0x518421(0x60a)](_0x543a9d,_0x26163f){const _0x2c7896=_0x518421,_0x3b3aaa=this['context'][_0x2c7896(0x398)][_0x2c7896(0x1ae)];let _0x56320a,_0x5465c6=_0x2c7896(0x60e);if(_0x26163f[_0x2c7896(0x577)]===_0x2c7896(0x1f8))_0x56320a=_0x3b3aaa[_0x2c7896(0x111)][_0x2c7896(0x1f8)],_0x5465c6=_0x2c7896(0x1f8);else{if(_0x26163f[_0x2c7896(0x577)]===_0x2c7896(0x452))_0x56320a=_0x3b3aaa[_0x2c7896(0x111)]['error'],_0x5465c6='error';else{if(_0x26163f['locked'])_0x56320a=_0x3b3aaa[_0x2c7896(0x111)]['unavailable'],_0x5465c6=_0x2c7896(0x483);else{if(_0x26163f['filtered'])_0x56320a=_0x3b3aaa['seatStyles'][_0x2c7896(0x570)];else{if(_0x26163f[_0x2c7896(0x577)]==='selected')_0x56320a=_0x3b3aaa['seatStyles'][_0x2c7896(0x175)],_0x5465c6=_0x2c7896(0x175);else this['context'][_0x2c7896(0x34a)](_0x26163f['id'])?(_0x56320a=_0x3b3aaa['seatStyles']['selected'],_0x5465c6=_0x2c7896(0x175)):_0x56320a=_0x3b3aaa['seatStyles'][_0x2c7896(0x60e)];}}}}this[_0x2c7896(0x5a7)](_0x543a9d,_0x26163f,_0x56320a,_0x5465c6);}[_0x518421(0x423)](_0x2e759,_0x41fa7b){const _0x34580e=_0x518421,_0x2fa7b1=this[_0x34580e(0x2b3)][_0x34580e(0x398)][_0x34580e(0x1ae)];if(_0x41fa7b[_0x34580e(0x540)]||_0x41fa7b[_0x34580e(0x570)]||this[_0x34580e(0x2b3)][_0x34580e(0x34a)](_0x41fa7b['id'])||_0x41fa7b[_0x34580e(0x577)]===_0x34580e(0x1f8)||_0x41fa7b[_0x34580e(0x577)]===_0x34580e(0x452))return;const _0x3e8716=_0x2fa7b1[_0x34580e(0x111)][_0x34580e(0x417)];this[_0x34580e(0x5a7)](_0x2e759,_0x41fa7b,_0x3e8716,_0x34580e(0x417));}['renderSelectedSeat'](_0xb3493b,_0x54478d){const _0x4c8ed3=_0x518421,_0x354e02=this[_0x4c8ed3(0x2b3)]['settings'][_0x4c8ed3(0x1ae)];if(_0x54478d[_0x4c8ed3(0x540)]||_0x54478d[_0x4c8ed3(0x570)]||_0x54478d[_0x4c8ed3(0x577)]===_0x4c8ed3(0x1f8)||_0x54478d['state']===_0x4c8ed3(0x452))return;this[_0x4c8ed3(0x5a7)](_0xb3493b,_0x54478d,_0x354e02[_0x4c8ed3(0x111)][_0x4c8ed3(0x175)],_0x4c8ed3(0x175));}},dpr2=window[_0x518421(0x4d1)],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 _0x414f5b=_0x518421;super(...arguments),this[_0x414f5b(0x503)]=![],this[_0x414f5b(0x18c)]={...INITIAL_TRANSFORM},this[_0x414f5b(0x1d6)]={'duration':this[_0x414f5b(0x2b3)]['settings'][_0x414f5b(0x45d)]||0x0,...INITIAL_ANIMATION};}[_0x518421(0x5a7)](_0x533695,_0x17ece2,_0x1660c2,_0x561b03){const _0x26ec70=_0x518421;if(this['animation'][_0x26ec70(0x48c)])return;this[_0x26ec70(0x503)]&&this[_0x26ec70(0x18c)][_0x26ec70(0x1ce)]!==0x0&&(_0x17ece2=this['getCoordsAfterRotation'](_0x17ece2)),super['_renderSeat'](_0x533695,_0x17ece2,_0x1660c2,_0x561b03);}[_0x518421(0x5d3)](){const _0x271577=_0x518421;if(this['context']['scale']===void 0x0||this[_0x271577(0x2b3)][_0x271577(0x481)]===void 0x0)return;this[_0x271577(0x242)][_0x271577(0x4ba)](),this[_0x271577(0x242)][_0x271577(0x1a4)](0x1,0x0,0x0,0x1,0x0,0x0),this[_0x271577(0x242)][_0x271577(0x44a)](0x0,0x0,this[_0x271577(0x28a)]*dpr2,this['height']*dpr2),this['offscreenCtx'][_0x271577(0x1a4)](this[_0x271577(0x2b3)][_0x271577(0x270)],0x0,0x0,this[_0x271577(0x2b3)][_0x271577(0x270)],this[_0x271577(0x2b3)]['translate']['x'],this[_0x271577(0x2b3)]['translate']['y']),this[_0x271577(0x242)][_0x271577(0x5e2)]='high',this[_0x271577(0x242)][_0x271577(0x23c)]=!![];if(this[_0x271577(0x503)]){const _0x464d97=this[_0x271577(0x1d6)][_0x271577(0x30b)];this[_0x271577(0x242)][_0x271577(0x1a4)](this['context'][_0x271577(0x270)],0x0,0x0,this[_0x271577(0x2b3)][_0x271577(0x270)]*Math['cos'](_0x464d97),this[_0x271577(0x2b3)]['translate']['x'],this[_0x271577(0x2b3)][_0x271577(0x481)]['y']);}this[_0x271577(0x33a)](),this['offscreenCtx'][_0x271577(0x351)]();}[_0x518421(0x53b)](_0x49e6a5,_0x4a77cd){const _0x138fd4=_0x518421,_0xe7308d=this['ctx'];_0xe7308d['save'](),_0xe7308d[_0x138fd4(0x1a4)](0x1,0x0,0x0,0x1,0x0,0x0),_0xe7308d[_0x138fd4(0x44a)](0x0,0x0,this['width']*dpr2,this[_0x138fd4(0x52c)]*dpr2),_0xe7308d['setTransform'](_0x49e6a5,0x0,0x0,_0x49e6a5,_0x4a77cd['x'],_0x4a77cd['y']),_0xe7308d[_0x138fd4(0x3a7)](this[_0x138fd4(0x3b8)],0x0,0x0),_0xe7308d[_0x138fd4(0x351)]();}[_0x518421(0x3ef)](){const _0x3810ca=_0x518421;this['drawOffscreenCanvas'](),this[_0x3810ca(0x53b)](0x1,{'x':0x0,'y':0x0});}[_0x518421(0x116)](){return new Promise(_0x5bd852=>{const _0x392b1d=_0x3a9f84=>{const _0x3b65b2=_0x425e;if(!this[_0x3b65b2(0x1d6)][_0x3b65b2(0x5b4)])this[_0x3b65b2(0x1d6)][_0x3b65b2(0x5b4)]=_0x3a9f84;if(_0x3a9f84-this[_0x3b65b2(0x1d6)][_0x3b65b2(0x5b4)]>this[_0x3b65b2(0x1d6)]['duration']){this[_0x3b65b2(0x1d6)][_0x3b65b2(0x1ce)]=this[_0x3b65b2(0x18c)][_0x3b65b2(0x1ce)],this[_0x3b65b2(0x1d6)][_0x3b65b2(0x30b)]=this[_0x3b65b2(0x18c)][_0x3b65b2(0x30b)],this['animation']['startTime']=void 0x0,this[_0x3b65b2(0x1d6)][_0x3b65b2(0x48c)]=![],this[_0x3b65b2(0x3ef)](),cancelAnimationFrame(_0x3a9f84),_0x5bd852(!![]);return;}this[_0x3b65b2(0x1d6)][_0x3b65b2(0x48c)]=!![];const _0x4367aa=Math[_0x3b65b2(0x318)](0x1,(_0x3a9f84-this[_0x3b65b2(0x1d6)][_0x3b65b2(0x5b4)])/this['animation']['duration']),_0x344ce4=cubicInOut(_0x4367aa),_0x4a79e2=this[_0x3b65b2(0x18c)][_0x3b65b2(0x1ce)]*_0x344ce4,_0xa68c28=this[_0x3b65b2(0x18c)][_0x3b65b2(0x30b)]*_0x344ce4,_0x30b6dc=this['sectionViewTransform'][_0x3b65b2(0x1ce)]<0x0?Math[_0x3b65b2(0x153)]:Math[_0x3b65b2(0x318)];this[_0x3b65b2(0x1d6)][_0x3b65b2(0x1ce)]=_0x30b6dc(this[_0x3b65b2(0x18c)][_0x3b65b2(0x1ce)],_0x4a79e2),this[_0x3b65b2(0x1d6)]['skewAngle']=Math['min'](this[_0x3b65b2(0x18c)][_0x3b65b2(0x30b)],_0xa68c28),this['redraw'](),requestAnimationFrame(_0x392b1d);};requestAnimationFrame(_0x392b1d);});}[_0x518421(0x466)](){return new Promise(_0x373ac0=>{const _0x2e30f4=_0x3f4690=>{const _0x5ad271=_0x425e;if(!this[_0x5ad271(0x1d6)]['startTime'])this['animation'][_0x5ad271(0x5b4)]=_0x3f4690;if(_0x3f4690-this[_0x5ad271(0x1d6)][_0x5ad271(0x5b4)]>this[_0x5ad271(0x1d6)][_0x5ad271(0x5ff)]){this[_0x5ad271(0x1d6)][_0x5ad271(0x1ce)]=0x0,this[_0x5ad271(0x1d6)]['skewAngle']=0x0,this[_0x5ad271(0x1d6)]['startTime']=void 0x0,this[_0x5ad271(0x3ef)](),cancelAnimationFrame(_0x3f4690),_0x373ac0(!![]);return;}const _0xd43a8=Math[_0x5ad271(0x318)](0x1,(_0x3f4690-this[_0x5ad271(0x1d6)][_0x5ad271(0x5b4)])/this[_0x5ad271(0x1d6)][_0x5ad271(0x5ff)]),_0x114db6=cubicInOut(_0xd43a8),_0x52605e=this[_0x5ad271(0x18c)][_0x5ad271(0x1ce)]*(0x1-_0x114db6),_0x2b7c83=this[_0x5ad271(0x18c)][_0x5ad271(0x30b)]*(0x1-_0x114db6);this[_0x5ad271(0x1d6)][_0x5ad271(0x1ce)]=_0x52605e,this[_0x5ad271(0x1d6)][_0x5ad271(0x30b)]=Math[_0x5ad271(0x153)](0x0,_0x2b7c83),this['redraw'](),requestAnimationFrame(_0x2e30f4);};requestAnimationFrame(_0x2e30f4);});}['setAnimateSection'](_0x20161a){const _0x2b09b1=_0x518421;this[_0x2b09b1(0x621)](),this[_0x2b09b1(0x62a)](_0x20161a),this[_0x2b09b1(0x2b2)]();}[_0x518421(0x62a)](_0x3de671){const _0x3550c2=_0x518421,{x:_0x427b7f,y:_0x5cee11}=this[_0x3550c2(0x2b3)][_0x3550c2(0x164)](_0x3de671);this[_0x3550c2(0x18c)][_0x3550c2(0x141)]={'x':_0x427b7f,'y':_0x5cee11};}[_0x518421(0x621)](){const _0x2fc3af=_0x518421,_0x27efa3=0x0,_0x420b61=this['width'],_0x211cbe=0x0,_0x2b331f=this['height'],_0x1eb7cd=(_0x27efa3+_0x420b61)/0x2,_0x1ebf41=(_0x211cbe+_0x2b331f)/0x2,_0x41de43=this[_0x2fc3af(0x2b3)][_0x2fc3af(0x164)]({'x':_0x1eb7cd,'y':_0x1ebf41}),_0x3f1941=this[_0x2fc3af(0x2b3)][_0x2fc3af(0x164)]({'x':_0x1eb7cd,'y':0x0});this[_0x2fc3af(0x18c)][_0x2fc3af(0x3be)]={..._0x41de43},this['sectionViewTransform'][_0x2fc3af(0x349)]={..._0x3f1941};}[_0x518421(0x2b2)](){const _0x1f744c=_0x518421,_0xfbeffa={...this[_0x1f744c(0x18c)][_0x1f744c(0x141)]},_0x724faf={...this[_0x1f744c(0x18c)][_0x1f744c(0x3be)]},_0x30ec95={...this[_0x1f744c(0x18c)][_0x1f744c(0x349)]},_0x42a242=_0xfbeffa['x']<_0x724faf['x'];let _0x6d0f64=Math[_0x1f744c(0x12d)](_0x724faf['x']-_0x30ec95['x'],0x2)+Math['pow'](_0x724faf['y']-_0x30ec95['y'],0x2),_0x5e4b75=Math['pow'](_0x724faf['x']-_0xfbeffa['x'],0x2)+Math[_0x1f744c(0x12d)](_0x724faf['y']-_0xfbeffa['y'],0x2),_0x3ba170=Math[_0x1f744c(0x12d)](_0xfbeffa['x']-_0x30ec95['x'],0x2)+Math[_0x1f744c(0x12d)](_0xfbeffa['y']-_0x30ec95['y'],0x2),_0x38bde0=Math['acos']((_0x6d0f64+_0x5e4b75-_0x3ba170)/Math['sqrt'](0x4*_0x6d0f64*_0x5e4b75))*(0xb4/Math['PI']);_0x42a242?_0x38bde0<0x5a?_0x38bde0=0xb4+_0x38bde0:_0x38bde0=_0x38bde0-0xb4:_0x38bde0=0xb4-_0x38bde0,this['sectionViewTransform'][_0x1f744c(0x1ce)]=_0x38bde0;}[_0x518421(0x4b0)](){const _0x4878af=_0x518421;return this[_0x4878af(0x49d)](this[_0x4878af(0x18c)][_0x4878af(0x141)]);}[_0x518421(0x49d)](_0x2acaa0){const _0x58f075=_0x518421;if(!this['sectionViewActive'])return _0x2acaa0;const {x:_0x588bd7,y:_0x2f0c6b}=this[_0x58f075(0x18c)][_0x58f075(0x3be)],{x:_0x49a219,y:_0x47b889}=_0x2acaa0,_0x24891d=this[_0x58f075(0x18c)][_0x58f075(0x1ce)],_0x157aab=Math['PI']/-0xb4*_0x24891d,_0x44007f=Math[_0x58f075(0x156)](_0x157aab),_0x33cebc=Math[_0x58f075(0x58e)](_0x157aab),_0x33f1a4=_0x44007f*(_0x49a219-_0x588bd7)+_0x33cebc*(_0x47b889-_0x2f0c6b)+_0x588bd7,_0x43494=_0x44007f*(_0x47b889-_0x2f0c6b)-_0x33cebc*(_0x49a219-_0x588bd7)+_0x2f0c6b;return{..._0x2acaa0,'x':_0x33f1a4,'y':_0x43494};}[_0x518421(0x5bf)](_0x51ad9e){this['sectionViewTransform']={..._0x51ad9e};}[_0x518421(0x232)](_0x5ec1a3){const _0xd4f12f=_0x518421;this[_0xd4f12f(0x1d6)]={..._0x5ec1a3};}[_0x518421(0x3cc)](){return this['animation'];}[_0x518421(0x217)](){const _0x2fd936=_0x518421,_0x54da39=this[_0x2fd936(0x2b3)][_0x2fd936(0x280)](this['getSectionUpdatedCoords']()),_0x33e5ab={'x':_0x54da39['x'],'y':_0x54da39['y']*Math['cos'](this[_0x2fd936(0x18c)]['skewAngle'])};return _0x33e5ab;}[_0x518421(0x2c3)](){const _0x39fb64=_0x518421;this[_0x39fb64(0x18c)][_0x39fb64(0x30b)]=skewAngleRadian;}[_0x518421(0x33a)](){const _0x599dc8=_0x518421;if(this[_0x599dc8(0x503)]){this[_0x599dc8(0x3fa)](this[_0x599dc8(0x242)],this['animation'][_0x599dc8(0x1ce)]||0x0,this[_0x599dc8(0x18c)]['center'],this[_0x599dc8(0x617)]);this[_0x599dc8(0x264)]&&(this[_0x599dc8(0x4bf)](this[_0x599dc8(0x242)],this['getSectionUpdatedCoords'](),'red'),this[_0x599dc8(0x18c)][_0x599dc8(0x3be)]&&this['drawPoint'](this['offscreenCtx'],this[_0x599dc8(0x18c)][_0x599dc8(0x3be)],'green'),this[_0x599dc8(0x18c)]['top']&&this[_0x599dc8(0x4bf)](this[_0x599dc8(0x242)],this[_0x599dc8(0x18c)][_0x599dc8(0x349)],'black'));return;}this[_0x599dc8(0x617)]&&!this['sectionViewActive']&&this['offscreenCtx']['drawImage'](this[_0x599dc8(0x617)],0x0,0x0,this['backgroundElement'][_0x599dc8(0x28a)],this[_0x599dc8(0x617)][_0x599dc8(0x52c)]);}async['applySectionViewAnimation'](_0x117bb6,_0x24569c){const _0xd7a288=_0x518421;var _0x2e27e4;const _0x51a0c1=this[_0xd7a288(0x503)]||!!this[_0xd7a288(0x25d)]&&this[_0xd7a288(0x25d)]!==_0x117bb6['id'],_0x4439b1=this['sectionId']===_0x117bb6['id'],_0x3ec0a5=()=>new Promise(_0x10fcb7=>{const _0xb07395=_0xd7a288;_0x24569c['zoomToFit'](),setTimeout(()=>{_0x10fcb7(!![]);},(this[_0xb07395(0x2b3)]['settings'][_0xb07395(0x313)]||0x0)*1.5);});!this[_0xd7a288(0x2b3)]['isEagleView']&&await _0x3ec0a5();_0x51a0c1&&(this[_0xd7a288(0x1d6)][_0xd7a288(0x48c)]=!![],await Promise[_0xd7a288(0x43b)]([this['reverseRotationAnimation'](),_0x3ec0a5()]),this[_0xd7a288(0x15f)]());if(_0x4439b1)return this[_0xd7a288(0x3ef)](),![];const _0x132a97=(_0x2e27e4=_0x24569c[_0xd7a288(0x1a5)]())==null?void 0x0:_0x2e27e4[_0xd7a288(0x584)](_0x492eb3=>_0x492eb3['id']===_0x117bb6['id']);if(!_0x132a97)return![];return this[_0xd7a288(0x25d)]=_0x117bb6['id']||null,this['sectionViewActive']=!![],this[_0xd7a288(0x2c3)](),this['setAnimateSection'](_0x132a97),typeof this[_0xd7a288(0x18c)][_0xd7a288(0x1ce)]==='number'?this[_0xd7a288(0x116)]():(console[_0xd7a288(0x495)]('Section\x20'+this['sectionId']+_0xd7a288(0x3f9)),this[_0xd7a288(0x15f)]()),!![];}[_0x518421(0x15f)](){const _0x34e362=_0x518421;this[_0x34e362(0x503)]=![],this[_0x34e362(0x25d)]=null,this[_0x34e362(0x18c)]={...INITIAL_TRANSFORM},this[_0x34e362(0x1d6)]={'duration':this['context'][_0x34e362(0x398)][_0x34e362(0x45d)]||0x0,...INITIAL_ANIMATION};}[_0x518421(0x3fa)](_0x1e2d8b,_0x39c4d0,_0x24c420,_0x3e4df9){const _0x39f3f4=_0x518421;_0x1e2d8b[_0x39f3f4(0x4ba)]();const {x:_0x31483a,y:_0x1e09f7}=_0x24c420;_0x1e2d8b[_0x39f3f4(0x481)](_0x31483a,_0x1e09f7),_0x1e2d8b[_0x39f3f4(0x3fa)](_0x39c4d0*(Math['PI']/0xb4)),_0x1e2d8b[_0x39f3f4(0x481)](-_0x31483a,-_0x1e09f7),_0x1e2d8b[_0x39f3f4(0x3a7)](_0x3e4df9,0x0,0x0,_0x3e4df9[_0x39f3f4(0x28a)],_0x3e4df9['height']),_0x1e2d8b['restore']();}},HTMLCanvasLayer=class extends SectionViewLayer{constructor(){const _0x1d1d1f=_0x518421;super(...arguments),this[_0x1d1d1f(0x304)]=![],this['hasBackgroundReady']=![],this[_0x1d1d1f(0x253)]=![];}async[_0x518421(0x2b1)](){const _0x55178c=_0x518421;try{this[_0x55178c(0x3ef)](),await new Promise(_0x561d82=>{const _0x586442=()=>{const _0x3f1eed=_0x425e,_0x2aac16=Array['isArray'](this['context']['seats'])&&this[_0x3f1eed(0x2b3)][_0x3f1eed(0x339)][_0x3f1eed(0x287)]>0x0,_0x34df81=this[_0x3f1eed(0x533)]&&(!_0x2aac16||this['hasSeatsDrawn'])&&this[_0x3f1eed(0x304)];if(_0x34df81)return _0x561d82();requestAnimationFrame(_0x586442);};requestAnimationFrame(_0x586442);});const _0x18802e=this[_0x55178c(0x3b8)][_0x55178c(0x407)]('image/png'),_0x305df8=new Image();return _0x305df8[_0x55178c(0x48e)]=_0x18802e,await new Promise(_0x55bf46=>{const _0x5e2460=_0x55178c;if(_0x305df8['complete'])return _0x55bf46();_0x305df8[_0x5e2460(0x10f)]=()=>_0x55bf46(),_0x305df8[_0x5e2460(0x218)]=()=>_0x55bf46();}),_0x305df8;}catch(_0x7a3adf){return null;}}[_0x518421(0x1e5)](_0x56f387=0x0){const _0x197e2a=_0x518421;let _0x4d186e=[];const _0x5b6a99=this[_0x197e2a(0x2b3)][_0x197e2a(0x1ba)][_0x197e2a(0x56b)]['visible']&&!this[_0x197e2a(0x2b3)]['settings'][_0x197e2a(0x3ca)]&&!(this['context'][_0x197e2a(0x108)]&&this[_0x197e2a(0x2b3)][_0x197e2a(0x398)][_0x197e2a(0x3d3)]);if(_0x5b6a99){const _0x2fdb09=this[_0x197e2a(0x2b3)]['getPositionByOffset']({'x':0x0,'y':0x0}),_0x309ad7=this[_0x197e2a(0x2b3)]['getPositionByOffset']({'x':this[_0x197e2a(0x28a)],'y':this['height']}),_0x3035cc={'minX':_0x2fdb09['x']-_0x56f387,'minY':_0x2fdb09['y']-_0x56f387,'maxX':_0x309ad7['x']+_0x56f387,'maxY':_0x309ad7['y']+_0x56f387};_0x4d186e=findVisibleSeats(_0x3035cc,this[_0x197e2a(0x2b3)]['seats'],this['context'][_0x197e2a(0x3d9)]);}return _0x4d186e;}[_0x518421(0x33a)](){const _0x28ad35=_0x518421;this[_0x28ad35(0x617)]&&(this[_0x28ad35(0x617)][_0x28ad35(0x21f)]||this['backgroundElement'][_0x28ad35(0x614)]==='complete')&&this[_0x28ad35(0x617)]['naturalWidth']>0x0&&(this[_0x28ad35(0x533)]=!![]);super['renderContent']();const _0x4ec707=this[_0x28ad35(0x503)]?0xfa:0x2,_0x56490d=this[_0x28ad35(0x2b3)][_0x28ad35(0x398)][_0x28ad35(0x1ae)][_0x28ad35(0x56c)]*_0x4ec707,_0x53455d=this['getVisibleSeats'](_0x56490d);if(_0x53455d[_0x28ad35(0x287)]>0x0)this['hasSeatsDrawn']=!![];_0x53455d[_0x28ad35(0x356)](_0x22cb01=>this['renderSeat'](this['offscreenCtx'],_0x22cb01)),this[_0x28ad35(0x304)]=!![];}},findVisibleSeats=(_0x5acd5c,_0x4de384,_0xa4843c)=>{const _0xe663bd=_0x518421;return _0xa4843c['range'](_0x5acd5c['minX'],_0x5acd5c[_0xe663bd(0x380)],_0x5acd5c['maxX'],_0x5acd5c[_0xe663bd(0x4e7)])['map'](_0x2fe3dd=>({..._0x4de384[_0x2fe3dd]}));};function createSvgElement(_0x16af0b){const _0x4b0e40=_0x518421;if(!_0x16af0b)return console[_0x4b0e40(0x495)]('No\x20SVG'),document[_0x4b0e40(0x625)]('http://www.w3.org/2000/svg',_0x4b0e40(0x2e1));const _0x39dadb=new DOMParser(),_0x98f75a=_0x39dadb[_0x4b0e40(0x418)](_0x16af0b,_0x4b0e40(0x212)),_0x4dd154=_0x98f75a[_0x4b0e40(0x157)](_0x4b0e40(0x60f));if(_0x4dd154){const _0xda27f4=_0x4dd154[_0x4b0e40(0x157)](_0x4b0e40(0x587)),_0x17477a=_0xda27f4?_0xda27f4['textContent']:_0x4dd154[_0x4b0e40(0x235)];console[_0x4b0e40(0x452)]('Problem\x20SVG:',_0x16af0b[_0x4b0e40(0x3d1)](0x0,0x1f4)+_0x4b0e40(0x4d4));if(_0x17477a&&_0x17477a[_0x4b0e40(0x4bd)](_0x4b0e40(0x127))&&_0x17477a[_0x4b0e40(0x4bd)](_0x4b0e40(0x352)))throw new Error(_0x4b0e40(0x151)+_0x17477a);throw new Error(_0x4b0e40(0x567)+_0x17477a);}const _0x148dc8=_0x98f75a[_0x4b0e40(0x3cf)];if(!_0x148dc8||_0x148dc8[_0x4b0e40(0x510)][_0x4b0e40(0x100)]()!==_0x4b0e40(0x2e1))throw new Error('Root\x20element\x20is\x20not\x20<svg>');return _0x148dc8;}function _0x4630(){const _0x4098cb=['height','fetchRowsSvgForEvent','leaveSectionOnly','u_rotationZ','ballVX','getContextSvg','u_loadingColor','hasBackgroundReady','sm-eagle-view','getSeatIds','invalidateSeatsGeometry','guid','getCategoryColor','SEAT','#E91E63','drawOnscreenCanvas','ensureStaticGeometry','show','tags','#444','locked','stageLayer','restoreSeats','point','setSeatsGeometry','priceColorIndex','spinnerRotation','redrawHandler','event/?id=','sm-outline-focused','#FFC107','setMinimapFromSnapshot','seatsAvailabilityBuffer','isDragging','running','cachedPriceColorIndices','iconAtlasHeight','Program\x20link\x20error:','TABLE','right','addSpinningSeat','resize','startPanAnimation','background','outlines','paddleY','filterSeatsByKeys','drawRows','u_errorColor','isRowsMode','nowrap','drawSceneBackground','RGBA','animationStep','staticGeometryValid','reduce','visibilitySettings','clientY','updatePriceIndicesBufferIfChanged','SVG\x20parsing\x20error:\x20','hasLoadingSeats','enableVertexAttribArray','pointermove','seat','gridStep','transform','nextTexture','zoomIn','filtered','minimapWidth','handleDestSeatSelect','fetchPricesForEvent','ARRAY_BUFFER','validate','getOutlineRects','state','getStageSize','lockedSeatsFilter','init','animationFrameId','rows_stageWidth','u_stageHeight','getCart','#FFFFFF','enableAlphaBlending','u_color','groupOfSeats','getVersion','find','setBackgroundAsOutline','u_hoveredColor','div','positionLocation','#1a1a1a','removeFilterSvgSectionsByIds','groupSize','textureMix','rows_stageHeight','sin','drawCanvas','lastFrameTime','ageMs',':hover,\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga:hover\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','drawViewportDirectionArrow','isSectionSelected','\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','animationPanStep','top-right','fromRotationZ','crossfadeStartTime','SECTION','updateGaFontScales','hasSeatTexture','Public\x20key\x20is\x20undefined','TEXTURE_WRAP_T','rowId','bgColor','setContextScale','status','onAnimationFrame','pricesById','stats','OES_standard_derivatives','_renderSeat','marked','<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22></svg>','<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>','scheduleFrame','focus','service','start','destPan','spawnExplosionAt','categoriesColor','fillBufferFloat32','<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22>','startTime','pendingRotationAngle','a_selectedStart','hasSelectedSeats','cachedDraw','handleDestSectionMouseLeave','animateend','sanitizeIds','selectMode',',\x0a\x20\x20\x20\x20\x20\x20.','5046ztWtVZ','setTransformationState','hideSelectionRect','https://booking.seatmap.dev/api/public/v1.0/','disableSeatsByIds','debounceDelay','ensureBufferSize','SRC_ALPHA','schemaResponseSize','Unknown\x20shader\x20compile\x20error','STATIC_DRAW','seatIds','requestTime','startTransformAnimation',')\x20rotate(','data-section-id','DEPTH_BUFFER_BIT','lastSeatsCount','view-box','removeSeatsFromCartByKeys','shiftKey','drawOffscreenCanvas','REPLACE','env','sm-outline','font','sm-table','shaderSource','Failed\x20to\x20get\x20canvas\x20context','_deselectedAt','borderColor','TEXTURE_MAG_FILTER','outer-highlight','polygon','getSeatByViewportPoint','disableSvgSectionsByIds','imageSmoothingQuality','selectable','getShaderParameter','showCartPins','widthPx','parseColorToRgb','getRowById','removeSeatsFromCartByIds','SUBTRACT','Error\x20in\x20requestPlain\x20to\x20','borderRadius','sectorIds','pricesRequestTime','_backgroundElement','then','accessible','onSectorMouseEnter','initialPadding','setSchemaData','transformPanDeltaFor3D','lastSeatsRef','click','outlineShapes','minimapHeight','6986277buKDtb','drawOverlay','getWidth','disableSvgSectionById','eventId','duration','enableSvgSectionsByNames','<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>','sendSeatSelect','isRunning','u_markedUV','preview','sm-binded-ga','explosions','priceIdToIndex','sendSeatDeselect','renderSeat','u_tiltX','onSeatSelectionChange','hideMinimap','default','parsererror','naturalHeight','u_iconAtlas','#FF5722','removeSeatFromCart','readyState','seatsIdsMissedOnPriceSet','category','backgroundElement','requestIdleCallback','#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','sm-shape-ga','webgl','delta','svgElement','findIndex','handleDestDeselect','createSeatImages','setCenterPoint','loadTexture','handleDestPan','stageWidth','createElementNS','appendRowsOverlay','innerHeight','event/schema/?id=','VERTEX_SHADER','setSectionCoords','onSeatsSelect','Spacebar','seatsById','toTranslate','isTouchMode','scaleY(','uniform2f','findSeatByKey','performRedraw','destSeatMouseEnter','replace','#fff','eventName','a_iconsTypes','createOutlineRect','outlineLayer','seatsKeysMissedOnPriceSet','removeGaFromCart','navigator','rowsStrokeWidthPx','sectionsById','iconsUVMap','loadEvent','pinchstart','toLowerCase',',.sm-table,.sm-shape-ga,.sm-binded-ga','#FF9800','split','overflow','within','auto','element','isEagleView','no-cors','hostElement','filter','contentOffsetX','BLEND','hasOwnProperty','onload','supportsOffscreenCanvas','seatStyles','SECTION_MOUSE_ENTER','Images\x20are\x20not\x20available,\x20switching\x20to\x20HTML5\x20canvas\x20mode','altKey','imageRendering','rotationAnimation','12302nZAGAw','function','calculateLimitedTranslate','viewport','fromPerspectiveZ','zoomTo','onmessage','apply3DTransforms','onBeforeSeatDraw','setGroupSize','Texture\x20worker\x20error:','schema','handleMouseDown','contextchange','requestNumber','hide','Attribute','stroke','rect','overlayRenderer','now','getSeatBaseColor','pow','setAttribute','pathUrl','perspectiveTo','navigateToPoint','#4CAF50','destination','SEAT_SELECT','Worker\x20texture\x20loading\x20failed:','priceIndicesDirty','delete','getViewBox','sendViewBox','highlightSector','zoomSettings','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}','handleDestPanZoom','handleDestSeatMouseEnter','hoverSeatLabel','getSections','section','enableSvgSectionsByIds','destPanZoom','handleDestRectSelect','crossfadeDurationMs','getRowWidthForScale','type','&debug=','setPendingRotationAngle','toScale','statusText','lineTo','isWebGlAvailable','initStartTime','uniform4fv','getNextScale','SVG\x20has\x20duplicate\x20attributes:\x20','Failed\x20to\x20load\x20background\x20texture:','max','high','zIndex','cos','querySelector','initTime','getMaxZoom','createHammer','calculateRelativeScaledTranslate','contentScale','colorRGB','https://booking.seatmap.pro/api/public/v1.0/','resetSectionViewState','rows_translate','Shader\x20compilation\x20error:','createOrGetOutlineShapes','selectedSeatIds','getPositionByOffset','enableSectionsByIds','startTextureCrossfade','getAttribLocation','rgba(0,\x200,\x200,\x200.3)','classList','DRAG_END','circle','angle','Unknown\x20program\x20link\x20error','MOUSE_MOVE','clearTimeout','=\x221\x22]\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','startAnimation','viewBox','visibilityManager','selectSeats','selected','#888888','viewportColor','removeAttribute','debugRenderer','finishFadeOut','evenodd','rowsRenderer','handleDestSeatCartSwitch','u_iconsCount','values','destSectionMouseEnter','transformBox','subtract','rotationZ','top-left','u_mix','KeyK','\x20on\x20scheme!',']\x20>\x20rect','minimapLayer','paddleHeight','textureReady','sectionViewTransform','bufferData','findNearestSeatGroup','rowWidthPx','createMachineService','offscreenColor','\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga[','iconAtlas','originalSvg','imageId','gaFontScales','u_errorUV','class','setHighlightAllOutlines','1000','clearSectionHighlight','from','bottom-right','priceId','appendGAOutlines','_selectedGaId','visible','/api/public/v1.0/','srcMouseMove','setTransform','getSectionsWithCoords','text','rows_enable3DView','DRAG_START','style','px\x22\x20height=\x22','data-ga-selected','u_pulseDuration','50%\x2050%','theme','blurred','isActive','getAttribute','spinningSeats','u_image1','OverlayRenderer\x20shader\x20compile\x20error:','sectorId','createShader','schemaRequestTime','offsetHeight','#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}','visibility','u_scale','block','metaKey','push','DIRECTION_ALL','calculateRelativeScaledLimitedTranslate','RECT_SELECT','u_iconTypes','rowsColorRgba','positionBuffer','=\x221\x22],\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga[','3D\x20view\x20is\x20not\x20enabled.\x20Set\x20enable3DView:\x20true\x20in\x20settings.','changeMachineContext','localhost','selectionRect','priceCategories\x20is\x20not\x20an\x20array\x20or\x20is\x20undefined','1001','globalAlpha','ballY','rotationAngle','zoomToDestination','STENCIL_BUFFER_BIT','backgroundSVG','secretGame','offsetWidth','drawArrays','perspectiveZ','animation','isSeatVisible','u_translate','info','disableOutlinesInHelicopterView','ctx2d','zoomToSection','ids','data-ga-unavailable','4px','initializeBackgroundOutline','seatImages','underlay','boxShadow','\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga[','getVisibleSeats','rowsVertices','drawScene','selectedGaId','fadeIn','Possibly\x20continue\x20showing\x20rows\x20at\x20this\x20scale\x20(including\x20for\x20seat-based\x20maps)','isSeatUnavailable','isCrossfading','getSectionId','highlightGa','blendFunc','loadTextureWithImageBitmap','rowsGeometryBuiltForScale','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}','onRedrawStart','TEXTURE1','checkBackgroundOutlines','texcoordLocation','getStageHeightPx','loading','addSeatsToCart','disableSectionsByIds','tiltX','srcEvent','#2196F3','resolve','snapshotTranslatePx','highlightAllSections','destSeatCartSwitch','remove','animateTo3DParams','uniform1fv','onZoomStart','borderWidth','toRotationZ','rowsPolylinesVersion','startSpinnerAnimation','tiltFactor','#673AB7','forceRedraw','TRIANGLES','sendInit','special','_selectedSeatIds','labelEl','image/svg+xml','shadowOffsetY','OverlayRenderer\x20program\x20link\x20error:','getExtension','closest','getAnimationPoint','onerror','10zpXpTK','call','updateOutlines','seatsPositionBuffer','handlePinch','outlineSvg','complete','3px','removeChild','setPricesDTO','disableSeatsByKeys','50%','sm-ga-bind-css','getHeight','createGaInfo','getStageWidthPx','188yvBrnY','abs','undefined','strokeRect','Failed\x20to\x20load\x20seat\x20image\x20\x22','ArrowRight','rgba(255,255,255,0.6)','clear','removeFilterSvgSectionById','setAnimationState','path','publicKey','textContent','setIconAtlas','getZoom','a_hoveredFlag','getMinZoom','rowsLockedSignatureBuilt','hexToRGB','imageSmoothingEnabled','u_enable3DView','https://stat.seatmap.pro','name','onRedrawEnd','svgString','offscreenCtx','getProgramInfoLog','transform,\x20left,\x20top','mousemove','rowView','color','container','#f7f7f7','Space','enableDebugTools','getSectionByOutline','addGaToCart','stage','image/png','minPinchZoom','draw',')\x20translate(','hasSeatsDrawn','prices','7746057EbrrIh','originalSectionPrices','rowsById','SECTION_MOUSE_LEAVE','sm-background','7EXmagC','isStart','resetCategories','sectionId','isMarked','checkmark','seatToCartSeat','enableSvgSectionById','fromTranslate','hasChildNodes','isDebug','buildRowsGeometry','LINK_STATUS','left','handleMouseMoveOutside','head','currentSrc','durationMs','setTimeout','backgroundColor','getInitialScaleAndTranslate','drawBackground','scale','onSeatDeselect','screen','vertexAttribPointer','onSeatsSelectionChange','handleMouseMove','stroke-opacity','TEXTURE_2D','appContext','mouseup','keyup','getBoundingClientRect','getProgramParameter','appendChild','getRotationAnimationId','getSeatByOffset','getOffsetByPosition','#sm-rows','responseSize','repairSeat','maxZoomToFitScale','a_hovered','crypto','length','polyline','stopPropagation','width','addHandlers','getSectorRectByOutline','12301896EJpBZq','\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','handleDestSectionClick','FLOAT','\x22,\x20it\x20could\x20be\x20corrupted','\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.','attachShader','filterSvgSectionById','setRectangle','textureWorker','http://www.w3.org/2000/svg','displayed','onSeatsDeselect','deleteTexture','enable','srcDragEnd','childNodes','prototype','addSeatToCart','imul','buffer','middle','line','assign','trim','rightPressed','paddleX','baseUrl','ballVY','removeEventListeners','overlayPulseEndTime','selecting','translate(-50%,\x20-50%)','getContext','handleDebouncedSeatChange','application/javascript','captureSeatmap','setRotationAngle','context','extractSVGBackgroundOutlines','zoomToFitScale','a_priceColorIndex','u_dpr','getPrevScale','lastRotationZ','naturalWidth','stringify','getGaSectionByOutline','sm-bind-ga','finish','u_resolution','texcoordBuffer','deg)','ballRadius','applySkew','calculateAbsoluteScaledTranslate','size','handleDestSeatMouseLeave','program','priceColorBuffer','userSelect','addClassName','preventDefault','#c7c7c7','isOutlineVisible','slice','seatName','\x0a\x20\x20\x20\x20\x20\x20','gaInfo','Seats\x20should\x20be\x20an\x20array\x20of\x20ids,\x20composite\x20keys\x20or\x20objects','transformOrigin','linkProgram','code','579CDWmCB','update3DView','data-gos-id','#bbb','panend','parentNode','getCartSeats','animatestart','close','sizeBuffer','seatSelectionMinZoom','svg','opacity','hammer','1289320mVLksf','TEXTURE0','getImageData','currentTarget','ballX','crossOrigin','rows_scale','\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','isRowsVisibleAtScale','rows_tiltX','getSectionElement','outlineRect','add','focusSection','seatsPositions','selectedFlagBuffer','bindBuffer','#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','#000','keydownHandler','u_iconUVs','setMinimapPinsEnabled','highlightSection','onStart','#CDDC39','\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','height=\x27','message','touchAction','textBaseline','setBackgroundImage','hidden','hasInitialDrawComplete','clearSectionFocus','animateSequence','inside','\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','appendAutoAndGaOutlines','getZoomPresets','skewAngle','#2D8CFF','\x0a\x20\x20\x20\x20\x20\x20.sm-eagle-view\x20.','zoomOut','setExternalPrices','API\x20request\x20failed\x20with\x20status\x20','getRowsOpacityForScale','getVisibilityStatuses','zoomAnimationDuration','seatsRenderer','panToCenter','images','0.1','min','apiClient','\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','keys','CART_PIN_PATH','origin','rgba(33,\x20150,\x20243,\x200.1)','touchend','particles','destRectSelect','srcClick','onSchemaDataLoaded','DYNAMIC_DRAW','loadSchema','loadBackgroundTextureAsync','compileShader','ArrowLeft','seatKey','has','Failed\x20to\x20initialize\x20texture\x20worker:','SEAT_MOUSE_LEAVE','count','attachKeyboardHandlers','getHighlightAllOutlines','px\x22\x20','clientX','pointerup','relative','/seat/deselect','=\x221\x22]\x20path[data-seatmap-ga]\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','Key\x20','pricesResponseSize','stageHeight','seats','renderContent','\x0a\x20\x20\x20\x20\x20\x20\x20\x20','SVG\x20image\x20load\x20error','body','commitTransform','colorCategories','href','isOutlineSelectable','pinchStartPoint','rowsVisibleAtScale','gaCategories','applyPosition','sectionName','minimapScale','onSeatMouseLeave','top','isSeatInCart','fill','disableZoomToEmptySpace','/viewbox','calcOutlineRect','isSeatSelectable','setShowCartPins','restore','redefined','ONE_MINUS_SRC_ALPHA','pinch','deactivate','forEach','&disableOriginal=true','seatToExtendedSeat','uniform1f','scaleX(','fadeDurationMs','innerHTML','configuration','ceil','&publicKey=','_selectedAt','enableSeatsByIds','absolute','bindAttrib','backgroundRenderer','updateViewportIndicator','#F44336','shadowOffsetX','#009688','indexOf','_pricesDTO','isSpinningSeat','sectors','shouldDrawSeats','isBackgroundReady','srcDragStart','deltaX','object','Failed\x20to\x20append\x20rows\x20overlay:','iconAtlasWidth','activeTexture','cleanSvgInlineStyles','canvas','fillBufferWithUsage','hasBackgroundOutline','getShaderInfoLog','orange','canActivate','getNearestDocumentedScale','createSeatsVertexShader','100%','rows_a_position','minY','LINEAR','createProgram','uniform3f','highlightAllOutlines','fillStyle','bricks','handleClick','\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','0\x202px\x208px\x20rgba(0,0,0,0.3)','getAnimationState\x20is\x20not\x20implemented\x20for\x20this\x20layer','setMinimapPosition','rectSelectRows','<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>','sm-rows','showSelectionRect','local','lastPricePaletteSignature','lastTime','#000000','texture','setMode','a_selected','mouseleave','settings','bottom-left','keydown','margin','translate(','touchstart','setHovered','clientHeight','mode','selectionLayer','<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>','events','venue/schema/?id=','leftPressed','bindTexture','drawImage','ID\x20','svgSectionStyles','addEventListener','rgba(0,\x200,\x200,\x200.005)','2395psNvEm','createStatsSeatRequest','updateAnimationStep','/init','areFloat32ArraysEqual','destSeatSelect','setBackgroundSnapshot','contains','u_time','runOverlayPulse','u_loadingUV','lineWidth','offscreenCanvas','setupBackgroundTextureFromImageBitmap','getLockedSeatsSignature','#666','options','removeSpinningSeat','center','18px\x20Arial','u_loadingRotateAngle','fromScale','COMPILE_STATUS','initCart','parse','initializeProgram','setupBackgroundBuffers','data','Failed\x20to\x20create\x20WebGL\x20texture','seatsPrices','hideSeats','setPosition','getAnimationState','texImage2D','calculatedOutlineRects','documentElement','getElementById','substring','a_size','showRows','COLOR_BUFFER_BIT','get','#3F51B5','[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','names','seatsIndex','rectSelectSeats','createElement','cursor','a_position','selectRows','setSeatSelection','GET','getSectionsKeys','clientWidth','showDebugLayer','panmove','deleteProgram','setSelectedGa','corners','disabled','pointerdown','isAccessible','isGa','lastChild','11px\x20Roboto,\x20Arial,\x20sans-serif','string','redraw','WebGLRenderingContext','padding','pinchend','resetAll','clearCart','onPan','12px\x20Arial,\x20sans-serif','onPendingRotation','alive','\x20animation\x20issue\x20occured.','rotate','idle','outline','initializeTextureWorker','whiteSpace','targetType','querySelectorAll','Shader\x20compilation\x20error','full','height=\x22','FRAGMENT_SHADER','requestPlain','iconValues','toDataURL','sort','\x0a\x20\x20\x20\x20.sm-binded-ga,\x0a\x20\x20\x20\x20.sm-eagle-view\x20.','serializeToString','plainSeats','ensureZeroSelectionHoverBuffers','getGaSectors','rowsPolylinesVersionBuilt','toString','getBBox','update','data:image/svg+xml;base64,','unpackSchemaDTO','createSeatsFragmentShader','arc','disableSvgSectionsByNames','hovered','parseFromString','hoveredRow','scrollTop','revokeObjectURL','doTranslate','updateBackgroundImage','shadow','get3DViewParams','getSeats','emitSrcEvent','renderGaTitles','renderHoveredSeat','round','hostname','hoveredFlagBuffer','seatKeysToIds','rows_color','animationId','strokeStyle','hasAttribute','pointer-events','loadTextureWithWorker','7bMZqEz','overlayCtx','deleteShader','updatePricePaletteUniformIfChanged','splice','CART_PIN_VIEWBOX','firstElementChild','reverse','display','snapshotScalePxPerUnit','backgroundImageSrc','prevSeatVisibility','sqrt','all','stopRotationAnimation','showUnavailableOutlines','triggerSeatSelectionPulse','repairGa','pinchstart\x20pinchmove\x20pinchend','removeClassNameAll','contentOffsetY','POINTS','concat','atan2','createTexture','CLICK','requestFadeOut','rowsBuffer','clearRect','toggle','fromTiltX','isArray','tiltTo','.sm-bg-outlines','active','rowsProgram','error','key','onSectorClick','entries','grabbing','fadeOut','location','relativeTranslate','deltaY','set','a_deselectedStart','transformAnimationDuration','/seat/select','config','setPricesData','\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','<svg\x20width=\x22','rowIds','TEXTURE_MIN_FILTER','createObjectURL','reverseRotationAnimation','destSectionMouseLeave','backgroundImage','send','initCanvas','touchmove','hoveredSeat','fillRect','seatsByRowId','applySectionViewAnimation','cancel','scrollLeft','pan','setBackgroundGeometry','phase','calculateViewportRect','request','setupBackgroundTexture','offscreenOpacity','<svg\x20','frame','onCartChange','ellipse','select','texParameteri','Failed\x20to\x20upload\x20ImageBitmap\x20texture:','none','translate','stop','unavailable','overlayCanvas','updateSeatLocks','u_perspectiveZ','u_image0','parentElement','handleChangeEagleView','presets','join','inProgress','UNSIGNED_BYTE','src','destSectionClick','forceUpdate','destDeselect','restoreIds','Failed\x20to\x20parse\x20rows\x20polylines\x20for\x20WebGL:','number','warn','a_selectedFlag','getStageLayer','a_loading','anonymous','firstChild','closePath','paddleWidth','getCoordsAfterRotation','No\x20URL','CLAMP_TO_EDGE','underlayBindedPathAttr','transformAnimator','rows_perspectiveZ','enabled','uniform4f','iconsTypes','u_stageWidth','swipe','minimap','data-gos-guid','999','keyupHandler','TEXTURE_WRAP_S','setIconsUVMap','#9C27B0','spinnerAnimationId','getSectionUpdatedCoords','willChange','seatCount','getSectionRect','rows','isViewportNearFullCanvas','Failed\x20to\x20parse\x20API\x20response\x20as\x20JSON:\x20','drawCartSeatPins','setSectionSelection','_seats','save','isTextureReady','getSeatSelection','includes','addEventListeners','drawPoint','panstart','removeEventListener','127.0.0.1','textAlign','uniform1i','onZoomEnd','getPricesDTO','mousedown','afterCartUpdate','isTable','setIconsData','#00BCD4','svgLink','toPerspectiveZ','floor','getSvgSectionBySelection','rowsOverlayElement','devicePixelRatio','sm-bg-outlines','ctx','...','calculateLimit','pointerEvents','rows_rotationZ','srcDragMove','fetchSchemaForEvent','resizeTimer','buttons','#999','cart','isInteger','beginPath','onSeatSelect','target','getUniformLocation','perspectiveFactor','onSectionClick','onEnd','a_error','maxY','debug','showMinimap','priceColors','price','#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','points','fillText','scheduleUpdate','enable3DView','onSeatDebouncedEnter','\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','renderSelectionRect','bottom','rowsMinGapPx','calculateAbsolutePoint','onComplete','createTextNode','dragOffset','textureLoadingPromise','tap','msCrypto','createOverlayFragmentShader','refreshMinimap','handleMouseLeave','18px\x20Arial,\x20sans-serif','Failed\x20to\x20load\x20PNG,\x20falling\x20back\x20to\x20SVG:','invalidateStaticGeometry','sectionViewActive','handleTouchStart','shadowBlur','SVG\x20viewbox\x20not\x20defined','toTiltX','match','innerWidth','uniform3fv','phaseStartMs','hasDeselectionAnimations','\x0a\x20\x20\x20\x20\x20\x20.sm-shape-ga[','panning','maxPinchZoom','nodeName','Possibly\x20remove\x20price-based\x20color\x20indication\x20at\x20this\x20scale','handleMouseUp','destSeatMouseLeave','position','updateSize','seatmap','attached','useProgram','handleWindowResize','createBuffer','zoomToFit','cloneNode','onSeatMouseEnter','sessionId','random','pointer','availableSeatCount','getRows','isFinish','px\x20Arial','switchToWebGL','moveTo','filterSeatsByIds','shadowColor','destroy','getContrastingColor','map'];_0x4630=function(){return _0x4098cb;};return _0x4630();}function createSvgImageElement(_0x59007b,_0x4afc80,_0x495fab){if(!_0x59007b)throw new Error('No\x20SVG');let _0x420e14=null;return _0x4afc80&&_0x495fab&&(_0x420e14=getSvgDimensions(_0x59007b,_0x4afc80,_0x495fab)),new Promise((_0x380aae,_0x4444b4)=>{const _0x448c6e=_0x425e,_0x2b73e5=new Image();_0x2b73e5[_0x448c6e(0x48e)]=_0x448c6e(0x412)+btoa(unescape(encodeURIComponent(_0x59007b))),_0x420e14&&(_0x2b73e5[_0x448c6e(0x28a)]=_0x420e14[_0x448c6e(0x28a)],_0x2b73e5[_0x448c6e(0x52c)]=_0x420e14[_0x448c6e(0x52c)]),_0x2b73e5[_0x448c6e(0x10f)]=()=>_0x380aae(_0x2b73e5),_0x2b73e5[_0x448c6e(0x218)]=()=>_0x4444b4(_0x448c6e(0x33c));});}async function loadImageFromUrl(_0x1e3273,_0x535427){const _0x21ae1f=_0x518421;if(!_0x1e3273)throw new Error(_0x21ae1f(0x49e));return new Promise((_0x6be448,_0x35cf2b)=>{const _0x346da0=_0x21ae1f,_0x25e31a=new Image();_0x535427&&(_0x25e31a['crossOrigin']=_0x535427),_0x25e31a['src']=_0x1e3273,_0x25e31a[_0x346da0(0x10f)]=()=>_0x6be448(_0x25e31a),_0x25e31a[_0x346da0(0x218)]=_0x474670=>_0x35cf2b('PNG\x20image\x20load\x20error:\x20'+_0x474670['message']);});}var setImageSizeAndCenter=(_0x392118,_0x21d014)=>{const _0x35173b=_0x518421,{x:_0x1f7474,y:_0x37158f,width:_0x3d3b5e,height:_0xd107de}=_0x21d014;_0x392118[_0x35173b(0x1a9)][_0x35173b(0x514)]='absolute',_0x392118[_0x35173b(0x1a9)][_0x35173b(0x267)]=_0x1f7474+'px',_0x392118['style'][_0x35173b(0x349)]=_0x37158f+'px',_0x392118[_0x35173b(0x1a9)]['width']=_0x3d3b5e+'px',_0x392118[_0x35173b(0x1a9)][_0x35173b(0x52c)]=_0xd107de+'px',_0x392118[_0x35173b(0x28a)]=_0x3d3b5e,_0x392118[_0x35173b(0x52c)]=_0xd107de,_0x392118[_0x35173b(0x1a9)][_0x35173b(0x115)]=_0x35173b(0x106);};async function svgToBase64(_0x5545af){const _0x52da48=_0x518421,_0x36e729=new Blob([_0x5545af],{'type':_0x52da48(0x212)}),_0x1f87b4=URL[_0x52da48(0x465)](_0x36e729);return new Promise((_0x2231a2,_0x8dea34)=>{const _0x3bdff3=_0x52da48,_0x4831d8=new Image();_0x4831d8[_0x3bdff3(0x2e9)]=_0x3bdff3(0x499);const _0x9b49fd=0x4;_0x4831d8[_0x3bdff3(0x10f)]=()=>{const _0x1b635c=_0x3bdff3;URL[_0x1b635c(0x41b)](_0x1f87b4);const _0x3c9875=document['createElement'](_0x1b635c(0x376));_0x3c9875[_0x1b635c(0x28a)]=_0x4831d8[_0x1b635c(0x28a)]*_0x9b49fd,_0x3c9875[_0x1b635c(0x52c)]=_0x4831d8[_0x1b635c(0x52c)]*_0x9b49fd;const _0x5af56f=_0x3c9875[_0x1b635c(0x2ae)]('2d');_0x5af56f?(_0x5af56f['drawImage'](_0x4831d8,0x0,0x0,_0x3c9875[_0x1b635c(0x28a)],_0x3c9875[_0x1b635c(0x52c)]),_0x2231a2(_0x3c9875[_0x1b635c(0x407)](_0x1b635c(0x24f)))):_0x8dea34(new Error(_0x1b635c(0x5da)));},_0x4831d8['onerror']=_0x8dea34,_0x4831d8[_0x3bdff3(0x48e)]=_0x1f87b4;});}function getSvgDimensions(_0x2493ea,_0x6317a5,_0x3ae594){const _0x709212=_0x518421,_0x3e627f=new DOMParser(),_0x407403=_0x3e627f['parseFromString'](_0x2493ea,'image/svg+xml'),_0x3ebbdc=_0x407403['getElementsByTagName'](_0x709212(0x2e1))[0x0];if(_0x3ebbdc[_0x709212(0x42b)](_0x709212(0x28a))&&_0x3ebbdc['hasAttribute'](_0x709212(0x52c)))return{'width':parseFloat(_0x3ebbdc[_0x709212(0x1b1)](_0x709212(0x28a))[_0x709212(0xf2)]('px','')),'height':parseFloat(_0x3ebbdc['getAttribute'](_0x709212(0x52c))[_0x709212(0xf2)]('px',''))};else{if(_0x3ebbdc['hasAttribute'](_0x709212(0x172))){const _0x3a25c4=_0x3ebbdc['getAttribute'](_0x709212(0x172))[_0x709212(0x103)]('\x20');return{'width':parseFloat(_0x3a25c4[0x2]),'height':parseFloat(_0x3a25c4[0x3])};}else return{'width':_0x6317a5,'height':_0x3ae594};}}var theme_default={'gridStep':0xe,'bgColor':_0x518421(0x249),'unavailableSeatRadius':0x3,'filteredSeatRadius':0x5,'availableSeatRadius':0x8,'specialSeatRadius':0xc,'hoveredSeatRadius':0x13,'selectedSeatRadius':0x15,'seatFont':_0x518421(0x3bf),'seatTextColor':_0x518421(0xf3),'unavailableSeatColor':_0x518421(0x2d9),'filteredSeatColor':_0x518421(0x4dc),'svgSectionStyles':{'default':{},'filtered':{'bgColor':_0x518421(0x4dc)},'unavailable':{'bgColor':'#bbb'},'hovered':{'stroke':{'color':_0x518421(0x1fd),'width':'3px'},'cursor':_0x518421(0x520)},'selected':{'stroke':{'color':_0x518421(0x1fd),'opacity':0x1}}},'shadowColor':_0x518421(0x168),'shadowBlur':0x14,'priceColors':[[_0x518421(0x4ae),_0x518421(0x20b),'#3F51B5','#2196F3',_0x518421(0x4cb),'#009688','#4CAF50',_0x518421(0x2fc),_0x518421(0x54a),_0x518421(0x102),_0x518421(0x612),_0x518421(0x366),_0x518421(0x53a)],[_0x518421(0x1fd)],[_0x518421(0x1fd),_0x518421(0x54a)],['#673AB7','#2196F3','#FFC107']],'colorCategories':[_0x518421(0x4ae),'#673AB7',_0x518421(0x3d6),_0x518421(0x1fd),_0x518421(0x4cb),_0x518421(0x368),_0x518421(0x132),'#CDDC39',_0x518421(0x54a),_0x518421(0x102),_0x518421(0x612),_0x518421(0x366),_0x518421(0x53a)]},ATTR_DATA_GA_SELECTED=_0x518421(0x1ab),ATTR_OUTER_HIGHLIGHT=_0x518421(0x5de),ATTR_DATA_GA_UNAVAILABLE=_0x518421(0x1de),ATTR_DATA_DEFAULT_FILL='data-default-fill',SM_OUTLINE_FOCUSED=_0x518421(0x549),UNDERLAY_BINDED_GA_CSS_STYLES=_0x518421(0x225),OUTLINE_CLASS=_0x518421(0x5d6),appendStyles=_0x55af10=>{const _0x33c0b0=_0x518421,_0x560baf=document[_0x33c0b0(0x157)](_0x33c0b0(0x269))||document['body'],_0x50cbc1=document[_0x33c0b0(0x625)](_0x33c0b0(0x297),_0x33c0b0(0x1a9)),_0x321fda=generateDynamicHighlightCss(bgOutlineCss,_0x55af10||theme_default[_0x33c0b0(0x3a9)]);_0x50cbc1['appendChild'](document[_0x33c0b0(0x4f8)](_0x321fda));const _0x5d3f15=generateDynamicHighlightCss(outlineCss,theme_default[_0x33c0b0(0x3a9)]);_0x50cbc1['appendChild'](document[_0x33c0b0(0x4f8)](_0x5d3f15)),_0x560baf[_0x33c0b0(0x27d)](_0x50cbc1);},getThemeStyle=(_0x526ef3,_0x34472d)=>{if(_0x34472d)return _0x526ef3+':\x20'+_0x34472d+';';return'';},generateDynamicHighlightCss=(_0x931790,_0x452612)=>{const _0x19c56b=_0x518421;var _0x3cd689,_0x595726,_0x829075,_0x305e6d,_0x20d306,_0x385127,_0xd90381,_0xcf02b2,_0xda335d,_0x366e14,_0x4f287e,_0x1904de,_0x489af6,_0x234cc4,_0x9f2d24,_0x3870c3,_0x10adeb,_0x105a6f,_0xd4136,_0x1306a5,_0x216fb9,_0x493499,_0x37b413,_0x514749,_0x43e7c9,_0x472787,_0x337f73,_0x43b253,_0x1ce210,_0x37daa0,_0x293da7,_0x59fef4,_0x463227,_0x47c59e,_0x4cb8bb,_0x59e2eb,_0x1c3537,_0x4512a6,_0x1fb600,_0xcb3f72,_0x17469c;const _0xeaa2fe='\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',_0x565a01=_0x19c56b(0x292)+OUTLINE_CLASS+',\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle(_0x19c56b(0x3dc),(_0x3cd689=_0x452612==null?void 0x0:_0x452612[_0x19c56b(0x60e)])==null?void 0x0:_0x3cd689[_0x19c56b(0x3dc)])+_0x19c56b(0x33b)+getThemeStyle('stroke',(_0x829075=(_0x595726=_0x452612==null?void 0x0:_0x452612[_0x19c56b(0x60e)])==null?void 0x0:_0x595726[_0x19c56b(0x128)])==null?void 0x0:_0x829075[_0x19c56b(0x247)])+_0x19c56b(0x33b)+getThemeStyle(_0x19c56b(0x276),(_0x20d306=(_0x305e6d=_0x452612==null?void 0x0:_0x452612['hovered'])==null?void 0x0:_0x305e6d[_0x19c56b(0x128)])==null?void 0x0:_0x20d306[_0x19c56b(0x2e2)])+'\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'+getThemeStyle('fill',(_0xd90381=(_0x385127=_0x452612==null?void 0x0:_0x452612[_0x19c56b(0x60e)])==null?void 0x0:_0x385127[_0x19c56b(0x346)])==null?void 0x0:_0xd90381[_0x19c56b(0x247)])+'\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',_0x57d812='\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+_0x19c56b(0x592)+getThemeStyle(_0x19c56b(0x3dc),(_0xcf02b2=_0x452612==null?void 0x0:_0x452612[_0x19c56b(0x417)])==null?void 0x0:_0xcf02b2[_0x19c56b(0x3dc)])+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle(_0x19c56b(0x128),(_0x366e14=(_0xda335d=_0x452612==null?void 0x0:_0x452612[_0x19c56b(0x417)])==null?void 0x0:_0xda335d['stroke'])==null?void 0x0:_0x366e14['color'])+_0x19c56b(0x33b)+getThemeStyle(_0x19c56b(0x276),(_0x1904de=(_0x4f287e=_0x452612==null?void 0x0:_0x452612[_0x19c56b(0x417)])==null?void 0x0:_0x4f287e[_0x19c56b(0x128)])==null?void 0x0:_0x1904de[_0x19c56b(0x2e2)])+_0x19c56b(0x33b)+getThemeStyle('stroke-width',(_0x234cc4=(_0x489af6=_0x452612==null?void 0x0:_0x452612[_0x19c56b(0x417)])==null?void 0x0:_0x489af6['stroke'])==null?void 0x0:_0x234cc4[_0x19c56b(0x28a)])+_0x19c56b(0x2fd)+getThemeStyle(_0x19c56b(0x34b),(_0x9f2d24=_0x452612==null?void 0x0:_0x452612[_0x19c56b(0x417)])==null?void 0x0:_0x9f2d24[_0x19c56b(0x5a0)])+_0x19c56b(0x388)+getThemeStyle(_0x19c56b(0x34b),(_0x10adeb=(_0x3870c3=_0x452612==null?void 0x0:_0x452612['hovered'])==null?void 0x0:_0x3870c3[_0x19c56b(0x346)])==null?void 0x0:_0x10adeb[_0x19c56b(0x247)])+'\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',_0x53e780=_0x19c56b(0x50d)+ATTR_DATA_GA_SELECTED+_0x19c56b(0x1c5)+ATTR_DATA_GA_SELECTED+_0x19c56b(0x170)+getThemeStyle(_0x19c56b(0x3dc),(_0x105a6f=_0x452612==null?void 0x0:_0x452612[_0x19c56b(0x175)])==null?void 0x0:_0x105a6f['cursor'])+_0x19c56b(0x33b)+getThemeStyle(_0x19c56b(0x128),(_0x1306a5=(_0xd4136=_0x452612==null?void 0x0:_0x452612[_0x19c56b(0x175)])==null?void 0x0:_0xd4136['stroke'])==null?void 0x0:_0x1306a5[_0x19c56b(0x247)])+_0x19c56b(0x33b)+getThemeStyle(_0x19c56b(0x276),(_0x493499=(_0x216fb9=_0x452612==null?void 0x0:_0x452612[_0x19c56b(0x175)])==null?void 0x0:_0x216fb9[_0x19c56b(0x128)])==null?void 0x0:_0x493499[_0x19c56b(0x2e2)])+_0x19c56b(0x192)+ATTR_DATA_GA_SELECTED+_0x19c56b(0x335)+getThemeStyle(_0x19c56b(0x34b),(_0x37b413=_0x452612==null?void 0x0:_0x452612['selected'])==null?void 0x0:_0x37b413['bgColor'])+_0x19c56b(0x1e4)+ATTR_DATA_GA_SELECTED+'=\x221\x22]\x20>\x20path:not([data-seatmap-ga])\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle('fill',(_0x43e7c9=(_0x514749=_0x452612==null?void 0x0:_0x452612[_0x19c56b(0x175)])==null?void 0x0:_0x514749[_0x19c56b(0x346)])==null?void 0x0:_0x43e7c9[_0x19c56b(0x247)])+_0x19c56b(0x31a),_0x21ad15=_0x19c56b(0x50d)+ATTR_DATA_GA_UNAVAILABLE+'=\x221\x22],\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga['+ATTR_DATA_GA_UNAVAILABLE+_0x19c56b(0x170)+getThemeStyle(_0x19c56b(0x3dc),(_0x472787=_0x452612==null?void 0x0:_0x452612[_0x19c56b(0x483)])==null?void 0x0:_0x472787[_0x19c56b(0x3dc)])+_0x19c56b(0x33b)+getThemeStyle(_0x19c56b(0x128),(_0x43b253=(_0x337f73=_0x452612==null?void 0x0:_0x452612[_0x19c56b(0x483)])==null?void 0x0:_0x337f73[_0x19c56b(0x128)])==null?void 0x0:_0x43b253['color'])+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle(_0x19c56b(0x276),(_0x37daa0=(_0x1ce210=_0x452612==null?void 0x0:_0x452612[_0x19c56b(0x483)])==null?void 0x0:_0x1ce210[_0x19c56b(0x128)])==null?void 0x0:_0x37daa0['opacity'])+_0x19c56b(0x192)+ATTR_DATA_GA_UNAVAILABLE+_0x19c56b(0x335)+getThemeStyle(_0x19c56b(0x34b),(_0x293da7=_0x452612==null?void 0x0:_0x452612[_0x19c56b(0x483)])==null?void 0x0:_0x293da7[_0x19c56b(0x5a0)])+_0x19c56b(0x1e4)+ATTR_DATA_GA_UNAVAILABLE+'=\x221\x22]\x20>\x20path:not([data-seatmap-ga])\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle(_0x19c56b(0x34b),(_0x463227=(_0x59fef4=_0x452612==null?void 0x0:_0x452612[_0x19c56b(0x483)])==null?void 0x0:_0x59fef4['sectionName'])==null?void 0x0:_0x463227[_0x19c56b(0x247)])+_0x19c56b(0x31a),_0x272451='\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(_0x19c56b(0x3dc),(_0x47c59e=_0x452612==null?void 0x0:_0x452612[_0x19c56b(0x417)])==null?void 0x0:_0x47c59e['cursor'])+_0x19c56b(0x33b)+getThemeStyle(_0x19c56b(0x128),(_0x59e2eb=(_0x4cb8bb=_0x452612==null?void 0x0:_0x452612[_0x19c56b(0x417)])==null?void 0x0:_0x4cb8bb[_0x19c56b(0x128)])==null?void 0x0:_0x59e2eb[_0x19c56b(0x247)])+_0x19c56b(0x33b)+getThemeStyle(_0x19c56b(0x276),(_0x4512a6=(_0x1c3537=_0x452612==null?void 0x0:_0x452612[_0x19c56b(0x417)])==null?void 0x0:_0x1c3537[_0x19c56b(0x128)])==null?void 0x0:_0x4512a6[_0x19c56b(0x2e2)])+_0x19c56b(0x308)+getThemeStyle('fill',(_0x1fb600=_0x452612==null?void 0x0:_0x452612[_0x19c56b(0x417)])==null?void 0x0:_0x1fb600[_0x19c56b(0x5a0)])+_0x19c56b(0x461)+getThemeStyle('fill',(_0x17469c=(_0xcb3f72=_0x452612==null?void 0x0:_0x452612[_0x19c56b(0x417)])==null?void 0x0:_0xcb3f72[_0x19c56b(0x346)])==null?void 0x0:_0x17469c[_0x19c56b(0x247)])+'\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',_0x578fb7=_0x19c56b(0x30d)+SM_OUTLINE_FOCUSED+_0x19c56b(0x5bd)+SM_OUTLINE_FOCUSED+_0x19c56b(0x28e);return _0x19c56b(0x2d0)+_0x931790+_0x19c56b(0x2d0)+_0xeaa2fe+'\x0a\x20\x20\x20\x20\x20\x20'+_0x565a01+_0x19c56b(0x2d0)+_0x57d812+'\x0a\x20\x20\x20\x20\x20\x20'+_0x53e780+'\x0a\x20\x20\x20\x20\x20\x20'+_0x21ad15+_0x19c56b(0x2d0)+_0x272451+_0x19c56b(0x2d0)+_0x578fb7+_0x19c56b(0x30d)+OUTLINE_CLASS+_0x19c56b(0x3d7);},bgOutlineCss=_0x518421(0x409)+OUTLINE_CLASS+_0x518421(0x595),outlineCss='\x0a\x20\x20\x20\x20.'+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+_0x518421(0x2eb),cleanupStyles=(_0x20a670,_0x11fe09)=>{const _0x2b633e=_0x518421;if(!_0x20a670[_0x2b633e(0x42b)]('style'))return;if(_0x11fe09[_0x2b633e(0x287)]===0x1&&_0x11fe09[0x0]==='*'){_0x20a670['removeAttribute'](_0x2b633e(0x1a9));return;}const _0x359b61=_0x20a670[_0x2b633e(0x1b1)](_0x2b633e(0x1a9)),_0xe51407=_0x359b61&&_0x359b61['split'](';')['map'](_0x2bfe21=>_0x2bfe21[_0x2b633e(0x2a5)]()[_0x2b633e(0x103)](':')),_0x2ab7c5=_0xe51407&&_0xe51407[_0x2b633e(0x10b)](_0x355bf9=>_0x355bf9[0x0]&&!_0x11fe09['includes'](_0x355bf9[0x0][_0x2b633e(0x2a5)]()));if(_0x2ab7c5&&_0x2ab7c5['length']>0x0){const _0x493e66=_0x2ab7c5[_0x2b633e(0x52b)](_0xde066=>_0xde066[_0x2b633e(0x48b)](':'))[_0x2b633e(0x48b)](';');_0x20a670['setAttribute'](_0x2b633e(0x1a9),_0x493e66);}else _0x20a670['removeAttribute'](_0x2b633e(0x1a9));},DPR=window[_0x518421(0x4d1)],THREE_D_CONSTANTS={'tiltFactor':0x2,'perspectiveFactor':1.5};function buildCss3DTransform({rotationZ:_0x9a0f8a,perspectiveZ:_0x55b3e0,tiltX:_0x5ba449},_0x1110b8){const _0x59d0d7=_0x518421;var _0x2b0082;const _0x1e75e8=_0x9a0f8a*0xb4/Math['PI'],_0x1d7d90=0x1+_0x5ba449*THREE_D_CONSTANTS['tiltFactor'],_0x10dc03=0x1+_0x55b3e0*THREE_D_CONSTANTS[_0x59d0d7(0x4e3)],_0x570b3a=[],_0x279200=Math[_0x59d0d7(0x153)](0.0001,(_0x2b0082=_0x1110b8==null?void 0x0:_0x1110b8['aspectRatio'])!=null?_0x2b0082:0x1);if(_0x279200!==0x1)_0x570b3a[_0x59d0d7(0x1be)](_0x59d0d7(0x35a)+_0x279200+')');if(_0x55b3e0!==0x0)_0x570b3a[_0x59d0d7(0x1be)](_0x59d0d7(0xed)+_0x10dc03+')');if(_0x5ba449!==0x0)_0x570b3a[_0x59d0d7(0x1be)](_0x59d0d7(0xed)+_0x1d7d90+')');if(_0x9a0f8a!==0x0)_0x570b3a[_0x59d0d7(0x1be)]('rotateZ('+_0x1e75e8+_0x59d0d7(0x2c1));if(_0x279200!==0x1)_0x570b3a[_0x59d0d7(0x1be)](_0x59d0d7(0x35a)+0x1/_0x279200+')');return _0x570b3a['join']('\x20');}function getDefaultTransformOrigin(){const _0x55476d=_0x518421;return _0x55476d(0x1ad);}function projectPointTo3DView(_0xa99000,_0x175eca,{rotationZ:_0x1ac026,perspectiveZ:_0x38a0ea,tiltX:_0x40bbfb}){const _0x2062f2=_0x518421,_0xcaf70e=Math[_0x2062f2(0x153)](0x1,_0x175eca[_0x2062f2(0x28a)]),_0x42eb27=Math[_0x2062f2(0x153)](0x1,_0x175eca[_0x2062f2(0x52c)]),_0x5c0fad=0x2*_0xa99000['x']/_0xcaf70e-0x1,_0x51d963=0x1-0x2*_0xa99000['y']/_0x42eb27,_0x2d7069=Math[_0x2062f2(0x156)](_0x1ac026),_0x5de3f6=Math[_0x2062f2(0x58e)](_0x1ac026),_0x153863=_0x2d7069*_0x5c0fad-_0x5de3f6*_0x51d963,_0x2d1e5f=_0x5de3f6*_0x5c0fad+_0x2d7069*_0x51d963,_0x1fbc13=_0x2d1e5f+_0x2d1e5f*_0x40bbfb*THREE_D_CONSTANTS[_0x2062f2(0x20a)],_0x4a37c4=0x1+_0x1fbc13*_0x38a0ea*THREE_D_CONSTANTS[_0x2062f2(0x4e3)],_0x9cd640=_0x153863*_0x4a37c4,_0x24a667=_0x1fbc13*_0x4a37c4,_0x388c8e=(_0x9cd640+0x1)/0x2*_0xcaf70e,_0x34cc79=(0x1-_0x24a667)/0x2*_0x42eb27;return{'x':_0x388c8e,'y':_0x34cc79};}function unprojectPointFrom3DView(_0x3fc556,_0x158ba2,{rotationZ:_0x24c2c0,perspectiveZ:_0x3bf636,tiltX:_0x5e30cb}){const _0x431b86=_0x518421,_0x2c0c93=Math[_0x431b86(0x153)](0x1,_0x158ba2['width']),_0x3ef0f3=Math[_0x431b86(0x153)](0x1,_0x158ba2[_0x431b86(0x52c)]),_0x4d7224=0x2*_0x3fc556['x']/_0x2c0c93-0x1,_0x366184=0x1-0x2*_0x3fc556['y']/_0x3ef0f3,_0xbf717e=_0x3bf636*THREE_D_CONSTANTS[_0x431b86(0x4e3)];let _0x514aa8=_0x366184,_0x53081e=0x1;if(Math['abs'](_0xbf717e)>0.000001){const _0x25916c=0x1+0x4*_0xbf717e*_0x366184,_0x5131d3=_0x25916c>=0x0?Math[_0x431b86(0x43a)](_0x25916c):0x1;_0x514aa8=(-0x1+_0x5131d3)/(0x2*_0xbf717e),_0x53081e=0x1+_0xbf717e*_0x514aa8;}const _0x5e6279=_0x4d7224/_0x53081e,_0x331068=_0x514aa8/(0x1+_0x5e30cb*THREE_D_CONSTANTS[_0x431b86(0x20a)]),_0x269049=_0x5e6279,_0x2ec56d=Math[_0x431b86(0x156)](_0x24c2c0),_0x2b105d=Math[_0x431b86(0x58e)](_0x24c2c0),_0x4d313f=_0x2ec56d*_0x269049-_0x2b105d*_0x331068,_0x328e3c=_0x2b105d*_0x269049+_0x2ec56d*_0x331068,_0x954795=(_0x4d313f+0x1)/0x2*_0x2c0c93,_0x53a9fa=(0x1-_0x328e3c)/0x2*_0x3ef0f3;return{'x':_0x954795,'y':_0x53a9fa};}var UNDERLAY_BINDED_GA_PATH_ATTR=_0x518421(0x5cd),UNDERLAY_BINDED_GA_PATH_ATTR_LEGACY=_0x518421(0x2bd),UNDERLAY_SVG_GROUP=_0x518421(0x44f),UNDERLAY_TO_BIND_GA_PATH_ATTR='data-seatmap-ga',DATA_GOS_ID=_0x518421(0x2d8),DATA_FONT_SCALE='data-font-scale',enrichElementWithData=(_0xf6755a,_0x1239de,_0x377d45,_0x34b543)=>{const _0x3735ef=_0x518421,_0x2ab91d=_0xf6755a[_0x3735ef(0x1b1)](_0x377d45);if(!_0x2ab91d)return;_0xf6755a[_0x3735ef(0x12e)](_0x3735ef(0x4a9),_0x2ab91d);const _0x4e3251=_0x1239de[_0x3735ef(0x584)](_0x9b1f97=>(_0x9b1f97==null?void 0x0:_0x9b1f97[_0x3735ef(0x537)])===_0x2ab91d);if(!_0x4e3251){_0xf6755a[_0x3735ef(0x12e)](_0x3735ef(0x2e2),_0x3735ef(0x317));return;}!(_0x4e3251==null?void 0x0:_0x4e3251[_0x3735ef(0x3eb)])&&_0xf6755a[_0x3735ef(0x12e)](_0x3735ef(0x2e2),_0x3735ef(0x317));const _0x49d717=_0x4e3251==null?void 0x0:_0x4e3251['id'];_0x49d717&&_0xf6755a['setAttribute'](DATA_GOS_ID,_0x49d717[_0x3735ef(0x40f)]());const _0x25f04e=_0x34b543[_0x3735ef(0x339)][_0x3735ef(0x10b)](_0x3ff0db=>_0x3ff0db[_0x3735ef(0x1b5)]===_0x49d717),_0x4c5bf3=_0x25f04e['find'](_0x22c659=>_0x22c659[_0x3735ef(0x19e)]);if(_0x25f04e[_0x3735ef(0x287)]>0x0&&!_0x4c5bf3&&_0x34b543['settings']['showUnavailableOutlines'])return;_0x34b543[_0x3735ef(0x398)][_0x3735ef(0x1da)]?_0xf6755a['classList']['add'](OUTLINE_CLASS):_0xf6755a[_0x3735ef(0x169)][_0x3735ef(0x2f0)]('sm-binded-ga');},OutlineLayer=class{constructor(_0x41f7af){const _0x10cbc9=_0x518421;this['hasBackgroundOutline']=![],this[_0x10cbc9(0x4a0)]=UNDERLAY_BINDED_GA_PATH_ATTR,this[_0x10cbc9(0x3ce)]={},this[_0x10cbc9(0x227)]=_0x52cbc6=>{const _0xc4c3b5=_0x10cbc9,{sectionsById:_0x22d49e}=this['context'],_0x21d7cc=[];return _0x52cbc6[_0xc4c3b5(0x356)](_0x6319a9=>{const _0x39f247=_0xc4c3b5,_0x2de2c0=Number(_0x6319a9[_0x39f247(0x1b1)](DATA_GOS_ID)),_0x3cbff3=_0x2de2c0?_0x22d49e[_0x2de2c0]:null,_0x493d60=_0x6319a9[_0x39f247(0x1b1)]('transform');if(!_0x3cbff3||!_0x493d60)return;const _0xc5c092=matrixStrToArray(_0x493d60);_0x21d7cc[_0x39f247(0x1be)]({'id':_0x3cbff3['id'],'name':_0x3cbff3['name'],'transform':_0xc5c092,'isTable':!!(_0x3cbff3[_0x39f247(0x147)]===_0x39f247(0x552))});}),_0x21d7cc;},this[_0x10cbc9(0x5fd)]=_0x321db4=>{const _0xe5d0c8=_0x10cbc9,_0x17f818=document[_0xe5d0c8(0x157)](UNDERLAY_SVG_GROUP),_0x47d62d=_0x17f818==null?void 0x0:_0x17f818[_0xe5d0c8(0x157)]('['+DATA_GOS_ID+'=\x22'+_0x321db4+'\x22]'),_0x2f2577=this['context']['settings'][_0xe5d0c8(0x1ae)];if(!_0x47d62d)return;_0x47d62d['removeAttribute'](ATTR_DATA_GA_SELECTED),_0x47d62d[_0xe5d0c8(0x12e)](ATTR_DATA_GA_UNAVAILABLE,'1');const _0x4a095a=Array['from'](_0x47d62d==null?void 0x0:_0x47d62d[_0xe5d0c8(0x400)]('['+UNDERLAY_TO_BIND_GA_PATH_ATTR+']'));_0x4a095a==null?void 0x0:_0x4a095a[_0xe5d0c8(0x356)](_0x2526c2=>{const _0x41e5f6=_0xe5d0c8;var _0x50939b,_0x5e2613,_0x32eb47;const _0x56d621=_0x2526c2['getAttribute'](ATTR_DATA_DEFAULT_FILL);if(_0x56d621)return;const _0x5a4c00=_0x2526c2[_0x41e5f6(0x1b1)](_0x41e5f6(0x34b))||_0x41e5f6(0x480);_0x2526c2[_0x41e5f6(0x12e)](ATTR_DATA_DEFAULT_FILL,_0x5a4c00),_0x2526c2['setAttribute'](_0x41e5f6(0x34b),((_0x5e2613=(_0x50939b=_0x2f2577==null?void 0x0:_0x2f2577['svgSectionStyles'])==null?void 0x0:_0x50939b['unavailable'])==null?void 0x0:_0x5e2613['bgColor'])||((_0x32eb47=theme_default[_0x41e5f6(0x3a9)])==null?void 0x0:_0x32eb47[_0x41e5f6(0x483)]['bgColor'])),_0x2526c2[_0x41e5f6(0x12e)](_0x41e5f6(0x42c),_0x41e5f6(0x480));});},this[_0x10cbc9(0x261)]=_0x30f2aa=>{const _0x4f4d13=_0x10cbc9,_0x314c62=document[_0x4f4d13(0x157)](UNDERLAY_SVG_GROUP),_0x198439=_0x314c62==null?void 0x0:_0x314c62[_0x4f4d13(0x157)]('['+DATA_GOS_ID+'=\x22'+_0x30f2aa+'\x22]');if(!_0x198439)return;_0x198439[_0x4f4d13(0x178)](ATTR_DATA_GA_SELECTED),_0x198439[_0x4f4d13(0x178)](ATTR_DATA_GA_UNAVAILABLE);const _0x6e15bb=Array[_0x4f4d13(0x19c)](_0x198439==null?void 0x0:_0x198439['querySelectorAll']('['+UNDERLAY_TO_BIND_GA_PATH_ATTR+']'));_0x6e15bb==null?void 0x0:_0x6e15bb[_0x4f4d13(0x356)](_0x21657c=>{const _0x2c92aa=_0x4f4d13,_0x522563=_0x21657c[_0x2c92aa(0x1b1)](ATTR_DATA_DEFAULT_FILL);if(!_0x522563)return;_0x21657c['setAttribute']('fill',_0x522563),_0x21657c[_0x2c92aa(0x178)](ATTR_DATA_DEFAULT_FILL),_0x21657c[_0x2c92aa(0x178)](_0x2c92aa(0x42c));});},this['filterSvgSectionById']=_0x427a4a=>{const _0x184055=_0x10cbc9,_0x16dd21=document[_0x184055(0x157)](UNDERLAY_SVG_GROUP),_0x21214e=_0x16dd21==null?void 0x0:_0x16dd21['querySelector']('['+DATA_GOS_ID+'=\x22'+_0x427a4a+'\x22]'),_0x265237=this[_0x184055(0x2b3)][_0x184055(0x398)][_0x184055(0x1ae)];if(!_0x21214e)return;_0x21214e[_0x184055(0x178)](ATTR_DATA_GA_SELECTED);const _0x361156=Array[_0x184055(0x19c)](_0x21214e==null?void 0x0:_0x21214e[_0x184055(0x400)]('['+UNDERLAY_TO_BIND_GA_PATH_ATTR+']'));_0x361156==null?void 0x0:_0x361156[_0x184055(0x356)](_0x213a3d=>{const _0x15b064=_0x184055;var _0x1946c7,_0x34180c,_0xf218db;const _0x41aadb=_0x213a3d[_0x15b064(0x1b1)](ATTR_DATA_DEFAULT_FILL);if(_0x41aadb)return;const _0x5cbeff=_0x213a3d[_0x15b064(0x1b1)](_0x15b064(0x34b))||_0x15b064(0x480);_0x213a3d['setAttribute'](ATTR_DATA_DEFAULT_FILL,_0x5cbeff),_0x213a3d[_0x15b064(0x12e)](_0x15b064(0x34b),((_0x34180c=(_0x1946c7=_0x265237==null?void 0x0:_0x265237['svgSectionStyles'])==null?void 0x0:_0x1946c7[_0x15b064(0x570)])==null?void 0x0:_0x34180c['bgColor'])||((_0xf218db=theme_default['svgSectionStyles'])==null?void 0x0:_0xf218db[_0x15b064(0x570)][_0x15b064(0x5a0)])),_0x213a3d[_0x15b064(0x12e)](_0x15b064(0x42c),'none');});},this[_0x10cbc9(0x231)]=_0x2bbc0d=>{const _0x48fa52=_0x10cbc9,_0x3b796d=document[_0x48fa52(0x157)](UNDERLAY_SVG_GROUP),_0x339f7f=_0x3b796d==null?void 0x0:_0x3b796d[_0x48fa52(0x157)]('['+DATA_GOS_ID+'=\x22'+_0x2bbc0d+'\x22]');if(!_0x339f7f)return;_0x339f7f[_0x48fa52(0x178)](ATTR_DATA_GA_SELECTED);const _0x5c3c80=Array['from'](_0x339f7f==null?void 0x0:_0x339f7f['querySelectorAll']('['+UNDERLAY_TO_BIND_GA_PATH_ATTR+']'));_0x5c3c80==null?void 0x0:_0x5c3c80['forEach'](_0x157b1f=>{const _0x412a37=_0x48fa52,_0x25d692=_0x157b1f[_0x412a37(0x1b1)](ATTR_DATA_DEFAULT_FILL);if(!_0x25d692)return;_0x157b1f[_0x412a37(0x12e)](_0x412a37(0x34b),_0x25d692),_0x157b1f[_0x412a37(0x178)](ATTR_DATA_DEFAULT_FILL),_0x157b1f[_0x412a37(0x178)]('pointer-events');});};var _0x5a3c7f;this[_0x10cbc9(0x2b3)]=_0x41f7af,this[_0x10cbc9(0x1e0)](),this['svgElement']=document[_0x10cbc9(0x625)](_0x10cbc9(0x297),_0x10cbc9(0x2e1)),this[_0x10cbc9(0x61d)][_0x10cbc9(0x1a9)][_0x10cbc9(0x514)]=_0x10cbc9(0x362),this[_0x10cbc9(0x61d)][_0x10cbc9(0x1a9)]['left']='0',this[_0x10cbc9(0x61d)]['style']['width']=_0x10cbc9(0x37e),this[_0x10cbc9(0x61d)][_0x10cbc9(0x1a9)][_0x10cbc9(0x52c)]='100%',this[_0x10cbc9(0x61d)][_0x10cbc9(0x1a9)][_0x10cbc9(0x104)]=_0x10cbc9(0x1a1),appendStyles((_0x5a3c7f=this['context'][_0x10cbc9(0x398)][_0x10cbc9(0x1ae)])==null?void 0x0:_0x5a3c7f[_0x10cbc9(0x3a9)]),this[_0x10cbc9(0x1f5)]()?(this[_0x10cbc9(0x61d)][_0x10cbc9(0x169)]['add'](_0x10cbc9(0x4d2)),this[_0x10cbc9(0x585)]()):this[_0x10cbc9(0x21b)](),this[_0x10cbc9(0x515)](),this[_0x10cbc9(0x126)](),this[_0x10cbc9(0x2b3)]['element']['appendChild'](this['svgElement']),this[_0x10cbc9(0x489)]();}[_0x518421(0x529)](){const _0x186378=_0x518421;this[_0x186378(0x61d)]['remove'](),this[_0x186378(0x2b3)][_0x186378(0x529)]();}[_0x518421(0x4b8)](_0x6a9ff7){const _0x4d3ecc=_0x518421;if(!_0x6a9ff7){const _0x239f34=this[_0x4d3ecc(0x61d)][_0x4d3ecc(0x400)]('['+ATTR_DATA_GA_SELECTED+']');_0x239f34==null?void 0x0:_0x239f34[_0x4d3ecc(0x356)](_0x594dae=>_0x594dae['removeAttribute'](ATTR_DATA_GA_SELECTED));return;}const _0x274ff4=this[_0x4d3ecc(0x2ee)](_0x6a9ff7);_0x274ff4==null?void 0x0:_0x274ff4['setAttribute'](ATTR_DATA_GA_SELECTED,'1');}[_0x518421(0x1ee)](_0x5e0655){const _0x43db49=_0x518421,_0x260212=this[_0x43db49(0x61d)][_0x43db49(0x157)]('['+ATTR_DATA_GA_SELECTED+']');_0x260212==null?void 0x0:_0x260212[_0x43db49(0x178)](ATTR_DATA_GA_SELECTED);const _0x203354=this['getSectionElement'](_0x5e0655);_0x203354==null?void 0x0:_0x203354[_0x43db49(0x12e)](ATTR_DATA_GA_SELECTED,'1');}[_0x518421(0x19b)](){const _0x1ae55=_0x518421,_0x2d7b5d=this[_0x1ae55(0x61d)][_0x1ae55(0x400)]('['+ATTR_OUTER_HIGHLIGHT+']');_0x2d7b5d==null?void 0x0:_0x2d7b5d[_0x1ae55(0x356)](_0x4da0b3=>_0x4da0b3[_0x1ae55(0x178)](ATTR_OUTER_HIGHLIGHT));}[_0x518421(0x2fa)](_0xe1a587){const _0x4dff82=_0x518421,_0x427769=this[_0x4dff82(0x2ee)](_0xe1a587);_0x427769==null?void 0x0:_0x427769[_0x4dff82(0x12e)](ATTR_OUTER_HIGHLIGHT,'1');}[_0x518421(0x200)](){const _0x3b2cf4=_0x518421,_0x2651f4=this[_0x3b2cf4(0x61d)]['querySelectorAll']('['+DATA_GOS_ID+']');_0x2651f4==null?void 0x0:_0x2651f4['forEach'](_0x424fd4=>{const _0x276ce1=_0x3b2cf4;_0x424fd4[_0x276ce1(0x12e)](ATTR_OUTER_HIGHLIGHT,'1');});}[_0x518421(0x305)](){const _0x4a0fc2=_0x518421;this[_0x4a0fc2(0x441)](SM_OUTLINE_FOCUSED);}['focusSection'](_0x394653){const _0x5de51c=_0x518421;this[_0x5de51c(0x305)](),this[_0x5de51c(0x2ca)](SM_OUTLINE_FOCUSED,_0x394653);}[_0x518421(0x441)](_0x5a78bd){const _0x57582f=_0x518421,_0x23d2ba=this[_0x57582f(0x61d)]['querySelectorAll']('.'+_0x5a78bd);if(!_0x23d2ba)return;_0x23d2ba[_0x57582f(0x356)](_0x392f8c=>_0x392f8c[_0x57582f(0x169)][_0x57582f(0x202)](_0x5a78bd));}[_0x518421(0x2ca)](_0x1bef49,_0x571d48){if(!_0x571d48)return;const _0x65634=this['getSectionElement'](_0x571d48);if(!_0x65634)return;_0x65634['classList']['add'](_0x1bef49);}[_0x518421(0x4b3)](_0x483fc1){const _0x596dec=_0x518421;if(!_0x483fc1)return null;const _0x5a6702=this['outlineRect'][_0x483fc1];if(_0x5a6702)return _0x5a6702;const _0x44a298=this[_0x596dec(0x2ee)](_0x483fc1);if(!_0x44a298)return null;const _0x24ccfd=_0x44a298[_0x596dec(0x410)]();return _0x24ccfd;}['getSectionElement'](_0x7e40e3){const _0x8bbb5=_0x518421;var _0x126b68;const _0x4c97ba=(_0x126b68=this[_0x8bbb5(0x61d)][_0x8bbb5(0x157)]('['+DATA_GOS_ID+'=\x22'+_0x7e40e3+'\x22]\x20>\x20rect'))!=null?_0x126b68:this[_0x8bbb5(0x61d)][_0x8bbb5(0x157)]('['+DATA_GOS_ID+'=\x22'+_0x7e40e3+'\x22]');return _0x4c97ba;}get[_0x518421(0x28a)](){const _0x37b51f=_0x518421;return this[_0x37b51f(0x2b3)]['element'][_0x37b51f(0x3e2)];}get[_0x518421(0x52c)](){const _0x14f536=_0x518421;return this[_0x14f536(0x2b3)][_0x14f536(0x107)]['clientHeight'];}[_0x518421(0x515)](){const _0x5dbd00=_0x518421;this[_0x5dbd00(0x61d)][_0x5dbd00(0x12e)](_0x5dbd00(0x28a),this[_0x5dbd00(0x28a)]+''),this[_0x5dbd00(0x61d)][_0x5dbd00(0x12e)](_0x5dbd00(0x52c),this[_0x5dbd00(0x52c)]+''),this[_0x5dbd00(0x411)]();}[_0x518421(0x1f5)](){const _0x137344=this['getContextSvg']();return(_0x137344==null?void 0x0:_0x137344['includes'](UNDERLAY_BINDED_GA_PATH_ATTR))||(_0x137344==null?void 0x0:_0x137344['includes'](UNDERLAY_BINDED_GA_PATH_ATTR_LEGACY));}[_0x518421(0x1e0)](){const _0x5a9632=_0x518421,_0x50fe5b=this[_0x5a9632(0x531)]();if(!_0x50fe5b)return;this[_0x5a9632(0x194)]=createSvgElement(_0x50fe5b!=null?_0x50fe5b:''),this[_0x5a9632(0x378)]=!![],this[_0x5a9632(0x4a0)]=(_0x50fe5b==null?void 0x0:_0x50fe5b[_0x5a9632(0x4bd)](UNDERLAY_BINDED_GA_PATH_ATTR_LEGACY))?UNDERLAY_BINDED_GA_PATH_ATTR_LEGACY:UNDERLAY_BINDED_GA_PATH_ATTR;const _0x4ecf0f=this[_0x5a9632(0x194)][_0x5a9632(0x3d0)](_0x5a9632(0x259))||document['createElementNS'](_0x5a9632(0x297),'g');this[_0x5a9632(0x1d1)]=_0x4ecf0f[_0x5a9632(0x51c)](!![]),this[_0x5a9632(0x1d1)][_0x5a9632(0x178)]('id');const _0x47e174=this[_0x5a9632(0x1d1)][_0x5a9632(0x400)]('['+UNDERLAY_BINDED_GA_CSS_STYLES+']');_0x47e174[_0x5a9632(0x287)]&&_0x47e174[_0x5a9632(0x356)](_0x2ee281=>_0x2ee281[_0x5a9632(0x202)]());}[_0x518421(0x585)](){const _0x406ad5=_0x518421;if(!this[_0x406ad5(0x378)])return;this[_0x406ad5(0x61d)][_0x406ad5(0x35c)]='';const _0x370440=this[_0x406ad5(0x2b4)](),_0x4512e7=this['backgroundSVG'][_0x406ad5(0x1b1)](_0x406ad5(0x172));_0x4512e7&&this[_0x406ad5(0x61d)][_0x406ad5(0x12e)](_0x406ad5(0x172),_0x4512e7);this[_0x406ad5(0x61d)][_0x406ad5(0x27d)](this[_0x406ad5(0x1d1)]);const _0xdf4a33=document[_0x406ad5(0x625)](_0x406ad5(0x297),'g');this[_0x406ad5(0x309)](_0xdf4a33,_0x370440),this[_0x406ad5(0x61d)][_0x406ad5(0x27d)](_0xdf4a33),this[_0x406ad5(0x2ef)]=this[_0x406ad5(0x576)]();}[_0x518421(0x2b4)](){const _0x14b0fe=_0x518421,_0x15b093=Object[_0x14b0fe(0x17f)](this[_0x14b0fe(0x2b3)][_0x14b0fe(0xfc)]),_0x38aee3=this[_0x14b0fe(0x1d1)][_0x14b0fe(0x400)]('['+this[_0x14b0fe(0x4a0)]+']');return _0x38aee3[_0x14b0fe(0x356)](_0x4cc949=>{const _0x218fb2=_0x14b0fe;enrichElementWithData(_0x4cc949,_0x15b093,this['underlayBindedPathAttr'],this[_0x218fb2(0x2b3)]);}),_0x38aee3;}[_0x518421(0x375)](_0x3cb35f=[_0x518421(0x34b)]){const _0x4489a4=_0x518421;if(!this[_0x4489a4(0x61d)])return;const _0x52edea=[_0x4489a4(0x16b),'rect',_0x4489a4(0x233),_0x4489a4(0x47c),_0x4489a4(0x2a3),_0x4489a4(0x288),_0x4489a4(0x5df)];_0x52edea[_0x4489a4(0x356)](_0x2dfcfa=>{const _0x57b2f1=_0x4489a4,_0x5d6bd2=this[_0x57b2f1(0x61d)]['querySelectorAll'](_0x2dfcfa);_0x5d6bd2['forEach'](_0x4c01a5=>cleanupStyles(_0x4c01a5,_0x3cb35f));});}[_0x518421(0x21b)](){const _0x173f57=_0x518421;this[_0x173f57(0x61d)][_0x173f57(0x35c)]='',this['appendAutoAndGaOutlines'](this[_0x173f57(0x61d)]),this[_0x173f57(0x2ef)]=this[_0x173f57(0x576)]();}[_0x518421(0x309)](_0x4cb59a,_0x1ae5e5){const _0xcb356f=_0x518421,_0xb49653=this[_0xcb356f(0x531)]();if(!_0xb49653)return;this['appendAutoOutlines'](_0x4cb59a,_0xb49653,_0x1ae5e5),this[_0xcb356f(0x19f)](_0x4cb59a,_0xb49653);}['createOrGetOutlineShapes'](_0x593432,_0x578b28){const _0x383ad1=_0x518421;if(this['outlineShapes'])return this[_0x383ad1(0x5f8)];return this['outlineShapes']=getOutlinePaths(_0x593432,this[_0x383ad1(0x2b3)]['sectionsById']),Object[_0x383ad1(0x17f)](this['context'][_0x383ad1(0xfc)])[_0x383ad1(0x10b)](_0x3acd50=>!_0x3acd50['isGa'])[_0x383ad1(0x10b)](_0x5c7a72=>_0x578b28?!Array['from'](_0x578b28)[_0x383ad1(0x584)](_0x2f224c=>{const _0x3079ab=_0x383ad1;var _0x3e307c;return _0x2f224c[_0x3079ab(0x1b1)](DATA_GOS_ID)===((_0x3e307c=_0x5c7a72['id'])==null?void 0x0:_0x3e307c['toString']());}):!![])[_0x383ad1(0x356)](_0x9b54e3=>{const _0x204aa8=_0x383ad1;!this[_0x204aa8(0x5f8)][_0x9b54e3['id']]&&(this[_0x204aa8(0x5f8)][_0x9b54e3['id']]=this[_0x204aa8(0xf6)](_0x9b54e3));}),this[_0x383ad1(0x5f8)];}['appendAutoOutlines'](_0xeea5b9,_0x35e295,_0x118373){const _0x2e79f8=_0x518421,_0x18146e=this[_0x2e79f8(0x162)](_0x35e295,_0x118373);Object['keys'](_0x18146e)[_0x2e79f8(0x356)](_0xd50cb5=>{const _0x232076=_0x2e79f8,_0x135b60=Number(_0xd50cb5),_0x4bbf00=this[_0x232076(0x2b3)]['sectionsById'][_0x135b60];if(_0x4bbf00[_0x232076(0x19e)]&&this[_0x232076(0x2b3)]['settings'][_0x232076(0x43d)])return;const _0x2c81f9=this[_0x232076(0x2b3)]['seats']['find'](_0x595b94=>_0x595b94[_0x232076(0x1b5)]===_0x135b60&&_0x595b94[_0x232076(0x19e)]);if(!_0x2c81f9&&!this[_0x232076(0x2b3)]['settings'][_0x232076(0x43d)])return;_0xeea5b9['appendChild'](_0x18146e[_0x135b60]);});}[_0x518421(0x19f)](_0x3a59f2,_0x4556da){const _0xbc4834=_0x518421,_0x5f28c6=getGaGroups(_0x4556da,this[_0xbc4834(0x2b3)][_0xbc4834(0xfc)],this[_0xbc4834(0x2b3)][_0xbc4834(0x339)]);_0x5f28c6['forEach'](_0x27c780=>{const _0x241b63=_0xbc4834;_0x27c780[_0x241b63(0x169)][_0x241b63(0x2f0)](_0x241b63(0x61a)),_0x3a59f2[_0x241b63(0x27d)](_0x27c780);}),this[_0xbc4834(0x2b3)]['gaInfo']=this[_0xbc4834(0x227)](_0x5f28c6);}[_0x518421(0x576)](){const _0x1e2ca5=_0x518421,_0x41e65c={},_0x47b694=this[_0x1e2ca5(0x2b3)][_0x1e2ca5(0x107)]['getBoundingClientRect'](),_0x84be22=_0x47b694['top'],_0x36eea8=_0x47b694[_0x1e2ca5(0x267)],_0x589783={'x':this['context'][_0x1e2ca5(0x1e2)]['viewBox']['x']-this[_0x1e2ca5(0x2b3)][_0x1e2ca5(0x481)]['x']/this[_0x1e2ca5(0x2b3)]['scale'],'y':this['context'][_0x1e2ca5(0x1e2)][_0x1e2ca5(0x172)]['y']-this[_0x1e2ca5(0x2b3)][_0x1e2ca5(0x481)]['y']/this[_0x1e2ca5(0x2b3)][_0x1e2ca5(0x270)]},_0x5d537e=this[_0x1e2ca5(0x61d)][_0x1e2ca5(0x400)]('['+DATA_GOS_ID+_0x1e2ca5(0x188));_0x5d537e[_0x1e2ca5(0x356)](_0x4ff497=>{const _0x40a7f3=_0x1e2ca5;var _0xfea388;const _0x469828=(_0xfea388=_0x4ff497[_0x40a7f3(0x488)])==null?void 0x0:_0xfea388[_0x40a7f3(0x1b1)](DATA_GOS_ID);if(!_0x469828)return;_0x41e65c[_0x469828]=_0x4ff497[_0x40a7f3(0x410)]();});const _0x12e706=this[_0x1e2ca5(0x61d)][_0x1e2ca5(0x400)]('['+DATA_GOS_ID+']');return _0x12e706['forEach'](_0x4288d4=>{const _0x2ac3a0=_0x1e2ca5,_0x32e55f=_0x4288d4[_0x2ac3a0(0x1b1)](DATA_GOS_ID);if(!_0x32e55f)return;const _0x1bfdd6=_0x4288d4,_0x44a1ac=_0x1bfdd6[_0x2ac3a0(0x27b)]();_0x41e65c[_0x32e55f]={'x':(_0x44a1ac['x']-_0x36eea8)*DPR/this[_0x2ac3a0(0x2b3)][_0x2ac3a0(0x270)]+_0x589783['x'],'y':(_0x44a1ac['y']-_0x84be22)*DPR/this[_0x2ac3a0(0x2b3)][_0x2ac3a0(0x270)]+_0x589783['y'],'width':_0x44a1ac[_0x2ac3a0(0x28a)]*DPR/this[_0x2ac3a0(0x2b3)][_0x2ac3a0(0x270)],'height':_0x44a1ac['height']*DPR/this['context']['scale']};}),_0x41e65c;}[_0x518421(0xf6)](_0x4e46e7){const _0x310b16=_0x518421;let _0x30207b=this[_0x310b16(0x3ce)][_0x4e46e7['id']];!_0x30207b&&(_0x30207b=this[_0x310b16(0x34e)](_0x4e46e7),this['calculatedOutlineRects'][_0x4e46e7['id']]=_0x30207b);const _0x51a98c=document[_0x310b16(0x625)]('http://www.w3.org/2000/svg',_0x310b16(0x129));_0x51a98c['setAttribute'](_0x310b16(0x198),OUTLINE_CLASS),_0x51a98c[_0x310b16(0x12e)](DATA_GOS_ID,_0x30207b[_0x310b16(0x25d)]+''),_0x51a98c[_0x310b16(0x12e)]('rx','8'),_0x51a98c[_0x310b16(0x12e)]('x',_0x30207b['x']+''),_0x51a98c['setAttribute']('y',_0x30207b['y']+''),_0x51a98c[_0x310b16(0x12e)](_0x310b16(0x28a),_0x30207b[_0x310b16(0x28a)]+''),_0x51a98c[_0x310b16(0x12e)]('height',_0x30207b[_0x310b16(0x52c)]+'');if(_0x30207b[_0x310b16(0x56d)])_0x51a98c[_0x310b16(0x12e)]('transform',_0x30207b[_0x310b16(0x56d)]);return _0x51a98c;}[_0x518421(0x34e)](_0x17473f){const _0x4460dc=_0x518421,_0x5a7248=this[_0x4460dc(0x2b3)][_0x4460dc(0x339)]['filter'](_0x585881=>_0x585881['sectorId']===_0x17473f['id']);let _0x2b9b40,_0x23823a;if(_0x17473f[_0x4460dc(0x16c)]){const _0x36ea65=_0x17473f[_0x4460dc(0x16c)]/0xb4*Math['PI'],_0x127655=Math[_0x4460dc(0x58e)](-_0x36ea65),_0x1c8c54=Math[_0x4460dc(0x156)](-_0x36ea65);_0x2b9b40=_0x5a7248['map'](_0x2aa4cc=>_0x2aa4cc['x']*_0x1c8c54-_0x2aa4cc['y']*_0x127655),_0x23823a=_0x5a7248[_0x4460dc(0x52b)](_0x3e2e7e=>_0x3e2e7e['y']*_0x1c8c54+_0x3e2e7e['x']*_0x127655);}else _0x2b9b40=_0x5a7248['map'](_0x1b1cb3=>_0x1b1cb3['x']),_0x23823a=_0x5a7248[_0x4460dc(0x52b)](_0x5892d6=>_0x5892d6['y']);const _0x509ab7=Math[_0x4460dc(0x318)](..._0x2b9b40),_0x94adb0=Math['max'](..._0x2b9b40),_0x5b23b2=Math[_0x4460dc(0x318)](..._0x23823a),_0x4f47f1=Math[_0x4460dc(0x153)](..._0x23823a),_0x31304b=this['context']['underlay']['viewBox'],_0x2aec4d=theme_default[_0x4460dc(0x56c)]*1.5;return{'sectionId':_0x17473f['id'],'x':Math[_0x4460dc(0x424)](_0x509ab7-_0x2aec4d+_0x31304b['x']),'y':Math[_0x4460dc(0x424)](_0x5b23b2-_0x2aec4d+_0x31304b['y']),'width':Math[_0x4460dc(0x424)](_0x94adb0-_0x509ab7+_0x2aec4d*0x2),'height':Math['round'](_0x4f47f1-_0x5b23b2+_0x2aec4d*0x2),'transform':_0x17473f['angle']?_0x4460dc(0x39c)+_0x31304b['x']+'\x20'+_0x31304b['y']+_0x4460dc(0x5cc)+_0x17473f[_0x4460dc(0x16c)]+_0x4460dc(0x252)+-_0x31304b['x']+'\x20'+-_0x31304b['y']+')':void 0x0};}[_0x518421(0x489)](_0x472eb9){const _0x5a8d5f=_0x518421;(_0x472eb9!==void 0x0?_0x472eb9:this[_0x5a8d5f(0x2b3)][_0x5a8d5f(0x108)])?(this['svgElement'][_0x5a8d5f(0x169)][_0x5a8d5f(0x2f0)]('sm-eagle-view'),this[_0x5a8d5f(0x61d)]['style']['position']=_0x5a8d5f(0x362),this[_0x5a8d5f(0x61d)][_0x5a8d5f(0x1a9)][_0x5a8d5f(0x267)]='0',this['svgElement'][_0x5a8d5f(0x1a9)][_0x5a8d5f(0x28a)]=_0x5a8d5f(0x37e),this[_0x5a8d5f(0x61d)][_0x5a8d5f(0x1a9)][_0x5a8d5f(0x52c)]=_0x5a8d5f(0x37e)):this[_0x5a8d5f(0x61d)]['classList'][_0x5a8d5f(0x202)](_0x5a8d5f(0x534));}[_0x518421(0x411)](){const _0x6eac31=_0x518421;this[_0x6eac31(0x375)]([_0x6eac31(0x34b)]);const {scale:_0x9905dd,translate:_0xcb1f8a,underlay:_0x4cde8a}=this[_0x6eac31(0x2b3)],_0x3ddac9=window[_0x6eac31(0x4d1)],_0x2f6cd1=[(_0x4cde8a['viewBox']['x']*_0x9905dd-_0xcb1f8a['x'])/_0x9905dd,(_0x4cde8a[_0x6eac31(0x172)]['y']*_0x9905dd-_0xcb1f8a['y'])/_0x9905dd,this[_0x6eac31(0x28a)]/_0x9905dd*_0x3ddac9,this[_0x6eac31(0x52c)]/_0x9905dd*_0x3ddac9]['join']('\x20');this['svgElement']['setAttribute'](_0x6eac31(0x172),_0x2f6cd1),this[_0x6eac31(0x11e)](),this['context'][_0x6eac31(0x108)]&&(this[_0x6eac31(0x61d)][_0x6eac31(0x1a9)][_0x6eac31(0x514)]=_0x6eac31(0x362),this[_0x6eac31(0x61d)][_0x6eac31(0x1a9)][_0x6eac31(0x267)]='0',this[_0x6eac31(0x61d)][_0x6eac31(0x1a9)]['width']='100%',this[_0x6eac31(0x61d)]['style']['height']=_0x6eac31(0x37e)),this['show']();}['updateAnimationStep'](_0x1c2062,_0x7804b4){const _0x3bf365=_0x518421,{underlay:_0x1f1ce0}=this[_0x3bf365(0x2b3)],_0x3a4f28=window[_0x3bf365(0x4d1)],_0x4d4591=this[_0x3bf365(0x2b3)][_0x3bf365(0x270)]*_0x1c2062,_0xbe9c46=[_0x1f1ce0[_0x3bf365(0x172)]['x']-(this[_0x3bf365(0x2b3)][_0x3bf365(0x481)]['x']/this[_0x3bf365(0x2b3)][_0x3bf365(0x270)]+_0x7804b4['x']/_0x4d4591),_0x1f1ce0[_0x3bf365(0x172)]['y']-(this[_0x3bf365(0x2b3)][_0x3bf365(0x481)]['y']/this[_0x3bf365(0x2b3)][_0x3bf365(0x270)]+_0x7804b4['y']/_0x4d4591),this[_0x3bf365(0x28a)]/_0x4d4591*_0x3a4f28,this[_0x3bf365(0x52c)]/_0x4d4591*_0x3a4f28]['join']('\x20');this[_0x3bf365(0x61d)][_0x3bf365(0x12e)]('viewBox',_0xbe9c46),this['apply3DTransforms'](),this[_0x3bf365(0x53d)]();return;}['hide'](){const _0x34be34=_0x518421;this[_0x34be34(0x61d)][_0x34be34(0x1a9)][_0x34be34(0x1ba)]=_0x34be34(0x303);}[_0x518421(0x53d)](){const _0x3bca5a=_0x518421;this[_0x3bca5a(0x61d)]['style'][_0x3bca5a(0x1ba)]='visible';}[_0x518421(0x531)](){const _0x1312a7=_0x518421;return this[_0x1312a7(0x2b3)]['underlay'][_0x1312a7(0x21e)]||this[_0x1312a7(0x2b3)][_0x1312a7(0x1e2)]['svgString'];}[_0x518421(0x490)](){const _0x367c97=_0x518421;this[_0x367c97(0x411)]();}[_0x518421(0x11e)](){const _0x5f783f=_0x518421;if(!this[_0x5f783f(0x2b3)][_0x5f783f(0x4f0)]){this['svgElement'][_0x5f783f(0x1a9)][_0x5f783f(0x56d)]='',this[_0x5f783f(0x61d)][_0x5f783f(0x1a9)][_0x5f783f(0x2d3)]='';return;}const {rotationZ:_0x5dee13,tiltX:_0x15a3ff}=this[_0x5f783f(0x2b3)];this[_0x5f783f(0x61d)][_0x5f783f(0x1a9)]['transformOrigin']=getDefaultTransformOrigin(),this['svgElement'][_0x5f783f(0x1a9)][_0x5f783f(0x181)]=_0x5f783f(0x5d0);const _0x114ca0=this[_0x5f783f(0x28a)]/Math[_0x5f783f(0x153)](0x1,this[_0x5f783f(0x52c)]),_0x1409e3=buildCss3DTransform({'rotationZ':_0x5dee13,'perspectiveZ':0x0,'tiltX':_0x15a3ff},{'aspectRatio':_0x114ca0});this[_0x5f783f(0x61d)][_0x5f783f(0x1a9)][_0x5f783f(0x56d)]=_0x1409e3;}[_0x518421(0x626)](_0x40e9e9,_0x455806){const _0x40fa47=_0x518421;var _0x16c281;if(!_0x40e9e9)return;this[_0x40fa47(0x4d0)]&&this[_0x40fa47(0x4d0)]['parentElement']&&(this[_0x40fa47(0x4d0)]['parentElement'][_0x40fa47(0x221)](this[_0x40fa47(0x4d0)]),this['rowsOverlayElement']=void 0x0);const _0x80dddb=_0x40fa47(0x5b3)+_0x40e9e9+'</svg>',_0x25d0d1=createSvgElement(_0x80dddb),_0x58e8d3=_0x25d0d1['querySelector'](_0x40fa47(0x281));let _0x4b255b;if(_0x58e8d3)_0x4b255b=_0x58e8d3;else{if(_0x25d0d1['firstElementChild']){const _0x46dbaf=document['createElementNS']('http://www.w3.org/2000/svg','g');_0x46dbaf['setAttribute']('id',_0x40fa47(0x38e));while(_0x25d0d1[_0x40fa47(0x434)]){_0x46dbaf['appendChild'](_0x25d0d1[_0x40fa47(0x434)]);}_0x4b255b=_0x46dbaf;}else return;}if(_0x455806){const _0x19e745=document[_0x40fa47(0x625)](_0x40fa47(0x297),'style');_0x19e745['appendChild'](document[_0x40fa47(0x4f8)](_0x455806)),this[_0x40fa47(0x61d)][_0x40fa47(0x27d)](_0x19e745);}this[_0x40fa47(0x61d)][_0x40fa47(0x27d)](_0x4b255b),this[_0x40fa47(0x4d0)]=_0x4b255b;try{const _0x54638b=[],_0x2d58f8=_0x4b255b[_0x40fa47(0x400)](_0x40fa47(0x288)),_0x527680=(_0x16c281=this[_0x40fa47(0x2b3)]['underlay'])==null?void 0x0:_0x16c281[_0x40fa47(0x172)],_0x287a5a=_0x527680?-_0x527680['x']:0x0,_0x4b2be8=_0x527680?-_0x527680['y']:0x0;_0x2d58f8['forEach'](_0x51f159=>{const _0x3ceeee=_0x40fa47,_0x5741b4=_0x51f159[_0x3ceeee(0x1b1)]('points');if(!_0x5741b4)return;const _0x295020=[];_0x5741b4[_0x3ceeee(0x2a5)]()['split'](/\s+/)[_0x3ceeee(0x356)](_0x588f23=>{const _0x2a2fa2=_0x3ceeee,[_0x36259f,_0x3f0446]=_0x588f23[_0x2a2fa2(0x103)](','),_0x3cb7cc=parseFloat(_0x36259f),_0x57e74c=parseFloat(_0x3f0446);if(!isNaN(_0x3cb7cc)&&!isNaN(_0x57e74c))_0x295020[_0x2a2fa2(0x1be)]({'x':_0x3cb7cc+_0x287a5a,'y':_0x57e74c+_0x4b2be8});});if(_0x295020[_0x3ceeee(0x287)]<0x2)return;let _0x6d9f95;const _0x3ee452=_0x51f159['getAttribute']('stroke-width');if(_0x3ee452){const _0x5a3c9c=parseFloat(_0x3ee452['replace']('px',''));if(!isNaN(_0x5a3c9c))_0x6d9f95=_0x5a3c9c;}const _0x4998bc=_0x51f159['getAttribute'](_0x3ceeee(0x128))||void 0x0;_0x54638b[_0x3ceeee(0x1be)]({'points':_0x295020,'widthPx':_0x6d9f95,'color':_0x4998bc});}),_0x54638b[_0x40fa47(0x287)]&&(this[_0x40fa47(0x2b3)]['rowsPolylines']=_0x54638b,this['context'][_0x40fa47(0x208)]++);}catch(_0x422cef){console['warn'](_0x40fa47(0x493),_0x422cef);}}},getGaGroups=(_0x136bf8,_0x532cd2,_0x1a1c5f)=>{const _0x52ff60=_0x518421,_0x15abae=createSvgElement(_0x136bf8),_0x5ef4c8=_0x15abae[_0x52ff60(0x400)]('['+DATA_GOS_ID+']'),_0x3a9498=theme_default['gridStep'],_0x5d3f90=[];for(let _0x39cc52=0x0;_0x39cc52<_0x5ef4c8[_0x52ff60(0x287)];_0x39cc52++){const _0x2c4f95=_0x5ef4c8[_0x39cc52],_0x3c1adb=_0x2c4f95[_0x52ff60(0x1b1)](DATA_GOS_ID),_0xfcfc0b=_0x2c4f95[_0x52ff60(0x169)][_0x52ff60(0x3b3)]('sm-outline-auto');if(_0xfcfc0b)continue;if(!_0x3c1adb)continue;const _0x480e1e=_0x532cd2[+_0x3c1adb];if(_0x480e1e[_0x52ff60(0x147)]===_0x52ff60(0x552)&&_0x480e1e['priceId']){const _0x48e43c=_0x1a1c5f[_0x52ff60(0x10b)](_0x5f3a6a=>_0x5f3a6a['sectorId']===_0x480e1e['id']&&_0x5f3a6a[_0x52ff60(0x19e)]);if(_0x48e43c[_0x52ff60(0x287)]>0x0)continue;const _0x329949=_0x2c4f95[_0x52ff60(0x510)]==='g'?_0x2c4f95[_0x52ff60(0x49a)]:_0x2c4f95;_0x329949[_0x52ff60(0x12e)]('x',(+_0x329949[_0x52ff60(0x1b1)]('x')-0x2*_0x3a9498)[_0x52ff60(0x40f)]()),_0x329949[_0x52ff60(0x12e)]('y',(+_0x329949[_0x52ff60(0x1b1)]('y')-0x2*_0x3a9498)[_0x52ff60(0x40f)]()),_0x329949[_0x52ff60(0x12e)](_0x52ff60(0x28a),(+_0x329949[_0x52ff60(0x1b1)]('width')+0x4*_0x3a9498)[_0x52ff60(0x40f)]()),_0x329949[_0x52ff60(0x12e)](_0x52ff60(0x52c),(+_0x329949[_0x52ff60(0x1b1)](_0x52ff60(0x52c))+0x4*_0x3a9498)[_0x52ff60(0x40f)]());}if(_0x480e1e[_0x52ff60(0x147)]===_0x52ff60(0x552)&&!_0x480e1e[_0x52ff60(0x19e)])continue;_0x5d3f90[_0x52ff60(0x1be)](_0x2c4f95);}return _0x5d3f90;},getOutlinePaths=(_0x1a1a3c,_0x3ec6a2)=>{const _0x5ade3f=_0x518421,_0x5694cf=createSvgElement(_0x1a1a3c),_0x591dcc={},_0x2d9c9b=_0x5694cf[_0x5ade3f(0x3d0)]('sm-outlines');if(_0x2d9c9b){const _0x236d41=_0x2d9c9b[_0x5ade3f(0x400)]('['+DATA_GOS_ID+']');for(let _0x3822fa=0x0;_0x3822fa<_0x236d41[_0x5ade3f(0x287)];_0x3822fa++){const _0x594d89=_0x236d41[_0x3822fa],_0x462bca=Number(_0x594d89[_0x5ade3f(0x1b1)](DATA_GOS_ID));if(!_0x462bca||!_0x3ec6a2[_0x462bca])continue;_0x591dcc[_0x462bca]=_0x594d89;}}return _0x591dcc;},matrixStrToArray=_0x16ca62=>_0x16ca62[_0x518421(0x3d1)](0x7,_0x16ca62[_0x518421(0x287)]-0x1)[_0x518421(0x103)]('\x20')['map'](parseFloat);import _0xccb7c8 from'kdbush';var RendererTargetType=(_0x1c234e=>{const _0x19851a=_0x518421;return _0x1c234e[_0x19851a(0x539)]=_0x19851a(0x56b),_0x1c234e[_0x19851a(0x59a)]=_0x19851a(0x141),_0x1c234e;})(RendererTargetType||{}),RendererSelectMode=(_0x77afd4=>{const _0x2649da=_0x518421;return _0x77afd4[_0x2649da(0x5d4)]='replace',_0x77afd4['ADD']=_0x2649da(0x2f0),_0x77afd4[_0x2649da(0x5ea)]='subtract',_0x77afd4;})(RendererSelectMode||{}),SrcEventType=(_0x29db9b=>{const _0x4f84a3=_0x518421;return _0x29db9b[_0x4f84a3(0x1a8)]='srcDragStart',_0x29db9b['DRAG_MOVE']='srcDragMove',_0x29db9b[_0x4f84a3(0x16a)]=_0x4f84a3(0x29c),_0x29db9b[_0x4f84a3(0x447)]=_0x4f84a3(0x322),_0x29db9b[_0x4f84a3(0x16e)]='srcMouseMove',_0x29db9b;})(SrcEventType||{}),DestEventType=(_0x51b4b8=>{const _0x4ee238=_0x518421;return _0x51b4b8['PAN']='destPan',_0x51b4b8[_0x4ee238(0x1c1)]=_0x4ee238(0x321),_0x51b4b8['DESELECT']=_0x4ee238(0x491),_0x51b4b8['PAN_ZOOM']=_0x4ee238(0x143),_0x51b4b8[_0x4ee238(0x134)]=_0x4ee238(0x3b1),_0x51b4b8['SEAT_CART_SWITCH']=_0x4ee238(0x201),_0x51b4b8['SECTION_CLICK']='destSectionClick',_0x51b4b8['SEAT_MOUSE_ENTER']='destSeatMouseEnter',_0x51b4b8[_0x4ee238(0x112)]='destSectionMouseEnter',_0x51b4b8[_0x4ee238(0x32c)]=_0x4ee238(0x513),_0x51b4b8[_0x4ee238(0x258)]='destSectionMouseLeave',_0x51b4b8;})(DestEventType||{}),Context=class{constructor(_0x1d77df,_0x3f50b5,_0x386a52){const _0x237758=_0x518421;this[_0x237758(0x547)]=_0x386a52,this[_0x237758(0x1e1)]={},this[_0x237758(0x4dd)]={'seats':[],'ga':[]},this['gaCategories']={},this[_0x237758(0x5b1)]={},this[_0x237758(0x5a4)]={},this[_0x237758(0xf8)]=[],this[_0x237758(0x615)]=[],this[_0x237758(0x208)]=0x0,this['_pricesDTO']={},this['_selectedSeatIds']=[],this[_0x237758(0x2d1)]=[],this['_selectedAt']={},this[_0x237758(0x5db)]={},this['getPositionByOffset']=_0x4bb850=>({'x':(_0x4bb850['x']*window['devicePixelRatio']-this[_0x237758(0x481)]['x'])/this[_0x237758(0x270)],'y':(_0x4bb850['y']*window[_0x237758(0x4d1)]-this[_0x237758(0x481)]['y'])/this['scale']}),this['getOffsetByPosition']=_0x27b9f5=>({'x':Math[_0x237758(0x424)]((_0x27b9f5['x']*this[_0x237758(0x270)]+this[_0x237758(0x481)]['x'])/window[_0x237758(0x4d1)]),'y':Math[_0x237758(0x424)]((_0x27b9f5['y']*this[_0x237758(0x270)]+this[_0x237758(0x481)]['y'])/window[_0x237758(0x4d1)])}),this[_0x237758(0x283)]=_0x19ba1a=>{const _0x536a44=_0x237758,_0x3894e8=_0x19ba1a['id']?this[_0x536a44(0xea)][_0x19ba1a['id']]:this['findSeatByKey'](_0x19ba1a[_0x536a44(0x453)]);if(!_0x3894e8)return;return this['seatToCartSeat'](_0x3894e8,_0x19ba1a);},this[_0x237758(0x4c8)]=()=>{const _0x3dcd14=_0x237758;this[_0x3dcd14(0x4dd)][_0x3dcd14(0x339)][_0x3dcd14(0x356)](_0x4d2a3f=>{const _0x503348=_0x3dcd14,_0x19e777=this['seatsById'][_0x4d2a3f['id']];if(_0x19e777['priceId']||!_0x4d2a3f[_0x503348(0x4eb)])return;const _0x25082d=Object[_0x503348(0x17f)](this[_0x503348(0x5a4)])[_0x503348(0x584)](_0x569c01=>_0x569c01[_0x503348(0x23f)]===_0x4d2a3f[_0x503348(0x4eb)]+'');if(_0x25082d)_0x19e777['priceId']=_0x25082d['id'];if(_0x4d2a3f[_0x503348(0x20f)]&&!_0x19e777['special'])_0x19e777[_0x503348(0x20f)]=_0x4d2a3f[_0x503348(0x20f)];}),this[_0x3dcd14(0x4dd)]['ga'][_0x3dcd14(0x356)](_0x2aa622=>{const _0x589852=_0x3dcd14,_0x1852c1=this[_0x589852(0xfc)][_0x2aa622[_0x589852(0x1b5)]];if(_0x1852c1['priceId']||!_0x2aa622[_0x589852(0x4eb)])return;const _0x22769e=Object[_0x589852(0x17f)](this[_0x589852(0x5a4)])[_0x589852(0x584)](_0x2473ab=>_0x2473ab[_0x589852(0x23f)]===_0x2aa622[_0x589852(0x4eb)]+'');if(_0x22769e)_0x1852c1['priceId']=_0x22769e['id'];}),this[_0x3dcd14(0x547)]();},this['repairGa']=_0xd9f3f=>{const _0x34e31a=_0x237758;if(!_0xd9f3f[_0x34e31a(0x32d)])return;const _0x441eca=_0xd9f3f[_0x34e31a(0x1b5)]?this[_0x34e31a(0xfc)][_0xd9f3f[_0x34e31a(0x1b5)]]:Object[_0x34e31a(0x17f)](this[_0x34e31a(0xfc)])[_0x34e31a(0x584)](_0x53746d=>_0x53746d[_0x34e31a(0x23f)]===_0xd9f3f[_0x34e31a(0x453)]);if(!_0x441eca)return;return{'sectorId':_0x441eca['id'],'key':_0x441eca[_0x34e31a(0x23f)],'count':_0xd9f3f['count'],'price':_0xd9f3f[_0x34e31a(0x4eb)]};},this[_0x237758(0x260)]=(_0x4fbb28,_0x3fc9c4)=>{const _0x6ca5eb=_0x237758,_0x3ca79c=this[_0x6ca5eb(0xfc)][_0x4fbb28[_0x6ca5eb(0x1b5)]],_0x2b27e5=this['rowsById'][_0x4fbb28[_0x6ca5eb(0x59f)]],_0x32cbf2=[_0x3ca79c&&_0x3ca79c['name'],_0x2b27e5&&_0x2b27e5['rowNumber'],_0x4fbb28['name']][_0x6ca5eb(0x48b)](';;');return{'id':_0x4fbb28['id'],'key':_0x32cbf2,'price':(_0x3fc9c4==null?void 0x0:_0x3fc9c4[_0x6ca5eb(0x4eb)])!==void 0x0?_0x3fc9c4[_0x6ca5eb(0x4eb)]:_0x4fbb28[_0x6ca5eb(0x19e)]?parseInt(this[_0x6ca5eb(0x5a4)][Number(_0x4fbb28['priceId'])][_0x6ca5eb(0x23f)]):void 0x0,'special':(_0x3fc9c4==null?void 0x0:_0x3fc9c4[_0x6ca5eb(0x20f)])?_0x3fc9c4[_0x6ca5eb(0x20f)]:_0x4fbb28[_0x6ca5eb(0x20f)]};},this['seatToExtendedSeat']=_0x228d04=>{const _0x2992c8=_0x237758,_0x397e74=this[_0x2992c8(0xfc)][_0x228d04['sectorId']],_0x3faa6a=this[_0x2992c8(0x257)][_0x228d04[_0x2992c8(0x59f)]],_0x3652e4=this[_0x2992c8(0x4f6)](_0x228d04);return Object[_0x2992c8(0x2a4)](this[_0x2992c8(0x260)](_0x228d04),{'x':_0x3652e4['x'],'y':_0x3652e4['y'],'ax':_0x228d04['x'],'ay':_0x228d04['y'],'sectionId':_0x228d04['sectorId'],'sectorId':_0x228d04['sectorId'],'seatName':_0x228d04[_0x2992c8(0x23f)],'rowNumber':_0x3faa6a['rowNumber'],'sectionName':_0x397e74[_0x2992c8(0x23f)]});},this[_0x237758(0x27f)]=_0xf58ec=>getSeatByPosition(this[_0x237758(0x164)](_0xf58ec),this[_0x237758(0x339)],this[_0x237758(0x3d9)],this[_0x237758(0x398)][_0x237758(0x1ae)][_0x237758(0x111)]['hovered'][_0x237758(0x2c5)]),this[_0x237758(0x5e0)]=(_0x47f59a,_0x474d22)=>{const _0x1a3338=_0x237758,_0x362c7f=window[_0x1a3338(0x4d1)];if(this[_0x1a3338(0x4f0)]){const _0x160f89={'x':_0x47f59a['x']*_0x362c7f,'y':_0x47f59a['y']*_0x362c7f},_0x1ecf86={'width':_0x474d22[_0x1a3338(0x28a)]*_0x362c7f,'height':_0x474d22[_0x1a3338(0x52c)]*_0x362c7f},_0x171b00=unprojectPointFrom3DView(_0x160f89,_0x1ecf86,{'rotationZ':this['rotationZ'],'perspectiveZ':this[_0x1a3338(0x1d5)],'tiltX':this[_0x1a3338(0x1fb)]}),_0x34850d={'x':(_0x171b00['x']-this[_0x1a3338(0x481)]['x'])/this[_0x1a3338(0x270)],'y':(_0x171b00['y']-this[_0x1a3338(0x481)]['y'])/this[_0x1a3338(0x270)]};return getSeatByPosition(_0x34850d,this[_0x1a3338(0x339)],this[_0x1a3338(0x3d9)],this[_0x1a3338(0x398)][_0x1a3338(0x1ae)][_0x1a3338(0x111)][_0x1a3338(0x417)][_0x1a3338(0x2c5)]);}return getSeatByPosition(this[_0x1a3338(0x164)](_0x47f59a),this[_0x1a3338(0x339)],this[_0x1a3338(0x3d9)],this[_0x1a3338(0x398)][_0x1a3338(0x1ae)][_0x1a3338(0x111)]['hovered'][_0x1a3338(0x2c5)]);},this[_0x237758(0x107)]=_0x1d77df,this['settings']={..._0x3f50b5},this['seatImages']=this[_0x237758(0x620)](),this['enable3DView']=_0x3f50b5[_0x237758(0x4f0)]||![],this['rotationZ']=0x0,this[_0x237758(0x1d5)]=0x0,this[_0x237758(0x1fb)]=this['enable3DView']?0x0:0x0;}set['selectedSeatIds'](_0x33d5a5){const _0x5a262f=_0x518421;this[_0x5a262f(0x210)]=_0x33d5a5,this[_0x5a262f(0x1a0)]=void 0x0;}get[_0x518421(0x163)](){return this['_selectedSeatIds'];}set[_0x518421(0x1e8)](_0x98fad3){const _0x1335b7=_0x518421;this['_selectedGaId']=_0x98fad3,this[_0x1335b7(0x210)]=[];}get[_0x518421(0x1e8)](){const _0x328e4a=_0x518421;return this[_0x328e4a(0x1a0)];}[_0x518421(0x529)](){const _0x463933=_0x518421;this[_0x463933(0x107)][_0x463933(0x263)]()&&this[_0x463933(0x107)][_0x463933(0x29d)][_0x463933(0x356)](_0x5c8b28=>{const _0x48b800=_0x463933;this[_0x48b800(0x107)][_0x48b800(0x221)](_0x5c8b28);});}['setPricesDTO'](_0xa45a75){const _0xc54cef=_0x518421;this[_0xc54cef(0x36a)]=_0xa45a75;}[_0x518421(0x4c6)](){const _0x4270dc=_0x518421;return this[_0x4270dc(0x36a)];}[_0x518421(0x39e)](_0x16236b,_0x191fd1){const _0x2d622f=_0x518421;if(!_0x16236b)this[_0x2d622f(0x46c)]=void 0x0,this[_0x2d622f(0x419)]=void 0x0;else _0x191fd1?(this[_0x2d622f(0x419)]=this[_0x2d622f(0x257)][_0x16236b[_0x2d622f(0x59f)]],this[_0x2d622f(0x46c)]=void 0x0):(this[_0x2d622f(0x419)]=void 0x0,this['hoveredSeat']=_0x16236b);}[_0x518421(0x620)](){const _0x2cf665=_0x518421,_0x414774=this[_0x2cf665(0x398)][_0x2cf665(0x1ae)][_0x2cf665(0x316)];if(!_0x414774)return{};const _0x4ee281={};return Object['keys'](_0x414774)[_0x2cf665(0x356)](_0x2dad04=>{const _0x56b546=_0x2cf665,_0x8d36c2=new Image();_0x8d36c2[_0x56b546(0x48e)]=_0x56b546(0x412)+window['btoa'](_0x414774[_0x2dad04]),_0x8d36c2['onload']=()=>{const _0x5d9a0f=_0x56b546;_0x4ee281[_0x2dad04]=_0x8d36c2,!_0x8d36c2[_0x5d9a0f(0x28a)]&&(document[_0x5d9a0f(0x33d)][_0x5d9a0f(0x27d)](_0x8d36c2),_0x8d36c2[_0x5d9a0f(0x28a)]=_0x8d36c2[_0x5d9a0f(0x1d3)],_0x8d36c2[_0x5d9a0f(0x52c)]=_0x8d36c2[_0x5d9a0f(0x1b8)],document[_0x5d9a0f(0x33d)][_0x5d9a0f(0x221)](_0x8d36c2));},_0x8d36c2[_0x56b546(0x218)]=()=>{const _0x54b247=_0x56b546;console[_0x54b247(0x452)](_0x54b247(0x22d)+_0x2dad04+_0x54b247(0x291));};}),_0x4ee281;}[_0x518421(0x3c3)](_0x3e7aff){const _0x3036ef=_0x518421,_0x19cae9=_0x3e7aff[_0x3036ef(0x339)][_0x3036ef(0x52b)](this['repairSeat'])[_0x3036ef(0x10b)](Boolean),_0x4e51d4=_0x3e7aff['ga'][_0x3036ef(0x52b)](this[_0x3036ef(0x43f)])['filter'](Boolean);this[_0x3036ef(0x4dd)]={'seats':_0x19cae9,'ga':_0x4e51d4},this[_0x3036ef(0x4c8)]();}get['seats'](){const _0x405b40=_0x518421;return this[_0x405b40(0x4b9)];}set[_0x518421(0x339)](_0x26fd1f){const _0x502f14=_0x518421;this[_0x502f14(0x4b9)]=_0x26fd1f,this[_0x502f14(0x3d9)]=new _0xccb7c8(_0x26fd1f[_0x502f14(0x287)]),this[_0x502f14(0x4b9)][_0x502f14(0x356)](_0x3368cc=>{const _0x2100d6=_0x502f14;this[_0x2100d6(0x3d9)][_0x2100d6(0x2f0)](_0x3368cc['x'],_0x3368cc['y']);}),this['seatsIndex'][_0x502f14(0x2be)](),this[_0x502f14(0xea)]=arrayToObjectById(_0x26fd1f),this[_0x502f14(0x46e)]={},_0x26fd1f[_0x502f14(0x356)](_0x2acd0d=>{const _0x11d87f=_0x502f14;if(!this[_0x11d87f(0x46e)][_0x2acd0d[_0x11d87f(0x59f)]])this[_0x11d87f(0x46e)][_0x2acd0d[_0x11d87f(0x59f)]]=[];this[_0x11d87f(0x46e)][_0x2acd0d[_0x11d87f(0x59f)]][_0x11d87f(0x1be)](_0x2acd0d);});}['addGaToCart'](_0x4b114a){const _0x1af606=_0x518421,_0x291a18=this[_0x1af606(0x43f)](_0x4b114a);if(!_0x291a18)return;const _0x5511d1=this[_0x1af606(0x4dd)]['ga']['find'](_0x4745f6=>_0x4745f6[_0x1af606(0x1b5)]===_0x291a18[_0x1af606(0x1b5)]);_0x5511d1?(_0x5511d1[_0x1af606(0x32d)]+=_0x291a18[_0x1af606(0x32d)],_0x5511d1[_0x1af606(0x4eb)]=_0x291a18[_0x1af606(0x4eb)]!==void 0x0?_0x291a18[_0x1af606(0x4eb)]:_0x5511d1['price']):this['cart']['ga'][_0x1af606(0x1be)](_0x291a18),this['afterCartUpdate']();}[_0x518421(0xf9)](_0x50d50e){const _0xf9481=_0x518421,_0xd135ce=this[_0xf9481(0x4dd)]['ga'][_0xf9481(0x61e)](_0x42418c=>_0x42418c[_0xf9481(0x1b5)]===_0x50d50e[_0xf9481(0x1b5)]);if(_0xd135ce===-0x1)return;if(_0x50d50e[_0xf9481(0x4eb)]&&this['cart']['ga'][_0xd135ce][_0xf9481(0x4eb)]!==_0x50d50e[_0xf9481(0x4eb)])return;this[_0xf9481(0x4dd)]['ga'][_0xf9481(0x432)](_0xd135ce,0x1),this[_0xf9481(0x4c8)]();}[_0x518421(0x3f4)](){const _0x1ed11c=_0x518421,_0x3ee2de=performance[_0x1ed11c(0x12b)]();(this[_0x1ed11c(0x4dd)][_0x1ed11c(0x339)]||[])[_0x1ed11c(0x356)](_0x30a6e6=>{const _0x272c81=_0x1ed11c;if(_0x30a6e6['id'])this[_0x272c81(0x5db)][_0x30a6e6['id']]=_0x3ee2de;}),this[_0x1ed11c(0x3c3)]({'seats':[],'ga':[]});}[_0x518421(0x5e9)](_0x14c922){const _0xc21127=_0x518421,_0x157b0d=performance[_0xc21127(0x12b)]();this[_0xc21127(0x4dd)]['seats']=this[_0xc21127(0x4dd)][_0xc21127(0x339)][_0xc21127(0x10b)](_0x1f8424=>!_0x14c922[_0xc21127(0x4bd)](_0x1f8424['id'])),_0x14c922[_0xc21127(0x356)](_0x36b051=>{const _0x287c5c=_0xc21127;this[_0x287c5c(0x5db)][_0x36b051]=_0x157b0d,this[_0x287c5c(0xea)][_0x36b051]&&delete this[_0x287c5c(0xea)][_0x36b051][_0x287c5c(0x577)];}),this[_0xc21127(0x4c8)]();}[_0x518421(0x43e)](_0x6d0701){const _0x1f2b3b=_0x518421;this[_0x1f2b3b(0x360)][_0x6d0701]=performance[_0x1f2b3b(0x12b)](),this[_0x1f2b3b(0x5db)][_0x6d0701]&&delete this['_deselectedAt'][_0x6d0701];}[_0x518421(0x1f9)](_0xf50742){const _0x3dcfbc=_0x518421,_0x299121=_0xf50742['map'](this['repairSeat'])[_0x3dcfbc(0x10b)](Boolean);this[_0x3dcfbc(0x4dd)][_0x3dcfbc(0x339)]=[...this['cart'][_0x3dcfbc(0x339)],..._0x299121];const _0x207707=performance[_0x3dcfbc(0x12b)]();_0x299121['forEach'](_0xbe22a1=>{const _0x2519c5=_0x3dcfbc;if(_0xbe22a1['id']){this['_selectedAt'][_0xbe22a1['id']]=_0x207707;if(this[_0x2519c5(0x5db)][_0xbe22a1['id']])delete this[_0x2519c5(0x5db)][_0xbe22a1['id']];}}),this[_0x3dcfbc(0x4c8)]();}[_0x518421(0x3da)](_0x261379,_0xd6c7cd){const _0x21ada3=_0x518421,_0x2710ce=Math[_0x21ada3(0x318)](_0x261379['x'],_0x261379['x']+_0x261379[_0x21ada3(0x28a)]),_0x50a5a5=Math['max'](_0x261379['x'],_0x261379['x']+_0x261379[_0x21ada3(0x28a)]),_0x435c4e=Math['min'](_0x261379['y'],_0x261379['y']+_0x261379[_0x21ada3(0x52c)]),_0x4af6be=Math[_0x21ada3(0x153)](_0x261379['y'],_0x261379['y']+_0x261379[_0x21ada3(0x52c)]),_0x2311ec=this[_0x21ada3(0x3d9)]['range'](_0x2710ce,_0x435c4e,_0x50a5a5,_0x4af6be)[_0x21ada3(0x52b)](_0x26f2b6=>this[_0x21ada3(0x339)][_0x26f2b6]['id']);this['selectSeats'](_0x2311ec,_0xd6c7cd);}['selectSeats'](_0x10f896,_0x25c27d){const _0x3f3f98=_0x518421,_0x2a5722=this[_0x3f3f98(0x163)],_0x16aa43=_0x10f896;switch(_0x25c27d){case _0x3f3f98(0xf2):{this[_0x3f3f98(0x163)]=_0x16aa43;break;}case'add':{this[_0x3f3f98(0x163)]=[...new Set([..._0x2a5722,..._0x16aa43])];break;}case _0x3f3f98(0x182):{this[_0x3f3f98(0x163)]=_0x2a5722[_0x3f3f98(0x10b)](_0x3daadc=>!_0x16aa43[_0x3f3f98(0x4bd)](_0x3daadc));break;}}}['rectSelectRows'](_0x4780a8,_0x25acf0){const _0x2d8c7a=_0x518421,_0x3695c3=Math[_0x2d8c7a(0x318)](_0x4780a8['x'],_0x4780a8['x']+_0x4780a8[_0x2d8c7a(0x28a)]),_0x39d6f6=Math['max'](_0x4780a8['x'],_0x4780a8['x']+_0x4780a8['width']),_0x1dd924=Math['min'](_0x4780a8['y'],_0x4780a8['y']+_0x4780a8[_0x2d8c7a(0x52c)]),_0x5e2c60=Math[_0x2d8c7a(0x153)](_0x4780a8['y'],_0x4780a8['y']+_0x4780a8[_0x2d8c7a(0x52c)]);let _0x448844=this['seatsIndex']['range'](_0x3695c3,_0x1dd924,_0x39d6f6,_0x5e2c60)[_0x2d8c7a(0x52b)](_0x33be96=>this[_0x2d8c7a(0x339)][_0x33be96][_0x2d8c7a(0x59f)]);_0x448844=[...new Set(_0x448844)];const _0x31f712=_0x448844[_0x2d8c7a(0x52b)](_0x152b5f=>this[_0x2d8c7a(0x46e)][_0x152b5f]['map'](_0x427fd2=>_0x427fd2['id'])),_0x270e7e=[][_0x2d8c7a(0x444)](..._0x31f712);this[_0x2d8c7a(0x174)](_0x270e7e,_0x25acf0);}[_0x518421(0xef)](_0x215ddb){const _0x56d100=_0x518421,[_0x364d76,_0x35f982,_0x161756]=_0x215ddb[_0x56d100(0x103)](';;'),_0x510384=+_0x364d76,_0x4cbf85=_0x510384?this['sectionsById'][_0x510384]:Object['values'](this[_0x56d100(0xfc)])['find'](_0x3eee2b=>_0x3eee2b[_0x56d100(0x23f)]===_0x364d76);if(!_0x4cbf85)return;const _0xba660c=Object[_0x56d100(0x17f)](this['rowsById'])[_0x56d100(0x584)](_0x363635=>_0x363635[_0x56d100(0x1b5)]===_0x4cbf85['id']&&_0x363635['rowNumber']+''===_0x35f982);if(!_0xba660c)return;const _0x5cbf0d=this[_0x56d100(0x339)][_0x56d100(0x584)](_0x29168a=>_0x29168a[_0x56d100(0x1b5)]===_0x4cbf85['id']&&_0x29168a[_0x56d100(0x59f)]===_0xba660c['id']&&_0x29168a['name']===_0x161756);return _0x5cbf0d;}['getCart'](){const _0x4044fe=_0x518421;return JSON[_0x4044fe(0x3c4)](JSON[_0x4044fe(0x2bb)](this[_0x4044fe(0x4dd)]));}[_0x518421(0x34a)](_0x3d9ed7){const _0x23b55d=_0x518421;return!!this[_0x23b55d(0x4dd)][_0x23b55d(0x339)][_0x23b55d(0x584)](_0x2e92a6=>_0x2e92a6['id']===_0x3d9ed7);}[_0x518421(0x594)](_0x37c11f){const _0x1b86bf=_0x518421;return!!this[_0x1b86bf(0x4dd)]['ga']['find'](_0x58001b=>_0x58001b['sectorId']===_0x37c11f);}[_0x518421(0x29f)](_0x97cd39){const _0x349242=_0x518421;if(this[_0x349242(0x34a)](_0x97cd39))return;const _0x454c36=this[_0x349242(0x260)](this[_0x349242(0xea)][_0x97cd39]);this[_0x349242(0x4dd)][_0x349242(0x339)][_0x349242(0x1be)](_0x454c36),this[_0x349242(0x360)][_0x97cd39]=performance['now'](),this['_deselectedAt'][_0x97cd39]&&delete this[_0x349242(0x5db)][_0x97cd39];}[_0x518421(0x613)](_0x317e7f){const _0x2240d7=_0x518421,_0x562c45=this[_0x2240d7(0x4dd)][_0x2240d7(0x339)][_0x2240d7(0x61e)](_0x19b221=>_0x19b221['id']===_0x317e7f);_0x562c45!==-0x1&&this[_0x2240d7(0x4dd)][_0x2240d7(0x339)][_0x2240d7(0x432)](_0x562c45,0x1),this[_0x2240d7(0x5db)][_0x317e7f]=performance[_0x2240d7(0x12b)](),this[_0x2240d7(0x360)][_0x317e7f]&&delete this[_0x2240d7(0x360)][_0x317e7f];}['getCartSeats'](){const _0x5e78e5=_0x518421;if(!this[_0x5e78e5(0x4dd)][_0x5e78e5(0x339)][_0x5e78e5(0x287)])return[];const _0x4b7f04=this['cart'][_0x5e78e5(0x339)][_0x5e78e5(0x52b)](_0x24b0de=>_0x24b0de['id']||0x0);if(this['hoveredSeat']){const _0x18e9d1=_0x4b7f04['indexOf'](this['hoveredSeat']['id']);_0x18e9d1!==-0x1&&(_0x4b7f04[_0x5e78e5(0x432)](_0x18e9d1,0x1),_0x4b7f04[_0x5e78e5(0x1be)](this[_0x5e78e5(0x46c)]['id']));}const _0x132e87={};return this[_0x5e78e5(0x339)][_0x5e78e5(0x10b)](_0x47cc02=>_0x4b7f04['includes'](_0x47cc02['id']))[_0x5e78e5(0x356)](_0xd7dac9=>{_0x132e87[_0xd7dac9['id']]=_0xd7dac9;}),_0x4b7f04[_0x5e78e5(0x52b)](_0x2b2e3a=>_0x132e87[_0x2b2e3a])['filter'](_0x2e5a62=>_0x2e5a62);}[_0x518421(0x4bc)](){const _0x1c2672=_0x518421;return this['selectedSeatIds'][_0x1c2672(0x52b)](_0x197a71=>this[_0x1c2672(0xea)][_0x197a71]);}[_0x518421(0x4b8)](_0x1aae1a){const _0x5cf65e=_0x518421;var _0x58d906;(!(_0x1aae1a==null?void 0x0:_0x1aae1a[_0x5cf65e(0x287)])||(_0x1aae1a==null?void 0x0:_0x1aae1a[_0x5cf65e(0x287)])<0x1)&&Object[_0x5cf65e(0x17f)](this[_0x5cf65e(0xfc)])[_0x5cf65e(0x356)](_0x5c6daf=>{const _0x5b49a0=_0x5cf65e;_0x5c6daf[_0x5b49a0(0x175)]=![];});const _0x10780f=(_0x58d906=_0x1aae1a==null?void 0x0:_0x1aae1a[_0x5cf65e(0x52b)](_0x4b54f8=>{const _0x734bf5=_0x5cf65e;if(_0x4b54f8&&typeof _0x4b54f8===_0x734bf5(0x494))return this[_0x734bf5(0xfc)][_0x4b54f8][_0x734bf5(0x175)]=!![],_0x4b54f8;else{if(_0x4b54f8&&typeof _0x4b54f8===_0x734bf5(0x3ee)){const _0x52d5cb=Object['values'](this['sectionsById'])[_0x734bf5(0x584)](_0x2f4256=>_0x2f4256[_0x734bf5(0x23f)]===_0x4b54f8);if(_0x52d5cb)return _0x52d5cb[_0x734bf5(0x175)]=!![],_0x52d5cb['id'];}}return void 0x0;}))!=null?_0x58d906:null;return _0x10780f;}[_0x518421(0x4cf)](){const _0x13ef23=_0x518421;return Object['values'](this['sectionsById'])[_0x13ef23(0x10b)](_0x440fd6=>_0x440fd6[_0x13ef23(0x175)]);}[_0x518421(0x40d)](){const _0x9c24c=_0x518421;return Object['values'](this[_0x9c24c(0xfc)])[_0x9c24c(0x10b)](_0x226bd0=>_0x226bd0['isGa']);}[_0x518421(0x4f6)](_0x37fa2b){const _0x17f8b3=_0x518421,{scale:_0x19c759,translate:_0x4711fc}=this,_0x11afe0=window[_0x17f8b3(0x4d1)];return{'x':Math['round']((_0x37fa2b['x']*_0x19c759+_0x4711fc['x'])/_0x11afe0),'y':Math['round']((_0x37fa2b['y']*_0x19c759+_0x4711fc['y'])/_0x11afe0)};}},getSeatByPosition=(_0x3dabc8,_0x19c548,_0x494b1e,_0x9d21d5)=>{const _0xbe6698=_0x518421,_0x985471=_0x494b1e[_0xbe6698(0x105)](_0x3dabc8['x'],_0x3dabc8['y'],_0x9d21d5/0x2)[0x0];return _0x985471||_0x985471===0x0?_0x19c548[_0x985471]: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{[_0x518421(0x531)](){const _0x409dfc=_0x518421;return this[_0x409dfc(0x2b3)][_0x409dfc(0x1e2)]['outlineSvg']||this['context'][_0x409dfc(0x1e2)]['svgString'];}[_0x518421(0x59b)](){const _0x80315c=_0x518421,_0x160be2=this[_0x80315c(0x531)]();if(!_0x160be2)return;const _0x430800=createSvgElement(_0x160be2),_0x1fae21=_0x430800[_0x80315c(0x400)]('['+DATA_GOS_ID+']'),_0x535878={};for(let _0x46d864=0x0;_0x46d864<_0x1fae21[_0x80315c(0x287)];_0x46d864++){const _0x35cfe6=_0x1fae21[_0x46d864],_0x3b90cd=_0x35cfe6['getAttribute'](DATA_GOS_ID),_0x5a4b95=_0x35cfe6['getAttribute'](DATA_FONT_SCALE);_0x3b90cd&&_0x5a4b95&&(_0x535878[_0x3b90cd]=+_0x5a4b95);}this[_0x80315c(0x196)]=_0x535878;}[_0x518421(0x38f)](_0x579029){const _0x201c1e=_0x518421;this[_0x201c1e(0x1c9)]=_0x579029,this[_0x201c1e(0x3ef)]();}['hideSelectionRect'](){const _0x7764f2=_0x518421;this['selectionRect']=void 0x0,this[_0x7764f2(0x3ef)]();}['renderContent'](){const _0x143225=_0x518421,_0x3f187f=this[_0x143225(0x2b3)][_0x143225(0x398)][_0x143225(0x525)];if(!_0x3f187f){this[_0x143225(0x2b3)]['getCartSeats']()['forEach'](_0x476bc9=>this['renderSelectedSeat'](this['offscreenCtx'],_0x476bc9)),this[_0x143225(0x2b3)][_0x143225(0x4bc)]()['forEach'](_0x19bd9b=>this['renderSelectedSeat'](this[_0x143225(0x242)],_0x19bd9b));if(this[_0x143225(0x2b3)][_0x143225(0x419)])this[_0x143225(0x2b3)][_0x143225(0x46e)][this[_0x143225(0x2b3)][_0x143225(0x419)]['id']][_0x143225(0x356)](_0x52a4ab=>this[_0x143225(0x423)](this[_0x143225(0x242)],_0x52a4ab));else this[_0x143225(0x2b3)]['hoveredSeat']&&this['renderHoveredSeat'](this[_0x143225(0x242)],this[_0x143225(0x2b3)][_0x143225(0x46c)]);}this[_0x143225(0x422)](this[_0x143225(0x242)]),this[_0x143225(0x4f3)](this[_0x143225(0x242)]);}[_0x518421(0x53b)](_0x360edf,_0xde137d){const _0x201411=_0x518421;super[_0x201411(0x53b)](_0x360edf,_0xde137d);const _0x1aaa2b=this[_0x201411(0x4d3)],_0x4936e6=window[_0x201411(0x4d1)];_0x1aaa2b[_0x201411(0x4ba)](),_0x1aaa2b['textAlign']=_0x201411(0x267),_0x1aaa2b[_0x201411(0x301)]=_0x201411(0x4f4),_0x1aaa2b['font']=0x12*_0x4936e6+_0x201411(0x524),_0x1aaa2b[_0x201411(0x385)]=_0x201411(0x3ab),_0x1aaa2b['fillText'](atob(arr[_0x201411(0x48b)]('')),0x1e*_0x4936e6,(this[_0x201411(0x52c)]-0x1e)*_0x4936e6),_0x1aaa2b['restore'](),this['apply3DTransforms']();}[_0x518421(0x422)](_0x2a7294){const _0x4b5ec8=_0x518421,_0x322975=this[_0x4b5ec8(0x2b3)][_0x4b5ec8(0x2d1)],_0x2a75e2=this[_0x4b5ec8(0x2b3)][_0x4b5ec8(0x1e2)][_0x4b5ec8(0x172)],_0x15c6d9=this[_0x4b5ec8(0x2b3)][_0x4b5ec8(0x398)][_0x4b5ec8(0x1ae)];_0x2a7294[_0x4b5ec8(0x4ba)](),_0x2a7294[_0x4b5ec8(0x481)](-_0x2a75e2['x'],-_0x2a75e2['y']),_0x322975['forEach'](_0x1a98bf=>{const _0x4b4b4d=_0x4b5ec8;_0x2a7294[_0x4b4b4d(0x4ba)](),_0x2a7294[_0x4b4b4d(0x56d)](..._0x1a98bf['transform']);let _0x129f79=0x0;if(!_0x1a98bf['isTable']){const _0x261738=this[_0x4b4b4d(0x196)][_0x1a98bf['id']]||DEFAULT_FONT_SCALE,{size:_0x5498c3,opacity:_0x11fea4}=LABEL_STYLES[_0x261738]||LABEL_STYLES[DEFAULT_FONT_SCALE],_0x57d12a=-((_0x5498c3+_0x15c6d9['gridStep']+_0x15c6d9['seatStyles'][_0x4b4b4d(0x417)]['size'])/0x2),_0x164851=Math[_0x4b4b4d(0x424)](_0x57d12a+_0x5498c3/0x2);_0x129f79=Math[_0x4b4b4d(0x424)](_0x57d12a+_0x5498c3+_0x15c6d9[_0x4b4b4d(0x56c)]+_0x15c6d9[_0x4b4b4d(0x111)][_0x4b4b4d(0x417)][_0x4b4b4d(0x2c5)]/0x2),_0x2a7294[_0x4b4b4d(0x4c3)]=_0x4b4b4d(0x3be),_0x2a7294[_0x4b4b4d(0x301)]=_0x4b4b4d(0x2a2),_0x2a7294[_0x4b4b4d(0x5d7)]=_0x5498c3+_0x4b4b4d(0x524),_0x2a7294[_0x4b4b4d(0x385)]='rgba(0,\x200,\x200,\x20'+_0x11fea4+')',_0x2a7294[_0x4b4b4d(0x4ee)](_0x1a98bf[_0x4b4b4d(0x23f)],0x0,_0x164851);}const _0x156364=this['context'][_0x4b4b4d(0xfc)][_0x1a98bf['id']],_0x496c49={'id':-0x1,'sectorId':-0x1,'rowId':-0x1,'name':'','x':0x0,'y':_0x129f79,'priceId':_0x156364[_0x4b4b4d(0x19e)]};this[_0x4b4b4d(0x2b3)][_0x4b4b4d(0x344)][_0x1a98bf['id']]&&(_0x496c49['special']={'category':this[_0x4b4b4d(0x2b3)][_0x4b4b4d(0x344)][_0x1a98bf['id']]}),(!_0x1a98bf[_0x4b4b4d(0x4c9)]||_0x156364[_0x4b4b4d(0x19e)])&&(this[_0x4b4b4d(0x2b3)]['isSectionSelected'](_0x156364['id'])?this['renderSelectedSeat'](_0x2a7294,_0x496c49):this['renderSeat'](_0x2a7294,_0x496c49)),_0x2a7294[_0x4b4b4d(0x351)]();}),_0x2a7294[_0x4b5ec8(0x351)]();}['renderSelectionRect'](_0x14f81f){const _0x1fcd35=_0x518421;if(!this[_0x1fcd35(0x1c9)])return;const {x:_0x39bb62,y:_0x18b663,width:_0x79f0f6,height:_0x15d25c}=this[_0x1fcd35(0x1c9)];_0x14f81f[_0x1fcd35(0x4ba)](),_0x14f81f[_0x1fcd35(0x385)]=_0x1fcd35(0x31e),_0x14f81f[_0x1fcd35(0x129)](_0x39bb62,_0x18b663,_0x79f0f6,_0x15d25c),_0x14f81f[_0x1fcd35(0x34b)](),_0x14f81f[_0x1fcd35(0x351)]();}[_0x518421(0x11e)](){const _0x33d533=_0x518421;var _0x15267b;const _0x201c4a=(_0x15267b=this[_0x33d533(0x4d3)])==null?void 0x0:_0x15267b['canvas'];if(!_0x201c4a)return;if(!this[_0x33d533(0x2b3)][_0x33d533(0x4f0)]){_0x201c4a[_0x33d533(0x1a9)][_0x33d533(0x56d)]='',_0x201c4a[_0x33d533(0x1a9)][_0x33d533(0x2d3)]='';return;}const {rotationZ:_0x37a058,tiltX:_0x31512d}=this['context'];_0x201c4a[_0x33d533(0x1a9)][_0x33d533(0x2d3)]=getDefaultTransformOrigin();const _0x11194b=this[_0x33d533(0x28a)]/Math[_0x33d533(0x153)](0x1,this[_0x33d533(0x52c)]),_0x3d8d27=buildCss3DTransform({'rotationZ':_0x37a058,'perspectiveZ':0x0,'tiltX':_0x31512d},{'aspectRatio':_0x11194b});_0x201c4a[_0x33d533(0x1a9)][_0x33d533(0x56d)]=_0x3d8d27;}},DPR2=window[_0x518421(0x4d1)],_MinimapLayer=class _MinimapLayer{constructor(_0x1c7023,_0x201f1d){const _0x2699fd=_0x518421;this[_0x2699fd(0x347)]=0x1,this[_0x2699fd(0x15c)]=0x1,this['contentOffsetX']=0x0,this[_0x2699fd(0x442)]=0x0,this[_0x2699fd(0x468)]=null,this[_0x2699fd(0x36e)]=![],this['snapshotScalePxPerUnit']=null,this[_0x2699fd(0x1ff)]=null,this[_0x2699fd(0x54d)]=![],this[_0x2699fd(0x57b)]=null,this['handleClick']=_0x52bbaa=>{const _0x16524c=_0x2699fd;_0x52bbaa[_0x16524c(0x289)](),_0x52bbaa[_0x16524c(0x2cb)]();if(this['isDragging'])return;const _0x41cd02=_0x52bbaa[_0x16524c(0x2e7)][_0x16524c(0x27b)](),_0xb19703=(_0x52bbaa[_0x16524c(0x331)]-_0x41cd02[_0x16524c(0x267)])*DPR2,_0x1d6213=(_0x52bbaa[_0x16524c(0x565)]-_0x41cd02[_0x16524c(0x349)])*DPR2;this[_0x16524c(0x131)](_0xb19703,_0x1d6213,!![],!![]);},this[_0x2699fd(0x123)]=_0x3c2d24=>{const _0x443cf4=_0x2699fd;_0x3c2d24[_0x443cf4(0x289)](),_0x3c2d24[_0x443cf4(0x2cb)](),this['isDragging']=!![],this[_0x443cf4(0x376)][_0x443cf4(0x1a9)][_0x443cf4(0x3dc)]=_0x443cf4(0x456);const _0x2119ea=_0x3c2d24[_0x443cf4(0x2e7)][_0x443cf4(0x27b)](),_0x4006c5=(_0x3c2d24[_0x443cf4(0x331)]-_0x2119ea[_0x443cf4(0x267)])*DPR2,_0x26428e=(_0x3c2d24[_0x443cf4(0x565)]-_0x2119ea[_0x443cf4(0x349)])*DPR2,_0x3f8dba=this[_0x443cf4(0x475)](),_0x36de60=_0x3f8dba['x']+_0x3f8dba[_0x443cf4(0x28a)]/0x2,_0x3f5b6d=_0x3f8dba['y']+_0x3f8dba['height']/0x2;this['dragOffset']={'x':_0x4006c5-_0x36de60,'y':_0x26428e-_0x3f5b6d};},this[_0x2699fd(0x275)]=_0x16ced8=>{const _0x41ebab=_0x2699fd;this[_0x41ebab(0x54d)]&&(_0x16ced8[_0x41ebab(0x289)](),_0x16ced8[_0x41ebab(0x2cb)]());if(!this[_0x41ebab(0x54d)])return;const _0xf0668f=_0x16ced8[_0x41ebab(0x2e7)]['getBoundingClientRect'](),_0x5d64c4=(_0x16ced8[_0x41ebab(0x331)]-_0xf0668f[_0x41ebab(0x267)])*DPR2,_0x182909=(_0x16ced8[_0x41ebab(0x565)]-_0xf0668f[_0x41ebab(0x349)])*DPR2,_0x47c4a2=this[_0x41ebab(0x4f9)]||{'x':0x0,'y':0x0},_0x1fcfa1=_0x5d64c4-_0x47c4a2['x'],_0x1014c6=_0x182909-_0x47c4a2['y'];this[_0x41ebab(0x131)](_0x1fcfa1,_0x1014c6,!![],![]);},this['handleMouseUp']=()=>{const _0x44dc22=_0x2699fd;this[_0x44dc22(0x54d)]=![],this[_0x44dc22(0x376)]['style']['cursor']='pointer';};var _0x40f651,_0x1a2534,_0x7a4c95,_0x24e5b0,_0x77f791,_0x47d414,_0x24bd82,_0x5b41a,_0x3a2fd0,_0x23ed6d;this['context']=_0x1c7023,this[_0x2699fd(0xfa)]=_0x201f1d;const _0x5aa102=this[_0x2699fd(0x2b3)][_0x2699fd(0x398)][_0x2699fd(0x4a8)];this[_0x2699fd(0x45f)]={'position':_0x5aa102[_0x2699fd(0x514)]||_0x2699fd(0x19d),'width':_0x5aa102['width']||0xc8,'opacity':(_0x40f651=_0x5aa102[_0x2699fd(0x2e2)])!=null?_0x40f651:0.8,'backgroundColor':_0x5aa102[_0x2699fd(0x26d)]||((_0x1a2534=this[_0x2699fd(0x2b3)][_0x2699fd(0x398)]['theme'])==null?void 0x0:_0x1a2534['bgColor'])||_0x2699fd(0x589),'borderColor':_0x5aa102[_0x2699fd(0x5dc)]||((_0x47d414=(_0x77f791=(_0x24e5b0=(_0x7a4c95=this[_0x2699fd(0x2b3)][_0x2699fd(0x398)][_0x2699fd(0x1ae)])==null?void 0x0:_0x7a4c95['svgSectionStyles'])==null?void 0x0:_0x24e5b0['default'])==null?void 0x0:_0x77f791[_0x2699fd(0x128)])==null?void 0x0:_0x47d414[_0x2699fd(0x247)])||_0x2699fd(0x3bb),'viewportColor':_0x5aa102[_0x2699fd(0x177)]||'#FF5722','borderWidth':(_0x24bd82=_0x5aa102['borderWidth'])!=null?_0x24bd82:0x2,'margin':(_0x5b41a=_0x5aa102['margin'])!=null?_0x5b41a:0x10,'offscreenColor':_0x5aa102['offscreenColor']||_0x2699fd(0x393),'offscreenOpacity':(_0x3a2fd0=_0x5aa102[_0x2699fd(0x478)])!=null?_0x3a2fd0:0.4,'showCartPins':(_0x23ed6d=_0x5aa102[_0x2699fd(0x5e5)])!=null?_0x23ed6d:!![]},this[_0x2699fd(0x376)]=document['createElement'](_0x2699fd(0x376)),this['canvas']['style'][_0x2699fd(0x514)]=_0x2699fd(0x362),this[_0x2699fd(0x376)][_0x2699fd(0x1a9)][_0x2699fd(0x155)]=_0x2699fd(0x19a),this[_0x2699fd(0x376)][_0x2699fd(0x1a9)][_0x2699fd(0x4d6)]='auto',this[_0x2699fd(0x376)][_0x2699fd(0x1a9)][_0x2699fd(0x3dc)]=_0x2699fd(0x520),this[_0x2699fd(0x376)][_0x2699fd(0x1a9)][_0x2699fd(0x5ec)]=_0x2699fd(0x1df),this['canvas'][_0x2699fd(0x1a9)][_0x2699fd(0x1e3)]=_0x2699fd(0x389),this[_0x2699fd(0x376)][_0x2699fd(0x1a9)][_0x2699fd(0x2e2)]=this[_0x2699fd(0x45f)][_0x2699fd(0x2e2)][_0x2699fd(0x40f)](),this[_0x2699fd(0x4d3)]=this[_0x2699fd(0x376)][_0x2699fd(0x2ae)]('2d'),this[_0x2699fd(0x484)]=document[_0x2699fd(0x3db)](_0x2699fd(0x376)),this[_0x2699fd(0x484)]['style'][_0x2699fd(0x514)]=_0x2699fd(0x362),this[_0x2699fd(0x484)]['style'][_0x2699fd(0x155)]=_0x2699fd(0x1cb),this[_0x2699fd(0x484)]['style']['pointerEvents']=_0x2699fd(0x106),this[_0x2699fd(0x484)][_0x2699fd(0x1a9)][_0x2699fd(0x5ec)]='4px',this[_0x2699fd(0x484)]['style']['opacity']=this[_0x2699fd(0x45f)][_0x2699fd(0x2e2)][_0x2699fd(0x40f)](),this[_0x2699fd(0x42f)]=this[_0x2699fd(0x484)][_0x2699fd(0x2ae)]('2d'),this['updateSize'](),this['applyPosition'](),this['context'][_0x2699fd(0x107)][_0x2699fd(0x27d)](this[_0x2699fd(0x376)]),this[_0x2699fd(0x2b3)][_0x2699fd(0x107)][_0x2699fd(0x27d)](this[_0x2699fd(0x484)]),this[_0x2699fd(0x376)][_0x2699fd(0x1a9)][_0x2699fd(0x300)]=_0x2699fd(0x480),this[_0x2699fd(0x484)]['style'][_0x2699fd(0x300)]=_0x2699fd(0x480),this['addEventListeners']();}[_0x518421(0x515)](){const _0x759ec2=_0x518421;var _0x30a262;if(!((_0x30a262=this[_0x759ec2(0x2b3)][_0x759ec2(0x1e2)])==null?void 0x0:_0x30a262[_0x759ec2(0x172)]))return;const _0x1bd8ff=this[_0x759ec2(0x2b3)][_0x759ec2(0x1e2)][_0x759ec2(0x172)],_0x4bd103=_0x1bd8ff['height']/_0x1bd8ff[_0x759ec2(0x28a)];this[_0x759ec2(0x571)]=this[_0x759ec2(0x45f)]['width'],this['minimapHeight']=this[_0x759ec2(0x45f)][_0x759ec2(0x28a)]*_0x4bd103,this[_0x759ec2(0x376)][_0x759ec2(0x28a)]=this['minimapWidth']*DPR2,this[_0x759ec2(0x376)]['height']=this['minimapHeight']*DPR2,this[_0x759ec2(0x376)]['style'][_0x759ec2(0x28a)]=this[_0x759ec2(0x571)]+'px',this[_0x759ec2(0x376)][_0x759ec2(0x1a9)][_0x759ec2(0x52c)]=this[_0x759ec2(0x5f9)]+'px',this[_0x759ec2(0x484)][_0x759ec2(0x28a)]=this[_0x759ec2(0x571)]*DPR2,this['overlayCanvas'][_0x759ec2(0x52c)]=this['minimapHeight']*DPR2,this[_0x759ec2(0x484)][_0x759ec2(0x1a9)][_0x759ec2(0x28a)]=this['minimapWidth']+'px',this[_0x759ec2(0x484)][_0x759ec2(0x1a9)]['height']=this[_0x759ec2(0x5f9)]+'px',this[_0x759ec2(0x15c)]=Math[_0x759ec2(0x318)](this[_0x759ec2(0x376)][_0x759ec2(0x28a)]/_0x1bd8ff[_0x759ec2(0x28a)],this[_0x759ec2(0x376)][_0x759ec2(0x52c)]/_0x1bd8ff[_0x759ec2(0x52c)]),this[_0x759ec2(0x10c)]=(this[_0x759ec2(0x376)][_0x759ec2(0x28a)]-_0x1bd8ff[_0x759ec2(0x28a)]*this[_0x759ec2(0x15c)])/0x2,this[_0x759ec2(0x442)]=(this[_0x759ec2(0x376)][_0x759ec2(0x52c)]-_0x1bd8ff['height']*this[_0x759ec2(0x15c)])/0x2,this[_0x759ec2(0x347)]=this['contentScale'];}['applyPosition'](){const _0x15f74f=_0x518421,_0x2ee67c=this['config'][_0x15f74f(0x39b)]+'px';this[_0x15f74f(0x376)][_0x15f74f(0x1a9)][_0x15f74f(0x349)]=_0x15f74f(0x106),this[_0x15f74f(0x376)][_0x15f74f(0x1a9)][_0x15f74f(0x553)]='auto',this['canvas'][_0x15f74f(0x1a9)]['bottom']=_0x15f74f(0x106),this[_0x15f74f(0x376)][_0x15f74f(0x1a9)][_0x15f74f(0x267)]='auto',this['overlayCanvas'][_0x15f74f(0x1a9)][_0x15f74f(0x349)]=_0x15f74f(0x106),this['overlayCanvas'][_0x15f74f(0x1a9)][_0x15f74f(0x553)]=_0x15f74f(0x106),this[_0x15f74f(0x484)]['style'][_0x15f74f(0x4f4)]=_0x15f74f(0x106),this[_0x15f74f(0x484)]['style'][_0x15f74f(0x267)]='auto';switch(this['config'][_0x15f74f(0x514)]){case _0x15f74f(0x184):this['canvas'][_0x15f74f(0x1a9)]['top']=_0x2ee67c,this[_0x15f74f(0x376)][_0x15f74f(0x1a9)][_0x15f74f(0x267)]=_0x2ee67c,this[_0x15f74f(0x484)]['style'][_0x15f74f(0x349)]=_0x2ee67c,this['overlayCanvas'][_0x15f74f(0x1a9)][_0x15f74f(0x267)]=_0x2ee67c;break;case _0x15f74f(0x597):this[_0x15f74f(0x376)][_0x15f74f(0x1a9)][_0x15f74f(0x349)]=_0x2ee67c,this['canvas'][_0x15f74f(0x1a9)][_0x15f74f(0x553)]=_0x2ee67c,this[_0x15f74f(0x484)][_0x15f74f(0x1a9)][_0x15f74f(0x349)]=_0x2ee67c,this[_0x15f74f(0x484)]['style'][_0x15f74f(0x553)]=_0x2ee67c;break;case _0x15f74f(0x399):this[_0x15f74f(0x376)][_0x15f74f(0x1a9)]['bottom']=_0x2ee67c,this[_0x15f74f(0x376)][_0x15f74f(0x1a9)][_0x15f74f(0x267)]=_0x2ee67c,this[_0x15f74f(0x484)]['style'][_0x15f74f(0x4f4)]=_0x2ee67c,this['overlayCanvas']['style'][_0x15f74f(0x267)]=_0x2ee67c;break;case _0x15f74f(0x19d):this['canvas'][_0x15f74f(0x1a9)][_0x15f74f(0x4f4)]=_0x2ee67c,this[_0x15f74f(0x376)][_0x15f74f(0x1a9)][_0x15f74f(0x553)]=_0x2ee67c,this[_0x15f74f(0x484)][_0x15f74f(0x1a9)][_0x15f74f(0x4f4)]=_0x2ee67c,this[_0x15f74f(0x484)][_0x15f74f(0x1a9)][_0x15f74f(0x553)]=_0x2ee67c;break;}}[_0x518421(0x302)](_0x2c83e8){const _0x3406f9=_0x518421;this[_0x3406f9(0x468)]=_0x2c83e8,this['snapshotScalePxPerUnit']=null,this[_0x3406f9(0x1ff)]=null;const _0x18d592=()=>{const _0x29a8cc=_0x3406f9;this['isBackgroundReady']=!![],this[_0x29a8cc(0x26f)]();};this[_0x3406f9(0x468)][_0x3406f9(0x21f)]&&this['backgroundImage']['naturalWidth']>0x0?_0x18d592():(this[_0x3406f9(0x468)][_0x3406f9(0x10f)]=_0x18d592,this[_0x3406f9(0x468)][_0x3406f9(0x218)]=()=>{this['isBackgroundReady']=![];});}[_0x518421(0x3b2)](_0x3497e8,_0xf5f4d0){const _0x1f2817=_0x518421;this[_0x1f2817(0x468)]=_0x3497e8,this[_0x1f2817(0x437)]=_0xf5f4d0[_0x1f2817(0x270)],this[_0x1f2817(0x1ff)]={'x':_0xf5f4d0[_0x1f2817(0x481)]['x'],'y':_0xf5f4d0[_0x1f2817(0x481)]['y']};const _0x3ba94d=()=>{this['isBackgroundReady']=!![],this['drawBackground']();};this['backgroundImage'][_0x1f2817(0x21f)]&&this[_0x1f2817(0x468)][_0x1f2817(0x2ba)]>0x0?_0x3ba94d():(this['backgroundImage']['onload']=_0x3ba94d,this[_0x1f2817(0x468)][_0x1f2817(0x218)]=()=>{this['isBackgroundReady']=![];});}['drawBackground'](){const _0x2a6895=_0x518421;if(!this[_0x2a6895(0x36e)]||!this[_0x2a6895(0x468)])return;this['ctx'][_0x2a6895(0x4ba)](),this[_0x2a6895(0x4d3)][_0x2a6895(0x44a)](0x0,0x0,this[_0x2a6895(0x376)][_0x2a6895(0x28a)],this[_0x2a6895(0x376)][_0x2a6895(0x52c)]),this[_0x2a6895(0x4d3)]['fillStyle']=this[_0x2a6895(0x45f)][_0x2a6895(0x26d)],this[_0x2a6895(0x4d3)]['fillRect'](0x0,0x0,this[_0x2a6895(0x376)][_0x2a6895(0x28a)],this['canvas'][_0x2a6895(0x52c)]);const _0x2af0d0=this[_0x2a6895(0x2b3)][_0x2a6895(0x1e2)][_0x2a6895(0x172)];if(this[_0x2a6895(0x468)]['complete']&&this['backgroundImage'][_0x2a6895(0x28a)]>0x0){const _0x7c2787=this[_0x2a6895(0x10c)],_0x13c64e=this[_0x2a6895(0x442)],_0x43e06b=_0x2af0d0[_0x2a6895(0x28a)]*this[_0x2a6895(0x15c)],_0x215e9c=_0x2af0d0[_0x2a6895(0x52c)]*this[_0x2a6895(0x15c)];if(this[_0x2a6895(0x437)]&&this[_0x2a6895(0x1ff)]){const _0x2013b1=Math['max'](0x0,this['snapshotTranslatePx']['x']),_0x3adf03=Math[_0x2a6895(0x153)](0x0,this[_0x2a6895(0x1ff)]['y']),_0x19526c=Math[_0x2a6895(0x318)](this[_0x2a6895(0x468)][_0x2a6895(0x2ba)]-_0x2013b1,_0x2af0d0[_0x2a6895(0x28a)]*this[_0x2a6895(0x437)]),_0x1ad516=Math[_0x2a6895(0x318)](this['backgroundImage']['naturalHeight']-_0x3adf03,_0x2af0d0[_0x2a6895(0x52c)]*this['snapshotScalePxPerUnit']);this['ctx'][_0x2a6895(0x3a7)](this[_0x2a6895(0x468)],_0x2013b1,_0x3adf03,Math['max'](0x1,_0x19526c),Math['max'](0x1,_0x1ad516),_0x7c2787,_0x13c64e,_0x43e06b,_0x215e9c);}else this['ctx'][_0x2a6895(0x3a7)](this[_0x2a6895(0x468)],_0x7c2787,_0x13c64e,_0x43e06b,_0x215e9c);}this[_0x2a6895(0x4d3)][_0x2a6895(0x351)](),this[_0x2a6895(0x4d3)][_0x2a6895(0x42a)]=this[_0x2a6895(0x45f)][_0x2a6895(0x5dc)],this[_0x2a6895(0x4d3)][_0x2a6895(0x3b7)]=this[_0x2a6895(0x45f)]['borderWidth'],this['ctx']['strokeRect'](this['config']['borderWidth']/0x2,this[_0x2a6895(0x45f)]['borderWidth']/0x2,this[_0x2a6895(0x376)][_0x2a6895(0x28a)]-this[_0x2a6895(0x45f)][_0x2a6895(0x206)],this[_0x2a6895(0x376)][_0x2a6895(0x52c)]-this['config']['borderWidth']);}[_0x518421(0x475)](){const _0x4b4370=_0x518421,_0x2996df=this[_0x4b4370(0x2b3)][_0x4b4370(0x107)]['clientWidth'],_0x55f814=this[_0x4b4370(0x2b3)][_0x4b4370(0x107)][_0x4b4370(0x39f)],_0x3af4b0=this[_0x4b4370(0x2b3)][_0x4b4370(0x270)],_0x1ed112=this['context'][_0x4b4370(0x481)],_0x5881ff=[{'x':0x0,'y':0x0},{'x':_0x2996df,'y':0x0},{'x':_0x2996df,'y':_0x55f814},{'x':0x0,'y':_0x55f814}];let _0x3c8864;if(this['context'][_0x4b4370(0x4f0)]){const _0x3d5758=(this[_0x4b4370(0x2b3)][_0x4b4370(0x183)]||0x0)+Math['PI']/0x2;_0x3c8864=_0x5881ff[_0x4b4370(0x52b)](_0x3c4661=>{const _0xf2cc91=_0x4b4370,_0x377483=unprojectPointFrom3DView(_0x3c4661,{'width':_0x2996df,'height':_0x55f814},{'rotationZ':_0x3d5758,'perspectiveZ':this[_0xf2cc91(0x2b3)][_0xf2cc91(0x1d5)]||0x0,'tiltX':this[_0xf2cc91(0x2b3)][_0xf2cc91(0x1fb)]||0x0});return{'x':(_0x377483['x']*DPR2-_0x1ed112['x'])/_0x3af4b0,'y':(_0x377483['y']*DPR2-_0x1ed112['y'])/_0x3af4b0};});}else _0x3c8864=_0x5881ff['map'](_0xf41dd5=>({'x':(_0xf41dd5['x']*DPR2-_0x1ed112['x'])/_0x3af4b0,'y':(_0xf41dd5['y']*DPR2-_0x1ed112['y'])/_0x3af4b0}));const _0x569608=_0x3c8864[_0x4b4370(0x52b)](_0x11696d=>_0x11696d['x']),_0x2a09b7=_0x3c8864['map'](_0x597c1f=>_0x597c1f['y']),_0x23f5fc=Math['min'](..._0x569608),_0x4e4dca=Math[_0x4b4370(0x153)](..._0x569608),_0x314907=Math[_0x4b4370(0x318)](..._0x2a09b7),_0x22016e=Math[_0x4b4370(0x153)](..._0x2a09b7),_0x2c8be0=_0x3c8864[_0x4b4370(0x52b)](_0x2c890e=>({'x':this[_0x4b4370(0x10c)]+_0x2c890e['x']*this[_0x4b4370(0x15c)],'y':this[_0x4b4370(0x442)]+_0x2c890e['y']*this[_0x4b4370(0x15c)]}));return{'x':this[_0x4b4370(0x10c)]+_0x23f5fc*this[_0x4b4370(0x15c)],'y':this['contentOffsetY']+_0x314907*this['contentScale'],'width':(_0x4e4dca-_0x23f5fc)*this[_0x4b4370(0x15c)],'height':(_0x22016e-_0x314907)*this[_0x4b4370(0x15c)],'corners':_0x2c8be0};}[_0x518421(0x365)](){const _0x419dcc=_0x518421;this[_0x419dcc(0x42f)][_0x419dcc(0x44a)](0x0,0x0,this[_0x419dcc(0x484)][_0x419dcc(0x28a)],this[_0x419dcc(0x484)]['height']);const _0x505d1e=this[_0x419dcc(0x475)]();this[_0x419dcc(0x42f)][_0x419dcc(0x4ba)]();const _0x8913d5=this[_0x419dcc(0x45f)][_0x419dcc(0x191)],_0x11866e=Math[_0x419dcc(0x153)](0x0,Math[_0x419dcc(0x318)](0x1,this[_0x419dcc(0x45f)][_0x419dcc(0x478)]));this[_0x419dcc(0x42f)][_0x419dcc(0x4ba)](),this[_0x419dcc(0x42f)]['globalAlpha']=_0x11866e,this['overlayCtx'][_0x419dcc(0x385)]=_0x8913d5;if(this[_0x419dcc(0x2b3)]['enable3DView']&&_0x505d1e[_0x419dcc(0x3e7)][_0x419dcc(0x287)]===0x4){this[_0x419dcc(0x42f)][_0x419dcc(0x4df)](),this['overlayCtx']['rect'](0x0,0x0,this[_0x419dcc(0x484)][_0x419dcc(0x28a)],this[_0x419dcc(0x484)]['height']),this[_0x419dcc(0x42f)][_0x419dcc(0x526)](_0x505d1e[_0x419dcc(0x3e7)][0x0]['x'],_0x505d1e[_0x419dcc(0x3e7)][0x0]['y']);for(let _0x515e2f=0x1;_0x515e2f<_0x505d1e[_0x419dcc(0x3e7)][_0x419dcc(0x287)];_0x515e2f++){this[_0x419dcc(0x42f)]['lineTo'](_0x505d1e[_0x419dcc(0x3e7)][_0x515e2f]['x'],_0x505d1e[_0x419dcc(0x3e7)][_0x515e2f]['y']);}this['overlayCtx']['closePath'](),this[_0x419dcc(0x42f)][_0x419dcc(0x34b)](_0x419dcc(0x17b)),this[_0x419dcc(0x42f)][_0x419dcc(0x1cc)]=0x1,this[_0x419dcc(0x42f)][_0x419dcc(0x42a)]=this['config'][_0x419dcc(0x177)],this[_0x419dcc(0x42f)][_0x419dcc(0x3b7)]=0x2,this[_0x419dcc(0x42f)][_0x419dcc(0x4df)](),this['overlayCtx'][_0x419dcc(0x526)](_0x505d1e[_0x419dcc(0x3e7)][0x0]['x'],_0x505d1e[_0x419dcc(0x3e7)][0x0]['y']);for(let _0x287226=0x1;_0x287226<_0x505d1e[_0x419dcc(0x3e7)]['length'];_0x287226++){this[_0x419dcc(0x42f)]['lineTo'](_0x505d1e[_0x419dcc(0x3e7)][_0x287226]['x'],_0x505d1e[_0x419dcc(0x3e7)][_0x287226]['y']);}this[_0x419dcc(0x42f)][_0x419dcc(0x49b)](),this[_0x419dcc(0x42f)][_0x419dcc(0x128)](),this['drawViewportDirectionArrow'](_0x505d1e);}else{this[_0x419dcc(0x42f)][_0x419dcc(0x46d)](0x0,0x0,this['overlayCanvas']['width'],Math[_0x419dcc(0x153)](0x0,_0x505d1e['y']));const _0x3c1689=_0x505d1e['y']+_0x505d1e[_0x419dcc(0x52c)];this[_0x419dcc(0x42f)][_0x419dcc(0x46d)](0x0,_0x3c1689,this[_0x419dcc(0x484)][_0x419dcc(0x28a)],this[_0x419dcc(0x484)]['height']-_0x3c1689),this[_0x419dcc(0x42f)][_0x419dcc(0x46d)](0x0,_0x505d1e['y'],Math[_0x419dcc(0x153)](0x0,_0x505d1e['x']),_0x505d1e['height']);const _0x1d67e1=_0x505d1e['x']+_0x505d1e[_0x419dcc(0x28a)];this['overlayCtx'][_0x419dcc(0x46d)](_0x1d67e1,_0x505d1e['y'],this[_0x419dcc(0x484)][_0x419dcc(0x28a)]-_0x1d67e1,_0x505d1e[_0x419dcc(0x52c)]),this['overlayCtx'][_0x419dcc(0x1cc)]=0x1,this[_0x419dcc(0x42f)][_0x419dcc(0x42a)]=this[_0x419dcc(0x45f)]['viewportColor'],this['overlayCtx'][_0x419dcc(0x3b7)]=0x2,this[_0x419dcc(0x42f)][_0x419dcc(0x22c)](_0x505d1e['x'],_0x505d1e['y'],_0x505d1e[_0x419dcc(0x28a)],_0x505d1e['height']),this[_0x419dcc(0x593)](_0x505d1e);}this['overlayCtx'][_0x419dcc(0x351)](),this[_0x419dcc(0x42f)][_0x419dcc(0x351)](),this[_0x419dcc(0x45f)]['showCartPins']&&this['drawCartSeatPins']();}['drawViewportDirectionArrow'](_0x15abfd){const _0x5804d3=_0x518421;if(this[_0x5804d3(0x4b5)](_0x15abfd))return;const _0x577a4b=this['context'][_0x5804d3(0x183)]||0x0;if(Math['abs'](_0x577a4b)<0.0001)return;const _0x17b1ce=this[_0x5804d3(0x42f)];let _0x2732fc,_0x3cd5ed;this[_0x5804d3(0x2b3)][_0x5804d3(0x4f0)]&&_0x15abfd[_0x5804d3(0x3e7)]&&_0x15abfd['corners'][_0x5804d3(0x287)]===0x4?(_0x2732fc=(_0x15abfd[_0x5804d3(0x3e7)][0x0]['x']+_0x15abfd[_0x5804d3(0x3e7)][0x1]['x']+_0x15abfd[_0x5804d3(0x3e7)][0x2]['x']+_0x15abfd[_0x5804d3(0x3e7)][0x3]['x'])/0x4,_0x3cd5ed=(_0x15abfd['corners'][0x0]['y']+_0x15abfd['corners'][0x1]['y']+_0x15abfd[_0x5804d3(0x3e7)][0x2]['y']+_0x15abfd[_0x5804d3(0x3e7)][0x3]['y'])/0x4):(_0x2732fc=_0x15abfd['x']+_0x15abfd['width']/0x2,_0x3cd5ed=_0x15abfd['y']+_0x15abfd['height']/0x2);const _0x278be5=Math[_0x5804d3(0x153)](0xa*DPR2,Math[_0x5804d3(0x318)](_0x15abfd[_0x5804d3(0x28a)],_0x15abfd[_0x5804d3(0x52c)])*0.25),_0xe43807=Math[_0x5804d3(0x153)](0x3*DPR2,Math[_0x5804d3(0x318)](_0x15abfd[_0x5804d3(0x28a)],_0x15abfd[_0x5804d3(0x52c)])*0.12);_0x17b1ce[_0x5804d3(0x4ba)](),_0x17b1ce['translate'](_0x2732fc,_0x3cd5ed),_0x17b1ce['rotate'](-_0x577a4b),_0x17b1ce[_0x5804d3(0x4df)](),_0x17b1ce[_0x5804d3(0x526)](0x0,0x0),_0x17b1ce[_0x5804d3(0x14c)](0x0,-_0x278be5),_0x17b1ce['strokeStyle']=this[_0x5804d3(0x45f)][_0x5804d3(0x177)],_0x17b1ce[_0x5804d3(0x3b7)]=Math[_0x5804d3(0x153)](0x2,1.5*DPR2),_0x17b1ce[_0x5804d3(0x128)](),_0x17b1ce[_0x5804d3(0x4df)](),_0x17b1ce['moveTo'](0x0,-_0x278be5),_0x17b1ce[_0x5804d3(0x14c)](-_0xe43807*0.5,-_0x278be5+_0xe43807),_0x17b1ce[_0x5804d3(0x526)](0x0,-_0x278be5),_0x17b1ce[_0x5804d3(0x14c)](_0xe43807*0.5,-_0x278be5+_0xe43807),_0x17b1ce[_0x5804d3(0x128)]();const _0x42e4d5=Math[_0x5804d3(0x22a)](this[_0x5804d3(0x2b3)][_0x5804d3(0x1fb)]||0x0);if(_0x42e4d5>0.001){const _0x4e2d5a=-_0x278be5*0.4,_0x5c196c=Math[_0x5804d3(0x318)](_0x278be5*0.5,0x6*DPR2+_0x42e4d5*0x14);_0x17b1ce[_0x5804d3(0x4df)](),_0x17b1ce[_0x5804d3(0x526)](-_0x5c196c,_0x4e2d5a),_0x17b1ce[_0x5804d3(0x14c)](_0x5c196c,_0x4e2d5a),_0x17b1ce[_0x5804d3(0x3b7)]=Math[_0x5804d3(0x153)](0x1,DPR2),_0x17b1ce[_0x5804d3(0x42a)]=_0x5804d3(0x22f),_0x17b1ce[_0x5804d3(0x128)]();}_0x17b1ce[_0x5804d3(0x351)]();}[_0x518421(0x4b5)](_0x23d745){const _0x2fa561=_0x518421,_0x39c599=this[_0x2fa561(0x484)][_0x2fa561(0x28a)]*this['overlayCanvas'][_0x2fa561(0x52c)];let _0x2e5d2b;if(this[_0x2fa561(0x2b3)][_0x2fa561(0x4f0)]&&_0x23d745['corners']&&_0x23d745['corners']['length']===0x4){const _0x704049=_0x23d745['corners'];let _0x1ca5e9=0x0;for(let _0x518ff1=0x0;_0x518ff1<_0x704049['length'];_0x518ff1++){const _0x2c5fad=_0x704049[_0x518ff1],_0x5c8a18=_0x704049[(_0x518ff1+0x1)%_0x704049[_0x2fa561(0x287)]];_0x1ca5e9+=_0x2c5fad['x']*_0x5c8a18['y']-_0x5c8a18['x']*_0x2c5fad['y'];}_0x2e5d2b=Math['abs'](_0x1ca5e9)/0x2;}else _0x2e5d2b=Math[_0x2fa561(0x153)](0x0,_0x23d745[_0x2fa561(0x28a)])*Math[_0x2fa561(0x153)](0x0,_0x23d745[_0x2fa561(0x52c)]);return _0x2e5d2b>=_0x39c599*0.95;}[_0x518421(0x4b7)](){const _0xe7535=_0x518421;var _0x4f3e2e,_0x143e7e,_0x54f825;if(!this[_0xe7535(0x2b3)][_0xe7535(0x339)]||this[_0xe7535(0x2b3)]['seats']['length']===0x0)return;const _0x329ca5=this['overlayCtx'],_0x4fb3b5=this[_0xe7535(0x2b3)][_0xe7535(0x398)][_0xe7535(0x1ae)],_0x54dc71=Math['max'](0x1,DPR2),_0x187b0b=Math[_0xe7535(0x153)](0x10*DPR2,0x14*DPR2),_0xe0648b=_MinimapLayer[_0xe7535(0x433)];for(const _0x131431 of this[_0xe7535(0x2b3)][_0xe7535(0x339)]){if(!this['context'][_0xe7535(0x34a)](_0x131431['id']))continue;const _0x45069a=_0x131431['x']*this[_0xe7535(0x347)],_0x5e81a7=_0x131431['y']*this[_0xe7535(0x347)],_0x4f2a37=_0x187b0b/_0xe0648b;_0x329ca5[_0xe7535(0x4ba)](),_0x329ca5['translate'](_0x45069a,_0x5e81a7),_0x329ca5[_0xe7535(0x270)](_0x4f2a37,_0x4f2a37),_0x329ca5[_0xe7535(0x481)](-_0xe0648b/0x2,-_0xe0648b);const _0x3d7d58=_0x131431[_0xe7535(0x19e)]!==void 0x0&&((_0x4f3e2e=this[_0xe7535(0x2b3)][_0xe7535(0x5a4)][Number(_0x131431[_0xe7535(0x19e)])])==null?void 0x0:_0x4f3e2e[_0xe7535(0x247)])||((_0x54f825=(_0x143e7e=_0x4fb3b5==null?void 0x0:_0x4fb3b5[_0xe7535(0x111)])==null?void 0x0:_0x143e7e[_0xe7535(0x175)])==null?void 0x0:_0x54f825['color'])||this[_0xe7535(0x45f)][_0xe7535(0x177)]||_0xe7535(0x612);_0x329ca5[_0xe7535(0x385)]=_0x3d7d58,_0x329ca5[_0xe7535(0x34b)](_MinimapLayer['CART_PIN_PATH']),_0x329ca5[_0xe7535(0x3b7)]=_0x54dc71/_0x4f2a37,_0x329ca5[_0xe7535(0x42a)]=this[_0xe7535(0x52a)](_0x3d7d58),_0x329ca5['stroke'](_MinimapLayer[_0xe7535(0x31c)]),_0x329ca5[_0xe7535(0x351)]();}}[_0x518421(0x52a)](_0xc99c85){const _0x4599e0=_0x518421,_0x3e3578=this[_0x4599e0(0x5e7)](_0xc99c85);if(!_0x3e3578)return _0x4599e0(0x393);const _0x5d85ba=0.2126*_0x3e3578['r']+0.7152*_0x3e3578['g']+0.0722*_0x3e3578['b'];return _0x5d85ba>0x8c?_0x4599e0(0x393):_0x4599e0(0x57f);}[_0x518421(0x5e7)](_0x280052){const _0x136ab2=_0x518421;if(!_0x280052)return null;const _0x6ad9c5=_0x280052[_0x136ab2(0x2a5)]();if(_0x6ad9c5[0x0]==='#'){const _0x1c6c25=_0x6ad9c5[_0x136ab2(0x2ce)](0x1);if(_0x1c6c25['length']===0x3){const _0xe83bbe=parseInt(_0x1c6c25[0x0]+_0x1c6c25[0x0],0x10),_0x226362=parseInt(_0x1c6c25[0x1]+_0x1c6c25[0x1],0x10),_0x2a9936=parseInt(_0x1c6c25[0x2]+_0x1c6c25[0x2],0x10);return{'r':_0xe83bbe,'g':_0x226362,'b':_0x2a9936};}if(_0x1c6c25[_0x136ab2(0x287)]===0x6){const _0x30ec0c=parseInt(_0x1c6c25[_0x136ab2(0x2ce)](0x0,0x2),0x10),_0x3b6044=parseInt(_0x1c6c25[_0x136ab2(0x2ce)](0x2,0x4),0x10),_0x4a73be=parseInt(_0x1c6c25['slice'](0x4,0x6),0x10);return{'r':_0x30ec0c,'g':_0x3b6044,'b':_0x4a73be};}}const _0x8c6100=_0x280052[_0x136ab2(0x508)](/rgba?\((\d+)\s*,\s*(\d+)\s*,\s*(\d+)/i);if(_0x8c6100)return{'r':Number(_0x8c6100[0x1]),'g':Number(_0x8c6100[0x2]),'b':Number(_0x8c6100[0x3])};return null;}['navigateToPoint'](_0x52c709,_0x113036,_0x1e59a3=![],_0x56a302=![]){const _0x22716a=_0x518421;var _0x3ae3e5;const _0x560640=_0x52c709/this[_0x22716a(0x347)],_0x347460=_0x113036/this[_0x22716a(0x347)],_0x29eafa=this[_0x22716a(0x2b3)][_0x22716a(0x107)][_0x22716a(0x3e2)],_0x7ba6ed=this[_0x22716a(0x2b3)][_0x22716a(0x107)]['clientHeight'],_0x4d68da=this[_0x22716a(0x2b3)]['scale'],_0x9137a3={'x':-(_0x560640*_0x4d68da)+_0x29eafa*DPR2/0x2,'y':-(_0x347460*_0x4d68da)+_0x7ba6ed*DPR2/0x2};if(_0x56a302&&this[_0x22716a(0xfa)]){const _0x5843ba=(_0x3ae3e5=this[_0x22716a(0x2b3)]['underlay'])==null?void 0x0:_0x3ae3e5['viewBox'],_0x2fcdc6=_0x5843ba?{'x':_0x5843ba['x']+_0x560640,'y':_0x5843ba['y']+_0x347460}:{'x':_0x560640,'y':_0x347460};this[_0x22716a(0xfa)][_0x22716a(0x315)](_0x2fcdc6,this[_0x22716a(0x2b3)][_0x22716a(0x398)][_0x22716a(0x313)]);}else this[_0x22716a(0x2b3)][_0x22716a(0x481)]=_0x9137a3,this[_0x22716a(0x4ef)]();}[_0x518421(0x4ef)](){const _0x3f17d3=_0x518421;if(this[_0x3f17d3(0x57b)]!==null)return;this[_0x3f17d3(0x57b)]=requestAnimationFrame(()=>{const _0x121fb2=_0x3f17d3;this[_0x121fb2(0x57b)]=null,this[_0x121fb2(0x365)](),this[_0x121fb2(0x2b3)][_0x121fb2(0x398)][_0x121fb2(0x3f5)]&&this[_0x121fb2(0x2b3)]['settings'][_0x121fb2(0x3f5)]({'x':0x0,'y':0x0},!![]);});}[_0x518421(0x4be)](){const _0x5d7a2f=_0x518421,_0x1d10b9=_0x19a259=>{const _0x3e1501=_0x425e;_0x19a259['stopPropagation'](),_0x19a259[_0x3e1501(0x2cb)]();};this[_0x5d7a2f(0x376)][_0x5d7a2f(0x3aa)](_0x5d7a2f(0x5f7),this['handleClick']),this[_0x5d7a2f(0x376)][_0x5d7a2f(0x3aa)](_0x5d7a2f(0x4c7),this['handleMouseDown']),this[_0x5d7a2f(0x376)]['addEventListener'](_0x5d7a2f(0x245),_0x1d10b9),this[_0x5d7a2f(0x376)][_0x5d7a2f(0x3aa)]('mouseup',_0x1d10b9),this['canvas'][_0x5d7a2f(0x3aa)](_0x5d7a2f(0x397),_0x1d10b9),this[_0x5d7a2f(0x376)][_0x5d7a2f(0x3aa)]('pointerdown',_0x1d10b9),this[_0x5d7a2f(0x376)][_0x5d7a2f(0x3aa)](_0x5d7a2f(0x332),_0x1d10b9),this[_0x5d7a2f(0x376)]['addEventListener'](_0x5d7a2f(0x56a),_0x1d10b9),this[_0x5d7a2f(0x376)][_0x5d7a2f(0x3aa)](_0x5d7a2f(0x39d),_0x1d10b9,{'passive':![]}),this[_0x5d7a2f(0x376)][_0x5d7a2f(0x3aa)]('touchmove',_0x1d10b9,{'passive':![]}),this['canvas'][_0x5d7a2f(0x3aa)](_0x5d7a2f(0x31f),_0x1d10b9,{'passive':![]}),this[_0x5d7a2f(0x484)][_0x5d7a2f(0x3aa)](_0x5d7a2f(0x5f7),this['handleClick']),this[_0x5d7a2f(0x484)][_0x5d7a2f(0x3aa)](_0x5d7a2f(0x4c7),this['handleMouseDown']),this[_0x5d7a2f(0x484)][_0x5d7a2f(0x3aa)]('mousemove',_0x1d10b9),this[_0x5d7a2f(0x484)]['addEventListener'](_0x5d7a2f(0x279),_0x1d10b9),this[_0x5d7a2f(0x484)][_0x5d7a2f(0x3aa)](_0x5d7a2f(0x397),_0x1d10b9),this[_0x5d7a2f(0x484)][_0x5d7a2f(0x3aa)](_0x5d7a2f(0x3e9),_0x1d10b9),this[_0x5d7a2f(0x484)][_0x5d7a2f(0x3aa)](_0x5d7a2f(0x332),_0x1d10b9),this['overlayCanvas'][_0x5d7a2f(0x3aa)](_0x5d7a2f(0x56a),_0x1d10b9),this[_0x5d7a2f(0x484)]['addEventListener'](_0x5d7a2f(0x39d),_0x1d10b9,{'passive':![]}),this[_0x5d7a2f(0x484)][_0x5d7a2f(0x3aa)](_0x5d7a2f(0x46b),_0x1d10b9,{'passive':![]}),this[_0x5d7a2f(0x484)][_0x5d7a2f(0x3aa)]('touchend',_0x1d10b9,{'passive':![]}),window['addEventListener'](_0x5d7a2f(0x245),this['handleMouseMove']),window[_0x5d7a2f(0x3aa)](_0x5d7a2f(0x279),this['handleMouseUp']);}['removeEventListeners'](){const _0x10a880=_0x518421,_0x4002d4=_0x395383=>{_0x395383['stopPropagation'](),_0x395383['preventDefault']();};this[_0x10a880(0x376)][_0x10a880(0x4c1)](_0x10a880(0x5f7),this[_0x10a880(0x387)]),this[_0x10a880(0x376)]['removeEventListener'](_0x10a880(0x4c7),this['handleMouseDown']),this[_0x10a880(0x376)][_0x10a880(0x4c1)](_0x10a880(0x245),_0x4002d4),this[_0x10a880(0x376)][_0x10a880(0x4c1)]('mouseup',_0x4002d4),this[_0x10a880(0x376)][_0x10a880(0x4c1)](_0x10a880(0x397),_0x4002d4),this[_0x10a880(0x376)][_0x10a880(0x4c1)](_0x10a880(0x3e9),_0x4002d4),this[_0x10a880(0x376)][_0x10a880(0x4c1)](_0x10a880(0x332),_0x4002d4),this[_0x10a880(0x376)][_0x10a880(0x4c1)](_0x10a880(0x56a),_0x4002d4),this[_0x10a880(0x376)][_0x10a880(0x4c1)]('touchstart',_0x4002d4),this[_0x10a880(0x376)][_0x10a880(0x4c1)]('touchmove',_0x4002d4),this[_0x10a880(0x376)][_0x10a880(0x4c1)](_0x10a880(0x31f),_0x4002d4),this[_0x10a880(0x484)][_0x10a880(0x4c1)](_0x10a880(0x5f7),this[_0x10a880(0x387)]),this[_0x10a880(0x484)][_0x10a880(0x4c1)](_0x10a880(0x4c7),this[_0x10a880(0x123)]),this[_0x10a880(0x484)]['removeEventListener']('mousemove',_0x4002d4),this[_0x10a880(0x484)][_0x10a880(0x4c1)](_0x10a880(0x279),_0x4002d4),this['overlayCanvas']['removeEventListener'](_0x10a880(0x397),_0x4002d4),this['overlayCanvas'][_0x10a880(0x4c1)](_0x10a880(0x3e9),_0x4002d4),this[_0x10a880(0x484)][_0x10a880(0x4c1)](_0x10a880(0x332),_0x4002d4),this['overlayCanvas']['removeEventListener'](_0x10a880(0x56a),_0x4002d4),this[_0x10a880(0x484)][_0x10a880(0x4c1)](_0x10a880(0x39d),_0x4002d4),this['overlayCanvas']['removeEventListener'](_0x10a880(0x46b),_0x4002d4),this[_0x10a880(0x484)][_0x10a880(0x4c1)]('touchend',_0x4002d4),window[_0x10a880(0x4c1)](_0x10a880(0x245),this[_0x10a880(0x275)]),window['removeEventListener'](_0x10a880(0x279),this[_0x10a880(0x512)]);}[_0x518421(0x53d)](){const _0x4a923e=_0x518421;this[_0x4a923e(0x376)][_0x4a923e(0x1a9)][_0x4a923e(0x436)]=_0x4a923e(0x1bc),this[_0x4a923e(0x484)]['style'][_0x4a923e(0x436)]=_0x4a923e(0x1bc);}[_0x518421(0x126)](){const _0x10bc3b=_0x518421;this['canvas'][_0x10bc3b(0x1a9)][_0x10bc3b(0x436)]='none',this[_0x10bc3b(0x484)][_0x10bc3b(0x1a9)][_0x10bc3b(0x436)]=_0x10bc3b(0x480);}[_0x518421(0x3cb)](_0x1021d9){const _0x188f19=_0x518421;this[_0x188f19(0x45f)][_0x188f19(0x514)]=_0x1021d9,this[_0x188f19(0x345)]();}['setShowCartPins'](_0x5f4c9a){const _0x487add=_0x518421;this[_0x487add(0x45f)][_0x487add(0x5e5)]=_0x5f4c9a,this['updateViewportIndicator']();}[_0x518421(0x529)](){const _0x4ed0a3=_0x518421;this[_0x4ed0a3(0x57b)]!==null&&(cancelAnimationFrame(this[_0x4ed0a3(0x57b)]),this[_0x4ed0a3(0x57b)]=null),this[_0x4ed0a3(0x2aa)](),this['ctx'][_0x4ed0a3(0x44a)](0x0,0x0,this['canvas'][_0x4ed0a3(0x28a)],this[_0x4ed0a3(0x376)][_0x4ed0a3(0x52c)]),this[_0x4ed0a3(0x42f)][_0x4ed0a3(0x44a)](0x0,0x0,this['overlayCanvas'][_0x4ed0a3(0x28a)],this['overlayCanvas']['height']),this['canvas'][_0x4ed0a3(0x202)](),this[_0x4ed0a3(0x484)][_0x4ed0a3(0x202)](),this['backgroundImage']=null;}};_MinimapLayer[_0x518421(0x31c)]=new Path2D('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'),_MinimapLayer['CART_PIN_VIEWBOX']=425.963;var MinimapLayer=_MinimapLayer,addPoints=(_0x47b67a,_0x5efa47)=>{return{'x':_0x47b67a['x']+_0x5efa47['x'],'y':_0x47b67a['y']+_0x5efa47['y']};},subPoints=(_0x2ee630,_0x4dc83b)=>{return{'x':_0x2ee630['x']-_0x4dc83b['x'],'y':_0x2ee630['y']-_0x4dc83b['y']};};import _0x1ec2df from'hammerjs';var sortPrices=_0x5ce6ef=>_0x5ce6ef[_0x518421(0x408)](priceComparator),convertPricesToColored=(_0x5b6a23,_0x4c11eb)=>{const _0x1a6a5e=_0x518421;if(!_0x5b6a23)return[];const _0x19aeee=getColorSequence(_0x4c11eb,_0x5b6a23[_0x1a6a5e(0x287)]);return _0x5b6a23[_0x1a6a5e(0x408)](priceComparator)[_0x1a6a5e(0x52b)]((_0x599f1a,_0x28f394)=>({..._0x599f1a,'color':_0x19aeee[_0x28f394]}));},convertPricesToColoredById=(_0x30df0f,_0x4e2b2a)=>{const _0x25aedc=_0x518421,_0x27f3b3={};return convertPricesToColored(_0x30df0f,_0x4e2b2a)[_0x25aedc(0x356)](_0x2e9728=>{const {id:_0x20793e,name:_0x5dd0d5,color:_0x42a3ce}=_0x2e9728;_0x27f3b3[_0x20793e]={'id':_0x20793e,'name':_0x5dd0d5,'color':_0x42a3ce};}),_0x27f3b3;},priceComparator=(_0x4dc679,_0x2dc1bd)=>{const _0x5ca7bd=_0x518421;if(_0x4dc679['name']===_0x2dc1bd[_0x5ca7bd(0x23f)])return 0x0;const _0xec1a6a=parseInt(_0x4dc679['name']),_0x207389=parseInt(_0x2dc1bd[_0x5ca7bd(0x23f)]);if(isFinite(_0xec1a6a)&&isFinite(_0x207389)){if(_0xec1a6a===_0x207389)return _0x4dc679['name']>_0x2dc1bd['name']?0x1:-0x1;return _0xec1a6a>_0x207389?0x1:-0x1;}else{if(isFinite(_0xec1a6a)&&!isFinite(_0x207389))return-0x1;else return!isFinite(_0xec1a6a)&&isFinite(_0x207389)?0x1:_0x4dc679[_0x5ca7bd(0x23f)]>_0x2dc1bd['name']?0x1:-0x1;}},getColorSequence=(_0x223b0a,_0x595b3b)=>{const _0x46cc0a=_0x518421;if(!_0x595b3b)return[];for(let _0x1fdd2c=0x0;_0x1fdd2c<_0x223b0a[_0x46cc0a(0x287)];_0x1fdd2c++){if(_0x223b0a[_0x1fdd2c][_0x46cc0a(0x287)]===_0x595b3b)return _0x223b0a[_0x1fdd2c];}const _0x43ad79=_0x223b0a[0x0],_0x10001a=[];for(let _0x3eca84=0x0;_0x3eca84<_0x595b3b;_0x3eca84++){const _0x4729c6=Math[_0x46cc0a(0x424)](_0x3eca84*_0x43ad79[_0x46cc0a(0x287)]/_0x595b3b);_0x10001a['push'](_0x223b0a[0x0][_0x4729c6]);}return _0x10001a;};import{debounce}from'throttle-debounce';function _0x425e(_0x3bc2be,_0x1b0234){const _0x46302d=_0x4630();return _0x425e=function(_0x425edc,_0x2fc2bc){_0x425edc=_0x425edc-0xe9;let _0x515d51=_0x46302d[_0x425edc];return _0x515d51;},_0x425e(_0x3bc2be,_0x1b0234);}import{interpret}from'robot3';var getSeatsWithPrices=(_0x580272,_0x44fc88,_0x4039c0)=>{const _0x51c73c=_0x518421,_0x5ddb7e=getPriceIdAndSpecialBySeatId(_0x44fc88[_0x51c73c(0x339)]);return _0x580272[_0x51c73c(0x52b)](_0x1d822e=>{const _0x5e3148=_0x51c73c,_0x4d4515=_0x5ddb7e[_0x1d822e['id']]&&_0x5ddb7e[_0x1d822e['id']][_0x5e3148(0x19e)],_0x1e94eb=_0x5ddb7e[_0x1d822e['id']]&&_0x5ddb7e[_0x1d822e['id']]['special'],_0x1d957b=_0x4d4515&&_0x44fc88['prices'][_0x5e3148(0x287)]?_0x4039c0[_0x4d4515]['color']:void 0x0;return{..._0x1d822e,'priceId':_0x4d4515,'color':_0x1d957b,'special':_0x1e94eb};});},getSectorsWithPrices=(_0x133972,_0x5f48a6,_0x17d96a)=>{const _0x203e37=_0x518421,_0x56f457=getPriceIdAndSpecialBySectorId(_0x5f48a6[_0x203e37(0x582)]);return _0x133972['map'](_0x25192e=>{const _0x3650e6=_0x203e37,_0x320e79=_0x56f457[_0x25192e['id']]&&_0x56f457[_0x25192e['id']][_0x3650e6(0x19e)],_0xfc227a=_0x320e79&&_0x5f48a6[_0x3650e6(0x254)]['length']?_0x17d96a[_0x320e79][_0x3650e6(0x247)]:void 0x0,_0x4bcac0=_0x56f457[_0x25192e['id']]&&_0x56f457[_0x25192e['id']][_0x3650e6(0x20f)];return{..._0x25192e,'priceId':_0x320e79,'color':_0xfc227a,'special':_0x4bcac0};});},getPriceIdAndSpecialBySeatId=_0x3ab9e6=>{const _0xd8efe0=_0x518421,_0x5bcaab={};return _0x3ab9e6&&_0x3ab9e6[_0xd8efe0(0x356)](_0x5e3f6d=>_0x5bcaab[_0x5e3f6d[0x0]]={'priceId':_0x5e3f6d[0x1],'special':_0x5e3f6d[0x2]}),_0x5bcaab;},getPriceIdAndSpecialBySectorId=_0x5ef1b6=>{const _0xdef591={};return _0x5ef1b6&&_0x5ef1b6['forEach'](_0x453d0a=>_0xdef591[_0x453d0a[0x0]]={'priceId':_0x453d0a[0x1],'special':_0x453d0a[0x3]}),_0xdef591;},Background_default=_0x518421(0x13c),Background_default2=_0x518421(0x1f2),Seats_default='#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}',Seats_default2=_0x518421(0x1b9),Overlay_default=_0x518421(0x4ec),Overlay_default2='#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',GLBase=class{constructor(){const _0x2005eb=_0x518421;this['canvas']=document[_0x2005eb(0x3db)](_0x2005eb(0x376)),this[_0x2005eb(0x376)][_0x2005eb(0x1a9)][_0x2005eb(0x514)]=_0x2005eb(0x362),this['canvas'][_0x2005eb(0x1a9)][_0x2005eb(0x267)]='0',this[_0x2005eb(0x376)][_0x2005eb(0x12e)]('id',_0x2005eb(0x61b));}['createShader'](_0x519903,_0x14a46a){const _0x12e571=_0x518421,_0x33208b=this[_0x12e571(0x4d3)][_0x12e571(0x1b6)](_0x519903);if(!_0x33208b)throw new Error('Unable\x20to\x20create\x20shader');this[_0x12e571(0x4d3)][_0x12e571(0x5d9)](_0x33208b,_0x14a46a),this['ctx'][_0x12e571(0x327)](_0x33208b);if(!this['ctx'][_0x12e571(0x5e4)](_0x33208b,this[_0x12e571(0x4d3)][_0x12e571(0x3c2)])){const _0x71f185=this['ctx'][_0x12e571(0x379)](_0x33208b);console[_0x12e571(0x452)](_0x12e571(0x161),_0x71f185),this[_0x12e571(0x4d3)][_0x12e571(0x430)](_0x33208b);throw new Error(_0x12e571(0x401));}return _0x33208b;}['createImageVertexShader'](){const _0x489a86=_0x518421;return this[_0x489a86(0x1b6)](this['ctx'][_0x489a86(0x629)],Background_default);}['createImageFragmentShader'](){const _0x15f8f1=_0x518421;return this['createShader'](this['ctx'][_0x15f8f1(0x404)],Background_default2);}[_0x518421(0x37d)](){const _0x469a01=_0x518421;return this[_0x469a01(0x1b6)](this[_0x469a01(0x4d3)]['VERTEX_SHADER'],Seats_default);}[_0x518421(0x414)](){const _0x247dcb=_0x518421;return this['createShader'](this[_0x247dcb(0x4d3)][_0x247dcb(0x404)],Seats_default2);}['createOverlayVertexShader'](){const _0x248d6a=_0x518421;return this[_0x248d6a(0x1b6)](this['ctx'][_0x248d6a(0x629)],Overlay_default);}[_0x518421(0x4fd)](){const _0x351342=_0x518421;return this[_0x351342(0x1b6)](this[_0x351342(0x4d3)][_0x351342(0x404)],Overlay_default2);}[_0x518421(0x382)](_0xcc9691,_0x41c19d){const _0x39f5d8=_0x518421,_0x593e74=this[_0x39f5d8(0x4d3)][_0x39f5d8(0x382)]();this[_0x39f5d8(0x4d3)][_0x39f5d8(0x293)](_0x593e74,_0xcc9691),this[_0x39f5d8(0x4d3)][_0x39f5d8(0x293)](_0x593e74,_0x41c19d),this[_0x39f5d8(0x4d3)]['linkProgram'](_0x593e74);if(!this[_0x39f5d8(0x4d3)][_0x39f5d8(0x27c)](_0x593e74,this[_0x39f5d8(0x4d3)][_0x39f5d8(0x266)])){console[_0x39f5d8(0x452)](_0x39f5d8(0x551),this['ctx'][_0x39f5d8(0x243)](_0x593e74)),this[_0x39f5d8(0x4d3)][_0x39f5d8(0x3e5)](_0x593e74);throw new Error('Program\x20linking\x20failed');}return _0x593e74;}},showAtlas=_0x34b181=>{const _0x2ed847=_0x518421,_0x476bc7=document['createElement'](_0x2ed847(0x587));_0x476bc7[_0x2ed847(0x1a9)][_0x2ed847(0x514)]='fixed',_0x476bc7['style'][_0x2ed847(0x557)]='black',_0x476bc7[_0x2ed847(0x1a9)][_0x2ed847(0x155)]=_0x2ed847(0x4aa),_0x476bc7['style']['width']='25%',_0x476bc7[_0x2ed847(0x1a9)][_0x2ed847(0x349)]='50%',_0x476bc7[_0x2ed847(0x1a9)][_0x2ed847(0x267)]=_0x2ed847(0x224),_0x476bc7['style'][_0x2ed847(0x56d)]='translate(-50%,\x20-50%)',_0x34b181[_0x2ed847(0x1a9)][_0x2ed847(0x28a)]=_0x2ed847(0x37e),_0x34b181[_0x2ed847(0x1a9)]['height']=_0x2ed847(0x37e),_0x34b181['style']['display']=_0x2ed847(0x1bc),_0x476bc7[_0x2ed847(0x27d)](_0x34b181),document[_0x2ed847(0x33d)]['appendChild'](_0x476bc7);},initializeIconAtlas=async(_0x1d6572,_0x336073,_0x12ee00,_0x120cbf=![])=>{const _0x4067fd=_0x518421;if(!_0x1d6572||Object['keys'](_0x1d6572)['length']===0x0)return{'texture':null,'width':0x0,'height':0x0};const _0x23f75b=document['createElement'](_0x4067fd(0x376)),_0x1c9d95=_0x23f75b[_0x4067fd(0x2ae)]('2d'),_0x517df8=0x10,_0x31f032=0x3,_0x211da5=_0x517df8*_0x31f032,_0x2dc3ae=0x1,_0x1deaa2=0x14,_0x5c9e3a=Object[_0x4067fd(0x455)](_0x1d6572)[_0x4067fd(0x52b)](([_0x1a16d8,_0xc5ac83],_0x346e8a)=>({'name':_0x1a16d8,'svg':_0xc5ac83,'index':_0x346e8a})),_0xc44282=_0x5c9e3a['length'];_0x23f75b[_0x4067fd(0x28a)]=_0x211da5*_0xc44282+(_0xc44282-0x1)*(_0x2dc3ae+_0x1deaa2)+_0x2dc3ae*0x2+_0x1deaa2*0x2,_0x23f75b[_0x4067fd(0x52c)]=_0x211da5+_0x2dc3ae*0x2;let _0x1d8970=_0x1deaa2+_0x2dc3ae;for(const {name:_0x1a3fd,svg:_0x13edc9}of _0x5c9e3a){const _0x51cdc0=await svgToBase64(_0x13edc9),_0x3c6fca=new Image();_0x3c6fca[_0x4067fd(0x48e)]=_0x51cdc0,await new Promise(_0xef9a60=>{const _0x45bd42=_0x4067fd;_0x3c6fca[_0x45bd42(0x10f)]=_0xef9a60;});const _0x1bd86d=_0x3c6fca['width'],_0x14bd7d=_0x3c6fca[_0x4067fd(0x52c)],_0x3b647f=_0x211da5/Math[_0x4067fd(0x153)](_0x1bd86d,_0x14bd7d),_0x5bc9e2=Math[_0x4067fd(0x424)](_0x1bd86d*_0x3b647f),_0x20b5de=Math[_0x4067fd(0x424)](_0x14bd7d*_0x3b647f),_0x520021=_0x1d8970+Math['floor']((_0x211da5-_0x5bc9e2)/0x2),_0x34845e=_0x2dc3ae+Math[_0x4067fd(0x4ce)]((_0x211da5-_0x20b5de)/0x2);_0x1c9d95[_0x4067fd(0x3a7)](_0x3c6fca,_0x520021,_0x34845e,_0x5bc9e2,_0x20b5de),_0x336073[_0x4067fd(0x45b)](_0x1a3fd,{'x':_0x1d8970/_0x23f75b[_0x4067fd(0x28a)],'y':_0x2dc3ae/_0x23f75b[_0x4067fd(0x52c)],'width':_0x211da5/_0x23f75b[_0x4067fd(0x28a)],'height':_0x211da5/_0x23f75b[_0x4067fd(0x52c)]}),_0x1d8970+=_0x211da5+_0x2dc3ae+_0x1deaa2;}_0x120cbf&&showAtlas(_0x23f75b);const _0x47bbf0=_0x12ee00['createTexture']();if(!_0x47bbf0)return{'texture':null,'width':_0x23f75b[_0x4067fd(0x28a)],'height':_0x23f75b['height']};_0x12ee00[_0x4067fd(0x3a6)](_0x12ee00[_0x4067fd(0x277)],_0x47bbf0),_0x12ee00['texImage2D'](_0x12ee00[_0x4067fd(0x277)],0x0,_0x12ee00[_0x4067fd(0x560)],_0x12ee00[_0x4067fd(0x560)],_0x12ee00['UNSIGNED_BYTE'],_0x23f75b);const _0x9d90fc=[{'pname':_0x12ee00[_0x4067fd(0x464)],'param':_0x12ee00[_0x4067fd(0x381)]},{'pname':_0x12ee00[_0x4067fd(0x5dd)],'param':_0x12ee00[_0x4067fd(0x381)]},{'pname':_0x12ee00[_0x4067fd(0x4ac)],'param':_0x12ee00[_0x4067fd(0x49f)]},{'pname':_0x12ee00[_0x4067fd(0x59e)],'param':_0x12ee00[_0x4067fd(0x49f)]}];return _0x9d90fc['forEach'](({pname:_0x26d1f2,param:_0x493fc4})=>{const _0x3a17c0=_0x4067fd;_0x12ee00[_0x3a17c0(0x47e)](_0x12ee00[_0x3a17c0(0x277)],_0x26d1f2,_0x493fc4);}),{'texture':_0x47bbf0,'width':_0x23f75b[_0x4067fd(0x28a)],'height':_0x23f75b[_0x4067fd(0x52c)]};},RESERVED_ICON_VALUES={'accessible':0x1,'marked':0.8,'default':0.4,'unavailable':0x0};function generateIconValues(_0x2bd4fd){const _0x104522=_0x518421,_0x15f718={...RESERVED_ICON_VALUES};if(!Array[_0x104522(0x44d)](_0x2bd4fd)||_0x2bd4fd['length']===0x0)return _0x15f718;const _0x2abb04=_0x2bd4fd[_0x104522(0x10b)](_0x26ca0f=>!Object[_0x104522(0x29e)][_0x104522(0x10e)]['call'](RESERVED_ICON_VALUES,_0x26ca0f))['sort']();let _0x312732=0.55;const _0x56e009=0.03;for(let _0x151ab7=0x0;_0x151ab7<_0x2abb04['length'];_0x151ab7++){_0x15f718[_0x2abb04[_0x151ab7]]=_0x312732,_0x312732=Math[_0x104522(0x318)](_0x312732+_0x56e009,0.97);}return _0x15f718;}var VisibilityManager=class{constructor(_0x4eeab4){const _0x1441c8=_0x518421;this[_0x1441c8(0x564)]=_0x4eeab4[_0x1441c8(0x398)]['visibilitySettings'];}[_0x518421(0x312)](_0x5b8b5a){const _0xdef63a=_0x518421;return{'outline':{'selectable':this[_0xdef63a(0x341)](_0x5b8b5a),'visible':this[_0xdef63a(0x2cd)](_0x5b8b5a)},'seat':{'selectable':this[_0xdef63a(0x34f)](_0x5b8b5a),'visible':this[_0xdef63a(0x1d7)](_0x5b8b5a)}};}[_0x518421(0x34f)](_0x1230ee){const _0x9139c5=_0x518421;return this[_0x9139c5(0x575)](_0x1230ee,_0x9139c5(0x339),_0x9139c5(0x5e3));}[_0x518421(0x1d7)](_0x430dcd){const _0x2818be=_0x518421;return this['validate'](_0x430dcd,_0x2818be(0x339),_0x2818be(0x1a1));}['isOutlineSelectable'](_0xbcfee4){const _0x5a0050=_0x518421;return this['validate'](_0xbcfee4,_0x5a0050(0x558),_0x5a0050(0x5e3));}[_0x518421(0x2cd)](_0x2e9cab){const _0x5d1379=_0x518421;return this[_0x5d1379(0x575)](_0x2e9cab,_0x5d1379(0x558),_0x5d1379(0x1a1));}['validate'](_0x23fba3,_0x316937,_0x2861be){const _0x29921d=_0x518421;var _0x1b8210,_0xfcf04b,_0x559722,_0x2a5d59;if(!((_0xfcf04b=(_0x1b8210=this['visibilitySettings'])==null?void 0x0:_0x1b8210[_0x316937])==null?void 0x0:_0xfcf04b[_0x2861be]))return!![];const _0x2001bb=(_0x2a5d59=(_0x559722=this[_0x29921d(0x564)])==null?void 0x0:_0x559722[_0x316937])==null?void 0x0:_0x2a5d59[_0x2861be];return((_0x2001bb==null?void 0x0:_0x2001bb[_0x29921d(0x19c)])||0x0)*DPR<=_0x23fba3&&_0x23fba3<((_0x2001bb==null?void 0x0:_0x2001bb['to'])||0x14)*DPR;}},Rows_default=_0x518421(0x2f5),Rows_default2=_0x518421(0x619),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':'seats'},'rowView':{'displayed':!![],'clickable':!![],'colorCoding':!![],'showDetailedInfo':!![],'showRowNumber':!![],'interaction':_0x518421(0x4b4)},'sectionView':{'interaction':'none'},'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':'seats'},'rowView':{'displayed':!![],'clickable':!![],'colorCoding':!![],'showDetailedInfo':!![],'showRowNumber':!![],'interaction':'rows'},'sectionView':{'interaction':_0x518421(0x480)},'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':_0x518421(0x141)},'rowView':{'displayed':!![],'clickable':![],'colorCoding':!![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x518421(0x141)},'sectionView':{'interaction':_0x518421(0x141),'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':_0x518421(0x141)},'rowView':{'displayed':!![],'clickable':![],'colorCoding':!![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x518421(0x141)},'sectionView':{'interaction':_0x518421(0x141),'colorCodingTiedToPrice':![],'nameUsesSectionColor':!![]},'rowsOpacityAlpha':0.3,'notes':_0x518421(0x511)},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':_0x518421(0x141)},'rowView':{'displayed':!![],'clickable':![],'colorCoding':!![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x518421(0x141)},'sectionView':{'interaction':_0x518421(0x141),'colorCodingTiedToPrice':![],'nameUsesSectionColor':!![]},'rowsOpacityAlpha':0.32,'notes':_0x518421(0x511)},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':'section'},'rowView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x518421(0x141)},'sectionView':{'interaction':_0x518421(0x141),'colorCodingTiedToPrice':![],'nameUsesSectionColor':!![]},'rowsOpacityAlpha':0.35,'notes':_0x518421(0x1ea)},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':_0x518421(0x141)},'rowView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x518421(0x141)},'sectionView':{'interaction':_0x518421(0x141),'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':_0x518421(0x141)},'rowView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x518421(0x141)},'sectionView':{'interaction':_0x518421(0x141),'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':_0x518421(0x141)},'rowView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x518421(0x141)},'sectionView':{'interaction':'section','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':_0x518421(0x141)},'rowView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x518421(0x141)},'sectionView':{'interaction':'section','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':_0x518421(0x141)},'rowView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x518421(0x141)},'sectionView':{'interaction':_0x518421(0x141),'colorCodingTiedToPrice':![],'nameUsesSectionColor':!![]},'rowsOpacityAlpha':0.35}},AVAILABLE_SCALES=Object[_0x518421(0x31b)](SCALE_PARAMETERS)[_0x518421(0x52b)](_0x4ef99f=>Number(_0x4ef99f))[_0x518421(0x408)]((_0x2d3172,_0x2342dd)=>_0x2d3172-_0x2342dd);function getScaleParameters(_0x36de2d){return SCALE_PARAMETERS[_0x36de2d];}var RowsRenderer=class{constructor(_0x4e89d2,_0x139324,_0x3b2d0d,_0x2f2f5c){const _0x5db6ef=_0x518421;this[_0x5db6ef(0x451)]=null,this['rows_a_position']=-0x1,this['rows_stageWidth']=null,this[_0x5db6ef(0x58d)]=null,this['rows_scale']=null,this[_0x5db6ef(0x160)]=null,this[_0x5db6ef(0x1a7)]=null,this[_0x5db6ef(0x4d7)]=null,this[_0x5db6ef(0x4a2)]=null,this[_0x5db6ef(0x2ed)]=null,this[_0x5db6ef(0x428)]=null,this[_0x5db6ef(0x449)]=null,this['rowsVertices']=[],this['rowsStrokeWidthPx']=0xf,this['rowsColorRgba']=[0x9/0xff,0x58/0xff,0xd9/0xff,0.18],this['rowsGeometryBuiltForScale']=null,this[_0x5db6ef(0x40e)]=-0x1,this[_0x5db6ef(0x23a)]=-0x1,this[_0x5db6ef(0x343)]=!![],this[_0x5db6ef(0x4d3)]=_0x4e89d2,this[_0x5db6ef(0x278)]=_0x139324,this['getStageWidthPx']=_0x3b2d0d,this['getStageHeightPx']=_0x2f2f5c,this[_0x5db6ef(0x3c5)]();}[_0x518421(0x251)](_0xe55dcd,_0x38c875){const _0x35b228=_0x518421;if(!this[_0x35b228(0x451)])return;this[_0x35b228(0x343)]=this[_0x35b228(0x2ec)](_0xe55dcd);if(!this[_0x35b228(0x343)])return;const _0x2c28d0=this[_0x35b228(0x146)](_0xe55dcd);typeof _0x2c28d0==='number'&&!Number['isNaN'](_0x2c28d0)&&(this[_0x35b228(0xfb)]=_0x2c28d0);const _0x3c058e=this['getLockedSeatsSignature']();(this['rowsGeometryBuiltForScale']!==_0xe55dcd||this['rowsPolylinesVersionBuilt']!==(this[_0x35b228(0x278)]['rowsPolylinesVersion']||0x0)||this['rowsLockedSignatureBuilt']!==_0x3c058e)&&(this[_0x35b228(0x265)](_0xe55dcd),this[_0x35b228(0x1f1)]=_0xe55dcd,this[_0x35b228(0x40e)]=this[_0x35b228(0x278)][_0x35b228(0x208)]||0x0,this[_0x35b228(0x23a)]=_0x3c058e);if(!this[_0x35b228(0x449)]||this[_0x35b228(0x1e6)][_0x35b228(0x287)]===0x0)return;this[_0x35b228(0x4d3)]['useProgram'](this['rowsProgram']),this[_0x35b228(0x4d3)][_0x35b228(0x2f4)](this[_0x35b228(0x4d3)][_0x35b228(0x574)],this[_0x35b228(0x449)]),this['ctx'][_0x35b228(0x18d)](this[_0x35b228(0x4d3)][_0x35b228(0x574)],new Float32Array(this[_0x35b228(0x1e6)]),this[_0x35b228(0x4d3)][_0x35b228(0x324)]),this[_0x35b228(0x4d3)][_0x35b228(0x569)](this[_0x35b228(0x37f)]),this['ctx'][_0x35b228(0x273)](this[_0x35b228(0x37f)],0x2,this[_0x35b228(0x4d3)]['FLOAT'],![],0x0,0x0),this[_0x35b228(0x4d3)]['uniform1f'](this[_0x35b228(0x2ea)],_0xe55dcd),this[_0x35b228(0x4d3)][_0x35b228(0xee)](this[_0x35b228(0x160)],_0x38c875['x'],_0x38c875['y']),this['ctx'][_0x35b228(0x359)](this[_0x35b228(0x57c)],this[_0x35b228(0x228)]()),this[_0x35b228(0x4d3)][_0x35b228(0x359)](this['rows_stageHeight'],this[_0x35b228(0x1f7)]()),this[_0x35b228(0x4d3)][_0x35b228(0x4c4)](this[_0x35b228(0x1a7)],this[_0x35b228(0x278)][_0x35b228(0x4f0)]?0x1:0x0),this[_0x35b228(0x4d3)][_0x35b228(0x359)](this['rows_rotationZ'],this[_0x35b228(0x278)][_0x35b228(0x183)]),this['ctx'][_0x35b228(0x359)](this[_0x35b228(0x4a2)],this[_0x35b228(0x278)]['perspectiveZ']),this[_0x35b228(0x4d3)]['uniform1f'](this[_0x35b228(0x2ed)],this[_0x35b228(0x278)]['tiltX']);const _0x264be5=this[_0x35b228(0x311)](_0xe55dcd);this[_0x35b228(0x4d3)][_0x35b228(0x4a4)](this[_0x35b228(0x428)],this[_0x35b228(0x1c3)][0x0],this['rowsColorRgba'][0x1],this[_0x35b228(0x1c3)][0x2],_0x264be5),this['enableAlphaBlending'](),this[_0x35b228(0x4d3)]['drawArrays'](this[_0x35b228(0x4d3)][_0x35b228(0x20d)],0x0,this[_0x35b228(0x1e6)][_0x35b228(0x287)]/0x2);}['getNearestDocumentedScale'](_0x370b3b){const _0x33e95c=_0x518421;if(!AVAILABLE_SCALES||AVAILABLE_SCALES[_0x33e95c(0x287)]===0x0)return null;let _0x56d0b0=AVAILABLE_SCALES[0x0],_0x126a96=Math['abs'](_0x370b3b-_0x56d0b0);for(let _0x53b8b6=0x1;_0x53b8b6<AVAILABLE_SCALES[_0x33e95c(0x287)];_0x53b8b6++){const _0x5884ff=AVAILABLE_SCALES[_0x53b8b6],_0x5cfd02=Math[_0x33e95c(0x22a)](_0x370b3b-_0x5884ff);_0x5cfd02<_0x126a96&&(_0x56d0b0=_0x5884ff,_0x126a96=_0x5cfd02);}return _0x56d0b0;}[_0x518421(0x2ec)](_0x14881e){const _0x31f22c=_0x518421;var _0x41a17e;if(_0x14881e<0.25)return!![];const _0x49f1ec=this[_0x31f22c(0x37c)](_0x14881e);if(_0x49f1ec==null)return!![];const _0x4f2d19=getScaleParameters(_0x49f1ec);return(_0x41a17e=_0x4f2d19==null?void 0x0:_0x4f2d19[_0x31f22c(0x246)][_0x31f22c(0x298)])!=null?_0x41a17e:!![];}['getRowWidthForScale'](_0x50e195){const _0xfc2424=_0x518421;var _0xf3f397;const _0x303499=this['getNearestDocumentedScale'](_0x50e195);if(_0x303499==null)return null;const _0x5dcdef=getScaleParameters(_0x303499);return(_0xf3f397=_0x5dcdef==null?void 0x0:_0x5dcdef['sizes'][_0xfc2424(0x18f)])!=null?_0xf3f397:null;}[_0x518421(0x311)](_0x2c537c){const _0x438027=_0x518421;if(_0x2c537c<0.25)return 0x1;const _0x1e57c0=0.25,_0x1b4101=0x1,_0x4dee0c=Math[_0x438027(0x153)](_0x1e57c0,Math[_0x438027(0x318)](_0x1b4101,_0x2c537c)),_0x1d8275=(_0x4dee0c-_0x1e57c0)/(_0x1b4101-_0x1e57c0),_0x4b6ea6=0x1,_0x52f4d0=0.4,_0x2249e3=_0x4b6ea6+(_0x52f4d0-_0x4b6ea6)*_0x1d8275;return Math[_0x438027(0x153)](0x0,Math['min'](0x1,_0x2249e3));}[_0x518421(0x3c5)](){const _0x5d99d1=_0x518421,_0x24f287=this[_0x5d99d1(0x1b6)](this[_0x5d99d1(0x4d3)]['VERTEX_SHADER'],Rows_default),_0x1109fc=this[_0x5d99d1(0x1b6)](this[_0x5d99d1(0x4d3)]['FRAGMENT_SHADER'],Rows_default2);this[_0x5d99d1(0x451)]=this['createProgram'](_0x24f287,_0x1109fc),this[_0x5d99d1(0x37f)]=this['ctx']['getAttribLocation'](this[_0x5d99d1(0x451)],_0x5d99d1(0x3dd)),this['rows_stageWidth']=this['ctx']['getUniformLocation'](this['rowsProgram'],_0x5d99d1(0x624)),this[_0x5d99d1(0x58d)]=this[_0x5d99d1(0x4d3)]['getUniformLocation'](this['rowsProgram'],_0x5d99d1(0x338)),this[_0x5d99d1(0x2ea)]=this[_0x5d99d1(0x4d3)][_0x5d99d1(0x4e2)](this[_0x5d99d1(0x451)],_0x5d99d1(0x270)),this['rows_translate']=this[_0x5d99d1(0x4d3)][_0x5d99d1(0x4e2)](this[_0x5d99d1(0x451)],_0x5d99d1(0x481)),this[_0x5d99d1(0x1a7)]=this[_0x5d99d1(0x4d3)][_0x5d99d1(0x4e2)](this['rowsProgram'],'u_enable3DView'),this[_0x5d99d1(0x4d7)]=this[_0x5d99d1(0x4d3)][_0x5d99d1(0x4e2)](this[_0x5d99d1(0x451)],_0x5d99d1(0x52f)),this[_0x5d99d1(0x4a2)]=this[_0x5d99d1(0x4d3)]['getUniformLocation'](this[_0x5d99d1(0x451)],'u_perspectiveZ'),this[_0x5d99d1(0x2ed)]=this[_0x5d99d1(0x4d3)][_0x5d99d1(0x4e2)](this[_0x5d99d1(0x451)],_0x5d99d1(0x60b)),this[_0x5d99d1(0x428)]=this[_0x5d99d1(0x4d3)][_0x5d99d1(0x4e2)](this['rowsProgram'],_0x5d99d1(0x581)),this['rowsBuffer']=this[_0x5d99d1(0x4d3)][_0x5d99d1(0x51a)]();}[_0x518421(0x265)](_0x32cf35){const _0x33dbae=_0x518421;var _0x12b3f,_0x21f6dc,_0x25210c,_0x4590ae,_0x4d0c81,_0x3ebc90,_0x103a76,_0x5aa37e,_0x166b38,_0x4964bf,_0x447a1f,_0x57a35e;this[_0x33dbae(0x1e6)]=[];const _0x45ed32=(_0x575aec,_0x2c0815,_0x5932ba,_0x4f178b,_0x5009d1)=>{const _0x6cb40e=_0x33dbae,_0x147c28=_0x5932ba-_0x575aec,_0x3552b5=_0x4f178b-_0x2c0815,_0x224c44=Math[_0x6cb40e(0x43a)](_0x147c28*_0x147c28+_0x3552b5*_0x3552b5);if(_0x224c44===0x0)return;const _0x28222b=-_0x3552b5/_0x224c44,_0xed9e26=_0x147c28/_0x224c44,_0x4e55f2=_0x28222b*_0x5009d1,_0x58f540=_0xed9e26*_0x5009d1;this[_0x6cb40e(0x1e6)][_0x6cb40e(0x1be)](_0x575aec+_0x4e55f2,_0x2c0815+_0x58f540,_0x5932ba+_0x4e55f2,_0x4f178b+_0x58f540,_0x5932ba-_0x4e55f2,_0x4f178b-_0x58f540,_0x575aec+_0x4e55f2,_0x2c0815+_0x58f540,_0x5932ba-_0x4e55f2,_0x4f178b-_0x58f540,_0x575aec-_0x4e55f2,_0x2c0815-_0x58f540);},_0x5cc86a=(_0x2ef171,_0x4e9598,_0x437291,_0x1dbcbb,_0x5606c8,_0x5f1670)=>{const _0x20676a=_0x33dbae,_0xdc1c39=Math[_0x20676a(0x43a)](_0x437291*_0x437291+_0x1dbcbb*_0x1dbcbb)||0x1,_0x3ccf24=_0x437291/_0xdc1c39,_0x3a980c=_0x1dbcbb/_0xdc1c39,_0x4c7aa7=Math[_0x20676a(0x445)](_0x3a980c,_0x3ccf24)+(_0x5f1670?Math['PI']:0x0),_0x293c2d=_0x4c7aa7-Math['PI']/0x2,_0x32a887=_0x4c7aa7+Math['PI']/0x2,_0xf53dab=Math[_0x20676a(0x153)](0x8,Math[_0x20676a(0x318)](0x18,Math[_0x20676a(0x35e)](_0x5606c8))),_0xb337cb=(_0x32a887-_0x293c2d)/_0xf53dab;for(let _0x39b427=0x0;_0x39b427<_0xf53dab;_0x39b427++){const _0x593f95=_0x293c2d+_0x39b427*_0xb337cb,_0x3846ba=_0x293c2d+(_0x39b427+0x1)*_0xb337cb,_0x34e2a9=_0x2ef171+Math['cos'](_0x593f95)*_0x5606c8,_0x1c7b12=_0x4e9598+Math[_0x20676a(0x58e)](_0x593f95)*_0x5606c8,_0x19c754=_0x2ef171+Math[_0x20676a(0x156)](_0x3846ba)*_0x5606c8,_0x1c08e4=_0x4e9598+Math[_0x20676a(0x58e)](_0x3846ba)*_0x5606c8;this[_0x20676a(0x1e6)]['push'](_0x2ef171,_0x4e9598,_0x34e2a9,_0x1c7b12,_0x19c754,_0x1c08e4);}},_0x3d93fe=(_0x4d0c81=(_0x4590ae=(_0x25210c=(_0x21f6dc=(_0x12b3f=this[_0x33dbae(0x278)]['settings'])==null?void 0x0:_0x12b3f[_0x33dbae(0x1ae)])==null?void 0x0:_0x21f6dc[_0x33dbae(0x111)])==null?void 0x0:_0x25210c[_0x33dbae(0x60e)])==null?void 0x0:_0x4590ae[_0x33dbae(0x2c5)])!=null?_0x4d0c81:0x6,_0x3ddf39=Math[_0x33dbae(0x153)](_0x3d93fe/0x2,this[_0x33dbae(0xfb)]),_0x11e725=(_0x4964bf=(_0x166b38=(_0x3ebc90=this[_0x33dbae(0x278)][_0x33dbae(0x398)])==null?void 0x0:_0x3ebc90['rowsGridStep'])!=null?_0x166b38:(_0x5aa37e=(_0x103a76=this[_0x33dbae(0x278)]['settings'])==null?void 0x0:_0x103a76[_0x33dbae(0x1ae)])==null?void 0x0:_0x5aa37e[_0x33dbae(0x56c)])!=null?_0x4964bf:0xe,_0x432eba=(_0x57a35e=(_0x447a1f=this['appContext'][_0x33dbae(0x398)])==null?void 0x0:_0x447a1f[_0x33dbae(0x4f5)])!=null?_0x57a35e:0x2,_0x4c7937=Math[_0x33dbae(0x153)](_0x32cf35,0.001),_0x2cf4ba=_0x11e725*0x2*_0x4c7937,_0x1f24a4=Math[_0x33dbae(0x153)](0x0,(_0x2cf4ba-_0x432eba)/0x2);if(this[_0x33dbae(0x278)]['rowsPolylines']&&this[_0x33dbae(0x278)]['rowsPolylines']['length']){const _0x506ef2=_0x11e725,_0x45a980=(_0x1a684a,_0xadd850,_0x5e2a14,_0x3bfad7)=>{const _0x13ea65=_0x33dbae;var _0x3e96c8;const _0x519f6b=(_0x1a684a+_0x5e2a14)/0x2,_0x235da2=(_0xadd850+_0x3bfad7)/0x2,_0x2e3201=((_0x3e96c8=this[_0x13ea65(0x278)][_0x13ea65(0x3d9)])==null?void 0x0:_0x3e96c8[_0x13ea65(0x105)](_0x519f6b,_0x235da2,_0x506ef2))||[];for(let _0x2501c0=0x0;_0x2501c0<_0x2e3201[_0x13ea65(0x287)];_0x2501c0++){const _0x87a181=this['appContext'][_0x13ea65(0x339)][_0x2e3201[_0x2501c0]];if(this['isSeatUnavailable'](_0x87a181))return!![];}return![];};this[_0x33dbae(0x278)]['rowsPolylines']['forEach'](_0x58a822=>{const _0x3892fa=_0x33dbae;var _0x4a3e25;if(!_0x58a822[_0x3892fa(0x4ed)]||_0x58a822['points'][_0x3892fa(0x287)]<0x2)return;const _0x1193ce=(_0x4a3e25=_0x58a822[_0x3892fa(0x5e6)])!=null?_0x4a3e25:this[_0x3892fa(0xfb)],_0x9aaaa9=Math[_0x3892fa(0x318)](_0x1193ce,_0x3ddf39,_0x1f24a4),_0x965825=_0x9aaaa9*0.15,_0x325584=Math[_0x3892fa(0x153)](_0x32cf35,0.001),_0x5a2bf0=_0x9aaaa9/_0x325584,_0x181287=_0x965825/_0x325584;for(let _0x5b178a=0x0;_0x5b178a<_0x58a822['points'][_0x3892fa(0x287)]-0x1;_0x5b178a++){const _0x190390=_0x58a822[_0x3892fa(0x4ed)][_0x5b178a],_0x259acd=_0x58a822[_0x3892fa(0x4ed)][_0x5b178a+0x1],_0x31a7fd=_0x45a980(_0x190390['x'],_0x190390['y'],_0x259acd['x'],_0x259acd['y']);_0x45ed32(_0x190390['x'],_0x190390['y'],_0x259acd['x'],_0x259acd['y'],_0x31a7fd?_0x181287:_0x5a2bf0);}const _0xaf1203=_0x58a822[_0x3892fa(0x4ed)][0x0],_0x1c27aa=_0x58a822['points'][0x1],_0x721ec1=_0x58a822[_0x3892fa(0x4ed)][_0x58a822['points'][_0x3892fa(0x287)]-0x2],_0x5f1da7=_0x58a822[_0x3892fa(0x4ed)][_0x58a822['points'][_0x3892fa(0x287)]-0x1],_0x228114=_0x45a980(_0xaf1203['x'],_0xaf1203['y'],_0x1c27aa['x'],_0x1c27aa['y']),_0x118cd4=_0x45a980(_0x721ec1['x'],_0x721ec1['y'],_0x5f1da7['x'],_0x5f1da7['y']);_0x5cc86a(_0xaf1203['x'],_0xaf1203['y'],_0x1c27aa['x']-_0xaf1203['x'],_0x1c27aa['y']-_0xaf1203['y'],_0x228114?_0x181287:_0x5a2bf0,!![]),_0x5cc86a(_0x5f1da7['x'],_0x5f1da7['y'],_0x5f1da7['x']-_0x721ec1['x'],_0x5f1da7['y']-_0x721ec1['y'],_0x118cd4?_0x181287:_0x5a2bf0,![]);});}else{if(this[_0x33dbae(0x278)][_0x33dbae(0x46e)]){const _0x367f10=Math['min'](this[_0x33dbae(0xfb)],_0x3ddf39,_0x1f24a4),_0x32b274=_0x367f10*0.15,_0x23df87=Math[_0x33dbae(0x153)](_0x32cf35,0.001),_0x152333=_0x367f10/_0x23df87,_0x1ccccf=_0x32b274/_0x23df87,_0x44b3fa=this['appContext'][_0x33dbae(0x46e)];for(const _0x2288a3 in _0x44b3fa){const _0x5077d0=_0x44b3fa[_0x2288a3];if(!_0x5077d0||_0x5077d0[_0x33dbae(0x287)]<0x2)continue;const _0x326621=_0x5077d0[_0x33dbae(0x2ce)]()[_0x33dbae(0x408)]((_0x427be7,_0x285c4e)=>_0x427be7['x']-_0x285c4e['x']);for(let _0x54e140=0x0;_0x54e140<_0x326621['length']-0x1;_0x54e140++){const _0x53269c=_0x326621[_0x54e140],_0x519a22=_0x326621[_0x54e140+0x1],_0x42df95=this[_0x33dbae(0x1eb)](_0x53269c)||this['isSeatUnavailable'](_0x519a22),_0x54a032=_0x42df95?_0x1ccccf:_0x152333;_0x45ed32(_0x53269c['x'],_0x53269c['y'],_0x519a22['x'],_0x519a22['y'],_0x54a032);}const _0x4497ae=_0x326621[0x0],_0x214635=_0x326621[0x1],_0x1815ac=_0x326621[_0x326621[_0x33dbae(0x287)]-0x2],_0x1c2745=_0x326621[_0x326621[_0x33dbae(0x287)]-0x1],_0x1d2d65=this['isSeatUnavailable'](_0x4497ae)||this[_0x33dbae(0x1eb)](_0x214635),_0x348156=this[_0x33dbae(0x1eb)](_0x1c2745)||this['isSeatUnavailable'](_0x1815ac);_0x5cc86a(_0x4497ae['x'],_0x4497ae['y'],_0x214635['x']-_0x4497ae['x'],_0x214635['y']-_0x4497ae['y'],_0x1d2d65?_0x1ccccf:_0x152333,!![]),_0x5cc86a(_0x1c2745['x'],_0x1c2745['y'],_0x1c2745['x']-_0x1815ac['x'],_0x1c2745['y']-_0x1815ac['y'],_0x348156?_0x1ccccf:_0x152333,![]);}}}if(!this[_0x33dbae(0x449)])this[_0x33dbae(0x449)]=this[_0x33dbae(0x4d3)][_0x33dbae(0x51a)]();}[_0x518421(0x1b6)](_0x366413,_0x1d40cf){const _0x35988c=_0x518421,_0x4b59dc=this[_0x35988c(0x4d3)]['createShader'](_0x366413);return this['ctx']['shaderSource'](_0x4b59dc,_0x1d40cf),this[_0x35988c(0x4d3)][_0x35988c(0x327)](_0x4b59dc),_0x4b59dc;}[_0x518421(0x382)](_0x12a0c2,_0x304c0a){const _0x5408a1=_0x518421,_0x488ed0=this[_0x5408a1(0x4d3)][_0x5408a1(0x382)]();return this['ctx'][_0x5408a1(0x293)](_0x488ed0,_0x12a0c2),this[_0x5408a1(0x4d3)][_0x5408a1(0x293)](_0x488ed0,_0x304c0a),this[_0x5408a1(0x4d3)][_0x5408a1(0x2d4)](_0x488ed0),_0x488ed0;}[_0x518421(0x580)](){const _0x1d17bb=_0x518421;this[_0x1d17bb(0x4d3)][_0x1d17bb(0x29b)](this[_0x1d17bb(0x4d3)]['BLEND']),this[_0x1d17bb(0x4d3)][_0x1d17bb(0x1ef)](this[_0x1d17bb(0x4d3)]['SRC_ALPHA'],this[_0x1d17bb(0x4d3)][_0x1d17bb(0x353)]);}['isSeatUnavailable'](_0x1b2b20){const _0x57f330=_0x518421;return!!((_0x1b2b20==null?void 0x0:_0x1b2b20[_0x57f330(0x540)])||(_0x1b2b20==null?void 0x0:_0x1b2b20['state'])===_0x57f330(0x483)||!(_0x1b2b20==null?void 0x0:_0x1b2b20['priceId']));}[_0x518421(0x3ba)](){const _0x341bae=_0x518421,_0x215fe1=this[_0x341bae(0x278)]['seats']||[];let _0x1cab41=0x811c9dc5>>>0x0;for(let _0x1282b6=0x0;_0x1282b6<_0x215fe1[_0x341bae(0x287)];_0x1282b6++){const _0x19f937=_0x215fe1[_0x1282b6];if(!this[_0x341bae(0x1eb)](_0x19f937))continue;let _0x53709f=_0x19f937['id']>>>0x0;_0x1cab41^=_0x53709f&0xff,_0x1cab41=Math[_0x341bae(0x2a0)](_0x1cab41,0x1000193),_0x1cab41^=_0x53709f>>>0x8&0xff,_0x1cab41=Math['imul'](_0x1cab41,0x1000193),_0x1cab41^=_0x53709f>>>0x10&0xff,_0x1cab41=Math[_0x341bae(0x2a0)](_0x1cab41,0x1000193),_0x1cab41^=_0x53709f>>>0x18&0xff,_0x1cab41=Math[_0x341bae(0x2a0)](_0x1cab41,0x1000193);}return _0x1cab41>>>0x0;}},OverlayRenderer=class{constructor(_0xbce6da,_0x527545,_0x5ad980,_0x6c7015){const _0x142d45=_0x518421;this[_0x142d45(0x2c7)]=null,this['a_position']=-0x1,this[_0x142d45(0x3d2)]=-0x1,this[_0x142d45(0x396)]=-0x1,this[_0x142d45(0x285)]=-0x1,this[_0x142d45(0x498)]=-0x1,this['a_error']=-0x1,this[_0x142d45(0x2b6)]=-0x1,this['a_selectedStart']=-0x1,this[_0x142d45(0x45c)]=-0x1,this['u_stageWidth']=null,this['u_stageHeight']=null,this[_0x142d45(0x1bb)]=null,this['u_translate']=null,this[_0x142d45(0x23d)]=null,this[_0x142d45(0x52f)]=null,this[_0x142d45(0x486)]=null,this[_0x142d45(0x60b)]=null,this['u_hoveredColor']=null,this[_0x142d45(0x3b4)]=null,this[_0x142d45(0x1ac)]=null,this[_0x142d45(0x611)]=null,this[_0x142d45(0x604)]=null,this[_0x142d45(0x3b6)]=null,this[_0x142d45(0x532)]=null,this[_0x142d45(0x197)]=null,this[_0x142d45(0x55c)]=null,this[_0x142d45(0x3c0)]=null,this[_0x142d45(0x2a1)]=null,this[_0x142d45(0x193)]=null,this['iconsUVMap']=new Map(),this[_0x142d45(0x4d3)]=_0xbce6da,this[_0x142d45(0x278)]=_0x527545,this[_0x142d45(0x228)]=_0x5ad980,this[_0x142d45(0x1f7)]=_0x6c7015,this['initializeProgram']();}[_0x518421(0x4ca)](_0x73537,_0x34c54c){const _0x381360=_0x518421;this[_0x381360(0x193)]=_0x73537,this[_0x381360(0xfd)]=_0x34c54c;}[_0x518421(0x251)](_0x357285,_0x3b24cc){const _0x3eb36a=_0x518421;var _0x4b53d9,_0x2ba95d,_0x5a5bd8,_0x449147,_0xfdd9b5,_0x92f016,_0x684bb1,_0x38d9ee,_0x5d9128,_0xfcd361,_0x5f52a2,_0x3e31ea,_0x5d264f,_0x1927f5,_0x39f6ed,_0x1369a4,_0x145e17,_0x281bb9,_0x4ea71a,_0x1856d4;if(!this[_0x3eb36a(0x2c7)])return;const _0x12ffa6=[],_0x2d1356=this[_0x3eb36a(0x278)][_0x3eb36a(0x398)][_0x3eb36a(0x1ae)],_0x4281de=(_0x2ba95d=(_0x4b53d9=_0x2d1356==null?void 0x0:_0x2d1356[_0x3eb36a(0x111)])==null?void 0x0:_0x4b53d9[_0x3eb36a(0x175)])==null?void 0x0:_0x2ba95d[_0x3eb36a(0x2c5)],_0xf4bfd6=(_0x449147=(_0x5a5bd8=_0x2d1356==null?void 0x0:_0x2d1356[_0x3eb36a(0x111)])==null?void 0x0:_0x5a5bd8[_0x3eb36a(0x417)])==null?void 0x0:_0x449147['size'],_0x289fbb=(_0x92f016=(_0xfdd9b5=_0x2d1356==null?void 0x0:_0x2d1356[_0x3eb36a(0x111)])==null?void 0x0:_0xfdd9b5['loading'])==null?void 0x0:_0x92f016[_0x3eb36a(0x2c5)],_0x4782d7=(_0x38d9ee=(_0x684bb1=_0x2d1356==null?void 0x0:_0x2d1356['seatStyles'])==null?void 0x0:_0x684bb1[_0x3eb36a(0x452)])==null?void 0x0:_0x38d9ee[_0x3eb36a(0x2c5)],_0x23ed43=Object[_0x3eb36a(0x455)](this[_0x3eb36a(0x278)][_0x3eb36a(0x5a4)]||{}),_0x41c886={};for(let _0x2dc15b=0x0;_0x2dc15b<_0x23ed43[_0x3eb36a(0x287)];_0x2dc15b++){const _0xb93ed8=Number(_0x23ed43[_0x2dc15b][0x0]);_0x41c886[_0xb93ed8]=_0x2dc15b;}const _0x1cb31c=new Set(this['appContext']['getCartSeats']&&this['appContext'][_0x3eb36a(0x2dc)]()[_0x3eb36a(0x52b)](_0x2e2008=>_0x2e2008['id'])||[]),_0x562d55=new Set();if(this[_0x3eb36a(0x278)]['hoveredRow'])(((_0x5d9128=this[_0x3eb36a(0x278)][_0x3eb36a(0x46e)])==null?void 0x0:_0x5d9128[this[_0x3eb36a(0x278)]['hoveredRow']['id']])||[])[_0x3eb36a(0x356)](_0x1887c4=>_0x562d55[_0x3eb36a(0x2f0)](_0x1887c4['id']));else this[_0x3eb36a(0x278)][_0x3eb36a(0x46c)]&&_0x562d55[_0x3eb36a(0x2f0)](this[_0x3eb36a(0x278)][_0x3eb36a(0x46c)]['id']);const _0x32d56c=performance[_0x3eb36a(0x12b)]()/0x3e8,_0x3c0f72=0.3;for(let _0x2e0192=0x0;_0x2e0192<this['appContext']['seats'][_0x3eb36a(0x287)];_0x2e0192++){const _0x5992c=this[_0x3eb36a(0x278)][_0x3eb36a(0x339)][_0x2e0192],_0x539f49=_0x1cb31c[_0x3eb36a(0x32a)](_0x5992c['id'])?0x1:0x0,_0x59bae0=_0x562d55[_0x3eb36a(0x32a)](_0x5992c['id'])?0x1:0x0,_0x43eb5c=_0x5992c['state']===_0x3eb36a(0x1f8)?0x1:0x0,_0x44867a=_0x5992c[_0x3eb36a(0x577)]==='error'?0x1:0x0,_0xe67b41=(_0xfcd361=this[_0x3eb36a(0x278)][_0x3eb36a(0x5db)])==null?void 0x0:_0xfcd361[_0x5992c['id']],_0x5c7712=!_0x539f49&&!_0x43eb5c&&_0xe67b41?_0xe67b41/0x3e8:-0x1,_0x426669=_0x5c7712>=0x0&&_0x32d56c-_0x5c7712<_0x3c0f72;if(_0x539f49||_0x59bae0||_0x43eb5c||_0x44867a||_0x426669){const _0x3f7695=_0x539f49?_0x4281de!=null?_0x4281de:0x6:_0x59bae0?_0xf4bfd6!=null?_0xf4bfd6:0x6:_0x43eb5c?_0x289fbb!=null?_0x289fbb:0x6:(_0x5f52a2=_0x4782d7!=null?_0x4782d7:_0x4281de)!=null?_0x5f52a2:0x6,_0x492bcc=(_0x3e31ea=this[_0x3eb36a(0x278)][_0x3eb36a(0x360)])==null?void 0x0:_0x3e31ea[_0x5992c['id']],_0x2ea399=_0x492bcc?_0x492bcc/0x3e8:-0x1,_0x43a451=_0x5992c['priceId']!==void 0x0&&_0x5992c['priceId']!==null?(_0x5d264f=_0x41c886[Number(_0x5992c['priceId'])])!=null?_0x5d264f:-0x1:-0x1;_0x12ffa6[_0x3eb36a(0x1be)](_0x5992c['x'],_0x5992c['y'],_0x3f7695,_0x539f49,_0x59bae0,_0x43eb5c,_0x44867a,_0x43a451,_0x2ea399,_0x5c7712);}}if(_0x12ffa6['length']>0x0){if(!this[_0x3eb36a(0x2a1)])this[_0x3eb36a(0x2a1)]=this[_0x3eb36a(0x4d3)][_0x3eb36a(0x51a)]();this[_0x3eb36a(0x4d3)]['bindBuffer'](this['ctx'][_0x3eb36a(0x574)],this[_0x3eb36a(0x2a1)]),this[_0x3eb36a(0x4d3)][_0x3eb36a(0x18d)](this['ctx']['ARRAY_BUFFER'],new Float32Array(_0x12ffa6),this[_0x3eb36a(0x4d3)][_0x3eb36a(0x324)]),this['ctx'][_0x3eb36a(0x518)](this[_0x3eb36a(0x2c7)]);const _0x57c2f0=0xa,_0x9d176d=_0x57c2f0*0x4;this[_0x3eb36a(0x4d3)][_0x3eb36a(0x569)](this['a_position']),this[_0x3eb36a(0x4d3)][_0x3eb36a(0x273)](this[_0x3eb36a(0x3dd)],0x2,this['ctx'][_0x3eb36a(0x290)],![],_0x9d176d,0x0),this['ctx'][_0x3eb36a(0x569)](this[_0x3eb36a(0x3d2)]),this[_0x3eb36a(0x4d3)]['vertexAttribPointer'](this[_0x3eb36a(0x3d2)],0x1,this[_0x3eb36a(0x4d3)][_0x3eb36a(0x290)],![],_0x9d176d,0x2*0x4),this['ctx']['enableVertexAttribArray'](this[_0x3eb36a(0x396)]),this[_0x3eb36a(0x4d3)][_0x3eb36a(0x273)](this[_0x3eb36a(0x396)],0x1,this['ctx'][_0x3eb36a(0x290)],![],_0x9d176d,0x3*0x4),this[_0x3eb36a(0x4d3)][_0x3eb36a(0x569)](this[_0x3eb36a(0x285)]),this[_0x3eb36a(0x4d3)][_0x3eb36a(0x273)](this[_0x3eb36a(0x285)],0x1,this[_0x3eb36a(0x4d3)][_0x3eb36a(0x290)],![],_0x9d176d,0x4*0x4),this[_0x3eb36a(0x4d3)][_0x3eb36a(0x569)](this[_0x3eb36a(0x498)]),this[_0x3eb36a(0x4d3)][_0x3eb36a(0x273)](this[_0x3eb36a(0x498)],0x1,this[_0x3eb36a(0x4d3)]['FLOAT'],![],_0x9d176d,0x5*0x4),this[_0x3eb36a(0x4d3)][_0x3eb36a(0x569)](this[_0x3eb36a(0x4e6)]),this[_0x3eb36a(0x4d3)][_0x3eb36a(0x273)](this['a_error'],0x1,this[_0x3eb36a(0x4d3)][_0x3eb36a(0x290)],![],_0x9d176d,0x6*0x4),this['ctx'][_0x3eb36a(0x569)](this[_0x3eb36a(0x2b6)]),this[_0x3eb36a(0x4d3)][_0x3eb36a(0x273)](this[_0x3eb36a(0x2b6)],0x1,this['ctx'][_0x3eb36a(0x290)],![],_0x9d176d,0x7*0x4),this['ctx'][_0x3eb36a(0x569)](this[_0x3eb36a(0x5b6)]),this[_0x3eb36a(0x4d3)][_0x3eb36a(0x273)](this[_0x3eb36a(0x5b6)],0x1,this[_0x3eb36a(0x4d3)][_0x3eb36a(0x290)],![],_0x9d176d,0x8*0x4),this[_0x3eb36a(0x4d3)]['enableVertexAttribArray'](this['a_deselectedStart']),this[_0x3eb36a(0x4d3)][_0x3eb36a(0x273)](this[_0x3eb36a(0x45c)],0x1,this['ctx'][_0x3eb36a(0x290)],![],_0x9d176d,0x9*0x4),this[_0x3eb36a(0x4d3)][_0x3eb36a(0x359)](this['u_scale'],_0x357285),this[_0x3eb36a(0x4d3)][_0x3eb36a(0xee)](this[_0x3eb36a(0x1d8)],_0x3b24cc['x'],_0x3b24cc['y']),this[_0x3eb36a(0x4d3)][_0x3eb36a(0x359)](this[_0x3eb36a(0x4a6)],this[_0x3eb36a(0x228)]()),this[_0x3eb36a(0x4d3)][_0x3eb36a(0x359)](this[_0x3eb36a(0x57d)],this[_0x3eb36a(0x1f7)]()),this[_0x3eb36a(0x4d3)][_0x3eb36a(0x4c4)](this['u_enable3DView'],this[_0x3eb36a(0x278)][_0x3eb36a(0x4f0)]?0x1:0x0),this[_0x3eb36a(0x4d3)][_0x3eb36a(0x359)](this[_0x3eb36a(0x52f)],this[_0x3eb36a(0x278)][_0x3eb36a(0x183)]),this['ctx'][_0x3eb36a(0x359)](this[_0x3eb36a(0x486)],this['appContext'][_0x3eb36a(0x1d5)]),this['ctx'][_0x3eb36a(0x359)](this[_0x3eb36a(0x60b)],this['appContext'][_0x3eb36a(0x1fb)]),this[_0x3eb36a(0x4d3)][_0x3eb36a(0x359)](this[_0x3eb36a(0x3b4)],performance[_0x3eb36a(0x12b)]()/0x3e8),this[_0x3eb36a(0x4d3)][_0x3eb36a(0x359)](this['u_pulseDuration'],0.3);const _0x450a62=0xc,_0x4ba5ee=performance['now']()/0x3e8*_0x450a62;if(this[_0x3eb36a(0x3c0)])this[_0x3eb36a(0x4d3)][_0x3eb36a(0x359)](this[_0x3eb36a(0x3c0)],_0x4ba5ee);const _0x495e2c=((_0x39f6ed=(_0x1927f5=_0x2d1356==null?void 0x0:_0x2d1356[_0x3eb36a(0x111)])==null?void 0x0:_0x1927f5[_0x3eb36a(0x1f8)])==null?void 0x0:_0x39f6ed['color'])||_0x3eb36a(0x1fd),_0x544364=_0x31c7d2=>{const _0x456f04=_0x3eb36a,_0x3df0d9=_0x31c7d2[_0x456f04(0xf2)]('#',''),_0x7f0fe5=parseInt(_0x3df0d9[_0x456f04(0x3d1)](0x0,0x2),0x10)/0xff,_0x1ee662=parseInt(_0x3df0d9[_0x456f04(0x3d1)](0x2,0x4),0x10)/0xff,_0x41be4f=parseInt(_0x3df0d9['substring'](0x4,0x6),0x10)/0xff;return[_0x7f0fe5,_0x1ee662,_0x41be4f];},[_0x332e33,_0x2e037b,_0x1d0903]=_0x544364(_0x495e2c);if(this[_0x3eb36a(0x532)])this[_0x3eb36a(0x4d3)]['uniform3f'](this[_0x3eb36a(0x532)],_0x332e33,_0x2e037b,_0x1d0903);const _0x5cf7b0=((_0x145e17=(_0x1369a4=_0x2d1356==null?void 0x0:_0x2d1356[_0x3eb36a(0x111)])==null?void 0x0:_0x1369a4[_0x3eb36a(0x452)])==null?void 0x0:_0x145e17[_0x3eb36a(0x247)])||_0x3eb36a(0x366),_0x53c8a5=_0x30a6ba=>{const _0x271cc8=_0x3eb36a,_0xc2a09=_0x30a6ba[_0x271cc8(0xf2)]('#',''),_0x2325f6=parseInt(_0xc2a09['substring'](0x0,0x2),0x10)/0xff,_0x440742=parseInt(_0xc2a09[_0x271cc8(0x3d1)](0x2,0x4),0x10)/0xff,_0x4f9da4=parseInt(_0xc2a09['substring'](0x4,0x6),0x10)/0xff;return[_0x2325f6,_0x440742,_0x4f9da4];},[_0x12a259,_0x8d7b5c,_0x16e397]=_0x53c8a5(_0x5cf7b0);if(this[_0x3eb36a(0x55c)])this['ctx'][_0x3eb36a(0x383)](this['u_errorColor'],_0x12a259,_0x8d7b5c,_0x16e397);const _0x52a443=(_0x281bb9=this['appContext'][_0x3eb36a(0x398)][_0x3eb36a(0x1ae)])==null?void 0x0:_0x281bb9['svgSectionStyles'],_0x4de869=((_0x1856d4=(_0x4ea71a=_0x52a443==null?void 0x0:_0x52a443[_0x3eb36a(0x417)])==null?void 0x0:_0x4ea71a[_0x3eb36a(0x128)])==null?void 0x0:_0x1856d4[_0x3eb36a(0x247)])||_0x3eb36a(0x1fd),_0x4c1647=(_0x411aa5,_0x3ca5d4)=>{const _0x78a743=_0x3eb36a,_0x51dc0f=_0x411aa5[_0x78a743(0xf2)]('#',''),_0x5f0bb8=parseInt(_0x51dc0f[_0x78a743(0x3d1)](0x0,0x2),0x10)/0xff,_0x3e746a=parseInt(_0x51dc0f[_0x78a743(0x3d1)](0x2,0x4),0x10)/0xff,_0x335dfb=parseInt(_0x51dc0f['substring'](0x4,0x6),0x10)/0xff;return[_0x5f0bb8,_0x3e746a,_0x335dfb,_0x3ca5d4];},[_0x52a244,_0x2d5493,_0x5c0f65,_0x4c1975]=_0x4c1647(_0x4de869,0x1);this['ctx'][_0x3eb36a(0x4a4)](this[_0x3eb36a(0x586)],_0x52a244,_0x2d5493,_0x5c0f65,_0x4c1975);const _0x5100d2=this['ctx'][_0x3eb36a(0x4e2)](this[_0x3eb36a(0x2c7)],_0x3eb36a(0x4ea));if(_0x5100d2){const _0xe36cf0=new Float32Array(0x20*0x3),_0x482b44=_0x23ed43;for(let _0xeb956a=0x0;_0xeb956a<Math[_0x3eb36a(0x318)](_0x482b44['length'],0x20);_0xeb956a++){const _0x36cb1e=_0x482b44[_0xeb956a][0x1][_0x3eb36a(0x247)]||'',_0x4c7e97=(_0x36cb1e||'')['replace']('#',''),_0x588261=(parseInt(_0x4c7e97['substring'](0x0,0x2),0x10)||0x0)/0xff,_0x25e138=(parseInt(_0x4c7e97[_0x3eb36a(0x3d1)](0x2,0x4),0x10)||0x0)/0xff,_0x42de8d=(parseInt(_0x4c7e97[_0x3eb36a(0x3d1)](0x4,0x6),0x10)||0x0)/0xff;_0xe36cf0[_0xeb956a*0x3+0x0]=_0x588261,_0xe36cf0[_0xeb956a*0x3+0x1]=_0x25e138,_0xe36cf0[_0xeb956a*0x3+0x2]=_0x42de8d;}this[_0x3eb36a(0x4d3)][_0x3eb36a(0x50a)](_0x5100d2,_0xe36cf0);}if(this[_0x3eb36a(0x193)]&&this[_0x3eb36a(0x611)]&&this[_0x3eb36a(0x604)]){this[_0x3eb36a(0x4d3)][_0x3eb36a(0x374)](this[_0x3eb36a(0x4d3)][_0x3eb36a(0x1f4)]),this[_0x3eb36a(0x4d3)]['bindTexture'](this[_0x3eb36a(0x4d3)][_0x3eb36a(0x277)],this[_0x3eb36a(0x193)]),this['ctx'][_0x3eb36a(0x4c4)](this[_0x3eb36a(0x611)],0x1);const _0x4fd9fe=this['iconsUVMap']['get']('checkmark');_0x4fd9fe&&this[_0x3eb36a(0x4d3)]['uniform4f'](this[_0x3eb36a(0x604)],_0x4fd9fe['x'],_0x4fd9fe['y'],_0x4fd9fe[_0x3eb36a(0x28a)],_0x4fd9fe['height']);if(this['u_loadingUV']){const _0x4069e6=this['iconsUVMap'][_0x3eb36a(0x3d5)]('loading');_0x4069e6&&this['ctx'][_0x3eb36a(0x4a4)](this['u_loadingUV'],_0x4069e6['x'],_0x4069e6['y'],_0x4069e6['width'],_0x4069e6[_0x3eb36a(0x52c)]);}if(this['u_errorUV']){const _0x400ef1=this[_0x3eb36a(0xfd)][_0x3eb36a(0x3d5)](_0x3eb36a(0x452));_0x400ef1&&this[_0x3eb36a(0x4d3)][_0x3eb36a(0x4a4)](this[_0x3eb36a(0x197)],_0x400ef1['x'],_0x400ef1['y'],_0x400ef1[_0x3eb36a(0x28a)],_0x400ef1[_0x3eb36a(0x52c)]);}}this[_0x3eb36a(0x4d3)][_0x3eb36a(0x29b)](this[_0x3eb36a(0x4d3)][_0x3eb36a(0x10d)]),this[_0x3eb36a(0x4d3)][_0x3eb36a(0x1ef)](this['ctx'][_0x3eb36a(0x5c5)],this['ctx'][_0x3eb36a(0x353)]),this[_0x3eb36a(0x4d3)][_0x3eb36a(0x1d4)](this[_0x3eb36a(0x4d3)][_0x3eb36a(0x443)],0x0,_0x12ffa6[_0x3eb36a(0x287)]/_0x57c2f0);}}[_0x518421(0x3c5)](){const _0x176507=_0x518421,_0x44cb3c=this['createShader'](this[_0x176507(0x4d3)][_0x176507(0x629)],Overlay_default),_0x352174=this[_0x176507(0x1b6)](this['ctx'][_0x176507(0x404)],Overlay_default2);this[_0x176507(0x2c7)]=this['createProgram'](_0x44cb3c,_0x352174),this['a_position']=this[_0x176507(0x4d3)][_0x176507(0x167)](this['program'],_0x176507(0x3dd)),this[_0x176507(0x3d2)]=this[_0x176507(0x4d3)][_0x176507(0x167)](this[_0x176507(0x2c7)],_0x176507(0x3d2)),this[_0x176507(0x396)]=this[_0x176507(0x4d3)]['getAttribLocation'](this[_0x176507(0x2c7)],'a_selected'),this[_0x176507(0x285)]=this['ctx'][_0x176507(0x167)](this[_0x176507(0x2c7)],_0x176507(0x285)),this[_0x176507(0x498)]=this[_0x176507(0x4d3)][_0x176507(0x167)](this[_0x176507(0x2c7)],_0x176507(0x498)),this[_0x176507(0x4e6)]=this[_0x176507(0x4d3)]['getAttribLocation'](this[_0x176507(0x2c7)],_0x176507(0x4e6)),this['a_priceColorIndex']=this[_0x176507(0x4d3)][_0x176507(0x167)](this['program'],'a_priceColorIndex'),this[_0x176507(0x5b6)]=this['ctx'][_0x176507(0x167)](this[_0x176507(0x2c7)],_0x176507(0x5b6)),this[_0x176507(0x45c)]=this[_0x176507(0x4d3)][_0x176507(0x167)](this[_0x176507(0x2c7)],_0x176507(0x45c)),this[_0x176507(0x4a6)]=this['ctx'][_0x176507(0x4e2)](this[_0x176507(0x2c7)],_0x176507(0x624)),this[_0x176507(0x57d)]=this[_0x176507(0x4d3)][_0x176507(0x4e2)](this[_0x176507(0x2c7)],_0x176507(0x338)),this[_0x176507(0x1bb)]=this[_0x176507(0x4d3)][_0x176507(0x4e2)](this['program'],_0x176507(0x270)),this[_0x176507(0x1d8)]=this[_0x176507(0x4d3)][_0x176507(0x4e2)](this[_0x176507(0x2c7)],_0x176507(0x481)),this['u_enable3DView']=this['ctx']['getUniformLocation'](this[_0x176507(0x2c7)],_0x176507(0x23d)),this[_0x176507(0x52f)]=this[_0x176507(0x4d3)][_0x176507(0x4e2)](this[_0x176507(0x2c7)],'u_rotationZ'),this[_0x176507(0x486)]=this[_0x176507(0x4d3)][_0x176507(0x4e2)](this[_0x176507(0x2c7)],'u_perspectiveZ'),this[_0x176507(0x60b)]=this['ctx'][_0x176507(0x4e2)](this[_0x176507(0x2c7)],_0x176507(0x60b)),this[_0x176507(0x586)]=this[_0x176507(0x4d3)][_0x176507(0x4e2)](this[_0x176507(0x2c7)],'u_hoveredColor'),this[_0x176507(0x3b4)]=this[_0x176507(0x4d3)][_0x176507(0x4e2)](this['program'],'u_time'),this[_0x176507(0x1ac)]=this[_0x176507(0x4d3)]['getUniformLocation'](this[_0x176507(0x2c7)],_0x176507(0x1ac)),this[_0x176507(0x611)]=this[_0x176507(0x4d3)][_0x176507(0x4e2)](this[_0x176507(0x2c7)],_0x176507(0x611)),this['u_markedUV']=this[_0x176507(0x4d3)][_0x176507(0x4e2)](this[_0x176507(0x2c7)],_0x176507(0x604)),this[_0x176507(0x3b6)]=this[_0x176507(0x4d3)]['getUniformLocation'](this[_0x176507(0x2c7)],_0x176507(0x3b6)),this[_0x176507(0x532)]=this[_0x176507(0x4d3)][_0x176507(0x4e2)](this[_0x176507(0x2c7)],_0x176507(0x532)),this['u_errorUV']=this[_0x176507(0x4d3)][_0x176507(0x4e2)](this[_0x176507(0x2c7)],_0x176507(0x197)),this[_0x176507(0x55c)]=this['ctx'][_0x176507(0x4e2)](this[_0x176507(0x2c7)],_0x176507(0x55c)),this[_0x176507(0x3c0)]=this[_0x176507(0x4d3)][_0x176507(0x4e2)](this[_0x176507(0x2c7)],'u_loadingRotateAngle');}[_0x518421(0x1b6)](_0x42c0d5,_0x56896a){const _0x330728=_0x518421,_0x492851=this[_0x330728(0x4d3)]['createShader'](_0x42c0d5);this[_0x330728(0x4d3)][_0x330728(0x5d9)](_0x492851,_0x56896a),this[_0x330728(0x4d3)][_0x330728(0x327)](_0x492851);const _0x4ffd4e=this['ctx']['getShaderParameter'](_0x492851,this[_0x330728(0x4d3)][_0x330728(0x3c2)]);if(!_0x4ffd4e){const _0x31358d=this[_0x330728(0x4d3)][_0x330728(0x379)](_0x492851)||_0x330728(0x5c7);console[_0x330728(0x452)](_0x330728(0x1b4),_0x31358d);}return _0x492851;}[_0x518421(0x382)](_0x5eafcf,_0x40cea2){const _0x5792df=_0x518421,_0x52cc91=this[_0x5792df(0x4d3)][_0x5792df(0x382)]();this[_0x5792df(0x4d3)][_0x5792df(0x293)](_0x52cc91,_0x5eafcf),this[_0x5792df(0x4d3)]['attachShader'](_0x52cc91,_0x40cea2),this[_0x5792df(0x4d3)][_0x5792df(0x2d4)](_0x52cc91);const _0xacb3ec=this['ctx'][_0x5792df(0x27c)](_0x52cc91,this[_0x5792df(0x4d3)][_0x5792df(0x266)]);if(!_0xacb3ec){const _0x3230c9=this['ctx'][_0x5792df(0x243)](_0x52cc91)||_0x5792df(0x16d);console[_0x5792df(0x452)](_0x5792df(0x214),_0x3230c9);}return _0x52cc91;}},ICON_VALUES=RESERVED_ICON_VALUES,processSeat=(_0x3ee143,_0x5cf256,_0x5d732c,_0x521af7,_0x281eba=ICON_VALUES[_0x518421(0x483)])=>{const _0x45948a=_0x518421;var _0x4ef280,_0x37f219,_0x3bda04,_0x89225;const _0x35dd8b=_0x5cf256[_0x45948a(0x398)][_0x45948a(0x1ae)][_0x45948a(0x111)],_0x196a04=_0x3ee143['locked']?_0x35dd8b[_0x45948a(0x483)]:_0x3ee143[_0x45948a(0x570)]?_0x35dd8b[_0x45948a(0x570)]:_0x35dd8b[_0x45948a(0x60e)];if(!_0x196a04)return{'position':[],'iconType':_0x281eba,'priceColorIndex':-0x1,'size':0x6};const _0x5a5c84=(_0x37f219=(_0x4ef280=_0x5cf256['settings'])['onBeforeSeatDraw'])==null?void 0x0:_0x37f219['call'](_0x4ef280,{'context':_0x5cf256,'seat':_0x3ee143,'style':_0x196a04,'state':_0x45948a(0x60e)}),_0x3812b0=[_0x3ee143['x'],_0x3ee143['y']];let _0x50aa84=_0x281eba,_0x48d1b5=-0x1;const _0x1629d5=(_0x3ee143[_0x45948a(0x3ea)]?(_0x3bda04=_0x196a04['accessible'])==null?void 0x0:_0x3bda04[_0x45948a(0x2c5)]:_0x5a5c84==null?void 0x0:_0x5a5c84[_0x45948a(0x2c5)])||_0x196a04[_0x45948a(0x2c5)];if(_0x3ee143[_0x45948a(0x19e)]){_0x48d1b5=_0x5d732c[_0x45948a(0x61e)](_0x5739d7=>_0x5739d7[_0x45948a(0x19e)]===_0x3ee143[_0x45948a(0x19e)]);if(_0x3ee143[_0x45948a(0x3ea)])_0x50aa84=ICON_VALUES[_0x45948a(0x5f1)];else{if(_0x3ee143[_0x45948a(0x25e)])_0x50aa84=ICON_VALUES[_0x45948a(0x5a8)];else{if(_0x5a5c84==null?void 0x0:_0x5a5c84[_0x45948a(0x195)]){const _0xfbcf91=String(_0x5a5c84[_0x45948a(0x195)]);_0x50aa84=(_0x89225=_0x521af7[_0xfbcf91])!=null?_0x89225:ICON_VALUES['default'];}else _0x50aa84=ICON_VALUES[_0x45948a(0x483)];}}}return{'position':_0x3812b0,'iconType':_0x50aa84,'priceColorIndex':_0x48d1b5,'size':_0x1629d5};},hexToRGB=_0x4741bc=>{const _0x526366=_0x518421;if(!_0x4741bc)return[0x0,0x0,0x0];_0x4741bc=_0x4741bc[_0x526366(0xf2)]('#','');const _0x583c13=parseInt(_0x4741bc['substring'](0x0,0x2),0x10),_0xe033bd=parseInt(_0x4741bc[_0x526366(0x3d1)](0x2,0x4),0x10),_0xafddcf=parseInt(_0x4741bc[_0x526366(0x3d1)](0x4,0x6),0x10);return[_0x583c13/0xff,_0xe033bd/0xff,_0xafddcf/0xff];},generatePriceCategories=_0x702baf=>{const _0x241fa4=_0x518421;return Object[_0x241fa4(0x455)](_0x702baf[_0x241fa4(0x5a4)])[_0x241fa4(0x52b)](([_0x32abcd,_0x5c3c04])=>{const _0x1718af=hexToRGB(_0x5c3c04['color']);return{'priceId':parseInt(_0x32abcd),'colorRGB':_0x1718af};});},createSeatsGeometry=_0x27c7e6=>{const _0x4f7327=_0x518421;var _0x4aac67,_0x334e36;const _0xe9ae72=generatePriceCategories(_0x27c7e6),_0x58c00f=Object[_0x4f7327(0x31b)](((_0x334e36=(_0x4aac67=_0x27c7e6[_0x4f7327(0x398)])==null?void 0x0:_0x4aac67[_0x4f7327(0x1ae)])==null?void 0x0:_0x334e36[_0x4f7327(0x316)])||{}),_0x4b6285=generateIconValues(_0x58c00f);if(!_0x27c7e6[_0x4f7327(0x339)]||_0x27c7e6[_0x4f7327(0x339)]['length']===0x0)return{'positions':[],'iconTypes':[],'priceColorIndices':[],'priceCategories':_0xe9ae72,'sizes':[],'seatIds':[]};const _0x7ba375=[],_0x18fb62=[],_0x1db821=[],_0x139a99=[],_0x2a650e=[];for(const _0x511ead of _0x27c7e6[_0x4f7327(0x339)]){const {position:_0x15d94f,iconType:_0x433e55,priceColorIndex:_0x9aaf3b,size:_0x27a225}=processSeat(_0x511ead,_0x27c7e6,_0xe9ae72,_0x4b6285);_0x15d94f[_0x4f7327(0x287)]>0x0&&(_0x7ba375[_0x4f7327(0x1be)](..._0x15d94f),_0x18fb62['push'](_0x433e55),_0x1db821[_0x4f7327(0x1be)](_0x9aaf3b),_0x139a99[_0x4f7327(0x1be)](_0x27a225),_0x2a650e[_0x4f7327(0x1be)](_0x511ead['id']));}return{'positions':_0x7ba375,'iconTypes':_0x18fb62,'priceColorIndices':_0x1db821,'priceCategories':_0xe9ae72,'sizes':_0x139a99,'seatIds':_0x2a650e};},setPriceColors=(_0x5c0821,_0x1747cb,_0x5b9385)=>{const _0x4cc115=_0x518421,_0x2aa500=new Float32Array(0x20*0x3);Array[_0x4cc115(0x44d)](_0x5b9385)?_0x5b9385[_0x4cc115(0x356)]((_0x4f3363,_0x537e1e)=>{const _0x257ff7=_0x4cc115,_0xc6bd52=_0x4f3363[_0x257ff7(0x15d)];_0x2aa500[_0x537e1e*0x3]=_0xc6bd52[0x0]||0x0,_0x2aa500[_0x537e1e*0x3+0x1]=_0xc6bd52[0x1]||0x0,_0x2aa500[_0x537e1e*0x3+0x2]=_0xc6bd52[0x2]||0x0;}):console[_0x4cc115(0x452)](_0x4cc115(0x1ca));_0x5c0821['useProgram'](_0x1747cb);const _0x216f1c=_0x5c0821['getUniformLocation'](_0x1747cb,_0x4cc115(0x4ea));_0x5c0821[_0x4cc115(0x50a)](_0x216f1c,_0x2aa500);},dpr3=window[_0x518421(0x4d1)],SeatsRenderer=class{constructor(_0x5d34bb,_0x4dfcda,_0x2c5286,_0x5c7696){const _0x496cd9=_0x518421;this[_0x496cd9(0x2c7)]=null,this[_0x496cd9(0x3dd)]=-0x1,this[_0x496cd9(0xf5)]=-0x1,this['a_priceColorIndex']=-0x1,this[_0x496cd9(0x3d2)]=-0x1,this[_0x496cd9(0x496)]=-0x1,this[_0x496cd9(0x238)]=-0x1,this[_0x496cd9(0x1bb)]=null,this[_0x496cd9(0x1d8)]=null,this[_0x496cd9(0x4a6)]=null,this[_0x496cd9(0x57d)]=null,this[_0x496cd9(0x2b7)]=null,this[_0x496cd9(0x23d)]=null,this[_0x496cd9(0x52f)]=null,this[_0x496cd9(0x486)]=null,this['u_tiltX']=null,this['seatsPositionBuffer']=null,this[_0x496cd9(0x54c)]=null,this['priceColorBuffer']=null,this[_0x496cd9(0x2df)]=null,this[_0x496cd9(0x2f3)]=null,this[_0x496cd9(0x426)]=null,this['seatsPositions']=[],this[_0x496cd9(0x5c9)]=[],this['staticGeometryValid']=![],this[_0x496cd9(0x5f6)]=null,this[_0x496cd9(0x5cf)]=0x0,this[_0x496cd9(0x391)]='',this[_0x496cd9(0x54f)]=null,this['priceIndicesDirty']=!![],this['priceIdToIndex']={},this[_0x496cd9(0x193)]=null,this['iconsUVMap']=new Map(),this[_0x496cd9(0x406)]=null,this[_0x496cd9(0x611)]=null,this[_0x496cd9(0x4d3)]=_0x5d34bb,this[_0x496cd9(0x278)]=_0x4dfcda,this[_0x496cd9(0x228)]=_0x2c5286,this[_0x496cd9(0x1f7)]=_0x5c7696,this[_0x496cd9(0x3c5)]();}[_0x518421(0x502)](){const _0x3f36c9=_0x518421;this[_0x3f36c9(0x562)]=![];}['invalidatePriceIndices'](){const _0x45cac4=_0x518421;this[_0x45cac4(0x136)]=!![];}[_0x518421(0x4ca)](_0x319771,_0x3e8e3d,_0x15802d){const _0xc9fccf=_0x518421;this['iconAtlas']=_0x319771,this[_0xc9fccf(0xfd)]=_0x3e8e3d,this['iconValues']=_0x15802d;}[_0x518421(0x251)](_0x36076d,_0x170762){const _0x2bcec4=_0x518421;if(!this[_0x2bcec4(0x2c7)])return;this[_0x2bcec4(0x53c)](),this[_0x2bcec4(0x431)](),this[_0x2bcec4(0x566)](),this[_0x2bcec4(0x40c)](),this[_0x2bcec4(0x4d3)][_0x2bcec4(0x518)](this['program']),this[_0x2bcec4(0x363)](this[_0x2bcec4(0x21c)],this[_0x2bcec4(0x3dd)],0x2),this[_0x2bcec4(0x363)](this['seatsAvailabilityBuffer'],this[_0x2bcec4(0xf5)],0x1),this[_0x2bcec4(0x363)](this[_0x2bcec4(0x2c8)],this[_0x2bcec4(0x2b6)],0x1),this[_0x2bcec4(0x363)](this[_0x2bcec4(0x2df)],this[_0x2bcec4(0x3d2)],0x1),this[_0x2bcec4(0x363)](this[_0x2bcec4(0x2f3)],this['a_selectedFlag'],0x1),this['bindAttrib'](this[_0x2bcec4(0x426)],this[_0x2bcec4(0x238)],0x1),this['ctx'][_0x2bcec4(0x359)](this[_0x2bcec4(0x1bb)],_0x36076d),this[_0x2bcec4(0x4d3)]['uniform2fv'](this[_0x2bcec4(0x1d8)],[_0x170762['x'],_0x170762['y']]),this[_0x2bcec4(0x4d3)][_0x2bcec4(0x359)](this[_0x2bcec4(0x4a6)],this[_0x2bcec4(0x228)]()),this[_0x2bcec4(0x4d3)][_0x2bcec4(0x359)](this[_0x2bcec4(0x57d)],this[_0x2bcec4(0x1f7)]()),this[_0x2bcec4(0x4d3)]['uniform1f'](this['u_dpr'],dpr3),this['ctx'][_0x2bcec4(0x4c4)](this['u_enable3DView'],this[_0x2bcec4(0x278)]['enable3DView']?0x1:0x0),this[_0x2bcec4(0x4d3)][_0x2bcec4(0x359)](this[_0x2bcec4(0x52f)],this[_0x2bcec4(0x278)][_0x2bcec4(0x183)]),this[_0x2bcec4(0x4d3)][_0x2bcec4(0x359)](this['u_perspectiveZ'],this[_0x2bcec4(0x278)][_0x2bcec4(0x1d5)]),this[_0x2bcec4(0x4d3)][_0x2bcec4(0x359)](this[_0x2bcec4(0x60b)],this[_0x2bcec4(0x278)][_0x2bcec4(0x1fb)]),this['setupIconUniforms'](),this[_0x2bcec4(0x4d3)][_0x2bcec4(0x29b)](this[_0x2bcec4(0x4d3)]['BLEND']),this[_0x2bcec4(0x4d3)]['blendFunc'](this[_0x2bcec4(0x4d3)]['SRC_ALPHA'],this['ctx'][_0x2bcec4(0x353)]);const _0x112abd=this[_0x2bcec4(0x2f2)]['length']/0x2;this['ctx'][_0x2bcec4(0x1d4)](this[_0x2bcec4(0x4d3)][_0x2bcec4(0x443)],0x0,_0x112abd);}[_0x518421(0x53c)](){const _0x4cb521=_0x518421,_0x2f4e0b=this[_0x4cb521(0x278)][_0x4cb521(0x339)],_0x31fb8c=Array[_0x4cb521(0x44d)](_0x2f4e0b)?_0x2f4e0b['length']:0x0;if(!this[_0x4cb521(0x562)]||_0x2f4e0b!==this[_0x4cb521(0x5f6)]||_0x31fb8c!==this[_0x4cb521(0x5cf)]){const _0x523171=createSeatsGeometry(this[_0x4cb521(0x278)]);if(!_0x523171)return;const {positions:_0x46d1b7,iconTypes:_0x4b8627,sizes:_0x9588ee,seatIds:_0x59bfff}=_0x523171;this['seatsPositions']=_0x46d1b7,this[_0x4cb521(0x5c9)]=_0x59bfff,this[_0x4cb521(0x21c)]=this[_0x4cb521(0x377)](this[_0x4cb521(0x21c)],_0x46d1b7,this[_0x4cb521(0x4d3)][_0x4cb521(0x5c8)]),this[_0x4cb521(0x54c)]=this['fillBufferWithUsage'](this['seatsAvailabilityBuffer'],_0x4b8627,this[_0x4cb521(0x4d3)][_0x4cb521(0x5c8)]),this[_0x4cb521(0x2df)]=this['fillBufferWithUsage'](this[_0x4cb521(0x2df)],_0x9588ee,this[_0x4cb521(0x4d3)][_0x4cb521(0x5c8)]),this[_0x4cb521(0x2c8)]=this[_0x4cb521(0x5c4)](this[_0x4cb521(0x2c8)],_0x59bfff[_0x4cb521(0x287)]);const _0xb03464=new Float32Array(_0x59bfff[_0x4cb521(0x287)]);this[_0x4cb521(0x2f3)]=this[_0x4cb521(0x5b2)](this[_0x4cb521(0x2f3)],_0xb03464,this[_0x4cb521(0x4d3)][_0x4cb521(0x5c8)]),this['hoveredFlagBuffer']=this[_0x4cb521(0x5b2)](this[_0x4cb521(0x426)],_0xb03464,this['ctx']['STATIC_DRAW']),this[_0x4cb521(0x5f6)]=_0x2f4e0b,this[_0x4cb521(0x5cf)]=_0x31fb8c,this[_0x4cb521(0x562)]=!![],this[_0x4cb521(0x54f)]=null,this[_0x4cb521(0x136)]=!![];}}['updatePricePaletteUniformIfChanged'](){const _0x4d3798=_0x518421,_0x70b7ee=Object[_0x4d3798(0x455)](this[_0x4d3798(0x278)][_0x4d3798(0x5a4)]||{}),_0x35e889=_0x70b7ee[_0x4d3798(0x52b)](([_0x589c8c,_0x451f91])=>_0x589c8c+':'+(_0x451f91&&_0x451f91[_0x4d3798(0x247)]||''))['join']('|');if(_0x35e889!==this[_0x4d3798(0x391)]){const _0x5c8c00=_0x70b7ee[_0x4d3798(0x52b)](([_0x1ecf56,_0x3c2556])=>({'priceId':parseInt(_0x1ecf56),'colorRGB':this[_0x4d3798(0x23b)](_0x3c2556&&_0x3c2556[_0x4d3798(0x247)]||'')}));setPriceColors(this[_0x4d3798(0x4d3)],this[_0x4d3798(0x2c7)],_0x5c8c00),this[_0x4d3798(0x391)]=_0x35e889,this[_0x4d3798(0x54f)]=null,this[_0x4d3798(0x608)]={};for(let _0x43c100=0x0;_0x43c100<_0x70b7ee[_0x4d3798(0x287)];_0x43c100++){this[_0x4d3798(0x608)][Number(_0x70b7ee[_0x43c100][0x0])]=_0x43c100;}this[_0x4d3798(0x136)]=!![];}}[_0x518421(0x566)](){const _0x5a7113=_0x518421;var _0x3209c4;if(this[_0x5a7113(0x5c9)][_0x5a7113(0x287)]===0x0)return;if(!this[_0x5a7113(0x136)]&&this[_0x5a7113(0x54f)])return;const _0x201b56=new Float32Array(this['seatIds']['length']);for(let _0x1edb99=0x0;_0x1edb99<this[_0x5a7113(0x5c9)][_0x5a7113(0x287)];_0x1edb99++){const _0x5b4d4a=this['seatIds'][_0x1edb99],_0x278d35=(_0x3209c4=this['appContext'][_0x5a7113(0xea)])==null?void 0x0:_0x3209c4[_0x5b4d4a],_0x542d8b=_0x278d35?_0x278d35[_0x5a7113(0x19e)]:void 0x0;_0x201b56[_0x1edb99]=_0x542d8b!==void 0x0&&_0x542d8b!==null&&this[_0x5a7113(0x608)][Number(_0x542d8b)]!==void 0x0?this['priceIdToIndex'][Number(_0x542d8b)]:-0x1;}const _0x144c3b=!this[_0x5a7113(0x54f)]||this['cachedPriceColorIndices'][_0x5a7113(0x287)]!==_0x201b56[_0x5a7113(0x287)]||!this[_0x5a7113(0x3b0)](this['cachedPriceColorIndices'],_0x201b56);_0x144c3b&&(this['priceColorBuffer']=this['fillBufferFloat32'](this[_0x5a7113(0x2c8)],_0x201b56,this[_0x5a7113(0x4d3)]['DYNAMIC_DRAW']),this[_0x5a7113(0x54f)]=_0x201b56),this['priceIndicesDirty']=![];}[_0x518421(0x40c)](){}['initializeProgram'](){const _0x5baca5=_0x518421,_0x277897=this['createShader'](this[_0x5baca5(0x4d3)]['VERTEX_SHADER'],Seats_default),_0x455725=this[_0x5baca5(0x1b6)](this[_0x5baca5(0x4d3)][_0x5baca5(0x404)],Seats_default2);this['program']=this[_0x5baca5(0x382)](_0x277897,_0x455725),this['a_position']=this[_0x5baca5(0x4d3)][_0x5baca5(0x167)](this['program'],_0x5baca5(0x514)),this[_0x5baca5(0xf5)]=this[_0x5baca5(0x4d3)][_0x5baca5(0x167)](this[_0x5baca5(0x2c7)],_0x5baca5(0x4a5)),this[_0x5baca5(0x2b6)]=this[_0x5baca5(0x4d3)][_0x5baca5(0x167)](this[_0x5baca5(0x2c7)],_0x5baca5(0x545)),this['a_size']=this['ctx'][_0x5baca5(0x167)](this['program'],_0x5baca5(0x2c5)),this['a_selectedFlag']=this['ctx'][_0x5baca5(0x167)](this[_0x5baca5(0x2c7)],'selectedFlag'),this['a_hoveredFlag']=this[_0x5baca5(0x4d3)][_0x5baca5(0x167)](this[_0x5baca5(0x2c7)],'hoveredFlag'),this['u_scale']=this[_0x5baca5(0x4d3)][_0x5baca5(0x4e2)](this[_0x5baca5(0x2c7)],_0x5baca5(0x270)),this[_0x5baca5(0x1d8)]=this['ctx']['getUniformLocation'](this[_0x5baca5(0x2c7)],_0x5baca5(0x481)),this['u_stageWidth']=this['ctx'][_0x5baca5(0x4e2)](this[_0x5baca5(0x2c7)],'stageWidth'),this['u_stageHeight']=this['ctx'][_0x5baca5(0x4e2)](this[_0x5baca5(0x2c7)],_0x5baca5(0x338)),this[_0x5baca5(0x2b7)]=this['ctx'][_0x5baca5(0x4e2)](this['program'],'dpr'),this['u_enable3DView']=this[_0x5baca5(0x4d3)][_0x5baca5(0x4e2)](this[_0x5baca5(0x2c7)],'u_enable3DView'),this[_0x5baca5(0x52f)]=this['ctx'][_0x5baca5(0x4e2)](this[_0x5baca5(0x2c7)],'u_rotationZ'),this['u_perspectiveZ']=this[_0x5baca5(0x4d3)]['getUniformLocation'](this[_0x5baca5(0x2c7)],_0x5baca5(0x486)),this[_0x5baca5(0x60b)]=this[_0x5baca5(0x4d3)][_0x5baca5(0x4e2)](this[_0x5baca5(0x2c7)],'u_tiltX'),this[_0x5baca5(0x611)]=this[_0x5baca5(0x4d3)][_0x5baca5(0x4e2)](this['program'],_0x5baca5(0x611));}['createShader'](_0x536e61,_0x19f98b){const _0x23342d=_0x518421,_0x95cbe=this[_0x23342d(0x4d3)][_0x23342d(0x1b6)](_0x536e61);return this[_0x23342d(0x4d3)][_0x23342d(0x5d9)](_0x95cbe,_0x19f98b),this[_0x23342d(0x4d3)]['compileShader'](_0x95cbe),_0x95cbe;}[_0x518421(0x382)](_0x18137,_0x3404e2){const _0x501ed2=_0x518421,_0x42099f=this[_0x501ed2(0x4d3)]['createProgram']();return this[_0x501ed2(0x4d3)]['attachShader'](_0x42099f,_0x18137),this[_0x501ed2(0x4d3)][_0x501ed2(0x293)](_0x42099f,_0x3404e2),this[_0x501ed2(0x4d3)][_0x501ed2(0x2d4)](_0x42099f),_0x42099f;}[_0x518421(0x377)](_0x556182,_0x2fde76,_0x243792){const _0x104fd2=_0x518421;if(!_0x556182)_0x556182=this['ctx'][_0x104fd2(0x51a)]();return this[_0x104fd2(0x4d3)]['bindBuffer'](this['ctx'][_0x104fd2(0x574)],_0x556182),this[_0x104fd2(0x4d3)][_0x104fd2(0x18d)](this[_0x104fd2(0x4d3)][_0x104fd2(0x574)],new Float32Array(_0x2fde76),_0x243792),_0x556182;}['fillBufferFloat32'](_0x5d8113,_0x1a4c11,_0x4e41b4){const _0x5264e2=_0x518421;if(!_0x5d8113)_0x5d8113=this[_0x5264e2(0x4d3)][_0x5264e2(0x51a)]();return this[_0x5264e2(0x4d3)]['bindBuffer'](this[_0x5264e2(0x4d3)]['ARRAY_BUFFER'],_0x5d8113),this[_0x5264e2(0x4d3)]['bufferData'](this['ctx'][_0x5264e2(0x574)],_0x1a4c11,_0x4e41b4),_0x5d8113;}[_0x518421(0x5c4)](_0xb2f232,_0x2ac92d){const _0x2cab8e=_0x518421;if(!_0xb2f232)_0xb2f232=this['ctx']['createBuffer']();return this[_0x2cab8e(0x4d3)][_0x2cab8e(0x2f4)](this['ctx'][_0x2cab8e(0x574)],_0xb2f232),this[_0x2cab8e(0x4d3)][_0x2cab8e(0x18d)](this[_0x2cab8e(0x4d3)]['ARRAY_BUFFER'],_0x2ac92d*0x4,this[_0x2cab8e(0x4d3)][_0x2cab8e(0x324)]),_0xb2f232;}[_0x518421(0x363)](_0x518cc3,_0x5c3242,_0x439d34){const _0x14d314=_0x518421;this[_0x14d314(0x4d3)]['bindBuffer'](this[_0x14d314(0x4d3)][_0x14d314(0x574)],_0x518cc3),this[_0x14d314(0x4d3)][_0x14d314(0x569)](_0x5c3242),this[_0x14d314(0x4d3)][_0x14d314(0x273)](_0x5c3242,_0x439d34,this[_0x14d314(0x4d3)][_0x14d314(0x290)],![],0x0,0x0);}['setupIconUniforms'](){const _0x1ae4dc=_0x518421;if(!this[_0x1ae4dc(0x193)]||!this[_0x1ae4dc(0x2c7)]||!this[_0x1ae4dc(0x406)])return;this[_0x1ae4dc(0x4d3)]['activeTexture'](this['ctx'][_0x1ae4dc(0x2e5)]),this[_0x1ae4dc(0x4d3)]['bindTexture'](this['ctx'][_0x1ae4dc(0x277)],this['iconAtlas']),this[_0x1ae4dc(0x4d3)][_0x1ae4dc(0x4c4)](this[_0x1ae4dc(0x611)],0x0);const _0xb9538f=this[_0x1ae4dc(0xfd)]['size'],_0x4e5672=this[_0x1ae4dc(0x4d3)][_0x1ae4dc(0x4e2)](this[_0x1ae4dc(0x2c7)],_0x1ae4dc(0x17e));this['ctx'][_0x1ae4dc(0x4c4)](_0x4e5672,_0xb9538f);const _0x7bde12=[],_0x7cb21b=[];this[_0x1ae4dc(0xfd)][_0x1ae4dc(0x356)]((_0x179629,_0x1ec9bd)=>{const _0x4d6ada=_0x1ae4dc;var _0x2a5edb;_0x7bde12['push'](_0x179629['x'],_0x179629['y'],_0x179629[_0x4d6ada(0x28a)],_0x179629['height']),_0x7cb21b['push']((_0x2a5edb=this['iconValues'][_0x1ec9bd])!=null?_0x2a5edb:0x0);});const _0xf7978b=this[_0x1ae4dc(0x4d3)]['getUniformLocation'](this[_0x1ae4dc(0x2c7)],_0x1ae4dc(0x2f8));this[_0x1ae4dc(0x4d3)][_0x1ae4dc(0x14f)](_0xf7978b,new Float32Array(_0x7bde12));const _0x2bb74e=this[_0x1ae4dc(0x4d3)][_0x1ae4dc(0x4e2)](this[_0x1ae4dc(0x2c7)],_0x1ae4dc(0x1c2));this[_0x1ae4dc(0x4d3)][_0x1ae4dc(0x204)](_0x2bb74e,new Float32Array(_0x7cb21b));}[_0x518421(0x3b0)](_0x386daa,_0x344a7e){const _0x441245=_0x518421;if(_0x386daa[_0x441245(0x287)]!==_0x344a7e[_0x441245(0x287)])return![];for(let _0x17b989=0x0;_0x17b989<_0x386daa[_0x441245(0x287)];_0x17b989++){if(_0x386daa[_0x17b989]!==_0x344a7e[_0x17b989])return![];}return!![];}[_0x518421(0x23b)](_0x904a8e){const _0x33d3c2=_0x518421,_0x53e13f=(_0x904a8e||'')[_0x33d3c2(0xf2)]('#','');if(!_0x53e13f||_0x53e13f[_0x33d3c2(0x287)]<0x6)return[0x0,0x0,0x0];const _0x1097bd=parseInt(_0x53e13f[_0x33d3c2(0x3d1)](0x0,0x2),0x10)/0xff,_0x1d3122=parseInt(_0x53e13f['substring'](0x2,0x4),0x10)/0xff,_0x3cc391=parseInt(_0x53e13f['substring'](0x4,0x6),0x10)/0xff;return[_0x1097bd,_0x1d3122,_0x3cc391];}},BackgroundRenderer=class{constructor(_0x210b75,_0x5013cd){const _0x39b99e=_0x518421;this[_0x39b99e(0x2c7)]=null,this[_0x39b99e(0x588)]=-0x1,this['texcoordLocation']=-0x1,this[_0x39b99e(0x2bf)]=null,this[_0x39b99e(0x1bb)]=null,this[_0x39b99e(0x1d8)]=null,this[_0x39b99e(0x185)]=null,this[_0x39b99e(0x487)]=null,this[_0x39b99e(0x1b3)]=null,this[_0x39b99e(0x23d)]=null,this[_0x39b99e(0x52f)]=null,this[_0x39b99e(0x486)]=null,this['u_tiltX']=null,this['texcoordBuffer']=null,this[_0x39b99e(0x1c4)]=null,this[_0x39b99e(0x4d3)]=_0x210b75,this[_0x39b99e(0x278)]=_0x5013cd,this[_0x39b99e(0x3c5)]();}[_0x518421(0x251)](_0x194b31,_0x1dcc99,_0x52ae23,_0x40f56b,_0x1fdc20,_0x347f11){const _0xfb77a7=_0x518421;if(!this[_0xfb77a7(0x2c7)]||!_0x1fdc20||!_0x52ae23)return;if(!this[_0xfb77a7(0x1c4)])this[_0xfb77a7(0x1c4)]=this[_0xfb77a7(0x4d3)]['createBuffer']();this[_0xfb77a7(0x4d3)]['bindBuffer'](this[_0xfb77a7(0x4d3)][_0xfb77a7(0x574)],this['positionBuffer']),this[_0xfb77a7(0x295)](0x0,0x0,_0x1fdc20[_0xfb77a7(0x28a)],_0x1fdc20[_0xfb77a7(0x52c)]),!this[_0xfb77a7(0x2c0)]&&(this[_0xfb77a7(0x2c0)]=this[_0xfb77a7(0x4d3)][_0xfb77a7(0x51a)](),this[_0xfb77a7(0x4d3)][_0xfb77a7(0x2f4)](this[_0xfb77a7(0x4d3)]['ARRAY_BUFFER'],this[_0xfb77a7(0x2c0)]),this[_0xfb77a7(0x4d3)]['bufferData'](this[_0xfb77a7(0x4d3)]['ARRAY_BUFFER'],new Float32Array([0x0,0x0,0x1,0x0,0x0,0x1,0x0,0x1,0x1,0x0,0x1,0x1]),this['ctx'][_0xfb77a7(0x5c8)])),this['ctx']['useProgram'](this[_0xfb77a7(0x2c7)]),this['ctx'][_0xfb77a7(0x374)](this[_0xfb77a7(0x4d3)][_0xfb77a7(0x2e5)]),this[_0xfb77a7(0x4d3)][_0xfb77a7(0x3a6)](this[_0xfb77a7(0x4d3)][_0xfb77a7(0x277)],_0x52ae23),this[_0xfb77a7(0x4d3)][_0xfb77a7(0x4c4)](this[_0xfb77a7(0x487)],0x0),this[_0xfb77a7(0x4d3)][_0xfb77a7(0x374)](this[_0xfb77a7(0x4d3)][_0xfb77a7(0x1f4)]),this['ctx'][_0xfb77a7(0x3a6)](this[_0xfb77a7(0x4d3)][_0xfb77a7(0x277)],_0x40f56b||_0x52ae23),this['ctx'][_0xfb77a7(0x4c4)](this['u_image1'],0x1),this[_0xfb77a7(0x4d3)][_0xfb77a7(0x2f4)](this[_0xfb77a7(0x4d3)][_0xfb77a7(0x574)],this[_0xfb77a7(0x1c4)]),this[_0xfb77a7(0x4d3)][_0xfb77a7(0x569)](this[_0xfb77a7(0x588)]),this['ctx'][_0xfb77a7(0x273)](this[_0xfb77a7(0x588)],0x2,this[_0xfb77a7(0x4d3)]['FLOAT'],![],0x0,0x0),this['ctx']['bindBuffer'](this['ctx'][_0xfb77a7(0x574)],this[_0xfb77a7(0x2c0)]),this[_0xfb77a7(0x4d3)][_0xfb77a7(0x569)](this[_0xfb77a7(0x1f6)]),this[_0xfb77a7(0x4d3)]['vertexAttribPointer'](this[_0xfb77a7(0x1f6)],0x2,this[_0xfb77a7(0x4d3)][_0xfb77a7(0x290)],![],0x0,0x0),this[_0xfb77a7(0x4d3)][_0xfb77a7(0xee)](this[_0xfb77a7(0x2bf)],this[_0xfb77a7(0x4d3)][_0xfb77a7(0x376)][_0xfb77a7(0x28a)],this[_0xfb77a7(0x4d3)][_0xfb77a7(0x376)]['height']),this['ctx'][_0xfb77a7(0x359)](this['u_scale'],_0x194b31),this[_0xfb77a7(0x4d3)][_0xfb77a7(0xee)](this[_0xfb77a7(0x1d8)],_0x1dcc99['x'],_0x1dcc99['y']),this[_0xfb77a7(0x4d3)][_0xfb77a7(0x359)](this['u_mix'],_0x347f11),this[_0xfb77a7(0x4d3)]['uniform1i'](this[_0xfb77a7(0x23d)],this['appContext'][_0xfb77a7(0x4f0)]?0x1:0x0),this['ctx'][_0xfb77a7(0x359)](this[_0xfb77a7(0x52f)],this[_0xfb77a7(0x278)][_0xfb77a7(0x183)]),this[_0xfb77a7(0x4d3)][_0xfb77a7(0x359)](this[_0xfb77a7(0x486)],this[_0xfb77a7(0x278)][_0xfb77a7(0x1d5)]),this[_0xfb77a7(0x4d3)][_0xfb77a7(0x359)](this[_0xfb77a7(0x60b)],this[_0xfb77a7(0x278)][_0xfb77a7(0x1fb)]),this['ctx']['drawArrays'](this[_0xfb77a7(0x4d3)][_0xfb77a7(0x20d)],0x0,0x6);}[_0x518421(0x3c5)](){const _0x1f3c63=_0x518421,_0x7665ae=this[_0x1f3c63(0x1b6)](this[_0x1f3c63(0x4d3)][_0x1f3c63(0x629)],Background_default),_0x4db886=this['createShader'](this[_0x1f3c63(0x4d3)][_0x1f3c63(0x404)],Background_default2);this[_0x1f3c63(0x2c7)]=this[_0x1f3c63(0x382)](_0x7665ae,_0x4db886),this[_0x1f3c63(0x588)]=this[_0x1f3c63(0x4d3)][_0x1f3c63(0x167)](this[_0x1f3c63(0x2c7)],_0x1f3c63(0x3dd)),this['texcoordLocation']=this[_0x1f3c63(0x4d3)][_0x1f3c63(0x167)](this[_0x1f3c63(0x2c7)],'a_texCoord'),this[_0x1f3c63(0x2bf)]=this[_0x1f3c63(0x4d3)][_0x1f3c63(0x4e2)](this[_0x1f3c63(0x2c7)],_0x1f3c63(0x2bf)),this['u_scale']=this[_0x1f3c63(0x4d3)][_0x1f3c63(0x4e2)](this[_0x1f3c63(0x2c7)],'u_scale'),this[_0x1f3c63(0x1d8)]=this['ctx'][_0x1f3c63(0x4e2)](this[_0x1f3c63(0x2c7)],_0x1f3c63(0x1d8)),this['u_mix']=this[_0x1f3c63(0x4d3)][_0x1f3c63(0x4e2)](this[_0x1f3c63(0x2c7)],_0x1f3c63(0x185)),this['u_image0']=this[_0x1f3c63(0x4d3)]['getUniformLocation'](this[_0x1f3c63(0x2c7)],_0x1f3c63(0x487)),this[_0x1f3c63(0x1b3)]=this['ctx']['getUniformLocation'](this[_0x1f3c63(0x2c7)],_0x1f3c63(0x1b3)),this['u_enable3DView']=this[_0x1f3c63(0x4d3)][_0x1f3c63(0x4e2)](this['program'],_0x1f3c63(0x23d)),this[_0x1f3c63(0x52f)]=this['ctx'][_0x1f3c63(0x4e2)](this['program'],_0x1f3c63(0x52f)),this[_0x1f3c63(0x486)]=this[_0x1f3c63(0x4d3)]['getUniformLocation'](this[_0x1f3c63(0x2c7)],_0x1f3c63(0x486)),this['u_tiltX']=this[_0x1f3c63(0x4d3)][_0x1f3c63(0x4e2)](this['program'],_0x1f3c63(0x60b));}[_0x518421(0x1b6)](_0x4d687e,_0x4f86d5){const _0x5a4a67=_0x518421,_0x92d873=this['ctx'][_0x5a4a67(0x1b6)](_0x4d687e);return this[_0x5a4a67(0x4d3)][_0x5a4a67(0x5d9)](_0x92d873,_0x4f86d5),this[_0x5a4a67(0x4d3)]['compileShader'](_0x92d873),_0x92d873;}[_0x518421(0x382)](_0x589076,_0x167d85){const _0x155711=_0x518421,_0x512100=this[_0x155711(0x4d3)][_0x155711(0x382)]();return this[_0x155711(0x4d3)]['attachShader'](_0x512100,_0x589076),this[_0x155711(0x4d3)]['attachShader'](_0x512100,_0x167d85),this[_0x155711(0x4d3)][_0x155711(0x2d4)](_0x512100),_0x512100;}[_0x518421(0x295)](_0x3e71d9,_0x5c9e8d,_0x5b8b14,_0x2bd3ea){const _0x2bf56b=_0x518421,_0xa12052=_0x3e71d9,_0x2b52a9=_0x3e71d9+_0x5b8b14,_0x1b4e26=_0x5c9e8d,_0x507c98=_0x5c9e8d+_0x2bd3ea;this[_0x2bf56b(0x4d3)][_0x2bf56b(0x18d)](this[_0x2bf56b(0x4d3)][_0x2bf56b(0x574)],new Float32Array([_0xa12052,_0x1b4e26,_0x2b52a9,_0x1b4e26,_0xa12052,_0x507c98,_0xa12052,_0x507c98,_0x2b52a9,_0x1b4e26,_0x2b52a9,_0x507c98]),this[_0x2bf56b(0x4d3)][_0x2bf56b(0x5c8)]);}},HoverSeatLabel=class{constructor(_0xd25ba2,_0x3ffb21){const _0x28c6ac=_0x518421;this['context']=_0xd25ba2,this[_0x28c6ac(0x248)]=_0x3ffb21,this[_0x28c6ac(0x211)]=document['createElement']('div'),this[_0x28c6ac(0x211)][_0x28c6ac(0x1a9)]['position']=_0x28c6ac(0x362),this['labelEl'][_0x28c6ac(0x1a9)]['pointerEvents']=_0x28c6ac(0x480),this[_0x28c6ac(0x211)][_0x28c6ac(0x1a9)][_0x28c6ac(0x56d)]=_0x28c6ac(0x2ad),this[_0x28c6ac(0x211)]['style'][_0x28c6ac(0x3fe)]=_0x28c6ac(0x55e),this[_0x28c6ac(0x211)][_0x28c6ac(0x1a9)][_0x28c6ac(0x155)]='3',this[_0x28c6ac(0x211)]['style'][_0x28c6ac(0x4b1)]=_0x28c6ac(0x244),this[_0x28c6ac(0x211)][_0x28c6ac(0x1a9)][_0x28c6ac(0x2c9)]=_0x28c6ac(0x480),this['hide'](),this['container'][_0x28c6ac(0x27d)](this[_0x28c6ac(0x211)]);}[_0x518421(0x251)](_0x3c3917,_0x55dcf6){const _0x46826e=_0x518421;var _0x5eee76,_0x2d1930,_0x5acb94;if(this['context']['hoveredRow']){this[_0x46826e(0x126)]();return;}const _0x3971f0=this[_0x46826e(0x2b3)][_0x46826e(0x46c)];if(!_0x3971f0){this['hide']();return;}const _0x9cbbba=_0x3971f0[_0x46826e(0x23f)]||'';if(!_0x9cbbba){this[_0x46826e(0x126)]();return;}const _0x2eccbf=_0x3971f0[_0x46826e(0x577)];if(_0x3971f0[_0x46826e(0x540)]||_0x3971f0[_0x46826e(0x570)]||((_0x2d1930=(_0x5eee76=this['context'])[_0x46826e(0x34a)])==null?void 0x0:_0x2d1930[_0x46826e(0x21a)](_0x5eee76,_0x3971f0['id']))||_0x2eccbf===_0x46826e(0x1f8)||_0x2eccbf==='error'){this[_0x46826e(0x126)]();return;}if(this[_0x46826e(0x59c)](_0x3971f0)){this[_0x46826e(0x126)]();return;}const _0x3a8a1f=_0x3971f0['x']*_0x3c3917+_0x55dcf6['x'],_0xae7b44=_0x3971f0['y']*_0x3c3917+_0x55dcf6['y'];let _0x2450cf=_0x3a8a1f,_0x133e0b=_0xae7b44;if(this['context'][_0x46826e(0x4f0)]){const _0x511a15=window[_0x46826e(0x4d1)]||0x1,_0x116179=this[_0x46826e(0x248)][_0x46826e(0x157)](_0x46826e(0x376)),_0x2ccd6d=(_0x116179==null?void 0x0:_0x116179[_0x46826e(0x28a)])||this['container'][_0x46826e(0x3e2)]*_0x511a15,_0xc2bd6d=(_0x116179==null?void 0x0:_0x116179[_0x46826e(0x52c)])||this[_0x46826e(0x248)][_0x46826e(0x39f)]*_0x511a15,_0xe588d6={'width':_0x2ccd6d,'height':_0xc2bd6d},_0x5e4d93={'rotationZ':-this[_0x46826e(0x2b3)][_0x46826e(0x183)]||0x0,'perspectiveZ':this[_0x46826e(0x2b3)][_0x46826e(0x1d5)]||0x0,'tiltX':this['context']['tiltX']||0x0},_0x2c60b1=projectPointTo3DView({'x':_0x3a8a1f,'y':_0xae7b44},_0xe588d6,_0x5e4d93);_0x2450cf=_0x2c60b1['x']/_0x511a15,_0x133e0b=_0x2c60b1['y']/_0x511a15;}const _0xddff1=(_0x5acb94=this[_0x46826e(0x2b3)][_0x46826e(0x398)][_0x46826e(0x1ae)])==null?void 0x0:_0x5acb94['seatStyles'],_0x2d560c=(_0xddff1==null?void 0x0:_0xddff1[_0x46826e(0x417)])||(_0xddff1==null?void 0x0:_0xddff1[_0x46826e(0x60e)]),_0x5205a9=this[_0x46826e(0x2b3)][_0x46826e(0x398)][_0x46826e(0x11f)]?this[_0x46826e(0x2b3)][_0x46826e(0x398)][_0x46826e(0x11f)]({'context':this[_0x46826e(0x2b3)],'seat':_0x3971f0,'style':_0x2d560c,'state':_0x46826e(0x417)})||_0x2d560c:_0x2d560c,_0x2d1bfe=_0x5205a9==null?void 0x0:_0x5205a9[_0x46826e(0x2cf)],_0x4c11d5=this[_0x46826e(0x2b3)][_0x46826e(0x270)]/window['devicePixelRatio']>=0.35;if(!_0x2d1bfe||!_0x4c11d5){this[_0x46826e(0x126)]();return;}const _0x35d49f=_0x2d1bfe['font']||_0x46826e(0x3f6),_0x166439=_0x2d1bfe[_0x46826e(0x247)]||'#FFFFFF';this['labelEl'][_0x46826e(0x235)]=_0x9cbbba,this[_0x46826e(0x211)][_0x46826e(0x1a9)][_0x46826e(0x267)]=_0x2450cf+'px',this[_0x46826e(0x211)][_0x46826e(0x1a9)][_0x46826e(0x349)]=_0x133e0b+0x1+'px',this[_0x46826e(0x211)][_0x46826e(0x1a9)]['color']=_0x166439,this[_0x46826e(0x211)]['style']['font']=_0x35d49f,this[_0x46826e(0x211)][_0x46826e(0x1a9)][_0x46826e(0x436)]=_0x46826e(0x1bc);}['destroy'](){const _0x8e39bb=_0x518421;this[_0x8e39bb(0x126)](),this[_0x8e39bb(0x211)][_0x8e39bb(0x2db)]&&this[_0x8e39bb(0x211)]['parentNode']['removeChild'](this[_0x8e39bb(0x211)]);}['hide'](){const _0x1dd171=_0x518421;this[_0x1dd171(0x211)]['style']['display']=_0x1dd171(0x480);}[_0x518421(0x59c)](_0x48d8b1){const _0x171719=_0x518421;var _0xc64c14,_0xd319f7,_0x2e8387;try{const _0x1abab2=(_0xc64c14=this[_0x171719(0x2b3)][_0x171719(0x398)]['theme'])==null?void 0x0:_0xc64c14[_0x171719(0x111)],_0x1ead38=(_0x48d8b1==null?void 0x0:_0x48d8b1['locked'])?_0x1abab2==null?void 0x0:_0x1abab2[_0x171719(0x483)]:(_0x48d8b1==null?void 0x0:_0x48d8b1[_0x171719(0x570)])?_0x1abab2==null?void 0x0:_0x1abab2[_0x171719(0x570)]:_0x1abab2==null?void 0x0:_0x1abab2[_0x171719(0x60e)],_0xd35981=(_0x2e8387=(_0xd319f7=this[_0x171719(0x2b3)][_0x171719(0x398)])[_0x171719(0x11f)])==null?void 0x0:_0x2e8387[_0x171719(0x21a)](_0xd319f7,{'context':this[_0x171719(0x2b3)],'seat':_0x48d8b1,'style':_0x1ead38,'state':'default'});if(_0x48d8b1==null?void 0x0:_0x48d8b1[_0x171719(0x25e)])return!![];if(_0xd35981==null?void 0x0:_0xd35981['imageId'])return!![];if(_0x1ead38==null?void 0x0:_0x1ead38['imageId'])return!![];return![];}catch(_0x4e38f9){return![];}}},dpr4=window[_0x518421(0x4d1)],ArkanoidGame=class{constructor(_0x2654fa,_0x43d5f4,_0x49b062,_0x19dcfc,_0x421cb7){const _0x5cf574=_0x518421;this[_0x5cf574(0x450)]=![],this[_0x5cf574(0x474)]=_0x5cf574(0x3fb),this['phaseStartMs']=0x0,this[_0x5cf574(0x35b)]=0x15e,this[_0x5cf574(0x376)]=null,this[_0x5cf574(0x1db)]=null,this[_0x5cf574(0x577)]=null,this[_0x5cf574(0x2b3)]=_0x2654fa,this[_0x5cf574(0x10a)]=_0x43d5f4,this['getStageSize']=_0x49b062,this[_0x5cf574(0x5ab)]=_0x19dcfc,this[_0x5cf574(0x536)]=_0x421cb7,this[_0x5cf574(0x46a)](),this[_0x5cf574(0x32e)]();}[_0x518421(0x1b0)](){const _0x26ff5d=_0x518421;return this[_0x26ff5d(0x450)]||this['phase']===_0x26ff5d(0x457);}[_0x518421(0x37b)](){const _0x104be8=_0x518421,_0x1db33d=this[_0x104be8(0x2b3)][_0x104be8(0x270)]/dpr4;return _0x1db33d>=0.75&&_0x1db33d<=0x1;}[_0x518421(0x44b)](){const _0x50c038=_0x518421;this['active']=!this[_0x50c038(0x450)],this[_0x50c038(0x450)]?(this['start'](),this[_0x50c038(0x474)]=_0x50c038(0x1e9),this[_0x50c038(0x50b)]=performance[_0x50c038(0x12b)](),this[_0x50c038(0x5ab)]()):this['requestFadeOut']();}[_0x518421(0x355)](){const _0x50f820=_0x518421;if(!this[_0x50f820(0x450)])return;this[_0x50f820(0x448)]();}[_0x518421(0x448)](){const _0x559e49=_0x518421;if(this[_0x559e49(0x474)]==='fadeOut')return;this[_0x559e49(0x474)]='fadeOut',this['phaseStartMs']=performance[_0x559e49(0x12b)](),this[_0x559e49(0x5ab)]();}[_0x518421(0x555)](){const _0x405537=_0x518421;if(!this[_0x405537(0x376)])return;const {width:_0x5fd59e,height:_0x16ba91}=this[_0x405537(0x578)]();this[_0x405537(0x376)][_0x405537(0x28a)]=_0x5fd59e*dpr4,this[_0x405537(0x376)][_0x405537(0x52c)]=_0x16ba91*dpr4,this['canvas'][_0x405537(0x1a9)][_0x405537(0x28a)]=_0x5fd59e+'px',this[_0x405537(0x376)][_0x405537(0x1a9)][_0x405537(0x52c)]=_0x16ba91+'px';if(this[_0x405537(0x1db)])this['ctx2d']['setTransform'](dpr4,0x0,0x0,dpr4,0x0,0x0);}[_0x518421(0x411)](_0x5036f1){const _0x5584=_0x518421;if(!this[_0x5584(0x450)]||!this[_0x5584(0x577)])return![];const _0x790713=this[_0x5584(0x577)],_0x59b013=_0x790713[_0x5584(0x392)]?(_0x5036f1-_0x790713[_0x5584(0x392)])/16.6667:0x1,_0x461211=_0x59b013*16.6667;_0x790713[_0x5584(0x392)]=_0x5036f1;this[_0x5584(0x474)]===_0x5584(0x1e9)&&_0x5036f1-this['phaseStartMs']>=this[_0x5584(0x35b)]&&(this[_0x5584(0x474)]=_0x5584(0x450));const {width:_0x590381,height:_0x3d2dec}=this[_0x5584(0x578)](),_0x24e000=0x8*_0x59b013;if(_0x790713['leftPressed'])_0x790713[_0x5584(0x2a7)]-=_0x24e000;if(_0x790713[_0x5584(0x2a6)])_0x790713[_0x5584(0x2a7)]+=_0x24e000;_0x790713[_0x5584(0x2a7)]=Math[_0x5584(0x153)](0x0,Math[_0x5584(0x318)](_0x590381-_0x790713[_0x5584(0x49c)],_0x790713['paddleX']));if(_0x790713[_0x5584(0x517)])return _0x790713['ballX']=_0x790713[_0x5584(0x2a7)]+_0x790713['paddleWidth']/0x2,_0x790713[_0x5584(0x1cd)]=_0x790713[_0x5584(0x559)]-_0x790713['ballRadius']-0x1,!![];_0x790713[_0x5584(0x2e8)]+=_0x790713[_0x5584(0x530)]*_0x59b013,_0x790713[_0x5584(0x1cd)]+=_0x790713[_0x5584(0x2a9)]*_0x59b013;if(_0x790713['ballX']-_0x790713[_0x5584(0x2c2)]<0x0)_0x790713['ballX']=_0x790713[_0x5584(0x2c2)],_0x790713[_0x5584(0x530)]*=-0x1;else _0x790713[_0x5584(0x2e8)]+_0x790713['ballRadius']>_0x590381&&(_0x790713[_0x5584(0x2e8)]=_0x590381-_0x790713[_0x5584(0x2c2)],_0x790713[_0x5584(0x530)]*=-0x1);_0x790713['ballY']-_0x790713['ballRadius']<0x0&&(_0x790713[_0x5584(0x1cd)]=_0x790713[_0x5584(0x2c2)],_0x790713[_0x5584(0x2a9)]*=-0x1);if(_0x790713[_0x5584(0x1cd)]+_0x790713[_0x5584(0x2c2)]>=_0x790713['paddleY']&&_0x790713['ballY']+_0x790713['ballRadius']<=_0x790713[_0x5584(0x559)]+_0x790713['paddleHeight']&&_0x790713['ballX']>=_0x790713[_0x5584(0x2a7)]&&_0x790713['ballX']<=_0x790713['paddleX']+_0x790713[_0x5584(0x49c)]&&_0x790713[_0x5584(0x2a9)]>0x0){_0x790713['ballY']=_0x790713[_0x5584(0x559)]-_0x790713[_0x5584(0x2c2)];const _0x54474c=(_0x790713['ballX']-(_0x790713[_0x5584(0x2a7)]+_0x790713[_0x5584(0x49c)]/0x2))/(_0x790713['paddleWidth']/0x2);_0x790713[_0x5584(0x530)]=0x5*_0x54474c,_0x790713['ballVY']*=-0x1;}let _0x509e9b=![];for(let _0x413660=0x0;_0x413660<_0x790713[_0x5584(0x386)][_0x5584(0x287)];_0x413660++){const _0x14e5e0=_0x790713[_0x5584(0x386)][_0x413660];if(!_0x14e5e0[_0x5584(0x3f8)])continue;_0x509e9b=!![];if(_0x790713[_0x5584(0x2e8)]>=_0x14e5e0['x']&&_0x790713[_0x5584(0x2e8)]<=_0x14e5e0['x']+_0x14e5e0[_0x5584(0x28a)]&&_0x790713[_0x5584(0x1cd)]>=_0x14e5e0['y']&&_0x790713[_0x5584(0x1cd)]<=_0x14e5e0['y']+_0x14e5e0[_0x5584(0x52c)]){_0x14e5e0['alive']=![],this[_0x5584(0x5b0)](_0x14e5e0['x']+_0x14e5e0[_0x5584(0x28a)]/0x2,_0x14e5e0['y']+_0x14e5e0[_0x5584(0x52c)]/0x2,_0x14e5e0[_0x5584(0x247)]),_0x790713[_0x5584(0x2a9)]*=-0x1;break;}}if(!_0x509e9b)_0x790713[_0x5584(0x54e)]=![];for(let _0x305c45=_0x790713[_0x5584(0x607)][_0x5584(0x287)]-0x1;_0x305c45>=0x0;_0x305c45--){const _0x52cb51=_0x790713[_0x5584(0x607)][_0x305c45];let _0x49e5c8=!![];for(let _0x435040=0x0;_0x435040<_0x52cb51[_0x5584(0x320)][_0x5584(0x287)];_0x435040++){const _0x262a9b=_0x52cb51[_0x5584(0x320)][_0x435040];_0x262a9b[_0x5584(0x591)]+=_0x461211,_0x262a9b['x']+=_0x262a9b['vx']*_0x59b013,_0x262a9b['y']+=_0x262a9b['vy']*_0x59b013,_0x262a9b['vy']+=0.12*_0x59b013;if(_0x262a9b[_0x5584(0x591)]<_0x262a9b['lifeMs'])_0x49e5c8=![];}_0x49e5c8&&_0x790713[_0x5584(0x607)]['splice'](_0x305c45,0x1);}return _0x790713[_0x5584(0x1cd)]-_0x790713[_0x5584(0x2c2)]>_0x3d2dec&&(_0x790713[_0x5584(0x517)]=!![],_0x790713[_0x5584(0x530)]=0x0,_0x790713[_0x5584(0x2a9)]=0x0,_0x790713[_0x5584(0x2e8)]=_0x790713['paddleX']+_0x790713[_0x5584(0x49c)]/0x2,_0x790713['ballY']=_0x790713[_0x5584(0x559)]-_0x790713['ballRadius']-0x1),(this['active']||this[_0x5584(0x474)]==='fadeOut')&&(_0x790713[_0x5584(0x54e)]||!![]);}[_0x518421(0x251)](){const _0x41a4c7=_0x518421;if(!this['ctx2d']||!this[_0x41a4c7(0x577)])return;const _0x4ba820=this[_0x41a4c7(0x1db)],{width:_0x3d15b4,height:_0x39093d}=this[_0x41a4c7(0x578)]();_0x4ba820[_0x41a4c7(0x44a)](0x0,0x0,_0x3d15b4,_0x39093d);const _0x13328b=this[_0x41a4c7(0x577)];let _0xf17bff=0x1;if(this[_0x41a4c7(0x474)]===_0x41a4c7(0x1e9))_0xf17bff=Math[_0x41a4c7(0x318)](0x1,(performance[_0x41a4c7(0x12b)]()-this[_0x41a4c7(0x50b)])/this['fadeDurationMs']);else{if(this['phase']===_0x41a4c7(0x457)){_0xf17bff=0x1-Math['min'](0x1,(performance[_0x41a4c7(0x12b)]()-this['phaseStartMs'])/this[_0x41a4c7(0x35b)]);if(_0xf17bff<=0x0){this[_0x41a4c7(0x17a)]();return;}}}_0x4ba820[_0x41a4c7(0x4ba)](),_0x4ba820[_0x41a4c7(0x1cc)]=_0xf17bff;for(let _0x5e5093=0x0;_0x5e5093<_0x13328b[_0x41a4c7(0x386)][_0x41a4c7(0x287)];_0x5e5093++){const _0x584e9e=_0x13328b['bricks'][_0x5e5093];if(!_0x584e9e[_0x41a4c7(0x3f8)])continue;_0x4ba820[_0x41a4c7(0x385)]=_0x584e9e[_0x41a4c7(0x247)],_0x4ba820[_0x41a4c7(0x46d)](_0x584e9e['x'],_0x584e9e['y'],_0x584e9e['width'],_0x584e9e[_0x41a4c7(0x52c)]);}_0x4ba820[_0x41a4c7(0x385)]='#111',_0x4ba820[_0x41a4c7(0x46d)](_0x13328b[_0x41a4c7(0x2a7)],_0x13328b[_0x41a4c7(0x559)],_0x13328b[_0x41a4c7(0x49c)],_0x13328b[_0x41a4c7(0x18a)]),_0x4ba820['beginPath'](),_0x4ba820[_0x41a4c7(0x385)]=_0x41a4c7(0x30c),_0x4ba820[_0x41a4c7(0x415)](_0x13328b[_0x41a4c7(0x2e8)],_0x13328b[_0x41a4c7(0x1cd)],_0x13328b[_0x41a4c7(0x2c2)],0x0,Math['PI']*0x2),_0x4ba820[_0x41a4c7(0x34b)](),_0x4ba820[_0x41a4c7(0x351)]();for(let _0x24ab06=0x0;_0x24ab06<_0x13328b[_0x41a4c7(0x607)][_0x41a4c7(0x287)];_0x24ab06++){const _0x258b77=_0x13328b[_0x41a4c7(0x607)][_0x24ab06];for(let _0x13aacd=0x0;_0x13aacd<_0x258b77[_0x41a4c7(0x320)][_0x41a4c7(0x287)];_0x13aacd++){const _0x192de6=_0x258b77[_0x41a4c7(0x320)][_0x13aacd],_0x3f8526=Math[_0x41a4c7(0x318)](0x1,_0x192de6['ageMs']/_0x192de6['lifeMs']),_0x4d8130=_0x192de6[_0x41a4c7(0x2c5)]*(0x1-_0x3f8526),_0x47f9d6=0x1-_0x3f8526;_0x4ba820[_0x41a4c7(0x1cc)]=_0x47f9d6,_0x4ba820[_0x41a4c7(0x385)]=_0x192de6[_0x41a4c7(0x247)],_0x4ba820[_0x41a4c7(0x46d)](_0x192de6['x']-_0x4d8130/0x2,_0x192de6['y']-_0x4d8130/0x2,_0x4d8130,_0x4d8130);}_0x4ba820[_0x41a4c7(0x1cc)]=0x1;}}[_0x518421(0x529)](){const _0xc22545=_0x518421;if(this[_0xc22545(0x2f7)])window[_0xc22545(0x4c1)](_0xc22545(0x39a),this['keydownHandler']);if(this['keyupHandler'])window[_0xc22545(0x4c1)](_0xc22545(0x27a),this['keyupHandler']);if(this[_0xc22545(0x1db)]&&this[_0xc22545(0x376)]){const {width:_0x805c83,height:_0xbeb0d7}=this[_0xc22545(0x578)]();this[_0xc22545(0x1db)][_0xc22545(0x44a)](0x0,0x0,_0x805c83,_0xbeb0d7);}this[_0xc22545(0x376)]&&(this[_0xc22545(0x376)][_0xc22545(0x202)](),this[_0xc22545(0x376)]=null,this[_0xc22545(0x1db)]=null),this[_0xc22545(0x450)]=![],this[_0xc22545(0x577)]=null;}[_0x518421(0x46a)](){const _0x397763=_0x518421;if(this[_0x397763(0x376)])return;const {width:_0x1d6acb,height:_0x1b3e5b}=this[_0x397763(0x578)](),_0x2546e5=document['createElement'](_0x397763(0x376));_0x2546e5[_0x397763(0x28a)]=_0x1d6acb*dpr4,_0x2546e5[_0x397763(0x52c)]=_0x1b3e5b*dpr4,_0x2546e5['style'][_0x397763(0x514)]=_0x397763(0x362),_0x2546e5['style'][_0x397763(0x267)]='0',_0x2546e5[_0x397763(0x1a9)]['top']='0',_0x2546e5[_0x397763(0x1a9)][_0x397763(0x28a)]=_0x1d6acb+'px',_0x2546e5[_0x397763(0x1a9)][_0x397763(0x52c)]=_0x1b3e5b+'px',_0x2546e5[_0x397763(0x1a9)][_0x397763(0x155)]='2',_0x2546e5['style'][_0x397763(0x4d6)]=_0x397763(0x480),this[_0x397763(0x10a)][_0x397763(0x27d)](_0x2546e5);const _0x3e786f=_0x2546e5[_0x397763(0x2ae)]('2d');if(_0x3e786f)_0x3e786f[_0x397763(0x1a4)](dpr4,0x0,0x0,dpr4,0x0,0x0);this[_0x397763(0x376)]=_0x2546e5,this['ctx2d']=_0x3e786f;}[_0x518421(0x32e)](){const _0x6bfbc2=_0x518421;this[_0x6bfbc2(0x2f7)]=_0x2dbc88=>{const _0x5522ed=_0x6bfbc2;if(_0x2dbc88[_0x5522ed(0x2d5)]===_0x5522ed(0x186)&&_0x2dbc88[_0x5522ed(0x1bd)]&&_0x2dbc88[_0x5522ed(0x114)]&&_0x2dbc88[_0x5522ed(0x5d2)]){_0x2dbc88[_0x5522ed(0x2cb)]();if(!this[_0x5522ed(0x450)]&&!this['canActivate']())return;this[_0x5522ed(0x44b)]();return;}if(!this[_0x5522ed(0x450)]||!this[_0x5522ed(0x577)])return;if(_0x2dbc88[_0x5522ed(0x2d5)]===_0x5522ed(0x24a)||_0x2dbc88[_0x5522ed(0x2d5)]===_0x5522ed(0xe9)){_0x2dbc88['preventDefault']();if(this[_0x5522ed(0x577)][_0x5522ed(0x517)]){this[_0x5522ed(0x577)][_0x5522ed(0x517)]=![];const _0x45b631=Math[_0x5522ed(0x51f)]()*0.6-0.3;this[_0x5522ed(0x577)][_0x5522ed(0x530)]=0x4+_0x45b631*0x2,this[_0x5522ed(0x577)][_0x5522ed(0x2a9)]=-0x4;}return;}if(_0x2dbc88['code']===_0x5522ed(0x328))_0x2dbc88[_0x5522ed(0x2cb)](),this['state'][_0x5522ed(0x3a5)]=!![];else _0x2dbc88['code']==='ArrowRight'&&(_0x2dbc88[_0x5522ed(0x2cb)](),this[_0x5522ed(0x577)][_0x5522ed(0x2a6)]=!![]);},this[_0x6bfbc2(0x4ab)]=_0x1ef021=>{const _0x3eb00b=_0x6bfbc2;if(!this[_0x3eb00b(0x450)]||!this[_0x3eb00b(0x577)])return;if(_0x1ef021[_0x3eb00b(0x2d5)]==='ArrowLeft')_0x1ef021[_0x3eb00b(0x2cb)](),this[_0x3eb00b(0x577)][_0x3eb00b(0x3a5)]=![];else _0x1ef021[_0x3eb00b(0x2d5)]===_0x3eb00b(0x22e)&&(_0x1ef021[_0x3eb00b(0x2cb)](),this[_0x3eb00b(0x577)]['rightPressed']=![]);},window['addEventListener']('keydown',this['keydownHandler'],{'passive':![]}),window[_0x6bfbc2(0x3aa)]('keyup',this['keyupHandler'],{'passive':![]});}[_0x518421(0x5ae)](){const _0x741437=_0x518421;if(!this['canvas']||!this[_0x741437(0x1db)])this[_0x741437(0x46a)]();const {width:_0x14a9fc,height:_0x9d72b7}=this[_0x741437(0x578)]();this[_0x741437(0x2b3)][_0x741437(0x398)][_0x741437(0x3ca)]=!![],this[_0x741437(0x536)]();const _0x20c21c=[],_0x211d29=(this[_0x741437(0x2b3)][_0x741437(0x339)]||[])[_0x741437(0x10b)](_0x38df2e=>!_0x38df2e['locked']),_0x571591=0x1a,_0x3e2196=0x12;for(let _0x3a5823=0x0;_0x3a5823<_0x211d29[_0x741437(0x287)];_0x3a5823++){const _0x45eaab=_0x211d29[_0x3a5823],_0x1f020e=this[_0x741437(0x2b3)][_0x741437(0x4f6)]({'x':_0x45eaab['x'],'y':_0x45eaab['y']}),_0x1374f0=this['getSeatBaseColor'](_0x45eaab['priceId']);_0x20c21c[_0x741437(0x1be)]({'x':_0x1f020e['x']-_0x571591/0x2,'y':_0x1f020e['y']-_0x3e2196/0x2,'width':_0x571591,'height':_0x3e2196,'color':_0x1374f0,'alive':!![]});}const _0x149d26=Math['max'](0x3c,Math['min'](0x8c,Math[_0x741437(0x424)](_0x14a9fc*0.2))),_0x272eca=0xa,_0x197db3=_0x9d72b7-0x18,_0x43108c=(_0x14a9fc-_0x149d26)/0x2;this['state']={'paddleX':_0x43108c,'paddleY':_0x197db3,'paddleWidth':_0x149d26,'paddleHeight':_0x272eca,'leftPressed':![],'rightPressed':![],'attached':!![],'ballX':_0x43108c+_0x149d26/0x2,'ballY':_0x197db3-0xa-0x1,'ballVX':0x0,'ballVY':0x0,'ballRadius':0xa,'bricks':_0x20c21c,'brickWidth':_0x571591,'brickHeight':_0x3e2196,'explosions':[],'running':!![],'lastTime':performance[_0x741437(0x12b)]()};}[_0x518421(0x482)](){const _0x153aaf=_0x518421;if(this[_0x153aaf(0x1db)]&&this[_0x153aaf(0x376)]){const {width:_0x3f2918,height:_0x5cb915}=this[_0x153aaf(0x578)]();this[_0x153aaf(0x1db)][_0x153aaf(0x44a)](0x0,0x0,_0x3f2918,_0x5cb915);}this[_0x153aaf(0x577)]=null;}[_0x518421(0x17a)](){const _0x33c6a1=_0x518421;this[_0x33c6a1(0x2b3)][_0x33c6a1(0x398)][_0x33c6a1(0x3ca)]=![],this[_0x33c6a1(0x536)](),this['active']=![],this[_0x33c6a1(0x474)]=_0x33c6a1(0x3fb),this[_0x33c6a1(0x482)]();}['spawnExplosionAt'](_0x5854ef,_0x529af6,_0x71ecbf){const _0x34020a=_0x518421;if(!this[_0x34020a(0x577)])return;const _0x5b7a6b=0xa+Math[_0x34020a(0x4ce)](Math[_0x34020a(0x51f)]()*0xa),_0x2c5dda=new Array(_0x5b7a6b)[_0x34020a(0x34b)](0x0)[_0x34020a(0x52b)](()=>{const _0x4caa6a=_0x34020a,_0x2888db=Math['random']()*Math['PI']*0x2,_0x180813=0x2+Math[_0x4caa6a(0x51f)]()*0x3;return{'x':_0x5854ef,'y':_0x529af6,'vx':Math[_0x4caa6a(0x156)](_0x2888db)*_0x180813,'vy':Math[_0x4caa6a(0x58e)](_0x2888db)*_0x180813,'size':0x6+Math[_0x4caa6a(0x51f)]()*0x6,'lifeMs':0x190+Math[_0x4caa6a(0x51f)]()*0xfa,'ageMs':0x0,'color':_0x71ecbf};});this[_0x34020a(0x577)][_0x34020a(0x607)][_0x34020a(0x1be)]({'particles':_0x2c5dda});}[_0x518421(0x12c)](_0x652e99){const _0xcdd7c9=_0x518421;var _0x2e87bb,_0x2d7a11,_0x31ec48,_0x140336,_0xcd4b89,_0x9a209b,_0x243088;if(_0x652e99!==void 0x0&&_0x652e99!==null){const _0x3c2aca=(_0x2e87bb=this[_0xcdd7c9(0x2b3)]['pricesById'])==null?void 0x0:_0x2e87bb[Number(_0x652e99)];if(_0x3c2aca&&_0x3c2aca[_0xcdd7c9(0x247)])return _0x3c2aca[_0xcdd7c9(0x247)];}const _0x598e19=((_0x140336=(_0x31ec48=(_0x2d7a11=this[_0xcdd7c9(0x2b3)]['settings'][_0xcdd7c9(0x1ae)])==null?void 0x0:_0x2d7a11[_0xcdd7c9(0x111)])==null?void 0x0:_0x31ec48[_0xcdd7c9(0x60e)])==null?void 0x0:_0x140336[_0xcdd7c9(0x247)])||((_0x243088=(_0x9a209b=(_0xcd4b89=this[_0xcdd7c9(0x2b3)][_0xcdd7c9(0x398)]['theme'])==null?void 0x0:_0xcd4b89['seatStyles'])==null?void 0x0:_0x9a209b[_0xcdd7c9(0x417)])==null?void 0x0:_0x243088['color']);return _0x598e19||_0xcdd7c9(0x176);}},dpr5=window['devicePixelRatio'];function setRectangle(_0x4dd513,_0x434289,_0x540b7c,_0x3f2dc2,_0x3d70b8){const _0x58f56f=_0x518421;var _0x560c5c=_0x434289,_0x3b4a60=_0x434289+_0x3f2dc2,_0x2d03e5=_0x540b7c,_0x760db=_0x540b7c+_0x3d70b8;_0x4dd513['bufferData'](_0x4dd513['ARRAY_BUFFER'],new Float32Array([_0x560c5c,_0x2d03e5,_0x3b4a60,_0x2d03e5,_0x560c5c,_0x760db,_0x560c5c,_0x760db,_0x3b4a60,_0x2d03e5,_0x3b4a60,_0x760db]),_0x4dd513[_0x58f56f(0x5c8)]);}var WebGLCanvasLayer=class extends GLBase{constructor(_0xb0d544){const _0x152e38=_0x518421;var _0x46ae48;super(),this[_0x152e38(0x56e)]=null,this['textureMix']=0x1,this['isCrossfading']=![],this['textureLoadingPromise']=null,this[_0x152e38(0x438)]=null,this['isTextureReady']=![],this['iconAtlas']=null,this[_0x152e38(0x373)]=0x0,this[_0x152e38(0x550)]=0x0,this[_0x152e38(0xfd)]=new Map(),this['iconValues']=RESERVED_ICON_VALUES,this[_0x152e38(0x24b)]=![],this[_0x152e38(0x17c)]=null,this[_0x152e38(0x12a)]=null,this[_0x152e38(0x314)]=null,this[_0x152e38(0x364)]=null,this[_0x152e38(0x179)]=null,this[_0x152e38(0x13f)]=null,this[_0x152e38(0x296)]=null,this[_0x152e38(0x3b8)]=null,this[_0x152e38(0x110)]=![],this[_0x152e38(0x2ab)]=null,this[_0x152e38(0x57b)]=null,this['crossfadeStartTime']=null,this[_0x152e38(0x145)]=0xc8,this[_0x152e38(0x1d2)]=null,this[_0x152e38(0x5ef)]=null,this[_0x152e38(0x503)]=![],this[_0x152e38(0x18c)]={'rotationAngle':0x0,'center':{'x':0x0,'y':0x0},'top':{'x':0x0,'y':0x0},'section':{'x':0x0,'y':0x0},'skewAngle':0x0},this[_0x152e38(0x5a3)]=_0x5f0e37=>{const _0x443d8a=_0x152e38;this[_0x443d8a(0x57b)]=null;let _0x19a6d6=![];if(this[_0x443d8a(0x1d2)]&&this[_0x443d8a(0x1d2)][_0x443d8a(0x1b0)]()){const _0x4990fb=this[_0x443d8a(0x1d2)][_0x443d8a(0x411)](_0x5f0e37);_0x19a6d6=_0x4990fb||_0x19a6d6;}if(this[_0x443d8a(0x1ec)]&&this['crossfadeStartTime']!==null){const _0x2b6bd0=Math['min'](0x1,(_0x5f0e37-this['crossfadeStartTime'])/this['crossfadeDurationMs']);this['textureMix']=_0x2b6bd0,_0x2b6bd0<0x1?_0x19a6d6=!![]:(this[_0x443d8a(0x56e)]&&(this[_0x443d8a(0x394)]&&this[_0x443d8a(0x394)]!==this[_0x443d8a(0x56e)]&&this[_0x443d8a(0x4d3)][_0x443d8a(0x29a)](this['texture']),this[_0x443d8a(0x394)]=this['nextTexture'],this['nextTexture']=null),this[_0x443d8a(0x1ec)]=![],this[_0x443d8a(0x599)]=null,this[_0x443d8a(0x58c)]=0x1);}this[_0x443d8a(0x2ab)]!==null&&(_0x5f0e37<this['overlayPulseEndTime']?_0x19a6d6=!![]:this[_0x443d8a(0x2ab)]=null),this[_0x443d8a(0x568)]()&&(_0x19a6d6=!![]),this[_0x443d8a(0x50c)]()&&(_0x19a6d6=!![]),this[_0x443d8a(0xf0)](),_0x19a6d6&&this['scheduleFrame']();},this[_0x152e38(0x2b3)]=_0xb0d544,this[_0x152e38(0x2b3)][_0x152e38(0x107)][_0x152e38(0x27d)](this[_0x152e38(0x376)]),this[_0x152e38(0x515)](),this[_0x152e38(0x110)]=typeof OffscreenCanvas!==_0x152e38(0x22b)&&typeof Worker!==_0x152e38(0x22b),this[_0x152e38(0x4d3)]=this[_0x152e38(0x376)][_0x152e38(0x2ae)](_0x152e38(0x61b),{'antialias':!![],'preserveDrawingBuffer':![]});this[_0x152e38(0x110)]&&this['initializeTextureWorker']();this['visibilityManager']=new VisibilityManager(this['context']),this[_0x152e38(0x4d3)][_0x152e38(0x215)](_0x152e38(0x5a6)),this[_0x152e38(0x364)]=new BackgroundRenderer(this[_0x152e38(0x4d3)],this['context']),this[_0x152e38(0x314)]=new SeatsRenderer(this[_0x152e38(0x4d3)],this[_0x152e38(0x2b3)],()=>this['width']*dpr5,()=>this['height']*dpr5),this[_0x152e38(0x12a)]=new OverlayRenderer(this['ctx'],this[_0x152e38(0x2b3)],()=>this['width']*dpr5,()=>this[_0x152e38(0x52c)]*dpr5);if(![]){const _0x3ebf09=null[_0x152e38(0x60e)];this[_0x152e38(0x179)]=new _0x3ebf09(this['ctx'],this[_0x152e38(0x2b3)],()=>this['width']*dpr5,()=>this[_0x152e38(0x52c)]*dpr5);}this[_0x152e38(0x17c)]=new RowsRenderer(this['ctx'],this[_0x152e38(0x2b3)],()=>this[_0x152e38(0x28a)]*dpr5,()=>this[_0x152e38(0x52c)]*dpr5),this[_0x152e38(0x13f)]=new HoverSeatLabel(this[_0x152e38(0x2b3)],this[_0x152e38(0x2b3)][_0x152e38(0x107)]),this[_0x152e38(0x1d2)]=new ArkanoidGame(this['context'],this[_0x152e38(0x2b3)][_0x152e38(0x107)],()=>({'width':this[_0x152e38(0x28a)],'height':this[_0x152e38(0x52c)]}),()=>this[_0x152e38(0x5ab)](),()=>{const _0x52d52b=_0x152e38;var _0x1cdaf1,_0x183b4a;return(_0x183b4a=(_0x1cdaf1=this['seatsRenderer'])==null?void 0x0:_0x1cdaf1[_0x52d52b(0x502)])==null?void 0x0:_0x183b4a[_0x52d52b(0x21a)](_0x1cdaf1);}),initializeIconAtlas(((_0x46ae48=this[_0x152e38(0x2b3)][_0x152e38(0x398)][_0x152e38(0x1ae)])==null?void 0x0:_0x46ae48[_0x152e38(0x316)])||{},this[_0x152e38(0xfd)],this[_0x152e38(0x4d3)],this[_0x152e38(0x24b)])[_0x152e38(0x5f0)](_0x19dcf5=>{const _0x429ea0=_0x152e38;this[_0x429ea0(0x193)]=_0x19dcf5[_0x429ea0(0x394)],this[_0x429ea0(0x373)]=_0x19dcf5[_0x429ea0(0x28a)],this[_0x429ea0(0x550)]=_0x19dcf5['height'];const _0x2fd30d=Array[_0x429ea0(0x19c)](this[_0x429ea0(0xfd)]['keys']());this[_0x429ea0(0x406)]=generateIconValues(_0x2fd30d),this[_0x429ea0(0x314)]&&this[_0x429ea0(0x314)][_0x429ea0(0x4ca)](this[_0x429ea0(0x193)],this[_0x429ea0(0xfd)],this[_0x429ea0(0x406)]),this['overlayRenderer']&&this['overlayRenderer'][_0x429ea0(0x4ca)](this['iconAtlas'],this[_0x429ea0(0xfd)]),this[_0x429ea0(0x179)]&&(this['debugRenderer'][_0x429ea0(0x236)](this['iconAtlas'],this[_0x429ea0(0x373)],this['iconAtlasHeight']),this['debugRenderer'][_0x429ea0(0x4ad)](this[_0x429ea0(0xfd)]));});}get[_0x518421(0x617)](){const _0x37e22d=_0x518421;return this[_0x37e22d(0x5ef)];}set[_0x518421(0x617)](_0x216ac0){const _0x1477b7=_0x518421;this[_0x1477b7(0x5ef)]=_0x216ac0,this[_0x1477b7(0x438)]=null,this['textureLoadingPromise']=null,void this[_0x1477b7(0x326)]()[_0x1477b7(0x5f0)](()=>this[_0x1477b7(0x20c)]());}async['captureSeatmap'](){const _0x4f222c=_0x518421;var _0xe2bf91,_0x1f4b13;try{await new Promise(_0x5432ba=>{const _0x4d8a78=()=>{const _0x3e90db=_0x425e,_0x404cfd=this[_0x3e90db(0x4bb)]&&!!this['backgroundElement']&&this[_0x3e90db(0x304)];if(_0x404cfd)return _0x5432ba();requestAnimationFrame(_0x4d8a78);};requestAnimationFrame(_0x4d8a78);}),this[_0x4f222c(0xf0)](),(_0x1f4b13=(_0xe2bf91=this[_0x4f222c(0x4d3)])[_0x4f222c(0x2be)])==null?void 0x0:_0x1f4b13['call'](_0xe2bf91);const _0xcea6f1=this['canvas'][_0x4f222c(0x407)](_0x4f222c(0x24f)),_0x3b372e=new Image();return _0x3b372e[_0x4f222c(0x48e)]=_0xcea6f1,await new Promise(_0x1bacac=>{const _0xe57dfd=_0x4f222c;if(_0x3b372e[_0xe57dfd(0x21f)])return _0x1bacac();_0x3b372e[_0xe57dfd(0x10f)]=()=>_0x1bacac(),_0x3b372e['onerror']=()=>_0x1bacac();}),_0x3b372e;}catch(_0x2867ee){return null;}}[_0x518421(0x53b)](_0x4aaaaa,_0x5aaf0d){const _0x46921e=_0x518421,_0x2ed0b1={'x':_0x5aaf0d['x']+this[_0x46921e(0x2b3)][_0x46921e(0x481)]['x']*_0x4aaaaa,'y':_0x5aaf0d['y']+this[_0x46921e(0x2b3)][_0x46921e(0x481)]['y']*_0x4aaaaa},_0x55b4c9=this[_0x46921e(0x2b3)][_0x46921e(0x270)]*_0x4aaaaa,_0x4b3956=this[_0x46921e(0x173)][_0x46921e(0x312)](_0x55b4c9);this['prevSeatVisibility']!==_0x4b3956['seat']['visible']&&(this[_0x46921e(0x439)]=_0x4b3956[_0x46921e(0x56b)]['visible'],this[_0x46921e(0x2b3)]['visibility']=_0x4b3956,this[_0x46921e(0x544)]()),this[_0x46921e(0x4d3)][_0x46921e(0x230)](this[_0x46921e(0x4d3)]['COLOR_BUFFER_BIT']),this[_0x46921e(0x4bb)]&&this['texture']&&this['backgroundElement']&&this[_0x46921e(0x364)]&&this[_0x46921e(0x364)]['draw'](_0x55b4c9,_0x2ed0b1,this[_0x46921e(0x394)],this[_0x46921e(0x56e)],this[_0x46921e(0x617)],this['textureMix']),this[_0x46921e(0x2b3)][_0x46921e(0x398)][_0x46921e(0x3d3)]&&this['drawRows'](_0x55b4c9,_0x2ed0b1),this[_0x46921e(0x36d)]()&&this['drawScene'](_0x55b4c9,_0x2ed0b1),this[_0x46921e(0x326)]();}[_0x518421(0x1e5)](){return[];}[_0x518421(0x3cc)](){const _0x4bd4e1=_0x518421;return{'inProgress':![],'rotationAngle':0x0,'skewAngle':0x0,'duration':this[_0x4bd4e1(0x2b3)][_0x4bd4e1(0x398)][_0x4bd4e1(0x45d)]||0x0};}['applySectionViewAnimation'](_0x9e7238,_0x596415){return new Promise(_0x10597b=>{const _0x290c20=_0x425e;_0x596415[_0x290c20(0x51b)](),setTimeout(()=>{_0x10597b(!![]);},(this[_0x290c20(0x2b3)][_0x290c20(0x398)][_0x290c20(0x313)]||0x0)*0.5);});}['getAnimationPoint'](){return{'x':0x0,'y':0x0};}get[_0x518421(0x28a)](){const _0x33005b=_0x518421;return this[_0x33005b(0x2b3)][_0x33005b(0x107)][_0x33005b(0x3e2)];}get['height'](){const _0x344e54=_0x518421;return this[_0x344e54(0x2b3)][_0x344e54(0x107)][_0x344e54(0x39f)];}['destroy'](){const _0x1dc5e3=_0x518421;this['textureWorker']&&(this[_0x1dc5e3(0x296)]['terminate'](),this[_0x1dc5e3(0x296)]=null),this[_0x1dc5e3(0x3b8)]&&(this['offscreenCanvas']=null),this[_0x1dc5e3(0x376)][_0x1dc5e3(0x28a)]=0x1,this[_0x1dc5e3(0x376)][_0x1dc5e3(0x52c)]=0x1,this[_0x1dc5e3(0x376)][_0x1dc5e3(0x202)](),this[_0x1dc5e3(0x13f)]&&(this['hoverSeatLabel'][_0x1dc5e3(0x529)](),this[_0x1dc5e3(0x13f)]=null),this[_0x1dc5e3(0x57b)]!==null&&(cancelAnimationFrame(this['animationFrameId']),this['animationFrameId']=null),this[_0x1dc5e3(0x2b3)][_0x1dc5e3(0x529)]();}[_0x518421(0x515)](){const _0x5b5b3c=_0x518421;var _0x18cf13;this[_0x5b5b3c(0x376)]['width']=this[_0x5b5b3c(0x28a)]*dpr5,this[_0x5b5b3c(0x376)][_0x5b5b3c(0x52c)]=this['height']*dpr5,this[_0x5b5b3c(0x376)][_0x5b5b3c(0x1a9)][_0x5b5b3c(0x52c)]=this[_0x5b5b3c(0x52c)]+'px',this[_0x5b5b3c(0x376)][_0x5b5b3c(0x1a9)][_0x5b5b3c(0x28a)]=this[_0x5b5b3c(0x28a)]+'px',(_0x18cf13=this[_0x5b5b3c(0x1d2)])==null?void 0x0:_0x18cf13['resize'](),this[_0x5b5b3c(0x3ef)](!![]);}[_0x518421(0x58f)](_0x383846,_0x3445bb){}async['updateBackground'](){const _0x5a50ff=_0x518421;var _0xf24ad4;setRectangle(this['ctx'],0x0,0x0,this[_0x5a50ff(0x617)]['width'],this[_0x5a50ff(0x617)][_0x5a50ff(0x52c)]);const _0x42bb22=this[_0x5a50ff(0x1ec)]?(_0xf24ad4=this[_0x5a50ff(0x56e)])!=null?_0xf24ad4:this[_0x5a50ff(0x4d3)][_0x5a50ff(0x446)]():this[_0x5a50ff(0x394)];if(!_0x42bb22)throw new Error('Failed\x20to\x20create\x20WebGL\x20texture');if(this['isCrossfading']&&!this[_0x5a50ff(0x56e)])this['nextTexture']=_0x42bb22;this[_0x5a50ff(0x4d3)]['bindTexture'](this['ctx'][_0x5a50ff(0x277)],_0x42bb22),this[_0x5a50ff(0x4d3)][_0x5a50ff(0x3cd)](this[_0x5a50ff(0x4d3)]['TEXTURE_2D'],0x0,this[_0x5a50ff(0x4d3)][_0x5a50ff(0x560)],this[_0x5a50ff(0x4d3)]['RGBA'],this[_0x5a50ff(0x4d3)][_0x5a50ff(0x48d)],this[_0x5a50ff(0x617)]);}async[_0x518421(0x326)](){const _0x81bf0f=_0x518421;if(!this['backgroundElement'])return;const _0x46d379=this[_0x81bf0f(0x617)]['src']||this[_0x81bf0f(0x617)]['currentSrc'];if(this[_0x81bf0f(0x4fa)]||this[_0x81bf0f(0x438)]===_0x46d379)return;if(typeof createImageBitmap!==_0x81bf0f(0x22b))return this['loadTextureWithImageBitmap']();if(this[_0x81bf0f(0x110)]&&this[_0x81bf0f(0x296)])return this['loadTextureWithWorker']();this['backgroundImageSrc']=_0x46d379;const _0x197482=!!this[_0x81bf0f(0x394)]&&this[_0x81bf0f(0x4bb)];return!_0x197482&&(this[_0x81bf0f(0x4bb)]=![]),this[_0x81bf0f(0x4fa)]=new Promise(_0x552c91=>{const _0x5c1fc5=_0x3872d4=>{const _0xaa3df2=_0x425e;_0xaa3df2(0x618)in window?requestIdleCallback(_0x3872d4,{'timeout':0x10}):setTimeout(_0x3872d4,0x0);};_0x5c1fc5(()=>{const _0x557c48=_0x425e;try{this['setupBackgroundTexture'](),this[_0x557c48(0x4bb)]=!![],void this[_0x557c48(0x20c)](),_0x552c91();}catch(_0x3361c7){console[_0x557c48(0x495)](_0x557c48(0x152),_0x3361c7),_0x552c91();}finally{this['textureLoadingPromise']=null;}});}),this['textureLoadingPromise'];}async[_0x518421(0x1f0)](){const _0xf83a=_0x518421;if(!this[_0xf83a(0x617)])return;const _0x4ad1bd=this[_0xf83a(0x617)][_0xf83a(0x48e)]||this['backgroundElement'][_0xf83a(0x26a)];if(this[_0xf83a(0x438)]===_0x4ad1bd)return;this[_0xf83a(0x438)]=_0x4ad1bd;const _0x413e74=!!this['texture']&&this[_0xf83a(0x4bb)];return!_0x413e74&&(this[_0xf83a(0x4bb)]=![]),this[_0xf83a(0x4fa)]=new Promise(async _0x17713b=>{const _0x5572a4=_0xf83a;try{const _0x53a0c0=await createImageBitmap(this['backgroundElement'],{'premultiplyAlpha':'none','colorSpaceConversion':'none','resizeQuality':'high'}),_0x520e26=_0x4f6c71=>{const _0x2844da=_0x425e;_0x2844da(0x618)in window?requestIdleCallback(_0x4f6c71,{'timeout':0x10}):setTimeout(_0x4f6c71,0x0);};_0x520e26(()=>{const _0x1d5b8a=_0x425e;try{this[_0x1d5b8a(0x1ec)]=!!this[_0x1d5b8a(0x394)]&&this[_0x1d5b8a(0x4bb)],this[_0x1d5b8a(0x3b9)](_0x53a0c0),this[_0x1d5b8a(0x4bb)]=!![],this['isCrossfading']&&this[_0x1d5b8a(0x394)]&&this['startTextureCrossfade'](),_0x53a0c0[_0x1d5b8a(0x2de)]();}catch(_0x8320cb){console['warn'](_0x1d5b8a(0x47f),_0x8320cb),this['setupBackgroundTexture'](),this[_0x1d5b8a(0x4bb)]=!![];}finally{void this[_0x1d5b8a(0x20c)](),_0x17713b(),this[_0x1d5b8a(0x4fa)]=null;}});}catch(_0x4d3f3e){console[_0x5572a4(0x495)]('Failed\x20to\x20create\x20ImageBitmap:',_0x4d3f3e),this['setupBackgroundTexture'](),this['isTextureReady']=!![],void this[_0x5572a4(0x20c)](),_0x17713b(),this[_0x5572a4(0x4fa)]=null;}}),this[_0xf83a(0x4fa)];}['setupBackgroundTextureFromImageBitmap'](_0x5561bb){const _0x351861=_0x518421;var _0x3c2deb;if(!this[_0x351861(0x394)]){this[_0x351861(0x394)]=this['ctx']['createTexture']();if(!this[_0x351861(0x394)])throw new Error(_0x351861(0x3c8));}const _0x414568=this[_0x351861(0x1ec)]?(_0x3c2deb=this[_0x351861(0x56e)])!=null?_0x3c2deb:this[_0x351861(0x4d3)][_0x351861(0x446)]():this[_0x351861(0x394)];if(!_0x414568)throw new Error(_0x351861(0x3c8));if(this[_0x351861(0x1ec)]&&!this['nextTexture'])this[_0x351861(0x56e)]=_0x414568;this['ctx'][_0x351861(0x3a6)](this['ctx'][_0x351861(0x277)],_0x414568),this[_0x351861(0x4d3)]['texParameteri'](this[_0x351861(0x4d3)][_0x351861(0x277)],this[_0x351861(0x4d3)][_0x351861(0x4ac)],this[_0x351861(0x4d3)]['CLAMP_TO_EDGE']),this[_0x351861(0x4d3)][_0x351861(0x47e)](this['ctx'][_0x351861(0x277)],this[_0x351861(0x4d3)]['TEXTURE_WRAP_T'],this[_0x351861(0x4d3)]['CLAMP_TO_EDGE']),this[_0x351861(0x4d3)]['texParameteri'](this['ctx']['TEXTURE_2D'],this[_0x351861(0x4d3)]['TEXTURE_MIN_FILTER'],this['ctx']['LINEAR']),this[_0x351861(0x4d3)][_0x351861(0x47e)](this[_0x351861(0x4d3)][_0x351861(0x277)],this[_0x351861(0x4d3)][_0x351861(0x5dd)],this[_0x351861(0x4d3)][_0x351861(0x381)]),this[_0x351861(0x4d3)][_0x351861(0x3cd)](this[_0x351861(0x4d3)][_0x351861(0x277)],0x0,this[_0x351861(0x4d3)][_0x351861(0x560)],this[_0x351861(0x4d3)][_0x351861(0x560)],this[_0x351861(0x4d3)][_0x351861(0x48d)],_0x5561bb),this[_0x351861(0x3c6)](),this['texture']&&_0x414568!==this[_0x351861(0x394)]?this[_0x351861(0x166)]():(this[_0x351861(0x394)]=_0x414568,this[_0x351861(0x58c)]=0x1);}[_0x518421(0x3fd)](){const _0x24ae36=_0x518421;try{const _0x2f6fcc=_0x24ae36(0x4f2),_0x4f95d3=new Blob([_0x2f6fcc],{'type':_0x24ae36(0x2b0)});this['textureWorker']=new Worker(URL[_0x24ae36(0x465)](_0x4f95d3)),this[_0x24ae36(0x296)][_0x24ae36(0x11d)]=_0x5ea441=>{const _0x5a4c08=_0x24ae36,{type:_0x3e1812,success:_0x4427d8,error:_0x1f63eb}=_0x5ea441[_0x5a4c08(0x3c7)];if(_0x3e1812==='ready'){}else{if(_0x3e1812===_0x5a4c08(0x18b)){if(_0x4427d8){this[_0x5a4c08(0x4bb)]=!![];if(this[_0x5a4c08(0x4fa)]){}}else console[_0x5a4c08(0x495)](_0x5a4c08(0x135),_0x1f63eb);}}},this[_0x24ae36(0x296)][_0x24ae36(0x218)]=_0x174134=>{const _0x1df4aa=_0x24ae36;console[_0x1df4aa(0x495)](_0x1df4aa(0x121),_0x174134),this['textureWorker']=null,this['supportsOffscreenCanvas']=![];};if(typeof OffscreenCanvas!==_0x24ae36(0x22b))try{this[_0x24ae36(0x3b8)]=new OffscreenCanvas(0x100,0x100),this[_0x24ae36(0x296)]['postMessage']({'type':_0x24ae36(0x57a),'data':{'canvas':this[_0x24ae36(0x3b8)]}},[this['offscreenCanvas']]);}catch(_0x408969){console[_0x24ae36(0x495)]('Failed\x20to\x20create\x20offscreen\x20canvas:',_0x408969),this[_0x24ae36(0x110)]=![],this['textureWorker']=null;}}catch(_0x2696f0){console['warn'](_0x24ae36(0x32b),_0x2696f0),this[_0x24ae36(0x296)]=null,this[_0x24ae36(0x110)]=![];}}async[_0x518421(0x42d)](){const _0x5a56b8=_0x518421;if(!this['textureWorker']||!this[_0x5a56b8(0x617)])return;const _0x4b2f8b=this[_0x5a56b8(0x617)]['src']||this[_0x5a56b8(0x617)][_0x5a56b8(0x26a)];if(this[_0x5a56b8(0x438)]===_0x4b2f8b)return;this[_0x5a56b8(0x438)]=_0x4b2f8b;const _0x5212ad=!!this[_0x5a56b8(0x394)]&&this[_0x5a56b8(0x4bb)];return!_0x5212ad&&(this['isTextureReady']=![]),this['textureLoadingPromise']=new Promise((_0x13dd0,_0x1583f8)=>{const _0x45a2b1=_0x5a56b8,_0x117350=document[_0x45a2b1(0x3db)](_0x45a2b1(0x376)),_0x20c4b5=_0x117350[_0x45a2b1(0x2ae)]('2d');_0x117350[_0x45a2b1(0x28a)]=this[_0x45a2b1(0x617)][_0x45a2b1(0x28a)],_0x117350[_0x45a2b1(0x52c)]=this['backgroundElement'][_0x45a2b1(0x52c)],_0x20c4b5['drawImage'](this['backgroundElement'],0x0,0x0);const _0x4915f3=_0x20c4b5[_0x45a2b1(0x2e6)](0x0,0x0,_0x117350[_0x45a2b1(0x28a)],_0x117350[_0x45a2b1(0x52c)]);this[_0x45a2b1(0x3b8)]&&(this[_0x45a2b1(0x3b8)][_0x45a2b1(0x28a)]!==_0x117350['width']||this[_0x45a2b1(0x3b8)]['height']!==_0x117350[_0x45a2b1(0x52c)])&&(this['offscreenCanvas'][_0x45a2b1(0x28a)]=_0x117350[_0x45a2b1(0x28a)],this[_0x45a2b1(0x3b8)]['height']=_0x117350[_0x45a2b1(0x52c)]);const _0x564dac=_0x1ec0e9=>{const _0xe7f952=_0x45a2b1;_0x1ec0e9[_0xe7f952(0x3c7)][_0xe7f952(0x147)]===_0xe7f952(0x18b)&&(this[_0xe7f952(0x296)][_0xe7f952(0x4c1)](_0xe7f952(0x2ff),_0x564dac),_0x1ec0e9['data']['success']?(this['isTextureReady']=!![],void this[_0xe7f952(0x20c)](),_0x13dd0()):(console[_0xe7f952(0x495)](_0xe7f952(0x135),_0x1ec0e9[_0xe7f952(0x3c7)][_0xe7f952(0x452)]),this['setupBackgroundTexture'](),this['isTextureReady']=!![],void this[_0xe7f952(0x20c)](),_0x13dd0()),this['textureLoadingPromise']=null);};this['textureWorker'][_0x45a2b1(0x3aa)](_0x45a2b1(0x2ff),_0x564dac),this[_0x45a2b1(0x296)]['postMessage']({'type':_0x45a2b1(0x622),'data':{'imageData':_0x4915f3[_0x45a2b1(0x3c7)],'width':_0x117350['width'],'height':_0x117350[_0x45a2b1(0x52c)]}},[_0x4915f3[_0x45a2b1(0x3c7)]['buffer']]);}),this[_0x5a56b8(0x4fa)];}[_0x518421(0x477)](){const _0x44891d=_0x518421;if(!this[_0x44891d(0x617)])return;if(!this[_0x44891d(0x394)]){this['texture']=this['ctx']['createTexture']();if(!this['texture'])throw new Error(_0x44891d(0x3c8));}this['ctx'][_0x44891d(0x3a6)](this['ctx'][_0x44891d(0x277)],this[_0x44891d(0x394)]),this['ctx'][_0x44891d(0x47e)](this[_0x44891d(0x4d3)][_0x44891d(0x277)],this['ctx'][_0x44891d(0x4ac)],this['ctx'][_0x44891d(0x49f)]),this[_0x44891d(0x4d3)]['texParameteri'](this[_0x44891d(0x4d3)][_0x44891d(0x277)],this[_0x44891d(0x4d3)][_0x44891d(0x59e)],this[_0x44891d(0x4d3)][_0x44891d(0x49f)]),this['ctx'][_0x44891d(0x47e)](this['ctx'][_0x44891d(0x277)],this[_0x44891d(0x4d3)][_0x44891d(0x464)],this[_0x44891d(0x4d3)]['LINEAR']),this[_0x44891d(0x4d3)][_0x44891d(0x47e)](this[_0x44891d(0x4d3)][_0x44891d(0x277)],this[_0x44891d(0x4d3)]['TEXTURE_MAG_FILTER'],this[_0x44891d(0x4d3)][_0x44891d(0x381)]),this[_0x44891d(0x4d3)]['texImage2D'](this['ctx'][_0x44891d(0x277)],0x0,this[_0x44891d(0x4d3)][_0x44891d(0x560)],this[_0x44891d(0x4d3)][_0x44891d(0x560)],this['ctx'][_0x44891d(0x48d)],this['backgroundElement']),this['setupBackgroundBuffers']();}[_0x518421(0x3c6)](){if(!this['backgroundElement'])return;}async[_0x518421(0x473)](){const _0x2d950a=_0x518421;this[_0x2d950a(0x617)]&&await this[_0x2d950a(0x326)]();}[_0x518421(0x544)](){const _0x55c0cc=_0x518421;var _0x50610e,_0x275803;this[_0x55c0cc(0x314)]&&((_0x275803=(_0x50610e=this[_0x55c0cc(0x314)])[_0x55c0cc(0x502)])==null?void 0x0:_0x275803[_0x55c0cc(0x21a)](_0x50610e));}async[_0x518421(0x3ef)](_0xbce4c1){const _0x2b89a6=_0x518421;var _0x1df646,_0x21bfa2;if(!this[_0x2b89a6(0x2b3)][_0x2b89a6(0x339)])return;this['context'][_0x2b89a6(0x1ba)]=this[_0x2b89a6(0x173)]['getVisibilityStatuses'](this[_0x2b89a6(0x2b3)][_0x2b89a6(0x270)]);const _0x114219=this[_0x2b89a6(0x439)]!==this[_0x2b89a6(0x2b3)][_0x2b89a6(0x1ba)][_0x2b89a6(0x56b)][_0x2b89a6(0x1a1)];_0x114219&&(this[_0x2b89a6(0x439)]=this[_0x2b89a6(0x2b3)]['visibility'][_0x2b89a6(0x56b)][_0x2b89a6(0x1a1)]);const _0x175f88=((_0x1df646=this[_0x2b89a6(0x617)])==null?void 0x0:_0x1df646[_0x2b89a6(0x48e)])||((_0x21bfa2=this[_0x2b89a6(0x617)])==null?void 0x0:_0x21bfa2[_0x2b89a6(0x26a)]),_0x4a428c=this[_0x2b89a6(0x438)]!==_0x175f88;_0x4a428c&&this['backgroundElement']&&this[_0x2b89a6(0x326)](),this['secretGame']&&(!this[_0x2b89a6(0x1d2)][_0x2b89a6(0x37b)]()&&this[_0x2b89a6(0x1d2)][_0x2b89a6(0x355)]()),this[_0x2b89a6(0xf0)](),(this[_0x2b89a6(0x5b7)]()||this['hasLoadingSeats']()||this['hasDeselectionAnimations']())&&this[_0x2b89a6(0x5ab)]();}async[_0x518421(0x20c)](){const _0x4bc0c2=_0x518421;if(!this[_0x4bc0c2(0x2b3)][_0x4bc0c2(0x339)])return;this[_0x4bc0c2(0x2b3)]['visibility']=this[_0x4bc0c2(0x173)][_0x4bc0c2(0x312)](this['context'][_0x4bc0c2(0x270)]);const _0x556953=this['prevSeatVisibility']!==this[_0x4bc0c2(0x2b3)][_0x4bc0c2(0x1ba)][_0x4bc0c2(0x56b)]['visible'];_0x556953&&(this['prevSeatVisibility']=this[_0x4bc0c2(0x2b3)][_0x4bc0c2(0x1ba)][_0x4bc0c2(0x56b)][_0x4bc0c2(0x1a1)]),this[_0x4bc0c2(0x5ab)]();}['performRedraw'](){const _0x287200=_0x518421;var _0x2069c5;if((_0x2069c5=this['secretGame'])==null?void 0x0:_0x2069c5[_0x287200(0x1b0)]()){this['secretGame'][_0x287200(0x251)](),this['hasInitialDrawComplete']=!![];return;}this[_0x287200(0x4d3)][_0x287200(0x11a)](0x0,0x0,this[_0x287200(0x4d3)][_0x287200(0x376)][_0x287200(0x28a)],this[_0x287200(0x4d3)][_0x287200(0x376)][_0x287200(0x52c)]),this[_0x287200(0x4d3)][_0x287200(0x230)](this[_0x287200(0x4d3)][_0x287200(0x3d4)]|this[_0x287200(0x4d3)][_0x287200(0x5ce)]|this['ctx'][_0x287200(0x1d0)]),this['isTextureReady']&&this[_0x287200(0x394)]&&this[_0x287200(0x364)]&&this['backgroundRenderer'][_0x287200(0x251)](this[_0x287200(0x2b3)][_0x287200(0x270)],this['context'][_0x287200(0x481)],this[_0x287200(0x394)],this[_0x287200(0x56e)],this[_0x287200(0x617)],this[_0x287200(0x58c)]),this[_0x287200(0x2b3)]['settings'][_0x287200(0x3d3)]&&this[_0x287200(0x55b)](this[_0x287200(0x2b3)][_0x287200(0x270)],this[_0x287200(0x2b3)][_0x287200(0x481)]),this[_0x287200(0x36d)]()&&this[_0x287200(0x1e7)](this['context'][_0x287200(0x270)],this[_0x287200(0x2b3)][_0x287200(0x481)]),this[_0x287200(0x304)]=!![];}[_0x518421(0x1e7)](_0x23e8a5,_0x1752b0){const _0x377b37=_0x518421;this[_0x377b37(0x314)]&&this[_0x377b37(0x314)]['draw'](_0x23e8a5,_0x1752b0),this[_0x377b37(0x5fb)](_0x23e8a5,_0x1752b0);}[_0x518421(0x5fb)](_0x28a03f,_0x31c51c){const _0x3084f3=_0x518421;if(!this[_0x3084f3(0x12a)])return;this[_0x3084f3(0x12a)]['draw'](_0x28a03f,_0x31c51c);if(this['hoverSeatLabel'])this[_0x3084f3(0x13f)][_0x3084f3(0x251)](_0x28a03f,_0x31c51c);this[_0x3084f3(0x179)]&&this[_0x3084f3(0x2b3)][_0x3084f3(0x398)][_0x3084f3(0x3e3)]&&this[_0x3084f3(0x179)]['draw'](_0x28a03f,_0x31c51c);}[_0x518421(0x3b5)](_0x2aeded=0x3e8){const _0x2ac550=_0x518421,_0x248181=performance[_0x2ac550(0x12b)]();this['overlayPulseEndTime']=Math[_0x2ac550(0x153)](this[_0x2ac550(0x2ab)]||0x0,_0x248181+_0x2aeded),this[_0x2ac550(0x5ab)]();}[_0x518421(0x36d)](){const _0x298bfc=_0x518421;return this[_0x298bfc(0x2b3)][_0x298bfc(0x1ba)][_0x298bfc(0x56b)][_0x298bfc(0x1a1)]&&!this['context'][_0x298bfc(0x398)]['hideSeats']&&!(this[_0x298bfc(0x2b3)][_0x298bfc(0x108)]&&this['context'][_0x298bfc(0x398)]['showRows']);}['startTextureCrossfade'](){const _0x4a3983=_0x518421;this[_0x4a3983(0x1ec)]=!![],this[_0x4a3983(0x58c)]=0x0,this['crossfadeStartTime']=performance['now'](),this[_0x4a3983(0x5ab)]();}[_0x518421(0x55f)](_0x3d438b,_0x4be085){const _0x519f4e=_0x518421;if(!this[_0x519f4e(0x4bb)]||!this[_0x519f4e(0x394)]||!this[_0x519f4e(0x617)])return;this[_0x519f4e(0x364)]&&this[_0x519f4e(0x364)][_0x519f4e(0x251)](_0x3d438b,_0x4be085,this[_0x519f4e(0x394)],this[_0x519f4e(0x56e)],this[_0x519f4e(0x617)],this['textureMix']);}[_0x518421(0x33a)](){}[_0x518421(0x55b)](_0x1554a4,_0x46164a){const _0x5f03da=_0x518421;if(!this[_0x5f03da(0x17c)])return;this['rowsRenderer'][_0x5f03da(0x251)](_0x1554a4,_0x46164a);}[_0x518421(0x5ab)](){const _0x5370f2=_0x518421;if(this[_0x5370f2(0x57b)]!==null)return;this[_0x5370f2(0x57b)]=requestAnimationFrame(this[_0x5370f2(0x5a3)]);}[_0x518421(0x5b7)](){const _0x3aaa75=_0x518421;try{const _0x4eadff=this['context'][_0x3aaa75(0x2dc)]?this['context']['getCartSeats']():[];return Array[_0x3aaa75(0x44d)](_0x4eadff)&&_0x4eadff[_0x3aaa75(0x287)]>0x0;}catch(_0x2e798f){return![];}}[_0x518421(0x568)](){const _0x418e85=_0x518421;try{const _0x1c2873=this[_0x418e85(0x2b3)][_0x418e85(0x339)]||[];for(let _0x409af8=0x0;_0x409af8<_0x1c2873[_0x418e85(0x287)];_0x409af8++){if(_0x1c2873[_0x409af8][_0x418e85(0x577)]===_0x418e85(0x1f8))return!![];}return![];}catch(_0x22aa26){return![];}}['hasDeselectionAnimations'](){const _0x1c6bc2=_0x518421;try{const _0x3bdcf7=this[_0x1c6bc2(0x2b3)][_0x1c6bc2(0x5db)];if(!_0x3bdcf7)return![];const _0x524f2e=performance[_0x1c6bc2(0x12b)](),_0x48aa1b=0x12c;for(const _0x30ccce in _0x3bdcf7){if(!Object[_0x1c6bc2(0x29e)]['hasOwnProperty'][_0x1c6bc2(0x21a)](_0x3bdcf7,_0x30ccce))continue;if(_0x524f2e-_0x3bdcf7[_0x30ccce]<_0x48aa1b)return!![];}return![];}catch(_0x23efb3){return![];}}static[_0x518421(0x14d)](){const _0x42a6be=_0x518421;if(!window[_0x42a6be(0x3f0)])return![];try{const _0x173076=document[_0x42a6be(0x3db)](_0x42a6be(0x376));return Boolean(_0x173076[_0x42a6be(0x2ae)]('webgl'));}catch(_0x384b9e){return![];}}},defaultZoomSettings={'presets':[0.5,0x1,0x2],'maxZoomToFitScale':0x1,'minPinchZoom':0.5,'maxPinchZoom':0x2},isObject=_0x5f12a5=>_0x5f12a5!==null&&typeof _0x5f12a5===_0x518421(0x371)&&!Array[_0x518421(0x44d)](_0x5f12a5),deepMerge=(_0x3fe4ce,_0x5fcea8)=>{const _0x388294=_0x518421,_0x214e55={..._0x3fe4ce};for(const _0x1eab9f in _0x5fcea8){if(_0x5fcea8[_0x388294(0x10e)](_0x1eab9f)){const _0x313f76=_0x1eab9f,_0x1ebceb=_0x3fe4ce[_0x313f76],_0x56b060=_0x5fcea8[_0x313f76];isObject(_0x1ebceb)&&isObject(_0x56b060)?_0x214e55[_0x313f76]=deepMerge(_0x1ebceb,_0x56b060):_0x214e55[_0x313f76]=_0x56b060?_0x56b060:_0x1ebceb;}}return _0x214e55;},mergeTheme=(_0x30d5ce,_0x3ba0fb)=>{const _0x5ca652=_0x518421;if(!_0x30d5ce&&!_0x3ba0fb)return;if(_0x30d5ce&&_0x3ba0fb){const _0x578fcf={..._0x30d5ce};return _0x3ba0fb[_0x5ca652(0x5a0)]&&(_0x578fcf[_0x5ca652(0x5a0)]=_0x3ba0fb['bgColor']),_0x3ba0fb[_0x5ca652(0x56c)]&&(_0x578fcf[_0x5ca652(0x56c)]=_0x3ba0fb[_0x5ca652(0x56c)]),_0x3ba0fb[_0x5ca652(0x316)]&&(_0x578fcf[_0x5ca652(0x316)]={..._0x30d5ce['images']||{},..._0x3ba0fb[_0x5ca652(0x316)]}),_0x3ba0fb[_0x5ca652(0x4ea)]&&(_0x578fcf['priceColors']=_0x3ba0fb[_0x5ca652(0x4ea)]),_0x3ba0fb[_0x5ca652(0x33f)]&&(_0x578fcf[_0x5ca652(0x33f)]=_0x3ba0fb[_0x5ca652(0x33f)]),_0x3ba0fb[_0x5ca652(0x111)]&&(_0x578fcf[_0x5ca652(0x111)]=deepMerge(_0x30d5ce[_0x5ca652(0x111)]||{},_0x3ba0fb[_0x5ca652(0x111)])),_0x3ba0fb[_0x5ca652(0x3a9)]&&(_0x578fcf[_0x5ca652(0x3a9)]=deepMerge(_0x30d5ce[_0x5ca652(0x3a9)]||{},_0x3ba0fb[_0x5ca652(0x3a9)])),_0x578fcf;}if(_0x3ba0fb)return _0x3ba0fb;return _0x30d5ce;},mergeSettings=(_0x4aac99,_0x3f3fe6)=>{const _0x1dc627=_0x518421,_0x59665f=Object[_0x1dc627(0x2a4)]({},_0x4aac99,_0x3f3fe6);return _0x59665f['theme']=mergeTheme(_0x4aac99[_0x1dc627(0x1ae)],_0x3f3fe6==null?void 0x0:_0x3f3fe6[_0x1dc627(0x1ae)]),_0x4aac99[_0x1dc627(0x564)]&&(_0x3f3fe6==null?void 0x0:_0x3f3fe6[_0x1dc627(0x564)])&&(_0x59665f[_0x1dc627(0x564)]=deepMerge(_0x4aac99[_0x1dc627(0x564)],_0x3f3fe6==null?void 0x0:_0x3f3fe6[_0x1dc627(0x564)])),_0x4aac99[_0x1dc627(0x13b)]&&(_0x3f3fe6==null?void 0x0:_0x3f3fe6[_0x1dc627(0x13b)])?_0x59665f[_0x1dc627(0x13b)]=deepMerge(_0x4aac99[_0x1dc627(0x13b)],_0x3f3fe6==null?void 0x0:_0x3f3fe6['zoomSettings']):_0x59665f[_0x1dc627(0x13b)]=defaultZoomSettings,_0x59665f;},SanitizeManager=class{};SanitizeManager[_0x518421(0x5bb)]=_0x5dea0a=>{const _0x18dcd0=_0x518421;return _0x5dea0a[_0x18dcd0(0x10b)](_0x5e9e20=>Boolean(_0x5e9e20));};var TransformAnimator=class{constructor(_0x1449a4){const _0x373e83=_0x518421;this[_0x373e83(0x596)]=_0x424d6e=>{const _0x5b61ac=_0x373e83;var _0x36c750,_0x5216bc,_0x5d636d,_0x286f31;if(!this[_0x5b61ac(0x1d6)])return;if(!this[_0x5b61ac(0x1d6)][_0x5b61ac(0x481)])return;if(!this[_0x5b61ac(0x1d6)][_0x5b61ac(0x262)])return;if(!this[_0x5b61ac(0x1d6)]['startTime'])this['animation'][_0x5b61ac(0x5b4)]=_0x424d6e;if(_0x424d6e-this['animation'][_0x5b61ac(0x5b4)]>this[_0x5b61ac(0x1d6)][_0x5b61ac(0x5ff)]){this[_0x5b61ac(0x3bc)][_0x5b61ac(0x4e5)](),this[_0x5b61ac(0x3bc)][_0x5b61ac(0x33e)]({'toTranslate':this[_0x5b61ac(0x1d6)][_0x5b61ac(0xeb)]}),cancelAnimationFrame(this['animation'][_0x5b61ac(0x47a)]),this[_0x5b61ac(0x1d6)]=void 0x0,this[_0x5b61ac(0x3bc)][_0x5b61ac(0x3ef)]();if(this[_0x5b61ac(0x5b5)]!==void 0x0&&((_0x5216bc=(_0x36c750=this['options'])['is3DEnabled'])==null?void 0x0:_0x5216bc[_0x5b61ac(0x21a)](_0x36c750))){const _0x3b7576=this['pendingRotationAngle'];this[_0x5b61ac(0x5b5)]=void 0x0,(_0x286f31=(_0x5d636d=this[_0x5b61ac(0x3bc)])[_0x5b61ac(0x3f7)])==null?void 0x0:_0x286f31[_0x5b61ac(0x21a)](_0x5d636d,_0x3b7576);}}else{const _0x3bc02c=Math[_0x5b61ac(0x318)](0x1,(_0x424d6e-this['animation'][_0x5b61ac(0x5b4)])/this[_0x5b61ac(0x1d6)][_0x5b61ac(0x5ff)]),_0x19a280=cubicInOut(_0x3bc02c),_0x32cb8e={'x':this[_0x5b61ac(0x1d6)][_0x5b61ac(0x481)]['x']+(this[_0x5b61ac(0x1d6)]['toTranslate']['x']-this[_0x5b61ac(0x1d6)][_0x5b61ac(0x262)]['x'])*_0x19a280,'y':this[_0x5b61ac(0x1d6)][_0x5b61ac(0x481)]['y']+(this[_0x5b61ac(0x1d6)]['toTranslate']['y']-this[_0x5b61ac(0x1d6)][_0x5b61ac(0x262)]['y'])*_0x19a280};this['options'][_0x5b61ac(0x5b8)](this[_0x5b61ac(0x1d6)][_0x5b61ac(0x14a)],_0x32cb8e),this[_0x5b61ac(0x1d6)]['frame']=requestAnimationFrame(this[_0x5b61ac(0x596)]);}},this['animationStep']=_0xe7ffe0=>{const _0x5423e7=_0x373e83;var _0x30aa3b,_0x1145d3,_0x551db4,_0x49959b,_0x170505,_0x28fca0,_0xf001e2,_0x1d869a;if(!this['animation'])return;if(!this['animation']['startTime'])this[_0x5423e7(0x1d6)]['startTime']=_0xe7ffe0;if(!this[_0x5423e7(0x1d6)]['relativeTranslate'])return;if(_0xe7ffe0-this[_0x5423e7(0x1d6)][_0x5423e7(0x5b4)]>this['animation']['duration']){this[_0x5423e7(0x3bc)]['onEnd'](),this[_0x5423e7(0x3bc)]['commitTransform']({'toScale':this[_0x5423e7(0x1d6)][_0x5423e7(0x14a)],'toTranslate':this[_0x5423e7(0x1d6)][_0x5423e7(0xeb)],'toRotationZ':this[_0x5423e7(0x1d6)][_0x5423e7(0x207)],'toTiltX':this['animation'][_0x5423e7(0x507)],'toPerspectiveZ':this['animation'][_0x5423e7(0x4cd)]}),cancelAnimationFrame(this['animation'][_0x5423e7(0x47a)]),(_0x1145d3=(_0x30aa3b=this[_0x5423e7(0x3bc)])[_0x5423e7(0x4c5)])==null?void 0x0:_0x1145d3[_0x5423e7(0x21a)](_0x30aa3b,this[_0x5423e7(0x1d6)][_0x5423e7(0x14a)],this['animation'][_0x5423e7(0x3c1)]);const _0x4d9686=this[_0x5423e7(0x1d6)][_0x5423e7(0x4f7)];this[_0x5423e7(0x1d6)]=void 0x0,this[_0x5423e7(0x3bc)][_0x5423e7(0x3ef)]();if(_0x4d9686)_0x4d9686();if(this[_0x5423e7(0x5b5)]!==void 0x0&&((_0x49959b=(_0x551db4=this['options'])['is3DEnabled'])==null?void 0x0:_0x49959b[_0x5423e7(0x21a)](_0x551db4))){const _0x4d1a34=this[_0x5423e7(0x5b5)];this[_0x5423e7(0x5b5)]=void 0x0,(_0x28fca0=(_0x170505=this[_0x5423e7(0x3bc)])['onPendingRotation'])==null?void 0x0:_0x28fca0['call'](_0x170505,_0x4d1a34);}}else{const _0x2703ed=Math['min'](0x1,(_0xe7ffe0-this[_0x5423e7(0x1d6)][_0x5423e7(0x5b4)])/this['animation'][_0x5423e7(0x5ff)]),_0x2b852=cubicInOut(_0x2703ed),_0x9dc359=0x1+(this['animation'][_0x5423e7(0x14a)]/this[_0x5423e7(0x1d6)][_0x5423e7(0x3c1)]-0x1)*_0x2b852,_0x139621={'x':this['animation'][_0x5423e7(0x459)]['x']*_0x2b852,'y':this[_0x5423e7(0x1d6)][_0x5423e7(0x459)]['y']*_0x2b852};(this[_0x5423e7(0x1d6)][_0x5423e7(0x598)]!==void 0x0&&this[_0x5423e7(0x1d6)]['toRotationZ']!==void 0x0||this[_0x5423e7(0x1d6)][_0x5423e7(0x44c)]!==void 0x0&&this[_0x5423e7(0x1d6)]['toTiltX']!==void 0x0||this[_0x5423e7(0x1d6)][_0x5423e7(0x11b)]!==void 0x0&&this[_0x5423e7(0x1d6)]['toPerspectiveZ']!==void 0x0)&&((_0x1d869a=(_0xf001e2=this[_0x5423e7(0x3bc)])['applyIntermediate3D'])==null?void 0x0:_0x1d869a[_0x5423e7(0x21a)](_0xf001e2,{'rotationZ':this[_0x5423e7(0x1d6)][_0x5423e7(0x598)]!==void 0x0&&this[_0x5423e7(0x1d6)][_0x5423e7(0x207)]!==void 0x0?this['animation'][_0x5423e7(0x598)]+(this[_0x5423e7(0x1d6)][_0x5423e7(0x207)]-this[_0x5423e7(0x1d6)][_0x5423e7(0x598)])*_0x2b852:void 0x0,'tiltX':this['animation']['fromTiltX']!==void 0x0&&this[_0x5423e7(0x1d6)][_0x5423e7(0x507)]!==void 0x0?this[_0x5423e7(0x1d6)][_0x5423e7(0x44c)]+(this[_0x5423e7(0x1d6)][_0x5423e7(0x507)]-this[_0x5423e7(0x1d6)][_0x5423e7(0x44c)])*_0x2b852:void 0x0,'perspectiveZ':this[_0x5423e7(0x1d6)][_0x5423e7(0x11b)]!==void 0x0&&this['animation'][_0x5423e7(0x4cd)]!==void 0x0?this['animation']['fromPerspectiveZ']+(this['animation'][_0x5423e7(0x4cd)]-this[_0x5423e7(0x1d6)][_0x5423e7(0x11b)])*_0x2b852:void 0x0})),this[_0x5423e7(0x3bc)][_0x5423e7(0x5b8)](_0x9dc359,_0x139621),this[_0x5423e7(0x1d6)][_0x5423e7(0x47a)]=requestAnimationFrame(this[_0x5423e7(0x561)]);}},this[_0x373e83(0x3bc)]=_0x1449a4;}[_0x518421(0x603)](){const _0x5f40b8=_0x518421;return!!this[_0x5f40b8(0x1d6)]&&this[_0x5f40b8(0x1d6)]['inProgress'];}[_0x518421(0x470)](){const _0x29d539=_0x518421;this[_0x29d539(0x1d6)]&&(cancelAnimationFrame(this[_0x29d539(0x1d6)][_0x29d539(0x47a)]),this[_0x29d539(0x3bc)][_0x29d539(0x4e5)](),this[_0x29d539(0x1d6)]=void 0x0);}[_0x518421(0x149)](_0x58a3a7){this['pendingRotationAngle']=_0x58a3a7;}[_0x518421(0x556)](_0x1e23bb,_0x4fe376,_0x4d0fd3,_0x362317){const _0x2a78ed=_0x518421;if(this['animation'])return;this[_0x2a78ed(0x3bc)]['onStart'](),this[_0x2a78ed(0x1d6)]={'type':_0x2a78ed(0x472),'duration':_0x362317,'fromScale':0x1,'toScale':0x1,'translate':_0x1e23bb,'fromTranslate':_0x4fe376,'toTranslate':_0x4d0fd3,'inProgress':!![],'frame':requestAnimationFrame(this[_0x2a78ed(0x596)])};}[_0x518421(0x5cb)](_0x17c4e4){const _0x33b0e7=_0x518421;this[_0x33b0e7(0x1d6)]&&(cancelAnimationFrame(this[_0x33b0e7(0x1d6)]['frame']),this['options'][_0x33b0e7(0x4e5)](),this['animation']=void 0x0),this[_0x33b0e7(0x3bc)][_0x33b0e7(0x2fb)](),this[_0x33b0e7(0x1d6)]={'type':_0x33b0e7(0x56d),'duration':_0x17c4e4['duration'],'fromScale':_0x17c4e4['fromScale'],'toScale':_0x17c4e4[_0x33b0e7(0x14a)],'toTranslate':_0x17c4e4[_0x33b0e7(0xeb)],'relativeTranslate':_0x17c4e4['relativeTranslate'],'fromRotationZ':_0x17c4e4[_0x33b0e7(0x598)],'toRotationZ':_0x17c4e4[_0x33b0e7(0x207)],'fromTiltX':_0x17c4e4['fromTiltX'],'toTiltX':_0x17c4e4['toTiltX'],'fromPerspectiveZ':_0x17c4e4[_0x33b0e7(0x11b)],'toPerspectiveZ':_0x17c4e4['toPerspectiveZ'],'onComplete':_0x17c4e4[_0x33b0e7(0x4f7)],'inProgress':!![],'frame':requestAnimationFrame(this[_0x33b0e7(0x561)])};}},RotationAnimation=class{constructor(){const _0x3c67c1=_0x518421;this[_0x3c67c1(0x1d6)]=null;}[_0x518421(0x5ae)](_0x3ec1b1,_0x1da35a){const _0x443897=_0x518421;this[_0x443897(0x482)](),this['animation']={'startTime':Date['now'](),'animationId':null,'lastRotationZ':0x0,'angle':_0x3ec1b1,'isRunning':!![]};const _0x38a420=()=>{const _0x4d3c31=_0x443897;if(!this[_0x4d3c31(0x1d6)]||!this[_0x4d3c31(0x1d6)]['isRunning'])return;const _0x9eb616=(Date[_0x4d3c31(0x12b)]()-this[_0x4d3c31(0x1d6)][_0x4d3c31(0x5b4)])/0x3e8,_0x118ebb=_0x9eb616*this['animation'][_0x4d3c31(0x16c)]%(Math['PI']*0x2);Math[_0x4d3c31(0x22a)](_0x118ebb-this[_0x4d3c31(0x1d6)][_0x4d3c31(0x2b9)])>0.001&&(this[_0x4d3c31(0x1d6)][_0x4d3c31(0x2b9)]=_0x118ebb,_0x1da35a(_0x118ebb)),this[_0x4d3c31(0x1d6)]['animationId']=requestAnimationFrame(_0x38a420);};return this[_0x443897(0x1d6)][_0x443897(0x429)]=requestAnimationFrame(_0x38a420),this[_0x443897(0x1d6)]['animationId'];}[_0x518421(0x482)](){const _0x58882e=_0x518421;this[_0x58882e(0x1d6)]&&this['animation'][_0x58882e(0x429)]!==null&&(this[_0x58882e(0x1d6)][_0x58882e(0x603)]=![],cancelAnimationFrame(this[_0x58882e(0x1d6)]['animationId']),this[_0x58882e(0x1d6)]=null);}['isRunning'](){const _0x71bb27=_0x518421;return this[_0x71bb27(0x1d6)]!==null&&this[_0x71bb27(0x1d6)][_0x71bb27(0x603)];}['getAnimationId'](){const _0x30b1eb=_0x518421;var _0x3c30ed;return((_0x3c30ed=this['animation'])==null?void 0x0:_0x3c30ed[_0x30b1eb(0x429)])||null;}['getAnimation'](){const _0x21e34f=_0x518421;return this[_0x21e34f(0x1d6)];}};function animate3D(_0x59f9a8,_0x49f2ed,_0x2e53d0,_0x1a434c){const _0x51329e=_0x518421;var _0x51570f,_0x331c5a,_0x4c1ae5,_0x4bb35a,_0xb0e3e1,_0x30a268;const _0xc53337=(_0x51570f=_0x59f9a8['rotationZ'])!=null?_0x51570f:0x0,_0x449969=(_0x331c5a=_0x59f9a8[_0x51329e(0x1d5)])!=null?_0x331c5a:0x0,_0x574913=(_0x4c1ae5=_0x59f9a8[_0x51329e(0x1fb)])!=null?_0x4c1ae5:0x0,_0x2d3a90=(_0x4bb35a=_0x49f2ed[_0x51329e(0x183)])!=null?_0x4bb35a:_0xc53337,_0x528742=(_0xb0e3e1=_0x49f2ed['perspectiveZ'])!=null?_0xb0e3e1:_0x449969,_0x201e9f=(_0x30a268=_0x49f2ed[_0x51329e(0x1fb)])!=null?_0x30a268:_0x574913,_0x1331f5=performance[_0x51329e(0x12b)]();return new Promise(_0x5479cb=>{const _0x42a17e=_0x344c7d=>{const _0x4422e2=_0x425e,_0x10bdc0=Math[_0x4422e2(0x318)](0x1,(_0x344c7d-_0x1331f5)/Math['max'](0x1,_0x2e53d0)),_0x2f6aa6=cubicInOut(_0x10bdc0);_0x1a434c({'rotationZ':_0xc53337+(_0x2d3a90-_0xc53337)*_0x2f6aa6,'perspectiveZ':_0x449969+(_0x528742-_0x449969)*_0x2f6aa6,'tiltX':_0x574913+(_0x201e9f-_0x574913)*_0x2f6aa6}),_0x10bdc0<0x1?requestAnimationFrame(_0x42a17e):(_0x1a434c({'rotationZ':_0x2d3a90,'perspectiveZ':_0x528742,'tiltX':_0x201e9f}),_0x5479cb());};requestAnimationFrame(_0x42a17e);});}!window[_0x518421(0x286)]&&(window[_0x518421(0x286)]=window[_0x518421(0x4fc)]);var DPR3=window[_0x518421(0x4d1)],paddingSetting=0.5,emptyPaddingSettings=0x0,Renderer=class{constructor(_0x52db16,_0xae0cfd,_0x4d2007){const _0x112cfa=_0x518421;this[_0x112cfa(0xec)]=![],this[_0x112cfa(0x603)]=!![],this[_0x112cfa(0x34c)]=![],this['switchToWebGL']=![],this[_0x112cfa(0x256)]={},this[_0x112cfa(0x504)]=()=>{const _0x5f06cb=_0x112cfa;this[_0x5f06cb(0xec)]=!![];},this[_0x112cfa(0x2af)]=_0xbeb768=>{const _0x3852be=_0x112cfa;_0xbeb768&&this['context']['settings'][_0x3852be(0x4f1)]&&this['context'][_0x3852be(0x398)][_0x3852be(0x4f1)](_0xbeb768);},this[_0x112cfa(0x421)]=_0x4d4950=>{const _0x17edf5=_0x112cfa;this[_0x17edf5(0x5ad)][_0x17edf5(0x469)](_0x4d4950);},this[_0x112cfa(0x623)]=_0x52c2a9=>{const _0x55f7f9=_0x112cfa;this[_0x55f7f9(0x41c)]({'x':_0x52c2a9[_0x55f7f9(0x61c)]['x']*DPR3,'y':_0x52c2a9['delta']['y']*DPR3},_0x52c2a9[_0x55f7f9(0x523)]),this[_0x55f7f9(0x2b3)]['settings']['onPan']&&this[_0x55f7f9(0x2b3)][_0x55f7f9(0x398)][_0x55f7f9(0x3f5)](_0x52c2a9[_0x55f7f9(0x61c)],_0x52c2a9[_0x55f7f9(0x523)]);},this[_0x112cfa(0x144)]=_0x2ce74e=>{const _0x40f194=_0x112cfa,_0x18451f=window[_0x40f194(0x4d1)],_0x2339e3={'x':(_0x2ce74e[_0x40f194(0x129)]['x']*_0x18451f-this['context'][_0x40f194(0x481)]['x'])/this[_0x40f194(0x2b3)][_0x40f194(0x270)],'y':(_0x2ce74e['rect']['y']*_0x18451f-this[_0x40f194(0x2b3)]['translate']['y'])/this[_0x40f194(0x2b3)][_0x40f194(0x270)],'width':_0x2ce74e[_0x40f194(0x129)][_0x40f194(0x28a)]/this['context'][_0x40f194(0x270)]*_0x18451f,'height':_0x2ce74e[_0x40f194(0x129)]['height']/this[_0x40f194(0x2b3)][_0x40f194(0x270)]*_0x18451f};_0x2ce74e['isRowsMode']?this[_0x40f194(0x2b3)][_0x40f194(0x38c)](_0x2339e3,_0x2ce74e[_0x40f194(0x5bc)]):this[_0x40f194(0x2b3)]['rectSelectSeats'](_0x2339e3,_0x2ce74e['selectMode']);_0x2ce74e[_0x40f194(0x25b)]&&this[_0x40f194(0xf7)][_0x40f194(0x126)]();if(_0x2ce74e[_0x40f194(0x523)]){this[_0x40f194(0x3a1)][_0x40f194(0x5c0)](),this['outlineLayer'][_0x40f194(0x53d)]();this[_0x40f194(0x2b3)][_0x40f194(0x398)][_0x40f194(0x60c)]&&this['context'][_0x40f194(0x398)][_0x40f194(0x60c)]();const _0x258e7f=this[_0x40f194(0x2b3)][_0x40f194(0x163)],_0x202aa2=this[_0x40f194(0x2b3)]['seats'][_0x40f194(0x10b)](_0x408623=>_0x258e7f[_0x40f194(0x4bd)](_0x408623['id']));this[_0x40f194(0x2b3)][_0x40f194(0x398)]['onSeatsSelectionChange']&&this[_0x40f194(0x2b3)]['settings']['onSeatsSelectionChange'](_0x202aa2),this[_0x40f194(0x2b3)][_0x40f194(0x398)][_0x40f194(0x62b)]&&this[_0x40f194(0x2b3)][_0x40f194(0x398)][_0x40f194(0x62b)](_0x202aa2);}else this[_0x40f194(0x3a1)][_0x40f194(0x38f)](_0x2339e3);},this[_0x112cfa(0x61f)]=_0x5665ff=>{const _0x194707=_0x112cfa;if(this[_0x194707(0x2b3)][_0x194707(0x163)][_0x194707(0x287)]===0x0)return;const _0x374081=this[_0x194707(0x2b3)][_0x194707(0x163)];this[_0x194707(0x2b3)][_0x194707(0x163)]=[],this[_0x194707(0x3a1)]['redraw']();this['context'][_0x194707(0x398)][_0x194707(0x60c)]&&this[_0x194707(0x2b3)][_0x194707(0x398)][_0x194707(0x60c)]();const _0x3976bc=this[_0x194707(0x2b3)][_0x194707(0x339)][_0x194707(0x10b)](_0x4f7e6e=>_0x374081[_0x194707(0x4bd)](_0x4f7e6e['id']));this[_0x194707(0x2b3)][_0x194707(0x398)][_0x194707(0x274)]&&this[_0x194707(0x2b3)][_0x194707(0x398)]['onSeatsSelectionChange'](_0x3976bc),this[_0x194707(0x2b3)][_0x194707(0x398)][_0x194707(0x299)]&&this['context'][_0x194707(0x398)][_0x194707(0x299)](_0x3976bc);},this[_0x112cfa(0x13d)]=_0x2124c2=>{const _0x633c2e=_0x112cfa;this['startAnimation']((_0x2124c2[_0x633c2e(0x270)]||0x1)*DPR3,_0x2124c2['origin']);},this[_0x112cfa(0x572)]=({seat:_0xd07d88,isRowsMode:_0x24c493,selectMode:_0x3e6358})=>{const _0x428454=_0x112cfa;_0x24c493?this['context'][_0x428454(0x174)]((this[_0x428454(0x2b3)]['seatsByRowId'][_0xd07d88[_0x428454(0x59f)]]||[])[_0x428454(0x52b)](_0x34c81e=>_0x34c81e['id']),_0x3e6358):this['context'][_0x428454(0x174)]([_0xd07d88['id']],_0x3e6358),this[_0x428454(0x3a1)][_0x428454(0x3ef)](),this['context'][_0x428454(0x398)][_0x428454(0x60c)]&&this[_0x428454(0x2b3)][_0x428454(0x398)]['onSeatSelectionChange'](),this[_0x428454(0x2b3)]['settings'][_0x428454(0x62b)]&&this[_0x428454(0x2b3)][_0x428454(0x398)][_0x428454(0x62b)](_0x24c493?this[_0x428454(0x2b3)][_0x428454(0x46e)][_0xd07d88[_0x428454(0x59f)]]:[_0xd07d88]),this[_0x428454(0x2b3)][_0x428454(0x398)][_0x428454(0x274)]&&this[_0x428454(0x2b3)][_0x428454(0x398)][_0x428454(0x274)](_0x24c493?this[_0x428454(0x2b3)][_0x428454(0x46e)][_0xd07d88['rowId']]:[_0xd07d88]);},this[_0x112cfa(0x17d)]=async({seat:_0x2d0919})=>{const _0x42245c=_0x112cfa;var _0x3b289c,_0x596abc,_0x3b8108,_0x5a592d,_0x213a28,_0x7b858d;if(_0x2d0919[_0x42245c(0x540)])return;const _0x1bd4a4=this[_0x42245c(0x2b3)][_0x42245c(0x57e)](),_0xd1e862=this['seatToExtendedSeat'](_0x2d0919),_0x49dda3=!this[_0x42245c(0x2b3)]['isSeatInCart'](_0x2d0919['id']),_0x46ba10=this[_0x42245c(0x2b3)]['settings'][_0x42245c(0x58b)];if(_0x46ba10&&_0x46ba10>0x1){this[_0x42245c(0x3f4)]();const _0x306e32=this[_0x42245c(0x18e)](_0xd1e862['id'],_0x46ba10);_0x306e32?_0x306e32[_0x42245c(0x356)](_0x468aa1=>this[_0x42245c(0x2b3)][_0x42245c(0x29f)](_0x468aa1['id'])):this['context'][_0x42245c(0x39e)](void 0x0);this[_0x42245c(0x2b3)][_0x42245c(0x398)][_0x42245c(0x47b)]&&this['context'][_0x42245c(0x398)][_0x42245c(0x47b)](this[_0x42245c(0x2b3)][_0x42245c(0x57e)](),_0x1bd4a4);this[_0x42245c(0x3a1)][_0x42245c(0x3ef)]();return;}try{_0x2d0919[_0x42245c(0x577)]=_0x42245c(0x1f8),this[_0x42245c(0x2b3)][_0x42245c(0x43e)](_0x2d0919['id']),this[_0x42245c(0x3ef)]();const _0x288725=_0x49dda3?await((_0x3b8108=(_0x596abc=(_0x3b289c=this[_0x42245c(0x2b3)][_0x42245c(0x398)])[_0x42245c(0x4e0)])==null?void 0x0:_0x596abc[_0x42245c(0x21a)](_0x3b289c,_0xd1e862))!=null?_0x3b8108:Promise[_0x42245c(0x1fe)](!![])):await((_0x7b858d=(_0x213a28=(_0x5a592d=this['context'][_0x42245c(0x398)])[_0x42245c(0x271)])==null?void 0x0:_0x213a28[_0x42245c(0x21a)](_0x5a592d,_0xd1e862))!=null?_0x7b858d:Promise[_0x42245c(0x1fe)](!![]));if(_0x288725===![]){_0x2d0919[_0x42245c(0x577)]='error',this[_0x42245c(0x3ef)]();const _0x317b2d=this[_0x42245c(0x5ad)]['context'][_0x42245c(0x417)];(_0x317b2d==null?void 0x0:_0x317b2d[_0x42245c(0x3ff)])==='seat'&&(_0x317b2d==null?void 0x0:_0x317b2d['id'])===_0x2d0919['id']&&this[_0x42245c(0x2b3)][_0x42245c(0x39e)](void 0x0);setTimeout(()=>{const _0x4814fd=_0x42245c;_0x2d0919[_0x4814fd(0x577)]=_0x4814fd(0x60e),this[_0x4814fd(0x3ef)]();},0xbb8);return;}this[_0x42245c(0x541)]instanceof HTMLCanvasLayer&&this[_0x42245c(0x541)][_0x42245c(0x3bd)](_0x2d0919['id'][_0x42245c(0x40f)]());_0x49dda3?(this['context'][_0x42245c(0x29f)](_0x2d0919['id']),_0x2d0919[_0x42245c(0x577)]='selected'):(this['context']['removeSeatFromCart'](_0x2d0919['id']),_0x2d0919['state']=_0x42245c(0x60e));this[_0x42245c(0x2b3)][_0x42245c(0x398)][_0x42245c(0x47b)]&&this[_0x42245c(0x2b3)][_0x42245c(0x398)][_0x42245c(0x47b)](this[_0x42245c(0x2b3)][_0x42245c(0x57e)](),_0x1bd4a4);const _0x2ab83b=this['service'][_0x42245c(0x2b3)]['hovered'];!_0x49dda3&&(_0x2ab83b==null?void 0x0:_0x2ab83b['targetType'])===_0x42245c(0x56b)&&(_0x2ab83b==null?void 0x0:_0x2ab83b['id'])===_0x2d0919['id']&&this[_0x42245c(0x2b3)][_0x42245c(0x39e)](void 0x0);}catch(_0x4adc41){console[_0x42245c(0x452)]('Error\x20when\x20choosing\x20a\x20seat:',_0x4adc41),_0x2d0919[_0x42245c(0x577)]=_0x42245c(0x452),this[_0x42245c(0x3ef)]();}this[_0x42245c(0x3ef)](),this[_0x42245c(0x541)]instanceof WebGLCanvasLayer&&_0x49dda3&&this[_0x42245c(0x541)][_0x42245c(0x3b5)](0x12c);},this[_0x112cfa(0x28f)]=async({section:_0x3caf3c})=>{const _0x392368=_0x112cfa;if(!_0x3caf3c['id'])return;if(this[_0x392368(0x2b3)][_0x392368(0xfc)][_0x3caf3c['id']]['disabled']||this[_0x392368(0x2b3)][_0x392368(0xfc)][_0x3caf3c['id']]['filtered'])return;!this[_0x392368(0x2b3)][_0x392368(0x398)]['disableCartInteractions']&&(this['context'][_0x392368(0x4dd)]['ga'][_0x392368(0x584)](_0x1b682f=>_0x1b682f[_0x392368(0x1b5)]===_0x3caf3c['id'])?this[_0x392368(0xf9)]({'sectorId':_0x3caf3c['id']}):this[_0x392368(0x24d)]({'sectorId':_0x3caf3c['id'],'key':_0x3caf3c[_0x392368(0x23f)],'count':0x1,'price':_0x3caf3c[_0x392368(0x4eb)]})),this[_0x392368(0x2b3)][_0x392368(0xfc)][_0x3caf3c['id']]['selected']?(this[_0x392368(0x3e6)](),this[_0x392368(0x2b3)]['sectionsById'][_0x3caf3c['id']][_0x392368(0x175)]=![]):(this[_0x392368(0x3e6)](_0x3caf3c['id']),this[_0x392368(0x2b3)][_0x392368(0xfc)][_0x3caf3c['id']][_0x392368(0x175)]=!![]),this['context'][_0x392368(0x398)][_0x392368(0x454)]&&this['context'][_0x392368(0x398)][_0x392368(0x454)](_0x3caf3c),this['context'][_0x392368(0x398)][_0x392368(0x4e4)]&&this[_0x392368(0x2b3)][_0x392368(0x398)][_0x392368(0x4e4)](_0x3caf3c);},this[_0x112cfa(0x21d)]=_0x2c285b=>{const _0x4fcebd=_0x112cfa,_0x11174f=this['normalizePinchScale'](_0x2c285b[_0x4fcebd(0x270)]);if(_0x2c285b[_0x4fcebd(0x147)]===_0x4fcebd(0xff)){const _0x3a5f6c=this[_0x4fcebd(0x2b3)][_0x4fcebd(0x107)][_0x4fcebd(0x27b)]();this['pinchStartPoint']={'x':_0x2c285b[_0x4fcebd(0x3be)]['x']-_0x3a5f6c[_0x4fcebd(0x267)],'y':_0x2c285b[_0x4fcebd(0x3be)]['y']-_0x3a5f6c[_0x4fcebd(0x349)]},this[_0x4fcebd(0x2e3)][_0x4fcebd(0x3d5)](_0x4fcebd(0x472))[_0x4fcebd(0x45b)]({'enable':![]});}else{if(_0x2c285b[_0x4fcebd(0x147)]===_0x4fcebd(0x3f2))this['context'][_0x4fcebd(0x481)]=this[_0x4fcebd(0x2c4)](_0x11174f,this[_0x4fcebd(0x342)],{'x':_0x2c285b[_0x4fcebd(0x370)],'y':_0x2c285b[_0x4fcebd(0x45a)]}),this[_0x4fcebd(0x5a1)](this[_0x4fcebd(0x2b3)][_0x4fcebd(0x270)]*_0x11174f),this['pinchStartPoint']=void 0x0,this[_0x4fcebd(0x3ef)](),this[_0x4fcebd(0x2b3)][_0x4fcebd(0x398)]['onZoomEnd']&&this['context'][_0x4fcebd(0x398)][_0x4fcebd(0x4c5)](this[_0x4fcebd(0x2b3)]['scale']),window[_0x4fcebd(0x26c)](()=>this['hammer'][_0x4fcebd(0x3d5)](_0x4fcebd(0x472))[_0x4fcebd(0x45b)]({'enable':!![]}),0x64);else{const _0xb9155e=this['calculateRelativeScaledTranslate'](_0x11174f,this[_0x4fcebd(0x342)],{'x':_0x2c285b[_0x4fcebd(0x370)],'y':_0x2c285b[_0x4fcebd(0x45a)]});this[_0x4fcebd(0x5b8)](_0x11174f,_0xb9155e);}}},this[_0x112cfa(0x13e)]=_0x1aa51e=>{const _0x7f82e4=_0x112cfa,_0x28a6d9=this['seatToExtendedSeat'](_0x1aa51e[_0x7f82e4(0x56b)]);this['context'][_0x7f82e4(0x398)][_0x7f82e4(0x51d)]&&this['context'][_0x7f82e4(0x398)]['onSeatMouseEnter'](_0x28a6d9),this['context']['settings'][_0x7f82e4(0x4f1)]&&this[_0x7f82e4(0x2af)](_0x28a6d9),this[_0x7f82e4(0x2b3)][_0x7f82e4(0x39e)](_0x1aa51e[_0x7f82e4(0x56b)],_0x1aa51e[_0x7f82e4(0x55d)]),this['context'][_0x7f82e4(0x107)][_0x7f82e4(0x1a9)]['cursor']=_0x7f82e4(0x520),!this[_0x7f82e4(0x2b3)][_0x7f82e4(0x398)][_0x7f82e4(0x525)]?this['selectionLayer']['redraw']():this[_0x7f82e4(0x541)][_0x7f82e4(0x3ef)]();},this['handleDestSectionMouseEnter']=_0x525130=>{const _0x2bf82c=_0x112cfa;this['outlineLayer'][_0x2bf82c(0x19b)](),this[_0x2bf82c(0xf7)][_0x2bf82c(0x305)](),this['context'][_0x2bf82c(0x398)][_0x2bf82c(0x5f2)]&&this[_0x2bf82c(0x2b3)][_0x2bf82c(0x398)][_0x2bf82c(0x5f2)](_0x525130[_0x2bf82c(0x141)]),this[_0x2bf82c(0x2b3)]['element'][_0x2bf82c(0x1a9)][_0x2bf82c(0x3dc)]=_0x2bf82c(0x520),this[_0x2bf82c(0x3a1)][_0x2bf82c(0x3ef)]();},this[_0x112cfa(0x2c6)]=_0x970658=>{const _0x3fdb00=_0x112cfa;this['context'][_0x3fdb00(0x398)][_0x3fdb00(0x348)]&&this[_0x3fdb00(0x2b3)][_0x3fdb00(0x398)][_0x3fdb00(0x348)](),this[_0x3fdb00(0x2b3)][_0x3fdb00(0x39e)](void 0x0),this[_0x3fdb00(0x2b3)]['element'][_0x3fdb00(0x1a9)][_0x3fdb00(0x3dc)]=_0x3fdb00(0x60e),!this['context'][_0x3fdb00(0x398)]['switchToWebGL']?this['selectionLayer'][_0x3fdb00(0x3ef)]():this[_0x3fdb00(0x541)][_0x3fdb00(0x3ef)]();},this[_0x112cfa(0x5b9)]=_0x411e23=>{const _0x812cbb=_0x112cfa;this[_0x812cbb(0x2b3)][_0x812cbb(0x398)]['onSectorMouseLeave']&&this[_0x812cbb(0x2b3)][_0x812cbb(0x398)]['onSectorMouseLeave'](),this[_0x812cbb(0x2b3)][_0x812cbb(0x107)]['style'][_0x812cbb(0x3dc)]=_0x812cbb(0x60e),this[_0x812cbb(0x3a1)][_0x812cbb(0x3ef)]();},this['handleMouseMove']=_0x2d95d0=>{const _0x5cea24=_0x112cfa;_0x2d95d0[_0x5cea24(0x289)]();if(_0x2d95d0['buttons']||this[_0x5cea24(0xec)]||!_0x2d95d0[_0x5cea24(0x4e1)])return;let _0x4975ea;if(isGaOutline(_0x2d95d0[_0x5cea24(0x4e1)]))_0x4975ea=this[_0x5cea24(0x2bc)](_0x2d95d0[_0x5cea24(0x4e1)]);else isSectionOutline(_0x2d95d0[_0x5cea24(0x4e1)])&&(_0x4975ea=this['getSectionByOutline'](_0x2d95d0[_0x5cea24(0x4e1)]));const _0x4224ce=this[_0x5cea24(0x2b3)]['element'][_0x5cea24(0x27b)](),_0x1f2fa3={'x':_0x2d95d0[_0x5cea24(0x331)]-_0x4224ce[_0x5cea24(0x267)],'y':_0x2d95d0['clientY']-_0x4224ce[_0x5cea24(0x349)]},_0x153256=this[_0x5cea24(0x2b3)][_0x5cea24(0x5e0)](_0x1f2fa3,{'width':this[_0x5cea24(0x5fc)](),'height':this[_0x5cea24(0x226)]()});this[_0x5cea24(0x421)]({'type':_0x5cea24(0x1a3),'target':_0x2d95d0['target'],'seat':_0x153256,'section':_0x4975ea});},this[_0x112cfa(0x268)]=_0x336d48=>{const _0x3ffc79=_0x112cfa;if(_0x336d48[_0x3ffc79(0x4db)]||this[_0x3ffc79(0xec)])return;this[_0x3ffc79(0x421)]({'type':_0x3ffc79(0x1a3),'target':_0x336d48[_0x3ffc79(0x4e1)]});},this[_0x112cfa(0x4ff)]=_0x4b8554=>{const _0x375f45=_0x112cfa;if(this[_0x375f45(0xec)])return;this[_0x375f45(0x421)]({'type':_0x375f45(0x1a3),'target':this[_0x375f45(0x2b3)]['element']});},this[_0x112cfa(0x519)]=()=>{const _0x2ec42f=_0x112cfa;window[_0x2ec42f(0x16f)](this[_0x2ec42f(0x4da)]),this[_0x2ec42f(0x4da)]=window[_0x2ec42f(0x26c)](this[_0x2ec42f(0x515)],0xfa);},this[_0x112cfa(0x515)]=()=>{const _0x2adbb7=_0x112cfa,_0xfce790=this[_0x2adbb7(0x28a)],_0x5ed64b=this['height'],_0x40d2b8=getOffset(this[_0x2adbb7(0x2b3)][_0x2adbb7(0x107)]);this[_0x2adbb7(0x28a)]=this[_0x2adbb7(0x2b3)][_0x2adbb7(0x107)][_0x2adbb7(0x1d3)],this['height']=this[_0x2adbb7(0x2b3)]['settings'][_0x2adbb7(0x52c)]||window[_0x2adbb7(0x627)]-_0x40d2b8['top'],this[_0x2adbb7(0x2b3)][_0x2adbb7(0x107)][_0x2adbb7(0x1a9)][_0x2adbb7(0x52c)]=this[_0x2adbb7(0x52c)]+'px';const _0x1d64ed=_0xfce790!==this[_0x2adbb7(0x28a)]||_0x5ed64b!==this['height'];if(_0xfce790&&_0x5ed64b&&_0x1d64ed){const _0x407c81={'x':Math[_0x2adbb7(0x424)]((this[_0x2adbb7(0x28a)]-_0xfce790)/0x2*DPR3),'y':Math[_0x2adbb7(0x424)]((this[_0x2adbb7(0x52c)]-_0x5ed64b)/0x2*DPR3)};this[_0x2adbb7(0x2b3)][_0x2adbb7(0x481)]=addPoints(this['context'][_0x2adbb7(0x481)],_0x407c81);}if(_0x1d64ed){if(this[_0x2adbb7(0x541)])this[_0x2adbb7(0x541)][_0x2adbb7(0x515)]();if(this[_0x2adbb7(0x3a1)])this[_0x2adbb7(0x3a1)][_0x2adbb7(0x515)]();if(this[_0x2adbb7(0xf7)])this['outlineLayer'][_0x2adbb7(0x515)]();this[_0x2adbb7(0x189)]&&(this['minimapLayer'][_0x2adbb7(0x515)](),this[_0x2adbb7(0x54b)](this[_0x2adbb7(0x541)][_0x2adbb7(0x617)]));}},this[_0x112cfa(0x41c)]=(_0x5e6db2,_0x3e99d0)=>{const _0x12b351=_0x112cfa,_0x8c5278=this['context'][_0x12b351(0x4f0)]?this[_0x12b351(0x5f5)](_0x5e6db2):_0x5e6db2;this[_0x12b351(0x5b8)](0x1,_0x8c5278);if(_0x3e99d0){const _0x5ac850=addPoints(this[_0x12b351(0x2b3)][_0x12b351(0x481)],_0x8c5278),_0x5b25da=this['calculateLimitedTranslate'](_0x5ac850);_0x5ac850['y']!==_0x5b25da['y']||_0x5ac850['x']!==_0x5b25da['x']?this[_0x12b351(0x556)](_0x8c5278,_0x5ac850,_0x5b25da):(this[_0x12b351(0x2b3)][_0x12b351(0x481)]=_0x5ac850,this[_0x12b351(0x3ef)]());}},this[_0x112cfa(0x358)]=_0x1cd461=>{const _0x2c2989=_0x112cfa;return this[_0x2c2989(0x2b3)][_0x2c2989(0x358)](_0x1cd461);},_0x52db16[_0x112cfa(0x1a9)][_0x112cfa(0x557)]=_0x4d2007[_0x112cfa(0x1ae)][_0x112cfa(0x5a0)],_0x52db16['style'][_0x112cfa(0x104)]=_0x112cfa(0x303),_0x52db16[_0x112cfa(0x1a9)][_0x112cfa(0x514)]=_0x112cfa(0x333),this['context']=new Context(_0x52db16,_0x4d2007,()=>this['selectionLayer']['redraw']()),this[_0x112cfa(0x515)](),this['stageLayer']=this['getStageLayer'](),this[_0x112cfa(0x3a1)]=new SelectionLayer(this[_0x112cfa(0x2b3)]),this[_0x112cfa(0x173)]=new VisibilityManager(this['context']),this[_0x112cfa(0x2e3)]=this['createHammer'](_0x52db16),this[_0x112cfa(0x2af)]=debounce(_0x4d2007[_0x112cfa(0x5c3)]||0x0,this[_0x112cfa(0x2af)]),this['service']=this[_0x112cfa(0x190)](_0xae0cfd),this[_0x112cfa(0x3f1)]=_0x4d2007[_0x112cfa(0x3f1)]||paddingSetting,this[_0x112cfa(0x34c)]=_0x4d2007[_0x112cfa(0x34c)]||![],this[_0x112cfa(0x525)]=_0x4d2007['switchToWebGL']||![],this[_0x112cfa(0x4a1)]=new TransformAnimator({'cachedDraw':(_0x4bff2f,_0x9810a4)=>this[_0x112cfa(0x5b8)](_0x4bff2f,_0x9810a4),'commitTransform':({toScale:_0x1f1ed7,toTranslate:_0x26c0c5,toRotationZ:_0x15b302,toTiltX:_0x3b3f26,toPerspectiveZ:_0x427d0f})=>{const _0x533186=_0x112cfa;if(_0x1f1ed7!==void 0x0)this[_0x533186(0x5a1)](_0x1f1ed7);if(_0x26c0c5)this[_0x533186(0x2b3)]['translate']=_0x26c0c5;if(_0x15b302!==void 0x0)this[_0x533186(0x2b3)]['rotationZ']=_0x15b302;if(_0x3b3f26!==void 0x0)this['context'][_0x533186(0x1fb)]=_0x3b3f26;if(_0x427d0f!==void 0x0)this[_0x533186(0x2b3)]['perspectiveZ']=_0x427d0f;},'redraw':()=>this[_0x112cfa(0x3ef)](),'onStart':()=>this[_0x112cfa(0x5ad)][_0x112cfa(0x469)](_0x112cfa(0x2dd)),'onEnd':()=>this['service'][_0x112cfa(0x469)](_0x112cfa(0x5ba)),'onZoomEnd':(_0x2e1017,_0x200e8a)=>{const _0x1d2074=_0x112cfa;var _0x5725fd,_0xd6e51d;return(_0xd6e51d=(_0x5725fd=this[_0x1d2074(0x2b3)][_0x1d2074(0x398)])['onZoomEnd'])==null?void 0x0:_0xd6e51d[_0x1d2074(0x21a)](_0x5725fd,_0x2e1017,_0x200e8a);},'onPendingRotation':_0x349d96=>this['animateRotation'](_0x349d96),'is3DEnabled':()=>this[_0x112cfa(0x2b3)][_0x112cfa(0x4f0)],'applyIntermediate3D':({rotationZ:_0x1e7617,tiltX:_0x1f6695,perspectiveZ:_0x47007b})=>{const _0x792ab9=_0x112cfa;if(_0x1e7617!==void 0x0)this[_0x792ab9(0x2b3)]['rotationZ']=_0x1e7617;if(_0x1f6695!==void 0x0)this[_0x792ab9(0x2b3)][_0x792ab9(0x1fb)]=_0x1f6695;if(_0x47007b!==void 0x0)this[_0x792ab9(0x2b3)][_0x792ab9(0x1d5)]=_0x47007b;this['outlineLayer']&&_0x792ab9(0x490)in this['outlineLayer']&&this[_0x792ab9(0xf7)][_0x792ab9(0x490)]();}}),this[_0x112cfa(0x116)]=new RotationAnimation();}[_0x518421(0x4fe)](){const _0x1bad71=_0x518421;if(!this[_0x1bad71(0x189)])return;this[_0x1bad71(0x189)][_0x1bad71(0x365)]();}async[_0x518421(0x54b)](_0x2284c6){const _0xc0867a=_0x518421;if(!this['minimapLayer'])return;try{const _0x19aeec=await this['stageLayer'][_0xc0867a(0x2b1)]();if(_0x19aeec){const _0x129111={'scale':this['context'][_0xc0867a(0x270)],'translate':{...this[_0xc0867a(0x2b3)][_0xc0867a(0x481)]}};this[_0xc0867a(0x189)][_0xc0867a(0x3b2)](_0x19aeec,_0x129111);}else _0x2284c6&&this['minimapLayer'][_0xc0867a(0x302)](_0x2284c6);}catch(_0x4b2edd){if(_0x2284c6)this[_0xc0867a(0x189)][_0xc0867a(0x302)](_0x2284c6);}finally{this['minimapLayer'][_0xc0867a(0x365)]();}}['destroy'](){const _0x3dfce7=_0x518421;this[_0x3dfce7(0x603)]=![],this[_0x3dfce7(0x4a1)][_0x3dfce7(0x470)](),window[_0x3dfce7(0x16f)](this[_0x3dfce7(0x4da)]),this[_0x3dfce7(0x43c)](),this[_0x3dfce7(0x2b3)]['element'][_0x3dfce7(0x4c1)](_0x3dfce7(0x245),this[_0x3dfce7(0x275)]),this['context'][_0x3dfce7(0x107)][_0x3dfce7(0x4c1)]('mouseleave',this[_0x3dfce7(0x4ff)]),window[_0x3dfce7(0x4c1)](_0x3dfce7(0x245),this[_0x3dfce7(0x268)]),window['removeEventListener']('resize',this[_0x3dfce7(0x519)]),window[_0x3dfce7(0x4c1)](_0x3dfce7(0x39d),this[_0x3dfce7(0x504)]),this[_0x3dfce7(0x2e3)][_0x3dfce7(0x529)](),this['stageLayer'][_0x3dfce7(0x529)](),this[_0x3dfce7(0x3a1)]['destroy'](),this[_0x3dfce7(0x2b3)]['destroy'](),this['outlineLayer']&&this['outlineLayer']['destroy'](),this[_0x3dfce7(0x189)]&&this[_0x3dfce7(0x189)][_0x3dfce7(0x529)]();}[_0x518421(0x5fc)](){return this['width'];}[_0x518421(0x226)](){const _0x4cdc9e=_0x518421;return this[_0x4cdc9e(0x52c)];}[_0x518421(0x583)](){return VERSION;}[_0x518421(0x395)](_0x3ef9b2){return this['changeMachineContext']({'mode':_0x3ef9b2}),!![];}['getMode'](){const _0x527030=_0x518421;return this[_0x527030(0x5ad)]['context'][_0x527030(0x3a0)];}['setHeight'](_0x3725b6){const _0x3c59=_0x518421;this['context'][_0x3c59(0x398)][_0x3c59(0x52c)]=_0x3725b6,this[_0x3c59(0x515)]();}[_0x518421(0x120)](_0x4521e6){const _0x479273=_0x518421;this[_0x479273(0x2b3)][_0x479273(0x398)][_0x479273(0x58b)]=_0x4521e6;}[_0x518421(0x535)](_0xde27fc){const _0x4b9c24=_0x518421;if(!_0xde27fc['length'])return[];let _0x1870c6;if(typeof _0xde27fc[0x0]===_0x4b9c24(0x494))_0x1870c6=_0xde27fc;else{if(typeof _0xde27fc[0x0]===_0x4b9c24(0x3ee))_0x1870c6=this[_0x4b9c24(0x427)](_0xde27fc);else{if(typeof _0xde27fc[0x0]===_0x4b9c24(0x371))_0x1870c6=_0xde27fc[_0x4b9c24(0x52b)](_0x2731ed=>_0x2731ed['id']);else throw new Error(_0x4b9c24(0x2d2));}}return _0x1870c6;}['getMarkedSeatsIds'](){const _0x409050=_0x518421;return this[_0x409050(0x2b3)][_0x409050(0x339)][_0x409050(0x10b)](_0x56fc01=>_0x56fc01[_0x409050(0x25e)])['map'](_0x3bd1fb=>_0x3bd1fb['id']);}['setSeatsCategory'](_0x3054e5,_0x5a268f,_0xde46e2){const _0x2fd0be=_0x518421;if(!_0x3054e5[_0x2fd0be(0x287)])return;const _0x510cd7=this[_0x2fd0be(0x535)](_0x3054e5);_0x3054e5[0x0]&&(_0x510cd7['forEach'](_0x4f0608=>{const _0x15f7c3=_0x2fd0be,_0x553b3a=this[_0x15f7c3(0x2b3)][_0x15f7c3(0xea)][_0x4f0608];_0x553b3a&&(_0x553b3a['special']?_0x553b3a[_0x15f7c3(0x20f)][_0x15f7c3(0x616)]=_0x5a268f:_0x553b3a[_0x15f7c3(0x20f)]={'category':_0x5a268f});}),this['context'][_0x2fd0be(0x5b1)][_0x5a268f]=_0xde46e2),this['redraw']();}['setGaCategory'](_0x391ce8,_0x371660){const _0x1d2c43=_0x518421;_0x371660?this[_0x1d2c43(0x2b3)][_0x1d2c43(0x344)][_0x391ce8]=_0x371660:delete this[_0x1d2c43(0x2b3)]['gaCategories'][_0x391ce8],this[_0x1d2c43(0x3ef)]();}[_0x518421(0x25c)](){const _0x4b0173=_0x518421;for(const _0x2aae23 of this[_0x4b0173(0x2b3)][_0x4b0173(0x339)]){if(_0x2aae23[_0x4b0173(0x20f)])delete _0x2aae23[_0x4b0173(0x20f)]['category'];}this[_0x4b0173(0x2b3)]['gaCategories']={},this[_0x4b0173(0x2b3)]['categoriesColor']={},this[_0x4b0173(0x3ef)]();}[_0x518421(0x538)](_0x3d04f0){const _0x3f1b57=_0x518421;var _0x2ee1f7;if(this['context']['categoriesColor'][_0x3d04f0])return this[_0x3f1b57(0x2b3)][_0x3f1b57(0x5b1)][_0x3d04f0];const _0x2edf86=(_0x2ee1f7=this[_0x3f1b57(0x2b3)][_0x3f1b57(0x398)][_0x3f1b57(0x1ae)])==null?void 0x0:_0x2ee1f7['colorCategories'];if(!(_0x2edf86==null?void 0x0:_0x2edf86['length']))return;return _0x2edf86[_0x3d04f0%_0x2edf86[_0x3f1b57(0x287)]];}[_0x518421(0x15a)](_0x414687){const _0xfb417d=_0x518421,_0x4942c5=new _0x1ec2df(_0x414687);return _0x4942c5[_0xfb417d(0x3d5)](_0xfb417d(0x472))[_0xfb417d(0x45b)]({'direction':_0x1ec2df[_0xfb417d(0x1bf)]}),_0x4942c5[_0xfb417d(0x3d5)](_0xfb417d(0x354))[_0xfb417d(0x45b)]({'enable':!![]}),_0x4942c5['get'](_0xfb417d(0x4a7))[_0xfb417d(0x45b)]({'enable':![]}),_0x4942c5[_0xfb417d(0x3d5)](_0xfb417d(0x3fa))[_0xfb417d(0x45b)]({'enable':![]}),_0x4942c5[_0xfb417d(0x3d5)](_0xfb417d(0x4fb))[_0xfb417d(0x45b)]({'threshold':0x4}),_0x4942c5;}[_0x518421(0x1c7)](_0xe24f94){const _0x2f0de2=_0x518421;this['service'][_0x2f0de2(0x469)]({'type':_0x2f0de2(0x124),..._0xe24f94});}['createMachineService'](_0x3bb3d4){let _0x22bacd;return interpret(_0x3bb3d4,_0x4c9540=>{const _0x2c5193=_0x425e;if(_0x4c9540[_0x2c5193(0x2b3)][_0x2c5193(0x3a3)]===_0x22bacd)return;_0x22bacd=_0x4c9540['context']['events'],_0x4c9540['context']['events'][_0x2c5193(0x356)](_0x1ac5fd=>{const _0x50bc21=_0x2c5193;switch(_0x1ac5fd[_0x50bc21(0x147)]){case _0x50bc21(0x5af):this[_0x50bc21(0x623)](_0x1ac5fd);break;case _0x50bc21(0x143):this['handleDestPanZoom'](_0x1ac5fd);break;case _0x50bc21(0x3b1):this[_0x50bc21(0x572)](_0x1ac5fd);break;case _0x50bc21(0x201):this[_0x50bc21(0x17d)](_0x1ac5fd);break;case _0x50bc21(0x48f):this[_0x50bc21(0x28f)](_0x1ac5fd);break;case _0x50bc21(0xf1):this[_0x50bc21(0x13e)](_0x1ac5fd);break;case _0x50bc21(0x180):this['handleDestSectionMouseEnter'](_0x1ac5fd);break;case _0x50bc21(0x513):this[_0x50bc21(0x2c6)](_0x1ac5fd);break;case _0x50bc21(0x467):this[_0x50bc21(0x5b9)](_0x1ac5fd);break;case _0x50bc21(0x321):this[_0x50bc21(0x144)](_0x1ac5fd);break;case _0x50bc21(0x491):this[_0x50bc21(0x61f)](_0x1ac5fd);break;}});});}['setContextScale'](_0x1f8f21){const _0x1891be=_0x518421,_0x566e9e=this[_0x1891be(0x173)][_0x1891be(0x341)](this[_0x1891be(0x2b3)][_0x1891be(0x270)]),_0x223509=this[_0x1891be(0x173)]['isOutlineSelectable'](_0x1f8f21);this[_0x1891be(0x2b3)][_0x1891be(0x270)]=_0x1f8f21,this['context'][_0x1891be(0x108)]=this['context'][_0x1891be(0x270)]<(this['context'][_0x1891be(0x398)][_0x1891be(0x2e0)]||0x0)*DPR3,this[_0x1891be(0x2b3)][_0x1891be(0x1ba)]=this['visibilityManager'][_0x1891be(0x312)](_0x1f8f21),_0x566e9e!==_0x223509&&this[_0x1891be(0xf7)]&&this[_0x1891be(0xf7)][_0x1891be(0x489)](_0x223509),this[_0x1891be(0x1c7)]({'scale':_0x1f8f21/DPR3,'isEagleView':this[_0x1891be(0x2b3)][_0x1891be(0x108)],'visibility':this[_0x1891be(0x2b3)][_0x1891be(0x1ba)],'enable3DView':this[_0x1891be(0x2b3)][_0x1891be(0x4f0)],'rotationZ':this[_0x1891be(0x2b3)][_0x1891be(0x183)],'perspectiveZ':this[_0x1891be(0x2b3)][_0x1891be(0x1d5)],'tiltX':this['context'][_0x1891be(0x1fb)],'getWidth':()=>this[_0x1891be(0x5fc)](),'getHeight':()=>this[_0x1891be(0x226)]()});}['getPrices'](){const _0x509a8f=_0x518421;if(!this[_0x509a8f(0x2b3)]['pricesById'])return[];return sortPrices(Object[_0x509a8f(0x17f)](this['context']['pricesById']));}['initCart'](_0x1a0802){const _0x750e37=_0x518421;if(!this[_0x750e37(0x603)])return;this[_0x750e37(0x2b3)][_0x750e37(0x3c3)](_0x1a0802),this['context']['settings'][_0x750e37(0x47b)]&&this[_0x750e37(0x2b3)][_0x750e37(0x398)]['onCartChange'](this[_0x750e37(0x2b3)][_0x750e37(0x57e)]()),this[_0x750e37(0x4fe)]();}[_0x518421(0x3f4)](){const _0x467813=_0x518421;this[_0x467813(0x2b3)][_0x467813(0x3f4)](),this['stageLayer']instanceof WebGLCanvasLayer&&this['stageLayer'][_0x467813(0x3b5)](0x12c),this[_0x467813(0x4fe)]();}[_0x518421(0x57e)](){const _0x2149d2=_0x518421;return this[_0x2149d2(0x2b3)][_0x2149d2(0x57e)]();}[_0x518421(0x28b)](){const _0x375085=_0x518421;window[_0x375085(0x3aa)](_0x375085(0x39d),this['handleTouchStart']),window['addEventListener'](_0x375085(0x555),this[_0x375085(0x519)]),this[_0x375085(0x2b3)][_0x375085(0x107)]['addEventListener'](_0x375085(0x245),this[_0x375085(0x275)]),this['context'][_0x375085(0x107)]['addEventListener'](_0x375085(0x397),this[_0x375085(0x4ff)]),window[_0x375085(0x3aa)](_0x375085(0x245),this[_0x375085(0x268)]);const _0x1ad112=_0x3a4f2a=>{const _0x4b0a06=_0x375085,_0x42ac1b=this[_0x4b0a06(0x2b3)][_0x4b0a06(0x107)][_0x4b0a06(0x27b)]();return{'x':_0x3a4f2a[_0x4b0a06(0x3be)]['x']-_0x42ac1b[_0x4b0a06(0x267)],'y':_0x3a4f2a['center']['y']-_0x42ac1b[_0x4b0a06(0x349)]};},_0x4e08ee=_0x354db0=>{const _0x4c2502=_0x375085,_0x2ca991=_0x1ad112(_0x354db0);return{'x':_0x2ca991['x']-_0x354db0[_0x4c2502(0x370)],'y':_0x2ca991['y']-_0x354db0[_0x4c2502(0x45a)]};};this[_0x375085(0x2e3)]['on'](_0x375085(0x4c0),_0x861ac8=>{const _0x12f385=_0x375085;this['emitSrcEvent']({'type':_0x12f385(0x36f),'delta':{'x':_0x861ac8['deltaX'],'y':_0x861ac8[_0x12f385(0x45a)]},'origin':_0x4e08ee(_0x861ac8),'shiftKey':_0x861ac8[_0x12f385(0x1fc)]['shiftKey'],'altKey':_0x861ac8[_0x12f385(0x1fc)][_0x12f385(0x114)]});}),this[_0x375085(0x2e3)]['on'](_0x375085(0x3e4),_0x5ed0ac=>{const _0x25fc61=_0x375085;this[_0x25fc61(0x421)]({'type':_0x25fc61(0x4d8),'delta':{'x':_0x5ed0ac[_0x25fc61(0x370)],'y':_0x5ed0ac[_0x25fc61(0x45a)]},'origin':_0x4e08ee(_0x5ed0ac),'shiftKey':_0x5ed0ac['srcEvent']['shiftKey'],'altKey':_0x5ed0ac[_0x25fc61(0x1fc)][_0x25fc61(0x114)]});}),this['hammer']['on'](_0x375085(0x2da),_0x5ec82d=>{const _0x49bd3f=_0x375085;this[_0x49bd3f(0x421)]({'type':_0x49bd3f(0x29c),'delta':{'x':_0x5ec82d[_0x49bd3f(0x370)],'y':_0x5ec82d[_0x49bd3f(0x45a)]},'origin':_0x4e08ee(_0x5ec82d),'shiftKey':_0x5ec82d[_0x49bd3f(0x1fc)][_0x49bd3f(0x5d2)],'altKey':_0x5ec82d[_0x49bd3f(0x1fc)][_0x49bd3f(0x114)]});}),this[_0x375085(0x2e3)]['on'](_0x375085(0x4fb),_0x1c7997=>{const _0x1cb995=_0x375085;var _0x2a22ce;const _0x51507c=_0x1ad112(_0x1c7997),_0x1506df=this[_0x1cb995(0x2b3)][_0x1cb995(0x5e0)](_0x51507c,{'width':this[_0x1cb995(0x5fc)](),'height':this[_0x1cb995(0x226)]()}),_0xa88a66=(_0x2a22ce=_0x1c7997[_0x1cb995(0x4e1)][_0x1cb995(0x488)])==null?void 0x0:_0x2a22ce[_0x1cb995(0x216)](_0x1cb995(0x2e1)),_0x46dd8d=!_0x1506df&&!_0xa88a66;if(this['disableZoomToEmptySpace']&&_0x46dd8d)return;this[_0x1cb995(0x421)]({'type':_0x1cb995(0x322),'target':_0x1c7997[_0x1cb995(0x4e1)],'point':_0x51507c,'section':this[_0x1cb995(0x2bc)](_0x1c7997[_0x1cb995(0x4e1)]),'seat':_0x1506df,'shiftKey':_0x1c7997['srcEvent'][_0x1cb995(0x5d2)],'altKey':_0x1c7997['srcEvent'][_0x1cb995(0x114)]});}),this['hammer']['on'](_0x375085(0x440),this[_0x375085(0x21d)]);}async[_0x518421(0x5f4)](_0xb9beb6){const _0x18c32a=_0x518421;var _0x2b45f3,_0x11ea79,_0x375d2c,_0x310dee,_0x41a08c,_0x4aa328,_0x448ed9,_0x2bbfb8,_0x64a947,_0x5937f4,_0x3ac3e9,_0x119d16;const _0x25ce3f=(_0x2b45f3=_0xb9beb6[_0x18c32a(0x557)])==null?void 0x0:_0x2b45f3[_0x18c32a(0x2e1)],_0x4da3df=(_0x11ea79=_0xb9beb6[_0x18c32a(0x557)])==null?void 0x0:_0x11ea79[_0x18c32a(0x4cc)],_0x54eefd=(_0x375d2c=_0xb9beb6[_0x18c32a(0x557)])==null?void 0x0:_0x375d2c[_0x18c32a(0x316)],_0x176f7b=(_0x310dee=_0xb9beb6[_0x18c32a(0x557)])==null?void 0x0:_0x310dee[_0x18c32a(0x21e)];this[_0x18c32a(0x525)]&&!_0x54eefd&&(this[_0x18c32a(0x541)][_0x18c32a(0x529)](),this[_0x18c32a(0x525)]=![],this[_0x18c32a(0x2b3)][_0x18c32a(0x398)][_0x18c32a(0x525)]=![],this[_0x18c32a(0x541)]=this['getStageLayer'](),console['warn'](_0x18c32a(0x113)));this[_0x18c32a(0x2b3)][_0x18c32a(0x339)]=getSeatsWithUpdatedCoords(_0xb9beb6),this[_0x18c32a(0x2b3)]['rowsById']=arrayToObjectById(_0xb9beb6['rows']),this[_0x18c32a(0x2b3)]['sectionsById']=arrayToObjectById(_0xb9beb6[_0x18c32a(0x36c)]);const {scale:_0x3aa574,translate:_0x139ec3}=this[_0x18c32a(0x26e)](_0xb9beb6[_0x18c32a(0x557)]);this[_0x18c32a(0x5a1)](_0x3aa574),this[_0x18c32a(0x2b3)][_0x18c32a(0x481)]=_0x139ec3,this['zoomToFitScale']=_0x3aa574;if(!((_0x41a08c=_0xb9beb6[_0x18c32a(0x557)])==null?void 0x0:_0x41a08c['viewBox']))throw new Error(_0x18c32a(0x506));this[_0x18c32a(0x2b3)][_0x18c32a(0x1e2)]={'svgString':_0x25ce3f,'viewBox':_0xb9beb6['background']['viewBox'],'svgUrl':_0x4da3df,'pngBackground':_0x54eefd,'outlineSvg':_0x176f7b},this[_0x18c32a(0xf7)]=new OutlineLayer(this[_0x18c32a(0x2b3)]),this['selectionLayer'][_0x18c32a(0x59b)]();((_0x4aa328=this[_0x18c32a(0x2b3)][_0x18c32a(0x398)][_0x18c32a(0x4a8)])==null?void 0x0:_0x4aa328[_0x18c32a(0x4a3)])&&(!this['minimapLayer']&&(this[_0x18c32a(0x189)]=new MinimapLayer(this[_0x18c32a(0x2b3)],{'panToCenter':(_0x2c8045,_0x441f17)=>{const _0x1e6678=_0x18c32a,_0x247509=this['context']['scale'],_0x701c62={'x':_0x2c8045['x']-this['getWidth']()*DPR3/0x2/_0x247509,'y':_0x2c8045['y']-this[_0x1e6678(0x226)]()*DPR3/0x2/_0x247509};this[_0x1e6678(0x1cf)](_0x247509,_0x701c62,_0x441f17);}})),this['minimapLayer']['updateSize'](),this[_0x18c32a(0x189)][_0x18c32a(0x365)]());let _0x2410ea=0x0;const _0x1bccbb=async(_0x47a757,_0x8c84ca=0x0,_0x3e7d3c=![])=>{const _0x2ac66b=_0x18c32a,_0x44f815=this['switchToWebGL']?loadImageFromUrl(_0x47a757,_0x2ac66b(0x499)):loadImageFromUrl(_0x47a757);return _0x44f815['then'](_0x5e4662=>{const _0x3c22a8=_0x2ac66b;if(_0x8c84ca<_0x2410ea)return;setImageSizeAndCenter(_0x5e4662,_0xb9beb6[_0x3c22a8(0x557)][_0x3c22a8(0x172)]),this['stageLayer'][_0x3c22a8(0x617)]=_0x5e4662,_0x2410ea=_0x8c84ca,this[_0x3c22a8(0x3ef)](),_0x3e7d3c&&this[_0x3c22a8(0x54b)](_0x5e4662);}),_0x44f815;};try{this[_0x18c32a(0x2b3)][_0x18c32a(0x398)][_0x18c32a(0x3d3)]&&_0x25ce3f?(this['stageLayer'][_0x18c32a(0x617)]=await createSvgImageElement(_0x25ce3f),((_0x448ed9=_0xb9beb6['background'])==null?void 0x0:_0x448ed9[_0x18c32a(0x172)])&&setImageSizeAndCenter(this[_0x18c32a(0x541)][_0x18c32a(0x617)],_0xb9beb6[_0x18c32a(0x557)][_0x18c32a(0x172)]),this[_0x18c32a(0x54b)](this[_0x18c32a(0x541)][_0x18c32a(0x617)])):(((_0x2bbfb8=_0x54eefd==null?void 0x0:_0x54eefd[_0x18c32a(0x1af)])==null?void 0x0:_0x2bbfb8['data'])&&_0x1bccbb(_0x54eefd[_0x18c32a(0x1af)][_0x18c32a(0x3c7)],0x1,!![]),((_0x64a947=_0x54eefd==null?void 0x0:_0x54eefd[_0x18c32a(0x605)])==null?void 0x0:_0x64a947[_0x18c32a(0x233)])&&_0x1bccbb(_0x54eefd[_0x18c32a(0x605)]['path'],0x2),((_0x5937f4=_0x54eefd==null?void 0x0:_0x54eefd[_0x18c32a(0x402)])==null?void 0x0:_0x5937f4['path'])&&_0x1bccbb(_0x54eefd[_0x18c32a(0x402)][_0x18c32a(0x233)],0x3),!_0x54eefd&&_0x25ce3f&&(this['stageLayer'][_0x18c32a(0x617)]=await createSvgImageElement(_0x25ce3f),((_0x3ac3e9=_0xb9beb6['background'])==null?void 0x0:_0x3ac3e9[_0x18c32a(0x172)])&&setImageSizeAndCenter(this[_0x18c32a(0x541)][_0x18c32a(0x617)],_0xb9beb6[_0x18c32a(0x557)][_0x18c32a(0x172)])),this[_0x18c32a(0x54b)](this[_0x18c32a(0x541)][_0x18c32a(0x617)]));}catch(_0x4b6194){console[_0x18c32a(0x452)](_0x18c32a(0x501),_0x4b6194),_0x25ce3f&&(this[_0x18c32a(0x541)][_0x18c32a(0x617)]=await createSvgImageElement(_0x25ce3f),((_0x119d16=_0xb9beb6['background'])==null?void 0x0:_0x119d16[_0x18c32a(0x172)])&&setImageSizeAndCenter(this[_0x18c32a(0x541)][_0x18c32a(0x617)],_0xb9beb6[_0x18c32a(0x557)][_0x18c32a(0x172)])),this[_0x18c32a(0x3ef)](),this[_0x18c32a(0x54b)](this['stageLayer']['backgroundElement']);}this[_0x18c32a(0x2b3)][_0x18c32a(0x398)]['lockedSeatsFilter']&&this[_0x18c32a(0x485)](this[_0x18c32a(0x2b3)][_0x18c32a(0x398)][_0x18c32a(0x579)]),this[_0x18c32a(0x3ef)](),this[_0x18c32a(0x28b)](),this[_0x18c32a(0x2b3)]['settings'][_0x18c32a(0x323)]&&this[_0x18c32a(0x2b3)][_0x18c32a(0x398)][_0x18c32a(0x323)](),this[_0x18c32a(0x2b3)]['settings']['highlightAllOutlines']&&this[_0x18c32a(0xf7)][_0x18c32a(0x200)]();}[_0x518421(0x30f)](_0x201b9d){const _0x50477d=_0x518421,_0x1389f1=_0x201b9d||this[_0x50477d(0x2b3)][_0x50477d(0x398)][_0x50477d(0x3c9)];if(!Array[_0x50477d(0x44d)](_0x1389f1)||_0x1389f1[_0x50477d(0x287)]===0x0)return;const _0x306754={...this['context']['getPricesDTO']()};if(!Object[_0x50477d(0x31b)](_0x306754)[_0x50477d(0x287)])return;const _0x320eda=Object[_0x50477d(0x17f)](_0x1389f1[_0x50477d(0x563)]((_0x41bc18,_0x23ea15)=>{const _0x451c0a=_0x50477d;if(_0x23ea15[_0x451c0a(0x19e)]in _0x41bc18)return _0x41bc18;return _0x41bc18[_0x23ea15[_0x451c0a(0x19e)]]={'id':_0x23ea15[_0x451c0a(0x19e)],'name':_0x23ea15[_0x451c0a(0x4eb)][_0x451c0a(0x40f)]()},_0x41bc18;},{}));if(!_0x320eda[_0x50477d(0x287)])return;const _0x5e591d=[],_0xdd10a0=[],_0x181235=_0x1389f1[_0x50477d(0x52b)](_0x217e3c=>{const _0x1998aa=_0x50477d,_0x5e4c7c=_0x217e3c['id']!==void 0x0?this['context'][_0x1998aa(0xea)][_0x217e3c['id']]:this[_0x1998aa(0x2b3)][_0x1998aa(0xef)](_0x217e3c[_0x1998aa(0x329)]);if(!_0x5e4c7c){console[_0x1998aa(0x495)]('Missing\x20seat:\x20'+(_0x217e3c['id']!==void 0x0?_0x1998aa(0x3a8)+_0x217e3c['id']:_0x1998aa(0x336)+_0x217e3c[_0x1998aa(0x329)])+_0x1998aa(0x187));if(_0x217e3c['id']!==void 0x0)_0xdd10a0[_0x1998aa(0x1be)](_0x217e3c['id']);else _0x5e591d[_0x1998aa(0x1be)](_0x217e3c[_0x1998aa(0x329)]);return;}return[_0x5e4c7c['id'],_0x217e3c[_0x1998aa(0x19e)]];})['filter'](Boolean);if(_0x5e591d['length']>0x0)this[_0x50477d(0x2b3)]['seatsKeysMissedOnPriceSet']=_0x5e591d;if(_0xdd10a0[_0x50477d(0x287)]>0x0)this['context'][_0x50477d(0x615)]=_0xdd10a0;if(!_0x181235[_0x50477d(0x287)])return;_0x306754[_0x50477d(0x254)]=_0x320eda,_0x306754[_0x50477d(0x339)]=_0x181235,this[_0x50477d(0x460)](_0x306754);}[_0x518421(0x460)](_0x15528a){const _0x5458b1=_0x518421;this['context'][_0x5458b1(0x5a4)]=convertPricesToColoredById(_0x15528a[_0x5458b1(0x254)],this[_0x5458b1(0x2b3)][_0x5458b1(0x398)][_0x5458b1(0x1ae)][_0x5458b1(0x4ea)]),this['context']['seats']=getSeatsWithPrices(this[_0x5458b1(0x2b3)][_0x5458b1(0x339)],_0x15528a,this[_0x5458b1(0x2b3)][_0x5458b1(0x5a4)]);const _0x53741c=getSectorsWithPrices(this[_0x5458b1(0x140)](),_0x15528a,this[_0x5458b1(0x2b3)][_0x5458b1(0x5a4)]);this['context'][_0x5458b1(0xfc)]=arrayToObjectById(_0x53741c),this[_0x5458b1(0x2b3)][_0x5458b1(0x398)][_0x5458b1(0x579)]&&this['updateSeatLocks'](this[_0x5458b1(0x2b3)][_0x5458b1(0x398)][_0x5458b1(0x579)]),this[_0x5458b1(0xf7)]&&(this['outlineLayer']['checkBackgroundOutlines']()?this[_0x5458b1(0xf7)]['setBackgroundAsOutline']():this['outlineLayer'][_0x5458b1(0x21b)]());}[_0x518421(0x24d)](_0x2ed13e){const _0x1d8869=_0x518421;this['context'][_0x1d8869(0x24d)](_0x2ed13e);}[_0x518421(0xf9)](_0x3c18e1){const _0x1dbe1f=_0x518421;this[_0x1dbe1f(0x2b3)][_0x1dbe1f(0xf9)](_0x3c18e1);}[_0x518421(0x1f9)](_0x48670b){const _0x51e154=_0x518421;this[_0x51e154(0x2b3)][_0x51e154(0x1f9)](_0x48670b),this[_0x51e154(0x541)]instanceof WebGLCanvasLayer&&this[_0x51e154(0x541)]['runOverlayPulse'](0x12c),this[_0x51e154(0x4fe)]();}[_0x518421(0x5e9)](_0x385850){const _0x4a9557=_0x518421,_0x1210e5=SanitizeManager[_0x4a9557(0x5bb)](_0x385850);this['context']['removeSeatsFromCartByIds'](_0x1210e5),this[_0x4a9557(0x541)][_0x4a9557(0x3ef)](),this[_0x4a9557(0x541)]instanceof WebGLCanvasLayer&&this[_0x4a9557(0x541)][_0x4a9557(0x3b5)](0x12c),this[_0x4a9557(0x4fe)]();}[_0x518421(0x5d1)](_0x203c56){const _0x57d60a=_0x518421;this[_0x57d60a(0x5e9)](this[_0x57d60a(0x427)](_0x203c56));}[_0x518421(0x5c2)](_0xddbca2,_0x5d6b5d){const _0x377c3d=_0x518421;var _0x2f6913;const _0x516494=SanitizeManager['sanitizeIds'](_0xddbca2),_0x46bd8f=(_0x2f6913=_0x5d6b5d==null?void 0x0:_0x5d6b5d['resetAll'])!=null?_0x2f6913:!![],_0x1ead8f=this[_0x377c3d(0x2b3)][_0x377c3d(0x57e)](),_0x3bb793=this['context'][_0x377c3d(0x4dd)]['seats'],_0x4c53c6=this[_0x377c3d(0x2b3)][_0x377c3d(0x5a4)]&&Object[_0x377c3d(0x31b)](this['context'][_0x377c3d(0x5a4)])['length']>0x0;this['updateSeatLocks'](_0x24160f=>{const _0x1d7360=_0x377c3d;if(_0x516494[_0x1d7360(0x4bd)](_0x24160f['id']))return!![];if(_0x46bd8f&&!_0x4c53c6)return![];if(_0x46bd8f&&this[_0x1d7360(0x2b3)]['seatsById'][_0x24160f['id']][_0x1d7360(0x19e)])return![];return Boolean(_0x24160f['locked']);}),this[_0x377c3d(0x2b3)][_0x377c3d(0x4dd)][_0x377c3d(0x339)]=this[_0x377c3d(0x2b3)][_0x377c3d(0x4dd)][_0x377c3d(0x339)]['filter'](_0x3341ab=>!_0x516494['includes'](_0x3341ab['id'])),_0x46bd8f&&_0x516494[_0x377c3d(0x356)](_0x280eaf=>{const _0x5def38=_0x377c3d;this[_0x5def38(0x2b3)][_0x5def38(0xea)][_0x280eaf]&&delete this['context'][_0x5def38(0xea)][_0x280eaf]['state'];}),this[_0x377c3d(0x2b3)][_0x377c3d(0x398)][_0x377c3d(0x47b)]&&(JSON[_0x377c3d(0x2bb)](_0x3bb793)!==JSON[_0x377c3d(0x2bb)](this['context'][_0x377c3d(0x4dd)][_0x377c3d(0x339)])&&this[_0x377c3d(0x2b3)][_0x377c3d(0x398)][_0x377c3d(0x47b)](this[_0x377c3d(0x2b3)]['getCart'](),_0x1ead8f)),this[_0x377c3d(0x2b3)][_0x377c3d(0x339)]=this[_0x377c3d(0x420)](),this[_0x377c3d(0x2b3)][_0x377c3d(0x4c8)](),this[_0x377c3d(0x541)]['redraw'](),this[_0x377c3d(0x4fe)]();}[_0x518421(0x361)](_0x558253){const _0x312eea=_0x518421;this[_0x312eea(0x485)](_0x28ad71=>![]),this[_0x312eea(0x541)][_0x312eea(0x3ef)]();}[_0x518421(0x223)](_0x95eafe){const _0x4a3246=_0x518421;this[_0x4a3246(0x5c2)](this[_0x4a3246(0x427)](_0x95eafe));}[_0x518421(0x527)](_0x495ff7){const _0x4408cf=_0x518421,_0x1b2af6=SanitizeManager[_0x4408cf(0x5bb)](_0x495ff7);this[_0x4408cf(0x2b3)][_0x4408cf(0x339)]=this['context'][_0x4408cf(0x339)][_0x4408cf(0x52b)](_0x4b15c2=>{const _0x446657=_0x4408cf,_0x4bdcc8=!_0x1b2af6[_0x446657(0x4bd)](_0x4b15c2['id']);return!!_0x4b15c2[_0x446657(0x570)]!==_0x4bdcc8?{..._0x4b15c2,'filtered':_0x4bdcc8}:_0x4b15c2;}),this[_0x4408cf(0x541)][_0x4408cf(0x3ef)]();}['removeFilter'](_0x3fb418){const _0x4b23d7=_0x518421;this[_0x4b23d7(0x2b3)][_0x4b23d7(0x339)]=this[_0x4b23d7(0x2b3)][_0x4b23d7(0x339)][_0x4b23d7(0x52b)](_0x40e523=>{const _0x5600a0=_0x3fb418?!_0x3fb418['includes'](_0x40e523['id']):![];return!!_0x40e523['filtered']!==_0x5600a0?{..._0x40e523,'filtered':_0x5600a0}:_0x40e523;}),this[_0x4b23d7(0x541)]['redraw']();}[_0x518421(0x55a)](_0xed6dd7){const _0x56c948=_0x518421;this[_0x56c948(0x527)](this[_0x56c948(0x427)](_0xed6dd7));}[_0x518421(0x427)](_0xad24ec){const _0x5725fc=_0x518421;return _0xad24ec['map'](_0x12500d=>this[_0x5725fc(0x2b3)]['findSeatByKey'](_0x12500d))[_0x5725fc(0x10b)](Boolean)[_0x5725fc(0x52b)](_0xc68ba9=>_0xc68ba9['id']);}['updateSeatLocks'](_0x16ce3d){const _0x2fc196=_0x518421;this[_0x2fc196(0x2b3)][_0x2fc196(0x339)]=this[_0x2fc196(0x2b3)][_0x2fc196(0x339)]['map'](_0x27d725=>{const _0x3a227b=_0x2fc196,_0x1f2b91=_0x16ce3d(_0x27d725);return!!_0x27d725[_0x3a227b(0x540)]!==_0x1f2b91?{..._0x27d725,'locked':_0x1f2b91}:_0x27d725;}),this[_0x2fc196(0x541)][_0x2fc196(0x3ef)]();}[_0x518421(0x4bc)](){const _0x380dd9=_0x518421;return this[_0x380dd9(0x2b3)][_0x380dd9(0x4bc)]()['map'](_0x4efd55=>this[_0x380dd9(0x358)](_0x4efd55));}[_0x518421(0x4b8)](_0x4482b5){const _0x10b14f=_0x518421,_0x4db611=this[_0x10b14f(0x2b3)][_0x10b14f(0x4b8)](_0x4482b5);if(!_0x4db611){this[_0x10b14f(0xf7)][_0x10b14f(0x4b8)](void 0x0);return;}_0x4db611==null?void 0x0:_0x4db611[_0x10b14f(0x356)](_0x283c1c=>this[_0x10b14f(0xf7)]['setSectionSelection'](_0x283c1c));}[_0x518421(0x4cf)](){const _0x3fedb9=_0x518421;return this[_0x3fedb9(0x2b3)][_0x3fedb9(0x4cf)]();}[_0x518421(0x5e1)](_0x205098,_0x4b2ff2){const _0x2aa8a7=_0x518421,_0x322b24=SanitizeManager[_0x2aa8a7(0x5bb)](_0x205098);if(_0x4b2ff2==null?void 0x0:_0x4b2ff2[_0x2aa8a7(0x3f3)]){const _0xcd6384=this[_0x2aa8a7(0x140)]()[_0x2aa8a7(0x10b)](_0x1cdaf9=>_0x1cdaf9[_0x2aa8a7(0x3e8)])['map'](_0x1e75b3=>_0x1e75b3['id']);this['enableSvgSectionsByIds'](_0xcd6384);}_0x322b24[_0x2aa8a7(0x356)](_0x1f34aa=>{const _0x5f2866=_0x2aa8a7;this['context'][_0x5f2866(0xfc)][_0x1f34aa][_0x5f2866(0x3e8)]=!![],this['outlineLayer'][_0x5f2866(0x5fd)](_0x1f34aa);}),this[_0x2aa8a7(0x2b3)][_0x2aa8a7(0x1e8)]=void 0x0,this['updateBackgroundImage']();}[_0x518421(0x142)](_0x12831c){const _0x162328=_0x518421,_0x40e9f2=SanitizeManager[_0x162328(0x5bb)](_0x12831c);_0x40e9f2[_0x162328(0x356)](_0x205367=>{const _0x2b1157=_0x162328;this[_0x2b1157(0x2b3)]['sectionsById'][_0x205367][_0x2b1157(0x3e8)]=![],this[_0x2b1157(0x2b3)][_0x2b1157(0xfc)][_0x205367]['selected']=![],this[_0x2b1157(0xf7)][_0x2b1157(0x261)](_0x205367);}),this[_0x162328(0x2b3)]['selectedGaId']=void 0x0,this[_0x162328(0x41d)]();}async[_0x518421(0x41d)](){const _0x914800=_0x518421;var _0x3976e7;if(!this[_0x914800(0x2b3)][_0x914800(0x1e2)][_0x914800(0x241)])return;const _0x1f9d34=new DOMParser(),_0x5c2188=_0x1f9d34[_0x914800(0x418)](this['context'][_0x914800(0x1e2)][_0x914800(0x241)],_0x914800(0x212))||new SVGSVGElement(),_0x5a0f2e=_0x5c2188[_0x914800(0x3d0)](_0x914800(0x259));if(_0x5a0f2e){_0x5a0f2e['innerHTML']='';const _0x45e330=this[_0x914800(0xf7)]['svgElement'],_0x29e0c4=(_0x3976e7=_0x45e330[_0x914800(0x3ec)])==null?void 0x0:_0x3976e7[_0x914800(0x29d)];_0x29e0c4==null?void 0x0:_0x29e0c4['forEach'](_0x3b639f=>{const _0x2abdb5=_0x914800;_0x5a0f2e['appendChild'](_0x3b639f[_0x2abdb5(0x51c)](!![]));});var _0x57b0fa=new XMLSerializer(),_0x1afe5f=_0x57b0fa[_0x914800(0x40a)](_0x5c2188);this['stageLayer'][_0x914800(0x617)]=await createSvgImageElement(_0x1afe5f),this[_0x914800(0x541)][_0x914800(0x5d3)]();}}[_0x518421(0x1fa)](_0x5e27e3){const _0x5e7de8=_0x518421,_0x2937fd=SanitizeManager[_0x5e7de8(0x5bb)](_0x5e27e3);_0x2937fd[_0x5e7de8(0x356)](_0x3f740d=>{const _0x118056=_0x5e7de8;this[_0x118056(0x2b3)]['sectionsById'][_0x3f740d]&&this['context'][_0x118056(0xfc)][_0x3f740d][_0x118056(0x19e)]!==void 0x0&&(this[_0x118056(0x256)][_0x3f740d]=this[_0x118056(0x2b3)]['sectionsById'][_0x3f740d][_0x118056(0x19e)],this['context'][_0x118056(0xfc)][_0x3f740d]['disabled']=!![],delete this['context'][_0x118056(0xfc)][_0x3f740d][_0x118056(0x19e)],this[_0x118056(0x2b3)][_0x118056(0xfc)][_0x3f740d][_0x118056(0x175)]=![],this[_0x118056(0xf9)]({'sectorId':_0x3f740d}));}),this[_0x5e7de8(0x2b3)][_0x5e7de8(0x1e8)]=void 0x0,this['stageLayer'][_0x5e7de8(0x3ef)]();}[_0x518421(0x165)](){const _0x48f43a=_0x518421;if(!this[_0x48f43a(0x256)])return;Object['keys'](this['originalSectionPrices'])['forEach'](_0xc499b8=>{const _0x50ce5d=_0x48f43a,_0x2e3e00=Number(_0xc499b8);this[_0x50ce5d(0x2b3)][_0x50ce5d(0xfc)][_0x2e3e00]&&(this['context']['sectionsById'][_0x2e3e00][_0x50ce5d(0x3e8)]=![],this[_0x50ce5d(0x2b3)][_0x50ce5d(0xfc)][_0x2e3e00][_0x50ce5d(0x19e)]=this['originalSectionPrices'][_0x2e3e00]);}),this[_0x48f43a(0x256)]={},this['context']['selectedGaId']=void 0x0,this[_0x48f43a(0x541)][_0x48f43a(0x3ef)]();}['filterSvgSectionsByIds'](_0x415b20,_0x468630){const _0x3243ed=_0x518421,_0x191c43=SanitizeManager[_0x3243ed(0x5bb)](_0x415b20);if(_0x468630==null?void 0x0:_0x468630['resetAll']){const _0x3cf7d7=this[_0x3243ed(0x140)]()[_0x3243ed(0x10b)](_0x5ed543=>_0x5ed543['filtered'])['map'](_0x3a1330=>_0x3a1330['id']);this['enableSvgSectionsByIds'](_0x3cf7d7);}this['getSectionsKeys']()['forEach'](_0x43ee12=>{const _0xf249c9=_0x3243ed,_0x21bb47=Number(_0x43ee12),_0x2fa3ed=!_0x191c43[_0xf249c9(0x4bd)](_0x21bb47);this[_0xf249c9(0x2b3)][_0xf249c9(0xfc)][_0x21bb47][_0xf249c9(0x570)]=_0x2fa3ed,_0x2fa3ed?this[_0xf249c9(0xf7)][_0xf249c9(0x294)](_0x21bb47):this[_0xf249c9(0xf7)][_0xf249c9(0x231)](_0x21bb47);}),this[_0x3243ed(0x2b3)][_0x3243ed(0x1e8)]=void 0x0;}[_0x518421(0x58a)](_0x2dd5ea){const _0x4a0d03=_0x518421;(_0x2dd5ea?SanitizeManager[_0x4a0d03(0x5bb)](_0x2dd5ea):this[_0x4a0d03(0x3e1)]())['forEach'](_0x3ce05c=>{const _0x22d309=_0x4a0d03,_0x535af7=Number(_0x3ce05c);this[_0x22d309(0x2b3)][_0x22d309(0xfc)][_0x535af7]['filtered']=![],this[_0x22d309(0x2b3)][_0x22d309(0xfc)][_0x535af7][_0x22d309(0x175)]=![],this[_0x22d309(0xf7)]['removeFilterSvgSectionById'](_0x535af7);}),this[_0x4a0d03(0x2b3)][_0x4a0d03(0x1e8)]=void 0x0;}[_0x518421(0x416)](_0x5e5b7e,_0x41f0fa){const _0x366173=_0x518421,_0x4a6dc3=this['getSections']();this[_0x366173(0x5e1)](_0x4a6dc3[_0x366173(0x10b)](_0x49b4bb=>_0x5e5b7e[_0x366173(0x4bd)](_0x49b4bb['name']))[_0x366173(0x52b)](_0x29b763=>_0x29b763['id']),_0x41f0fa);}[_0x518421(0x600)](_0x15910f){const _0x544c5e=_0x518421,_0x42bc18=this[_0x544c5e(0x140)]();this[_0x544c5e(0x142)](_0x42bc18[_0x544c5e(0x10b)](_0x313090=>_0x15910f[_0x544c5e(0x4bd)](_0x313090[_0x544c5e(0x23f)]))[_0x544c5e(0x52b)](_0xfc4e5f=>_0xfc4e5f['id']));}[_0x518421(0x3df)](_0x429b94){const _0x152b89=_0x518421,_0x8ae3c3=this['getSeatIds'](_0x429b94);this['context']['selectedSeatIds']=[..._0x8ae3c3],this[_0x152b89(0x3a1)][_0x152b89(0x3ef)]();this[_0x152b89(0x2b3)]['settings'][_0x152b89(0x525)]&&this[_0x152b89(0x541)]['redraw']();const _0x38ae90=this[_0x152b89(0x2b3)][_0x152b89(0x339)][_0x152b89(0x10b)](_0x388136=>_0x8ae3c3[_0x152b89(0x4bd)](_0x388136['id']));this[_0x152b89(0x2b3)][_0x152b89(0x398)]['onSeatsSelectionChange']&&this[_0x152b89(0x2b3)][_0x152b89(0x398)]['onSeatsSelectionChange'](_0x38ae90),this[_0x152b89(0x2b3)][_0x152b89(0x398)][_0x152b89(0x62b)]&&this[_0x152b89(0x2b3)]['settings']['onSeatsSelect'](_0x38ae90);}[_0x518421(0x3e6)](_0x311705){const _0x2b97b6=_0x518421;let _0x233321;if(_0x311705&&typeof _0x311705===_0x2b97b6(0x494))_0x233321=_0x311705;else{if(_0x311705&&typeof _0x311705===_0x2b97b6(0x3ee)){const _0x181ab4=this[_0x2b97b6(0x2b3)][_0x2b97b6(0x40d)]()['find'](_0x27dd3b=>_0x27dd3b['name']===_0x311705);(_0x181ab4==null?void 0x0:_0x181ab4['isGa'])&&(_0x233321=_0x181ab4['id']);}}this[_0x2b97b6(0x2b3)][_0x2b97b6(0x1e8)]=_0x233321,this[_0x2b97b6(0xf7)][_0x2b97b6(0x1ee)](_0x233321),this['selectionLayer'][_0x2b97b6(0x3ef)]();}['getSelectedGa'](){const _0x38e18e=_0x518421,_0x556c3e=this[_0x38e18e(0x2b3)][_0x38e18e(0x1e8)];return _0x556c3e?this['context']['sectionsById'][_0x556c3e]:void 0x0;}[_0x518421(0x140)](){const _0xdff8e4=_0x518421;if(!this[_0xdff8e4(0x2b3)]['sectionsById'])return[];return Object[_0xdff8e4(0x17f)](this[_0xdff8e4(0x2b3)][_0xdff8e4(0xfc)]);}['getSectionsKeys'](){const _0x3dc66f=_0x518421;if(!this['context']['sectionsById'])return[];return Object[_0x3dc66f(0x31b)](this[_0x3dc66f(0x2b3)]['sectionsById']);}[_0x518421(0x522)](){const _0x1ec5f7=_0x518421;if(!this[_0x1ec5f7(0x2b3)][_0x1ec5f7(0x257)])return[];return Object[_0x1ec5f7(0x17f)](this[_0x1ec5f7(0x2b3)]['rowsById']);}[_0x518421(0x420)](){const _0x4f3fe6=_0x518421;if(!this[_0x4f3fe6(0x2b3)][_0x4f3fe6(0xea)])return[];return Object['values'](this[_0x4f3fe6(0x2b3)]['seatsById']);}[_0x518421(0x5e8)](_0x17d35e){const _0x37b672=_0x518421;return this[_0x37b672(0x2b3)]['rowsById'][_0x17d35e];}[_0x518421(0x1e5)](){const _0x478a0e=_0x518421;if(this[_0x478a0e(0x541)]instanceof HTMLCanvasLayer){const _0x17454d=this[_0x478a0e(0x541)][_0x478a0e(0x1e5)]();return _0x17454d[_0x478a0e(0x52b)](_0xa55b52=>({..._0xa55b52,...this['context'][_0x478a0e(0x280)](_0xa55b52)}));}else{const _0x1dd794=this[_0x478a0e(0x541)][_0x478a0e(0x1e5)]();return _0x1dd794[_0x478a0e(0x52b)](_0x43d017=>({..._0x43d017,...this[_0x478a0e(0x2b3)][_0x478a0e(0x280)](_0x43d017)}));}}[_0x518421(0x1a5)](){const _0x1e83e5=_0x518421,_0x126389=[][_0x1e83e5(0x2ce)]['call'](this[_0x1e83e5(0xf7)][_0x1e83e5(0x61d)]['querySelectorAll']('.'+OUTLINE_CLASS+_0x1e83e5(0x101))),_0x37a84c=_0x126389['map'](_0x48724b=>{const _0x35739e=_0x1e83e5;let _0x79d337;if(isGaOutline(_0x48724b))_0x79d337=this[_0x35739e(0x2bc)](_0x48724b);else isSectionOutline(_0x48724b)&&(_0x79d337=this[_0x35739e(0x24c)](_0x48724b));return _0x79d337;})['filter'](Boolean)[_0x1e83e5(0x52b)](_0xa76cf2=>({..._0xa76cf2,'x':Math[_0x1e83e5(0x424)](_0xa76cf2['rect']['left']+_0xa76cf2[_0x1e83e5(0x129)][_0x1e83e5(0x28a)]/0x2),'y':Math['round'](_0xa76cf2[_0x1e83e5(0x129)][_0x1e83e5(0x349)]+_0xa76cf2['rect'][_0x1e83e5(0x52c)]/0x2)}));return _0x37a84c;}[_0x518421(0x2bc)](_0x509461){const _0x1e2972=_0x518421;var _0x14525a,_0x5f2bba,_0x5393ed;const _0x2d0d93=_0x34cbad=>{const _0x252e9a=_0x425e,_0x46d994=Number(_0x34cbad[_0x252e9a(0x1b1)](DATA_GOS_ID));if(_0x46d994)return{'sectionId':_0x46d994,'element':_0x34cbad};const _0x3a8bca=_0x34cbad[_0x252e9a(0x2db)];return{'sectionId':Number(_0x3a8bca[_0x252e9a(0x1b1)](DATA_GOS_ID)),'element':_0x3a8bca};},{sectionId:_0x4a1f8e,element:_0x2ef58c}=_0x2d0d93(_0x509461);if(_0x4a1f8e&&this[_0x1e2972(0x2b3)]['sectionsById'][_0x4a1f8e]){const {id:_0xfc126d,name:_0x4627db,priceId:_0x4bef0a,special:_0x343556,type:_0x575dbc}=this['context']['sectionsById'][_0x4a1f8e];let _0x40952d=void 0x0;if(_0x4bef0a){const _0xaf52fa=this[_0x1e2972(0x2b3)]['pricesById'][Number(_0x4bef0a)];_0xaf52fa&&(_0x40952d=parseInt(_0xaf52fa['name']));}const _0x230b11=(_0x5393ed=(_0x5f2bba=(_0x14525a=this['context'][_0x1e2972(0xfc)])==null?void 0x0:_0x14525a[_0xfc126d])==null?void 0x0:_0x5f2bba[_0x1e2972(0x3eb)])!=null?_0x5393ed:![];return{'id':_0xfc126d,'name':_0x4627db,'price':_0x40952d,'special':_0x343556,'ga':_0x230b11,'rect':this[_0x1e2972(0x28c)](_0x2ef58c),'type':_0x575dbc};}return void 0x0;}[_0x518421(0x24c)](_0x50adef){const _0x3dd8e7=_0x518421,_0x817afe=Number(_0x50adef[_0x3dd8e7(0x1b1)](DATA_GOS_ID));if(_0x817afe&&this[_0x3dd8e7(0x2b3)][_0x3dd8e7(0xfc)][_0x817afe]){const {id:_0x1cf8c9,name:_0x11a6a3,priceId:_0x435da0,special:_0xa30f9b,type:_0x3878ee}=this[_0x3dd8e7(0x2b3)][_0x3dd8e7(0xfc)][_0x817afe],_0x3586c2=_0x435da0&&this['context'][_0x3dd8e7(0x5a4)][Number(_0x435da0)]?parseInt(this[_0x3dd8e7(0x2b3)][_0x3dd8e7(0x5a4)][Number(_0x435da0)][_0x3dd8e7(0x23f)]):void 0x0;return{'id':_0x1cf8c9,'name':_0x11a6a3,'price':_0x3586c2,'special':_0xa30f9b,'ga':![],'rect':this['getSectorRectByOutline'](_0x50adef),'type':_0x3878ee};}return void 0x0;}[_0x518421(0x28c)](_0x5af049){const _0x2b96b1=_0x518421,_0x567e2a=_0x5af049[_0x2b96b1(0x27b)](),_0x254413=this[_0x2b96b1(0x2b3)][_0x2b96b1(0x107)]['getBoundingClientRect']();return{'left':Math[_0x2b96b1(0x424)](_0x567e2a[_0x2b96b1(0x267)]-_0x254413[_0x2b96b1(0x267)]),'top':Math[_0x2b96b1(0x424)](_0x567e2a[_0x2b96b1(0x349)]-_0x254413[_0x2b96b1(0x349)]),'width':Math[_0x2b96b1(0x424)](_0x567e2a['width']),'height':Math[_0x2b96b1(0x424)](_0x567e2a[_0x2b96b1(0x52c)])};}[_0x518421(0x18e)](_0x1b4188,_0x489138){const _0x49555c=_0x518421,_0x4b3370=this[_0x49555c(0x2b3)][_0x49555c(0xea)][_0x1b4188],_0x21cfec=this[_0x49555c(0x2b3)]['seatsByRowId'][_0x4b3370['rowId']][_0x49555c(0x10b)](_0x189400=>!_0x189400[_0x49555c(0x540)]),_0x4573dd=Number(_0x4b3370[_0x49555c(0x23f)]);if(!Number[_0x49555c(0x4de)](_0x4573dd))return;let _0x50a52a=_0x4573dd,_0x3bc642;const _0x102097=[];do{_0x50a52a++,_0x3bc642=_0x21cfec['find'](_0x392438=>_0x392438[_0x49555c(0x23f)]===String(_0x50a52a));if(_0x3bc642)_0x102097[_0x49555c(0x1be)](_0x3bc642);}while(_0x3bc642&&_0x102097[_0x49555c(0x287)]<_0x489138-0x1);let _0x42110e=_0x4573dd,_0x3eac25;const _0x55d3a3=[];do{_0x42110e--,_0x3eac25=_0x21cfec[_0x49555c(0x584)](_0x283539=>_0x283539[_0x49555c(0x23f)]===String(_0x42110e));if(_0x3eac25)_0x55d3a3[_0x49555c(0x1be)](_0x3eac25);}while(_0x3eac25&&_0x55d3a3[_0x49555c(0x287)]<_0x489138-0x1);let _0x35dc6f=Math[_0x49555c(0x35e)]((_0x489138-0x1)/0x2),_0x3f36b7=Math[_0x49555c(0x4ce)]((_0x489138-0x1)/0x2);if(_0x55d3a3[_0x49555c(0x287)]<_0x35dc6f)_0x35dc6f=_0x55d3a3[_0x49555c(0x287)],_0x3f36b7=_0x489138-0x1-_0x35dc6f;else _0x102097[_0x49555c(0x287)]<_0x3f36b7&&(_0x3f36b7=_0x102097['length'],_0x35dc6f=_0x489138-0x1-_0x3f36b7);if(_0x102097[_0x49555c(0x287)]<_0x3f36b7||_0x55d3a3[_0x49555c(0x287)]<_0x35dc6f)return;const _0x470e43=[..._0x55d3a3['slice'](0x0,_0x35dc6f)[_0x49555c(0x435)](),_0x4b3370,..._0x102097[_0x49555c(0x2ce)](0x0,_0x3f36b7)];return _0x470e43;}['normalizePinchScale'](_0x3f21d4){const _0x9c906c=_0x518421;var _0x157a1d;const _0x5510ba=(_0x157a1d=this[_0x9c906c(0x2b3)][_0x9c906c(0x398)]['zoomSettings'])!=null?_0x157a1d:defaultZoomSettings,_0x241c3e=Math[_0x9c906c(0x318)](_0x5510ba[_0x9c906c(0x250)]*DPR3,this[_0x9c906c(0x2b5)])/this['context'][_0x9c906c(0x270)],_0x38ed2d=_0x5510ba[_0x9c906c(0x50f)]*DPR3/this[_0x9c906c(0x2b3)]['scale'];return Math['max'](_0x241c3e,Math[_0x9c906c(0x318)](_0x38ed2d,_0x3f21d4));}[_0x518421(0x237)](){const _0x40d06f=_0x518421;return this['context'][_0x40d06f(0x270)];}[_0x518421(0x56f)](){const _0x6d07c8=_0x518421,_0x2d9bba=this[_0x6d07c8(0x150)]();_0x2d9bba!==this[_0x6d07c8(0x2b3)]['scale']&&this[_0x6d07c8(0x171)](_0x2d9bba);}[_0x518421(0x30e)](){const _0x4db095=_0x518421,_0x108c3c=this[_0x4db095(0x2b8)]();_0x108c3c!==this[_0x4db095(0x2b3)][_0x4db095(0x270)]&&this[_0x4db095(0x171)](_0x108c3c);}['zoomTo'](_0x2706f5,_0x153607){const _0x480c3a=_0x518421,_0x146f6c=_0x2706f5*DPR3;if(_0x153607==null?void 0x0:_0x153607[_0x480c3a(0x133)]){const _0x3a9b3d={'x':_0x153607[_0x480c3a(0x133)]['x']-this[_0x480c3a(0x5fc)]()*DPR3/0x2/_0x146f6c,'y':_0x153607[_0x480c3a(0x133)]['y']-this[_0x480c3a(0x226)]()*DPR3/0x2/_0x146f6c};this[_0x480c3a(0x1cf)](_0x146f6c,_0x3a9b3d,_0x153607['durationMs']);}else this['startAnimation'](_0x146f6c,void 0x0,_0x153607==null?void 0x0:_0x153607[_0x480c3a(0x26b)]);}['zoomToFit'](){const _0x11dd03=_0x518421,_0x46484c=this[_0x11dd03(0x3f1)];this[_0x11dd03(0x3f1)]=emptyPaddingSettings,this[_0x11dd03(0x171)](this['zoomToFitScale']||0x1),this['padding']=_0x46484c;}['clearSectorHighlight'](){const _0x10ed13=_0x518421;this[_0x10ed13(0xf7)]['clearSectionHighlight']();}[_0x518421(0x13a)](_0x1b3caf){const _0x16734a=_0x518421;this[_0x16734a(0xf7)][_0x16734a(0x19b)](),this['outlineLayer']['highlightSection'](_0x1b3caf);}[_0x518421(0x556)](_0x35ca69,_0x2b29d1,_0x3a4539){const _0x56f6ad=_0x518421;this[_0x56f6ad(0x4a1)][_0x56f6ad(0x556)](_0x35ca69,_0x2b29d1,_0x3a4539,this[_0x56f6ad(0x2b3)][_0x56f6ad(0x398)][_0x56f6ad(0x313)]||0x0);}[_0x518421(0x1dc)](_0x569f7a,_0x126639){const _0x5d91a7=_0x518421;var _0x532106;const _0x13ea11=this[_0x5d91a7(0x1ed)](_0x569f7a);if(!_0x13ea11)return;const _0x5b6c63=this[_0x5d91a7(0xf7)][_0x5d91a7(0x4b3)](_0x13ea11);if(!_0x5b6c63)return;(_0x126639==null?void 0x0:_0x126639[_0x5d91a7(0x5ac)])&&this['outlineLayer'][_0x5d91a7(0x2f1)](_0x13ea11);const _0x468931=0x1*DPR3,_0x545c80=0x1,_0x9e83e9=this['context'][_0x5d91a7(0x270)]/DPR3,_0x48d772=_0x9e83e9>0.5,_0x286a64={'x':_0x5b6c63['x']+_0x5b6c63['width']/0x2,'y':_0x5b6c63['y']+_0x5b6c63[_0x5d91a7(0x52c)]/0x2};if(this['context'][_0x5d91a7(0x4f0)]){const _0x49be1f=this[_0x5d91a7(0x2b3)][_0x5d91a7(0x1e2)]['viewBox'],_0x1b5503={'x':_0x49be1f[_0x5d91a7(0x28a)]/0x2,'y':_0x49be1f['height']/0x2};let _0x2ab1f6;try{const _0x2d00d5=this[_0x5d91a7(0x2b3)][_0x5d91a7(0x339)][_0x5d91a7(0x10b)](_0x20901a=>_0x20901a['sectorId']===_0x13ea11);if(_0x2d00d5['length']>0x0){let _0x48d04f=_0x2d00d5[0x0]['x'],_0xa2657d=_0x2d00d5[0x0]['x'],_0x3c843f=_0x2d00d5[0x0]['y'],_0x22ed93=_0x2d00d5[0x0]['y'];for(let _0x4c736a=0x1;_0x4c736a<_0x2d00d5['length'];_0x4c736a++){const _0x3f50f6=_0x2d00d5[_0x4c736a];if(_0x3f50f6['x']<_0x48d04f)_0x48d04f=_0x3f50f6['x'];if(_0x3f50f6['x']>_0xa2657d)_0xa2657d=_0x3f50f6['x'];if(_0x3f50f6['y']<_0x3c843f)_0x3c843f=_0x3f50f6['y'];if(_0x3f50f6['y']>_0x22ed93)_0x22ed93=_0x3f50f6['y'];}_0x2ab1f6={'x':(_0x48d04f+_0xa2657d)/0x2,'y':(_0x3c843f+_0x22ed93)/0x2};}else _0x2ab1f6={'x':_0x5b6c63['x']-_0x49be1f['x']+_0x5b6c63[_0x5d91a7(0x28a)]/0x2,'y':_0x5b6c63['y']-_0x49be1f['y']+_0x5b6c63['height']/0x2};}catch(_0x1ecf2c){_0x2ab1f6={'x':_0x5b6c63['x']-_0x49be1f['x']+_0x5b6c63[_0x5d91a7(0x28a)]/0x2,'y':_0x5b6c63['y']-_0x49be1f['y']+_0x5b6c63[_0x5d91a7(0x52c)]/0x2};}const _0x227e3e=Math['atan2'](_0x1b5503['y']-_0x2ab1f6['y'],_0x1b5503['x']-_0x2ab1f6['x']),_0x22cddf=-Math['PI']/0x2-_0x227e3e,_0x5e605c=_0x22cddf*0xb4/Math['PI'];let _0x2613a0;const _0x1596c0=0.000001;Math[_0x5d91a7(0x22a)]((_0x532106=this[_0x5d91a7(0x2b3)][_0x5d91a7(0x1fb)])!=null?_0x532106:0x0)<_0x1596c0&&(_0x2613a0=-0.2);if(_0x48d772){this['animateSequence']([{'zoomTo':0.5,'destination':_0x286a64,'rotateTo':_0x5e605c,'tiltTo':_0x2613a0},{'zoomTo':_0x545c80}]);return;}const _0x43b051=_0x468931/this[_0x5d91a7(0x2b3)]['scale'],_0x543657={'x':_0x286a64['x']-this[_0x5d91a7(0x5fc)]()*DPR3/0x2/_0x468931,'y':_0x286a64['y']-this[_0x5d91a7(0x226)]()*DPR3/0x2/_0x468931},_0x12ee0a={'x':(this[_0x5d91a7(0x2b3)][_0x5d91a7(0x1e2)][_0x5d91a7(0x172)]['x']-_0x543657['x'])*_0x468931,'y':(this[_0x5d91a7(0x2b3)][_0x5d91a7(0x1e2)][_0x5d91a7(0x172)]['y']-_0x543657['y'])*_0x468931},_0x4a0793=this[_0x5d91a7(0x119)](_0x12ee0a,_0x468931),_0x243c46=this[_0x5d91a7(0x1c0)](_0x43b051,_0x4a0793);this[_0x5d91a7(0x4a1)][_0x5d91a7(0x5cb)]({'duration':this['context'][_0x5d91a7(0x398)][_0x5d91a7(0x313)]||0x0,'fromScale':this['context'][_0x5d91a7(0x270)],'toScale':_0x468931,'toTranslate':_0x4a0793,'relativeTranslate':_0x243c46,'fromRotationZ':this[_0x5d91a7(0x2b3)]['rotationZ'],'toRotationZ':_0x22cddf,'fromTiltX':this[_0x5d91a7(0x2b3)]['tiltX'],'toTiltX':_0x2613a0,'fromPerspectiveZ':this[_0x5d91a7(0x2b3)][_0x5d91a7(0x1d5)],'toPerspectiveZ':this[_0x5d91a7(0x2b3)][_0x5d91a7(0x1d5)]});return;}if(_0x48d772){this[_0x5d91a7(0x306)]([{'zoomTo':0.5,'destination':_0x286a64},{'zoomTo':_0x545c80}]);return;}const _0x2025cd={'x':_0x286a64['x']-this[_0x5d91a7(0x28a)]*DPR3/0x2/_0x468931,'y':_0x286a64['y']-this[_0x5d91a7(0x52c)]*DPR3/0x2/_0x468931};this[_0x5d91a7(0x1cf)](_0x468931,_0x2025cd);}[_0x518421(0x1cf)](_0x259959,_0x35ba7e,_0x194830){const _0x26aac0=_0x518421,_0x464c7f=_0x259959/this['context'][_0x26aac0(0x270)],_0x418880={'x':(this[_0x26aac0(0x2b3)]['underlay']['viewBox']['x']-_0x35ba7e['x'])*_0x259959,'y':(this['context'][_0x26aac0(0x1e2)][_0x26aac0(0x172)]['y']-_0x35ba7e['y'])*_0x259959},_0x1bb447=this[_0x26aac0(0x119)](_0x418880,_0x259959),_0x5c27d0=this[_0x26aac0(0x1c0)](_0x464c7f,_0x1bb447);this['transformAnimator'][_0x26aac0(0x5cb)]({'duration':_0x194830||this[_0x26aac0(0x2b3)][_0x26aac0(0x398)][_0x26aac0(0x313)]||0x0,'fromScale':this[_0x26aac0(0x2b3)]['scale'],'toScale':_0x259959,'toTranslate':_0x418880,'relativeTranslate':_0x5c27d0});}async[_0x518421(0x306)](_0x107f9f){const _0x3f3702=_0x518421;if(!Array[_0x3f3702(0x44d)](_0x107f9f)||_0x107f9f[_0x3f3702(0x287)]===0x0)return;for(const _0x12550a of _0x107f9f){await new Promise(_0x19f289=>{const _0x5b99aa=_0x3f3702;var _0x16f54d,_0x4aedf8;const _0x3734a5=_0x12550a[_0x5b99aa(0x11c)]!==void 0x0?_0x12550a[_0x5b99aa(0x11c)]*DPR3:this[_0x5b99aa(0x2b3)]['scale'],_0x180a36=_0x3734a5/this[_0x5b99aa(0x2b3)][_0x5b99aa(0x270)];let _0x266758=this[_0x5b99aa(0x2b3)][_0x5b99aa(0x481)],_0x2513cb;if(_0x12550a['destination']){const _0x172e6a={'x':_0x12550a[_0x5b99aa(0x133)]['x']-this[_0x5b99aa(0x5fc)]()*DPR3/0x2/_0x3734a5,'y':_0x12550a[_0x5b99aa(0x133)]['y']-this[_0x5b99aa(0x226)]()*DPR3/0x2/_0x3734a5},_0x270ed5={'x':(this[_0x5b99aa(0x2b3)]['underlay'][_0x5b99aa(0x172)]['x']-_0x172e6a['x'])*_0x3734a5,'y':(this[_0x5b99aa(0x2b3)][_0x5b99aa(0x1e2)][_0x5b99aa(0x172)]['y']-_0x172e6a['y'])*_0x3734a5},_0x37ff42=this['calculateLimitedTranslate'](_0x270ed5,_0x3734a5);_0x266758=_0x37ff42,_0x2513cb=this[_0x5b99aa(0x1c0)](_0x180a36,_0x37ff42);}else{const _0x451edb=this[_0x5b99aa(0x2c4)](_0x180a36),_0x231b8e=this['calculateLimitedTranslate'](_0x451edb,_0x3734a5);_0x266758=_0x231b8e,_0x2513cb=this[_0x5b99aa(0x1c0)](_0x180a36,_0x231b8e);}const _0x5976a1=this['context'][_0x5b99aa(0x183)],_0x304439=_0x12550a['rotateTo']!==void 0x0?_0x12550a['rotateTo']*Math['PI']/0xb4:_0x5976a1,_0x5cbdc6=this['context'][_0x5b99aa(0x1fb)],_0x1ec34f=_0x12550a[_0x5b99aa(0x44e)]!==void 0x0?_0x12550a[_0x5b99aa(0x44e)]:_0x5cbdc6,_0x3cf7cf=this['context'][_0x5b99aa(0x1d5)],_0x5eab37=_0x12550a[_0x5b99aa(0x130)]!==void 0x0?_0x12550a['perspectiveTo']:_0x3cf7cf,_0x7af1d3=()=>_0x19f289(),_0xb98d2c=_0x3734a5===this[_0x5b99aa(0x2b3)]['scale'],_0x56f655=_0x266758['x']===this[_0x5b99aa(0x2b3)][_0x5b99aa(0x481)]['x']&&_0x266758['y']===this[_0x5b99aa(0x2b3)][_0x5b99aa(0x481)]['y'],_0x2aeb15=_0x5976a1===_0x304439&&_0x5cbdc6===_0x1ec34f&&_0x3cf7cf===_0x5eab37;if(_0xb98d2c&&_0x56f655&&_0x2aeb15){_0x19f289();return;}this[_0x5b99aa(0x4a1)][_0x5b99aa(0x5cb)]({'duration':(_0x4aedf8=(_0x16f54d=_0x12550a['durationMs'])!=null?_0x16f54d:this[_0x5b99aa(0x2b3)]['settings'][_0x5b99aa(0x313)])!=null?_0x4aedf8:0x0,'fromScale':this['context'][_0x5b99aa(0x270)],'toScale':_0x3734a5,'toTranslate':_0x266758,'relativeTranslate':_0x2513cb,'fromRotationZ':_0x5976a1,'toRotationZ':_0x304439,'fromTiltX':_0x5cbdc6,'toTiltX':_0x1ec34f,'fromPerspectiveZ':_0x3cf7cf,'toPerspectiveZ':_0x5eab37,'onComplete':_0x7af1d3});});}}[_0x518421(0x1ed)](_0x722ed){const _0x5b7a6a=_0x518421;if(!_0x722ed)return null;if(typeof _0x722ed===_0x5b7a6a(0x494))return _0x722ed;const _0xc75452=this['getSections']()[_0x5b7a6a(0x584)](_0x1d5422=>_0x1d5422[_0x5b7a6a(0x23f)]===_0x722ed);if(!_0xc75452)return null;return _0xc75452['id'];}[_0x518421(0x171)](_0x599999,_0x1255e6,_0x4d3cf4){const _0x4abf08=_0x518421,_0x537279=_0x599999/this[_0x4abf08(0x2b3)][_0x4abf08(0x270)],_0x2b33e4=this['calculateAbsoluteScaledTranslate'](_0x537279,_0x1255e6),_0x372c9b=this['calculateLimitedTranslate'](_0x2b33e4,_0x599999),_0x25b6e4=this[_0x4abf08(0x1c0)](_0x537279,_0x372c9b);this['transformAnimator'][_0x4abf08(0x5cb)]({'duration':_0x4d3cf4||this[_0x4abf08(0x2b3)]['settings']['zoomAnimationDuration']||0x0,'fromScale':this[_0x4abf08(0x2b3)]['scale'],'toScale':_0x599999,'toTranslate':_0x372c9b,'relativeTranslate':_0x25b6e4}),this['context']['settings'][_0x4abf08(0x205)]&&this['context'][_0x4abf08(0x398)][_0x4abf08(0x205)](_0x599999,this[_0x4abf08(0x2b3)][_0x4abf08(0x270)]);}[_0x518421(0x5b8)](_0x5b5f3e,_0x341e86){const _0x4f9c55=_0x518421;if(this[_0x4f9c55(0x2b3)]['enable3DView'])this['outlineLayer']['updateAnimationStep'](_0x5b5f3e,_0x341e86);else this[_0x4f9c55(0x2b3)]['settings']['showOutlineLayerOnAnimation']?this[_0x4f9c55(0xf7)][_0x4f9c55(0x3ae)](_0x5b5f3e,_0x341e86):this['outlineLayer'][_0x4f9c55(0x126)]();this[_0x4f9c55(0x541)][_0x4f9c55(0x53b)](_0x5b5f3e,_0x341e86),this[_0x4f9c55(0x3a1)]['drawOnscreenCanvas'](_0x5b5f3e,_0x341e86),this[_0x4f9c55(0x189)]&&this['minimapLayer'][_0x4f9c55(0x365)]();}async[_0x518421(0x3ef)](){const _0x4a419e=_0x518421;this[_0x4a419e(0x2b3)]['settings']['onRedrawStart']&&this[_0x4a419e(0x2b3)][_0x4a419e(0x398)][_0x4a419e(0x1f3)]();this[_0x4a419e(0x541)][_0x4a419e(0x3ef)](),this[_0x4a419e(0x3a1)]['redraw']();if(!this[_0x4a419e(0x541)]['sectionViewActive'])this[_0x4a419e(0xf7)][_0x4a419e(0x411)]();this[_0x4a419e(0x189)]&&this['minimapLayer'][_0x4a419e(0x365)](),this[_0x4a419e(0x2b3)]['settings'][_0x4a419e(0x240)]&&this['context'][_0x4a419e(0x398)][_0x4a419e(0x240)]();}[_0x518421(0x5f5)](_0x1f2501){const _0x1c3322=_0x518421,_0xd5fb20=this[_0x1c3322(0x2b3)]['rotationZ']||0x0,_0x3d031d=this['context']['tiltX']||0x0,_0x4dac76=Math[_0x1c3322(0x156)](_0xd5fb20),_0x559690=Math[_0x1c3322(0x58e)](_0xd5fb20),_0x59051c=_0x1f2501['x']*_0x4dac76+_0x1f2501['y']*_0x559690,_0x2302a5=-_0x1f2501['x']*_0x559690+_0x1f2501['y']*_0x4dac76,_0x32c329=Math[_0x1c3322(0x156)](_0x3d031d),_0x525e71=Math[_0x1c3322(0x153)](0.1,Math[_0x1c3322(0x22a)](_0x32c329)),_0xdf5847=0x1/_0x525e71,_0x2a5c7d=0x1+0.5*Math[_0x1c3322(0x22a)](Math['sin'](_0x3d031d)),_0x561f98=Math[_0x1c3322(0x318)](0x4,_0xdf5847*_0x2a5c7d);return{'x':_0x59051c,'y':_0x2302a5*_0x561f98};}[_0x518421(0x119)](_0x5d9983,_0x325e13){const _0x5afaf7=_0x518421;return{'x':this[_0x5afaf7(0x4d5)](_0x5d9983['x'],this['width']*DPR3,this[_0x5afaf7(0x2b3)]['underlay'][_0x5afaf7(0x172)][_0x5afaf7(0x28a)],_0x325e13),'y':this[_0x5afaf7(0x4d5)](_0x5d9983['y'],this[_0x5afaf7(0x52c)]*DPR3,this[_0x5afaf7(0x2b3)][_0x5afaf7(0x1e2)][_0x5afaf7(0x172)][_0x5afaf7(0x52c)],_0x325e13)};}[_0x518421(0x4d5)](_0x1f0349,_0x100b4f,_0x385531,_0x263116){const _0x23f2fa=_0x518421,_0x44ac96=this[_0x23f2fa(0x3f1)]*_0x100b4f,_0x4dac8d=this[_0x23f2fa(0x3f1)]*_0x100b4f,_0x1b57a1=!_0x263116?_0x385531*this[_0x23f2fa(0x2b3)][_0x23f2fa(0x270)]:_0x385531*_0x263116,_0x49b3bd=_0x1b57a1+_0x44ac96+_0x4dac8d;if(_0x49b3bd<_0x100b4f)return(_0x100b4f-_0x49b3bd)/0x2+_0x44ac96;if(_0x1f0349>_0x44ac96)return _0x44ac96;const _0x4ad2e5=(_0x49b3bd-_0x100b4f)*-0x1+_0x44ac96;if(_0x1f0349<_0x4ad2e5)return _0x4ad2e5;return _0x1f0349;}[_0x518421(0x1c0)](_0x1b86ba,_0x1e9e19){const _0x25e8da=_0x518421;return subPoints(_0x1e9e19,{'x':this['context'][_0x25e8da(0x481)]['x']*_0x1b86ba,'y':this[_0x25e8da(0x2b3)][_0x25e8da(0x481)]['y']*_0x1b86ba});}['calculateAbsoluteScaledTranslate'](_0x3c8573,_0x51ed47,_0x39201d){const _0x5be38f=_0x518421;return addPoints(this['calculateRelativeScaledTranslate'](_0x3c8573,_0x51ed47,_0x39201d),{'x':this['context'][_0x5be38f(0x481)]['x']*_0x3c8573,'y':this['context'][_0x5be38f(0x481)]['y']*_0x3c8573});}[_0x518421(0x15b)](_0x3621da,_0x547cec,_0x1a118f){const _0x487260=_0x518421,_0x268b74=_0x547cec||{'x':this[_0x487260(0x28a)]/0x2,'y':this[_0x487260(0x52c)]/0x2},_0x10410d=_0x1a118f||{'x':0x0,'y':0x0};return{'x':(_0x268b74['x']*(0x1-_0x3621da)+_0x10410d['x'])*DPR3,'y':(_0x268b74['y']*(0x1-_0x3621da)+_0x10410d['y'])*DPR3};}[_0x518421(0x26e)](_0x34a9d0){const _0x160cd7=_0x518421;var _0x4ab0e4;const _0x3c20cf=this['context'][_0x160cd7(0x398)][_0x160cd7(0x5f3)]||0.85,_0x521baf=this[_0x160cd7(0x28a)]/_0x34a9d0['viewBox']['width'],_0x2cfbf2=this[_0x160cd7(0x52c)]/_0x34a9d0[_0x160cd7(0x172)]['height'];let _0x57159a=_0x521baf>_0x2cfbf2?_0x2cfbf2:_0x521baf;const _0x5a6a70=(_0x4ab0e4=this[_0x160cd7(0x2b3)][_0x160cd7(0x398)][_0x160cd7(0x13b)])!=null?_0x4ab0e4:defaultZoomSettings;_0x57159a=Math['min'](_0x5a6a70[_0x160cd7(0x284)]*DPR3,_0x57159a*_0x3c20cf*DPR3);const _0x495bdc={'x':(this[_0x160cd7(0x28a)]*DPR3-_0x34a9d0['viewBox'][_0x160cd7(0x28a)]*_0x57159a)/0x2,'y':(this[_0x160cd7(0x52c)]*DPR3-_0x34a9d0[_0x160cd7(0x172)][_0x160cd7(0x52c)]*_0x57159a)/0x2};return{'scale':_0x57159a,'translate':_0x495bdc};}[_0x518421(0x150)](){const _0x2a74ff=_0x518421,_0x2a704e=this[_0x2a74ff(0x30a)]();for(let _0x4d971f=0x0;_0x4d971f<_0x2a704e['length'];_0x4d971f++){if(_0x2a704e[_0x4d971f]>this['context'][_0x2a74ff(0x270)])return _0x2a704e[_0x4d971f];}return this[_0x2a74ff(0x159)]();}[_0x518421(0x2b8)](){const _0x17a2cc=_0x518421,_0x2264b8=this[_0x17a2cc(0x30a)]();for(let _0x483c26=_0x2264b8[_0x17a2cc(0x287)]-0x1;_0x483c26>=0x0;_0x483c26--){if(_0x2264b8[_0x483c26]<this[_0x17a2cc(0x2b3)][_0x17a2cc(0x270)])return _0x2264b8[_0x483c26];}return this[_0x17a2cc(0x239)]();}[_0x518421(0x30a)](){const _0x228627=_0x518421;var _0x5dfda9;const _0xfdfecf=(_0x5dfda9=this[_0x228627(0x2b3)][_0x228627(0x398)][_0x228627(0x13b)])!=null?_0x5dfda9:defaultZoomSettings;if(!this[_0x228627(0x2b5)]&&_0xfdfecf)return _0xfdfecf['presets'][_0x228627(0x52b)](_0x3cb486=>_0x3cb486*DPR3);const _0x12ccaf=this[_0x228627(0x2b5)],_0x5803ac=[_0x12ccaf];return _0xfdfecf[_0x228627(0x48a)]['map'](_0x595ab9=>_0x595ab9*DPR3)['forEach'](_0x3a3f32=>{const _0x41fbc8=_0x228627;Math[_0x41fbc8(0x153)](_0x3a3f32/_0x12ccaf,_0x12ccaf/_0x3a3f32)>1.2&&_0x5803ac[_0x41fbc8(0x1be)](_0x3a3f32);}),_0x5803ac[_0x228627(0x408)]((_0x55dc98,_0x5a5ee8)=>_0x55dc98-_0x5a5ee8);}['getMinZoom'](){return this['getZoomPresets']()[0x0];}[_0x518421(0x159)](){const _0x413627=_0x518421,_0x4ec808=this[_0x413627(0x30a)]();return _0x4ec808[_0x4ec808[_0x413627(0x287)]-0x1];}['viewSection'](_0x51807d){const _0x465a1b=_0x518421;if(this[_0x465a1b(0x541)]instanceof HTMLCanvasLayer){const _0x4c4c30=this[_0x465a1b(0x1a5)](),_0x15668b=_0x4c4c30[_0x465a1b(0x584)](_0x5ea3be=>_0x5ea3be['id']===_0x51807d['id']);if(!_0x15668b)return;const _0x13d261=this[_0x465a1b(0x541)][_0x465a1b(0x3cc)]()[_0x465a1b(0x48c)];if(_0x13d261)return;const _0x430d94=this[_0x465a1b(0x541)]['getAnimationPoint']();this['outlineLayer'][_0x465a1b(0x126)]();const _0x5aada7={'zoomToFit':()=>this[_0x465a1b(0x51b)](),'getSectionsWithCoords':()=>this[_0x465a1b(0x1a5)]()};this[_0x465a1b(0x541)][_0x465a1b(0x46f)](_0x15668b,_0x5aada7)[_0x465a1b(0x5f0)](_0x1da606=>{const _0x39ed7f=_0x465a1b;if(!_0x1da606){this['outlineLayer'][_0x39ed7f(0x53d)](),this['redraw']();return;}const _0x3b6b5e=this['context'][_0x39ed7f(0x339)],_0x26bf54=_0x3b6b5e[_0x39ed7f(0x287)]?0x1:Math[_0x39ed7f(0x318)](0x1,this[_0x39ed7f(0x2b3)][_0x39ed7f(0x270)]*2.5);this[_0x39ed7f(0x171)](_0x26bf54,_0x430d94,this[_0x39ed7f(0x2b3)][_0x39ed7f(0x398)][_0x39ed7f(0x45d)]);const _0x64a236={...this[_0x39ed7f(0x541)][_0x39ed7f(0x18c)]};if(this[_0x39ed7f(0x541)]instanceof HTMLCanvasLayer){const _0x192fab={...this[_0x39ed7f(0x541)][_0x39ed7f(0x3cc)]()};this[_0x39ed7f(0x3a1)][_0x39ed7f(0x5bf)](_0x64a236),this['selectionLayer']['setAnimationState']({..._0x192fab,'skewAngle':_0x64a236['skewAngle'],'rotationAngle':_0x64a236[_0x39ed7f(0x1ce)]});}else throw new Error(_0x39ed7f(0x38a));this[_0x39ed7f(0x3a1)]['sectionViewActive']=!![],this[_0x39ed7f(0x3a1)][_0x39ed7f(0x3ef)]();});}else{const _0x4bc4b4=this[_0x465a1b(0x1a5)](),_0x356ebc=_0x4bc4b4[_0x465a1b(0x584)](_0x3cfe53=>_0x3cfe53['id']===_0x51807d['id']);if(!_0x356ebc)return;const _0x4c9bc0=this[_0x465a1b(0x541)][_0x465a1b(0x3cc)](),_0x1f0e6f=_0x4c9bc0[_0x465a1b(0x48c)];if(_0x1f0e6f)return;this[_0x465a1b(0xf7)][_0x465a1b(0x126)]();const _0x4c09c3={'zoomToFit':()=>this['zoomToFit'](),'getSectionsWithCoords':()=>this[_0x465a1b(0x1a5)]()};this[_0x465a1b(0x541)][_0x465a1b(0x46f)](_0x356ebc,_0x4c09c3)['then'](_0xa19bc6=>{const _0x3dc029=_0x465a1b;if(!_0xa19bc6){this[_0x3dc029(0xf7)][_0x3dc029(0x53d)](),this[_0x3dc029(0x3ef)]();return;}_0x51807d['id']!==void 0x0&&this[_0x3dc029(0x1dc)](_0x51807d['id'],{'focus':!![]}),this[_0x3dc029(0xf7)][_0x3dc029(0x53d)](),this[_0x3dc029(0x3ef)]();});}}[_0x518421(0x497)](){const _0x569810=_0x518421;if(this['context'][_0x569810(0x398)][_0x569810(0x525)]){const _0x25bd05=WebGLCanvasLayer[_0x569810(0x14d)]();if(_0x25bd05)return new WebGLCanvasLayer(this['context']);}return new HTMLCanvasLayer(this['context']);}[_0x518421(0x2d7)](_0x36e39e){const _0x3d09d6=_0x518421;if(!this[_0x3d09d6(0x2b3)]['enable3DView']){console[_0x3d09d6(0x495)](_0x3d09d6(0x1c6));return;}_0x36e39e['rotationZ']!==void 0x0&&(this[_0x3d09d6(0x2b3)][_0x3d09d6(0x183)]=_0x36e39e[_0x3d09d6(0x183)]),_0x36e39e[_0x3d09d6(0x1d5)]!==void 0x0&&(this[_0x3d09d6(0x2b3)][_0x3d09d6(0x1d5)]=_0x36e39e[_0x3d09d6(0x1d5)]),_0x36e39e[_0x3d09d6(0x1fb)]!==void 0x0&&(this[_0x3d09d6(0x2b3)][_0x3d09d6(0x1fb)]=_0x36e39e[_0x3d09d6(0x1fb)]),this[_0x3d09d6(0x541)]&&_0x3d09d6(0x20c)in this[_0x3d09d6(0x541)]?this[_0x3d09d6(0x541)]['forceRedraw']():this[_0x3d09d6(0x541)][_0x3d09d6(0x3ef)](),this['selectionLayer'][_0x3d09d6(0x3ef)](),this['outlineLayer']&&this['outlineLayer'][_0x3d09d6(0x490)]();}[_0x518421(0x41f)](){const _0xc4def2=_0x518421;return{'enable3DView':this[_0xc4def2(0x2b3)][_0xc4def2(0x4f0)],'rotationZ':this['context'][_0xc4def2(0x183)],'perspectiveZ':this[_0xc4def2(0x2b3)]['perspectiveZ'],'tiltX':this[_0xc4def2(0x2b3)][_0xc4def2(0x1fb)]};}[_0x518421(0x203)](_0x22c053,_0x3b8054=0x320){const _0x41c7d2=_0x518421;if(!this[_0x41c7d2(0x2b3)][_0x41c7d2(0x4f0)])return console[_0x41c7d2(0x495)](_0x41c7d2(0x1c6)),Promise[_0x41c7d2(0x1fe)]();return animate3D({'rotationZ':this[_0x41c7d2(0x2b3)][_0x41c7d2(0x183)],'perspectiveZ':this[_0x41c7d2(0x2b3)]['perspectiveZ'],'tiltX':this[_0x41c7d2(0x2b3)][_0x41c7d2(0x1fb)]},_0x22c053,_0x3b8054,({rotationZ:_0x515628,perspectiveZ:_0x1f9338,tiltX:_0x190ad9})=>{const _0x2ba2a1=_0x41c7d2;var _0x3f3ab2;if(_0x515628!==void 0x0)this['context'][_0x2ba2a1(0x183)]=_0x515628;if(_0x1f9338!==void 0x0)this[_0x2ba2a1(0x2b3)][_0x2ba2a1(0x1d5)]=_0x1f9338;if(_0x190ad9!==void 0x0)this[_0x2ba2a1(0x2b3)]['tiltX']=_0x190ad9;this['stageLayer']&&'forceRedraw'in this[_0x2ba2a1(0x541)]?this['stageLayer'][_0x2ba2a1(0x20c)]():this[_0x2ba2a1(0x541)][_0x2ba2a1(0x3ef)](),this[_0x2ba2a1(0x3a1)][_0x2ba2a1(0x3ef)](),(_0x3f3ab2=this[_0x2ba2a1(0xf7)])==null?void 0x0:_0x3f3ab2[_0x2ba2a1(0x490)]();});}['animateRotation'](_0x4f22d6){const _0x413e72=_0x518421;if(!this[_0x413e72(0x2b3)][_0x413e72(0x4f0)])return console['warn'](_0x413e72(0x1c6)),null;if(this[_0x413e72(0x4a1)][_0x413e72(0x603)]())return this[_0x413e72(0x4a1)][_0x413e72(0x149)](_0x4f22d6),null;this[_0x413e72(0x116)][_0x413e72(0x603)]()&&this['rotationAnimation'][_0x413e72(0x482)]();this[_0x413e72(0x5ad)][_0x413e72(0x469)](_0x413e72(0x2dd));const _0x2a22d1=this[_0x413e72(0x116)][_0x413e72(0x5ae)](_0x4f22d6,_0x34a7da=>{const _0x4200cd=_0x413e72;var _0x599076;this[_0x4200cd(0x2b3)][_0x4200cd(0x183)]=_0x34a7da,this[_0x4200cd(0x541)]&&_0x4200cd(0x20c)in this[_0x4200cd(0x541)]?this['stageLayer'][_0x4200cd(0x20c)]():this['stageLayer']['redraw'](),this[_0x4200cd(0x3a1)][_0x4200cd(0x3ef)](),(_0x599076=this[_0x4200cd(0xf7)])==null?void 0x0:_0x599076[_0x4200cd(0x490)]();});return _0x2a22d1;}[_0x518421(0x43c)](){const _0x1b3ae5=_0x518421;this[_0x1b3ae5(0x116)][_0x1b3ae5(0x603)]()&&(this[_0x1b3ae5(0x116)][_0x1b3ae5(0x482)](),this['service']['send'](_0x1b3ae5(0x5ba)));}['isRotationAnimationRunning'](){const _0x185232=_0x518421;return this[_0x185232(0x116)][_0x185232(0x603)]();}[_0x518421(0x27e)](){const _0x406493=_0x518421;return this[_0x406493(0x116)]['getAnimationId']();}[_0x518421(0x199)](_0x31f65e){const _0x2b3978=_0x518421;var _0x25341e,_0x3efc59;this['context']['settings'][_0x2b3978(0x384)]=_0x31f65e,_0x31f65e?(_0x25341e=this[_0x2b3978(0xf7)])==null?void 0x0:_0x25341e[_0x2b3978(0x200)]():(_0x3efc59=this['outlineLayer'])==null?void 0x0:_0x3efc59[_0x2b3978(0x19b)]();}[_0x518421(0x32f)](){const _0x4efb7f=_0x518421;return this[_0x4efb7f(0x2b3)]['settings'][_0x4efb7f(0x384)]||![];}[_0x518421(0x4e9)](){const _0x5cb901=_0x518421;this[_0x5cb901(0x189)]&&this[_0x5cb901(0x189)][_0x5cb901(0x53d)]();}[_0x518421(0x60d)](){const _0x1d9698=_0x518421;this[_0x1d9698(0x189)]&&this[_0x1d9698(0x189)]['hide']();}['toggleMinimap'](){const _0x59e61e=_0x518421;var _0x4f4280;if(this[_0x59e61e(0x189)]){const _0x25bb77=((_0x4f4280=this[_0x59e61e(0x189)][_0x59e61e(0x376)])==null?void 0x0:_0x4f4280['style'][_0x59e61e(0x436)])!==_0x59e61e(0x480);_0x25bb77?this[_0x59e61e(0x189)][_0x59e61e(0x126)]():this[_0x59e61e(0x189)]['show']();}}[_0x518421(0x2f9)](_0x7cd2bf){const _0xbc936e=_0x518421;this[_0xbc936e(0x189)]&&(this[_0xbc936e(0x189)][_0xbc936e(0x350)](_0x7cd2bf),this[_0xbc936e(0x4fe)]());}[_0x518421(0x38b)](_0x20875c){const _0x356e74=_0x518421;this[_0x356e74(0x189)]&&this[_0x356e74(0x189)]['setPosition'](_0x20875c);}},getOffset=_0x152980=>{const _0x51b4bc=_0x518421,_0x1f69c6=_0x152980[_0x51b4bc(0x27b)](),_0x21ba7e=document[_0x51b4bc(0x3cf)];let _0x17bbbe=window['scrollX'],_0xbdb5d3=window['scrollY'];return _0x21ba7e&&(_0x17bbbe=_0x17bbbe||_0x21ba7e[_0x51b4bc(0x471)],_0xbdb5d3=_0xbdb5d3||_0x21ba7e[_0x51b4bc(0x41a)]),{'top':_0x1f69c6[_0x51b4bc(0x349)]+_0xbdb5d3,'left':_0x1f69c6['left']+_0x17bbbe};},getSeatsWithUpdatedCoords=({seats:_0x237168,background:_0x4dcf1f})=>_0x237168[_0x518421(0x52b)](_0x2575dd=>({..._0x2575dd,'x':_0x2575dd['x']-_0x4dcf1f[_0x518421(0x172)]['x'],'y':_0x2575dd['y']-_0x4dcf1f[_0x518421(0x172)]['y']})),isGaOutline=_0x2688af=>{const _0x47d837=_0x518421,_0xc5ddd6=_0x2688af[_0x47d837(0x1b1)](_0x47d837(0x198));if(!_0xc5ddd6)return![];return!!_0xc5ddd6&&(_0xc5ddd6[_0x47d837(0x369)](_0x47d837(0x61a))!==-0x1||_0xc5ddd6['indexOf'](_0x47d837(0x5d8))!==-0x1||_0xc5ddd6[_0x47d837(0x369)](_0x47d837(0x606))!==-0x1);},isSectionOutline=_0x245c61=>{const _0x552509=_0x518421,_0x188c2c=_0x245c61['getAttribute']('class');if(!_0x188c2c)return![];return!!_0x188c2c&&_0x188c2c[_0x552509(0x369)](OUTLINE_CLASS)!==-0x1;},BookingApiClient=class{constructor(_0x3d21e9){const _0x48d3aa=_0x518421;this[_0x48d3aa(0x398)]={..._0x3d21e9};}async['fetchSchema'](_0x54c4cb){const _0x48ddc9=_0x518421,_0x32a607=await this[_0x48ddc9(0x476)](_0x48ddc9(0x628)+_0x54c4cb+_0x48ddc9(0x35f)+this[_0x48ddc9(0x398)]['publicKey']);return this[_0x48ddc9(0x413)](_0x32a607);}async['fetchSchemaForVenue'](_0x126a60){const _0x4b782b=_0x518421,_0x32d518=await this['request'](_0x4b782b(0x3a4)+_0x126a60+_0x4b782b(0x35f)+this['settings'][_0x4b782b(0x234)]);_0x32d518[_0x4b782b(0x122)]=this['unpackSchemaDTO'](_0x32d518[_0x4b782b(0x516)]);const {seatmap:_0x206607,..._0x38bd31}=_0x32d518;return _0x38bd31;}async[_0x518421(0x4d9)](_0x306bc0){const _0x2eee3e=_0x518421,_0x3599e1=this['settings']['debug']?_0x2eee3e(0x148)+this['settings']['debug']:'',_0x25dc1e=await this['request'](_0x2eee3e(0x548)+_0x306bc0+'&publicKey='+this[_0x2eee3e(0x398)][_0x2eee3e(0x234)]+_0x2eee3e(0x357)+_0x3599e1);return this[_0x2eee3e(0x413)](_0x25dc1e);}[_0x518421(0x413)](_0x5ea553){const _0x23a431=_0x518421,_0x5d74de=_0x5ea553[_0x23a431(0x557)];if(_0x5d74de==null?void 0x0:_0x5d74de[_0x23a431(0x2e1)]){const _0x2cad80=_0x5d74de[_0x23a431(0x2e1)][_0x23a431(0x508)](/<svg[^>]*>/);if(_0x2cad80){const _0x546143=_0x2cad80[0x0];!_0x546143[_0x23a431(0x4bd)](_0x23a431(0x403))&&!_0x546143[_0x23a431(0x4bd)](_0x23a431(0x2fe))&&(_0x5d74de[_0x23a431(0x2e1)]=_0x5d74de[_0x23a431(0x2e1)][_0x23a431(0xf2)](_0x23a431(0x479),_0x23a431(0x462)+_0x5d74de['viewBox'][_0x23a431(0x28a)]+_0x23a431(0x1aa)+_0x5d74de[_0x23a431(0x172)]['height']+_0x23a431(0x330)));}}return{..._0x5ea553,'plainSeats':void 0x0,'seats':this[_0x23a431(0x542)](_0x5ea553[_0x23a431(0x40b)],_0x5ea553==null?void 0x0:_0x5ea553[_0x23a431(0x35d)]),'rows':this[_0x23a431(0x492)](_0x5ea553['rows']),'sectors':this[_0x23a431(0x492)](_0x5ea553[_0x23a431(0x36c)])};}async[_0x518421(0x573)](_0x56482b){const _0x1bdfab=_0x518421;return this[_0x1bdfab(0x476)]('event/prices/?id='+_0x56482b+_0x1bdfab(0x35f)+this[_0x1bdfab(0x398)][_0x1bdfab(0x234)]);}async[_0x518421(0x52d)](_0x50006b){const _0x16e205=_0x518421;return this['requestPlain']('event/schema/rows/?id='+_0x50006b+_0x16e205(0x35f)+this[_0x16e205(0x398)][_0x16e205(0x234)]);}async[_0x518421(0x476)](_0x4206d2){const _0x145555=_0x518421;try{const _0x1df7ec=new Request(concatUrlParts(this['settings'][_0x145555(0x2a8)],_0x4206d2),{'method':'GET'}),_0x229149=Date['now'](),_0x3c58e3=await fetch(_0x1df7ec),_0x3f4cf8=Date[_0x145555(0x12b)]()-_0x229149;if(!_0x3c58e3['ok'])throw new Error(_0x145555(0x310)+_0x3c58e3[_0x145555(0x5a2)]+':\x20'+_0x3c58e3[_0x145555(0x14b)]);const _0x1dc91b=await _0x3c58e3[_0x145555(0x1a6)]();try{const _0x506003=JSON[_0x145555(0x3c4)](_0x1dc91b);return _0x506003['requestTime']=_0x3f4cf8,_0x506003[_0x145555(0x282)]=_0x1dc91b[_0x145555(0x287)],_0x506003;}catch(_0x2c0856){throw new Error(_0x145555(0x4b6)+_0x2c0856[_0x145555(0x2ff)]);}}catch(_0x4f84ca){console[_0x145555(0x452)]('Error\x20in\x20request\x20to\x20'+_0x4206d2+':',_0x4f84ca);throw _0x4f84ca;}}async[_0x518421(0x405)](_0x35c425){const _0x1180c0=_0x518421;try{const _0x228bbf=new Request(concatUrlParts(this[_0x1180c0(0x398)]['baseUrl'],_0x35c425),{'method':_0x1180c0(0x3e0)}),_0x360f99=Date[_0x1180c0(0x12b)](),_0x2aa592=await fetch(_0x228bbf),_0x14e5fa=Date['now']()-_0x360f99;if(!_0x2aa592['ok'])throw new Error(_0x1180c0(0x310)+_0x2aa592['status']+':\x20'+_0x2aa592['statusText']);const _0x56e7ac=await _0x2aa592[_0x1180c0(0x1a6)](),_0x1e4d19={'data':_0x56e7ac,'requestTime':_0x14e5fa,'responseSize':_0x56e7ac['length']};return _0x1e4d19;}catch(_0x5b1e14){console[_0x1180c0(0x452)](_0x1180c0(0x5eb)+_0x35c425+':',_0x5b1e14);throw _0x5b1e14;}}['restoreSeats'](_0x5c9dca,_0x6315e6){const _0x2f744f=_0x518421;var _0x196822,_0x1deaec;const _0x59646d=[];let _0x3af6b5=0x0,_0x67d46a=0x0,_0x437078=0x0,_0x3258be=0x0,_0x55a0b1=0x0;for(let _0x59412a=0x0;_0x59412a<_0x5c9dca[_0x2f744f(0x1dd)][_0x2f744f(0x287)];_0x59412a++){const _0x1a6c5d=_0x5c9dca[_0x2f744f(0x1dd)][_0x59412a]+_0x3af6b5,_0x1261fc=_0x5c9dca['x'][_0x59412a]+_0x67d46a,_0x1553ff=_0x5c9dca['y'][_0x59412a]+_0x437078,_0x565b3d=_0x5c9dca[_0x2f744f(0x3d8)][_0x59412a],_0x326112=_0x5c9dca[_0x2f744f(0x463)][_0x59412a]+_0x3258be,_0x155303=_0x5c9dca[_0x2f744f(0x5ed)][_0x59412a]+_0x55a0b1,_0x1b2595=(_0x196822=_0x6315e6==null?void 0x0:_0x6315e6[_0x2f744f(0x5f1)])==null?void 0x0:_0x196822[_0x2f744f(0x4bd)](_0x1a6c5d),_0x3c2137=(_0x1deaec=_0x6315e6==null?void 0x0:_0x6315e6[_0x2f744f(0x5a8)])==null?void 0x0:_0x1deaec['includes'](_0x1a6c5d);_0x59646d[_0x2f744f(0x1be)]({'id':_0x1a6c5d,'x':_0x1261fc,'y':_0x1553ff,'name':_0x565b3d,'rowId':_0x326112,'sectorId':_0x155303,'isAccessible':_0x1b2595,'isMarked':_0x3c2137}),_0x3af6b5=_0x1a6c5d,_0x67d46a=_0x1261fc,_0x437078=_0x1553ff,_0x3258be=_0x326112,_0x55a0b1=_0x155303;}return _0x59646d;}[_0x518421(0x492)](_0x376f6c){const _0x3f1bed=_0x518421,_0x1571ca=[];let _0x1cf467=0x0;for(let _0x2249f5=0x0;_0x2249f5<_0x376f6c[_0x3f1bed(0x287)];_0x2249f5++){const _0x35a506=_0x376f6c[_0x2249f5],_0x188d71=_0x35a506['id']+_0x1cf467;_0x1571ca[_0x3f1bed(0x1be)]({..._0x35a506,'id':_0x188d71}),_0x1cf467=_0x188d71;}return _0x1571ca;}},concatUrlParts=(_0x2fa11c,_0x269c7b)=>{const _0x131515=_0x518421;return _0x2fa11c[_0x131515(0xf2)](/\/$/,'')+'/'+_0x269c7b[_0x131515(0xf2)](/^\//,'');};import{createMachine,guard,reduce,state,transition}from'robot3';var DEFAULT_SCALE=0x1,context=()=>({'scale':DEFAULT_SCALE,'isEagleView':![],'mode':_0x518421(0x47d),'events':[]}),getSelectMode=({altKey:_0xb376e4,shiftKey:_0x2b7672})=>{const _0x2018b3=_0x518421;if(_0xb376e4&&!_0x2b7672)return _0x2018b3(0x182);if(!_0xb376e4&&_0x2b7672)return _0x2018b3(0x2f0);return _0x2018b3(0xf2);},dragToSelect=(_0xd5db8b,_0x227662)=>{const _0x36632a=_0x518421,_0x9079c2={'type':_0x36632a(0x321),'selectMode':getSelectMode(_0x227662),'rect':{'x':_0x227662['origin']['x'],'y':_0x227662[_0x36632a(0x31d)]['y'],'width':_0x227662['delta']['x'],'height':_0x227662['delta']['y']},'isStart':_0x227662['type']===_0x36632a(0x36f),'isFinish':_0x227662[_0x36632a(0x147)]==='srcDragEnd','isRowsMode':_0xd5db8b[_0x36632a(0x3a0)]===_0x36632a(0x3de)};return{..._0xd5db8b,'events':[_0x9079c2]};},dragToPan=(_0x123c43,_0x113f96)=>{const _0x3f85af=_0x518421,_0x22c9c0={'type':'destPan','delta':_0x113f96[_0x3f85af(0x61c)],'isStart':_0x113f96[_0x3f85af(0x147)]===_0x3f85af(0x36f),'isFinish':_0x113f96[_0x3f85af(0x147)]===_0x3f85af(0x29c)};return{..._0x123c43,'events':[_0x22c9c0]};},click=(_0x1d43c0,_0x597484)=>{const _0x4e5f00=_0x518421;var _0x105d4e;let _0x672ff5=[];const _0x3dc866=_0x1d43c0[_0x4e5f00(0x3a0)]===_0x4e5f00(0x472);if(_0x3dc866&&_0x1d43c0[_0x4e5f00(0x108)])_0x672ff5=[{'type':_0x4e5f00(0x143),'scale':DEFAULT_SCALE,'origin':_0x597484[_0x4e5f00(0x543)]}];else{if(_0x3dc866){}else{if((_0x105d4e=_0x597484[_0x4e5f00(0x141)])==null?void 0x0:_0x105d4e['ga'])_0x672ff5=[{'type':'destSectionClick','point':_0x597484[_0x4e5f00(0x543)],'section':_0x597484[_0x4e5f00(0x141)]}];else{if(_0x597484['seat'])_0x672ff5=[{'type':'destSeatSelect','selectMode':getSelectMode(_0x597484),'point':_0x597484['point'],'seat':_0x597484[_0x4e5f00(0x56b)],'isRowsMode':_0x1d43c0[_0x4e5f00(0x3a0)]===_0x4e5f00(0x3de)}];else getSelectMode(_0x597484)===_0x4e5f00(0xf2)&&(_0x672ff5=[{'type':'destDeselect'}]);}}}return{..._0x1d43c0,'events':_0x672ff5};},updateHover=(_0x6a770a,_0x10f3d2,_0x371428)=>{const _0xabdefa=_0x518421;if(_0x6a770a[_0xabdefa(0x417)]&&_0x6a770a[_0xabdefa(0x417)][_0xabdefa(0x3ff)]===_0x10f3d2&&_0x6a770a[_0xabdefa(0x417)]['id']===_0x371428['id'])return _0x6a770a;const _0x350d58=[];if(_0x6a770a[_0xabdefa(0x417)])switch(_0x6a770a[_0xabdefa(0x417)][_0xabdefa(0x3ff)]){case _0xabdefa(0x56b):_0x350d58[_0xabdefa(0x1be)]({'type':_0xabdefa(0x513)});break;case _0xabdefa(0x141):_0x350d58[_0xabdefa(0x1be)]({'type':_0xabdefa(0x467)});}switch(_0x10f3d2){case _0xabdefa(0x56b):_0x350d58[_0xabdefa(0x1be)]({'type':_0xabdefa(0xf1),'seat':_0x371428,'isRowsMode':_0x6a770a[_0xabdefa(0x3a0)]===_0xabdefa(0x3de)});break;case _0xabdefa(0x141):_0x350d58[_0xabdefa(0x1be)]({'type':_0xabdefa(0x180),'section':_0x371428});break;}return{..._0x6a770a,'hovered':{'targetType':_0x10f3d2,'id':_0x371428['id']},'events':_0x350d58};},mouseMove=(_0x5ab7d9,_0x58d117)=>{const _0xc84a04=_0x518421;var _0x38a29d;const _0x229b86=_0x5ab7d9[_0xc84a04(0x3a0)]===_0xc84a04(0x472);if(_0x229b86)return _0x5ab7d9;if((_0x38a29d=_0x58d117[_0xc84a04(0x141)])==null?void 0x0:_0x38a29d['ga'])return updateHover(_0x5ab7d9,_0xc84a04(0x141),_0x58d117[_0xc84a04(0x141)]);else{if(_0x58d117['seat'])return updateHover(_0x5ab7d9,_0xc84a04(0x56b),_0x58d117['seat']);else{if(_0x5ab7d9[_0xc84a04(0x417)]){let _0x5361d0;switch(_0x5ab7d9[_0xc84a04(0x417)][_0xc84a04(0x3ff)]){case _0xc84a04(0x56b):_0x5361d0={'type':_0xc84a04(0x513)};break;case _0xc84a04(0x141):_0x5361d0={'type':'destSectionMouseLeave'};break;}return{..._0x5ab7d9,'hovered':void 0x0,'events':[_0x5361d0]};}}}return _0x5ab7d9;},contextChange=(_0x1b221d,_0x384791)=>{const {type:_0x3b61d4,..._0x40e56a}=_0x384791;return{..._0x1b221d,..._0x40e56a};},contextChangeTransition=transition('contextchange',_0x518421(0x3fb),reduce(contextChange)),isSelectMode=_0x58b99f=>_0x58b99f[_0x518421(0x3a0)]==='select'||_0x58b99f[_0x518421(0x3a0)]===_0x518421(0x3de),machine=createMachine({'idle':state(contextChangeTransition,transition(_0x518421(0x322),_0x518421(0x3fb),reduce(click)),transition(_0x518421(0x36f),_0x518421(0x2ac),reduce(dragToSelect),guard(isSelectMode)),transition('srcDragStart','panning',reduce(dragToPan)),transition(_0x518421(0x1a3),_0x518421(0x3fb),reduce(mouseMove))),'panning':state(contextChangeTransition,transition(_0x518421(0x4d8),_0x518421(0x50e),reduce(dragToPan)),transition('srcDragEnd',_0x518421(0x3fb),reduce(dragToPan))),'selecting':state(contextChangeTransition,transition(_0x518421(0x4d8),_0x518421(0x2ac),reduce(dragToSelect)),transition(_0x518421(0x29c),'idle',reduce(dragToSelect)))},context),machine_default=machine,COLOR_UNAVAILABLE='#bbb',DEFAULT_SIZE=0x18,theme={'gridStep':0xe,'bgColor':_0x518421(0x249),'priceColors':[[_0x518421(0x4ae),'#673AB7',_0x518421(0x3d6),'#2196F3',_0x518421(0x4cb),'#009688',_0x518421(0x132),'#CDDC39','#FFC107','#FF9800','#FF5722','#F44336',_0x518421(0x53a)],['#2196F3'],[_0x518421(0x1fd),'#FFC107'],[_0x518421(0x20b),_0x518421(0x1fd),_0x518421(0x54a)]],'colorCategories':[_0x518421(0x4ae),_0x518421(0x20b),_0x518421(0x3d6),_0x518421(0x1fd),_0x518421(0x4cb),_0x518421(0x368),_0x518421(0x132),_0x518421(0x2fc),_0x518421(0x54a),_0x518421(0x102),_0x518421(0x612),_0x518421(0x366),_0x518421(0x53a)],'seatStyles':{'default':{'size':DEFAULT_SIZE,'color':COLOR_UNAVAILABLE,'seatName':{'font':'11px\x20Roboto,\x20Arial,\x20sans-serif','color':_0x518421(0xf3)},'accessible':{'size':DEFAULT_SIZE,'color':COLOR_UNAVAILABLE,'imageId':_0x518421(0x5f1)}},'unavailable':{'size':0x6,'color':COLOR_UNAVAILABLE},'filtered':{'size':0xa,'color':COLOR_UNAVAILABLE},'hovered':{'size':DEFAULT_SIZE,'color':COLOR_UNAVAILABLE,'seatName':{'font':_0x518421(0x3ed),'color':_0x518421(0xf3)},'stroke':{'width':0x2,'color':_0x518421(0x53f),'align':_0x518421(0x307)}},'selected':{'size':DEFAULT_SIZE,'color':COLOR_UNAVAILABLE,'stroke':{'width':0x2,'color':_0x518421(0x53f),'align':_0x518421(0x307)},'seatName':{'font':_0x518421(0x3ed),'color':_0x518421(0x2f6)}}},'svgSectionStyles':{'default':{},'unavailable':{},'hovered':{},'selected':{}}},theme_default2=theme,defaults={'debounceDelay':0x190,'zoomAnimationDuration':0x190,'seatSelectionMinZoom':0.66,'theme':theme_default2,'onBeforeSeatDraw':_0x48ed8d=>{const _0x1d1f84=_0x518421;var _0x4486e6,_0x368d36,_0x25ffd3,_0x1f94b1;const _0x54c89f=Object[_0x1d1f84(0x2a4)]({},_0x48ed8d[_0x1d1f84(0x1a9)]),_0x58cf95=(_0x4486e6=_0x48ed8d[_0x1d1f84(0x2b3)][_0x1d1f84(0x398)]['theme'])==null?void 0x0:_0x4486e6[_0x1d1f84(0x33f)];if((((_0x368d36=_0x48ed8d[_0x1d1f84(0x56b)]['special'])==null?void 0x0:_0x368d36[_0x1d1f84(0x616)])||((_0x25ffd3=_0x48ed8d['seat'][_0x1d1f84(0x20f)])==null?void 0x0:_0x25ffd3[_0x1d1f84(0x616)])===0x0)&&(_0x58cf95==null?void 0x0:_0x58cf95['length'])){if((_0x1f94b1=_0x48ed8d[_0x1d1f84(0x2b3)]['categoriesColor'])==null?void 0x0:_0x1f94b1[_0x48ed8d[_0x1d1f84(0x56b)]['special']['category']])_0x54c89f[_0x1d1f84(0x247)]=_0x48ed8d[_0x1d1f84(0x2b3)][_0x1d1f84(0x5b1)][_0x48ed8d['seat'][_0x1d1f84(0x20f)][_0x1d1f84(0x616)]];else _0x54c89f[_0x1d1f84(0x247)]=_0x58cf95[_0x48ed8d['seat']['special'][_0x1d1f84(0x616)]%_0x58cf95[_0x1d1f84(0x287)]];}return _0x54c89f;}},defaults_default=defaults,SeatmapAdminRenderer=class extends Renderer{constructor(_0x2e5ff7,_0x5908df){const _0x5eadb4=_0x518421;super(_0x2e5ff7,machine_default,mergeSettings(defaults_default,_0x5908df));const _0x4f8d61=_0x5908df&&_0x5908df[_0x5eadb4(0x5d5)];let _0x5c10e7='';switch(_0x4f8d61){case _0x5eadb4(0x390):_0x5c10e7=window['location'][_0x5eadb4(0x31d)]+'/api/public/v1.0/';break;case _0x5eadb4(0x24e):_0x5c10e7=_0x5eadb4(0x5c1);break;default:_0x5c10e7=_0x5eadb4(0x15e);}const _0x1560ce=_0x5908df&&_0x5908df['baseUrl']||_0x5c10e7,_0x1e33d3=_0x5908df&&_0x5908df['publicKey'];if(!_0x1e33d3)throw new Error('Public\x20key\x20is\x20undefined');this[_0x5eadb4(0x319)]=new BookingApiClient({'baseUrl':_0x1560ce,'publicKey':_0x1e33d3,'debug':_0x5908df==null?void 0x0:_0x5908df[_0x5eadb4(0x4e8)]});}['setMode'](_0x32d03e){const _0x627220=_0x518421;return super[_0x627220(0x395)](_0x32d03e),this[_0x627220(0xf7)]?(_0x32d03e===_0x627220(0x472)?this[_0x627220(0xf7)][_0x627220(0x126)]():this[_0x627220(0xf7)][_0x627220(0x53d)](),!![]):![];}async[_0x518421(0xfe)](_0x5b72da){const _0x1c9727=_0x518421,_0x11b1c6=await this[_0x1c9727(0x319)]['fetchSchemaForEvent'](_0x5b72da);await this[_0x1c9727(0x5f4)](_0x11b1c6);}async[_0x518421(0x325)](_0x23fff1){const _0x4dc1ee=_0x518421,_0x5813b1=await this['apiClient']['fetchSchema'](_0x23fff1);await this[_0x4dc1ee(0x5f4)](_0x5813b1);}};import{nanoid}from'nanoid';var STATS_URL=_0x518421(0x23e),isLocalhost=()=>location[_0x518421(0x425)]===_0x518421(0x1c8)||location[_0x518421(0x425)]===_0x518421(0x4c2)||location[_0x518421(0x425)]==='0.0.0.0',BookingStats=class{constructor(){const _0xf9711f=_0x518421;this['initTime']=-0x1,this['requestNumber']=0x0,this['sessionId']=nanoid(),this[_0xf9711f(0x14e)]=Date['now']();}[_0x518421(0x476)](_0x26afce,_0x2e1485){const _0x5401ca=_0x518421;if(isLocalhost())return;const _0x25b75e={..._0x2e1485,'sessionId':this[_0x5401ca(0x51e)],'requestNumber':++this[_0x5401ca(0x125)],'version':VERSION},_0x28193a=new Request(STATS_URL+_0x26afce,{'method':'POST','body':JSON[_0x5401ca(0x2bb)](_0x25b75e),'mode':_0x5401ca(0x109)});fetch(_0x28193a);}[_0x518421(0x20e)](_0xca9a2b){const _0x9e00c8=_0x518421,_0x1876fe={'eventId':this[_0x9e00c8(0x5fe)],'seatCount':this[_0x9e00c8(0x4b2)],'availableSeatCount':this[_0x9e00c8(0x521)],'schemaRequestTime':this[_0x9e00c8(0x1b7)],'schemaResponseSize':this[_0x9e00c8(0x5c6)],'pricesRequestTime':this[_0x9e00c8(0x5ee)],'pricesResponseSize':this[_0x9e00c8(0x337)],'viewBox':_0xca9a2b,'screenWidth':window['screen'][_0x9e00c8(0x28a)],'screenHeight':window[_0x9e00c8(0x272)][_0x9e00c8(0x52c)],'initTime':this[_0x9e00c8(0x158)],'pathUrl':this[_0x9e00c8(0x12f)],'eventName':this[_0x9e00c8(0xf4)],'tags':this[_0x9e00c8(0x53e)],'version':VERSION};this['request'](_0x9e00c8(0x3af),_0x1876fe);}['sendViewBox'](_0x1a2a60){const _0xf7b2e6=_0x518421;this[_0xf7b2e6(0x476)](_0xf7b2e6(0x34d),{'viewBox':_0x1a2a60});}['sendSeatSelect'](_0x14509a){const _0xb62da2=_0x518421;this[_0xb62da2(0x476)](_0xb62da2(0x45e),_0x14509a);}[_0x518421(0x609)](_0x462ee3){const _0x3717c6=_0x518421;this['request'](_0x3717c6(0x334),_0x462ee3);}},COLOR_UNAVAILABLE2=_0x518421(0x2d9),DEFAULT_SIZE2=0x10,ACCESSIBLE_INCREASE_INDEX=1.625,theme2={'gridStep':0xe,'bgColor':_0x518421(0x249),'priceColors':[[_0x518421(0x4ae),_0x518421(0x20b),_0x518421(0x3d6),_0x518421(0x1fd),'#00BCD4',_0x518421(0x368),_0x518421(0x132),'#CDDC39',_0x518421(0x54a),_0x518421(0x102),_0x518421(0x612),_0x518421(0x366),'#E91E63'],[_0x518421(0x1fd)],['#2196F3','#FFC107'],[_0x518421(0x20b),_0x518421(0x1fd),_0x518421(0x54a)]],'images':{'checkmark':_0x518421(0x38d),'star':_0x518421(0x3a2),'accessible':'<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>','loading':_0x518421(0x601),'error':_0x518421(0x5aa)},'seatStyles':{'default':{'size':DEFAULT_SIZE2,'color':COLOR_UNAVAILABLE2,'accessible':{'size':DEFAULT_SIZE2*ACCESSIBLE_INCREASE_INDEX,'color':COLOR_UNAVAILABLE2,'imageId':'accessible'}},'unavailable':{'size':0x6,'color':COLOR_UNAVAILABLE2},'filtered':{'size':0xa,'color':COLOR_UNAVAILABLE2},'hovered':{'size':0x26,'color':COLOR_UNAVAILABLE2,'seatName':{'font':_0x518421(0x500),'color':_0x518421(0xf3)}},'selected':{'size':0x2a,'color':COLOR_UNAVAILABLE2,'imageId':_0x518421(0x25f),'shadow':{'blur':0x14,'color':_0x518421(0x168)}},'loading':{'size':0x2a,'color':_0x518421(0x1fd),'imageId':_0x518421(0x452),'shadow':{'blur':0x14,'color':_0x518421(0x168)}},'error':{'size':0x2a,'color':_0x518421(0x366),'imageId':_0x518421(0x452),'shadow':{'blur':0x14,'color':_0x518421(0x168)}}},'svgSectionStyles':{'default':{},'unavailable':{'bgColor':_0x518421(0x2cc)},'hovered':{'bgColor':_0x518421(0x2cc),'stroke':{'color':_0x518421(0x1fd),'width':_0x518421(0x220),'opacity':0x1},'cursor':_0x518421(0x520)},'selected':{'bgColor':_0x518421(0x2cc),'stroke':{'color':'#2196F3','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':_0xd92e99=>{const _0x181bfb=_0x518421,_0x44f586=Object[_0x181bfb(0x2a4)]({},_0xd92e99[_0x181bfb(0x1a9)]);return _0xd92e99[_0x181bfb(0x56b)]['priceId']&&!_0xd92e99[_0x181bfb(0x56b)][_0x181bfb(0x570)]&&!_0xd92e99[_0x181bfb(0x56b)][_0x181bfb(0x540)]&&(_0x44f586['color']=_0xd92e99['context'][_0x181bfb(0x5a4)][Number(_0xd92e99[_0x181bfb(0x56b)][_0x181bfb(0x19e)])][_0x181bfb(0x247)]),_0x44f586;},'lockedSeatsFilter':_0x35458e=>!_0x35458e[_0x518421(0x19e)]},defaults_default2=defaults2;import{createMachine as _0x3617b0,state as _0x2035cb,transition as _0x3382c1,reduce as _0x1d3f6a}from'robot3';var DEFAULT_SCALE2=0x1,context2=()=>({'scale':DEFAULT_SCALE2,'isEagleView':![],'events':[]}),dragToPan2=(_0x9fbf74,_0x255fa0)=>{const _0x156a1a=_0x518421,_0x1ad563={'type':_0x156a1a(0x5af),'delta':_0x255fa0[_0x156a1a(0x61c)],'isStart':_0x255fa0['type']===_0x156a1a(0x36f),'isFinish':_0x255fa0[_0x156a1a(0x147)]===_0x156a1a(0x29c)};return{..._0x9fbf74,'events':[_0x1ad563]};},toStagePoint=(_0x185a8b,_0x53d03a)=>{const _0x17ead3=_0x518421,_0x242026=_0x185a8b;if(_0x242026[_0x17ead3(0x4f0)]){const _0x664962=_0x242026[_0x17ead3(0x5fc)]&&_0x242026[_0x17ead3(0x5fc)]()||window[_0x17ead3(0x509)],_0x47efd4=_0x242026[_0x17ead3(0x226)]&&_0x242026['getHeight']()||window[_0x17ead3(0x627)];return unprojectPointFrom3DView(_0x53d03a,{'width':_0x664962,'height':_0x47efd4},{'rotationZ':_0x242026[_0x17ead3(0x183)]||0x0,'perspectiveZ':_0x242026[_0x17ead3(0x1d5)]||0x0,'tiltX':_0x242026[_0x17ead3(0x1fb)]||0x0});}return _0x53d03a;},click2=(_0x2c3989,_0x1c0bfb)=>{const _0x4be116=_0x518421;var _0x27476f,_0xc5f4bd,_0x13c768,_0x3638eb,_0xd34098;let _0x573866=[];const _0x1978e5=toStagePoint(_0x2c3989,_0x1c0bfb[_0x4be116(0x543)]);if((_0x27476f=_0x1c0bfb[_0x4be116(0x141)])==null?void 0x0:_0x27476f['ga'])_0x573866=[{'type':_0x4be116(0x48f),'point':_0x1978e5,'section':_0x1c0bfb[_0x4be116(0x141)]}];else{if(((_0xc5f4bd=_0x1c0bfb[_0x4be116(0x141)])==null?void 0x0:_0xc5f4bd[_0x4be116(0x4eb)])&&((_0x13c768=_0x1c0bfb[_0x4be116(0x141)])==null?void 0x0:_0x13c768[_0x4be116(0x147)])===_0x4be116(0x552))_0x573866=[{'type':_0x4be116(0x48f),'point':_0x1978e5,'section':_0x1c0bfb[_0x4be116(0x141)]}];else{if((_0x3638eb=_0x2c3989[_0x4be116(0x1ba)])==null?void 0x0:_0x3638eb[_0x4be116(0x3fc)][_0x4be116(0x5e3)])_0x573866=[{'type':_0x4be116(0x143),'scale':DEFAULT_SCALE2,'origin':_0x1978e5}];else _0x1c0bfb[_0x4be116(0x56b)]&&((_0xd34098=_0x2c3989[_0x4be116(0x1ba)])==null?void 0x0:_0xd34098[_0x4be116(0x56b)][_0x4be116(0x5e3)])&&(_0x573866=[{'type':_0x4be116(0x201),'point':_0x1978e5,'seat':_0x1c0bfb['seat']}]);}}return{..._0x2c3989,'events':_0x573866};},updateHover2=(_0x5ab966,_0x30b23d,_0x59104b)=>{const _0x199aef=_0x518421;if(_0x5ab966['hovered']&&_0x5ab966[_0x199aef(0x417)][_0x199aef(0x3ff)]===_0x30b23d&&_0x5ab966[_0x199aef(0x417)]['id']===_0x59104b['id'])return _0x5ab966;const _0x1b48a2=[];if(_0x5ab966[_0x199aef(0x417)])switch(_0x5ab966[_0x199aef(0x417)]['targetType']){case _0x199aef(0x56b):_0x1b48a2[_0x199aef(0x1be)]({'type':_0x199aef(0x513)});break;case'section':_0x1b48a2[_0x199aef(0x1be)]({'type':'destSectionMouseLeave'});}switch(_0x30b23d){case _0x199aef(0x56b):_0x1b48a2[_0x199aef(0x1be)]({'type':_0x199aef(0xf1),'seat':_0x59104b});break;case _0x199aef(0x141):_0x1b48a2[_0x199aef(0x1be)]({'type':_0x199aef(0x180),'section':_0x59104b});break;}return{..._0x5ab966,'hovered':{'targetType':_0x30b23d,'id':_0x59104b['id']},'events':_0x1b48a2};},isSeatUnavailable=_0x5e1abf=>{const _0x57bf50=_0x518421;return!!(_0x5e1abf[_0x57bf50(0x540)]||_0x5e1abf[_0x57bf50(0x577)]==='unavailable');},mouseMove2=(_0x96c13,_0x755591)=>{const _0x21593a=_0x518421;var _0x15858a,_0x206c1b,_0x4930ae;if((_0x15858a=_0x755591[_0x21593a(0x141)])==null?void 0x0:_0x15858a['ga'])return updateHover2(_0x96c13,_0x21593a(0x141),_0x755591['section']);else{if(_0x755591['section']&&((_0x206c1b=_0x96c13[_0x21593a(0x1ba)])==null?void 0x0:_0x206c1b[_0x21593a(0x3fc)][_0x21593a(0x5e3)]))return updateHover2(_0x96c13,'section',_0x755591[_0x21593a(0x141)]);else{if(_0x755591['seat']&&((_0x4930ae=_0x96c13['visibility'])==null?void 0x0:_0x4930ae['seat'][_0x21593a(0x5e3)])&&!isSeatUnavailable(_0x755591[_0x21593a(0x56b)]))return updateHover2(_0x96c13,'seat',_0x755591[_0x21593a(0x56b)]);else{if(_0x96c13['hovered']){let _0x4ad689;switch(_0x96c13['hovered'][_0x21593a(0x3ff)]){case _0x21593a(0x56b):_0x4ad689={'type':_0x21593a(0x513)};break;case'section':_0x4ad689={'type':_0x21593a(0x467)};break;}return{..._0x96c13,'hovered':void 0x0,'events':[_0x4ad689]};}}}}return _0x96c13;},contextChange2=(_0x2d8744,_0x32048c)=>{const {type:_0x2e5a4f,..._0x35d6a0}=_0x32048c;return{..._0x2d8744,..._0x35d6a0};},contextChangeTransition2=_0x3382c1(_0x518421(0x124),_0x518421(0x3fb),_0x1d3f6a(contextChange2)),machine2=_0x3617b0({'idle':_0x2035cb(contextChangeTransition2,_0x3382c1(_0x518421(0x322),_0x518421(0x3fb),_0x1d3f6a(click2)),_0x3382c1(_0x518421(0x36f),_0x518421(0x50e),_0x1d3f6a(dragToPan2)),_0x3382c1(_0x518421(0x1a3),'idle',_0x1d3f6a(mouseMove2))),'panning':_0x2035cb(contextChangeTransition2,_0x3382c1(_0x518421(0x4d8),_0x518421(0x50e),_0x1d3f6a(dragToPan2)),_0x3382c1('srcDragEnd','idle',_0x1d3f6a(dragToPan2)))},context2),machine_default2=machine2,round2=_0x4f631c=>Math[_0x518421(0x424)](_0x4f631c*0x64)/0x64,SeatmapBookingRenderer=class extends Renderer{constructor(_0x293c54,_0x554752,_0x485bef){const _0x7294ff=_0x518421;super(_0x293c54,machine_default2,mergeSettings(defaults_default2,_0x554752));(_0x554752==null?void 0x0:_0x554752[_0x7294ff(0x4e8)])&&console[_0x7294ff(0x1d9)]('SeatmapBookingRenderer\x20constructor',_0x554752);this[_0x7294ff(0x53e)]=_0x485bef;const _0x33167d=_0x554752&&_0x554752[_0x7294ff(0x5d5)];let _0x2a26ea=window[_0x7294ff(0x458)][_0x7294ff(0x31d)]+_0x7294ff(0x1a2);switch(_0x33167d){case _0x7294ff(0x390):_0x2a26ea=window[_0x7294ff(0x458)][_0x7294ff(0x31d)]+_0x7294ff(0x1a2);break;case _0x7294ff(0x24e):_0x2a26ea=_0x7294ff(0x5c1);break;default:_0x2a26ea=_0x7294ff(0x15e);}const _0x51ff7d=_0x554752&&_0x554752[_0x7294ff(0x2a8)]||_0x2a26ea,_0x723c99=_0x554752&&_0x554752[_0x7294ff(0x234)];if(!_0x723c99)throw new Error(_0x7294ff(0x59d));this[_0x7294ff(0x319)]=new BookingApiClient({'baseUrl':_0x51ff7d,'publicKey':_0x723c99,'debug':_0x554752==null?void 0x0:_0x554752['debug']});}[_0x518421(0x138)](){const _0x5aa417=_0x518421,_0x2ea64a=window[_0x5aa417(0x4d1)];return{'width':this[_0x5aa417(0x5fc)](),'height':this['getHeight'](),'scale':round2(this[_0x5aa417(0x2b3)][_0x5aa417(0x270)]/_0x2ea64a),'translateX':round2(this[_0x5aa417(0x2b3)][_0x5aa417(0x481)]['x']/_0x2ea64a),'translateY':round2(this[_0x5aa417(0x2b3)][_0x5aa417(0x481)]['y']/_0x2ea64a)};}async['loadEvent'](_0x242d96,_0xf6458d){const _0x5a4110=_0x518421;var _0x4dcd68;this['stats']=new BookingStats(),this[_0x5a4110(0x5a5)]['eventId']=_0x242d96;let [_0x58fda9,_0x3bcf1a,_0x5f45ea]=await Promise[_0x5a4110(0x43b)]([this[_0x5a4110(0x319)][_0x5a4110(0x4d9)](_0x242d96),this['apiClient'][_0x5a4110(0x573)](_0x242d96),this['apiClient']['fetchRowsSvgForEvent'](_0x242d96)]);_0xf6458d&&([_0x58fda9,_0x3bcf1a]=this[_0x5a4110(0x52e)](_0xf6458d,_0x58fda9,_0x3bcf1a));const _0x5e35dc=this[_0x5a4110(0x2b3)][_0x5a4110(0x398)][_0x5a4110(0x240)];this['context'][_0x5a4110(0x398)][_0x5a4110(0x240)]=()=>{const _0x4d4980=_0x5a4110;this[_0x4d4980(0x5a5)][_0x4d4980(0x158)]===-0x1?(this[_0x4d4980(0x5a5)][_0x4d4980(0x158)]=Date[_0x4d4980(0x12b)]()-this[_0x4d4980(0x5a5)]['initStartTime'],this[_0x4d4980(0x5a5)][_0x4d4980(0x20e)](this[_0x4d4980(0x138)]())):this[_0x4d4980(0x5a5)][_0x4d4980(0x139)](this['getViewBox']());if(_0x5e35dc)_0x5e35dc();};if(!this[_0x5a4110(0x603)])return;if(this[_0x5a4110(0x2b3)]['settings'][_0x5a4110(0x3d3)]&&(_0x5f45ea==null?void 0x0:_0x5f45ea[_0x5a4110(0x3c7)])){const _0x127ba5='#sm-rows\x20polyline{fill:none;stroke:none;stroke-width:15px;stroke-linecap:round;}',_0x3d257f=this['context'][_0x5a4110(0x398)][_0x5a4110(0x323)];this['context']['settings'][_0x5a4110(0x323)]=()=>{const _0x5e8c36=_0x5a4110;try{this[_0x5e8c36(0xf7)]&&typeof this[_0x5e8c36(0xf7)][_0x5e8c36(0x626)]===_0x5e8c36(0x118)&&this[_0x5e8c36(0xf7)][_0x5e8c36(0x626)](_0x5f45ea['data'],_0x127ba5);}catch(_0x309926){console[_0x5e8c36(0x495)](_0x5e8c36(0x372),_0x309926);}if(_0x3d257f)_0x3d257f();};}this[_0x5a4110(0x5f4)](_0x58fda9),this[_0x5a4110(0x460)](_0x3bcf1a),this[_0x5a4110(0x2b3)][_0x5a4110(0x222)](_0x3bcf1a),this[_0x5a4110(0x30f)](),this[_0x5a4110(0x5a5)][_0x5a4110(0x4b2)]=this[_0x5a4110(0x2b3)][_0x5a4110(0x339)]['length'],this['stats'][_0x5a4110(0x521)]=this[_0x5a4110(0x2b3)][_0x5a4110(0x339)]['filter'](_0x1ca4e8=>_0x1ca4e8[_0x5a4110(0x19e)])['length'],this['stats'][_0x5a4110(0x1b7)]=_0x58fda9['requestTime'],this[_0x5a4110(0x5a5)][_0x5a4110(0x5c6)]=_0x58fda9['responseSize'],this['stats'][_0x5a4110(0x5ee)]=_0x3bcf1a[_0x5a4110(0x5ca)],this['stats']['pricesResponseSize']=_0x3bcf1a[_0x5a4110(0x282)],this[_0x5a4110(0x5a5)]['pathUrl']=window[_0x5a4110(0x458)][_0x5a4110(0x340)],this[_0x5a4110(0x5a5)]['eventName']=(_0x4dcd68=_0x58fda9[_0x5a4110(0x35d)])==null?void 0x0:_0x4dcd68[_0x5a4110(0xf4)],this[_0x5a4110(0x5a5)]['tags']=this['tags'];const _0x4d9408=this['context'][_0x5a4110(0x398)][_0x5a4110(0x4e0)];this[_0x5a4110(0x2b3)][_0x5a4110(0x398)][_0x5a4110(0x4e0)]=async _0x534082=>{const _0x21885f=_0x5a4110;let _0x2ad97c=void 0x0;if(_0x4d9408)_0x2ad97c=await _0x4d9408(_0x534082);return this[_0x21885f(0x5a5)][_0x21885f(0x602)](this['createStatsSeatRequest'](_0x534082,_0x2ad97c!==![])),_0x2ad97c;};const _0x42741c=this[_0x5a4110(0x2b3)][_0x5a4110(0x398)]['onSeatDeselect'];this['context'][_0x5a4110(0x398)][_0x5a4110(0x271)]=async _0x1f2b04=>{const _0x3cf004=_0x5a4110;let _0x2315d5=void 0x0;if(_0x42741c)_0x2315d5=await _0x42741c(_0x1f2b04);return this['stats'][_0x3cf004(0x609)](this[_0x3cf004(0x3ad)](_0x1f2b04,_0x2315d5!==![])),_0x2315d5;};}[_0x518421(0x3ad)](_0x20b61a,_0x1cfd8d){const _0x12ab4d=_0x518421;return{'key':_0x20b61a[_0x12ab4d(0x453)],'seatId':_0x20b61a['id'],'sectionId':_0x20b61a['sectionId'],'isSuccess':_0x1cfd8d,'price':_0x20b61a[_0x12ab4d(0x4eb)],'ax':round2(_0x20b61a['x']),'ay':round2(_0x20b61a['y']),'viewBox':this['getViewBox']()};}[_0x518421(0x52e)](_0x34e016,_0x4672d8,_0x1bc57c){const _0x5dcead=_0x518421,_0x140ac4=_0x4672d8[_0x5dcead(0x339)][_0x5dcead(0x10b)](_0x413160=>_0x413160[_0x5dcead(0x1b5)]===_0x34e016),_0x2ba287=_0x4672d8[_0x5dcead(0x4b4)]['filter'](_0x54ee8e=>_0x54ee8e[_0x5dcead(0x1b5)]===_0x34e016),_0x40aba8=_0x4672d8[_0x5dcead(0x36c)]['filter'](_0x3d8561=>_0x3d8561['id']===_0x34e016);let _0x4bf954=Infinity,_0x4a4924=Infinity,_0x262e30=-Infinity,_0xaf12a7=-Infinity;for(let _0x4c30e8=0x0;_0x4c30e8<_0x140ac4['length'];_0x4c30e8++){const _0x42bffc=_0x140ac4[_0x4c30e8];if(_0x42bffc['x']<_0x4bf954)_0x4bf954=_0x42bffc['x'];if(_0x42bffc['x']>_0x262e30)_0x262e30=_0x42bffc['x'];if(_0x42bffc['y']<_0x4a4924)_0x4a4924=_0x42bffc['y'];if(_0x42bffc['y']>_0xaf12a7)_0xaf12a7=_0x42bffc['y'];}const _0x1d5c46=0x1c;_0x4bf954-=_0x1d5c46,_0x262e30+=_0x1d5c46,_0x4a4924-=_0x1d5c46,_0xaf12a7+=_0x1d5c46;const _0x314983={'seats':_0x140ac4,'rows':_0x2ba287,'sectors':_0x40aba8,'background':{'svg':_0x5dcead(0x5a9),'viewBox':{'x':_0x4bf954,'y':_0x4a4924,'width':_0x262e30-_0x4bf954,'height':_0xaf12a7-_0x4a4924}}};return[_0x314983,_0x1bc57c];}};export{BookingApiClient,DestEventType,Renderer,RendererSelectMode,RendererTargetType,RotationAnimation,SeatmapAdminRenderer,SeatmapBookingRenderer,SrcEventType,VERSION,convertPricesToColored,convertPricesToColoredById,defaultZoomSettings,mergeSettings,sortPrices};
|
|
1
|
+
const _0x3ad27d=_0x5195;(function(_0x1671e3,_0x3ee1a2){const _0x5ec0a0=_0x5195,_0x1d9b79=_0x1671e3();while(!![]){try{const _0x54e124=parseInt(_0x5ec0a0(0x359))/0x1+-parseInt(_0x5ec0a0(0x52f))/0x2*(-parseInt(_0x5ec0a0(0x565))/0x3)+parseInt(_0x5ec0a0(0x31c))/0x4+parseInt(_0x5ec0a0(0x58c))/0x5+-parseInt(_0x5ec0a0(0x92))/0x6*(-parseInt(_0x5ec0a0(0x54a))/0x7)+parseInt(_0x5ec0a0(0x224))/0x8*(parseInt(_0x5ec0a0(0x53a))/0x9)+parseInt(_0x5ec0a0(0x4ad))/0xa*(-parseInt(_0x5ec0a0(0x4a3))/0xb);if(_0x54e124===_0x3ee1a2)break;else _0x1d9b79['push'](_0x1d9b79['shift']());}catch(_0x2694d0){_0x1d9b79['push'](_0x1d9b79['shift']());}}}(_0x6254,0xa4564));function arrayToObjectById(_0x3f03c6){const _0xe0f59e={};if(!_0x3f03c6)return _0xe0f59e;for(let _0x5f341f=0x0;_0x5f341f<_0x3f03c6['length'];_0x5f341f++){_0xe0f59e[_0x3f03c6[_0x5f341f]['id']]=_0x3f03c6[_0x5f341f];}return _0xe0f59e;}var cubicInOut=_0x33a948=>{const _0x393f76=_0x5195;return 0x1-Math[_0x393f76(0xbf)](0x1-_0x33a948,0x3);},VERSION=_0x3ad27d(0x4d5),dpr=window[_0x3ad27d(0x338)],Layer=class{constructor(_0x1b0bfd){const _0x2ca9cf=_0x3ad27d;this[_0x2ca9cf(0x3b4)]=![],this[_0x2ca9cf(0x204)]=0x0,this['spinnerAnimationId']=null,this[_0x2ca9cf(0x57d)]=0x0,this[_0x2ca9cf(0x5ba)]=new Set(),this[_0x2ca9cf(0xe5)]=_0x1b0bfd,this['canvas']=document['createElement'](_0x2ca9cf(0x48d)),this[_0x2ca9cf(0x48d)]['style'][_0x2ca9cf(0x163)]=_0x2ca9cf(0x9a),this[_0x2ca9cf(0x48d)][_0x2ca9cf(0x2f5)]['left']='0',this[_0x2ca9cf(0xe5)][_0x2ca9cf(0x4d8)]['appendChild'](this[_0x2ca9cf(0x48d)]),this['ctx']=this['canvas'][_0x2ca9cf(0x50c)]('2d'),this[_0x2ca9cf(0x33b)]=document['createElement'](_0x2ca9cf(0x48d)),this[_0x2ca9cf(0x507)]=this[_0x2ca9cf(0x33b)][_0x2ca9cf(0x50c)]('2d'),this[_0x2ca9cf(0x4a6)](),this['isDebug']=this['context']['settings'][_0x2ca9cf(0x4d3)]==='stage';}get[_0x3ad27d(0x3ff)](){const _0x219b7f=_0x3ad27d;return this[_0x219b7f(0xe5)][_0x219b7f(0x4d8)][_0x219b7f(0x1ea)];}get['height'](){const _0x52ff16=_0x3ad27d;return this[_0x52ff16(0xe5)][_0x52ff16(0x4d8)][_0x52ff16(0x160)];}[_0x3ad27d(0x4b7)](){const _0x1ad35e=_0x3ad27d;this[_0x1ad35e(0x55f)][_0x1ad35e(0x31f)](0x0,0x0,this[_0x1ad35e(0x48d)][_0x1ad35e(0x3ff)],this['canvas']['height']),this[_0x1ad35e(0x507)][_0x1ad35e(0x31f)](0x0,0x0,this[_0x1ad35e(0x33b)]['width'],this[_0x1ad35e(0x33b)][_0x1ad35e(0x3a3)]),this[_0x1ad35e(0x48d)][_0x1ad35e(0x3ff)]=0x1,this[_0x1ad35e(0x48d)]['height']=0x1,this['offscreenCanvas'][_0x1ad35e(0x3ff)]=0x1,this[_0x1ad35e(0x33b)][_0x1ad35e(0x3a3)]=0x1,this[_0x1ad35e(0x48d)]['remove'](),this['offscreenCanvas'][_0x1ad35e(0x1e5)](),this['context'][_0x1ad35e(0x4b7)]();}[_0x3ad27d(0x4a6)](){const _0x4a50f6=_0x3ad27d;this[_0x4a50f6(0x48d)][_0x4a50f6(0x3ff)]=this[_0x4a50f6(0x3ff)]*dpr,this[_0x4a50f6(0x48d)][_0x4a50f6(0x3a3)]=this[_0x4a50f6(0x3a3)]*dpr,this[_0x4a50f6(0x48d)][_0x4a50f6(0x2f5)][_0x4a50f6(0x3a3)]=this['height']+'px',this[_0x4a50f6(0x48d)][_0x4a50f6(0x2f5)][_0x4a50f6(0x3ff)]=this[_0x4a50f6(0x3ff)]+'px',this[_0x4a50f6(0x33b)]['width']=this['width']*dpr,this[_0x4a50f6(0x33b)][_0x4a50f6(0x3a3)]=this[_0x4a50f6(0x3a3)]*dpr,this['redraw']();}[_0x3ad27d(0x229)](){const _0x540f9a=_0x3ad27d;this[_0x540f9a(0x581)](),this['drawOnscreenCanvas'](this[_0x540f9a(0xe5)][_0x540f9a(0x143)],this[_0x540f9a(0xe5)][_0x540f9a(0x1d4)]);}['_renderSeat'](_0x1b4018,_0x5988d2,_0xd9ee10,_0x4ebe7f){const _0x230ce8=_0x3ad27d;var _0x59ef1f,_0x2d970e,_0x4fa849;const _0x26dd3d=this['context'];this['context'][_0x230ce8(0x3f7)]['onBeforeSeatDraw']&&(_0xd9ee10=this[_0x230ce8(0xe5)][_0x230ce8(0x3f7)]['onBeforeSeatDraw']({'context':_0x26dd3d,'seat':_0x5988d2,'style':_0xd9ee10,'state':_0x4ebe7f}));_0x1b4018[_0x230ce8(0x397)](),_0x1b4018[_0x230ce8(0x295)]=_0xd9ee10[_0x230ce8(0x262)];if(_0xd9ee10[_0x230ce8(0x1fd)]){_0x1b4018[_0x230ce8(0x5ab)]=_0xd9ee10[_0x230ce8(0x1fd)]['color']||'#000',_0x1b4018[_0x230ce8(0x3bd)]=_0xd9ee10[_0x230ce8(0x1fd)][_0x230ce8(0x474)]*this[_0x230ce8(0xe5)][_0x230ce8(0x143)];if(_0xd9ee10[_0x230ce8(0x1fd)]['x'])_0x1b4018[_0x230ce8(0x502)]=_0xd9ee10[_0x230ce8(0x1fd)]['x']*this['context']['scale'];if(_0xd9ee10[_0x230ce8(0x1fd)]['y'])_0x1b4018[_0x230ce8(0x145)]=_0xd9ee10[_0x230ce8(0x1fd)]['y']*this[_0x230ce8(0xe5)][_0x230ce8(0x143)];}_0x1b4018[_0x230ce8(0x23a)]();const _0x522e6d=(_0x5988d2[_0x230ce8(0xac)]?(_0x59ef1f=_0xd9ee10['accessible'])==null?void 0x0:_0x59ef1f[_0x230ce8(0x230)]:_0xd9ee10['size'])||_0xd9ee10[_0x230ce8(0x230)];_0x1b4018[_0x230ce8(0x41b)](_0x5988d2['x'],_0x5988d2['y'],_0x522e6d/0x2,0x0,0x2*Math['PI']),_0x1b4018['fill']();_0xd9ee10[_0x230ce8(0x355)]&&(_0x1b4018[_0x230ce8(0xcf)]=_0xd9ee10['stroke'][_0x230ce8(0x3ff)],_0x1b4018['strokeStyle']=_0xd9ee10['stroke'][_0x230ce8(0x262)],_0x1b4018[_0x230ce8(0x355)]());_0x1b4018[_0x230ce8(0x5aa)]();let _0x379d73;switch(_0x4ebe7f){case _0x230ce8(0x49a):!this[_0x230ce8(0x1cd)](_0x5988d2['id'][_0x230ce8(0x172)]())&&this[_0x230ce8(0x155)](_0x5988d2['id'][_0x230ce8(0x172)]());_0x379d73='loading';break;case _0x230ce8(0x582):_0x379d73='error';break;case _0x230ce8(0x89):_0x379d73=(_0x5988d2[_0x230ce8(0xac)]?(_0x2d970e=_0xd9ee10[_0x230ce8(0x1e2)])==null?void 0x0:_0x2d970e[_0x230ce8(0x38a)]:_0xd9ee10[_0x230ce8(0x38a)])||_0xd9ee10['imageId'];break;default:this[_0x230ce8(0x1cd)](_0x5988d2['id'][_0x230ce8(0x172)]())&&this[_0x230ce8(0x103)](_0x5988d2['id'][_0x230ce8(0x172)]());_0x379d73=(_0x5988d2['isAccessible']?(_0x4fa849=_0xd9ee10['accessible'])==null?void 0x0:_0x4fa849[_0x230ce8(0x38a)]:_0xd9ee10[_0x230ce8(0x38a)])||_0xd9ee10[_0x230ce8(0x38a)];break;}if(_0x379d73){const _0x3ecf59=this[_0x230ce8(0xe5)][_0x230ce8(0x1c1)][_0x379d73];if(_0x3ecf59){_0x1b4018[_0x230ce8(0x397)]();let _0x1e6ee2=0x12;if(_0x379d73===_0x230ce8(0x49a))_0x1e6ee2=0x18;else{if(_0x379d73===_0x230ce8(0x582))_0x1e6ee2=0x12;else{if(_0x4ebe7f===_0x230ce8(0x89)||_0x379d73===_0x230ce8(0x2d1))_0x1e6ee2=0x12;}}const _0x53f8f1=_0x3ecf59,_0x1031a2=_0x53f8f1[_0x230ce8(0x3ff)]||_0x53f8f1[_0x230ce8(0x165)]||0x80,_0x22357f=_0x53f8f1['height']||_0x53f8f1[_0x230ce8(0x38c)]||0x80,_0x16bbd1=_0x22357f>0x0&&_0x1031a2>0x0?_0x22357f/_0x1031a2:0x1,_0x26684d=_0x1e6ee2,_0x97c1d1=_0x1e6ee2*_0x16bbd1;_0x379d73==='loading'?(_0x1b4018[_0x230ce8(0x1d4)](_0x5988d2['x'],_0x5988d2['y']),_0x1b4018[_0x230ce8(0x94)](this['spinnerRotation']),_0x1b4018[_0x230ce8(0x447)](_0x3ecf59,-_0x26684d/0x2,-_0x97c1d1/0x2,_0x26684d,_0x97c1d1)):_0x1b4018['drawImage'](_0x3ecf59,_0x5988d2['x']-_0x26684d/0x2,_0x5988d2['y']-_0x97c1d1/0x2,_0x26684d,_0x97c1d1);_0x1b4018[_0x230ce8(0x5aa)]();return;}}_0xd9ee10[_0x230ce8(0x504)]&&this[_0x230ce8(0xe5)][_0x230ce8(0x143)]/window['devicePixelRatio']>=0.35&&(_0x1b4018[_0x230ce8(0x397)](),_0x1b4018[_0x230ce8(0x1b4)]='center',_0x1b4018['textBaseline']=_0x230ce8(0x193),_0x1b4018['font']=_0xd9ee10[_0x230ce8(0x504)]['font'],_0x1b4018['fillStyle']=_0xd9ee10[_0x230ce8(0x504)][_0x230ce8(0x262)],_0x1b4018[_0x230ce8(0xa7)](_0x5988d2['name'],_0x5988d2['x'],_0x5988d2['y']+0x1),_0x1b4018['restore']());}[_0x3ad27d(0x141)](_0x398d84,_0x1dfd2f,_0x21c0fb){const _0x1c684c=_0x3ad27d;_0x398d84[_0x1c684c(0x397)](),_0x398d84[_0x1c684c(0x23a)](),_0x398d84[_0x1c684c(0x41b)](_0x1dfd2f['x'],_0x1dfd2f['y'],0x64,0x0,0x2*Math['PI']),_0x398d84['fillStyle']=_0x21c0fb||_0x1c684c(0x448),_0x398d84[_0x1c684c(0x2ea)](),_0x398d84[_0x1c684c(0x5aa)]();}['drawOffscreenCanvas'](){const _0x23208c=_0x3ad27d;if(this['context'][_0x23208c(0x143)]===void 0x0||this[_0x23208c(0xe5)]['translate']===void 0x0)return;this[_0x23208c(0x507)][_0x23208c(0x397)](),this['offscreenCtx'][_0x23208c(0x27b)](0x1,0x0,0x0,0x1,0x0,0x0),this[_0x23208c(0x507)][_0x23208c(0x31f)](0x0,0x0,this[_0x23208c(0x3ff)]*dpr,this['height']*dpr),this['offscreenCtx'][_0x23208c(0x27b)](this[_0x23208c(0xe5)][_0x23208c(0x143)],0x0,0x0,this[_0x23208c(0xe5)][_0x23208c(0x143)],this[_0x23208c(0xe5)][_0x23208c(0x1d4)]['x'],this[_0x23208c(0xe5)]['translate']['y']),this['offscreenCtx'][_0x23208c(0x2ce)]=_0x23208c(0x317),this[_0x23208c(0x507)][_0x23208c(0x325)]=!![],this[_0x23208c(0xb0)](),this[_0x23208c(0x507)][_0x23208c(0x5aa)]();}['drawOnscreenCanvas'](_0x2bff47,_0x4d7fb5){const _0x49d1f5=_0x3ad27d,_0x51a980=this['ctx'];_0x51a980['save'](),_0x51a980[_0x49d1f5(0x27b)](0x1,0x0,0x0,0x1,0x0,0x0),_0x51a980['clearRect'](0x0,0x0,this['width']*dpr,this['height']*dpr),_0x51a980[_0x49d1f5(0x27b)](_0x2bff47,0x0,0x0,_0x2bff47,_0x4d7fb5['x'],_0x4d7fb5['y']),_0x51a980[_0x49d1f5(0x447)](this[_0x49d1f5(0x33b)],0x0,0x0),_0x51a980['restore']();}[_0x3ad27d(0x155)](_0x5ea49e){const _0x2fa4eb=_0x3ad27d;this['spinningSeats'][_0x2fa4eb(0x26f)](_0x5ea49e),this[_0x2fa4eb(0x41e)]===null&&this[_0x2fa4eb(0x284)]();}['removeSpinningSeat'](_0x3541e2){const _0x550f79=_0x3ad27d;this[_0x550f79(0x5ba)][_0x550f79(0x55d)](_0x3541e2),this[_0x550f79(0x5ba)][_0x550f79(0x230)]===0x0&&this[_0x550f79(0x41e)]!==null&&(cancelAnimationFrame(this[_0x550f79(0x41e)]),this[_0x550f79(0x41e)]=null);}[_0x3ad27d(0x1cd)](_0xe4bc4d){const _0x4083f2=_0x3ad27d;return this[_0x4083f2(0x5ba)][_0x4083f2(0x42b)](_0xe4bc4d);}[_0x3ad27d(0x284)](){const _0x271089=_0x3ad27d;if(this[_0x271089(0x41e)]!==null)return;const _0x4d74c2=_0x533c62=>{const _0x276ba5=_0x271089,_0x49166b=this['lastFrameTime']?_0x533c62-this[_0x276ba5(0x204)]:0x10;this[_0x276ba5(0x204)]=_0x533c62,this['spinnerRotation']+=0.01*_0x49166b,this[_0x276ba5(0x5ba)][_0x276ba5(0x230)]>0x0?(this[_0x276ba5(0x229)](),this[_0x276ba5(0x41e)]=requestAnimationFrame(_0x4d74c2)):(this[_0x276ba5(0x41e)]=null,this[_0x276ba5(0x204)]=0x0);};this[_0x271089(0x41e)]=requestAnimationFrame(_0x4d74c2);}['renderSeat'](_0x237ec2,_0x15783e){const _0x1833c7=_0x3ad27d,_0x39a5ff=this[_0x1833c7(0xe5)]['settings']['theme'];let _0x32e66b,_0x424e34=_0x1833c7(0x4d9);if(_0x15783e[_0x1833c7(0x42c)]===_0x1833c7(0x49a))_0x32e66b=_0x39a5ff['seatStyles'][_0x1833c7(0x49a)],_0x424e34=_0x1833c7(0x49a);else{if(_0x15783e['state']===_0x1833c7(0x582))_0x32e66b=_0x39a5ff[_0x1833c7(0x2cc)][_0x1833c7(0x582)],_0x424e34=_0x1833c7(0x582);else{if(_0x15783e[_0x1833c7(0x3fc)])_0x32e66b=_0x39a5ff[_0x1833c7(0x2cc)]['unavailable'],_0x424e34=_0x1833c7(0x44c);else{if(_0x15783e[_0x1833c7(0x211)])_0x32e66b=_0x39a5ff[_0x1833c7(0x2cc)][_0x1833c7(0x211)];else{if(_0x15783e['state']==='selected')_0x32e66b=_0x39a5ff[_0x1833c7(0x2cc)]['selected'],_0x424e34=_0x1833c7(0x89);else this[_0x1833c7(0xe5)][_0x1833c7(0x120)](_0x15783e['id'])?(_0x32e66b=_0x39a5ff[_0x1833c7(0x2cc)][_0x1833c7(0x89)],_0x424e34=_0x1833c7(0x89)):_0x32e66b=_0x39a5ff['seatStyles'][_0x1833c7(0x4d9)];}}}}this[_0x1833c7(0x596)](_0x237ec2,_0x15783e,_0x32e66b,_0x424e34);}[_0x3ad27d(0x95)](_0x2a3632,_0x404e64){const _0x40d38f=_0x3ad27d,_0x55ff3c=this[_0x40d38f(0xe5)][_0x40d38f(0x3f7)][_0x40d38f(0x439)];if(_0x404e64[_0x40d38f(0x3fc)]||_0x404e64[_0x40d38f(0x211)]||this[_0x40d38f(0xe5)][_0x40d38f(0x120)](_0x404e64['id'])||_0x404e64[_0x40d38f(0x42c)]==='loading'||_0x404e64[_0x40d38f(0x42c)]==='error')return;const _0x53c940=_0x55ff3c[_0x40d38f(0x2cc)][_0x40d38f(0x260)];this[_0x40d38f(0x596)](_0x2a3632,_0x404e64,_0x53c940,_0x40d38f(0x260));}[_0x3ad27d(0x107)](_0x1eacd1,_0x2f82b5){const _0x5066f3=_0x3ad27d,_0x1958bc=this['context'][_0x5066f3(0x3f7)][_0x5066f3(0x439)];if(_0x2f82b5['locked']||_0x2f82b5['filtered']||_0x2f82b5[_0x5066f3(0x42c)]===_0x5066f3(0x49a)||_0x2f82b5[_0x5066f3(0x42c)]===_0x5066f3(0x582))return;this[_0x5066f3(0x596)](_0x1eacd1,_0x2f82b5,_0x1958bc[_0x5066f3(0x2cc)][_0x5066f3(0x89)],'selected');}},dpr2=window[_0x3ad27d(0x338)],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 _0x831cc8=_0x3ad27d;super(...arguments),this[_0x831cc8(0x129)]=![],this[_0x831cc8(0x509)]={...INITIAL_TRANSFORM},this[_0x831cc8(0x506)]={'duration':this[_0x831cc8(0xe5)][_0x831cc8(0x3f7)][_0x831cc8(0x2e4)]||0x0,...INITIAL_ANIMATION};}[_0x3ad27d(0x596)](_0x5d7e26,_0x4b8700,_0x2820e0,_0xe7eb57){const _0x2cb0ad=_0x3ad27d;if(this['animation']['inProgress'])return;this[_0x2cb0ad(0x129)]&&this[_0x2cb0ad(0x509)][_0x2cb0ad(0x1c9)]!==0x0&&(_0x4b8700=this[_0x2cb0ad(0x43c)](_0x4b8700)),super[_0x2cb0ad(0x596)](_0x5d7e26,_0x4b8700,_0x2820e0,_0xe7eb57);}[_0x3ad27d(0x581)](){const _0xb9cc63=_0x3ad27d;if(this[_0xb9cc63(0xe5)][_0xb9cc63(0x143)]===void 0x0||this[_0xb9cc63(0xe5)]['translate']===void 0x0)return;this['offscreenCtx']['save'](),this[_0xb9cc63(0x507)]['setTransform'](0x1,0x0,0x0,0x1,0x0,0x0),this[_0xb9cc63(0x507)][_0xb9cc63(0x31f)](0x0,0x0,this['width']*dpr2,this[_0xb9cc63(0x3a3)]*dpr2),this[_0xb9cc63(0x507)][_0xb9cc63(0x27b)](this[_0xb9cc63(0xe5)][_0xb9cc63(0x143)],0x0,0x0,this['context'][_0xb9cc63(0x143)],this[_0xb9cc63(0xe5)][_0xb9cc63(0x1d4)]['x'],this[_0xb9cc63(0xe5)]['translate']['y']),this[_0xb9cc63(0x507)][_0xb9cc63(0x2ce)]='high',this['offscreenCtx']['imageSmoothingEnabled']=!![];if(this['sectionViewActive']){const _0x15c967=this['animation'][_0xb9cc63(0x39d)];this[_0xb9cc63(0x507)]['setTransform'](this['context']['scale'],0x0,0x0,this[_0xb9cc63(0xe5)][_0xb9cc63(0x143)]*Math['cos'](_0x15c967),this[_0xb9cc63(0xe5)][_0xb9cc63(0x1d4)]['x'],this[_0xb9cc63(0xe5)][_0xb9cc63(0x1d4)]['y']);}this[_0xb9cc63(0xb0)](),this[_0xb9cc63(0x507)][_0xb9cc63(0x5aa)]();}[_0x3ad27d(0x275)](_0x232b70,_0xcf8774){const _0x1f4bdc=_0x3ad27d,_0x26d9c9=this[_0x1f4bdc(0x55f)];_0x26d9c9[_0x1f4bdc(0x397)](),_0x26d9c9['setTransform'](0x1,0x0,0x0,0x1,0x0,0x0),_0x26d9c9[_0x1f4bdc(0x31f)](0x0,0x0,this[_0x1f4bdc(0x3ff)]*dpr2,this['height']*dpr2),_0x26d9c9[_0x1f4bdc(0x27b)](_0x232b70,0x0,0x0,_0x232b70,_0xcf8774['x'],_0xcf8774['y']),_0x26d9c9[_0x1f4bdc(0x447)](this[_0x1f4bdc(0x33b)],0x0,0x0),_0x26d9c9['restore']();}['redraw'](){const _0xec568e=_0x3ad27d;this['drawOffscreenCanvas'](),this[_0xec568e(0x275)](0x1,{'x':0x0,'y':0x0});}['rotationAnimation'](){return new Promise(_0x1c0f6b=>{const _0xeaf490=_0x4f8020=>{const _0x42155c=_0x5195;if(!this['animation'][_0x42155c(0x33c)])this['animation'][_0x42155c(0x33c)]=_0x4f8020;if(_0x4f8020-this['animation'][_0x42155c(0x33c)]>this[_0x42155c(0x506)][_0x42155c(0x547)]){this[_0x42155c(0x506)][_0x42155c(0x1c9)]=this[_0x42155c(0x509)]['rotationAngle'],this['animation'][_0x42155c(0x39d)]=this[_0x42155c(0x509)]['skewAngle'],this[_0x42155c(0x506)][_0x42155c(0x33c)]=void 0x0,this['animation'][_0x42155c(0xe7)]=![],this[_0x42155c(0x229)](),cancelAnimationFrame(_0x4f8020),_0x1c0f6b(!![]);return;}this[_0x42155c(0x506)][_0x42155c(0xe7)]=!![];const _0x32a58a=Math[_0x42155c(0x169)](0x1,(_0x4f8020-this['animation'][_0x42155c(0x33c)])/this['animation'][_0x42155c(0x547)]),_0x224bad=cubicInOut(_0x32a58a),_0x4ce1c6=this[_0x42155c(0x509)]['rotationAngle']*_0x224bad,_0x128e2f=this[_0x42155c(0x509)]['skewAngle']*_0x224bad,_0x1256b8=this[_0x42155c(0x509)]['rotationAngle']<0x0?Math['max']:Math[_0x42155c(0x169)];this['animation'][_0x42155c(0x1c9)]=_0x1256b8(this[_0x42155c(0x509)][_0x42155c(0x1c9)],_0x4ce1c6),this[_0x42155c(0x506)]['skewAngle']=Math[_0x42155c(0x169)](this[_0x42155c(0x509)][_0x42155c(0x39d)],_0x128e2f),this[_0x42155c(0x229)](),requestAnimationFrame(_0xeaf490);};requestAnimationFrame(_0xeaf490);});}[_0x3ad27d(0x8b)](){return new Promise(_0x5aac24=>{const _0xadaead=_0xf9563=>{const _0x5a5861=_0x5195;if(!this[_0x5a5861(0x506)][_0x5a5861(0x33c)])this['animation']['startTime']=_0xf9563;if(_0xf9563-this[_0x5a5861(0x506)]['startTime']>this['animation'][_0x5a5861(0x547)]){this[_0x5a5861(0x506)][_0x5a5861(0x1c9)]=0x0,this['animation'][_0x5a5861(0x39d)]=0x0,this[_0x5a5861(0x506)]['startTime']=void 0x0,this[_0x5a5861(0x229)](),cancelAnimationFrame(_0xf9563),_0x5aac24(!![]);return;}const _0x3a47fb=Math[_0x5a5861(0x169)](0x1,(_0xf9563-this[_0x5a5861(0x506)][_0x5a5861(0x33c)])/this[_0x5a5861(0x506)][_0x5a5861(0x547)]),_0x99a153=cubicInOut(_0x3a47fb),_0x169498=this['sectionViewTransform']['rotationAngle']*(0x1-_0x99a153),_0x34a7a3=this[_0x5a5861(0x509)][_0x5a5861(0x39d)]*(0x1-_0x99a153);this[_0x5a5861(0x506)][_0x5a5861(0x1c9)]=_0x169498,this[_0x5a5861(0x506)]['skewAngle']=Math[_0x5a5861(0x490)](0x0,_0x34a7a3),this[_0x5a5861(0x229)](),requestAnimationFrame(_0xadaead);};requestAnimationFrame(_0xadaead);});}['setAnimateSection'](_0x3fb0f1){const _0x60564e=_0x3ad27d;this[_0x60564e(0x133)](),this[_0x60564e(0x2e0)](_0x3fb0f1),this[_0x60564e(0x51d)]();}[_0x3ad27d(0x2e0)](_0x5832a9){const _0x536db3=_0x3ad27d,{x:_0x323dfc,y:_0x133347}=this['context'][_0x536db3(0x290)](_0x5832a9);this[_0x536db3(0x509)]['section']={'x':_0x323dfc,'y':_0x133347};}[_0x3ad27d(0x133)](){const _0x269657=_0x3ad27d,_0x5ef7f=0x0,_0x49e02b=this[_0x269657(0x3ff)],_0x29ab3d=0x0,_0xfc9bea=this['height'],_0x1c5c76=(_0x5ef7f+_0x49e02b)/0x2,_0x17d87f=(_0x29ab3d+_0xfc9bea)/0x2,_0x1c99ea=this[_0x269657(0xe5)][_0x269657(0x290)]({'x':_0x1c5c76,'y':_0x17d87f}),_0x16784a=this[_0x269657(0xe5)]['getPositionByOffset']({'x':_0x1c5c76,'y':0x0});this['sectionViewTransform'][_0x269657(0x35f)]={..._0x1c99ea},this[_0x269657(0x509)][_0x269657(0x4c0)]={..._0x16784a};}['setRotationAngle'](){const _0x1d9dac=_0x3ad27d,_0x457494={...this[_0x1d9dac(0x509)][_0x1d9dac(0x40f)]},_0x1739bd={...this[_0x1d9dac(0x509)]['center']},_0x17a59d={...this[_0x1d9dac(0x509)][_0x1d9dac(0x4c0)]},_0x2acd26=_0x457494['x']<_0x1739bd['x'];let _0x8608c5=Math[_0x1d9dac(0xbf)](_0x1739bd['x']-_0x17a59d['x'],0x2)+Math[_0x1d9dac(0xbf)](_0x1739bd['y']-_0x17a59d['y'],0x2),_0x52963c=Math[_0x1d9dac(0xbf)](_0x1739bd['x']-_0x457494['x'],0x2)+Math[_0x1d9dac(0xbf)](_0x1739bd['y']-_0x457494['y'],0x2),_0x244239=Math[_0x1d9dac(0xbf)](_0x457494['x']-_0x17a59d['x'],0x2)+Math[_0x1d9dac(0xbf)](_0x457494['y']-_0x17a59d['y'],0x2),_0x1d5c26=Math[_0x1d9dac(0x3cf)]((_0x8608c5+_0x52963c-_0x244239)/Math[_0x1d9dac(0xf7)](0x4*_0x8608c5*_0x52963c))*(0xb4/Math['PI']);_0x2acd26?_0x1d5c26<0x5a?_0x1d5c26=0xb4+_0x1d5c26:_0x1d5c26=_0x1d5c26-0xb4:_0x1d5c26=0xb4-_0x1d5c26,this['sectionViewTransform']['rotationAngle']=_0x1d5c26;}[_0x3ad27d(0x232)](){const _0x4b8fa2=_0x3ad27d;return this['getCoordsAfterRotation'](this['sectionViewTransform'][_0x4b8fa2(0x40f)]);}[_0x3ad27d(0x43c)](_0x2440c3){const _0x386db2=_0x3ad27d;if(!this[_0x386db2(0x129)])return _0x2440c3;const {x:_0x4fd4ca,y:_0x3ea3c7}=this[_0x386db2(0x509)][_0x386db2(0x35f)],{x:_0x38b8ed,y:_0x2a53e2}=_0x2440c3,_0x128a8f=this['sectionViewTransform'][_0x386db2(0x1c9)],_0x13651c=Math['PI']/-0xb4*_0x128a8f,_0x23e7d8=Math['cos'](_0x13651c),_0x24eb15=Math[_0x386db2(0x473)](_0x13651c),_0x41e696=_0x23e7d8*(_0x38b8ed-_0x4fd4ca)+_0x24eb15*(_0x2a53e2-_0x3ea3c7)+_0x4fd4ca,_0x1e2628=_0x23e7d8*(_0x2a53e2-_0x3ea3c7)-_0x24eb15*(_0x38b8ed-_0x4fd4ca)+_0x3ea3c7;return{..._0x2440c3,'x':_0x41e696,'y':_0x1e2628};}[_0x3ad27d(0x43b)](_0x1204bd){this['sectionViewTransform']={..._0x1204bd};}['setAnimationState'](_0xb33406){this['animation']={..._0xb33406};}['getAnimationState'](){return this['animation'];}[_0x3ad27d(0xf3)](){const _0x48f1c7=_0x3ad27d,_0x2a7699=this[_0x48f1c7(0xe5)][_0x48f1c7(0x223)](this['getSectionUpdatedCoords']()),_0xacda7={'x':_0x2a7699['x'],'y':_0x2a7699['y']*Math[_0x48f1c7(0x161)](this[_0x48f1c7(0x509)]['skewAngle'])};return _0xacda7;}[_0x3ad27d(0x465)](){const _0x1f724a=_0x3ad27d;this['sectionViewTransform'][_0x1f724a(0x39d)]=skewAngleRadian;}['renderContent'](){const _0x36a661=_0x3ad27d;if(this['sectionViewActive']){this[_0x36a661(0x94)](this[_0x36a661(0x507)],this['animation']['rotationAngle']||0x0,this[_0x36a661(0x509)][_0x36a661(0x35f)],this[_0x36a661(0x4f4)]);this['isDebug']&&(this[_0x36a661(0x141)](this[_0x36a661(0x507)],this[_0x36a661(0x232)](),_0x36a661(0x542)),this['sectionViewTransform'][_0x36a661(0x35f)]&&this['drawPoint'](this[_0x36a661(0x507)],this[_0x36a661(0x509)]['center'],_0x36a661(0x26c)),this['sectionViewTransform'][_0x36a661(0x4c0)]&&this['drawPoint'](this[_0x36a661(0x507)],this[_0x36a661(0x509)][_0x36a661(0x4c0)],_0x36a661(0x398)));return;}this[_0x36a661(0x4f4)]&&!this['sectionViewActive']&&this[_0x36a661(0x507)][_0x36a661(0x447)](this[_0x36a661(0x4f4)],0x0,0x0,this[_0x36a661(0x4f4)]['width'],this[_0x36a661(0x4f4)][_0x36a661(0x3a3)]);}async[_0x3ad27d(0x520)](_0x19820d,_0x1e61f7){const _0x17bce9=_0x3ad27d;var _0x5db8c8;const _0x3138c6=this[_0x17bce9(0x129)]||!!this['sectionId']&&this[_0x17bce9(0x10e)]!==_0x19820d['id'],_0x122667=this['sectionId']===_0x19820d['id'],_0x1a2ccf=()=>new Promise(_0x4ea5a3=>{const _0x40d8ff=_0x17bce9;_0x1e61f7[_0x40d8ff(0x269)](),setTimeout(()=>{_0x4ea5a3(!![]);},(this['context']['settings'][_0x40d8ff(0x2e2)]||0x0)*1.5);});!this[_0x17bce9(0xe5)][_0x17bce9(0x221)]&&await _0x1a2ccf();_0x3138c6&&(this[_0x17bce9(0x506)]['inProgress']=!![],await Promise[_0x17bce9(0x47d)]([this[_0x17bce9(0x8b)](),_0x1a2ccf()]),this['resetSectionViewState']());if(_0x122667)return this['redraw'](),![];const _0x565385=(_0x5db8c8=_0x1e61f7[_0x17bce9(0x289)]())==null?void 0x0:_0x5db8c8[_0x17bce9(0x87)](_0x536cd1=>_0x536cd1['id']===_0x19820d['id']);if(!_0x565385)return![];return this['sectionId']=_0x19820d['id']||null,this['sectionViewActive']=!![],this[_0x17bce9(0x465)](),this['setAnimateSection'](_0x565385),typeof this[_0x17bce9(0x509)]['rotationAngle']===_0x17bce9(0x339)?this[_0x17bce9(0x526)]():(console[_0x17bce9(0x24d)](_0x17bce9(0x3cc)+this[_0x17bce9(0x10e)]+_0x17bce9(0x16d)),this['resetSectionViewState']()),!![];}[_0x3ad27d(0x293)](){const _0x22bf91=_0x3ad27d;this[_0x22bf91(0x129)]=![],this[_0x22bf91(0x10e)]=null,this[_0x22bf91(0x509)]={...INITIAL_TRANSFORM},this['animation']={'duration':this['context'][_0x22bf91(0x3f7)][_0x22bf91(0x2e4)]||0x0,...INITIAL_ANIMATION};}['rotate'](_0x1a1edc,_0x34db06,_0x233970,_0x3e4e75){const _0xea5608=_0x3ad27d;_0x1a1edc[_0xea5608(0x397)]();const {x:_0x4141e7,y:_0x2eacfc}=_0x233970;_0x1a1edc['translate'](_0x4141e7,_0x2eacfc),_0x1a1edc[_0xea5608(0x94)](_0x34db06*(Math['PI']/0xb4)),_0x1a1edc[_0xea5608(0x1d4)](-_0x4141e7,-_0x2eacfc),_0x1a1edc[_0xea5608(0x447)](_0x3e4e75,0x0,0x0,_0x3e4e75[_0xea5608(0x3ff)],_0x3e4e75[_0xea5608(0x3a3)]),_0x1a1edc['restore']();}},HTMLCanvasLayer=class extends SectionViewLayer{constructor(){const _0x3429e3=_0x3ad27d;super(...arguments),this[_0x3429e3(0xf2)]=![],this['hasBackgroundReady']=![],this['hasSeatsDrawn']=![];}async['captureSeatmap'](){const _0x1970a9=_0x3ad27d;try{this[_0x1970a9(0x229)](),await new Promise(_0x2d1b3c=>{const _0x10954c=()=>{const _0x340ab7=_0x5195,_0x12b31f=Array['isArray'](this['context']['seats'])&&this[_0x340ab7(0xe5)]['seats'][_0x340ab7(0x4a7)]>0x0,_0x592bbe=this[_0x340ab7(0x428)]&&(!_0x12b31f||this[_0x340ab7(0x323)])&&this[_0x340ab7(0xf2)];if(_0x592bbe)return _0x2d1b3c();requestAnimationFrame(_0x10954c);};requestAnimationFrame(_0x10954c);});const _0x4378d3=this[_0x1970a9(0x33b)][_0x1970a9(0x45b)](_0x1970a9(0x1f6)),_0x122948=new Image();return _0x122948[_0x1970a9(0x2dc)]=_0x4378d3,await new Promise(_0x4b3a2f=>{const _0x1500cd=_0x1970a9;if(_0x122948[_0x1500cd(0xd8)])return _0x4b3a2f();_0x122948[_0x1500cd(0x148)]=()=>_0x4b3a2f(),_0x122948[_0x1500cd(0x4fd)]=()=>_0x4b3a2f();}),_0x122948;}catch(_0x5bd0cf){return null;}}[_0x3ad27d(0x433)](_0x18effc=0x0){const _0x4bf19b=_0x3ad27d;let _0x5c6661=[];const _0x26eaaa=this[_0x4bf19b(0xe5)]['visibility'][_0x4bf19b(0x4f0)][_0x4bf19b(0x50b)]&&!this[_0x4bf19b(0xe5)][_0x4bf19b(0x3f7)][_0x4bf19b(0x2fc)]&&!(this[_0x4bf19b(0xe5)][_0x4bf19b(0x221)]&&this[_0x4bf19b(0xe5)]['settings'][_0x4bf19b(0x557)]);if(_0x26eaaa){const _0x212625=this['context']['getPositionByOffset']({'x':0x0,'y':0x0}),_0x22ae3b=this[_0x4bf19b(0xe5)][_0x4bf19b(0x290)]({'x':this['width'],'y':this[_0x4bf19b(0x3a3)]}),_0x4537d7={'minX':_0x212625['x']-_0x18effc,'minY':_0x212625['y']-_0x18effc,'maxX':_0x22ae3b['x']+_0x18effc,'maxY':_0x22ae3b['y']+_0x18effc};_0x5c6661=findVisibleSeats(_0x4537d7,this[_0x4bf19b(0xe5)][_0x4bf19b(0x218)],this['context'][_0x4bf19b(0x30b)]);}return _0x5c6661;}[_0x3ad27d(0xb0)](){const _0x11a2cb=_0x3ad27d;this[_0x11a2cb(0x4f4)]&&(this[_0x11a2cb(0x4f4)]['complete']||this['backgroundElement'][_0x11a2cb(0x514)]==='complete')&&this[_0x11a2cb(0x4f4)][_0x11a2cb(0x165)]>0x0&&(this[_0x11a2cb(0x428)]=!![]);super[_0x11a2cb(0xb0)]();const _0x1e5ac8=this[_0x11a2cb(0x129)]?0xfa:0x2,_0x404627=this['context'][_0x11a2cb(0x3f7)][_0x11a2cb(0x439)][_0x11a2cb(0x4c3)]*_0x1e5ac8,_0x2dd7e4=this[_0x11a2cb(0x433)](_0x404627);if(_0x2dd7e4[_0x11a2cb(0x4a7)]>0x0)this[_0x11a2cb(0x323)]=!![];_0x2dd7e4['forEach'](_0x5197af=>this[_0x11a2cb(0x443)](this[_0x11a2cb(0x507)],_0x5197af)),this['hasInitialDrawComplete']=!![];}},findVisibleSeats=(_0x1c0c4e,_0x38fce3,_0x27a191)=>{const _0x56279a=_0x3ad27d;return _0x27a191[_0x56279a(0x142)](_0x1c0c4e['minX'],_0x1c0c4e['minY'],_0x1c0c4e[_0x56279a(0x36b)],_0x1c0c4e[_0x56279a(0x560)])[_0x56279a(0x50f)](_0x299168=>({..._0x38fce3[_0x299168]}));};function createSvgElement(_0x253300){const _0x507838=_0x3ad27d;if(!_0x253300)return console[_0x507838(0x24d)](_0x507838(0x378)),document[_0x507838(0x249)](_0x507838(0x49e),_0x507838(0x111));const _0x402ca8=new DOMParser(),_0x5644f5=_0x402ca8['parseFromString'](_0x253300,_0x507838(0x550)),_0x39f2b5=_0x5644f5['querySelector'](_0x507838(0x20e));if(_0x39f2b5){const _0x3f1ec5=_0x39f2b5[_0x507838(0x32f)](_0x507838(0x34b)),_0x365a3b=_0x3f1ec5?_0x3f1ec5[_0x507838(0x362)]:_0x39f2b5[_0x507838(0x362)];console[_0x507838(0x582)](_0x507838(0x537),_0x253300[_0x507838(0x3fa)](0x0,0x1f4)+_0x507838(0xef));if(_0x365a3b&&_0x365a3b['includes']('Attribute')&&_0x365a3b[_0x507838(0x309)](_0x507838(0x519)))throw new Error(_0x507838(0x512)+_0x365a3b);throw new Error(_0x507838(0x12c)+_0x365a3b);}const _0xe022fd=_0x5644f5[_0x507838(0x46c)];if(!_0xe022fd||_0xe022fd['nodeName']['toLowerCase']()!==_0x507838(0x111))throw new Error('Root\x20element\x20is\x20not\x20<svg>');return _0xe022fd;}function createSvgImageElement(_0x451078,_0x2ab71c,_0x23aa72){const _0x5b6c38=_0x3ad27d;if(!_0x451078)throw new Error(_0x5b6c38(0x378));let _0x13573a=null;return _0x2ab71c&&_0x23aa72&&(_0x13573a=getSvgDimensions(_0x451078,_0x2ab71c,_0x23aa72)),new Promise((_0x4c6f55,_0x1b98c6)=>{const _0x20a004=_0x5b6c38,_0x1ea19c=new Image();_0x1ea19c['src']=_0x20a004(0x2b3)+btoa(unescape(encodeURIComponent(_0x451078))),_0x13573a&&(_0x1ea19c[_0x20a004(0x3ff)]=_0x13573a['width'],_0x1ea19c[_0x20a004(0x3a3)]=_0x13573a[_0x20a004(0x3a3)]),_0x1ea19c[_0x20a004(0x148)]=()=>_0x4c6f55(_0x1ea19c),_0x1ea19c[_0x20a004(0x4fd)]=()=>_0x1b98c6(_0x20a004(0x16a));});}async function loadImageFromUrl(_0x2280d8,_0x11e73d){if(!_0x2280d8)throw new Error('No\x20URL');return new Promise((_0x31c5b3,_0x32d797)=>{const _0x28ecdd=_0x5195,_0x134d8c=new Image();_0x11e73d&&(_0x134d8c[_0x28ecdd(0x4e7)]=_0x11e73d),_0x134d8c[_0x28ecdd(0x2dc)]=_0x2280d8,_0x134d8c[_0x28ecdd(0x148)]=()=>_0x31c5b3(_0x134d8c),_0x134d8c[_0x28ecdd(0x4fd)]=_0x2952d8=>_0x32d797('PNG\x20image\x20load\x20error:\x20'+_0x2952d8[_0x28ecdd(0x180)]);});}var setImageSizeAndCenter=(_0x31c126,_0x6c06ff)=>{const _0x5373ca=_0x3ad27d,{x:_0x446216,y:_0x180e53,width:_0xc1ef40,height:_0x383b3e}=_0x6c06ff;_0x31c126[_0x5373ca(0x2f5)][_0x5373ca(0x163)]=_0x5373ca(0x9a),_0x31c126[_0x5373ca(0x2f5)]['left']=_0x446216+'px',_0x31c126['style'][_0x5373ca(0x4c0)]=_0x180e53+'px',_0x31c126['style'][_0x5373ca(0x3ff)]=_0xc1ef40+'px',_0x31c126['style']['height']=_0x383b3e+'px',_0x31c126[_0x5373ca(0x3ff)]=_0xc1ef40,_0x31c126[_0x5373ca(0x3a3)]=_0x383b3e,_0x31c126[_0x5373ca(0x2f5)]['imageRendering']=_0x5373ca(0xc9);};async function svgToBase64(_0x2d4af2){const _0x1f361b=_0x3ad27d,_0x5236b0=new Blob([_0x2d4af2],{'type':_0x1f361b(0x550)}),_0x1ee508=URL[_0x1f361b(0x45c)](_0x5236b0);return new Promise((_0x29a44b,_0x5d18da)=>{const _0x8e22ae=_0x1f361b,_0x58fbbb=new Image();_0x58fbbb[_0x8e22ae(0x4e7)]=_0x8e22ae(0x4d6);const _0xf4d3a2=0x4;_0x58fbbb[_0x8e22ae(0x148)]=()=>{const _0x4e3130=_0x8e22ae;URL[_0x4e3130(0x571)](_0x1ee508);const _0x1947df=document[_0x4e3130(0xda)]('canvas');_0x1947df['width']=_0x58fbbb[_0x4e3130(0x3ff)]*_0xf4d3a2,_0x1947df['height']=_0x58fbbb[_0x4e3130(0x3a3)]*_0xf4d3a2;const _0x167855=_0x1947df[_0x4e3130(0x50c)]('2d');_0x167855?(_0x167855['drawImage'](_0x58fbbb,0x0,0x0,_0x1947df[_0x4e3130(0x3ff)],_0x1947df[_0x4e3130(0x3a3)]),_0x29a44b(_0x1947df['toDataURL']('image/png'))):_0x5d18da(new Error(_0x4e3130(0x425)));},_0x58fbbb['onerror']=_0x5d18da,_0x58fbbb[_0x8e22ae(0x2dc)]=_0x1ee508;});}function getSvgDimensions(_0x3d241c,_0xb7ba5f,_0x3e567f){const _0x172d65=_0x3ad27d,_0x545fe8=new DOMParser(),_0x2767fe=_0x545fe8[_0x172d65(0x48e)](_0x3d241c,_0x172d65(0x550)),_0xb2438e=_0x2767fe[_0x172d65(0x1d0)](_0x172d65(0x111))[0x0];if(_0xb2438e[_0x172d65(0x1f2)](_0x172d65(0x3ff))&&_0xb2438e['hasAttribute'](_0x172d65(0x3a3)))return{'width':parseFloat(_0xb2438e[_0x172d65(0x521)](_0x172d65(0x3ff))['replace']('px','')),'height':parseFloat(_0xb2438e['getAttribute'](_0x172d65(0x3a3))['replace']('px',''))};else{if(_0xb2438e[_0x172d65(0x1f2)](_0x172d65(0x144))){const _0x427aa5=_0xb2438e[_0x172d65(0x521)]('viewBox')['split']('\x20');return{'width':parseFloat(_0x427aa5[0x2]),'height':parseFloat(_0x427aa5[0x3])};}else return{'width':_0xb7ba5f,'height':_0x3e567f};}}var theme_default={'gridStep':0xe,'bgColor':_0x3ad27d(0x302),'unavailableSeatRadius':0x3,'filteredSeatRadius':0x5,'availableSeatRadius':0x8,'specialSeatRadius':0xc,'hoveredSeatRadius':0x13,'selectedSeatRadius':0x15,'seatFont':_0x3ad27d(0x123),'seatTextColor':_0x3ad27d(0x3b0),'unavailableSeatColor':'#bbb','filteredSeatColor':_0x3ad27d(0x22a),'svgSectionStyles':{'default':{},'filtered':{'bgColor':_0x3ad27d(0x22a)},'unavailable':{'bgColor':'#bbb'},'hovered':{'stroke':{'color':_0x3ad27d(0x3a7),'width':_0x3ad27d(0x59b)},'cursor':'pointer'},'selected':{'stroke':{'color':_0x3ad27d(0x3a7),'opacity':0x1}}},'shadowColor':'rgba(0,\x200,\x200,\x200.3)','shadowBlur':0x14,'priceColors':[[_0x3ad27d(0x37c),_0x3ad27d(0x2ae),_0x3ad27d(0x122),_0x3ad27d(0x3a7),_0x3ad27d(0xc5),_0x3ad27d(0x4ca),_0x3ad27d(0x577),'#CDDC39',_0x3ad27d(0x591),_0x3ad27d(0x485),_0x3ad27d(0x1a8),_0x3ad27d(0x15d),_0x3ad27d(0x51a)],[_0x3ad27d(0x3a7)],[_0x3ad27d(0x3a7),'#FFC107'],[_0x3ad27d(0x2ae),_0x3ad27d(0x3a7),'#FFC107']],'colorCategories':[_0x3ad27d(0x37c),_0x3ad27d(0x2ae),'#3F51B5',_0x3ad27d(0x3a7),'#00BCD4',_0x3ad27d(0x4ca),'#4CAF50','#CDDC39',_0x3ad27d(0x591),_0x3ad27d(0x485),'#FF5722',_0x3ad27d(0x15d),_0x3ad27d(0x51a)]},ATTR_DATA_GA_SELECTED=_0x3ad27d(0x5a3),ATTR_OUTER_HIGHLIGHT=_0x3ad27d(0x370),ATTR_DATA_GA_UNAVAILABLE='data-ga-unavailable',ATTR_DATA_DEFAULT_FILL='data-default-fill',SM_OUTLINE_FOCUSED=_0x3ad27d(0xfc),UNDERLAY_BINDED_GA_CSS_STYLES=_0x3ad27d(0x136),OUTLINE_CLASS='sm-outline',appendStyles=_0x593b4c=>{const _0x3dada0=_0x3ad27d,_0x55b561=document[_0x3dada0(0x32f)](_0x3dada0(0x17a))||document['body'],_0x4afca8=document[_0x3dada0(0x249)](_0x3dada0(0x49e),_0x3dada0(0x2f5)),_0x2aae23=generateDynamicHighlightCss(bgOutlineCss,_0x593b4c||theme_default[_0x3dada0(0x46b)]);_0x4afca8[_0x3dada0(0x308)](document[_0x3dada0(0x1aa)](_0x2aae23));const _0x192ffc=generateDynamicHighlightCss(outlineCss,theme_default[_0x3dada0(0x46b)]);_0x4afca8['appendChild'](document[_0x3dada0(0x1aa)](_0x192ffc)),_0x55b561['appendChild'](_0x4afca8);},getThemeStyle=(_0x457ca3,_0x3929b5)=>{if(_0x3929b5)return _0x457ca3+':\x20'+_0x3929b5+';';return'';},generateDynamicHighlightCss=(_0x34a053,_0x114ff2)=>{const _0x218c86=_0x3ad27d;var _0x2ea1a9,_0x482bbe,_0x3cc895,_0x14aa64,_0x55091d,_0x273718,_0x1c92d8,_0x449ff0,_0xb8ebbc,_0x87fbc6,_0x51bab4,_0x228fb9,_0x87e870,_0x4c5fb7,_0xc00913,_0x4c0a85,_0x9c7bdb,_0x6a93a3,_0x345756,_0x410a1d,_0x5cb2af,_0x482c22,_0x3151bf,_0xc3caed,_0x93ce86,_0x52401d,_0x1382c7,_0x58e508,_0x205bd8,_0x55f738,_0x55447d,_0x35b758,_0x362143,_0x1d3868,_0x1b7f4e,_0x4bf80b,_0xe9b5a7,_0x3d4b8f,_0x3cf5d8,_0x3a09c3,_0x432baa;const _0x111985=_0x218c86(0x1e8),_0x2697df=_0x218c86(0x57b)+OUTLINE_CLASS+_0x218c86(0x311)+getThemeStyle(_0x218c86(0x424),(_0x2ea1a9=_0x114ff2==null?void 0x0:_0x114ff2['default'])==null?void 0x0:_0x2ea1a9['cursor'])+_0x218c86(0x2f1)+getThemeStyle(_0x218c86(0x355),(_0x3cc895=(_0x482bbe=_0x114ff2==null?void 0x0:_0x114ff2[_0x218c86(0x4d9)])==null?void 0x0:_0x482bbe['stroke'])==null?void 0x0:_0x3cc895[_0x218c86(0x262)])+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle(_0x218c86(0xdb),(_0x55091d=(_0x14aa64=_0x114ff2==null?void 0x0:_0x114ff2[_0x218c86(0x260)])==null?void 0x0:_0x14aa64[_0x218c86(0x355)])==null?void 0x0:_0x55091d[_0x218c86(0x515)])+_0x218c86(0x2cb)+getThemeStyle('fill',(_0x1c92d8=(_0x273718=_0x114ff2==null?void 0x0:_0x114ff2[_0x218c86(0x4d9)])==null?void 0x0:_0x273718[_0x218c86(0x4dc)])==null?void 0x0:_0x1c92d8['color'])+_0x218c86(0x1bc),_0x27d99c=_0x218c86(0x460)+OUTLINE_CLASS+_0x218c86(0x44d)+getThemeStyle(_0x218c86(0x424),(_0x449ff0=_0x114ff2==null?void 0x0:_0x114ff2['hovered'])==null?void 0x0:_0x449ff0['cursor'])+_0x218c86(0x2f1)+getThemeStyle(_0x218c86(0x355),(_0x87fbc6=(_0xb8ebbc=_0x114ff2==null?void 0x0:_0x114ff2[_0x218c86(0x260)])==null?void 0x0:_0xb8ebbc[_0x218c86(0x355)])==null?void 0x0:_0x87fbc6[_0x218c86(0x262)])+_0x218c86(0x2f1)+getThemeStyle(_0x218c86(0xdb),(_0x228fb9=(_0x51bab4=_0x114ff2==null?void 0x0:_0x114ff2[_0x218c86(0x260)])==null?void 0x0:_0x51bab4['stroke'])==null?void 0x0:_0x228fb9[_0x218c86(0x515)])+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle(_0x218c86(0x4d0),(_0x4c5fb7=(_0x87e870=_0x114ff2==null?void 0x0:_0x114ff2[_0x218c86(0x260)])==null?void 0x0:_0x87e870[_0x218c86(0x355)])==null?void 0x0:_0x4c5fb7[_0x218c86(0x3ff)])+_0x218c86(0x1ad)+getThemeStyle(_0x218c86(0x2ea),(_0xc00913=_0x114ff2==null?void 0x0:_0x114ff2[_0x218c86(0x260)])==null?void 0x0:_0xc00913[_0x218c86(0x10f)])+_0x218c86(0x3cd)+getThemeStyle(_0x218c86(0x2ea),(_0x9c7bdb=(_0x4c0a85=_0x114ff2==null?void 0x0:_0x114ff2[_0x218c86(0x260)])==null?void 0x0:_0x4c0a85['sectionName'])==null?void 0x0:_0x9c7bdb['color'])+'\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',_0xad6ccc=_0x218c86(0x574)+ATTR_DATA_GA_SELECTED+'=\x221\x22],\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga['+ATTR_DATA_GA_SELECTED+'=\x221\x22]\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle(_0x218c86(0x424),(_0x6a93a3=_0x114ff2==null?void 0x0:_0x114ff2[_0x218c86(0x89)])==null?void 0x0:_0x6a93a3[_0x218c86(0x424)])+_0x218c86(0x2f1)+getThemeStyle(_0x218c86(0x355),(_0x410a1d=(_0x345756=_0x114ff2==null?void 0x0:_0x114ff2[_0x218c86(0x89)])==null?void 0x0:_0x345756['stroke'])==null?void 0x0:_0x410a1d[_0x218c86(0x262)])+_0x218c86(0x2f1)+getThemeStyle(_0x218c86(0xdb),(_0x482c22=(_0x5cb2af=_0x114ff2==null?void 0x0:_0x114ff2[_0x218c86(0x89)])==null?void 0x0:_0x5cb2af[_0x218c86(0x355)])==null?void 0x0:_0x482c22[_0x218c86(0x515)])+_0x218c86(0x192)+ATTR_DATA_GA_SELECTED+_0x218c86(0x52d)+getThemeStyle(_0x218c86(0x2ea),(_0x3151bf=_0x114ff2==null?void 0x0:_0x114ff2[_0x218c86(0x89)])==null?void 0x0:_0x3151bf[_0x218c86(0x10f)])+_0x218c86(0xde)+ATTR_DATA_GA_SELECTED+'=\x221\x22]\x20>\x20path:not([data-seatmap-ga])\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle(_0x218c86(0x2ea),(_0x93ce86=(_0xc3caed=_0x114ff2==null?void 0x0:_0x114ff2[_0x218c86(0x89)])==null?void 0x0:_0xc3caed[_0x218c86(0x4dc)])==null?void 0x0:_0x93ce86[_0x218c86(0x262)])+_0x218c86(0x1bc),_0x539553='\x0a\x20\x20\x20\x20\x20\x20.sm-shape-ga['+ATTR_DATA_GA_UNAVAILABLE+_0x218c86(0x57f)+ATTR_DATA_GA_UNAVAILABLE+_0x218c86(0x272)+getThemeStyle(_0x218c86(0x424),(_0x52401d=_0x114ff2==null?void 0x0:_0x114ff2[_0x218c86(0x44c)])==null?void 0x0:_0x52401d['cursor'])+_0x218c86(0x2f1)+getThemeStyle(_0x218c86(0x355),(_0x58e508=(_0x1382c7=_0x114ff2==null?void 0x0:_0x114ff2[_0x218c86(0x44c)])==null?void 0x0:_0x1382c7['stroke'])==null?void 0x0:_0x58e508[_0x218c86(0x262)])+_0x218c86(0x2f1)+getThemeStyle('stroke-opacity',(_0x55f738=(_0x205bd8=_0x114ff2==null?void 0x0:_0x114ff2[_0x218c86(0x44c)])==null?void 0x0:_0x205bd8[_0x218c86(0x355)])==null?void 0x0:_0x55f738['opacity'])+_0x218c86(0x192)+ATTR_DATA_GA_UNAVAILABLE+_0x218c86(0x52d)+getThemeStyle('fill',(_0x55447d=_0x114ff2==null?void 0x0:_0x114ff2['unavailable'])==null?void 0x0:_0x55447d['bgColor'])+_0x218c86(0xde)+ATTR_DATA_GA_UNAVAILABLE+_0x218c86(0x175)+getThemeStyle('fill',(_0x362143=(_0x35b758=_0x114ff2==null?void 0x0:_0x114ff2['unavailable'])==null?void 0x0:_0x35b758[_0x218c86(0x4dc)])==null?void 0x0:_0x362143[_0x218c86(0x262)])+_0x218c86(0x1bc),_0x356152=_0x218c86(0x470)+getThemeStyle('cursor',(_0x1d3868=_0x114ff2==null?void 0x0:_0x114ff2[_0x218c86(0x260)])==null?void 0x0:_0x1d3868[_0x218c86(0x424)])+_0x218c86(0x2f1)+getThemeStyle('stroke',(_0x4bf80b=(_0x1b7f4e=_0x114ff2==null?void 0x0:_0x114ff2[_0x218c86(0x260)])==null?void 0x0:_0x1b7f4e['stroke'])==null?void 0x0:_0x4bf80b[_0x218c86(0x262)])+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle(_0x218c86(0xdb),(_0x3d4b8f=(_0xe9b5a7=_0x114ff2==null?void 0x0:_0x114ff2[_0x218c86(0x260)])==null?void 0x0:_0xe9b5a7[_0x218c86(0x355)])==null?void 0x0:_0x3d4b8f[_0x218c86(0x515)])+'\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'+getThemeStyle('fill',(_0x3cf5d8=_0x114ff2==null?void 0x0:_0x114ff2[_0x218c86(0x260)])==null?void 0x0:_0x3cf5d8['bgColor'])+_0x218c86(0x1ef)+getThemeStyle(_0x218c86(0x2ea),(_0x432baa=(_0x3a09c3=_0x114ff2==null?void 0x0:_0x114ff2[_0x218c86(0x260)])==null?void 0x0:_0x3a09c3[_0x218c86(0x4dc)])==null?void 0x0:_0x432baa[_0x218c86(0x262)])+_0x218c86(0x1bc),_0x1b287a='\x0a\x20\x20\x20\x20\x20\x20.sm-eagle-view\x20.'+SM_OUTLINE_FOCUSED+_0x218c86(0x178)+SM_OUTLINE_FOCUSED+_0x218c86(0x278);return'\x0a\x20\x20\x20\x20\x20\x20'+_0x34a053+_0x218c86(0x4fb)+_0x111985+_0x218c86(0x4fb)+_0x2697df+_0x218c86(0x4fb)+_0x27d99c+_0x218c86(0x4fb)+_0xad6ccc+_0x218c86(0x4fb)+_0x539553+'\x0a\x20\x20\x20\x20\x20\x20'+_0x356152+_0x218c86(0x4fb)+_0x1b287a+_0x218c86(0x17d)+OUTLINE_CLASS+_0x218c86(0x303);},bgOutlineCss=_0x3ad27d(0x20f)+OUTLINE_CLASS+_0x3ad27d(0x304),outlineCss=_0x3ad27d(0x1dc)+OUTLINE_CLASS+_0x3ad27d(0x2c1)+OUTLINE_CLASS+_0x3ad27d(0x42e),cleanupStyles=(_0x4d1dea,_0x1cd256)=>{const _0x8282d7=_0x3ad27d;if(!_0x4d1dea['hasAttribute']('style'))return;if(_0x1cd256[_0x8282d7(0x4a7)]===0x1&&_0x1cd256[0x0]==='*'){_0x4d1dea[_0x8282d7(0x209)](_0x8282d7(0x2f5));return;}const _0x11502b=_0x4d1dea[_0x8282d7(0x521)](_0x8282d7(0x2f5)),_0x521239=_0x11502b&&_0x11502b['split'](';')[_0x8282d7(0x50f)](_0x46cc84=>_0x46cc84[_0x8282d7(0x335)]()[_0x8282d7(0x4da)](':')),_0x56233f=_0x521239&&_0x521239['filter'](_0x4c556c=>_0x4c556c[0x0]&&!_0x1cd256[_0x8282d7(0x309)](_0x4c556c[0x0][_0x8282d7(0x335)]()));if(_0x56233f&&_0x56233f[_0x8282d7(0x4a7)]>0x0){const _0x7e2b32=_0x56233f[_0x8282d7(0x50f)](_0xa6a51c=>_0xa6a51c['join'](':'))[_0x8282d7(0x2fb)](';');_0x4d1dea[_0x8282d7(0x312)](_0x8282d7(0x2f5),_0x7e2b32);}else _0x4d1dea[_0x8282d7(0x209)](_0x8282d7(0x2f5));},DPR=window[_0x3ad27d(0x338)],THREE_D_CONSTANTS={'tiltFactor':0x2,'perspectiveFactor':1.5};function buildCss3DTransform({rotationZ:_0x22a34f,perspectiveZ:_0x1b02f0,tiltX:_0x5ab22d},_0x4bb076){const _0x260251=_0x3ad27d;var _0x1d3dcd;const _0x49ba94=_0x22a34f*0xb4/Math['PI'],_0x1a9b40=0x1+_0x5ab22d*THREE_D_CONSTANTS[_0x260251(0xc0)],_0x4a894f=0x1+_0x1b02f0*THREE_D_CONSTANTS[_0x260251(0x17e)],_0x3ed123=[],_0x51fd23=Math[_0x260251(0x490)](0.0001,(_0x1d3dcd=_0x4bb076==null?void 0x0:_0x4bb076[_0x260251(0x566)])!=null?_0x1d3dcd:0x1);if(_0x51fd23!==0x1)_0x3ed123[_0x260251(0x244)]('scaleX('+_0x51fd23+')');if(_0x1b02f0!==0x0)_0x3ed123[_0x260251(0x244)]('scaleY('+_0x4a894f+')');if(_0x5ab22d!==0x0)_0x3ed123[_0x260251(0x244)](_0x260251(0x369)+_0x1a9b40+')');if(_0x22a34f!==0x0)_0x3ed123['push'](_0x260251(0x3e0)+_0x49ba94+'deg)');if(_0x51fd23!==0x1)_0x3ed123[_0x260251(0x244)]('scaleX('+0x1/_0x51fd23+')');return _0x3ed123[_0x260251(0x2fb)]('\x20');}function _0x6254(){const _0x33e49c=['getContext','reverse','createStatsSeatRequest','map','clearSectionHighlight','pointer-events','SVG\x20has\x20duplicate\x20attributes:\x20','closest','readyState','opacity','disableSvgSectionsByNames','count','animationPanStep','redefined','#E91E63','fadeDurationMs','setGroupSize','setRotationAngle','navigateToPoint','.sm-bg-outlines','applySectionViewAnimation','getAttribute','Space','strokeStyle','emitSrcEvent','50%','rotationAnimation','u_hoveredColor','GET','atan2','u_translate','handleMouseDown','getProgramInfoLog','=\x221\x22]\x20path[data-seatmap-ga]\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','shiftKey','2hhugls','applyIntermediate3D','STATIC_DRAW','rowsStrokeWidthPx','no-cors','animateend','destPanZoom','hidden','Problem\x20SVG:','ballRadius','webgl','2798991SaciIA','explosions','getViewBox','sessionId','0\x202px\x208px\x20rgba(0,0,0,0.3)','#888888','selectedSeatIds','50%\x2050%','red','swipe','bottom-left','underlay','drawCanvas','duration','isRowsVisibleAtScale','priceId','161msTIiM','setIconAtlas','selectSeats','zIndex','enableSvgSectionsByIds','findNearestSeatGroup','image/svg+xml','highlightAllSections','special','isBackgroundReady','doTranslate','serializeToString','forEach','showRows','DESELECT','rowsGridStep','pricesRequestTime','frame','removeFilterSvgSectionById','delete','getSeatBaseColor','ctx','maxY','innerHeight','#000','setPricesDTO','shouldDrawSeats','3878781IpEQHU','aspectRatio','sm-bind-ga','getPrices','Possibly\x20remove\x20price-based\x20color\x20indication\x20at\x20this\x20scale','height=\x22','spawnExplosionAt','tiltTo','getElementById','transform','dpr','sendInit','revokeObjectURL','PAN_ZOOM','findIndex','\x0a\x20\x20\x20\x20\x20\x20.sm-shape-ga[','initializeTextureWorker','drawViewportDirectionArrow','#4CAF50','publicKey','rows_scale','STENCIL_BUFFER_BIT','\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.','isCrossfading','spinnerRotation','contains','=\x221\x22],\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga[','enableVertexAttribArray','drawOffscreenCanvas','error','mousedown','getHeight','priceColorBuffer','4px','data-section-id','pointerdown','isTouchMode','scrollY','hideSelectionRect','1778555JfmaXa','textureLoadingPromise','u_loadingColor','visibilityManager','initTime','#FFC107','loadSchema','priceIndicesDirty','getStageHeightPx','rowsVertices','_renderSeat','calculateLimitedTranslate','splice','bricks','subtract','3px','panend','lineTo','hoveredRow','point','phaseStartMs','setTimeout','sendSeatDeselect','data-ga-selected','staticGeometryValid','getSeatSelection','cart','1000','line','height=\x27','restore','shadowColor','onSectorMouseLeave','onSeatSelectionChange','&debug=','preview','onBeforeSeatDraw','CLICK','fetchSchemaForVenue','rowsProgram','data','getMinZoom','addSeatsToCart','removeChild','setSelectedGa','iconsUVMap','spinningSeats','event/prices/?id=','debugRenderer','addGaToCart','altKey','venue/schema/?id=','querySelectorAll','getNextScale','within','updatePriceIndicesBufferIfChanged','a_selectedStart','setHovered','cachedPriceColorIndices','crypto','find','u_errorColor','selected','#666','reverseRotationAnimation','u_loadingRotateAngle','setSeatSelection','block','DIRECTION_ALL','handleWindowResize','getAnimationId','207540jZfRRx','animateTo3DParams','rotate','renderHoveredSeat','origin','setMinimapFromSnapshot','WebGLRenderingContext','selectedGaId','absolute','ceil','outlineLayer','hasDeselectionAnimations','_backgroundElement','srcClick','sm-shape-ga','names','COMPILE_STATUS','rectSelectSeats','event/schema/rows/?id=','rowsRenderer','toRotationZ','fillText','destSectionMouseLeave','classList','groupOfSeats','tags','isAccessible','getRowWidthForScale','calculateRelativeScaledLimitedTranslate','groupSize','renderContent','pointerEvents','seatsPositionBuffer','availableSeatCount','clearTimeout','getMode','onSeatMouseEnter','relativeTranslate','onSeatsSelect','bottom','contextchange','filterSvgSectionsByIds','textureWorker','11px\x20Roboto,\x20Arial,\x20sans-serif','a_hoveredFlag','pow','tiltFactor','updateAnimationStep','getMaxZoom','snapshotTranslatePx','view-box','#00BCD4','seatSelectionMinZoom','createTexture','hoveredFlag','auto','handleDestPan','fetchPricesForEvent','start','seatsRenderer','init','lineWidth','isOutlineSelectable','u_stageHeight','mouseleave','setShowCartPins','createSeatImages','drawBackground','seatKeysToIds','u_stageWidth','complete','#bbb','createElement','stroke-opacity','touchmove','cleanSvgInlineStyles','\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga[','getCartSeats','mode','performRedraw','validate','disabled','CART_PIN_VIEWBOX','context','whiteSpace','inProgress','leaveSectionOnly','texcoordBuffer','lastChild','toggle','href','FLOAT','metaKey','...','pointerup','px\x22\x20','hasInitialDrawComplete','getAnimationPoint','disableSvgSectionById','requestFadeOut','getLockedSeatsSignature','sqrt','&publicKey=','getBBox','sectors','highlightAllOutlines','sm-outline-focused','forceUpdate','rotateTo','text','u_perspectiveZ','seatsById','ids','removeSpinningSeat','deactivate','changeMachineContext','colorRGB','renderSelectedSeat','addHandlers','prototype','polygon','overlayCanvas','removeFilter','RECT_SELECT','sectionId','bgColor','isMarked','svg','destSeatCartSwitch','drawSceneBackground','rows_stageWidth','isRunning','#000000','setMode','destSectionMouseEnter','0.1','blurred','_selectedAt','update','inside','left','requestNumber','isSeatInCart','getSeatByViewportPoint','#3F51B5','18px\x20Arial','afterCartUpdate','rowWidthPx','destSeatMouseLeave','sectorId','onPendingRotation','sectionViewActive','showDebugLayer','outline','SVG\x20parsing\x20error:\x20','textureReady','hasSeatTexture','pinch','stopPropagation','is3DEnabled','right','setCenterPoint','getZoomPresets','handleDestDeselect','sm-ga-bind-css','createProgram','key','showUnavailableOutlines','send','sm-outlines','repairGa','rowsGeometryBuiltForScale','getSectionElement','backgroundImageSrc','focus','drawPoint','range','scale','viewBox','shadowOffsetY','display','boxShadow','onload','getCart','colorCategories','running','replace','onSectorClick','initializeBackgroundOutline','gaInfo','isOutlineVisible','hasChildNodes','initCanvas','visibilitySettings','particles','addSpinningSeat','onmessage','onStart','innerHTML','a_selected','renderGaTitles','#1a1a1a','Program\x20link\x20error:','#F44336','outlines','ARRAY_BUFFER','clientHeight','cos','TEXTURE_2D','position','UNSIGNED_BYTE','naturalWidth','request','#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}','svgString','min','SVG\x20image\x20load\x20error','paddleWidth','originalSvg','\x20animation\x20issue\x20occured.','snapshotScalePxPerUnit','#FFFFFF','appContext','hasLoadingSeats','toString','rectSelectRows','selectable','=\x221\x22]\x20>\x20path:not([data-seatmap-ga])\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','assign','highlightSector',',\x0a\x20\x20\x20\x20\x20\x20.','hexToRGB','head','getGaSectionByOutline','scrollTop','\x0a\x20\x20\x20\x20\x20\x20.sm-eagle-view\x20.','perspectiveFactor','isActive','message','TEXTURE0','ensureZeroSelectionHoverBuffers','texImage2D','<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>','rows_tiltX','contentScale','schema','enableSeatsByIds','ensureStaticGeometry','focusSection','pricesById','options','createGaInfo','setContextScale','stageLayer','lastSeatsCount','SECTION_CLICK','\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga[','middle','touchend','updateGaFontScales','enableSectionsByIds','parentElement','normalizePinchScale','appendGAOutlines','offscreenOpacity','active','uniform2f','touchAction','Key\x20','type','enable3DView','fromPerspectiveZ','getStageLayer','onSeatDeselect','guid','fillBufferFloat32','success','uniform3fv','#FF5722','getUniformLocation','createTextNode','seatsByRowId','targetType','\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','loadTexture','program','rows_color','path','moveTo','info','textAlign','DYNAMIC_DRAW','setPricesData','setAnimationState','statusText','overlayPulseEndTime','setupBackgroundTexture','removeSeatsFromCartByKeys','\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','nextTexture','transformPanDeltaFor3D','ageMs','/api/public/v1.0/','seatImages','u_scale','requestIdleCallback','Error\x20in\x20request\x20to\x20','zoomSettings','pan','uniform2fv','strokeRect','rotationAngle','setMinimapPosition','handleDestSectionClick','destRectSelect','isSpinningSeat','u_dpr','startPanAnimation','getElementsByTagName','onSeatSelect','fixed','isSectionSelected','translate','disableZoomToEmptySpace','TEXTURE_MAG_FILTER','fadeOut','location','crossfadeStartTime','isTable','\x22]\x20>\x20rect','\x0a\x20\x20\x20\x20.','removeSeatFromCart','panToCenter','Failed\x20to\x20append\x20rows\x20overlay:','getRowsOpacityForScale','pinchend','accessible','createSeatsVertexShader','Failed\x20to\x20create\x20offscreen\x20canvas:','remove','onSeatsDeselect','removeClassNameAll','\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','loadTextureWithImageBitmap','clientWidth','loadBackgroundTextureAsync','forceRedraw','floor','fetchRowsSvgForEvent','\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','parseColorToRgb','onComplete','hasAttribute','updateBackgroundImage','crossfadeDurationMs','_deselectedAt','image/png','ID\x20','rows_translate','polyline','Failed\x20to\x20create\x20WebGL\x20texture','TEXTURE_WRAP_T','seatsKeysMissedOnPriceSet','shadow','rows_perspectiveZ','hasOwnProperty','paddleX','gaFontScales','updateViewportIndicator','\x22,\x20it\x20could\x20be\x20corrupted','lastFrameTime','ballX','contentOffsetX','getContextSvg','getPricesDTO','removeAttribute','#444','restoreSeats','enableDebugTools','handleDestSeatMouseEnter','parsererror','\x0a\x20\x20\x20\x20.sm-binded-ga,\x0a\x20\x20\x20\x20.sm-eagle-view\x20.','removeSeatsFromCartByIds','filtered','Program\x20linking\x20failed','get','destSeatMouseEnter','sectorIds','u_iconsCount','destDeselect','seats','_pricesDTO','POINTS','rect','DRAG_END','animateRotation','a_iconsTypes','top-right','ONE_MINUS_SRC_ALPHA','isEagleView','setBackgroundImage','getOffsetByPosition','8RWlRhC','childNodes','innerWidth','idle','parentNode','redraw','#999','sm-binded-ga','a_deselectedStart','Public\x20key\x20is\x20undefined','background','Failed\x20to\x20load\x20PNG,\x20falling\x20back\x20to\x20SVG:','size','sendViewBox','getSectionUpdatedCoords','plainSeats','calculatedOutlineRects','overflow','selectMode','close','loadEvent','prevSeatVisibility','beginPath','destPan','finishFadeOut','schemaRequestTime','resolve','isWebGlAvailable','seatToCartSeat','getSeatIds','stringify','px\x20Arial','push','addClassName','drawArrays','toTranslate','hideMinimap','createElementNS','selectionLayer','circle','Unable\x20to\x20create\x20shader','warn','initCart','_selectedSeatIds','deleteTexture','nodeName','lastSeatsRef','BLEND','selectedFlag','animatestart','rightPressed','bindTexture','stage','ensureBufferSize','perspectiveTo','hoveredSeat','attached','CLAMP_TO_EDGE','seatsIdsMissedOnPriceSet','backgroundImage','hovered','from','color','bufferData','Unknown\x20shader\x20compile\x20error','updatePricePaletteUniformIfChanged','sm-eagle-view','a_texCoord','enableSvgSectionsByNames','zoomToFit','SEAT_CART_SWITCH','iconAtlas','green','keys','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}','add','lastTime','Failed\x20to\x20load\x20background\x20texture:','=\x221\x22]\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','zoomToFitScale','viewSection','drawOnscreenCanvas','hostElement','srcDragMove','\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','initializeProgram','stopRotationAnimation','setTransform','u_iconUVs','abs','a_size','appendAutoOutlines','canActivate','toTiltX','enableSvgSectionById','applyPosition','startSpinnerAnimation','globalAlpha','sm-bg-outlines','<svg\x20','u_iconAtlas','getSectionsWithCoords','rowsMinGapPx','fromTiltX','handleDestRectSelect','toScale','getRotationAnimationId','u_time','getPositionByOffset','findSeatByKey','textureMix','resetSectionViewState','widthPx','fillStyle','createShader','selectionRect','startTextureCrossfade',')\x20rotate(','status','isTextureReady','seatsPositions','onSeatsSelectionChange','textBaseline','getContrastingColor','fetchSchemaForEvent','resize','handleMouseMove','presets','uniform3f','Failed\x20to\x20create\x20ImageBitmap:','category','selectedFlagBuffer','iconValues','lockedSeatsFilter','positionLocation','removeGaFromCart','calcOutlineRect','overlayCtx','#673AB7','VERTEX_SHADER','responseSize','refreshMinimap','25%','data:image/svg+xml;base64,','srcDragStart','u_tiltX','#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','animationId','enabled','gaCategories','visibility','getSeats','positionBuffer','destSeatSelect','finish','handleMouseLeave','createOutlineRect','\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.','delta','mousemove','API\x20request\x20failed\x20with\x20status\x20','stats','evenodd','localhost','none','zoomToDestination','127.0.0.1','\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','seatStyles','sizeBuffer','imageSmoothingQuality','cloneNode','font','checkmark','sectionsById','invalidateStaticGeometry','undefined','points','cancel','sizes','TABLE','onCartChange','/seat/deselect','clientX','src','onSectorMouseEnter','events','currentTarget','setSectionCoords','stop','zoomAnimationDuration','switchToWebGL','transformAnimationDuration','rows_enable3DView','<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22></svg>','debounceDelay','setPendingRotationAngle','SEAT_SELECT','fill','svgElement','priceCategories\x20is\x20not\x20an\x20array\x20or\x20is\x20undefined','clearSectionFocus','rowsOverlayElement','getOutlineRects','configuration','\x0a\x20\x20\x20\x20\x20\x20\x20\x20','corners','pathUrl','srcMouseMove','style','rgba(33,\x20150,\x20243,\x200.1)','getStageWidthPx','getImageData','u_loadingUV','https://booking.seatmap.dev/api/public/v1.0/','join','hideSeats','Error\x20in\x20requestPlain\x20to\x20','paddleY','onSchemaDataLoaded','zoomTo','startTransformAnimation','#f7f7f7','[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','\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','minimapScale','data-gos-guid','cachedDraw','appendChild','includes','viewport','seatsIndex','rowsColorRgba','preventDefault','getVersion','pointermove','durationMs',',\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','setAttribute','pinchStartPoint','updateSeatLocks','setBackgroundAsOutline','keyup','high','name','animationFrameId','concat','Texture\x20worker\x20error:','1703848GbfVxF','attachShader','setHighlightAllOutlines','clearRect','categoriesColor','rgba(0,\x200,\x200,\x20','createBuffer','hasSeatsDrawn','set','imageSmoothingEnabled','rowsBuffer','images','drawCartSeatPins','isGa','isFinish','enable','keyupHandler','clearSectorHighlight','rowNumber','querySelector','isDragging','translate(','lastRotationZ','getZoom','disableSvgSectionsByIds','trim','string','bindAttrib','devicePixelRatio','number','disableOutlinesInHelicopterView','offscreenCanvas','startTime','call','panning','restoreIds','addSeatToCart','MOUSE_MOVE','LINEAR','handleMouseUp','getExtension','runOverlayPulse','u_image1','getInitialScaleAndTranslate','a_priceColorIndex','relative','event/schema/?id=','div','schemaResponseSize','getPrevScale','handleDestSectionMouseEnter','disableSeatsByKeys','TEXTURE_MIN_FILTER','getSections','originalSectionPrices','filter','seatsPrices','stroke','disableCartInteractions','priceColors','ballY','448261krVrnz','toggleMinimap','vertexAttribPointer','#CDDC39','minimapLayer','commitTransform','center','animateSequence','setIconsUVMap','textContent','rowId','ArrowLeft','rowsPolylinesVersionBuilt','CART_PIN_PATH','outlineShapes','setSchemaData','scaleY(','calculateRelativeScaledTranslate','maxX','select','overlayRenderer','DRAG_START','nowrap','outer-highlight','imul','deltaX','postMessage','rgba(0,\x200,\x200,\x200.3)','isArray','calculateAbsoluteScaledTranslate','srcEvent','No\x20SVG','firstChild','PAN','uniform1f','#9C27B0','getAnimationState','rows_a_position','removeEventListener','container','<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>','px\x22\x20height=\x22','code','getSeatByOffset','pricesResponseSize','texParameteri','handleDestSeatSelect','minimap','</svg>','imageId','animationStep','naturalHeight','rowsVisibleAtScale','ArrowRight','backgroundColor','screen','drawOverlay','Failed\x20to\x20parse\x20API\x20response\x20as\x20JSON:\x20','#sm-rows\x20polyline{fill:none;stroke:none;stroke-width:15px;stroke-linecap:round;}','useProgram','u_iconTypes','contentOffsetY','save','black','angle','sanitizeIds','linkProgram','setBackgroundSnapshot','skewAngle','debug','paddleHeight','sendSeatSelect','ready','offscreenColor','height','parse','onZoomEnd','getSvgSectionBySelection','#2196F3','handleChangeEagleView','now','initStartTime','getSectionsKeys','startAnimation','uniform4fv','btoa','getHighlightAllOutlines','#fff','texcoordLocation','FRAGMENT_SHADER','service','isDebug','appendAutoAndGaOutlines','handleDestPanZoom','clientY','\x20on\x20scheme!','unpackSchemaDTO',',.sm-table,.sm-shape-ga,.sm-binded-ga','getGaSectors','rgba(0,\x200,\x200,\x200.005)','shadowBlur','padding','https://stat.seatmap.pro','isSeatSelectable','fromTranslate','#c7c7c7','resetAll','lifeMs','getSectorRectByOutline','top-left','perspectiveZ','rowsLockedSignatureBuilt','addEventListeners','calculateLimit','scrollX','Section\x20','\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','loadTextureWithWorker','acos','invalidatePriceIndices','zoomToSection','extractSVGBackgroundOutlines','bindBuffer','&disableOriginal=true','redrawHandler','config','hostname','viewportColor','updateOutlines','u_markedUV','getAnimationState\x20is\x20not\x20implemented\x20for\x20this\x20layer','indexOf','ctx2d','apply3DTransforms','handleDestSectionMouseLeave','rotateZ(','TEXTURE1','addEventListener','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','invalidateSeatsGeometry','fromScale',')\x20translate(','priceIdToIndex','ballVY','scheduleUpdate','fromRotationZ','triggerSeatSelectionPulse','disableSeatsByIds','class','hammer','pendingRotationAngle','minimapHeight','calculateAbsolutePoint','seatToExtendedSeat','DEPTH_BUFFER_BIT','bottom-right','ballVX','SEAT_MOUSE_ENTER','settings','isSeatVisible','fetchSchema','substring','captureSeatmap','locked','rows_rotationZ','onZoomStart','width','deleteProgram','Worker\x20texture\x20loading\x20failed:','100%','buffer','destSectionClick','sort','price','u_pulseDuration','secretGame','displayed','filterSvgSectionById','deleteShader','rotationZ','u_resolution','a_hovered','section','isStart','srcDragEnd','fillRect','setPosition','draw','getNearestDocumentedScale','rowsById','activeTexture','onRedrawEnd','transformOrigin','onPan','arc','onEnd','stageHeight','spinnerAnimationId','showCartPins','hoverSeatLabel','compileShader','tiltX','u_errorUV','cursor','Failed\x20to\x20get\x20canvas\x20context','destination','onSectionClick','hasBackgroundReady','attachKeyboardHandlers','fadeIn','has','state','userSelect','\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','marked','toPerspectiveZ','setIconsData','values','getVisibleSeats','onAnimationFrame','borderWidth','Failed\x20to\x20upload\x20ImageBitmap\x20texture:','slice','setSeatsGeometry','theme','pointer','setTransformationState','getCoordsAfterRotation','random','outlineSvg','rowsPolylines','rgba(255,255,255,0.6)','getMarkedSeatsIds','selectRows','renderSeat','_seats','seatIds','keydown','drawImage','orange','object','handleClick','entries','unavailable',':hover,\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga:hover\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','u_color','RGBA','TRIANGLES','navigator','uniform1i','getRowById','setRectangle','setupBackgroundBuffers','scheduleFrame','baseUrl','#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','transformAnimator','setSectionSelection','toDataURL','createObjectURL','getAttribLocation','repairSeat','hasBackgroundOutline','\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.','getStageSize','handleTouchStart','isRowsMode','eventName','applySkew','seatsAvailabilityBuffer','buildRowsGeometry','function','round','<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>','svgSectionStyles','documentElement','firstElementChild','click','alive','\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','<svg\x20width=\x22','rows','sin','blur','texture','setHeight','3D\x20view\x20is\x20not\x20enabled.\x20Set\x20enable3DView:\x20true\x20in\x20settings.','onSeatDebouncedEnter','deltaY','show','checkBackgroundOutlines','requestPlain','all','a_loading','enableAlphaBlending','getAnimation','#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','SVG\x20viewbox\x20not\x20defined','#111','backgroundSVG','#FF9800','getSectionId','resizeTimer','clearCart','handleDestSeatMouseLeave','reduce','seatKey','event/?id=','canvas','parseFromString','filterSeatsByIds','max','zoomOut','SeatmapBookingRenderer\x20constructor','borderColor','#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}','phase','apiClient','calculateViewportRect','outlineRect','local','loading','isSeatUnavailable','LINK_STATUS','sm-outline-auto','http://www.w3.org/2000/svg','SECTION_MOUSE_ENTER','keydownHandler','iconAtlasWidth','setGaCategory','315722DFNkEL','leftPressed','isRotationAnimationRunning','updateSize','length','getVisibilityStatuses','underlayBindedPathAttr','getWidth','highlightSection','onRedrawStart','1030YJLGJU','then','createOverlayVertexShader','POST','OverlayRenderer\x20shader\x20compile\x20error:','supportsOffscreenCanvas','_selectedGaId','createOrGetOutlineShapes','pinchstart\x20pinchmove\x20pinchend','getRows','destroy','a_position','pinchstart','Images\x20are\x20not\x20available,\x20switching\x20to\x20HTML5\x20canvas\x20mode','getBoundingClientRect','u_image0','mouseup','stageWidth','handlePinch','top','REPLACE','Failed\x20to\x20initialize\x20texture\x20worker:','gridStep','ADD','translate(-50%,\x20-50%)','setupBackgroundTextureFromImageBitmap','backgroundRenderer','touchstart','appendRowsOverlay','#009688','closePath','rowsPolylinesVersion','hoveredFlagBuffer','OES_standard_derivatives','body','stroke-width','999','SRC_ALPHA','env','minimapWidth','1.55.2','anonymous','u_mix','element','default','split','https://booking.seatmap.pro/api/public/v1.0/','sectionName','hide','removeEventListeners','\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','u_rotationZ','getShaderParameter','currentSrc','handleDestSeatCartSwitch','getProgramParameter','uniform4f','u_enable3DView','crossOrigin','handleMouseMoveOutside','handleDebouncedSeatChange','createHammer','shaderSource','sm-background','prices','target','drawScene','seat','buttons','lastPricePaletteSignature','a_selectedFlag','backgroundElement','onSeatMouseLeave','drawRows','Unknown\x20program\x20link\x20error','fillBufferWithUsage','hasSelectedSeats','a_error','\x0a\x20\x20\x20\x20\x20\x20','blendFunc','onerror','labelEl','data-seatmap-ga','match','createImageVertexShader','shadowOffsetX','get3DViewParams','seatName','zoomIn','animation','offscreenCtx','iconAtlasHeight','sectionViewTransform','getSectionByOutline','visible'];_0x6254=function(){return _0x33e49c;};return _0x6254();}function getDefaultTransformOrigin(){const _0x188c80=_0x3ad27d;return _0x188c80(0x541);}function projectPointTo3DView(_0x4de787,_0x20557a,{rotationZ:_0x3aff5b,perspectiveZ:_0x157508,tiltX:_0x33daf5}){const _0x20cc16=_0x3ad27d,_0x5774e4=Math['max'](0x1,_0x20557a[_0x20cc16(0x3ff)]),_0x3f87aa=Math[_0x20cc16(0x490)](0x1,_0x20557a[_0x20cc16(0x3a3)]),_0x4cbb87=0x2*_0x4de787['x']/_0x5774e4-0x1,_0x1e38f0=0x1-0x2*_0x4de787['y']/_0x3f87aa,_0x5f5c92=Math[_0x20cc16(0x161)](_0x3aff5b),_0x35f677=Math[_0x20cc16(0x473)](_0x3aff5b),_0x5c542f=_0x5f5c92*_0x4cbb87-_0x35f677*_0x1e38f0,_0x215797=_0x35f677*_0x4cbb87+_0x5f5c92*_0x1e38f0,_0x4fbcf9=_0x215797+_0x215797*_0x33daf5*THREE_D_CONSTANTS[_0x20cc16(0xc0)],_0x484469=0x1+_0x4fbcf9*_0x157508*THREE_D_CONSTANTS['perspectiveFactor'],_0x2486a2=_0x5c542f*_0x484469,_0x1436f4=_0x4fbcf9*_0x484469,_0x1aff90=(_0x2486a2+0x1)/0x2*_0x5774e4,_0x30651a=(0x1-_0x1436f4)/0x2*_0x3f87aa;return{'x':_0x1aff90,'y':_0x30651a};}function unprojectPointFrom3DView(_0x3f0249,_0x3b7d6d,{rotationZ:_0x413828,perspectiveZ:_0x25c66b,tiltX:_0x21fddb}){const _0xb1f8fa=_0x3ad27d,_0x49db84=Math['max'](0x1,_0x3b7d6d[_0xb1f8fa(0x3ff)]),_0x1c1baa=Math['max'](0x1,_0x3b7d6d['height']),_0x38b1a5=0x2*_0x3f0249['x']/_0x49db84-0x1,_0x568c8f=0x1-0x2*_0x3f0249['y']/_0x1c1baa,_0x24848d=_0x25c66b*THREE_D_CONSTANTS[_0xb1f8fa(0x17e)];let _0x3072dd=_0x568c8f,_0x1ba23a=0x1;if(Math[_0xb1f8fa(0x27d)](_0x24848d)>0.000001){const _0xddfc64=0x1+0x4*_0x24848d*_0x568c8f,_0x37e503=_0xddfc64>=0x0?Math[_0xb1f8fa(0xf7)](_0xddfc64):0x1;_0x3072dd=(-0x1+_0x37e503)/(0x2*_0x24848d),_0x1ba23a=0x1+_0x24848d*_0x3072dd;}const _0x30289a=_0x38b1a5/_0x1ba23a,_0xb73583=_0x3072dd/(0x1+_0x21fddb*THREE_D_CONSTANTS['tiltFactor']),_0x3cf536=_0x30289a,_0x6cd6e8=Math[_0xb1f8fa(0x161)](_0x413828),_0x2dad2f=Math[_0xb1f8fa(0x473)](_0x413828),_0x3bfe2b=_0x6cd6e8*_0x3cf536-_0x2dad2f*_0xb73583,_0x130277=_0x2dad2f*_0x3cf536+_0x6cd6e8*_0xb73583,_0x45d401=(_0x3bfe2b+0x1)/0x2*_0x49db84,_0x5557e4=(0x1-_0x130277)/0x2*_0x1c1baa;return{'x':_0x45d401,'y':_0x5557e4};}var UNDERLAY_BINDED_GA_PATH_ATTR=_0x3ad27d(0x587),UNDERLAY_BINDED_GA_PATH_ATTR_LEGACY=_0x3ad27d(0x567),UNDERLAY_SVG_GROUP=_0x3ad27d(0x51f),UNDERLAY_TO_BIND_GA_PATH_ATTR=_0x3ad27d(0x4ff),DATA_GOS_ID='data-gos-id',DATA_FONT_SCALE='data-font-scale',enrichElementWithData=(_0x4f577c,_0x5ee04d,_0x456986,_0x4ca268)=>{const _0x1c18a5=_0x3ad27d,_0x725be0=_0x4f577c['getAttribute'](_0x456986);if(!_0x725be0)return;_0x4f577c[_0x1c18a5(0x312)](_0x1c18a5(0x306),_0x725be0);const _0x486d7e=_0x5ee04d[_0x1c18a5(0x87)](_0x3f92b3=>(_0x3f92b3==null?void 0x0:_0x3f92b3[_0x1c18a5(0x1a4)])===_0x725be0);if(!_0x486d7e){_0x4f577c[_0x1c18a5(0x312)](_0x1c18a5(0x515),_0x1c18a5(0x119));return;}!(_0x486d7e==null?void 0x0:_0x486d7e[_0x1c18a5(0x329)])&&_0x4f577c['setAttribute'](_0x1c18a5(0x515),_0x1c18a5(0x119));const _0x163397=_0x486d7e==null?void 0x0:_0x486d7e['id'];_0x163397&&_0x4f577c[_0x1c18a5(0x312)](DATA_GOS_ID,_0x163397[_0x1c18a5(0x172)]());const _0x5bfb0a=_0x4ca268[_0x1c18a5(0x218)][_0x1c18a5(0x353)](_0x99725b=>_0x99725b[_0x1c18a5(0x127)]===_0x163397),_0x101b84=_0x5bfb0a[_0x1c18a5(0x87)](_0x197f2c=>_0x197f2c[_0x1c18a5(0x549)]);if(_0x5bfb0a[_0x1c18a5(0x4a7)]>0x0&&!_0x101b84&&_0x4ca268[_0x1c18a5(0x3f7)][_0x1c18a5(0x139)])return;_0x4ca268[_0x1c18a5(0x3f7)][_0x1c18a5(0x33a)]?_0x4f577c[_0x1c18a5(0xa9)]['add'](OUTLINE_CLASS):_0x4f577c[_0x1c18a5(0xa9)][_0x1c18a5(0x26f)]('sm-binded-ga');},OutlineLayer=class{constructor(_0x4d5cc7){const _0xd7aec4=_0x3ad27d;this['hasBackgroundOutline']=![],this[_0xd7aec4(0x4a9)]=UNDERLAY_BINDED_GA_PATH_ATTR,this[_0xd7aec4(0x234)]={},this[_0xd7aec4(0x18d)]=_0x51840a=>{const _0x42b6dc=_0xd7aec4,{sectionsById:_0x4ee046}=this['context'],_0x4bfbbc=[];return _0x51840a[_0x42b6dc(0x556)](_0x5a3b8a=>{const _0x523810=_0x42b6dc,_0x2cc477=Number(_0x5a3b8a[_0x523810(0x521)](DATA_GOS_ID)),_0x39bf66=_0x2cc477?_0x4ee046[_0x2cc477]:null,_0x37d601=_0x5a3b8a['getAttribute']('transform');if(!_0x39bf66||!_0x37d601)return;const _0x11f8ea=matrixStrToArray(_0x37d601);_0x4bfbbc['push']({'id':_0x39bf66['id'],'name':_0x39bf66['name'],'transform':_0x11f8ea,'isTable':!!(_0x39bf66[_0x523810(0x19f)]===_0x523810(0x2d8))});}),_0x4bfbbc;},this[_0xd7aec4(0xf4)]=_0x3d4961=>{const _0x28f04e=_0xd7aec4,_0x69703e=document[_0x28f04e(0x32f)](UNDERLAY_SVG_GROUP),_0x18e69a=_0x69703e==null?void 0x0:_0x69703e[_0x28f04e(0x32f)]('['+DATA_GOS_ID+'=\x22'+_0x3d4961+'\x22]'),_0xcc45f5=this['context'][_0x28f04e(0x3f7)][_0x28f04e(0x439)];if(!_0x18e69a)return;_0x18e69a[_0x28f04e(0x209)](ATTR_DATA_GA_SELECTED),_0x18e69a[_0x28f04e(0x312)](ATTR_DATA_GA_UNAVAILABLE,'1');const _0xfc5651=Array[_0x28f04e(0x261)](_0x18e69a==null?void 0x0:_0x18e69a[_0x28f04e(0x7f)]('['+UNDERLAY_TO_BIND_GA_PATH_ATTR+']'));_0xfc5651==null?void 0x0:_0xfc5651[_0x28f04e(0x556)](_0x1bf39b=>{const _0x9883d8=_0x28f04e;var _0x2206a3,_0x3b7b12,_0x4971bf;const _0x3d9d59=_0x1bf39b[_0x9883d8(0x521)](ATTR_DATA_DEFAULT_FILL);if(_0x3d9d59)return;const _0x1d740e=_0x1bf39b[_0x9883d8(0x521)](_0x9883d8(0x2ea))||_0x9883d8(0x2c8);_0x1bf39b[_0x9883d8(0x312)](ATTR_DATA_DEFAULT_FILL,_0x1d740e),_0x1bf39b[_0x9883d8(0x312)]('fill',((_0x3b7b12=(_0x2206a3=_0xcc45f5==null?void 0x0:_0xcc45f5[_0x9883d8(0x46b)])==null?void 0x0:_0x2206a3[_0x9883d8(0x44c)])==null?void 0x0:_0x3b7b12[_0x9883d8(0x10f)])||((_0x4971bf=theme_default[_0x9883d8(0x46b)])==null?void 0x0:_0x4971bf['unavailable'][_0x9883d8(0x10f)])),_0x1bf39b[_0x9883d8(0x312)](_0x9883d8(0x511),'none');});},this[_0xd7aec4(0x282)]=_0x2c0ad4=>{const _0x3878aa=_0xd7aec4,_0x3534d0=document['querySelector'](UNDERLAY_SVG_GROUP),_0x309781=_0x3534d0==null?void 0x0:_0x3534d0['querySelector']('['+DATA_GOS_ID+'=\x22'+_0x2c0ad4+'\x22]');if(!_0x309781)return;_0x309781['removeAttribute'](ATTR_DATA_GA_SELECTED),_0x309781['removeAttribute'](ATTR_DATA_GA_UNAVAILABLE);const _0x2f5907=Array['from'](_0x309781==null?void 0x0:_0x309781[_0x3878aa(0x7f)]('['+UNDERLAY_TO_BIND_GA_PATH_ATTR+']'));_0x2f5907==null?void 0x0:_0x2f5907[_0x3878aa(0x556)](_0x469045=>{const _0x457b27=_0x3878aa,_0x1cc9a9=_0x469045[_0x457b27(0x521)](ATTR_DATA_DEFAULT_FILL);if(!_0x1cc9a9)return;_0x469045[_0x457b27(0x312)](_0x457b27(0x2ea),_0x1cc9a9),_0x469045[_0x457b27(0x209)](ATTR_DATA_DEFAULT_FILL),_0x469045[_0x457b27(0x209)](_0x457b27(0x511));});},this[_0xd7aec4(0x40a)]=_0x46db91=>{const _0x49686d=_0xd7aec4,_0x193cb4=document[_0x49686d(0x32f)](UNDERLAY_SVG_GROUP),_0x54a246=_0x193cb4==null?void 0x0:_0x193cb4['querySelector']('['+DATA_GOS_ID+'=\x22'+_0x46db91+'\x22]'),_0x2b2168=this[_0x49686d(0xe5)]['settings'][_0x49686d(0x439)];if(!_0x54a246)return;_0x54a246['removeAttribute'](ATTR_DATA_GA_SELECTED);const _0x411968=Array['from'](_0x54a246==null?void 0x0:_0x54a246[_0x49686d(0x7f)]('['+UNDERLAY_TO_BIND_GA_PATH_ATTR+']'));_0x411968==null?void 0x0:_0x411968['forEach'](_0x187e4a=>{const _0x1faa80=_0x49686d;var _0x51418f,_0x5db8a2,_0x1351c6;const _0x4fc698=_0x187e4a[_0x1faa80(0x521)](ATTR_DATA_DEFAULT_FILL);if(_0x4fc698)return;const _0x18bf90=_0x187e4a[_0x1faa80(0x521)](_0x1faa80(0x2ea))||_0x1faa80(0x2c8);_0x187e4a[_0x1faa80(0x312)](ATTR_DATA_DEFAULT_FILL,_0x18bf90),_0x187e4a[_0x1faa80(0x312)]('fill',((_0x5db8a2=(_0x51418f=_0x2b2168==null?void 0x0:_0x2b2168[_0x1faa80(0x46b)])==null?void 0x0:_0x51418f['filtered'])==null?void 0x0:_0x5db8a2[_0x1faa80(0x10f)])||((_0x1351c6=theme_default[_0x1faa80(0x46b)])==null?void 0x0:_0x1351c6[_0x1faa80(0x211)][_0x1faa80(0x10f)])),_0x187e4a[_0x1faa80(0x312)](_0x1faa80(0x511),'none');});},this[_0xd7aec4(0x55c)]=_0x5ba12e=>{const _0x1e63af=_0xd7aec4,_0xffc0b=document[_0x1e63af(0x32f)](UNDERLAY_SVG_GROUP),_0xdbf6a=_0xffc0b==null?void 0x0:_0xffc0b['querySelector']('['+DATA_GOS_ID+'=\x22'+_0x5ba12e+'\x22]');if(!_0xdbf6a)return;_0xdbf6a[_0x1e63af(0x209)](ATTR_DATA_GA_SELECTED);const _0x2d600e=Array[_0x1e63af(0x261)](_0xdbf6a==null?void 0x0:_0xdbf6a[_0x1e63af(0x7f)]('['+UNDERLAY_TO_BIND_GA_PATH_ATTR+']'));_0x2d600e==null?void 0x0:_0x2d600e[_0x1e63af(0x556)](_0x289e40=>{const _0x53d861=_0x1e63af,_0x3e6cd8=_0x289e40[_0x53d861(0x521)](ATTR_DATA_DEFAULT_FILL);if(!_0x3e6cd8)return;_0x289e40[_0x53d861(0x312)]('fill',_0x3e6cd8),_0x289e40[_0x53d861(0x209)](ATTR_DATA_DEFAULT_FILL),_0x289e40['removeAttribute'](_0x53d861(0x511));});};var _0xfd384;this[_0xd7aec4(0xe5)]=_0x4d5cc7,this[_0xd7aec4(0x14e)](),this[_0xd7aec4(0x2eb)]=document['createElementNS']('http://www.w3.org/2000/svg','svg'),this[_0xd7aec4(0x2eb)][_0xd7aec4(0x2f5)][_0xd7aec4(0x163)]=_0xd7aec4(0x9a),this['svgElement'][_0xd7aec4(0x2f5)][_0xd7aec4(0x11e)]='0',this[_0xd7aec4(0x2eb)]['style']['width']=_0xd7aec4(0x402),this['svgElement'][_0xd7aec4(0x2f5)][_0xd7aec4(0x3a3)]=_0xd7aec4(0x402),this[_0xd7aec4(0x2eb)][_0xd7aec4(0x2f5)][_0xd7aec4(0x235)]=_0xd7aec4(0x50b),appendStyles((_0xfd384=this[_0xd7aec4(0xe5)][_0xd7aec4(0x3f7)][_0xd7aec4(0x439)])==null?void 0x0:_0xfd384[_0xd7aec4(0x46b)]),this['checkBackgroundOutlines']()?(this[_0xd7aec4(0x2eb)]['classList']['add'](_0xd7aec4(0x286)),this['setBackgroundAsOutline']()):this[_0xd7aec4(0x3d9)](),this[_0xd7aec4(0x4a6)](),this[_0xd7aec4(0x4dd)](),this['context']['element'][_0xd7aec4(0x308)](this['svgElement']),this['handleChangeEagleView']();}[_0x3ad27d(0x4b7)](){const _0xd29547=_0x3ad27d;this[_0xd29547(0x2eb)][_0xd29547(0x1e5)](),this[_0xd29547(0xe5)][_0xd29547(0x4b7)]();}[_0x3ad27d(0x45a)](_0x27349c){const _0x29fa35=_0x3ad27d;if(!_0x27349c){const _0x24f3c5=this[_0x29fa35(0x2eb)][_0x29fa35(0x7f)]('['+ATTR_DATA_GA_SELECTED+']');_0x24f3c5==null?void 0x0:_0x24f3c5['forEach'](_0x210993=>_0x210993[_0x29fa35(0x209)](ATTR_DATA_GA_SELECTED));return;}const _0x486fc9=this[_0x29fa35(0x13e)](_0x27349c);_0x486fc9==null?void 0x0:_0x486fc9[_0x29fa35(0x312)](ATTR_DATA_GA_SELECTED,'1');}['highlightGa'](_0x1aff2d){const _0x36aa85=_0x3ad27d,_0x38ca10=this[_0x36aa85(0x2eb)][_0x36aa85(0x32f)]('['+ATTR_DATA_GA_SELECTED+']');_0x38ca10==null?void 0x0:_0x38ca10[_0x36aa85(0x209)](ATTR_DATA_GA_SELECTED);const _0x4088fc=this[_0x36aa85(0x13e)](_0x1aff2d);_0x4088fc==null?void 0x0:_0x4088fc['setAttribute'](ATTR_DATA_GA_SELECTED,'1');}['clearSectionHighlight'](){const _0x12f576=_0x3ad27d,_0x50b37d=this['svgElement'][_0x12f576(0x7f)]('['+ATTR_OUTER_HIGHLIGHT+']');_0x50b37d==null?void 0x0:_0x50b37d[_0x12f576(0x556)](_0x164868=>_0x164868[_0x12f576(0x209)](ATTR_OUTER_HIGHLIGHT));}[_0x3ad27d(0x4ab)](_0x501989){const _0x2fdd54=_0x3ad27d,_0x36c4bd=this[_0x2fdd54(0x13e)](_0x501989);_0x36c4bd==null?void 0x0:_0x36c4bd['setAttribute'](ATTR_OUTER_HIGHLIGHT,'1');}[_0x3ad27d(0x551)](){const _0x56b534=_0x3ad27d,_0x190672=this[_0x56b534(0x2eb)]['querySelectorAll']('['+DATA_GOS_ID+']');_0x190672==null?void 0x0:_0x190672['forEach'](_0x43c102=>{const _0x55f094=_0x56b534;_0x43c102[_0x55f094(0x312)](ATTR_OUTER_HIGHLIGHT,'1');});}[_0x3ad27d(0x2ed)](){const _0x328a79=_0x3ad27d;this[_0x328a79(0x1e7)](SM_OUTLINE_FOCUSED);}['focusSection'](_0x1f0b01){const _0x42849e=_0x3ad27d;this[_0x42849e(0x2ed)](),this['addClassName'](SM_OUTLINE_FOCUSED,_0x1f0b01);}[_0x3ad27d(0x1e7)](_0x94d6e6){const _0x2166d8=_0x3ad27d,_0x59cc80=this[_0x2166d8(0x2eb)][_0x2166d8(0x7f)]('.'+_0x94d6e6);if(!_0x59cc80)return;_0x59cc80[_0x2166d8(0x556)](_0x5ca007=>_0x5ca007['classList'][_0x2166d8(0x1e5)](_0x94d6e6));}[_0x3ad27d(0x245)](_0x3a26a5,_0x1e47e0){const _0x13a826=_0x3ad27d;if(!_0x1e47e0)return;const _0xc19e04=this[_0x13a826(0x13e)](_0x1e47e0);if(!_0xc19e04)return;_0xc19e04[_0x13a826(0xa9)][_0x13a826(0x26f)](_0x3a26a5);}['getSectionRect'](_0x57b599){const _0x187cd7=_0x3ad27d;if(!_0x57b599)return null;const _0x37d4b1=this['outlineRect'][_0x57b599];if(_0x37d4b1)return _0x37d4b1;const _0x4b9bdd=this['getSectionElement'](_0x57b599);if(!_0x4b9bdd)return null;const _0xafddb0=_0x4b9bdd[_0x187cd7(0xf9)]();return _0xafddb0;}[_0x3ad27d(0x13e)](_0x58ab61){const _0x248985=_0x3ad27d;var _0x5e2f4a;const _0x5b1f19=(_0x5e2f4a=this[_0x248985(0x2eb)]['querySelector']('['+DATA_GOS_ID+'=\x22'+_0x58ab61+_0x248985(0x1db)))!=null?_0x5e2f4a:this[_0x248985(0x2eb)][_0x248985(0x32f)]('['+DATA_GOS_ID+'=\x22'+_0x58ab61+'\x22]');return _0x5b1f19;}get[_0x3ad27d(0x3ff)](){const _0x2c1905=_0x3ad27d;return this['context'][_0x2c1905(0x4d8)][_0x2c1905(0x1ea)];}get[_0x3ad27d(0x3a3)](){const _0x555c30=_0x3ad27d;return this[_0x555c30(0xe5)][_0x555c30(0x4d8)][_0x555c30(0x160)];}[_0x3ad27d(0x4a6)](){const _0x240201=_0x3ad27d;this[_0x240201(0x2eb)]['setAttribute'](_0x240201(0x3ff),this[_0x240201(0x3ff)]+''),this[_0x240201(0x2eb)][_0x240201(0x312)]('height',this[_0x240201(0x3a3)]+''),this[_0x240201(0x11c)]();}[_0x3ad27d(0x47b)](){const _0x36164d=_0x3ad27d,_0x377c17=this[_0x36164d(0x207)]();return(_0x377c17==null?void 0x0:_0x377c17[_0x36164d(0x309)](UNDERLAY_BINDED_GA_PATH_ATTR))||(_0x377c17==null?void 0x0:_0x377c17[_0x36164d(0x309)](UNDERLAY_BINDED_GA_PATH_ATTR_LEGACY));}[_0x3ad27d(0x14e)](){const _0x336e2c=_0x3ad27d,_0x43cdd6=this[_0x336e2c(0x207)]();if(!_0x43cdd6)return;this[_0x336e2c(0x16c)]=createSvgElement(_0x43cdd6!=null?_0x43cdd6:''),this[_0x336e2c(0x45f)]=!![],this[_0x336e2c(0x4a9)]=(_0x43cdd6==null?void 0x0:_0x43cdd6[_0x336e2c(0x309)](UNDERLAY_BINDED_GA_PATH_ATTR_LEGACY))?UNDERLAY_BINDED_GA_PATH_ATTR_LEGACY:UNDERLAY_BINDED_GA_PATH_ATTR;const _0x1b06af=this[_0x336e2c(0x16c)][_0x336e2c(0x56d)](_0x336e2c(0x4ec))||document[_0x336e2c(0x249)](_0x336e2c(0x49e),'g');this[_0x336e2c(0x484)]=_0x1b06af[_0x336e2c(0x2cf)](!![]),this[_0x336e2c(0x484)][_0x336e2c(0x209)]('id');const _0x3477e4=this[_0x336e2c(0x484)][_0x336e2c(0x7f)]('['+UNDERLAY_BINDED_GA_CSS_STYLES+']');_0x3477e4[_0x336e2c(0x4a7)]&&_0x3477e4['forEach'](_0x1319c0=>_0x1319c0[_0x336e2c(0x1e5)]());}[_0x3ad27d(0x315)](){const _0x326834=_0x3ad27d;if(!this[_0x326834(0x45f)])return;this[_0x326834(0x2eb)][_0x326834(0x158)]='';const _0x26551e=this[_0x326834(0x3d2)](),_0x4e901f=this['backgroundSVG'][_0x326834(0x521)](_0x326834(0x144));_0x4e901f&&this[_0x326834(0x2eb)]['setAttribute'](_0x326834(0x144),_0x4e901f);this['svgElement'][_0x326834(0x308)](this[_0x326834(0x484)]);const _0xd96537=document[_0x326834(0x249)](_0x326834(0x49e),'g');this['appendAutoAndGaOutlines'](_0xd96537,_0x26551e),this[_0x326834(0x2eb)]['appendChild'](_0xd96537),this[_0x326834(0x498)]=this[_0x326834(0x2ef)]();}[_0x3ad27d(0x3d2)](){const _0x2bd55e=_0x3ad27d,_0x5ab1d4=Object[_0x2bd55e(0x432)](this[_0x2bd55e(0xe5)][_0x2bd55e(0x2d2)]),_0x523a42=this[_0x2bd55e(0x484)][_0x2bd55e(0x7f)]('['+this[_0x2bd55e(0x4a9)]+']');return _0x523a42[_0x2bd55e(0x556)](_0x1f3d3f=>{const _0x2d921b=_0x2bd55e;enrichElementWithData(_0x1f3d3f,_0x5ab1d4,this[_0x2d921b(0x4a9)],this[_0x2d921b(0xe5)]);}),_0x523a42;}[_0x3ad27d(0xdd)](_0x57a797=['fill']){const _0x9c1c5f=_0x3ad27d;if(!this['svgElement'])return;const _0x4c5aad=[_0x9c1c5f(0x24b),'rect',_0x9c1c5f(0x1b1),'ellipse',_0x9c1c5f(0x5a8),_0x9c1c5f(0x1f9),_0x9c1c5f(0x10a)];_0x4c5aad['forEach'](_0x56c945=>{const _0x2f002f=_0x9c1c5f,_0x1114d7=this[_0x2f002f(0x2eb)]['querySelectorAll'](_0x56c945);_0x1114d7[_0x2f002f(0x556)](_0x46f2b0=>cleanupStyles(_0x46f2b0,_0x57a797));});}[_0x3ad27d(0x3d9)](){const _0x2c8580=_0x3ad27d;this[_0x2c8580(0x2eb)]['innerHTML']='',this[_0x2c8580(0x3b5)](this[_0x2c8580(0x2eb)]),this['outlineRect']=this[_0x2c8580(0x2ef)]();}[_0x3ad27d(0x3b5)](_0x52c87e,_0x452f33){const _0x282887=_0x3ad27d,_0x4058f1=this[_0x282887(0x207)]();if(!_0x4058f1)return;this[_0x282887(0x27f)](_0x52c87e,_0x4058f1,_0x452f33),this[_0x282887(0x199)](_0x52c87e,_0x4058f1);}[_0x3ad27d(0x4b4)](_0x36f1b4,_0x5c535f){const _0x4511be=_0x3ad27d;if(this[_0x4511be(0x367)])return this['outlineShapes'];return this[_0x4511be(0x367)]=getOutlinePaths(_0x36f1b4,this[_0x4511be(0xe5)][_0x4511be(0x2d2)]),Object[_0x4511be(0x432)](this[_0x4511be(0xe5)][_0x4511be(0x2d2)])[_0x4511be(0x353)](_0x18c3d5=>!_0x18c3d5['isGa'])[_0x4511be(0x353)](_0x2036af=>_0x5c535f?!Array[_0x4511be(0x261)](_0x5c535f)['find'](_0x26a1fa=>{const _0x7bbf63=_0x4511be;var _0x528822;return _0x26a1fa[_0x7bbf63(0x521)](DATA_GOS_ID)===((_0x528822=_0x2036af['id'])==null?void 0x0:_0x528822[_0x7bbf63(0x172)]());}):!![])[_0x4511be(0x556)](_0x3292f3=>{const _0x5cdeed=_0x4511be;!this['outlineShapes'][_0x3292f3['id']]&&(this[_0x5cdeed(0x367)][_0x3292f3['id']]=this['createOutlineRect'](_0x3292f3));}),this[_0x4511be(0x367)];}[_0x3ad27d(0x27f)](_0x348575,_0x34f514,_0x31f654){const _0xc0b191=_0x3ad27d,_0x140c10=this[_0xc0b191(0x4b4)](_0x34f514,_0x31f654);Object[_0xc0b191(0x26d)](_0x140c10)[_0xc0b191(0x556)](_0x31732b=>{const _0x4f445e=_0xc0b191,_0x34d3f7=Number(_0x31732b),_0x1a4d47=this[_0x4f445e(0xe5)][_0x4f445e(0x2d2)][_0x34d3f7];if(_0x1a4d47['priceId']&&this[_0x4f445e(0xe5)][_0x4f445e(0x3f7)]['showUnavailableOutlines'])return;const _0x58f7e6=this[_0x4f445e(0xe5)]['seats'][_0x4f445e(0x87)](_0x5e5eb0=>_0x5e5eb0[_0x4f445e(0x127)]===_0x34d3f7&&_0x5e5eb0[_0x4f445e(0x549)]);if(!_0x58f7e6&&!this['context'][_0x4f445e(0x3f7)][_0x4f445e(0x139)])return;_0x348575[_0x4f445e(0x308)](_0x140c10[_0x34d3f7]);});}['appendGAOutlines'](_0x2dcecd,_0x541554){const _0x205a2d=_0x3ad27d,_0x50d0e7=getGaGroups(_0x541554,this[_0x205a2d(0xe5)][_0x205a2d(0x2d2)],this[_0x205a2d(0xe5)][_0x205a2d(0x218)]);_0x50d0e7[_0x205a2d(0x556)](_0x4e0e2e=>{const _0x1fd9c1=_0x205a2d;_0x4e0e2e[_0x1fd9c1(0xa9)][_0x1fd9c1(0x26f)](_0x1fd9c1(0xa0)),_0x2dcecd['appendChild'](_0x4e0e2e);}),this[_0x205a2d(0xe5)][_0x205a2d(0x14f)]=this['createGaInfo'](_0x50d0e7);}[_0x3ad27d(0x2ef)](){const _0x22e9ec=_0x3ad27d,_0x4d604a={},_0x1b45f8=this[_0x22e9ec(0xe5)]['element']['getBoundingClientRect'](),_0x498692=_0x1b45f8[_0x22e9ec(0x4c0)],_0x185b5d=_0x1b45f8[_0x22e9ec(0x11e)],_0x4963a0={'x':this[_0x22e9ec(0xe5)]['underlay'][_0x22e9ec(0x144)]['x']-this[_0x22e9ec(0xe5)]['translate']['x']/this['context'][_0x22e9ec(0x143)],'y':this[_0x22e9ec(0xe5)]['underlay']['viewBox']['y']-this[_0x22e9ec(0xe5)][_0x22e9ec(0x1d4)]['y']/this[_0x22e9ec(0xe5)][_0x22e9ec(0x143)]},_0x5dd50b=this[_0x22e9ec(0x2eb)][_0x22e9ec(0x7f)]('['+DATA_GOS_ID+']\x20>\x20rect');_0x5dd50b[_0x22e9ec(0x556)](_0x547a78=>{const _0x5eda00=_0x22e9ec;var _0x69ab1e;const _0x4ba63e=(_0x69ab1e=_0x547a78[_0x5eda00(0x197)])==null?void 0x0:_0x69ab1e[_0x5eda00(0x521)](DATA_GOS_ID);if(!_0x4ba63e)return;_0x4d604a[_0x4ba63e]=_0x547a78[_0x5eda00(0xf9)]();});const _0x33213c=this[_0x22e9ec(0x2eb)][_0x22e9ec(0x7f)]('['+DATA_GOS_ID+']');return _0x33213c[_0x22e9ec(0x556)](_0x2577c5=>{const _0x4ea05f=_0x22e9ec,_0x2519fb=_0x2577c5[_0x4ea05f(0x521)](DATA_GOS_ID);if(!_0x2519fb)return;const _0x36f748=_0x2577c5,_0x43f7f0=_0x36f748[_0x4ea05f(0x4bb)]();_0x4d604a[_0x2519fb]={'x':(_0x43f7f0['x']-_0x185b5d)*DPR/this[_0x4ea05f(0xe5)]['scale']+_0x4963a0['x'],'y':(_0x43f7f0['y']-_0x498692)*DPR/this['context']['scale']+_0x4963a0['y'],'width':_0x43f7f0[_0x4ea05f(0x3ff)]*DPR/this['context'][_0x4ea05f(0x143)],'height':_0x43f7f0['height']*DPR/this[_0x4ea05f(0xe5)][_0x4ea05f(0x143)]};}),_0x4d604a;}[_0x3ad27d(0x2c0)](_0x583cfb){const _0x18aa99=_0x3ad27d;let _0x5e564e=this['calculatedOutlineRects'][_0x583cfb['id']];!_0x5e564e&&(_0x5e564e=this[_0x18aa99(0x2ac)](_0x583cfb),this[_0x18aa99(0x234)][_0x583cfb['id']]=_0x5e564e);const _0x295f36=document[_0x18aa99(0x249)](_0x18aa99(0x49e),'rect');_0x295f36[_0x18aa99(0x312)]('class',OUTLINE_CLASS),_0x295f36['setAttribute'](DATA_GOS_ID,_0x5e564e['sectionId']+''),_0x295f36['setAttribute']('rx','8'),_0x295f36[_0x18aa99(0x312)]('x',_0x5e564e['x']+''),_0x295f36[_0x18aa99(0x312)]('y',_0x5e564e['y']+''),_0x295f36[_0x18aa99(0x312)](_0x18aa99(0x3ff),_0x5e564e['width']+''),_0x295f36['setAttribute'](_0x18aa99(0x3a3),_0x5e564e[_0x18aa99(0x3a3)]+'');if(_0x5e564e['transform'])_0x295f36[_0x18aa99(0x312)](_0x18aa99(0x56e),_0x5e564e[_0x18aa99(0x56e)]);return _0x295f36;}[_0x3ad27d(0x2ac)](_0x401dbf){const _0x58d817=_0x3ad27d,_0x3c1e87=this[_0x58d817(0xe5)][_0x58d817(0x218)][_0x58d817(0x353)](_0x192cf9=>_0x192cf9[_0x58d817(0x127)]===_0x401dbf['id']);let _0x1fba08,_0x1acb88;if(_0x401dbf['angle']){const _0x28ecc7=_0x401dbf['angle']/0xb4*Math['PI'],_0x307cb1=Math[_0x58d817(0x473)](-_0x28ecc7),_0x4dd85f=Math[_0x58d817(0x161)](-_0x28ecc7);_0x1fba08=_0x3c1e87['map'](_0x394df6=>_0x394df6['x']*_0x4dd85f-_0x394df6['y']*_0x307cb1),_0x1acb88=_0x3c1e87['map'](_0x5caa37=>_0x5caa37['y']*_0x4dd85f+_0x5caa37['x']*_0x307cb1);}else _0x1fba08=_0x3c1e87[_0x58d817(0x50f)](_0x3f0aea=>_0x3f0aea['x']),_0x1acb88=_0x3c1e87[_0x58d817(0x50f)](_0x101b0e=>_0x101b0e['y']);const _0x4eb5d9=Math['min'](..._0x1fba08),_0x1df61=Math[_0x58d817(0x490)](..._0x1fba08),_0x23e488=Math[_0x58d817(0x169)](..._0x1acb88),_0x4d9ea2=Math[_0x58d817(0x490)](..._0x1acb88),_0x50a7b2=this[_0x58d817(0xe5)]['underlay'][_0x58d817(0x144)],_0x205d89=theme_default['gridStep']*1.5;return{'sectionId':_0x401dbf['id'],'x':Math[_0x58d817(0x469)](_0x4eb5d9-_0x205d89+_0x50a7b2['x']),'y':Math['round'](_0x23e488-_0x205d89+_0x50a7b2['y']),'width':Math[_0x58d817(0x469)](_0x1df61-_0x4eb5d9+_0x205d89*0x2),'height':Math[_0x58d817(0x469)](_0x4d9ea2-_0x23e488+_0x205d89*0x2),'transform':_0x401dbf[_0x58d817(0x399)]?_0x58d817(0x331)+_0x50a7b2['x']+'\x20'+_0x50a7b2['y']+_0x58d817(0x299)+_0x401dbf[_0x58d817(0x399)]+_0x58d817(0x3e6)+-_0x50a7b2['x']+'\x20'+-_0x50a7b2['y']+')':void 0x0};}['handleChangeEagleView'](_0xea8949){const _0x1e4b19=_0x3ad27d;(_0xea8949!==void 0x0?_0xea8949:this[_0x1e4b19(0xe5)][_0x1e4b19(0x221)])?(this[_0x1e4b19(0x2eb)]['classList'][_0x1e4b19(0x26f)]('sm-eagle-view'),this[_0x1e4b19(0x2eb)][_0x1e4b19(0x2f5)][_0x1e4b19(0x163)]='absolute',this['svgElement'][_0x1e4b19(0x2f5)]['left']='0',this[_0x1e4b19(0x2eb)][_0x1e4b19(0x2f5)][_0x1e4b19(0x3ff)]=_0x1e4b19(0x402),this[_0x1e4b19(0x2eb)][_0x1e4b19(0x2f5)][_0x1e4b19(0x3a3)]=_0x1e4b19(0x402)):this[_0x1e4b19(0x2eb)][_0x1e4b19(0xa9)][_0x1e4b19(0x1e5)](_0x1e4b19(0x266));}[_0x3ad27d(0x11c)](){const _0x4543c4=_0x3ad27d;this['cleanSvgInlineStyles']([_0x4543c4(0x2ea)]);const {scale:_0x4c96b9,translate:_0x539e60,underlay:_0x10909f}=this['context'],_0x22421f=window['devicePixelRatio'],_0x454517=[(_0x10909f[_0x4543c4(0x144)]['x']*_0x4c96b9-_0x539e60['x'])/_0x4c96b9,(_0x10909f[_0x4543c4(0x144)]['y']*_0x4c96b9-_0x539e60['y'])/_0x4c96b9,this[_0x4543c4(0x3ff)]/_0x4c96b9*_0x22421f,this[_0x4543c4(0x3a3)]/_0x4c96b9*_0x22421f][_0x4543c4(0x2fb)]('\x20');this[_0x4543c4(0x2eb)]['setAttribute']('viewBox',_0x454517),this['apply3DTransforms'](),this[_0x4543c4(0xe5)]['isEagleView']&&(this[_0x4543c4(0x2eb)][_0x4543c4(0x2f5)][_0x4543c4(0x163)]=_0x4543c4(0x9a),this[_0x4543c4(0x2eb)][_0x4543c4(0x2f5)][_0x4543c4(0x11e)]='0',this[_0x4543c4(0x2eb)][_0x4543c4(0x2f5)]['width']=_0x4543c4(0x402),this[_0x4543c4(0x2eb)][_0x4543c4(0x2f5)][_0x4543c4(0x3a3)]=_0x4543c4(0x402)),this[_0x4543c4(0x47a)]();}[_0x3ad27d(0xc1)](_0x12a80a,_0x2870a6){const _0x384e28=_0x3ad27d,{underlay:_0x5d3a13}=this['context'],_0x4b5aa7=window[_0x384e28(0x338)],_0x40e3d3=this[_0x384e28(0xe5)][_0x384e28(0x143)]*_0x12a80a,_0x45f86c=[_0x5d3a13[_0x384e28(0x144)]['x']-(this[_0x384e28(0xe5)][_0x384e28(0x1d4)]['x']/this[_0x384e28(0xe5)][_0x384e28(0x143)]+_0x2870a6['x']/_0x40e3d3),_0x5d3a13[_0x384e28(0x144)]['y']-(this[_0x384e28(0xe5)][_0x384e28(0x1d4)]['y']/this[_0x384e28(0xe5)][_0x384e28(0x143)]+_0x2870a6['y']/_0x40e3d3),this[_0x384e28(0x3ff)]/_0x40e3d3*_0x4b5aa7,this[_0x384e28(0x3a3)]/_0x40e3d3*_0x4b5aa7][_0x384e28(0x2fb)]('\x20');this[_0x384e28(0x2eb)][_0x384e28(0x312)](_0x384e28(0x144),_0x45f86c),this[_0x384e28(0x3de)](),this[_0x384e28(0x47a)]();return;}['hide'](){const _0x1d2ea2=_0x3ad27d;this[_0x1d2ea2(0x2eb)]['style']['visibility']=_0x1d2ea2(0x536);}[_0x3ad27d(0x47a)](){const _0x21fd3d=_0x3ad27d;this[_0x21fd3d(0x2eb)]['style'][_0x21fd3d(0x2ba)]=_0x21fd3d(0x50b);}[_0x3ad27d(0x207)](){const _0x5a99fd=_0x3ad27d;return this[_0x5a99fd(0xe5)][_0x5a99fd(0x545)][_0x5a99fd(0x43e)]||this[_0x5a99fd(0xe5)][_0x5a99fd(0x545)][_0x5a99fd(0x168)];}[_0x3ad27d(0xfd)](){const _0x1d1873=_0x3ad27d;this[_0x1d1873(0x11c)]();}[_0x3ad27d(0x3de)](){const _0x1c71a1=_0x3ad27d;if(!this['context'][_0x1c71a1(0x1a0)]){this[_0x1c71a1(0x2eb)]['style'][_0x1c71a1(0x56e)]='',this[_0x1c71a1(0x2eb)]['style'][_0x1c71a1(0x419)]='';return;}const {rotationZ:_0x36a421,tiltX:_0x430912}=this['context'];this[_0x1c71a1(0x2eb)][_0x1c71a1(0x2f5)][_0x1c71a1(0x419)]=getDefaultTransformOrigin(),this[_0x1c71a1(0x2eb)]['style']['transformBox']=_0x1c71a1(0xc4);const _0x3ac09e=this[_0x1c71a1(0x3ff)]/Math[_0x1c71a1(0x490)](0x1,this['height']),_0x43f7fd=buildCss3DTransform({'rotationZ':_0x36a421,'perspectiveZ':0x0,'tiltX':_0x430912},{'aspectRatio':_0x3ac09e});this[_0x1c71a1(0x2eb)][_0x1c71a1(0x2f5)]['transform']=_0x43f7fd;}[_0x3ad27d(0x4c9)](_0x51fb38,_0x1f8b58){const _0xe4caf5=_0x3ad27d;var _0x2d2b55;if(!_0x51fb38)return;this['rowsOverlayElement']&&this[_0xe4caf5(0x2ee)][_0xe4caf5(0x197)]&&(this['rowsOverlayElement']['parentElement'][_0xe4caf5(0x5b7)](this[_0xe4caf5(0x2ee)]),this[_0xe4caf5(0x2ee)]=void 0x0);const _0x4b8743='<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22>'+_0x51fb38+_0xe4caf5(0x389),_0x53e22=createSvgElement(_0x4b8743),_0x5ac5df=_0x53e22[_0xe4caf5(0x32f)]('#sm-rows');let _0x15900b;if(_0x5ac5df)_0x15900b=_0x5ac5df;else{if(_0x53e22[_0xe4caf5(0x46d)]){const _0x868dc3=document[_0xe4caf5(0x249)](_0xe4caf5(0x49e),'g');_0x868dc3[_0xe4caf5(0x312)]('id','sm-rows');while(_0x53e22[_0xe4caf5(0x46d)]){_0x868dc3[_0xe4caf5(0x308)](_0x53e22[_0xe4caf5(0x46d)]);}_0x15900b=_0x868dc3;}else return;}if(_0x1f8b58){const _0x5244ba=document[_0xe4caf5(0x249)](_0xe4caf5(0x49e),_0xe4caf5(0x2f5));_0x5244ba[_0xe4caf5(0x308)](document[_0xe4caf5(0x1aa)](_0x1f8b58)),this['svgElement'][_0xe4caf5(0x308)](_0x5244ba);}this[_0xe4caf5(0x2eb)]['appendChild'](_0x15900b),this['rowsOverlayElement']=_0x15900b;try{const _0x19d98a=[],_0x3f2822=_0x15900b[_0xe4caf5(0x7f)](_0xe4caf5(0x1f9)),_0x1f7864=(_0x2d2b55=this[_0xe4caf5(0xe5)][_0xe4caf5(0x545)])==null?void 0x0:_0x2d2b55[_0xe4caf5(0x144)],_0x1186df=_0x1f7864?-_0x1f7864['x']:0x0,_0x3803e5=_0x1f7864?-_0x1f7864['y']:0x0;_0x3f2822['forEach'](_0x2bb9aa=>{const _0x5a08a4=_0xe4caf5,_0x5aba3e=_0x2bb9aa[_0x5a08a4(0x521)](_0x5a08a4(0x2d5));if(!_0x5aba3e)return;const _0x3fc676=[];_0x5aba3e[_0x5a08a4(0x335)]()[_0x5a08a4(0x4da)](/\s+/)[_0x5a08a4(0x556)](_0x3fbe6b=>{const _0x367bdd=_0x5a08a4,[_0x580604,_0x5335be]=_0x3fbe6b[_0x367bdd(0x4da)](','),_0x522884=parseFloat(_0x580604),_0xab754=parseFloat(_0x5335be);if(!isNaN(_0x522884)&&!isNaN(_0xab754))_0x3fc676[_0x367bdd(0x244)]({'x':_0x522884+_0x1186df,'y':_0xab754+_0x3803e5});});if(_0x3fc676[_0x5a08a4(0x4a7)]<0x2)return;let _0x3e780a;const _0x3defa1=_0x2bb9aa[_0x5a08a4(0x521)]('stroke-width');if(_0x3defa1){const _0x53727f=parseFloat(_0x3defa1[_0x5a08a4(0x14c)]('px',''));if(!isNaN(_0x53727f))_0x3e780a=_0x53727f;}const _0x5aaea6=_0x2bb9aa[_0x5a08a4(0x521)](_0x5a08a4(0x355))||void 0x0;_0x19d98a[_0x5a08a4(0x244)]({'points':_0x3fc676,'widthPx':_0x3e780a,'color':_0x5aaea6});}),_0x19d98a[_0xe4caf5(0x4a7)]&&(this[_0xe4caf5(0xe5)][_0xe4caf5(0x43f)]=_0x19d98a,this[_0xe4caf5(0xe5)]['rowsPolylinesVersion']++);}catch(_0xe0ec){console[_0xe4caf5(0x24d)]('Failed\x20to\x20parse\x20rows\x20polylines\x20for\x20WebGL:',_0xe0ec);}}},getGaGroups=(_0x1a9464,_0x5902ef,_0x1a71b0)=>{const _0x565fc6=_0x3ad27d,_0x3d4949=createSvgElement(_0x1a9464),_0x112b99=_0x3d4949['querySelectorAll']('['+DATA_GOS_ID+']'),_0x3c9ab6=theme_default[_0x565fc6(0x4c3)],_0x125808=[];for(let _0x89d651=0x0;_0x89d651<_0x112b99[_0x565fc6(0x4a7)];_0x89d651++){const _0x29f71a=_0x112b99[_0x89d651],_0x990d58=_0x29f71a[_0x565fc6(0x521)](DATA_GOS_ID),_0x49d95e=_0x29f71a[_0x565fc6(0xa9)][_0x565fc6(0x57e)](_0x565fc6(0x49d));if(_0x49d95e)continue;if(!_0x990d58)continue;const _0x10ad42=_0x5902ef[+_0x990d58];if(_0x10ad42[_0x565fc6(0x19f)]===_0x565fc6(0x2d8)&&_0x10ad42[_0x565fc6(0x549)]){const _0x27bc81=_0x1a71b0['filter'](_0x10fa78=>_0x10fa78[_0x565fc6(0x127)]===_0x10ad42['id']&&_0x10fa78[_0x565fc6(0x549)]);if(_0x27bc81[_0x565fc6(0x4a7)]>0x0)continue;const _0x1f9d17=_0x29f71a[_0x565fc6(0x251)]==='g'?_0x29f71a[_0x565fc6(0x379)]:_0x29f71a;_0x1f9d17[_0x565fc6(0x312)]('x',(+_0x1f9d17[_0x565fc6(0x521)]('x')-0x2*_0x3c9ab6)['toString']()),_0x1f9d17[_0x565fc6(0x312)]('y',(+_0x1f9d17[_0x565fc6(0x521)]('y')-0x2*_0x3c9ab6)[_0x565fc6(0x172)]()),_0x1f9d17[_0x565fc6(0x312)](_0x565fc6(0x3ff),(+_0x1f9d17['getAttribute']('width')+0x4*_0x3c9ab6)['toString']()),_0x1f9d17['setAttribute'](_0x565fc6(0x3a3),(+_0x1f9d17[_0x565fc6(0x521)](_0x565fc6(0x3a3))+0x4*_0x3c9ab6)[_0x565fc6(0x172)]());}if(_0x10ad42[_0x565fc6(0x19f)]===_0x565fc6(0x2d8)&&!_0x10ad42[_0x565fc6(0x549)])continue;_0x125808[_0x565fc6(0x244)](_0x29f71a);}return _0x125808;},getOutlinePaths=(_0x3f58f9,_0x426062)=>{const _0x42c6b4=_0x3ad27d,_0x17d22f=createSvgElement(_0x3f58f9),_0x4e36b2={},_0x1d4e71=_0x17d22f[_0x42c6b4(0x56d)](_0x42c6b4(0x13b));if(_0x1d4e71){const _0x50e63c=_0x1d4e71[_0x42c6b4(0x7f)]('['+DATA_GOS_ID+']');for(let _0x2bd8ff=0x0;_0x2bd8ff<_0x50e63c[_0x42c6b4(0x4a7)];_0x2bd8ff++){const _0x2ce8e3=_0x50e63c[_0x2bd8ff],_0x40ce92=Number(_0x2ce8e3[_0x42c6b4(0x521)](DATA_GOS_ID));if(!_0x40ce92||!_0x426062[_0x40ce92])continue;_0x4e36b2[_0x40ce92]=_0x2ce8e3;}}return _0x4e36b2;},matrixStrToArray=_0x336c22=>_0x336c22[_0x3ad27d(0x3fa)](0x7,_0x336c22[_0x3ad27d(0x4a7)]-0x1)[_0x3ad27d(0x4da)]('\x20')[_0x3ad27d(0x50f)](parseFloat);import _0x2b7d77 from'kdbush';var RendererTargetType=(_0x52548e=>{const _0x3f0eae=_0x3ad27d;return _0x52548e['SEAT']=_0x3f0eae(0x4f0),_0x52548e['SECTION']='section',_0x52548e;})(RendererTargetType||{}),RendererSelectMode=(_0xcd86e3=>{const _0x39d665=_0x3ad27d;return _0xcd86e3[_0x39d665(0x4c1)]='replace',_0xcd86e3[_0x39d665(0x4c4)]=_0x39d665(0x26f),_0xcd86e3['SUBTRACT']=_0x39d665(0x59a),_0xcd86e3;})(RendererSelectMode||{}),SrcEventType=(_0x2090e2=>{const _0x3ad837=_0x3ad27d;return _0x2090e2[_0x3ad837(0x36e)]=_0x3ad837(0x2b4),_0x2090e2['DRAG_MOVE']=_0x3ad837(0x277),_0x2090e2[_0x3ad837(0x21c)]='srcDragEnd',_0x2090e2[_0x3ad837(0x5b1)]=_0x3ad837(0x9f),_0x2090e2[_0x3ad837(0x341)]=_0x3ad837(0x2f4),_0x2090e2;})(SrcEventType||{}),DestEventType=(_0x269501=>{const _0x4593e3=_0x3ad27d;return _0x269501[_0x4593e3(0x37a)]=_0x4593e3(0x23b),_0x269501[_0x4593e3(0x10d)]='destRectSelect',_0x269501[_0x4593e3(0x558)]='destDeselect',_0x269501[_0x4593e3(0x572)]=_0x4593e3(0x535),_0x269501[_0x4593e3(0x2e9)]=_0x4593e3(0x2bd),_0x269501[_0x4593e3(0x26a)]='destSeatCartSwitch',_0x269501[_0x4593e3(0x191)]='destSectionClick',_0x269501[_0x4593e3(0x3f6)]=_0x4593e3(0x214),_0x269501[_0x4593e3(0x49f)]=_0x4593e3(0x118),_0x269501['SEAT_MOUSE_LEAVE']=_0x4593e3(0x126),_0x269501['SECTION_MOUSE_LEAVE']='destSectionMouseLeave',_0x269501;})(DestEventType||{}),Context=class{constructor(_0x2debdd,_0x311496,_0x188725){const _0x5bd991=_0x3ad27d;this[_0x5bd991(0x3d5)]=_0x188725,this[_0x5bd991(0x1c1)]={},this[_0x5bd991(0x5a6)]={'seats':[],'ga':[]},this['gaCategories']={},this[_0x5bd991(0x320)]={},this[_0x5bd991(0x18b)]={},this[_0x5bd991(0x1fc)]=[],this[_0x5bd991(0x25e)]=[],this[_0x5bd991(0x4cc)]=0x0,this[_0x5bd991(0x219)]={},this[_0x5bd991(0x24f)]=[],this['gaInfo']=[],this[_0x5bd991(0x11b)]={},this[_0x5bd991(0x1f5)]={},this['getPositionByOffset']=_0x28ef78=>({'x':(_0x28ef78['x']*window[_0x5bd991(0x338)]-this[_0x5bd991(0x1d4)]['x'])/this['scale'],'y':(_0x28ef78['y']*window[_0x5bd991(0x338)]-this[_0x5bd991(0x1d4)]['y'])/this[_0x5bd991(0x143)]}),this['getOffsetByPosition']=_0x3ca186=>({'x':Math[_0x5bd991(0x469)]((_0x3ca186['x']*this[_0x5bd991(0x143)]+this[_0x5bd991(0x1d4)]['x'])/window['devicePixelRatio']),'y':Math['round']((_0x3ca186['y']*this[_0x5bd991(0x143)]+this[_0x5bd991(0x1d4)]['y'])/window[_0x5bd991(0x338)])}),this['repairSeat']=_0x1b4c05=>{const _0x2b7cd7=_0x5bd991,_0x2c8283=_0x1b4c05['id']?this[_0x2b7cd7(0x101)][_0x1b4c05['id']]:this[_0x2b7cd7(0x291)](_0x1b4c05['key']);if(!_0x2c8283)return;return this['seatToCartSeat'](_0x2c8283,_0x1b4c05);},this[_0x5bd991(0x124)]=()=>{const _0x9a00b7=_0x5bd991;this[_0x9a00b7(0x5a6)][_0x9a00b7(0x218)][_0x9a00b7(0x556)](_0x4af729=>{const _0x2e8744=_0x9a00b7,_0x3dea6c=this[_0x2e8744(0x101)][_0x4af729['id']];if(_0x3dea6c[_0x2e8744(0x549)]||!_0x4af729[_0x2e8744(0x406)])return;const _0x2666d=Object[_0x2e8744(0x432)](this[_0x2e8744(0x18b)])[_0x2e8744(0x87)](_0x32b293=>_0x32b293[_0x2e8744(0x318)]===_0x4af729[_0x2e8744(0x406)]+'');if(_0x2666d)_0x3dea6c['priceId']=_0x2666d['id'];if(_0x4af729[_0x2e8744(0x552)]&&!_0x3dea6c[_0x2e8744(0x552)])_0x3dea6c['special']=_0x4af729[_0x2e8744(0x552)];}),this['cart']['ga'][_0x9a00b7(0x556)](_0x1f8a69=>{const _0x5306da=_0x9a00b7,_0x2daf43=this['sectionsById'][_0x1f8a69[_0x5306da(0x127)]];if(_0x2daf43[_0x5306da(0x549)]||!_0x1f8a69[_0x5306da(0x406)])return;const _0x2981f1=Object[_0x5306da(0x432)](this[_0x5306da(0x18b)])[_0x5306da(0x87)](_0x178a77=>_0x178a77[_0x5306da(0x318)]===_0x1f8a69[_0x5306da(0x406)]+'');if(_0x2981f1)_0x2daf43[_0x5306da(0x549)]=_0x2981f1['id'];}),this['redrawHandler']();},this[_0x5bd991(0x13c)]=_0x12f276=>{const _0x4a7a0a=_0x5bd991;if(!_0x12f276[_0x4a7a0a(0x517)])return;const _0x220d8f=_0x12f276['sectorId']?this['sectionsById'][_0x12f276[_0x4a7a0a(0x127)]]:Object['values'](this[_0x4a7a0a(0x2d2)])[_0x4a7a0a(0x87)](_0x4a29bf=>_0x4a29bf[_0x4a7a0a(0x318)]===_0x12f276[_0x4a7a0a(0x138)]);if(!_0x220d8f)return;return{'sectorId':_0x220d8f['id'],'key':_0x220d8f[_0x4a7a0a(0x318)],'count':_0x12f276[_0x4a7a0a(0x517)],'price':_0x12f276[_0x4a7a0a(0x406)]};},this['seatToCartSeat']=(_0x4c497d,_0x3c1c04)=>{const _0xeeba6e=_0x5bd991,_0x398998=this[_0xeeba6e(0x2d2)][_0x4c497d[_0xeeba6e(0x127)]],_0x5032b1=this['rowsById'][_0x4c497d[_0xeeba6e(0x363)]],_0x4ee98c=[_0x398998&&_0x398998[_0xeeba6e(0x318)],_0x5032b1&&_0x5032b1['rowNumber'],_0x4c497d['name']][_0xeeba6e(0x2fb)](';;');return{'id':_0x4c497d['id'],'key':_0x4ee98c,'price':(_0x3c1c04==null?void 0x0:_0x3c1c04['price'])!==void 0x0?_0x3c1c04[_0xeeba6e(0x406)]:_0x4c497d[_0xeeba6e(0x549)]?parseInt(this[_0xeeba6e(0x18b)][Number(_0x4c497d['priceId'])][_0xeeba6e(0x318)]):void 0x0,'special':(_0x3c1c04==null?void 0x0:_0x3c1c04[_0xeeba6e(0x552)])?_0x3c1c04[_0xeeba6e(0x552)]:_0x4c497d[_0xeeba6e(0x552)]};},this[_0x5bd991(0x3f2)]=_0x4d40d7=>{const _0x25b120=_0x5bd991,_0x196f0d=this[_0x25b120(0x2d2)][_0x4d40d7[_0x25b120(0x127)]],_0x3f50ec=this['rowsById'][_0x4d40d7[_0x25b120(0x363)]],_0x118d06=this[_0x25b120(0x3f1)](_0x4d40d7);return Object[_0x25b120(0x176)](this[_0x25b120(0x240)](_0x4d40d7),{'x':_0x118d06['x'],'y':_0x118d06['y'],'ax':_0x4d40d7['x'],'ay':_0x4d40d7['y'],'sectionId':_0x4d40d7[_0x25b120(0x127)],'sectorId':_0x4d40d7[_0x25b120(0x127)],'seatName':_0x4d40d7['name'],'rowNumber':_0x3f50ec[_0x25b120(0x32e)],'sectionName':_0x196f0d['name']});},this[_0x5bd991(0x384)]=_0x30584f=>getSeatByPosition(this[_0x5bd991(0x290)](_0x30584f),this['seats'],this[_0x5bd991(0x30b)],this[_0x5bd991(0x3f7)][_0x5bd991(0x439)][_0x5bd991(0x2cc)]['hovered'][_0x5bd991(0x230)]),this['getSeatByViewportPoint']=(_0x428a69,_0x5ad4fd)=>{const _0x39a0eb=_0x5bd991,_0x171a5b=window[_0x39a0eb(0x338)];if(this['enable3DView']){const _0x1b68ff={'x':_0x428a69['x']*_0x171a5b,'y':_0x428a69['y']*_0x171a5b},_0x51cb1c={'width':_0x5ad4fd[_0x39a0eb(0x3ff)]*_0x171a5b,'height':_0x5ad4fd[_0x39a0eb(0x3a3)]*_0x171a5b},_0x36a5a6=unprojectPointFrom3DView(_0x1b68ff,_0x51cb1c,{'rotationZ':this['rotationZ'],'perspectiveZ':this[_0x39a0eb(0x3c7)],'tiltX':this[_0x39a0eb(0x422)]}),_0x3ddbcf={'x':(_0x36a5a6['x']-this[_0x39a0eb(0x1d4)]['x'])/this[_0x39a0eb(0x143)],'y':(_0x36a5a6['y']-this[_0x39a0eb(0x1d4)]['y'])/this[_0x39a0eb(0x143)]};return getSeatByPosition(_0x3ddbcf,this[_0x39a0eb(0x218)],this[_0x39a0eb(0x30b)],this[_0x39a0eb(0x3f7)]['theme'][_0x39a0eb(0x2cc)][_0x39a0eb(0x260)][_0x39a0eb(0x230)]);}return getSeatByPosition(this['getPositionByOffset'](_0x428a69),this[_0x39a0eb(0x218)],this[_0x39a0eb(0x30b)],this[_0x39a0eb(0x3f7)][_0x39a0eb(0x439)][_0x39a0eb(0x2cc)]['hovered']['size']);},this[_0x5bd991(0x4d8)]=_0x2debdd,this[_0x5bd991(0x3f7)]={..._0x311496},this['seatImages']=this[_0x5bd991(0xd4)](),this['enable3DView']=_0x311496['enable3DView']||![],this[_0x5bd991(0x40c)]=0x0,this[_0x5bd991(0x3c7)]=0x0,this[_0x5bd991(0x422)]=this[_0x5bd991(0x1a0)]?0x0:0x0;}set['selectedSeatIds'](_0x18b321){const _0x52337c=_0x3ad27d;this[_0x52337c(0x24f)]=_0x18b321,this['_selectedGaId']=void 0x0;}get[_0x3ad27d(0x540)](){const _0x527fc1=_0x3ad27d;return this[_0x527fc1(0x24f)];}set[_0x3ad27d(0x99)](_0xf26760){const _0x88fd93=_0x3ad27d;this[_0x88fd93(0x4b3)]=_0xf26760,this[_0x88fd93(0x24f)]=[];}get['selectedGaId'](){return this['_selectedGaId'];}[_0x3ad27d(0x4b7)](){const _0x33252b=_0x3ad27d;this[_0x33252b(0x4d8)][_0x33252b(0x151)]()&&this[_0x33252b(0x4d8)][_0x33252b(0x225)][_0x33252b(0x556)](_0x465c54=>{const _0x2f5add=_0x33252b;this[_0x2f5add(0x4d8)][_0x2f5add(0x5b7)](_0x465c54);});}[_0x3ad27d(0x563)](_0x5eabfc){const _0x76fbea=_0x3ad27d;this[_0x76fbea(0x219)]=_0x5eabfc;}[_0x3ad27d(0x208)](){const _0x3611c3=_0x3ad27d;return this[_0x3611c3(0x219)];}[_0x3ad27d(0x84)](_0x56a091,_0x27458d){const _0x49770e=_0x3ad27d;if(!_0x56a091)this[_0x49770e(0x25b)]=void 0x0,this[_0x49770e(0x59e)]=void 0x0;else _0x27458d?(this['hoveredRow']=this[_0x49770e(0x416)][_0x56a091[_0x49770e(0x363)]],this[_0x49770e(0x25b)]=void 0x0):(this[_0x49770e(0x59e)]=void 0x0,this['hoveredSeat']=_0x56a091);}[_0x3ad27d(0xd4)](){const _0xb03b3f=_0x3ad27d,_0x42a597=this[_0xb03b3f(0x3f7)][_0xb03b3f(0x439)][_0xb03b3f(0x327)];if(!_0x42a597)return{};const _0x577546={};return Object[_0xb03b3f(0x26d)](_0x42a597)[_0xb03b3f(0x556)](_0x42acbf=>{const _0x5ca49c=_0xb03b3f,_0x20ff5b=new Image();_0x20ff5b[_0x5ca49c(0x2dc)]=_0x5ca49c(0x2b3)+window[_0x5ca49c(0x3ae)](_0x42a597[_0x42acbf]),_0x20ff5b[_0x5ca49c(0x148)]=()=>{const _0x46e45f=_0x5ca49c;_0x577546[_0x42acbf]=_0x20ff5b,!_0x20ff5b[_0x46e45f(0x3ff)]&&(document[_0x46e45f(0x4cf)][_0x46e45f(0x308)](_0x20ff5b),_0x20ff5b[_0x46e45f(0x3ff)]=_0x20ff5b['offsetWidth'],_0x20ff5b[_0x46e45f(0x3a3)]=_0x20ff5b['offsetHeight'],document[_0x46e45f(0x4cf)][_0x46e45f(0x5b7)](_0x20ff5b));},_0x20ff5b['onerror']=()=>{const _0x1705bf=_0x5ca49c;console['error']('Failed\x20to\x20load\x20seat\x20image\x20\x22'+_0x42acbf+_0x1705bf(0x203));};}),_0x577546;}[_0x3ad27d(0x24e)](_0x1acf4e){const _0x2b7438=_0x3ad27d,_0x34ec3c=_0x1acf4e[_0x2b7438(0x218)]['map'](this[_0x2b7438(0x45e)])['filter'](Boolean),_0x5bbd85=_0x1acf4e['ga'][_0x2b7438(0x50f)](this[_0x2b7438(0x13c)])[_0x2b7438(0x353)](Boolean);this['cart']={'seats':_0x34ec3c,'ga':_0x5bbd85},this['afterCartUpdate']();}get[_0x3ad27d(0x218)](){const _0x5d18a8=_0x3ad27d;return this[_0x5d18a8(0x444)];}set[_0x3ad27d(0x218)](_0x5238cb){const _0x4428c1=_0x3ad27d;this[_0x4428c1(0x444)]=_0x5238cb,this[_0x4428c1(0x30b)]=new _0x2b7d77(_0x5238cb[_0x4428c1(0x4a7)]),this[_0x4428c1(0x444)][_0x4428c1(0x556)](_0x1367b4=>{const _0x471b64=_0x4428c1;this[_0x471b64(0x30b)][_0x471b64(0x26f)](_0x1367b4['x'],_0x1367b4['y']);}),this[_0x4428c1(0x30b)]['finish'](),this[_0x4428c1(0x101)]=arrayToObjectById(_0x5238cb),this[_0x4428c1(0x1ab)]={},_0x5238cb[_0x4428c1(0x556)](_0xb86cea=>{const _0x13204b=_0x4428c1;if(!this[_0x13204b(0x1ab)][_0xb86cea[_0x13204b(0x363)]])this[_0x13204b(0x1ab)][_0xb86cea[_0x13204b(0x363)]]=[];this[_0x13204b(0x1ab)][_0xb86cea[_0x13204b(0x363)]][_0x13204b(0x244)](_0xb86cea);});}[_0x3ad27d(0x5bd)](_0x53382f){const _0x4781a1=_0x3ad27d,_0xab41ee=this['repairGa'](_0x53382f);if(!_0xab41ee)return;const _0x194e69=this[_0x4781a1(0x5a6)]['ga'][_0x4781a1(0x87)](_0x153880=>_0x153880['sectorId']===_0xab41ee[_0x4781a1(0x127)]);_0x194e69?(_0x194e69[_0x4781a1(0x517)]+=_0xab41ee[_0x4781a1(0x517)],_0x194e69[_0x4781a1(0x406)]=_0xab41ee[_0x4781a1(0x406)]!==void 0x0?_0xab41ee[_0x4781a1(0x406)]:_0x194e69[_0x4781a1(0x406)]):this[_0x4781a1(0x5a6)]['ga']['push'](_0xab41ee),this[_0x4781a1(0x124)]();}[_0x3ad27d(0x2ab)](_0x1a0ac4){const _0x5a928b=_0x3ad27d,_0x40ef8e=this[_0x5a928b(0x5a6)]['ga'][_0x5a928b(0x573)](_0x55076a=>_0x55076a['sectorId']===_0x1a0ac4[_0x5a928b(0x127)]);if(_0x40ef8e===-0x1)return;if(_0x1a0ac4[_0x5a928b(0x406)]&&this[_0x5a928b(0x5a6)]['ga'][_0x40ef8e][_0x5a928b(0x406)]!==_0x1a0ac4[_0x5a928b(0x406)])return;this[_0x5a928b(0x5a6)]['ga'][_0x5a928b(0x598)](_0x40ef8e,0x1),this[_0x5a928b(0x124)]();}[_0x3ad27d(0x488)](){const _0x195949=_0x3ad27d,_0x6d82ab=performance[_0x195949(0x3a9)]();(this[_0x195949(0x5a6)]['seats']||[])[_0x195949(0x556)](_0x8738f7=>{const _0x265ce9=_0x195949;if(_0x8738f7['id'])this[_0x265ce9(0x1f5)][_0x8738f7['id']]=_0x6d82ab;}),this[_0x195949(0x24e)]({'seats':[],'ga':[]});}[_0x3ad27d(0x210)](_0xf212b7){const _0x36bc70=_0x3ad27d,_0x601743=performance[_0x36bc70(0x3a9)]();this[_0x36bc70(0x5a6)]['seats']=this[_0x36bc70(0x5a6)][_0x36bc70(0x218)][_0x36bc70(0x353)](_0x289276=>!_0xf212b7['includes'](_0x289276['id'])),_0xf212b7[_0x36bc70(0x556)](_0x1e2a34=>{const _0x3d6cae=_0x36bc70;this[_0x3d6cae(0x1f5)][_0x1e2a34]=_0x601743,this[_0x3d6cae(0x101)][_0x1e2a34]&&delete this[_0x3d6cae(0x101)][_0x1e2a34][_0x3d6cae(0x42c)];}),this['afterCartUpdate']();}[_0x3ad27d(0x3eb)](_0xbb1c35){const _0x1f5ff2=_0x3ad27d;this[_0x1f5ff2(0x11b)][_0xbb1c35]=performance[_0x1f5ff2(0x3a9)](),this[_0x1f5ff2(0x1f5)][_0xbb1c35]&&delete this['_deselectedAt'][_0xbb1c35];}[_0x3ad27d(0x5b6)](_0x5449fb){const _0x24b126=_0x3ad27d,_0x4b5ba3=_0x5449fb[_0x24b126(0x50f)](this['repairSeat'])[_0x24b126(0x353)](Boolean);this['cart'][_0x24b126(0x218)]=[...this[_0x24b126(0x5a6)][_0x24b126(0x218)],..._0x4b5ba3];const _0x2df93e=performance['now']();_0x4b5ba3[_0x24b126(0x556)](_0x23c967=>{const _0x5e54be=_0x24b126;if(_0x23c967['id']){this['_selectedAt'][_0x23c967['id']]=_0x2df93e;if(this['_deselectedAt'][_0x23c967['id']])delete this[_0x5e54be(0x1f5)][_0x23c967['id']];}}),this[_0x24b126(0x124)]();}[_0x3ad27d(0xa3)](_0x208159,_0x14cd30){const _0x3bfadd=_0x3ad27d,_0x27f3df=Math['min'](_0x208159['x'],_0x208159['x']+_0x208159[_0x3bfadd(0x3ff)]),_0x26d8d9=Math[_0x3bfadd(0x490)](_0x208159['x'],_0x208159['x']+_0x208159[_0x3bfadd(0x3ff)]),_0x2c4395=Math[_0x3bfadd(0x169)](_0x208159['y'],_0x208159['y']+_0x208159[_0x3bfadd(0x3a3)]),_0x5d1369=Math[_0x3bfadd(0x490)](_0x208159['y'],_0x208159['y']+_0x208159['height']),_0x370f6f=this['seatsIndex'][_0x3bfadd(0x142)](_0x27f3df,_0x2c4395,_0x26d8d9,_0x5d1369)[_0x3bfadd(0x50f)](_0x42abca=>this['seats'][_0x42abca]['id']);this['selectSeats'](_0x370f6f,_0x14cd30);}[_0x3ad27d(0x54c)](_0x30cbd3,_0x5240c2){const _0x1805c8=_0x3ad27d,_0x4f98d0=this[_0x1805c8(0x540)],_0x4f68b2=_0x30cbd3;switch(_0x5240c2){case _0x1805c8(0x14c):{this[_0x1805c8(0x540)]=_0x4f68b2;break;}case _0x1805c8(0x26f):{this[_0x1805c8(0x540)]=[...new Set([..._0x4f98d0,..._0x4f68b2])];break;}case _0x1805c8(0x59a):{this[_0x1805c8(0x540)]=_0x4f98d0[_0x1805c8(0x353)](_0x236d17=>!_0x4f68b2['includes'](_0x236d17));break;}}}[_0x3ad27d(0x173)](_0x1a04d4,_0x4cb12f){const _0x4eacbb=_0x3ad27d,_0x3b90c3=Math[_0x4eacbb(0x169)](_0x1a04d4['x'],_0x1a04d4['x']+_0x1a04d4[_0x4eacbb(0x3ff)]),_0x30fbcb=Math[_0x4eacbb(0x490)](_0x1a04d4['x'],_0x1a04d4['x']+_0x1a04d4[_0x4eacbb(0x3ff)]),_0x265241=Math[_0x4eacbb(0x169)](_0x1a04d4['y'],_0x1a04d4['y']+_0x1a04d4[_0x4eacbb(0x3a3)]),_0x41633a=Math['max'](_0x1a04d4['y'],_0x1a04d4['y']+_0x1a04d4[_0x4eacbb(0x3a3)]);let _0x129122=this['seatsIndex'][_0x4eacbb(0x142)](_0x3b90c3,_0x265241,_0x30fbcb,_0x41633a)[_0x4eacbb(0x50f)](_0x5ed190=>this[_0x4eacbb(0x218)][_0x5ed190][_0x4eacbb(0x363)]);_0x129122=[...new Set(_0x129122)];const _0x59d68f=_0x129122[_0x4eacbb(0x50f)](_0x27ffbd=>this[_0x4eacbb(0x1ab)][_0x27ffbd][_0x4eacbb(0x50f)](_0xb0810=>_0xb0810['id'])),_0x2a84da=[][_0x4eacbb(0x31a)](..._0x59d68f);this['selectSeats'](_0x2a84da,_0x4cb12f);}['findSeatByKey'](_0x2b69c5){const _0x3fb328=_0x3ad27d,[_0x4125f2,_0x126000,_0x1269b8]=_0x2b69c5[_0x3fb328(0x4da)](';;'),_0x2ef0d1=+_0x4125f2,_0x213083=_0x2ef0d1?this[_0x3fb328(0x2d2)][_0x2ef0d1]:Object['values'](this['sectionsById'])['find'](_0x27767c=>_0x27767c[_0x3fb328(0x318)]===_0x4125f2);if(!_0x213083)return;const _0xdf1144=Object[_0x3fb328(0x432)](this[_0x3fb328(0x416)])[_0x3fb328(0x87)](_0x210043=>_0x210043[_0x3fb328(0x127)]===_0x213083['id']&&_0x210043[_0x3fb328(0x32e)]+''===_0x126000);if(!_0xdf1144)return;const _0x3c3924=this[_0x3fb328(0x218)]['find'](_0x5dc0a6=>_0x5dc0a6[_0x3fb328(0x127)]===_0x213083['id']&&_0x5dc0a6[_0x3fb328(0x363)]===_0xdf1144['id']&&_0x5dc0a6[_0x3fb328(0x318)]===_0x1269b8);return _0x3c3924;}['getCart'](){const _0x510ade=_0x3ad27d;return JSON[_0x510ade(0x3a4)](JSON[_0x510ade(0x242)](this[_0x510ade(0x5a6)]));}['isSeatInCart'](_0x1a219b){const _0xe1fc5=_0x3ad27d;return!!this[_0xe1fc5(0x5a6)]['seats']['find'](_0x5ccfb2=>_0x5ccfb2['id']===_0x1a219b);}[_0x3ad27d(0x1d3)](_0x592bd3){const _0x562c34=_0x3ad27d;return!!this[_0x562c34(0x5a6)]['ga'][_0x562c34(0x87)](_0x26da32=>_0x26da32[_0x562c34(0x127)]===_0x592bd3);}[_0x3ad27d(0x340)](_0x396058){const _0xb862d8=_0x3ad27d;if(this[_0xb862d8(0x120)](_0x396058))return;const _0x51b5b3=this['seatToCartSeat'](this[_0xb862d8(0x101)][_0x396058]);this['cart'][_0xb862d8(0x218)][_0xb862d8(0x244)](_0x51b5b3),this[_0xb862d8(0x11b)][_0x396058]=performance[_0xb862d8(0x3a9)](),this[_0xb862d8(0x1f5)][_0x396058]&&delete this[_0xb862d8(0x1f5)][_0x396058];}['removeSeatFromCart'](_0x13ff11){const _0x111122=_0x3ad27d,_0xc8ddcb=this[_0x111122(0x5a6)]['seats'][_0x111122(0x573)](_0x1105e8=>_0x1105e8['id']===_0x13ff11);_0xc8ddcb!==-0x1&&this[_0x111122(0x5a6)][_0x111122(0x218)][_0x111122(0x598)](_0xc8ddcb,0x1),this[_0x111122(0x1f5)][_0x13ff11]=performance[_0x111122(0x3a9)](),this['_selectedAt'][_0x13ff11]&&delete this[_0x111122(0x11b)][_0x13ff11];}[_0x3ad27d(0xdf)](){const _0xf92ec3=_0x3ad27d;if(!this[_0xf92ec3(0x5a6)][_0xf92ec3(0x218)][_0xf92ec3(0x4a7)])return[];const _0x4985f2=this[_0xf92ec3(0x5a6)][_0xf92ec3(0x218)][_0xf92ec3(0x50f)](_0x6e12ba=>_0x6e12ba['id']||0x0);if(this[_0xf92ec3(0x25b)]){const _0x323679=_0x4985f2['indexOf'](this['hoveredSeat']['id']);_0x323679!==-0x1&&(_0x4985f2[_0xf92ec3(0x598)](_0x323679,0x1),_0x4985f2['push'](this['hoveredSeat']['id']));}const _0x4001b8={};return this['seats'][_0xf92ec3(0x353)](_0x1844e5=>_0x4985f2[_0xf92ec3(0x309)](_0x1844e5['id']))[_0xf92ec3(0x556)](_0x3cfac3=>{_0x4001b8[_0x3cfac3['id']]=_0x3cfac3;}),_0x4985f2[_0xf92ec3(0x50f)](_0x37a50e=>_0x4001b8[_0x37a50e])[_0xf92ec3(0x353)](_0x6bae28=>_0x6bae28);}[_0x3ad27d(0x5a5)](){const _0x495373=_0x3ad27d;return this[_0x495373(0x540)]['map'](_0x3551c6=>this[_0x495373(0x101)][_0x3551c6]);}['setSectionSelection'](_0x173884){const _0x368127=_0x3ad27d;var _0x520a64;(!(_0x173884==null?void 0x0:_0x173884[_0x368127(0x4a7)])||(_0x173884==null?void 0x0:_0x173884['length'])<0x1)&&Object[_0x368127(0x432)](this[_0x368127(0x2d2)])['forEach'](_0x1d68e4=>{const _0x146297=_0x368127;_0x1d68e4[_0x146297(0x89)]=![];});const _0x3dcf7f=(_0x520a64=_0x173884==null?void 0x0:_0x173884[_0x368127(0x50f)](_0x21dc5b=>{const _0x1e8ddf=_0x368127;if(_0x21dc5b&&typeof _0x21dc5b===_0x1e8ddf(0x339))return this[_0x1e8ddf(0x2d2)][_0x21dc5b][_0x1e8ddf(0x89)]=!![],_0x21dc5b;else{if(_0x21dc5b&&typeof _0x21dc5b==='string'){const _0x431430=Object[_0x1e8ddf(0x432)](this[_0x1e8ddf(0x2d2)])[_0x1e8ddf(0x87)](_0x2b708b=>_0x2b708b['name']===_0x21dc5b);if(_0x431430)return _0x431430['selected']=!![],_0x431430['id'];}}return void 0x0;}))!=null?_0x520a64:null;return _0x3dcf7f;}[_0x3ad27d(0x3a6)](){const _0x4a4358=_0x3ad27d;return Object[_0x4a4358(0x432)](this[_0x4a4358(0x2d2)])['filter'](_0x15ac30=>_0x15ac30[_0x4a4358(0x89)]);}['getGaSectors'](){const _0x4ca641=_0x3ad27d;return Object['values'](this[_0x4ca641(0x2d2)])[_0x4ca641(0x353)](_0x4da5a5=>_0x4da5a5['isGa']);}[_0x3ad27d(0x3f1)](_0x58a183){const _0x29f487=_0x3ad27d,{scale:_0x2ac08c,translate:_0x239f7d}=this,_0x17cc10=window[_0x29f487(0x338)];return{'x':Math[_0x29f487(0x469)]((_0x58a183['x']*_0x2ac08c+_0x239f7d['x'])/_0x17cc10),'y':Math['round']((_0x58a183['y']*_0x2ac08c+_0x239f7d['y'])/_0x17cc10)};}},getSeatByPosition=(_0xca045,_0x19cbec,_0x370552,_0x197d30)=>{const _0x46cf97=_0x3ad27d,_0xadaa70=_0x370552[_0x46cf97(0x81)](_0xca045['x'],_0xca045['y'],_0x197d30/0x2)[0x0];return _0xadaa70||_0xadaa70===0x0?_0x19cbec[_0xadaa70]: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{['getContextSvg'](){const _0x5e62b5=_0x3ad27d;return this[_0x5e62b5(0xe5)][_0x5e62b5(0x545)][_0x5e62b5(0x43e)]||this[_0x5e62b5(0xe5)][_0x5e62b5(0x545)][_0x5e62b5(0x168)];}[_0x3ad27d(0x195)](){const _0x349bac=_0x3ad27d,_0x11bc88=this[_0x349bac(0x207)]();if(!_0x11bc88)return;const _0x5cc114=createSvgElement(_0x11bc88),_0x1fa828=_0x5cc114[_0x349bac(0x7f)]('['+DATA_GOS_ID+']'),_0x3173d9={};for(let _0x21de52=0x0;_0x21de52<_0x1fa828[_0x349bac(0x4a7)];_0x21de52++){const _0x5771ff=_0x1fa828[_0x21de52],_0x4ca7b4=_0x5771ff[_0x349bac(0x521)](DATA_GOS_ID),_0x203b7c=_0x5771ff[_0x349bac(0x521)](DATA_FONT_SCALE);_0x4ca7b4&&_0x203b7c&&(_0x3173d9[_0x4ca7b4]=+_0x203b7c);}this[_0x349bac(0x201)]=_0x3173d9;}['showSelectionRect'](_0x315ae4){const _0x2b7e3e=_0x3ad27d;this[_0x2b7e3e(0x297)]=_0x315ae4,this[_0x2b7e3e(0x229)]();}[_0x3ad27d(0x58b)](){const _0x584968=_0x3ad27d;this[_0x584968(0x297)]=void 0x0,this['redraw']();}['renderContent'](){const _0xcfe3a7=_0x3ad27d,_0x5aac86=this[_0xcfe3a7(0xe5)][_0xcfe3a7(0x3f7)]['switchToWebGL'];if(!_0x5aac86){this[_0xcfe3a7(0xe5)][_0xcfe3a7(0xdf)]()['forEach'](_0x2fd2fd=>this['renderSelectedSeat'](this[_0xcfe3a7(0x507)],_0x2fd2fd)),this['context'][_0xcfe3a7(0x5a5)]()[_0xcfe3a7(0x556)](_0xf13414=>this[_0xcfe3a7(0x107)](this[_0xcfe3a7(0x507)],_0xf13414));if(this[_0xcfe3a7(0xe5)][_0xcfe3a7(0x59e)])this[_0xcfe3a7(0xe5)][_0xcfe3a7(0x1ab)][this[_0xcfe3a7(0xe5)]['hoveredRow']['id']][_0xcfe3a7(0x556)](_0x20d244=>this['renderHoveredSeat'](this[_0xcfe3a7(0x507)],_0x20d244));else this[_0xcfe3a7(0xe5)][_0xcfe3a7(0x25b)]&&this[_0xcfe3a7(0x95)](this[_0xcfe3a7(0x507)],this[_0xcfe3a7(0xe5)]['hoveredSeat']);}this['renderGaTitles'](this[_0xcfe3a7(0x507)]),this['renderSelectionRect'](this['offscreenCtx']);}['drawOnscreenCanvas'](_0x1d60f8,_0x432c9f){const _0x2d913b=_0x3ad27d;super[_0x2d913b(0x275)](_0x1d60f8,_0x432c9f);const _0x1edce3=this['ctx'],_0x3d6daf=window['devicePixelRatio'];_0x1edce3[_0x2d913b(0x397)](),_0x1edce3[_0x2d913b(0x1b4)]=_0x2d913b(0x11e),_0x1edce3['textBaseline']=_0x2d913b(0xb9),_0x1edce3['font']=0x12*_0x3d6daf+_0x2d913b(0x243),_0x1edce3[_0x2d913b(0x295)]=_0x2d913b(0x3bc),_0x1edce3['fillText'](atob(arr['join']('')),0x1e*_0x3d6daf,(this[_0x2d913b(0x3a3)]-0x1e)*_0x3d6daf),_0x1edce3[_0x2d913b(0x5aa)](),this[_0x2d913b(0x3de)]();}[_0x3ad27d(0x15a)](_0x166ecd){const _0x39ba80=_0x3ad27d,_0x428c24=this[_0x39ba80(0xe5)][_0x39ba80(0x14f)],_0x217b68=this[_0x39ba80(0xe5)]['underlay'][_0x39ba80(0x144)],_0x2fcedd=this['context'][_0x39ba80(0x3f7)]['theme'];_0x166ecd[_0x39ba80(0x397)](),_0x166ecd[_0x39ba80(0x1d4)](-_0x217b68['x'],-_0x217b68['y']),_0x428c24[_0x39ba80(0x556)](_0x2d9624=>{const _0x5b3690=_0x39ba80;_0x166ecd[_0x5b3690(0x397)](),_0x166ecd[_0x5b3690(0x56e)](..._0x2d9624[_0x5b3690(0x56e)]);let _0x2eac9b=0x0;if(!_0x2d9624[_0x5b3690(0x1da)]){const _0xad4069=this[_0x5b3690(0x201)][_0x2d9624['id']]||DEFAULT_FONT_SCALE,{size:_0x4034e5,opacity:_0x57a5f9}=LABEL_STYLES[_0xad4069]||LABEL_STYLES[DEFAULT_FONT_SCALE],_0x1900dc=-((_0x4034e5+_0x2fcedd[_0x5b3690(0x4c3)]+_0x2fcedd[_0x5b3690(0x2cc)][_0x5b3690(0x260)][_0x5b3690(0x230)])/0x2),_0x32a1bc=Math[_0x5b3690(0x469)](_0x1900dc+_0x4034e5/0x2);_0x2eac9b=Math[_0x5b3690(0x469)](_0x1900dc+_0x4034e5+_0x2fcedd[_0x5b3690(0x4c3)]+_0x2fcedd[_0x5b3690(0x2cc)]['hovered'][_0x5b3690(0x230)]/0x2),_0x166ecd['textAlign']=_0x5b3690(0x35f),_0x166ecd[_0x5b3690(0x29e)]=_0x5b3690(0x193),_0x166ecd[_0x5b3690(0x2d0)]=_0x4034e5+_0x5b3690(0x243),_0x166ecd[_0x5b3690(0x295)]=_0x5b3690(0x321)+_0x57a5f9+')',_0x166ecd['fillText'](_0x2d9624[_0x5b3690(0x318)],0x0,_0x32a1bc);}const _0x1dda7b=this[_0x5b3690(0xe5)][_0x5b3690(0x2d2)][_0x2d9624['id']],_0x151e51={'id':-0x1,'sectorId':-0x1,'rowId':-0x1,'name':'','x':0x0,'y':_0x2eac9b,'priceId':_0x1dda7b[_0x5b3690(0x549)]};this[_0x5b3690(0xe5)][_0x5b3690(0x2b9)][_0x2d9624['id']]&&(_0x151e51['special']={'category':this[_0x5b3690(0xe5)]['gaCategories'][_0x2d9624['id']]}),(!_0x2d9624[_0x5b3690(0x1da)]||_0x1dda7b[_0x5b3690(0x549)])&&(this[_0x5b3690(0xe5)][_0x5b3690(0x1d3)](_0x1dda7b['id'])?this['renderSelectedSeat'](_0x166ecd,_0x151e51):this['renderSeat'](_0x166ecd,_0x151e51)),_0x166ecd['restore']();}),_0x166ecd[_0x39ba80(0x5aa)]();}['renderSelectionRect'](_0x1c8aff){const _0x43a527=_0x3ad27d;if(!this[_0x43a527(0x297)])return;const {x:_0x388fcc,y:_0x524a98,width:_0x214806,height:_0x3c4011}=this['selectionRect'];_0x1c8aff[_0x43a527(0x397)](),_0x1c8aff['fillStyle']=_0x43a527(0x2f6),_0x1c8aff[_0x43a527(0x21b)](_0x388fcc,_0x524a98,_0x214806,_0x3c4011),_0x1c8aff[_0x43a527(0x2ea)](),_0x1c8aff[_0x43a527(0x5aa)]();}['apply3DTransforms'](){const _0x64eba5=_0x3ad27d;var _0x28c386;const _0x187e06=(_0x28c386=this[_0x64eba5(0x55f)])==null?void 0x0:_0x28c386['canvas'];if(!_0x187e06)return;if(!this[_0x64eba5(0xe5)][_0x64eba5(0x1a0)]){_0x187e06['style'][_0x64eba5(0x56e)]='',_0x187e06['style'][_0x64eba5(0x419)]='';return;}const {rotationZ:_0x5a01a4,tiltX:_0x1b9b10}=this[_0x64eba5(0xe5)];_0x187e06['style']['transformOrigin']=getDefaultTransformOrigin();const _0x3863e6=this['width']/Math[_0x64eba5(0x490)](0x1,this[_0x64eba5(0x3a3)]),_0x483860=buildCss3DTransform({'rotationZ':_0x5a01a4,'perspectiveZ':0x0,'tiltX':_0x1b9b10},{'aspectRatio':_0x3863e6});_0x187e06['style'][_0x64eba5(0x56e)]=_0x483860;}},DPR2=window[_0x3ad27d(0x338)],_MinimapLayer=class _MinimapLayer{constructor(_0x173ef3,_0x3d76a5){const _0xb1805c=_0x3ad27d;this[_0xb1805c(0x305)]=0x1,this[_0xb1805c(0x186)]=0x1,this[_0xb1805c(0x206)]=0x0,this[_0xb1805c(0x396)]=0x0,this[_0xb1805c(0x25f)]=null,this[_0xb1805c(0x553)]=![],this[_0xb1805c(0x16e)]=null,this[_0xb1805c(0xc3)]=null,this['isDragging']=![],this[_0xb1805c(0x319)]=null,this[_0xb1805c(0x44a)]=_0x20508a=>{const _0x1fea00=_0xb1805c;_0x20508a['stopPropagation'](),_0x20508a[_0x1fea00(0x30d)]();if(this[_0x1fea00(0x330)])return;const _0x53ddff=_0x20508a[_0x1fea00(0x2df)][_0x1fea00(0x4bb)](),_0x3f3524=(_0x20508a[_0x1fea00(0x2db)]-_0x53ddff[_0x1fea00(0x11e)])*DPR2,_0x3261a5=(_0x20508a['clientY']-_0x53ddff['top'])*DPR2;this[_0x1fea00(0x51e)](_0x3f3524,_0x3261a5,!![],!![]);},this[_0xb1805c(0x52b)]=_0x3eb52b=>{const _0x2973bd=_0xb1805c;_0x3eb52b[_0x2973bd(0x130)](),_0x3eb52b[_0x2973bd(0x30d)](),this[_0x2973bd(0x330)]=!![],this[_0x2973bd(0x48d)][_0x2973bd(0x2f5)][_0x2973bd(0x424)]='grabbing';const _0x57e0e1=_0x3eb52b[_0x2973bd(0x2df)][_0x2973bd(0x4bb)](),_0x18d94f=(_0x3eb52b[_0x2973bd(0x2db)]-_0x57e0e1[_0x2973bd(0x11e)])*DPR2,_0x1a12ba=(_0x3eb52b[_0x2973bd(0x3b7)]-_0x57e0e1['top'])*DPR2,_0x3fbf36=this['calculateViewportRect'](),_0x4c57ab=_0x3fbf36['x']+_0x3fbf36['width']/0x2,_0x59e140=_0x3fbf36['y']+_0x3fbf36['height']/0x2;this['dragOffset']={'x':_0x18d94f-_0x4c57ab,'y':_0x1a12ba-_0x59e140};},this[_0xb1805c(0x2a2)]=_0x43d697=>{const _0x381a7f=_0xb1805c;this['isDragging']&&(_0x43d697[_0x381a7f(0x130)](),_0x43d697['preventDefault']());if(!this[_0x381a7f(0x330)])return;const _0x2d7fa4=_0x43d697[_0x381a7f(0x2df)][_0x381a7f(0x4bb)](),_0x1ab8df=(_0x43d697[_0x381a7f(0x2db)]-_0x2d7fa4['left'])*DPR2,_0x5cb279=(_0x43d697[_0x381a7f(0x3b7)]-_0x2d7fa4[_0x381a7f(0x4c0)])*DPR2,_0x5626ca=this['dragOffset']||{'x':0x0,'y':0x0},_0x2af9cd=_0x1ab8df-_0x5626ca['x'],_0x49e131=_0x5cb279-_0x5626ca['y'];this[_0x381a7f(0x51e)](_0x2af9cd,_0x49e131,!![],![]);},this[_0xb1805c(0x343)]=()=>{const _0x5001be=_0xb1805c;this[_0x5001be(0x330)]=![],this[_0x5001be(0x48d)][_0x5001be(0x2f5)][_0x5001be(0x424)]=_0x5001be(0x43a);};var _0x25f99f,_0x23d080,_0x2ea4ce,_0x1aafe9,_0x2bb520,_0x1ee8a3,_0x5f5384,_0x1f617c,_0x8a35c2,_0x590f84;this[_0xb1805c(0xe5)]=_0x173ef3,this[_0xb1805c(0x451)]=_0x3d76a5;const _0x5a65ce=this[_0xb1805c(0xe5)][_0xb1805c(0x3f7)][_0xb1805c(0x388)];this['config']={'position':_0x5a65ce[_0xb1805c(0x163)]||_0xb1805c(0x3f4),'width':_0x5a65ce[_0xb1805c(0x3ff)]||0xc8,'opacity':(_0x25f99f=_0x5a65ce[_0xb1805c(0x515)])!=null?_0x25f99f:0.8,'backgroundColor':_0x5a65ce[_0xb1805c(0x38f)]||((_0x23d080=this[_0xb1805c(0xe5)]['settings'][_0xb1805c(0x439)])==null?void 0x0:_0x23d080[_0xb1805c(0x10f)])||_0xb1805c(0x15b),'borderColor':_0x5a65ce['borderColor']||((_0x1ee8a3=(_0x2bb520=(_0x1aafe9=(_0x2ea4ce=this[_0xb1805c(0xe5)][_0xb1805c(0x3f7)][_0xb1805c(0x439)])==null?void 0x0:_0x2ea4ce[_0xb1805c(0x46b)])==null?void 0x0:_0x1aafe9[_0xb1805c(0x4d9)])==null?void 0x0:_0x2bb520[_0xb1805c(0x355)])==null?void 0x0:_0x1ee8a3[_0xb1805c(0x262)])||_0xb1805c(0x8a),'viewportColor':_0x5a65ce[_0xb1805c(0x3d8)]||_0xb1805c(0x1a8),'borderWidth':(_0x5f5384=_0x5a65ce[_0xb1805c(0x435)])!=null?_0x5f5384:0x2,'margin':(_0x1f617c=_0x5a65ce['margin'])!=null?_0x1f617c:0x10,'offscreenColor':_0x5a65ce[_0xb1805c(0x3a2)]||_0xb1805c(0x116),'offscreenOpacity':(_0x8a35c2=_0x5a65ce[_0xb1805c(0x19a)])!=null?_0x8a35c2:0.4,'showCartPins':(_0x590f84=_0x5a65ce[_0xb1805c(0x41f)])!=null?_0x590f84:!![]},this[_0xb1805c(0x48d)]=document['createElement'](_0xb1805c(0x48d)),this[_0xb1805c(0x48d)]['style']['position']=_0xb1805c(0x9a),this['canvas']['style'][_0xb1805c(0x54d)]=_0xb1805c(0x5a7),this[_0xb1805c(0x48d)][_0xb1805c(0x2f5)][_0xb1805c(0xb1)]=_0xb1805c(0xc9),this['canvas'][_0xb1805c(0x2f5)][_0xb1805c(0x424)]=_0xb1805c(0x43a),this[_0xb1805c(0x48d)][_0xb1805c(0x2f5)]['borderRadius']=_0xb1805c(0x586),this['canvas'][_0xb1805c(0x2f5)][_0xb1805c(0x147)]=_0xb1805c(0x53e),this[_0xb1805c(0x48d)][_0xb1805c(0x2f5)][_0xb1805c(0x515)]=this[_0xb1805c(0x3d6)][_0xb1805c(0x515)]['toString'](),this[_0xb1805c(0x55f)]=this[_0xb1805c(0x48d)][_0xb1805c(0x50c)]('2d'),this[_0xb1805c(0x10b)]=document['createElement']('canvas'),this[_0xb1805c(0x10b)][_0xb1805c(0x2f5)][_0xb1805c(0x163)]='absolute',this[_0xb1805c(0x10b)]['style'][_0xb1805c(0x54d)]='1001',this[_0xb1805c(0x10b)]['style'][_0xb1805c(0xb1)]=_0xb1805c(0xc9),this['overlayCanvas'][_0xb1805c(0x2f5)]['borderRadius']=_0xb1805c(0x586),this[_0xb1805c(0x10b)][_0xb1805c(0x2f5)]['opacity']=this['config'][_0xb1805c(0x515)][_0xb1805c(0x172)](),this[_0xb1805c(0x2ad)]=this[_0xb1805c(0x10b)][_0xb1805c(0x50c)]('2d'),this['updateSize'](),this[_0xb1805c(0x283)](),this[_0xb1805c(0xe5)][_0xb1805c(0x4d8)][_0xb1805c(0x308)](this[_0xb1805c(0x48d)]),this[_0xb1805c(0xe5)]['element'][_0xb1805c(0x308)](this[_0xb1805c(0x10b)]),this['canvas'][_0xb1805c(0x2f5)][_0xb1805c(0x19d)]=_0xb1805c(0x2c8),this['overlayCanvas'][_0xb1805c(0x2f5)]['touchAction']=_0xb1805c(0x2c8),this[_0xb1805c(0x3c9)]();}[_0x3ad27d(0x4a6)](){const _0x549809=_0x3ad27d;var _0xd64c65;if(!((_0xd64c65=this[_0x549809(0xe5)][_0x549809(0x545)])==null?void 0x0:_0xd64c65[_0x549809(0x144)]))return;const _0x3ec3f3=this[_0x549809(0xe5)][_0x549809(0x545)][_0x549809(0x144)],_0x5c3e6e=_0x3ec3f3['height']/_0x3ec3f3[_0x549809(0x3ff)];this[_0x549809(0x4d4)]=this[_0x549809(0x3d6)][_0x549809(0x3ff)],this[_0x549809(0x3f0)]=this[_0x549809(0x3d6)][_0x549809(0x3ff)]*_0x5c3e6e,this['canvas']['width']=this[_0x549809(0x4d4)]*DPR2,this[_0x549809(0x48d)][_0x549809(0x3a3)]=this['minimapHeight']*DPR2,this[_0x549809(0x48d)][_0x549809(0x2f5)][_0x549809(0x3ff)]=this['minimapWidth']+'px',this[_0x549809(0x48d)][_0x549809(0x2f5)][_0x549809(0x3a3)]=this[_0x549809(0x3f0)]+'px',this['overlayCanvas'][_0x549809(0x3ff)]=this['minimapWidth']*DPR2,this[_0x549809(0x10b)]['height']=this['minimapHeight']*DPR2,this[_0x549809(0x10b)]['style'][_0x549809(0x3ff)]=this[_0x549809(0x4d4)]+'px',this['overlayCanvas'][_0x549809(0x2f5)][_0x549809(0x3a3)]=this[_0x549809(0x3f0)]+'px',this[_0x549809(0x186)]=Math[_0x549809(0x169)](this[_0x549809(0x48d)][_0x549809(0x3ff)]/_0x3ec3f3[_0x549809(0x3ff)],this[_0x549809(0x48d)][_0x549809(0x3a3)]/_0x3ec3f3[_0x549809(0x3a3)]),this[_0x549809(0x206)]=(this['canvas'][_0x549809(0x3ff)]-_0x3ec3f3[_0x549809(0x3ff)]*this[_0x549809(0x186)])/0x2,this[_0x549809(0x396)]=(this[_0x549809(0x48d)][_0x549809(0x3a3)]-_0x3ec3f3['height']*this[_0x549809(0x186)])/0x2,this[_0x549809(0x305)]=this[_0x549809(0x186)];}['applyPosition'](){const _0x27b98a=_0x3ad27d,_0x5ec06d=this['config']['margin']+'px';this[_0x27b98a(0x48d)][_0x27b98a(0x2f5)]['top']=_0x27b98a(0xc9),this['canvas'][_0x27b98a(0x2f5)][_0x27b98a(0x132)]=_0x27b98a(0xc9),this[_0x27b98a(0x48d)][_0x27b98a(0x2f5)]['bottom']=_0x27b98a(0xc9),this['canvas'][_0x27b98a(0x2f5)][_0x27b98a(0x11e)]=_0x27b98a(0xc9),this['overlayCanvas'][_0x27b98a(0x2f5)][_0x27b98a(0x4c0)]='auto',this['overlayCanvas']['style'][_0x27b98a(0x132)]='auto',this[_0x27b98a(0x10b)][_0x27b98a(0x2f5)][_0x27b98a(0xb9)]=_0x27b98a(0xc9),this[_0x27b98a(0x10b)]['style']['left']=_0x27b98a(0xc9);switch(this['config'][_0x27b98a(0x163)]){case _0x27b98a(0x3c6):this[_0x27b98a(0x48d)][_0x27b98a(0x2f5)][_0x27b98a(0x4c0)]=_0x5ec06d,this[_0x27b98a(0x48d)][_0x27b98a(0x2f5)][_0x27b98a(0x11e)]=_0x5ec06d,this[_0x27b98a(0x10b)]['style'][_0x27b98a(0x4c0)]=_0x5ec06d,this[_0x27b98a(0x10b)][_0x27b98a(0x2f5)][_0x27b98a(0x11e)]=_0x5ec06d;break;case _0x27b98a(0x21f):this['canvas']['style'][_0x27b98a(0x4c0)]=_0x5ec06d,this[_0x27b98a(0x48d)][_0x27b98a(0x2f5)][_0x27b98a(0x132)]=_0x5ec06d,this[_0x27b98a(0x10b)][_0x27b98a(0x2f5)][_0x27b98a(0x4c0)]=_0x5ec06d,this[_0x27b98a(0x10b)][_0x27b98a(0x2f5)][_0x27b98a(0x132)]=_0x5ec06d;break;case _0x27b98a(0x544):this[_0x27b98a(0x48d)][_0x27b98a(0x2f5)][_0x27b98a(0xb9)]=_0x5ec06d,this['canvas'][_0x27b98a(0x2f5)][_0x27b98a(0x11e)]=_0x5ec06d,this[_0x27b98a(0x10b)][_0x27b98a(0x2f5)]['bottom']=_0x5ec06d,this['overlayCanvas'][_0x27b98a(0x2f5)][_0x27b98a(0x11e)]=_0x5ec06d;break;case'bottom-right':this['canvas'][_0x27b98a(0x2f5)][_0x27b98a(0xb9)]=_0x5ec06d,this[_0x27b98a(0x48d)][_0x27b98a(0x2f5)][_0x27b98a(0x132)]=_0x5ec06d,this[_0x27b98a(0x10b)]['style'][_0x27b98a(0xb9)]=_0x5ec06d,this[_0x27b98a(0x10b)][_0x27b98a(0x2f5)]['right']=_0x5ec06d;break;}}[_0x3ad27d(0x222)](_0x16aaf){const _0x39cfd6=_0x3ad27d;this[_0x39cfd6(0x25f)]=_0x16aaf,this['snapshotScalePxPerUnit']=null,this[_0x39cfd6(0xc3)]=null;const _0x2d74b5=()=>{this['isBackgroundReady']=!![],this['drawBackground']();};this[_0x39cfd6(0x25f)]['complete']&&this[_0x39cfd6(0x25f)][_0x39cfd6(0x165)]>0x0?_0x2d74b5():(this[_0x39cfd6(0x25f)][_0x39cfd6(0x148)]=_0x2d74b5,this['backgroundImage'][_0x39cfd6(0x4fd)]=()=>{const _0x528abe=_0x39cfd6;this[_0x528abe(0x553)]=![];});}[_0x3ad27d(0x39c)](_0x31222a,_0x209687){const _0x5860b2=_0x3ad27d;this['backgroundImage']=_0x31222a,this[_0x5860b2(0x16e)]=_0x209687['scale'],this[_0x5860b2(0xc3)]={'x':_0x209687[_0x5860b2(0x1d4)]['x'],'y':_0x209687['translate']['y']};const _0x2274de=()=>{const _0x245ee9=_0x5860b2;this[_0x245ee9(0x553)]=!![],this[_0x245ee9(0xd5)]();};this[_0x5860b2(0x25f)][_0x5860b2(0xd8)]&&this[_0x5860b2(0x25f)][_0x5860b2(0x165)]>0x0?_0x2274de():(this[_0x5860b2(0x25f)]['onload']=_0x2274de,this[_0x5860b2(0x25f)]['onerror']=()=>{const _0x451d3a=_0x5860b2;this[_0x451d3a(0x553)]=![];});}['drawBackground'](){const _0x37646f=_0x3ad27d;if(!this[_0x37646f(0x553)]||!this[_0x37646f(0x25f)])return;this[_0x37646f(0x55f)][_0x37646f(0x397)](),this['ctx'][_0x37646f(0x31f)](0x0,0x0,this[_0x37646f(0x48d)]['width'],this['canvas']['height']),this[_0x37646f(0x55f)][_0x37646f(0x295)]=this[_0x37646f(0x3d6)][_0x37646f(0x38f)],this['ctx'][_0x37646f(0x412)](0x0,0x0,this[_0x37646f(0x48d)]['width'],this[_0x37646f(0x48d)][_0x37646f(0x3a3)]);const _0x1c1358=this[_0x37646f(0xe5)][_0x37646f(0x545)][_0x37646f(0x144)];if(this[_0x37646f(0x25f)]['complete']&&this[_0x37646f(0x25f)][_0x37646f(0x3ff)]>0x0){const _0x7d11f7=this[_0x37646f(0x206)],_0x490409=this[_0x37646f(0x396)],_0x444ba7=_0x1c1358[_0x37646f(0x3ff)]*this[_0x37646f(0x186)],_0x4682cb=_0x1c1358[_0x37646f(0x3a3)]*this[_0x37646f(0x186)];if(this['snapshotScalePxPerUnit']&&this[_0x37646f(0xc3)]){const _0x197857=Math[_0x37646f(0x490)](0x0,this['snapshotTranslatePx']['x']),_0x1bcc55=Math[_0x37646f(0x490)](0x0,this[_0x37646f(0xc3)]['y']),_0x941954=Math['min'](this['backgroundImage'][_0x37646f(0x165)]-_0x197857,_0x1c1358[_0x37646f(0x3ff)]*this[_0x37646f(0x16e)]),_0x12155c=Math['min'](this[_0x37646f(0x25f)][_0x37646f(0x38c)]-_0x1bcc55,_0x1c1358[_0x37646f(0x3a3)]*this[_0x37646f(0x16e)]);this['ctx'][_0x37646f(0x447)](this['backgroundImage'],_0x197857,_0x1bcc55,Math[_0x37646f(0x490)](0x1,_0x941954),Math[_0x37646f(0x490)](0x1,_0x12155c),_0x7d11f7,_0x490409,_0x444ba7,_0x4682cb);}else this['ctx']['drawImage'](this[_0x37646f(0x25f)],_0x7d11f7,_0x490409,_0x444ba7,_0x4682cb);}this[_0x37646f(0x55f)]['restore'](),this['ctx'][_0x37646f(0x523)]=this['config'][_0x37646f(0x493)],this['ctx'][_0x37646f(0xcf)]=this['config']['borderWidth'],this[_0x37646f(0x55f)][_0x37646f(0x1c8)](this[_0x37646f(0x3d6)][_0x37646f(0x435)]/0x2,this[_0x37646f(0x3d6)]['borderWidth']/0x2,this[_0x37646f(0x48d)][_0x37646f(0x3ff)]-this[_0x37646f(0x3d6)][_0x37646f(0x435)],this['canvas']['height']-this[_0x37646f(0x3d6)][_0x37646f(0x435)]);}[_0x3ad27d(0x497)](){const _0x4bf303=_0x3ad27d,_0x2ef5c3=this[_0x4bf303(0xe5)][_0x4bf303(0x4d8)][_0x4bf303(0x1ea)],_0x25366c=this['context']['element'][_0x4bf303(0x160)],_0x31ffdb=this[_0x4bf303(0xe5)][_0x4bf303(0x143)],_0x320473=this[_0x4bf303(0xe5)]['translate'],_0x341c71=[{'x':0x0,'y':0x0},{'x':_0x2ef5c3,'y':0x0},{'x':_0x2ef5c3,'y':_0x25366c},{'x':0x0,'y':_0x25366c}];let _0xf64758;if(this[_0x4bf303(0xe5)]['enable3DView']){const _0x695b08=(this[_0x4bf303(0xe5)]['rotationZ']||0x0)+Math['PI']/0x2;_0xf64758=_0x341c71[_0x4bf303(0x50f)](_0x456a3d=>{const _0x46ee2=_0x4bf303,_0x2e0f02=unprojectPointFrom3DView(_0x456a3d,{'width':_0x2ef5c3,'height':_0x25366c},{'rotationZ':_0x695b08,'perspectiveZ':this[_0x46ee2(0xe5)][_0x46ee2(0x3c7)]||0x0,'tiltX':this[_0x46ee2(0xe5)]['tiltX']||0x0});return{'x':(_0x2e0f02['x']*DPR2-_0x320473['x'])/_0x31ffdb,'y':(_0x2e0f02['y']*DPR2-_0x320473['y'])/_0x31ffdb};});}else _0xf64758=_0x341c71['map'](_0x582a38=>({'x':(_0x582a38['x']*DPR2-_0x320473['x'])/_0x31ffdb,'y':(_0x582a38['y']*DPR2-_0x320473['y'])/_0x31ffdb}));const _0x2c2b01=_0xf64758[_0x4bf303(0x50f)](_0x27aeb2=>_0x27aeb2['x']),_0x186362=_0xf64758[_0x4bf303(0x50f)](_0x16cef9=>_0x16cef9['y']),_0x1fa0a9=Math['min'](..._0x2c2b01),_0x477fe1=Math[_0x4bf303(0x490)](..._0x2c2b01),_0x33bb4a=Math[_0x4bf303(0x169)](..._0x186362),_0x2a4e06=Math[_0x4bf303(0x490)](..._0x186362),_0x35f1a5=_0xf64758[_0x4bf303(0x50f)](_0x11fe1d=>({'x':this[_0x4bf303(0x206)]+_0x11fe1d['x']*this['contentScale'],'y':this[_0x4bf303(0x396)]+_0x11fe1d['y']*this['contentScale']}));return{'x':this[_0x4bf303(0x206)]+_0x1fa0a9*this[_0x4bf303(0x186)],'y':this[_0x4bf303(0x396)]+_0x33bb4a*this[_0x4bf303(0x186)],'width':(_0x477fe1-_0x1fa0a9)*this[_0x4bf303(0x186)],'height':(_0x2a4e06-_0x33bb4a)*this[_0x4bf303(0x186)],'corners':_0x35f1a5};}[_0x3ad27d(0x202)](){const _0x5b7676=_0x3ad27d;this[_0x5b7676(0x2ad)][_0x5b7676(0x31f)](0x0,0x0,this[_0x5b7676(0x10b)][_0x5b7676(0x3ff)],this[_0x5b7676(0x10b)][_0x5b7676(0x3a3)]);const _0x5d70d5=this['calculateViewportRect']();this[_0x5b7676(0x2ad)]['save']();const _0x4b9cab=this[_0x5b7676(0x3d6)][_0x5b7676(0x3a2)],_0x2d4a9c=Math[_0x5b7676(0x490)](0x0,Math[_0x5b7676(0x169)](0x1,this['config'][_0x5b7676(0x19a)]));this[_0x5b7676(0x2ad)][_0x5b7676(0x397)](),this['overlayCtx']['globalAlpha']=_0x2d4a9c,this['overlayCtx'][_0x5b7676(0x295)]=_0x4b9cab;if(this[_0x5b7676(0xe5)]['enable3DView']&&_0x5d70d5[_0x5b7676(0x2f2)][_0x5b7676(0x4a7)]===0x4){this[_0x5b7676(0x2ad)][_0x5b7676(0x23a)](),this[_0x5b7676(0x2ad)][_0x5b7676(0x21b)](0x0,0x0,this[_0x5b7676(0x10b)][_0x5b7676(0x3ff)],this[_0x5b7676(0x10b)][_0x5b7676(0x3a3)]),this[_0x5b7676(0x2ad)][_0x5b7676(0x1b2)](_0x5d70d5[_0x5b7676(0x2f2)][0x0]['x'],_0x5d70d5[_0x5b7676(0x2f2)][0x0]['y']);for(let _0x1738d5=0x1;_0x1738d5<_0x5d70d5[_0x5b7676(0x2f2)][_0x5b7676(0x4a7)];_0x1738d5++){this[_0x5b7676(0x2ad)][_0x5b7676(0x59d)](_0x5d70d5[_0x5b7676(0x2f2)][_0x1738d5]['x'],_0x5d70d5['corners'][_0x1738d5]['y']);}this[_0x5b7676(0x2ad)][_0x5b7676(0x4cb)](),this[_0x5b7676(0x2ad)]['fill'](_0x5b7676(0x2c6)),this['overlayCtx']['globalAlpha']=0x1,this[_0x5b7676(0x2ad)]['strokeStyle']=this['config'][_0x5b7676(0x3d8)],this[_0x5b7676(0x2ad)]['lineWidth']=0x2,this['overlayCtx'][_0x5b7676(0x23a)](),this[_0x5b7676(0x2ad)][_0x5b7676(0x1b2)](_0x5d70d5[_0x5b7676(0x2f2)][0x0]['x'],_0x5d70d5[_0x5b7676(0x2f2)][0x0]['y']);for(let _0x3b5fd4=0x1;_0x3b5fd4<_0x5d70d5[_0x5b7676(0x2f2)]['length'];_0x3b5fd4++){this[_0x5b7676(0x2ad)][_0x5b7676(0x59d)](_0x5d70d5[_0x5b7676(0x2f2)][_0x3b5fd4]['x'],_0x5d70d5['corners'][_0x3b5fd4]['y']);}this[_0x5b7676(0x2ad)][_0x5b7676(0x4cb)](),this['overlayCtx'][_0x5b7676(0x355)](),this[_0x5b7676(0x576)](_0x5d70d5);}else{this[_0x5b7676(0x2ad)][_0x5b7676(0x412)](0x0,0x0,this['overlayCanvas'][_0x5b7676(0x3ff)],Math[_0x5b7676(0x490)](0x0,_0x5d70d5['y']));const _0x2899b0=_0x5d70d5['y']+_0x5d70d5[_0x5b7676(0x3a3)];this['overlayCtx'][_0x5b7676(0x412)](0x0,_0x2899b0,this['overlayCanvas'][_0x5b7676(0x3ff)],this[_0x5b7676(0x10b)][_0x5b7676(0x3a3)]-_0x2899b0),this[_0x5b7676(0x2ad)][_0x5b7676(0x412)](0x0,_0x5d70d5['y'],Math['max'](0x0,_0x5d70d5['x']),_0x5d70d5['height']);const _0x57a5a8=_0x5d70d5['x']+_0x5d70d5[_0x5b7676(0x3ff)];this[_0x5b7676(0x2ad)][_0x5b7676(0x412)](_0x57a5a8,_0x5d70d5['y'],this[_0x5b7676(0x10b)][_0x5b7676(0x3ff)]-_0x57a5a8,_0x5d70d5[_0x5b7676(0x3a3)]),this[_0x5b7676(0x2ad)][_0x5b7676(0x285)]=0x1,this['overlayCtx'][_0x5b7676(0x523)]=this['config'][_0x5b7676(0x3d8)],this['overlayCtx'][_0x5b7676(0xcf)]=0x2,this[_0x5b7676(0x2ad)]['strokeRect'](_0x5d70d5['x'],_0x5d70d5['y'],_0x5d70d5[_0x5b7676(0x3ff)],_0x5d70d5[_0x5b7676(0x3a3)]),this[_0x5b7676(0x576)](_0x5d70d5);}this[_0x5b7676(0x2ad)][_0x5b7676(0x5aa)](),this[_0x5b7676(0x2ad)][_0x5b7676(0x5aa)](),this[_0x5b7676(0x3d6)][_0x5b7676(0x41f)]&&this[_0x5b7676(0x328)]();}[_0x3ad27d(0x576)](_0x496c02){const _0x4787c7=_0x3ad27d;if(this['isViewportNearFullCanvas'](_0x496c02))return;const _0x5bd1de=this[_0x4787c7(0xe5)][_0x4787c7(0x40c)]||0x0;if(Math['abs'](_0x5bd1de)<0.0001)return;const _0x574d8e=this[_0x4787c7(0x2ad)];let _0x109e81,_0x4a4bc2;this[_0x4787c7(0xe5)][_0x4787c7(0x1a0)]&&_0x496c02[_0x4787c7(0x2f2)]&&_0x496c02[_0x4787c7(0x2f2)][_0x4787c7(0x4a7)]===0x4?(_0x109e81=(_0x496c02[_0x4787c7(0x2f2)][0x0]['x']+_0x496c02[_0x4787c7(0x2f2)][0x1]['x']+_0x496c02[_0x4787c7(0x2f2)][0x2]['x']+_0x496c02[_0x4787c7(0x2f2)][0x3]['x'])/0x4,_0x4a4bc2=(_0x496c02[_0x4787c7(0x2f2)][0x0]['y']+_0x496c02[_0x4787c7(0x2f2)][0x1]['y']+_0x496c02['corners'][0x2]['y']+_0x496c02[_0x4787c7(0x2f2)][0x3]['y'])/0x4):(_0x109e81=_0x496c02['x']+_0x496c02[_0x4787c7(0x3ff)]/0x2,_0x4a4bc2=_0x496c02['y']+_0x496c02['height']/0x2);const _0x2b1c8a=Math[_0x4787c7(0x490)](0xa*DPR2,Math[_0x4787c7(0x169)](_0x496c02[_0x4787c7(0x3ff)],_0x496c02['height'])*0.25),_0x8afe25=Math[_0x4787c7(0x490)](0x3*DPR2,Math[_0x4787c7(0x169)](_0x496c02[_0x4787c7(0x3ff)],_0x496c02[_0x4787c7(0x3a3)])*0.12);_0x574d8e[_0x4787c7(0x397)](),_0x574d8e[_0x4787c7(0x1d4)](_0x109e81,_0x4a4bc2),_0x574d8e['rotate'](-_0x5bd1de),_0x574d8e[_0x4787c7(0x23a)](),_0x574d8e['moveTo'](0x0,0x0),_0x574d8e[_0x4787c7(0x59d)](0x0,-_0x2b1c8a),_0x574d8e[_0x4787c7(0x523)]=this[_0x4787c7(0x3d6)]['viewportColor'],_0x574d8e[_0x4787c7(0xcf)]=Math[_0x4787c7(0x490)](0x2,1.5*DPR2),_0x574d8e[_0x4787c7(0x355)](),_0x574d8e[_0x4787c7(0x23a)](),_0x574d8e[_0x4787c7(0x1b2)](0x0,-_0x2b1c8a),_0x574d8e[_0x4787c7(0x59d)](-_0x8afe25*0.5,-_0x2b1c8a+_0x8afe25),_0x574d8e[_0x4787c7(0x1b2)](0x0,-_0x2b1c8a),_0x574d8e[_0x4787c7(0x59d)](_0x8afe25*0.5,-_0x2b1c8a+_0x8afe25),_0x574d8e['stroke']();const _0x271ea8=Math['abs'](this['context'][_0x4787c7(0x422)]||0x0);if(_0x271ea8>0.001){const _0x1371cb=-_0x2b1c8a*0.4,_0x360442=Math[_0x4787c7(0x169)](_0x2b1c8a*0.5,0x6*DPR2+_0x271ea8*0x14);_0x574d8e[_0x4787c7(0x23a)](),_0x574d8e[_0x4787c7(0x1b2)](-_0x360442,_0x1371cb),_0x574d8e[_0x4787c7(0x59d)](_0x360442,_0x1371cb),_0x574d8e[_0x4787c7(0xcf)]=Math['max'](0x1,DPR2),_0x574d8e[_0x4787c7(0x523)]=_0x4787c7(0x440),_0x574d8e['stroke']();}_0x574d8e['restore']();}['isViewportNearFullCanvas'](_0x2cb91b){const _0x322ff7=_0x3ad27d,_0x5eaa81=this['overlayCanvas']['width']*this[_0x322ff7(0x10b)][_0x322ff7(0x3a3)];let _0x56a923;if(this[_0x322ff7(0xe5)][_0x322ff7(0x1a0)]&&_0x2cb91b[_0x322ff7(0x2f2)]&&_0x2cb91b[_0x322ff7(0x2f2)][_0x322ff7(0x4a7)]===0x4){const _0x1bdbdb=_0x2cb91b['corners'];let _0x250f23=0x0;for(let _0x3be92f=0x0;_0x3be92f<_0x1bdbdb[_0x322ff7(0x4a7)];_0x3be92f++){const _0x4ae583=_0x1bdbdb[_0x3be92f],_0x282d9d=_0x1bdbdb[(_0x3be92f+0x1)%_0x1bdbdb['length']];_0x250f23+=_0x4ae583['x']*_0x282d9d['y']-_0x282d9d['x']*_0x4ae583['y'];}_0x56a923=Math[_0x322ff7(0x27d)](_0x250f23)/0x2;}else _0x56a923=Math[_0x322ff7(0x490)](0x0,_0x2cb91b['width'])*Math[_0x322ff7(0x490)](0x0,_0x2cb91b[_0x322ff7(0x3a3)]);return _0x56a923>=_0x5eaa81*0.95;}[_0x3ad27d(0x328)](){const _0x2aa28a=_0x3ad27d;var _0x4fecc4,_0x27fd0f,_0x1156a9;if(!this[_0x2aa28a(0xe5)][_0x2aa28a(0x218)]||this['context'][_0x2aa28a(0x218)][_0x2aa28a(0x4a7)]===0x0)return;const _0x48757d=this['overlayCtx'],_0x1274a5=this['context'][_0x2aa28a(0x3f7)][_0x2aa28a(0x439)],_0x482d6a=Math[_0x2aa28a(0x490)](0x1,DPR2),_0x7925db=Math[_0x2aa28a(0x490)](0x10*DPR2,0x14*DPR2),_0x22f78d=_MinimapLayer[_0x2aa28a(0xe4)];for(const _0x5b9676 of this[_0x2aa28a(0xe5)]['seats']){if(!this['context']['isSeatInCart'](_0x5b9676['id']))continue;const _0x3a4d01=_0x5b9676['x']*this[_0x2aa28a(0x305)],_0x170ae0=_0x5b9676['y']*this['minimapScale'],_0x4bb15e=_0x7925db/_0x22f78d;_0x48757d[_0x2aa28a(0x397)](),_0x48757d[_0x2aa28a(0x1d4)](_0x3a4d01,_0x170ae0),_0x48757d['scale'](_0x4bb15e,_0x4bb15e),_0x48757d[_0x2aa28a(0x1d4)](-_0x22f78d/0x2,-_0x22f78d);const _0x46bfb3=_0x5b9676[_0x2aa28a(0x549)]!==void 0x0&&((_0x4fecc4=this[_0x2aa28a(0xe5)][_0x2aa28a(0x18b)][Number(_0x5b9676[_0x2aa28a(0x549)])])==null?void 0x0:_0x4fecc4[_0x2aa28a(0x262)])||((_0x1156a9=(_0x27fd0f=_0x1274a5==null?void 0x0:_0x1274a5[_0x2aa28a(0x2cc)])==null?void 0x0:_0x27fd0f[_0x2aa28a(0x89)])==null?void 0x0:_0x1156a9[_0x2aa28a(0x262)])||this[_0x2aa28a(0x3d6)]['viewportColor']||_0x2aa28a(0x1a8);_0x48757d['fillStyle']=_0x46bfb3,_0x48757d['fill'](_MinimapLayer[_0x2aa28a(0x366)]),_0x48757d[_0x2aa28a(0xcf)]=_0x482d6a/_0x4bb15e,_0x48757d[_0x2aa28a(0x523)]=this[_0x2aa28a(0x29f)](_0x46bfb3),_0x48757d['stroke'](_MinimapLayer[_0x2aa28a(0x366)]),_0x48757d[_0x2aa28a(0x5aa)]();}}['getContrastingColor'](_0x2d7028){const _0x1ceed5=_0x3ad27d,_0x27dc5e=this[_0x1ceed5(0x1f0)](_0x2d7028);if(!_0x27dc5e)return _0x1ceed5(0x116);const _0x127cc5=0.2126*_0x27dc5e['r']+0.7152*_0x27dc5e['g']+0.0722*_0x27dc5e['b'];return _0x127cc5>0x8c?_0x1ceed5(0x116):_0x1ceed5(0x16f);}[_0x3ad27d(0x1f0)](_0x4c4673){const _0xf8846a=_0x3ad27d;if(!_0x4c4673)return null;const _0x29c8f3=_0x4c4673['trim']();if(_0x29c8f3[0x0]==='#'){const _0x408b63=_0x29c8f3[_0xf8846a(0x437)](0x1);if(_0x408b63['length']===0x3){const _0x20286e=parseInt(_0x408b63[0x0]+_0x408b63[0x0],0x10),_0x22a535=parseInt(_0x408b63[0x1]+_0x408b63[0x1],0x10),_0x4439a6=parseInt(_0x408b63[0x2]+_0x408b63[0x2],0x10);return{'r':_0x20286e,'g':_0x22a535,'b':_0x4439a6};}if(_0x408b63['length']===0x6){const _0x51e0a4=parseInt(_0x408b63[_0xf8846a(0x437)](0x0,0x2),0x10),_0x3c07e0=parseInt(_0x408b63[_0xf8846a(0x437)](0x2,0x4),0x10),_0x5080a6=parseInt(_0x408b63[_0xf8846a(0x437)](0x4,0x6),0x10);return{'r':_0x51e0a4,'g':_0x3c07e0,'b':_0x5080a6};}}const _0x34f1e3=_0x4c4673[_0xf8846a(0x500)](/rgba?\((\d+)\s*,\s*(\d+)\s*,\s*(\d+)/i);if(_0x34f1e3)return{'r':Number(_0x34f1e3[0x1]),'g':Number(_0x34f1e3[0x2]),'b':Number(_0x34f1e3[0x3])};return null;}['navigateToPoint'](_0x5ea25f,_0x2b25a4,_0x419968=![],_0x3256d1=![]){const _0x22eb07=_0x3ad27d;var _0x27c98e;const _0xdd128e=_0x5ea25f/this[_0x22eb07(0x305)],_0x4d0518=_0x2b25a4/this['minimapScale'],_0x378d5b=this[_0x22eb07(0xe5)][_0x22eb07(0x4d8)]['clientWidth'],_0x4ceb5f=this[_0x22eb07(0xe5)]['element'][_0x22eb07(0x160)],_0x4d015d=this[_0x22eb07(0xe5)]['scale'],_0x1a7a94={'x':-(_0xdd128e*_0x4d015d)+_0x378d5b*DPR2/0x2,'y':-(_0x4d0518*_0x4d015d)+_0x4ceb5f*DPR2/0x2};if(_0x3256d1&&this[_0x22eb07(0x451)]){const _0x426286=(_0x27c98e=this[_0x22eb07(0xe5)]['underlay'])==null?void 0x0:_0x27c98e[_0x22eb07(0x144)],_0x43f9d1=_0x426286?{'x':_0x426286['x']+_0xdd128e,'y':_0x426286['y']+_0x4d0518}:{'x':_0xdd128e,'y':_0x4d0518};this[_0x22eb07(0x451)][_0x22eb07(0x1de)](_0x43f9d1,this[_0x22eb07(0xe5)][_0x22eb07(0x3f7)]['zoomAnimationDuration']);}else this['context']['translate']=_0x1a7a94,this[_0x22eb07(0x3e9)]();}['scheduleUpdate'](){const _0x3297c6=_0x3ad27d;if(this[_0x3297c6(0x319)]!==null)return;this[_0x3297c6(0x319)]=requestAnimationFrame(()=>{const _0x22d970=_0x3297c6;this[_0x22d970(0x319)]=null,this[_0x22d970(0x202)](),this[_0x22d970(0xe5)]['settings'][_0x22d970(0x41a)]&&this[_0x22d970(0xe5)]['settings']['onPan']({'x':0x0,'y':0x0},!![]);});}['addEventListeners'](){const _0x232491=_0x3ad27d,_0x2b3901=_0x2c61fd=>{const _0x5db29a=_0x5195;_0x2c61fd[_0x5db29a(0x130)](),_0x2c61fd['preventDefault']();};this[_0x232491(0x48d)][_0x232491(0x3e2)](_0x232491(0x46e),this[_0x232491(0x44a)]),this[_0x232491(0x48d)]['addEventListener'](_0x232491(0x583),this[_0x232491(0x52b)]),this[_0x232491(0x48d)]['addEventListener']('mousemove',_0x2b3901),this['canvas'][_0x232491(0x3e2)](_0x232491(0x4bd),_0x2b3901),this[_0x232491(0x48d)][_0x232491(0x3e2)](_0x232491(0xd2),_0x2b3901),this[_0x232491(0x48d)][_0x232491(0x3e2)](_0x232491(0x588),_0x2b3901),this[_0x232491(0x48d)][_0x232491(0x3e2)](_0x232491(0xf0),_0x2b3901),this['canvas']['addEventListener'](_0x232491(0x30f),_0x2b3901),this[_0x232491(0x48d)][_0x232491(0x3e2)](_0x232491(0x4c8),_0x2b3901,{'passive':![]}),this[_0x232491(0x48d)]['addEventListener'](_0x232491(0xdc),_0x2b3901,{'passive':![]}),this[_0x232491(0x48d)][_0x232491(0x3e2)](_0x232491(0x194),_0x2b3901,{'passive':![]}),this[_0x232491(0x10b)][_0x232491(0x3e2)]('click',this['handleClick']),this[_0x232491(0x10b)][_0x232491(0x3e2)](_0x232491(0x583),this[_0x232491(0x52b)]),this[_0x232491(0x10b)]['addEventListener'](_0x232491(0x2c3),_0x2b3901),this[_0x232491(0x10b)][_0x232491(0x3e2)](_0x232491(0x4bd),_0x2b3901),this['overlayCanvas'][_0x232491(0x3e2)]('mouseleave',_0x2b3901),this[_0x232491(0x10b)]['addEventListener']('pointerdown',_0x2b3901),this[_0x232491(0x10b)][_0x232491(0x3e2)]('pointerup',_0x2b3901),this['overlayCanvas'][_0x232491(0x3e2)](_0x232491(0x30f),_0x2b3901),this['overlayCanvas'][_0x232491(0x3e2)](_0x232491(0x4c8),_0x2b3901,{'passive':![]}),this[_0x232491(0x10b)][_0x232491(0x3e2)](_0x232491(0xdc),_0x2b3901,{'passive':![]}),this[_0x232491(0x10b)]['addEventListener'](_0x232491(0x194),_0x2b3901,{'passive':![]}),window[_0x232491(0x3e2)](_0x232491(0x2c3),this[_0x232491(0x2a2)]),window[_0x232491(0x3e2)](_0x232491(0x4bd),this['handleMouseUp']);}[_0x3ad27d(0x4de)](){const _0x7dd834=_0x3ad27d,_0x389938=_0x3f5928=>{const _0x3c0393=_0x5195;_0x3f5928[_0x3c0393(0x130)](),_0x3f5928[_0x3c0393(0x30d)]();};this['canvas'][_0x7dd834(0x37f)](_0x7dd834(0x46e),this['handleClick']),this[_0x7dd834(0x48d)][_0x7dd834(0x37f)](_0x7dd834(0x583),this[_0x7dd834(0x52b)]),this[_0x7dd834(0x48d)][_0x7dd834(0x37f)](_0x7dd834(0x2c3),_0x389938),this[_0x7dd834(0x48d)][_0x7dd834(0x37f)]('mouseup',_0x389938),this[_0x7dd834(0x48d)][_0x7dd834(0x37f)](_0x7dd834(0xd2),_0x389938),this['canvas']['removeEventListener'](_0x7dd834(0x588),_0x389938),this[_0x7dd834(0x48d)][_0x7dd834(0x37f)](_0x7dd834(0xf0),_0x389938),this[_0x7dd834(0x48d)]['removeEventListener'](_0x7dd834(0x30f),_0x389938),this['canvas'][_0x7dd834(0x37f)](_0x7dd834(0x4c8),_0x389938),this[_0x7dd834(0x48d)][_0x7dd834(0x37f)]('touchmove',_0x389938),this[_0x7dd834(0x48d)][_0x7dd834(0x37f)](_0x7dd834(0x194),_0x389938),this[_0x7dd834(0x10b)][_0x7dd834(0x37f)](_0x7dd834(0x46e),this[_0x7dd834(0x44a)]),this[_0x7dd834(0x10b)][_0x7dd834(0x37f)](_0x7dd834(0x583),this[_0x7dd834(0x52b)]),this[_0x7dd834(0x10b)][_0x7dd834(0x37f)](_0x7dd834(0x2c3),_0x389938),this['overlayCanvas']['removeEventListener'](_0x7dd834(0x4bd),_0x389938),this['overlayCanvas'][_0x7dd834(0x37f)](_0x7dd834(0xd2),_0x389938),this['overlayCanvas'][_0x7dd834(0x37f)](_0x7dd834(0x588),_0x389938),this[_0x7dd834(0x10b)]['removeEventListener']('pointerup',_0x389938),this['overlayCanvas'][_0x7dd834(0x37f)](_0x7dd834(0x30f),_0x389938),this['overlayCanvas'][_0x7dd834(0x37f)](_0x7dd834(0x4c8),_0x389938),this[_0x7dd834(0x10b)][_0x7dd834(0x37f)]('touchmove',_0x389938),this[_0x7dd834(0x10b)]['removeEventListener'](_0x7dd834(0x194),_0x389938),window[_0x7dd834(0x37f)](_0x7dd834(0x2c3),this[_0x7dd834(0x2a2)]),window[_0x7dd834(0x37f)](_0x7dd834(0x4bd),this[_0x7dd834(0x343)]);}['show'](){const _0x241716=_0x3ad27d;this[_0x241716(0x48d)]['style'][_0x241716(0x146)]='block',this[_0x241716(0x10b)][_0x241716(0x2f5)][_0x241716(0x146)]=_0x241716(0x8e);}[_0x3ad27d(0x4dd)](){const _0x519314=_0x3ad27d;this[_0x519314(0x48d)][_0x519314(0x2f5)][_0x519314(0x146)]=_0x519314(0x2c8),this['overlayCanvas'][_0x519314(0x2f5)][_0x519314(0x146)]='none';}[_0x3ad27d(0x413)](_0x159bcd){const _0xa10e2a=_0x3ad27d;this[_0xa10e2a(0x3d6)][_0xa10e2a(0x163)]=_0x159bcd,this[_0xa10e2a(0x283)]();}[_0x3ad27d(0xd3)](_0x37b71b){const _0x4950c0=_0x3ad27d;this['config'][_0x4950c0(0x41f)]=_0x37b71b,this[_0x4950c0(0x202)]();}[_0x3ad27d(0x4b7)](){const _0x5bbbf7=_0x3ad27d;this['animationFrameId']!==null&&(cancelAnimationFrame(this[_0x5bbbf7(0x319)]),this[_0x5bbbf7(0x319)]=null),this[_0x5bbbf7(0x4de)](),this[_0x5bbbf7(0x55f)][_0x5bbbf7(0x31f)](0x0,0x0,this[_0x5bbbf7(0x48d)]['width'],this[_0x5bbbf7(0x48d)][_0x5bbbf7(0x3a3)]),this[_0x5bbbf7(0x2ad)][_0x5bbbf7(0x31f)](0x0,0x0,this[_0x5bbbf7(0x10b)][_0x5bbbf7(0x3ff)],this[_0x5bbbf7(0x10b)][_0x5bbbf7(0x3a3)]),this['canvas'][_0x5bbbf7(0x1e5)](),this[_0x5bbbf7(0x10b)][_0x5bbbf7(0x1e5)](),this[_0x5bbbf7(0x25f)]=null;}};_MinimapLayer[_0x3ad27d(0x366)]=new Path2D(_0x3ad27d(0x3e3)),_MinimapLayer[_0x3ad27d(0xe4)]=425.963;var MinimapLayer=_MinimapLayer,addPoints=(_0x48f92d,_0x5b8f0c)=>{return{'x':_0x48f92d['x']+_0x5b8f0c['x'],'y':_0x48f92d['y']+_0x5b8f0c['y']};},subPoints=(_0x4549a0,_0x2c140d)=>{return{'x':_0x4549a0['x']-_0x2c140d['x'],'y':_0x4549a0['y']-_0x2c140d['y']};};import _0x36efd3 from'hammerjs';var sortPrices=_0x29bd89=>_0x29bd89[_0x3ad27d(0x405)](priceComparator),convertPricesToColored=(_0x3eb355,_0xcf64da)=>{const _0x4c4138=_0x3ad27d;if(!_0x3eb355)return[];const _0x6d773e=getColorSequence(_0xcf64da,_0x3eb355[_0x4c4138(0x4a7)]);return _0x3eb355['sort'](priceComparator)[_0x4c4138(0x50f)]((_0x3b830b,_0x4d6c93)=>({..._0x3b830b,'color':_0x6d773e[_0x4d6c93]}));},convertPricesToColoredById=(_0x3991c0,_0x62edf6)=>{const _0x283983=_0x3ad27d,_0x1d857a={};return convertPricesToColored(_0x3991c0,_0x62edf6)[_0x283983(0x556)](_0x5ec5e7=>{const {id:_0x36bfef,name:_0x4bb7d6,color:_0x18b105}=_0x5ec5e7;_0x1d857a[_0x36bfef]={'id':_0x36bfef,'name':_0x4bb7d6,'color':_0x18b105};}),_0x1d857a;},priceComparator=(_0x5c7274,_0x5ef349)=>{const _0x1b2bba=_0x3ad27d;if(_0x5c7274[_0x1b2bba(0x318)]===_0x5ef349[_0x1b2bba(0x318)])return 0x0;const _0x5be504=parseInt(_0x5c7274['name']),_0x47fa88=parseInt(_0x5ef349[_0x1b2bba(0x318)]);if(isFinite(_0x5be504)&&isFinite(_0x47fa88)){if(_0x5be504===_0x47fa88)return _0x5c7274[_0x1b2bba(0x318)]>_0x5ef349[_0x1b2bba(0x318)]?0x1:-0x1;return _0x5be504>_0x47fa88?0x1:-0x1;}else{if(isFinite(_0x5be504)&&!isFinite(_0x47fa88))return-0x1;else return!isFinite(_0x5be504)&&isFinite(_0x47fa88)?0x1:_0x5c7274[_0x1b2bba(0x318)]>_0x5ef349['name']?0x1:-0x1;}},getColorSequence=(_0x1e8019,_0x1f8cee)=>{const _0x418c80=_0x3ad27d;if(!_0x1f8cee)return[];for(let _0x52f4b1=0x0;_0x52f4b1<_0x1e8019[_0x418c80(0x4a7)];_0x52f4b1++){if(_0x1e8019[_0x52f4b1][_0x418c80(0x4a7)]===_0x1f8cee)return _0x1e8019[_0x52f4b1];}const _0x586bcb=_0x1e8019[0x0],_0x525fbf=[];for(let _0x345636=0x0;_0x345636<_0x1f8cee;_0x345636++){const _0x225f58=Math[_0x418c80(0x469)](_0x345636*_0x586bcb['length']/_0x1f8cee);_0x525fbf[_0x418c80(0x244)](_0x1e8019[0x0][_0x225f58]);}return _0x525fbf;};import{debounce}from'throttle-debounce';import{interpret}from'robot3';var getSeatsWithPrices=(_0x2a2cc6,_0x2e6261,_0x263b0d)=>{const _0x4f4c30=_0x3ad27d,_0x5c6476=getPriceIdAndSpecialBySeatId(_0x2e6261[_0x4f4c30(0x218)]);return _0x2a2cc6[_0x4f4c30(0x50f)](_0x29ce46=>{const _0x13c19a=_0x4f4c30,_0x5b75dd=_0x5c6476[_0x29ce46['id']]&&_0x5c6476[_0x29ce46['id']][_0x13c19a(0x549)],_0x405e9a=_0x5c6476[_0x29ce46['id']]&&_0x5c6476[_0x29ce46['id']][_0x13c19a(0x552)],_0xcde395=_0x5b75dd&&_0x2e6261[_0x13c19a(0x4ed)][_0x13c19a(0x4a7)]?_0x263b0d[_0x5b75dd][_0x13c19a(0x262)]:void 0x0;return{..._0x29ce46,'priceId':_0x5b75dd,'color':_0xcde395,'special':_0x405e9a};});},getSectorsWithPrices=(_0x554bac,_0x1b51b8,_0x4fbd9d)=>{const _0x41b1bc=_0x3ad27d,_0x1b92da=getPriceIdAndSpecialBySectorId(_0x1b51b8[_0x41b1bc(0xaa)]);return _0x554bac['map'](_0x33f219=>{const _0x14df0c=_0x41b1bc,_0x4b5b70=_0x1b92da[_0x33f219['id']]&&_0x1b92da[_0x33f219['id']][_0x14df0c(0x549)],_0x3505f5=_0x4b5b70&&_0x1b51b8[_0x14df0c(0x4ed)][_0x14df0c(0x4a7)]?_0x4fbd9d[_0x4b5b70][_0x14df0c(0x262)]:void 0x0,_0x1e8a71=_0x1b92da[_0x33f219['id']]&&_0x1b92da[_0x33f219['id']]['special'];return{..._0x33f219,'priceId':_0x4b5b70,'color':_0x3505f5,'special':_0x1e8a71};});},getPriceIdAndSpecialBySeatId=_0x5a6477=>{const _0x58e16b=_0x3ad27d,_0x919b87={};return _0x5a6477&&_0x5a6477[_0x58e16b(0x556)](_0x33d9b7=>_0x919b87[_0x33d9b7[0x0]]={'priceId':_0x33d9b7[0x1],'special':_0x33d9b7[0x2]}),_0x919b87;},getPriceIdAndSpecialBySectorId=_0x4c2ba5=>{const _0x146ff7=_0x3ad27d,_0x1dff95={};return _0x4c2ba5&&_0x4c2ba5[_0x146ff7(0x556)](_0x545fb6=>_0x1dff95[_0x545fb6[0x0]]={'priceId':_0x545fb6[0x1],'special':_0x545fb6[0x3]}),_0x1dff95;},Background_default=_0x3ad27d(0x26e),Background_default2='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}',Seats_default=_0x3ad27d(0x167),Seats_default2=_0x3ad27d(0x494),Overlay_default=_0x3ad27d(0x481),Overlay_default2=_0x3ad27d(0x2b6),GLBase=class{constructor(){const _0xb8fc33=_0x3ad27d;this[_0xb8fc33(0x48d)]=document[_0xb8fc33(0xda)](_0xb8fc33(0x48d)),this[_0xb8fc33(0x48d)][_0xb8fc33(0x2f5)]['position']=_0xb8fc33(0x9a),this['canvas'][_0xb8fc33(0x2f5)]['left']='0',this[_0xb8fc33(0x48d)][_0xb8fc33(0x312)]('id',_0xb8fc33(0x539));}[_0x3ad27d(0x296)](_0x3af170,_0x5bf4e3){const _0x1824e5=_0x3ad27d,_0x485cab=this[_0x1824e5(0x55f)][_0x1824e5(0x296)](_0x3af170);if(!_0x485cab)throw new Error(_0x1824e5(0x24c));this['ctx'][_0x1824e5(0x4eb)](_0x485cab,_0x5bf4e3),this['ctx']['compileShader'](_0x485cab);if(!this[_0x1824e5(0x55f)]['getShaderParameter'](_0x485cab,this[_0x1824e5(0x55f)]['COMPILE_STATUS'])){const _0x35103f=this[_0x1824e5(0x55f)]['getShaderInfoLog'](_0x485cab);console[_0x1824e5(0x582)]('Shader\x20compilation\x20error:',_0x35103f),this[_0x1824e5(0x55f)][_0x1824e5(0x40b)](_0x485cab);throw new Error('Shader\x20compilation\x20error');}return _0x485cab;}[_0x3ad27d(0x501)](){const _0x33a3cb=_0x3ad27d;return this[_0x33a3cb(0x296)](this[_0x33a3cb(0x55f)]['VERTEX_SHADER'],Background_default);}['createImageFragmentShader'](){const _0x71093b=_0x3ad27d;return this[_0x71093b(0x296)](this[_0x71093b(0x55f)][_0x71093b(0x3b2)],Background_default2);}[_0x3ad27d(0x1e3)](){const _0x46bf74=_0x3ad27d;return this[_0x46bf74(0x296)](this[_0x46bf74(0x55f)]['VERTEX_SHADER'],Seats_default);}['createSeatsFragmentShader'](){const _0x5b9150=_0x3ad27d;return this[_0x5b9150(0x296)](this[_0x5b9150(0x55f)][_0x5b9150(0x3b2)],Seats_default2);}[_0x3ad27d(0x4af)](){const _0x3bf31c=_0x3ad27d;return this[_0x3bf31c(0x296)](this[_0x3bf31c(0x55f)][_0x3bf31c(0x2af)],Overlay_default);}['createOverlayFragmentShader'](){const _0x3b3c8f=_0x3ad27d;return this[_0x3b3c8f(0x296)](this[_0x3b3c8f(0x55f)][_0x3b3c8f(0x3b2)],Overlay_default2);}[_0x3ad27d(0x137)](_0x5588b8,_0x2e890a){const _0x28a811=_0x3ad27d,_0x52e1fe=this[_0x28a811(0x55f)][_0x28a811(0x137)]();this['ctx'][_0x28a811(0x31d)](_0x52e1fe,_0x5588b8),this[_0x28a811(0x55f)]['attachShader'](_0x52e1fe,_0x2e890a),this[_0x28a811(0x55f)]['linkProgram'](_0x52e1fe);if(!this['ctx'][_0x28a811(0x4e4)](_0x52e1fe,this['ctx'][_0x28a811(0x49c)])){console[_0x28a811(0x582)](_0x28a811(0x15c),this[_0x28a811(0x55f)][_0x28a811(0x52c)](_0x52e1fe)),this[_0x28a811(0x55f)][_0x28a811(0x400)](_0x52e1fe);throw new Error(_0x28a811(0x212));}return _0x52e1fe;}},showAtlas=_0x2ebc1c=>{const _0x24dbe7=_0x3ad27d,_0x4c9c17=document[_0x24dbe7(0xda)]('div');_0x4c9c17[_0x24dbe7(0x2f5)][_0x24dbe7(0x163)]=_0x24dbe7(0x1d2),_0x4c9c17[_0x24dbe7(0x2f5)][_0x24dbe7(0x22e)]=_0x24dbe7(0x398),_0x4c9c17['style'][_0x24dbe7(0x54d)]=_0x24dbe7(0x4d1),_0x4c9c17[_0x24dbe7(0x2f5)]['width']=_0x24dbe7(0x2b2),_0x4c9c17[_0x24dbe7(0x2f5)]['top']='50%',_0x4c9c17[_0x24dbe7(0x2f5)][_0x24dbe7(0x11e)]=_0x24dbe7(0x525),_0x4c9c17[_0x24dbe7(0x2f5)][_0x24dbe7(0x56e)]='translate(-50%,\x20-50%)',_0x2ebc1c[_0x24dbe7(0x2f5)][_0x24dbe7(0x3ff)]=_0x24dbe7(0x402),_0x2ebc1c['style'][_0x24dbe7(0x3a3)]='100%',_0x2ebc1c[_0x24dbe7(0x2f5)][_0x24dbe7(0x146)]=_0x24dbe7(0x8e),_0x4c9c17[_0x24dbe7(0x308)](_0x2ebc1c),document[_0x24dbe7(0x4cf)][_0x24dbe7(0x308)](_0x4c9c17);},initializeIconAtlas=async(_0x3e0cc8,_0x5c1c1f,_0x5b8bbd,_0x4f8145=![])=>{const _0x2d48d6=_0x3ad27d;if(!_0x3e0cc8||Object[_0x2d48d6(0x26d)](_0x3e0cc8)[_0x2d48d6(0x4a7)]===0x0)return{'texture':null,'width':0x0,'height':0x0};const _0x1dd571=document[_0x2d48d6(0xda)](_0x2d48d6(0x48d)),_0xe37c8=_0x1dd571[_0x2d48d6(0x50c)]('2d'),_0x45382e=0x10,_0x3db2e6=0x3,_0x50dfe4=_0x45382e*_0x3db2e6,_0x41b8ba=0x1,_0x306bf5=0x14,_0x1efc9f=Object[_0x2d48d6(0x44b)](_0x3e0cc8)[_0x2d48d6(0x50f)](([_0x35c8e3,_0x2588ed],_0xf8897)=>({'name':_0x35c8e3,'svg':_0x2588ed,'index':_0xf8897})),_0x52ed2a=_0x1efc9f[_0x2d48d6(0x4a7)];_0x1dd571['width']=_0x50dfe4*_0x52ed2a+(_0x52ed2a-0x1)*(_0x41b8ba+_0x306bf5)+_0x41b8ba*0x2+_0x306bf5*0x2,_0x1dd571[_0x2d48d6(0x3a3)]=_0x50dfe4+_0x41b8ba*0x2;let _0x5cf027=_0x306bf5+_0x41b8ba;for(const {name:_0x5c3a8a,svg:_0x528883}of _0x1efc9f){const _0x34fe47=await svgToBase64(_0x528883),_0x502a18=new Image();_0x502a18[_0x2d48d6(0x2dc)]=_0x34fe47,await new Promise(_0x361a05=>{const _0x4f5e7a=_0x2d48d6;_0x502a18[_0x4f5e7a(0x148)]=_0x361a05;});const _0x26803a=_0x502a18[_0x2d48d6(0x3ff)],_0x4fa1db=_0x502a18[_0x2d48d6(0x3a3)],_0x9a7968=_0x50dfe4/Math[_0x2d48d6(0x490)](_0x26803a,_0x4fa1db),_0x530f45=Math[_0x2d48d6(0x469)](_0x26803a*_0x9a7968),_0x4d83e5=Math[_0x2d48d6(0x469)](_0x4fa1db*_0x9a7968),_0x415485=_0x5cf027+Math[_0x2d48d6(0x1ed)]((_0x50dfe4-_0x530f45)/0x2),_0x240a42=_0x41b8ba+Math['floor']((_0x50dfe4-_0x4d83e5)/0x2);_0xe37c8[_0x2d48d6(0x447)](_0x502a18,_0x415485,_0x240a42,_0x530f45,_0x4d83e5),_0x5c1c1f[_0x2d48d6(0x324)](_0x5c3a8a,{'x':_0x5cf027/_0x1dd571['width'],'y':_0x41b8ba/_0x1dd571[_0x2d48d6(0x3a3)],'width':_0x50dfe4/_0x1dd571[_0x2d48d6(0x3ff)],'height':_0x50dfe4/_0x1dd571[_0x2d48d6(0x3a3)]}),_0x5cf027+=_0x50dfe4+_0x41b8ba+_0x306bf5;}_0x4f8145&&showAtlas(_0x1dd571);const _0x47849a=_0x5b8bbd[_0x2d48d6(0xc7)]();if(!_0x47849a)return{'texture':null,'width':_0x1dd571[_0x2d48d6(0x3ff)],'height':_0x1dd571['height']};_0x5b8bbd[_0x2d48d6(0x257)](_0x5b8bbd[_0x2d48d6(0x162)],_0x47849a),_0x5b8bbd[_0x2d48d6(0x183)](_0x5b8bbd[_0x2d48d6(0x162)],0x0,_0x5b8bbd['RGBA'],_0x5b8bbd[_0x2d48d6(0x44f)],_0x5b8bbd['UNSIGNED_BYTE'],_0x1dd571);const _0x1eaf1d=[{'pname':_0x5b8bbd[_0x2d48d6(0x350)],'param':_0x5b8bbd[_0x2d48d6(0x342)]},{'pname':_0x5b8bbd[_0x2d48d6(0x1d6)],'param':_0x5b8bbd[_0x2d48d6(0x342)]},{'pname':_0x5b8bbd['TEXTURE_WRAP_S'],'param':_0x5b8bbd['CLAMP_TO_EDGE']},{'pname':_0x5b8bbd[_0x2d48d6(0x1fb)],'param':_0x5b8bbd[_0x2d48d6(0x25d)]}];return _0x1eaf1d[_0x2d48d6(0x556)](({pname:_0x5caee6,param:_0x152db9})=>{const _0xa4fd28=_0x2d48d6;_0x5b8bbd[_0xa4fd28(0x386)](_0x5b8bbd[_0xa4fd28(0x162)],_0x5caee6,_0x152db9);}),{'texture':_0x47849a,'width':_0x1dd571[_0x2d48d6(0x3ff)],'height':_0x1dd571[_0x2d48d6(0x3a3)]};},RESERVED_ICON_VALUES={'accessible':0x1,'marked':0.8,'default':0.4,'unavailable':0x0};function generateIconValues(_0x411601){const _0x2d039f=_0x3ad27d,_0x54ea9f={...RESERVED_ICON_VALUES};if(!Array[_0x2d039f(0x375)](_0x411601)||_0x411601[_0x2d039f(0x4a7)]===0x0)return _0x54ea9f;const _0x152ba8=_0x411601[_0x2d039f(0x353)](_0x182522=>!Object[_0x2d039f(0x109)][_0x2d039f(0x1ff)][_0x2d039f(0x33d)](RESERVED_ICON_VALUES,_0x182522))[_0x2d039f(0x405)]();let _0x244dd5=0.55;const _0x3a46ae=0.03;for(let _0xec5a21=0x0;_0xec5a21<_0x152ba8[_0x2d039f(0x4a7)];_0xec5a21++){_0x54ea9f[_0x152ba8[_0xec5a21]]=_0x244dd5,_0x244dd5=Math[_0x2d039f(0x169)](_0x244dd5+_0x3a46ae,0.97);}return _0x54ea9f;}var VisibilityManager=class{constructor(_0x1007cc){const _0x514056=_0x3ad27d;this[_0x514056(0x153)]=_0x1007cc[_0x514056(0x3f7)][_0x514056(0x153)];}[_0x3ad27d(0x4a8)](_0x4d7019){const _0x57590b=_0x3ad27d;return{'outline':{'selectable':this[_0x57590b(0xd0)](_0x4d7019),'visible':this[_0x57590b(0x150)](_0x4d7019)},'seat':{'selectable':this[_0x57590b(0x3c0)](_0x4d7019),'visible':this[_0x57590b(0x3f8)](_0x4d7019)}};}[_0x3ad27d(0x3c0)](_0x53874b){const _0x2f3476=_0x3ad27d;return this[_0x2f3476(0xe2)](_0x53874b,_0x2f3476(0x218),_0x2f3476(0x174));}[_0x3ad27d(0x3f8)](_0x2ac59d){const _0x5b18a2=_0x3ad27d;return this[_0x5b18a2(0xe2)](_0x2ac59d,_0x5b18a2(0x218),_0x5b18a2(0x50b));}[_0x3ad27d(0xd0)](_0x3b346d){const _0x166362=_0x3ad27d;return this['validate'](_0x3b346d,_0x166362(0x15e),_0x166362(0x174));}['isOutlineVisible'](_0x5bd010){const _0xb154a5=_0x3ad27d;return this[_0xb154a5(0xe2)](_0x5bd010,_0xb154a5(0x15e),_0xb154a5(0x50b));}[_0x3ad27d(0xe2)](_0x2c5644,_0x12b6f9,_0x4a6862){const _0x5d562a=_0x3ad27d;var _0x5d57a0,_0x196f05,_0x6ed326,_0x2015de;if(!((_0x196f05=(_0x5d57a0=this[_0x5d562a(0x153)])==null?void 0x0:_0x5d57a0[_0x12b6f9])==null?void 0x0:_0x196f05[_0x4a6862]))return!![];const _0x1bd82c=(_0x2015de=(_0x6ed326=this['visibilitySettings'])==null?void 0x0:_0x6ed326[_0x12b6f9])==null?void 0x0:_0x2015de[_0x4a6862];return((_0x1bd82c==null?void 0x0:_0x1bd82c[_0x5d562a(0x261)])||0x0)*DPR<=_0x2c5644&&_0x2c5644<((_0x1bd82c==null?void 0x0:_0x1bd82c['to'])||0x14)*DPR;}},Rows_default='#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',Rows_default2=_0x3ad27d(0x458),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':'seats'},'rowView':{'displayed':!![],'clickable':!![],'colorCoding':!![],'showDetailedInfo':!![],'showRowNumber':!![],'interaction':_0x3ad27d(0x472)},'sectionView':{'interaction':_0x3ad27d(0x2c8)},'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':'seats'},'rowView':{'displayed':!![],'clickable':!![],'colorCoding':!![],'showDetailedInfo':!![],'showRowNumber':!![],'interaction':_0x3ad27d(0x472)},'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':_0x3ad27d(0x40f)},'rowView':{'displayed':!![],'clickable':![],'colorCoding':!![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x3ad27d(0x40f)},'sectionView':{'interaction':_0x3ad27d(0x40f),'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':'section'},'rowView':{'displayed':!![],'clickable':![],'colorCoding':!![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x3ad27d(0x40f)},'sectionView':{'interaction':_0x3ad27d(0x40f),'colorCodingTiedToPrice':![],'nameUsesSectionColor':!![]},'rowsOpacityAlpha':0.3,'notes':_0x3ad27d(0x569)},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':_0x3ad27d(0x40f)},'rowView':{'displayed':!![],'clickable':![],'colorCoding':!![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x3ad27d(0x40f)},'sectionView':{'interaction':_0x3ad27d(0x40f),'colorCodingTiedToPrice':![],'nameUsesSectionColor':!![]},'rowsOpacityAlpha':0.32,'notes':_0x3ad27d(0x569)},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':_0x3ad27d(0x40f)},'rowView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x3ad27d(0x40f)},'sectionView':{'interaction':_0x3ad27d(0x40f),'colorCodingTiedToPrice':![],'nameUsesSectionColor':!![]},'rowsOpacityAlpha':0.35,'notes':'Possibly\x20continue\x20showing\x20rows\x20at\x20this\x20scale\x20(including\x20for\x20seat-based\x20maps)'},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':_0x3ad27d(0x40f)},'rowView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x3ad27d(0x40f)},'sectionView':{'interaction':'section','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':_0x3ad27d(0x40f)},'rowView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x3ad27d(0x40f)},'sectionView':{'interaction':_0x3ad27d(0x40f),'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':_0x3ad27d(0x40f)},'sectionView':{'interaction':_0x3ad27d(0x40f),'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':_0x3ad27d(0x40f)},'rowView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x3ad27d(0x40f)},'sectionView':{'interaction':_0x3ad27d(0x40f),'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':_0x3ad27d(0x40f)},'rowView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x3ad27d(0x40f)},'sectionView':{'interaction':_0x3ad27d(0x40f),'colorCodingTiedToPrice':![],'nameUsesSectionColor':!![]},'rowsOpacityAlpha':0.35}},AVAILABLE_SCALES=Object[_0x3ad27d(0x26d)](SCALE_PARAMETERS)['map'](_0x203462=>Number(_0x203462))[_0x3ad27d(0x405)]((_0x305a43,_0x588884)=>_0x305a43-_0x588884);function getScaleParameters(_0x4cf201){return SCALE_PARAMETERS[_0x4cf201];}var RowsRenderer=class{constructor(_0x1d4357,_0x13d596,_0x165ac3,_0x4560d1){const _0x5d65a8=_0x3ad27d;this[_0x5d65a8(0x5b3)]=null,this['rows_a_position']=-0x1,this[_0x5d65a8(0x114)]=null,this['rows_stageHeight']=null,this[_0x5d65a8(0x579)]=null,this[_0x5d65a8(0x1f8)]=null,this[_0x5d65a8(0x2e5)]=null,this[_0x5d65a8(0x3fd)]=null,this[_0x5d65a8(0x1fe)]=null,this[_0x5d65a8(0x185)]=null,this['rows_color']=null,this[_0x5d65a8(0x326)]=null,this['rowsVertices']=[],this[_0x5d65a8(0x532)]=0xf,this[_0x5d65a8(0x30c)]=[0x9/0xff,0x58/0xff,0xd9/0xff,0.18],this['rowsGeometryBuiltForScale']=null,this[_0x5d65a8(0x365)]=-0x1,this[_0x5d65a8(0x3c8)]=-0x1,this[_0x5d65a8(0x38d)]=!![],this[_0x5d65a8(0x55f)]=_0x1d4357,this[_0x5d65a8(0x170)]=_0x13d596,this[_0x5d65a8(0x2f7)]=_0x165ac3,this[_0x5d65a8(0x594)]=_0x4560d1,this['initializeProgram']();}['draw'](_0x27af99,_0x376d72){const _0x5ca27e=_0x3ad27d;if(!this['rowsProgram'])return;this['rowsVisibleAtScale']=this['isRowsVisibleAtScale'](_0x27af99);if(!this['rowsVisibleAtScale'])return;const _0x55b44d=this[_0x5ca27e(0xad)](_0x27af99);typeof _0x55b44d==='number'&&!Number['isNaN'](_0x55b44d)&&(this[_0x5ca27e(0x532)]=_0x55b44d);const _0x20cc78=this[_0x5ca27e(0xf6)]();(this[_0x5ca27e(0x13d)]!==_0x27af99||this[_0x5ca27e(0x365)]!==(this['appContext'][_0x5ca27e(0x4cc)]||0x0)||this['rowsLockedSignatureBuilt']!==_0x20cc78)&&(this[_0x5ca27e(0x467)](_0x27af99),this['rowsGeometryBuiltForScale']=_0x27af99,this[_0x5ca27e(0x365)]=this[_0x5ca27e(0x170)][_0x5ca27e(0x4cc)]||0x0,this['rowsLockedSignatureBuilt']=_0x20cc78);if(!this[_0x5ca27e(0x326)]||this[_0x5ca27e(0x595)][_0x5ca27e(0x4a7)]===0x0)return;this[_0x5ca27e(0x55f)]['useProgram'](this[_0x5ca27e(0x5b3)]),this[_0x5ca27e(0x55f)][_0x5ca27e(0x3d3)](this[_0x5ca27e(0x55f)]['ARRAY_BUFFER'],this['rowsBuffer']),this['ctx']['bufferData'](this['ctx'][_0x5ca27e(0x15f)],new Float32Array(this[_0x5ca27e(0x595)]),this[_0x5ca27e(0x55f)]['DYNAMIC_DRAW']),this[_0x5ca27e(0x55f)][_0x5ca27e(0x580)](this[_0x5ca27e(0x37e)]),this['ctx'][_0x5ca27e(0x35b)](this[_0x5ca27e(0x37e)],0x2,this[_0x5ca27e(0x55f)]['FLOAT'],![],0x0,0x0),this[_0x5ca27e(0x55f)][_0x5ca27e(0x37b)](this[_0x5ca27e(0x579)],_0x27af99),this[_0x5ca27e(0x55f)][_0x5ca27e(0x19c)](this[_0x5ca27e(0x1f8)],_0x376d72['x'],_0x376d72['y']),this[_0x5ca27e(0x55f)][_0x5ca27e(0x37b)](this['rows_stageWidth'],this[_0x5ca27e(0x2f7)]()),this[_0x5ca27e(0x55f)][_0x5ca27e(0x37b)](this['rows_stageHeight'],this[_0x5ca27e(0x594)]()),this[_0x5ca27e(0x55f)][_0x5ca27e(0x452)](this['rows_enable3DView'],this[_0x5ca27e(0x170)][_0x5ca27e(0x1a0)]?0x1:0x0),this[_0x5ca27e(0x55f)][_0x5ca27e(0x37b)](this['rows_rotationZ'],this[_0x5ca27e(0x170)][_0x5ca27e(0x40c)]),this[_0x5ca27e(0x55f)]['uniform1f'](this[_0x5ca27e(0x1fe)],this[_0x5ca27e(0x170)][_0x5ca27e(0x3c7)]),this[_0x5ca27e(0x55f)][_0x5ca27e(0x37b)](this[_0x5ca27e(0x185)],this[_0x5ca27e(0x170)][_0x5ca27e(0x422)]);const _0x5d3f8e=this[_0x5ca27e(0x1e0)](_0x27af99);this[_0x5ca27e(0x55f)][_0x5ca27e(0x4e5)](this[_0x5ca27e(0x1b0)],this[_0x5ca27e(0x30c)][0x0],this[_0x5ca27e(0x30c)][0x1],this[_0x5ca27e(0x30c)][0x2],_0x5d3f8e),this['enableAlphaBlending'](),this[_0x5ca27e(0x55f)]['drawArrays'](this['ctx'][_0x5ca27e(0x450)],0x0,this[_0x5ca27e(0x595)]['length']/0x2);}[_0x3ad27d(0x415)](_0x2c56b3){const _0x38eee9=_0x3ad27d;if(!AVAILABLE_SCALES||AVAILABLE_SCALES[_0x38eee9(0x4a7)]===0x0)return null;let _0x4fce85=AVAILABLE_SCALES[0x0],_0x9ed921=Math[_0x38eee9(0x27d)](_0x2c56b3-_0x4fce85);for(let _0x5196f6=0x1;_0x5196f6<AVAILABLE_SCALES['length'];_0x5196f6++){const _0x5a6b30=AVAILABLE_SCALES[_0x5196f6],_0x62e87f=Math[_0x38eee9(0x27d)](_0x2c56b3-_0x5a6b30);_0x62e87f<_0x9ed921&&(_0x4fce85=_0x5a6b30,_0x9ed921=_0x62e87f);}return _0x4fce85;}[_0x3ad27d(0x548)](_0x4f4d25){const _0x39ddcf=_0x3ad27d;var _0x33512d;if(_0x4f4d25<0.25)return!![];const _0x5f3a7d=this['getNearestDocumentedScale'](_0x4f4d25);if(_0x5f3a7d==null)return!![];const _0x341760=getScaleParameters(_0x5f3a7d);return(_0x33512d=_0x341760==null?void 0x0:_0x341760['rowView'][_0x39ddcf(0x409)])!=null?_0x33512d:!![];}[_0x3ad27d(0xad)](_0x3704b6){const _0x46eb78=_0x3ad27d;var _0x30a279;const _0x2b468f=this[_0x46eb78(0x415)](_0x3704b6);if(_0x2b468f==null)return null;const _0x5e0bdb=getScaleParameters(_0x2b468f);return(_0x30a279=_0x5e0bdb==null?void 0x0:_0x5e0bdb[_0x46eb78(0x2d7)][_0x46eb78(0x125)])!=null?_0x30a279:null;}[_0x3ad27d(0x1e0)](_0x399112){const _0x379dad=_0x3ad27d;if(_0x399112<0.25)return 0x1;const _0x3517f4=0.25,_0x4b2d12=0x1,_0x47dd1f=Math[_0x379dad(0x490)](_0x3517f4,Math[_0x379dad(0x169)](_0x4b2d12,_0x399112)),_0x5832bd=(_0x47dd1f-_0x3517f4)/(_0x4b2d12-_0x3517f4),_0x50047e=0x1,_0x49996b=0.4,_0x58bc1c=_0x50047e+(_0x49996b-_0x50047e)*_0x5832bd;return Math['max'](0x0,Math['min'](0x1,_0x58bc1c));}[_0x3ad27d(0x279)](){const _0x2a84af=_0x3ad27d,_0xdaed99=this[_0x2a84af(0x296)](this[_0x2a84af(0x55f)][_0x2a84af(0x2af)],Rows_default),_0x1f1620=this[_0x2a84af(0x296)](this[_0x2a84af(0x55f)][_0x2a84af(0x3b2)],Rows_default2);this['rowsProgram']=this[_0x2a84af(0x137)](_0xdaed99,_0x1f1620),this[_0x2a84af(0x37e)]=this[_0x2a84af(0x55f)][_0x2a84af(0x45d)](this[_0x2a84af(0x5b3)],'a_position'),this[_0x2a84af(0x114)]=this[_0x2a84af(0x55f)][_0x2a84af(0x1a9)](this[_0x2a84af(0x5b3)],_0x2a84af(0x4be)),this['rows_stageHeight']=this[_0x2a84af(0x55f)][_0x2a84af(0x1a9)](this[_0x2a84af(0x5b3)],'stageHeight'),this[_0x2a84af(0x579)]=this['ctx'][_0x2a84af(0x1a9)](this[_0x2a84af(0x5b3)],_0x2a84af(0x143)),this['rows_translate']=this[_0x2a84af(0x55f)][_0x2a84af(0x1a9)](this[_0x2a84af(0x5b3)],_0x2a84af(0x1d4)),this[_0x2a84af(0x2e5)]=this[_0x2a84af(0x55f)][_0x2a84af(0x1a9)](this[_0x2a84af(0x5b3)],_0x2a84af(0x4e6)),this[_0x2a84af(0x3fd)]=this['ctx'][_0x2a84af(0x1a9)](this[_0x2a84af(0x5b3)],_0x2a84af(0x4e0)),this[_0x2a84af(0x1fe)]=this[_0x2a84af(0x55f)][_0x2a84af(0x1a9)](this[_0x2a84af(0x5b3)],'u_perspectiveZ'),this[_0x2a84af(0x185)]=this['ctx'][_0x2a84af(0x1a9)](this[_0x2a84af(0x5b3)],_0x2a84af(0x2b5)),this['rows_color']=this[_0x2a84af(0x55f)][_0x2a84af(0x1a9)](this[_0x2a84af(0x5b3)],_0x2a84af(0x44e)),this[_0x2a84af(0x326)]=this[_0x2a84af(0x55f)][_0x2a84af(0x322)]();}[_0x3ad27d(0x467)](_0x42725b){const _0x282730=_0x3ad27d;var _0x308edf,_0x161c6e,_0x5146e3,_0x1cc759,_0x2d51cc,_0x29002f,_0x4137b2,_0x6a7e43,_0x14453b,_0x14915c,_0x15c89a,_0x1e289b;this[_0x282730(0x595)]=[];const _0x5cc4d4=(_0x45ef95,_0x49c3e8,_0x336177,_0x3dd8da,_0x20c0c7)=>{const _0x2f00a8=_0x282730,_0x114b5e=_0x336177-_0x45ef95,_0x5a1ae6=_0x3dd8da-_0x49c3e8,_0x181824=Math[_0x2f00a8(0xf7)](_0x114b5e*_0x114b5e+_0x5a1ae6*_0x5a1ae6);if(_0x181824===0x0)return;const _0x8d3f07=-_0x5a1ae6/_0x181824,_0x1c8bb1=_0x114b5e/_0x181824,_0x5a8140=_0x8d3f07*_0x20c0c7,_0x17f7dc=_0x1c8bb1*_0x20c0c7;this[_0x2f00a8(0x595)][_0x2f00a8(0x244)](_0x45ef95+_0x5a8140,_0x49c3e8+_0x17f7dc,_0x336177+_0x5a8140,_0x3dd8da+_0x17f7dc,_0x336177-_0x5a8140,_0x3dd8da-_0x17f7dc,_0x45ef95+_0x5a8140,_0x49c3e8+_0x17f7dc,_0x336177-_0x5a8140,_0x3dd8da-_0x17f7dc,_0x45ef95-_0x5a8140,_0x49c3e8-_0x17f7dc);},_0x5ca3fc=(_0x301fb,_0x465b8c,_0x2b5fdd,_0x498c58,_0x372254,_0x102734)=>{const _0x4a5841=_0x282730,_0x3c3dc3=Math[_0x4a5841(0xf7)](_0x2b5fdd*_0x2b5fdd+_0x498c58*_0x498c58)||0x1,_0x371ab9=_0x2b5fdd/_0x3c3dc3,_0x5d95a3=_0x498c58/_0x3c3dc3,_0x44f0a4=Math[_0x4a5841(0x529)](_0x5d95a3,_0x371ab9)+(_0x102734?Math['PI']:0x0),_0x583774=_0x44f0a4-Math['PI']/0x2,_0x460641=_0x44f0a4+Math['PI']/0x2,_0x4c18c7=Math[_0x4a5841(0x490)](0x8,Math['min'](0x18,Math[_0x4a5841(0x9b)](_0x372254))),_0x3deb9b=(_0x460641-_0x583774)/_0x4c18c7;for(let _0x91affd=0x0;_0x91affd<_0x4c18c7;_0x91affd++){const _0x4bd1af=_0x583774+_0x91affd*_0x3deb9b,_0x5a3971=_0x583774+(_0x91affd+0x1)*_0x3deb9b,_0x3c2cb2=_0x301fb+Math[_0x4a5841(0x161)](_0x4bd1af)*_0x372254,_0x5ac4f3=_0x465b8c+Math[_0x4a5841(0x473)](_0x4bd1af)*_0x372254,_0x79531a=_0x301fb+Math[_0x4a5841(0x161)](_0x5a3971)*_0x372254,_0x2c867b=_0x465b8c+Math[_0x4a5841(0x473)](_0x5a3971)*_0x372254;this['rowsVertices'][_0x4a5841(0x244)](_0x301fb,_0x465b8c,_0x3c2cb2,_0x5ac4f3,_0x79531a,_0x2c867b);}},_0x2d7d14=(_0x2d51cc=(_0x1cc759=(_0x5146e3=(_0x161c6e=(_0x308edf=this[_0x282730(0x170)][_0x282730(0x3f7)])==null?void 0x0:_0x308edf[_0x282730(0x439)])==null?void 0x0:_0x161c6e[_0x282730(0x2cc)])==null?void 0x0:_0x5146e3['default'])==null?void 0x0:_0x1cc759[_0x282730(0x230)])!=null?_0x2d51cc:0x6,_0x161196=Math[_0x282730(0x490)](_0x2d7d14/0x2,this[_0x282730(0x532)]),_0x394cf5=(_0x14915c=(_0x14453b=(_0x29002f=this[_0x282730(0x170)][_0x282730(0x3f7)])==null?void 0x0:_0x29002f[_0x282730(0x559)])!=null?_0x14453b:(_0x6a7e43=(_0x4137b2=this[_0x282730(0x170)][_0x282730(0x3f7)])==null?void 0x0:_0x4137b2[_0x282730(0x439)])==null?void 0x0:_0x6a7e43[_0x282730(0x4c3)])!=null?_0x14915c:0xe,_0x4e3e04=(_0x1e289b=(_0x15c89a=this[_0x282730(0x170)][_0x282730(0x3f7)])==null?void 0x0:_0x15c89a[_0x282730(0x28a)])!=null?_0x1e289b:0x2,_0x49cf02=Math[_0x282730(0x490)](_0x42725b,0.001),_0xab2ab=_0x394cf5*0x2*_0x49cf02,_0x25bcd5=Math[_0x282730(0x490)](0x0,(_0xab2ab-_0x4e3e04)/0x2);if(this[_0x282730(0x170)][_0x282730(0x43f)]&&this[_0x282730(0x170)][_0x282730(0x43f)][_0x282730(0x4a7)]){const _0xa51d7e=_0x394cf5,_0x5e676f=(_0x4ab691,_0x45299a,_0x4228e7,_0x1d254e)=>{const _0x432c45=_0x282730;var _0x1ac079;const _0x30ba9d=(_0x4ab691+_0x4228e7)/0x2,_0x1ca15d=(_0x45299a+_0x1d254e)/0x2,_0x380f79=((_0x1ac079=this['appContext'][_0x432c45(0x30b)])==null?void 0x0:_0x1ac079[_0x432c45(0x81)](_0x30ba9d,_0x1ca15d,_0xa51d7e))||[];for(let _0x103c8e=0x0;_0x103c8e<_0x380f79[_0x432c45(0x4a7)];_0x103c8e++){const _0x433584=this['appContext'][_0x432c45(0x218)][_0x380f79[_0x103c8e]];if(this['isSeatUnavailable'](_0x433584))return!![];}return![];};this[_0x282730(0x170)][_0x282730(0x43f)][_0x282730(0x556)](_0x588f25=>{const _0x45ead0=_0x282730;var _0x395530;if(!_0x588f25[_0x45ead0(0x2d5)]||_0x588f25['points'][_0x45ead0(0x4a7)]<0x2)return;const _0x256366=(_0x395530=_0x588f25[_0x45ead0(0x294)])!=null?_0x395530:this['rowsStrokeWidthPx'],_0x32584f=Math[_0x45ead0(0x169)](_0x256366,_0x161196,_0x25bcd5),_0x1d2813=_0x32584f*0.15,_0x11e227=Math[_0x45ead0(0x490)](_0x42725b,0.001),_0x3e05d7=_0x32584f/_0x11e227,_0x3bd9cc=_0x1d2813/_0x11e227;for(let _0x5b03b2=0x0;_0x5b03b2<_0x588f25['points'][_0x45ead0(0x4a7)]-0x1;_0x5b03b2++){const _0x5cb647=_0x588f25['points'][_0x5b03b2],_0xa012e3=_0x588f25[_0x45ead0(0x2d5)][_0x5b03b2+0x1],_0x3c3d40=_0x5e676f(_0x5cb647['x'],_0x5cb647['y'],_0xa012e3['x'],_0xa012e3['y']);_0x5cc4d4(_0x5cb647['x'],_0x5cb647['y'],_0xa012e3['x'],_0xa012e3['y'],_0x3c3d40?_0x3bd9cc:_0x3e05d7);}const _0x23c70d=_0x588f25['points'][0x0],_0x1d42c8=_0x588f25['points'][0x1],_0x391d0a=_0x588f25[_0x45ead0(0x2d5)][_0x588f25[_0x45ead0(0x2d5)][_0x45ead0(0x4a7)]-0x2],_0x171beb=_0x588f25[_0x45ead0(0x2d5)][_0x588f25['points'][_0x45ead0(0x4a7)]-0x1],_0x4e3ae7=_0x5e676f(_0x23c70d['x'],_0x23c70d['y'],_0x1d42c8['x'],_0x1d42c8['y']),_0x4c9470=_0x5e676f(_0x391d0a['x'],_0x391d0a['y'],_0x171beb['x'],_0x171beb['y']);_0x5ca3fc(_0x23c70d['x'],_0x23c70d['y'],_0x1d42c8['x']-_0x23c70d['x'],_0x1d42c8['y']-_0x23c70d['y'],_0x4e3ae7?_0x3bd9cc:_0x3e05d7,!![]),_0x5ca3fc(_0x171beb['x'],_0x171beb['y'],_0x171beb['x']-_0x391d0a['x'],_0x171beb['y']-_0x391d0a['y'],_0x4c9470?_0x3bd9cc:_0x3e05d7,![]);});}else{if(this[_0x282730(0x170)][_0x282730(0x1ab)]){const _0x21a9bb=Math[_0x282730(0x169)](this[_0x282730(0x532)],_0x161196,_0x25bcd5),_0x4d8f07=_0x21a9bb*0.15,_0x464b60=Math['max'](_0x42725b,0.001),_0x4c7543=_0x21a9bb/_0x464b60,_0x29eb68=_0x4d8f07/_0x464b60,_0x56a307=this[_0x282730(0x170)][_0x282730(0x1ab)];for(const _0x36e834 in _0x56a307){const _0x23d4fb=_0x56a307[_0x36e834];if(!_0x23d4fb||_0x23d4fb[_0x282730(0x4a7)]<0x2)continue;const _0x4cf135=_0x23d4fb[_0x282730(0x437)]()['sort']((_0x1baf7c,_0xd81555)=>_0x1baf7c['x']-_0xd81555['x']);for(let _0xd2ad73=0x0;_0xd2ad73<_0x4cf135[_0x282730(0x4a7)]-0x1;_0xd2ad73++){const _0x306113=_0x4cf135[_0xd2ad73],_0x293b31=_0x4cf135[_0xd2ad73+0x1],_0x3af9e6=this[_0x282730(0x49b)](_0x306113)||this[_0x282730(0x49b)](_0x293b31),_0x17e756=_0x3af9e6?_0x29eb68:_0x4c7543;_0x5cc4d4(_0x306113['x'],_0x306113['y'],_0x293b31['x'],_0x293b31['y'],_0x17e756);}const _0x3263b4=_0x4cf135[0x0],_0x199bac=_0x4cf135[0x1],_0x1f4af6=_0x4cf135[_0x4cf135[_0x282730(0x4a7)]-0x2],_0x1389fa=_0x4cf135[_0x4cf135[_0x282730(0x4a7)]-0x1],_0x1782a6=this[_0x282730(0x49b)](_0x3263b4)||this[_0x282730(0x49b)](_0x199bac),_0x445de4=this[_0x282730(0x49b)](_0x1389fa)||this[_0x282730(0x49b)](_0x1f4af6);_0x5ca3fc(_0x3263b4['x'],_0x3263b4['y'],_0x199bac['x']-_0x3263b4['x'],_0x199bac['y']-_0x3263b4['y'],_0x1782a6?_0x29eb68:_0x4c7543,!![]),_0x5ca3fc(_0x1389fa['x'],_0x1389fa['y'],_0x1389fa['x']-_0x1f4af6['x'],_0x1389fa['y']-_0x1f4af6['y'],_0x445de4?_0x29eb68:_0x4c7543,![]);}}}if(!this[_0x282730(0x326)])this[_0x282730(0x326)]=this[_0x282730(0x55f)][_0x282730(0x322)]();}['createShader'](_0x367993,_0x394f41){const _0x31dcfb=_0x3ad27d,_0x16af1e=this[_0x31dcfb(0x55f)][_0x31dcfb(0x296)](_0x367993);return this['ctx'][_0x31dcfb(0x4eb)](_0x16af1e,_0x394f41),this[_0x31dcfb(0x55f)][_0x31dcfb(0x421)](_0x16af1e),_0x16af1e;}[_0x3ad27d(0x137)](_0x4265a7,_0x179ee8){const _0xc9a374=_0x3ad27d,_0x31ced4=this[_0xc9a374(0x55f)][_0xc9a374(0x137)]();return this['ctx'][_0xc9a374(0x31d)](_0x31ced4,_0x4265a7),this[_0xc9a374(0x55f)][_0xc9a374(0x31d)](_0x31ced4,_0x179ee8),this['ctx']['linkProgram'](_0x31ced4),_0x31ced4;}[_0x3ad27d(0x47f)](){const _0x4ee703=_0x3ad27d;this[_0x4ee703(0x55f)][_0x4ee703(0x32b)](this[_0x4ee703(0x55f)][_0x4ee703(0x253)]),this[_0x4ee703(0x55f)][_0x4ee703(0x4fc)](this[_0x4ee703(0x55f)][_0x4ee703(0x4d2)],this[_0x4ee703(0x55f)][_0x4ee703(0x220)]);}[_0x3ad27d(0x49b)](_0x415817){const _0x3b7d76=_0x3ad27d;return!!((_0x415817==null?void 0x0:_0x415817[_0x3b7d76(0x3fc)])||(_0x415817==null?void 0x0:_0x415817[_0x3b7d76(0x42c)])==='unavailable'||!(_0x415817==null?void 0x0:_0x415817[_0x3b7d76(0x549)]));}[_0x3ad27d(0xf6)](){const _0x1246a2=_0x3ad27d,_0x5a4c46=this[_0x1246a2(0x170)]['seats']||[];let _0x15bc0e=0x811c9dc5>>>0x0;for(let _0x42c57e=0x0;_0x42c57e<_0x5a4c46[_0x1246a2(0x4a7)];_0x42c57e++){const _0x5549fe=_0x5a4c46[_0x42c57e];if(!this[_0x1246a2(0x49b)](_0x5549fe))continue;let _0x478a8d=_0x5549fe['id']>>>0x0;_0x15bc0e^=_0x478a8d&0xff,_0x15bc0e=Math[_0x1246a2(0x371)](_0x15bc0e,0x1000193),_0x15bc0e^=_0x478a8d>>>0x8&0xff,_0x15bc0e=Math[_0x1246a2(0x371)](_0x15bc0e,0x1000193),_0x15bc0e^=_0x478a8d>>>0x10&0xff,_0x15bc0e=Math[_0x1246a2(0x371)](_0x15bc0e,0x1000193),_0x15bc0e^=_0x478a8d>>>0x18&0xff,_0x15bc0e=Math['imul'](_0x15bc0e,0x1000193);}return _0x15bc0e>>>0x0;}},OverlayRenderer=class{constructor(_0x5b525f,_0x3ad8fc,_0x238491,_0x5ee388){const _0x3bfab9=_0x3ad27d;this[_0x3bfab9(0x1af)]=null,this['a_position']=-0x1,this['a_size']=-0x1,this[_0x3bfab9(0x159)]=-0x1,this[_0x3bfab9(0x40e)]=-0x1,this[_0x3bfab9(0x47e)]=-0x1,this[_0x3bfab9(0x4fa)]=-0x1,this['a_priceColorIndex']=-0x1,this[_0x3bfab9(0x83)]=-0x1,this[_0x3bfab9(0x22c)]=-0x1,this[_0x3bfab9(0xd7)]=null,this['u_stageHeight']=null,this[_0x3bfab9(0x1c2)]=null,this[_0x3bfab9(0x52a)]=null,this[_0x3bfab9(0x4e6)]=null,this[_0x3bfab9(0x4e0)]=null,this['u_perspectiveZ']=null,this[_0x3bfab9(0x2b5)]=null,this[_0x3bfab9(0x527)]=null,this[_0x3bfab9(0x28f)]=null,this['u_pulseDuration']=null,this[_0x3bfab9(0x288)]=null,this['u_markedUV']=null,this[_0x3bfab9(0x2f9)]=null,this['u_loadingColor']=null,this[_0x3bfab9(0x423)]=null,this[_0x3bfab9(0x88)]=null,this[_0x3bfab9(0x8c)]=null,this[_0x3bfab9(0x403)]=null,this[_0x3bfab9(0x26b)]=null,this[_0x3bfab9(0x5b9)]=new Map(),this[_0x3bfab9(0x55f)]=_0x5b525f,this['appContext']=_0x3ad8fc,this['getStageWidthPx']=_0x238491,this[_0x3bfab9(0x594)]=_0x5ee388,this[_0x3bfab9(0x279)]();}[_0x3ad27d(0x431)](_0x3b798f,_0x552809){this['iconAtlas']=_0x3b798f,this['iconsUVMap']=_0x552809;}[_0x3ad27d(0x414)](_0x1728bb,_0x412546){const _0x345849=_0x3ad27d;var _0x2803e5,_0x3dd8a7,_0xca77c3,_0x12feb0,_0x30ee8f,_0x2dc52c,_0x34fa1c,_0x521f59,_0xab811a,_0x2c247a,_0x4f340b,_0xb65a7b,_0x31c1c8,_0x818310,_0x53151f,_0x306764,_0x33da28,_0x542b8e,_0x19c449,_0x377151;if(!this[_0x345849(0x1af)])return;const _0x53c180=[],_0x4b8a25=this[_0x345849(0x170)][_0x345849(0x3f7)]['theme'],_0x289dc5=(_0x3dd8a7=(_0x2803e5=_0x4b8a25==null?void 0x0:_0x4b8a25[_0x345849(0x2cc)])==null?void 0x0:_0x2803e5[_0x345849(0x89)])==null?void 0x0:_0x3dd8a7[_0x345849(0x230)],_0x2ef522=(_0x12feb0=(_0xca77c3=_0x4b8a25==null?void 0x0:_0x4b8a25['seatStyles'])==null?void 0x0:_0xca77c3['hovered'])==null?void 0x0:_0x12feb0['size'],_0x99ae1d=(_0x2dc52c=(_0x30ee8f=_0x4b8a25==null?void 0x0:_0x4b8a25[_0x345849(0x2cc)])==null?void 0x0:_0x30ee8f[_0x345849(0x49a)])==null?void 0x0:_0x2dc52c[_0x345849(0x230)],_0x3de8bf=(_0x521f59=(_0x34fa1c=_0x4b8a25==null?void 0x0:_0x4b8a25['seatStyles'])==null?void 0x0:_0x34fa1c[_0x345849(0x582)])==null?void 0x0:_0x521f59[_0x345849(0x230)],_0x5d30b5=Object[_0x345849(0x44b)](this[_0x345849(0x170)][_0x345849(0x18b)]||{}),_0x4a9a9d={};for(let _0x4935d5=0x0;_0x4935d5<_0x5d30b5['length'];_0x4935d5++){const _0x46a4d5=Number(_0x5d30b5[_0x4935d5][0x0]);_0x4a9a9d[_0x46a4d5]=_0x4935d5;}const _0x3bcef0=new Set(this['appContext'][_0x345849(0xdf)]&&this['appContext'][_0x345849(0xdf)]()[_0x345849(0x50f)](_0x40325c=>_0x40325c['id'])||[]),_0x3972db=new Set();if(this[_0x345849(0x170)][_0x345849(0x59e)])(((_0xab811a=this[_0x345849(0x170)][_0x345849(0x1ab)])==null?void 0x0:_0xab811a[this['appContext'][_0x345849(0x59e)]['id']])||[])[_0x345849(0x556)](_0x5e0708=>_0x3972db[_0x345849(0x26f)](_0x5e0708['id']));else this[_0x345849(0x170)][_0x345849(0x25b)]&&_0x3972db[_0x345849(0x26f)](this['appContext'][_0x345849(0x25b)]['id']);const _0x8f5a6c=performance['now']()/0x3e8,_0x4f0f4c=0.3;for(let _0x3cb187=0x0;_0x3cb187<this['appContext'][_0x345849(0x218)][_0x345849(0x4a7)];_0x3cb187++){const _0x342f72=this[_0x345849(0x170)]['seats'][_0x3cb187],_0x4e2e80=_0x3bcef0[_0x345849(0x42b)](_0x342f72['id'])?0x1:0x0,_0x5c36cb=_0x3972db[_0x345849(0x42b)](_0x342f72['id'])?0x1:0x0,_0x4a2bec=_0x342f72['state']===_0x345849(0x49a)?0x1:0x0,_0x565c5b=_0x342f72['state']==='error'?0x1:0x0,_0xd16614=(_0x2c247a=this['appContext'][_0x345849(0x1f5)])==null?void 0x0:_0x2c247a[_0x342f72['id']],_0x43798e=!_0x4e2e80&&!_0x4a2bec&&_0xd16614?_0xd16614/0x3e8:-0x1,_0x1e4c0a=_0x43798e>=0x0&&_0x8f5a6c-_0x43798e<_0x4f0f4c;if(_0x4e2e80||_0x5c36cb||_0x4a2bec||_0x565c5b||_0x1e4c0a){const _0xad2ff=_0x4e2e80?_0x289dc5!=null?_0x289dc5:0x6:_0x5c36cb?_0x2ef522!=null?_0x2ef522:0x6:_0x4a2bec?_0x99ae1d!=null?_0x99ae1d:0x6:(_0x4f340b=_0x3de8bf!=null?_0x3de8bf:_0x289dc5)!=null?_0x4f340b:0x6,_0x1e1038=(_0xb65a7b=this[_0x345849(0x170)]['_selectedAt'])==null?void 0x0:_0xb65a7b[_0x342f72['id']],_0x257167=_0x1e1038?_0x1e1038/0x3e8:-0x1,_0x1dfe87=_0x342f72[_0x345849(0x549)]!==void 0x0&&_0x342f72[_0x345849(0x549)]!==null?(_0x31c1c8=_0x4a9a9d[Number(_0x342f72[_0x345849(0x549)])])!=null?_0x31c1c8:-0x1:-0x1;_0x53c180[_0x345849(0x244)](_0x342f72['x'],_0x342f72['y'],_0xad2ff,_0x4e2e80,_0x5c36cb,_0x4a2bec,_0x565c5b,_0x1dfe87,_0x257167,_0x43798e);}}if(_0x53c180[_0x345849(0x4a7)]>0x0){if(!this[_0x345849(0x403)])this[_0x345849(0x403)]=this[_0x345849(0x55f)]['createBuffer']();this[_0x345849(0x55f)][_0x345849(0x3d3)](this[_0x345849(0x55f)]['ARRAY_BUFFER'],this[_0x345849(0x403)]),this['ctx'][_0x345849(0x263)](this[_0x345849(0x55f)][_0x345849(0x15f)],new Float32Array(_0x53c180),this[_0x345849(0x55f)][_0x345849(0x1b5)]),this[_0x345849(0x55f)][_0x345849(0x394)](this[_0x345849(0x1af)]);const _0xb52f96=0xa,_0x53bb69=_0xb52f96*0x4;this[_0x345849(0x55f)][_0x345849(0x580)](this[_0x345849(0x4b8)]),this[_0x345849(0x55f)][_0x345849(0x35b)](this[_0x345849(0x4b8)],0x2,this[_0x345849(0x55f)][_0x345849(0xed)],![],_0x53bb69,0x0),this[_0x345849(0x55f)]['enableVertexAttribArray'](this['a_size']),this['ctx'][_0x345849(0x35b)](this[_0x345849(0x27e)],0x1,this[_0x345849(0x55f)]['FLOAT'],![],_0x53bb69,0x2*0x4),this[_0x345849(0x55f)][_0x345849(0x580)](this[_0x345849(0x159)]),this[_0x345849(0x55f)]['vertexAttribPointer'](this['a_selected'],0x1,this[_0x345849(0x55f)][_0x345849(0xed)],![],_0x53bb69,0x3*0x4),this[_0x345849(0x55f)][_0x345849(0x580)](this['a_hovered']),this['ctx']['vertexAttribPointer'](this[_0x345849(0x40e)],0x1,this[_0x345849(0x55f)][_0x345849(0xed)],![],_0x53bb69,0x4*0x4),this[_0x345849(0x55f)][_0x345849(0x580)](this['a_loading']),this[_0x345849(0x55f)]['vertexAttribPointer'](this['a_loading'],0x1,this['ctx'][_0x345849(0xed)],![],_0x53bb69,0x5*0x4),this[_0x345849(0x55f)][_0x345849(0x580)](this[_0x345849(0x4fa)]),this['ctx']['vertexAttribPointer'](this[_0x345849(0x4fa)],0x1,this[_0x345849(0x55f)][_0x345849(0xed)],![],_0x53bb69,0x6*0x4),this['ctx'][_0x345849(0x580)](this[_0x345849(0x348)]),this['ctx'][_0x345849(0x35b)](this[_0x345849(0x348)],0x1,this[_0x345849(0x55f)][_0x345849(0xed)],![],_0x53bb69,0x7*0x4),this['ctx'][_0x345849(0x580)](this[_0x345849(0x83)]),this[_0x345849(0x55f)][_0x345849(0x35b)](this[_0x345849(0x83)],0x1,this[_0x345849(0x55f)][_0x345849(0xed)],![],_0x53bb69,0x8*0x4),this['ctx'][_0x345849(0x580)](this['a_deselectedStart']),this[_0x345849(0x55f)][_0x345849(0x35b)](this['a_deselectedStart'],0x1,this['ctx'][_0x345849(0xed)],![],_0x53bb69,0x9*0x4),this[_0x345849(0x55f)][_0x345849(0x37b)](this[_0x345849(0x1c2)],_0x1728bb),this[_0x345849(0x55f)][_0x345849(0x19c)](this[_0x345849(0x52a)],_0x412546['x'],_0x412546['y']),this[_0x345849(0x55f)][_0x345849(0x37b)](this[_0x345849(0xd7)],this[_0x345849(0x2f7)]()),this['ctx']['uniform1f'](this[_0x345849(0xd1)],this[_0x345849(0x594)]()),this[_0x345849(0x55f)][_0x345849(0x452)](this[_0x345849(0x4e6)],this[_0x345849(0x170)]['enable3DView']?0x1:0x0),this[_0x345849(0x55f)][_0x345849(0x37b)](this[_0x345849(0x4e0)],this['appContext'][_0x345849(0x40c)]),this[_0x345849(0x55f)][_0x345849(0x37b)](this[_0x345849(0x100)],this[_0x345849(0x170)]['perspectiveZ']),this[_0x345849(0x55f)][_0x345849(0x37b)](this[_0x345849(0x2b5)],this[_0x345849(0x170)][_0x345849(0x422)]),this['ctx']['uniform1f'](this['u_time'],performance[_0x345849(0x3a9)]()/0x3e8),this[_0x345849(0x55f)][_0x345849(0x37b)](this['u_pulseDuration'],0.3);const _0x384729=0xc,_0x49ea11=performance[_0x345849(0x3a9)]()/0x3e8*_0x384729;if(this[_0x345849(0x8c)])this[_0x345849(0x55f)][_0x345849(0x37b)](this['u_loadingRotateAngle'],_0x49ea11);const _0xc62fe9=((_0x53151f=(_0x818310=_0x4b8a25==null?void 0x0:_0x4b8a25[_0x345849(0x2cc)])==null?void 0x0:_0x818310[_0x345849(0x49a)])==null?void 0x0:_0x53151f['color'])||_0x345849(0x3a7),_0x345d22=_0x3ff370=>{const _0xc0ceb0=_0x345849,_0x35880a=_0x3ff370['replace']('#',''),_0x236d45=parseInt(_0x35880a['substring'](0x0,0x2),0x10)/0xff,_0x25d36d=parseInt(_0x35880a[_0xc0ceb0(0x3fa)](0x2,0x4),0x10)/0xff,_0x433043=parseInt(_0x35880a[_0xc0ceb0(0x3fa)](0x4,0x6),0x10)/0xff;return[_0x236d45,_0x25d36d,_0x433043];},[_0x1e8770,_0xed511e,_0x4f879c]=_0x345d22(_0xc62fe9);if(this[_0x345849(0x58e)])this['ctx'][_0x345849(0x2a4)](this[_0x345849(0x58e)],_0x1e8770,_0xed511e,_0x4f879c);const _0x62bb2b=((_0x33da28=(_0x306764=_0x4b8a25==null?void 0x0:_0x4b8a25[_0x345849(0x2cc)])==null?void 0x0:_0x306764[_0x345849(0x582)])==null?void 0x0:_0x33da28[_0x345849(0x262)])||'#F44336',_0x40255c=_0x1d969c=>{const _0x55dcbd=_0x345849,_0x3728ce=_0x1d969c[_0x55dcbd(0x14c)]('#',''),_0x11749c=parseInt(_0x3728ce[_0x55dcbd(0x3fa)](0x0,0x2),0x10)/0xff,_0x506d73=parseInt(_0x3728ce['substring'](0x2,0x4),0x10)/0xff,_0x28aeea=parseInt(_0x3728ce['substring'](0x4,0x6),0x10)/0xff;return[_0x11749c,_0x506d73,_0x28aeea];},[_0x130185,_0x9115fe,_0x21a414]=_0x40255c(_0x62bb2b);if(this[_0x345849(0x88)])this[_0x345849(0x55f)][_0x345849(0x2a4)](this[_0x345849(0x88)],_0x130185,_0x9115fe,_0x21a414);const _0x110f40=(_0x542b8e=this[_0x345849(0x170)][_0x345849(0x3f7)]['theme'])==null?void 0x0:_0x542b8e[_0x345849(0x46b)],_0x546138=((_0x377151=(_0x19c449=_0x110f40==null?void 0x0:_0x110f40['hovered'])==null?void 0x0:_0x19c449[_0x345849(0x355)])==null?void 0x0:_0x377151[_0x345849(0x262)])||_0x345849(0x3a7),_0x43b8a0=(_0x41197e,_0x5c073c)=>{const _0x21a182=_0x345849,_0x39b73c=_0x41197e[_0x21a182(0x14c)]('#',''),_0x69d43c=parseInt(_0x39b73c[_0x21a182(0x3fa)](0x0,0x2),0x10)/0xff,_0x2b10b5=parseInt(_0x39b73c[_0x21a182(0x3fa)](0x2,0x4),0x10)/0xff,_0x155a30=parseInt(_0x39b73c['substring'](0x4,0x6),0x10)/0xff;return[_0x69d43c,_0x2b10b5,_0x155a30,_0x5c073c];},[_0xfb6798,_0x250016,_0x3305cb,_0x1d98de]=_0x43b8a0(_0x546138,0x1);this[_0x345849(0x55f)][_0x345849(0x4e5)](this[_0x345849(0x527)],_0xfb6798,_0x250016,_0x3305cb,_0x1d98de);const _0x664ead=this[_0x345849(0x55f)][_0x345849(0x1a9)](this['program'],_0x345849(0x357));if(_0x664ead){const _0x469c7b=new Float32Array(0x20*0x3),_0x56a98c=_0x5d30b5;for(let _0xfd7db3=0x0;_0xfd7db3<Math[_0x345849(0x169)](_0x56a98c[_0x345849(0x4a7)],0x20);_0xfd7db3++){const _0x36f89b=_0x56a98c[_0xfd7db3][0x1]['color']||'',_0xe733c7=(_0x36f89b||'')[_0x345849(0x14c)]('#',''),_0x2c4852=(parseInt(_0xe733c7[_0x345849(0x3fa)](0x0,0x2),0x10)||0x0)/0xff,_0x80f4aa=(parseInt(_0xe733c7['substring'](0x2,0x4),0x10)||0x0)/0xff,_0x1bd820=(parseInt(_0xe733c7[_0x345849(0x3fa)](0x4,0x6),0x10)||0x0)/0xff;_0x469c7b[_0xfd7db3*0x3+0x0]=_0x2c4852,_0x469c7b[_0xfd7db3*0x3+0x1]=_0x80f4aa,_0x469c7b[_0xfd7db3*0x3+0x2]=_0x1bd820;}this[_0x345849(0x55f)][_0x345849(0x1a7)](_0x664ead,_0x469c7b);}if(this[_0x345849(0x26b)]&&this[_0x345849(0x288)]&&this['u_markedUV']){this[_0x345849(0x55f)]['activeTexture'](this[_0x345849(0x55f)][_0x345849(0x3e1)]),this[_0x345849(0x55f)][_0x345849(0x257)](this[_0x345849(0x55f)][_0x345849(0x162)],this[_0x345849(0x26b)]),this['ctx'][_0x345849(0x452)](this[_0x345849(0x288)],0x1);const _0x185cfb=this['iconsUVMap'][_0x345849(0x213)](_0x345849(0x2d1));_0x185cfb&&this['ctx'][_0x345849(0x4e5)](this[_0x345849(0x3da)],_0x185cfb['x'],_0x185cfb['y'],_0x185cfb[_0x345849(0x3ff)],_0x185cfb[_0x345849(0x3a3)]);if(this[_0x345849(0x2f9)]){const _0x45c447=this[_0x345849(0x5b9)][_0x345849(0x213)](_0x345849(0x49a));_0x45c447&&this['ctx'][_0x345849(0x4e5)](this['u_loadingUV'],_0x45c447['x'],_0x45c447['y'],_0x45c447['width'],_0x45c447[_0x345849(0x3a3)]);}if(this[_0x345849(0x423)]){const _0x197306=this['iconsUVMap'][_0x345849(0x213)](_0x345849(0x582));_0x197306&&this['ctx'][_0x345849(0x4e5)](this[_0x345849(0x423)],_0x197306['x'],_0x197306['y'],_0x197306['width'],_0x197306[_0x345849(0x3a3)]);}}this[_0x345849(0x55f)][_0x345849(0x32b)](this[_0x345849(0x55f)][_0x345849(0x253)]),this['ctx'][_0x345849(0x4fc)](this[_0x345849(0x55f)][_0x345849(0x4d2)],this['ctx']['ONE_MINUS_SRC_ALPHA']),this[_0x345849(0x55f)][_0x345849(0x246)](this[_0x345849(0x55f)][_0x345849(0x21a)],0x0,_0x53c180[_0x345849(0x4a7)]/_0xb52f96);}}[_0x3ad27d(0x279)](){const _0x11d075=_0x3ad27d,_0x48bafb=this[_0x11d075(0x296)](this[_0x11d075(0x55f)][_0x11d075(0x2af)],Overlay_default),_0x2539e1=this[_0x11d075(0x296)](this[_0x11d075(0x55f)][_0x11d075(0x3b2)],Overlay_default2);this['program']=this[_0x11d075(0x137)](_0x48bafb,_0x2539e1),this[_0x11d075(0x4b8)]=this[_0x11d075(0x55f)]['getAttribLocation'](this[_0x11d075(0x1af)],'a_position'),this[_0x11d075(0x27e)]=this[_0x11d075(0x55f)][_0x11d075(0x45d)](this[_0x11d075(0x1af)],_0x11d075(0x27e)),this[_0x11d075(0x159)]=this[_0x11d075(0x55f)][_0x11d075(0x45d)](this[_0x11d075(0x1af)],_0x11d075(0x159)),this[_0x11d075(0x40e)]=this[_0x11d075(0x55f)][_0x11d075(0x45d)](this['program'],_0x11d075(0x40e)),this[_0x11d075(0x47e)]=this[_0x11d075(0x55f)][_0x11d075(0x45d)](this['program'],_0x11d075(0x47e)),this[_0x11d075(0x4fa)]=this[_0x11d075(0x55f)][_0x11d075(0x45d)](this[_0x11d075(0x1af)],'a_error'),this[_0x11d075(0x348)]=this[_0x11d075(0x55f)]['getAttribLocation'](this['program'],'a_priceColorIndex'),this[_0x11d075(0x83)]=this[_0x11d075(0x55f)][_0x11d075(0x45d)](this[_0x11d075(0x1af)],'a_selectedStart'),this[_0x11d075(0x22c)]=this[_0x11d075(0x55f)][_0x11d075(0x45d)](this['program'],'a_deselectedStart'),this[_0x11d075(0xd7)]=this[_0x11d075(0x55f)][_0x11d075(0x1a9)](this[_0x11d075(0x1af)],_0x11d075(0x4be)),this[_0x11d075(0xd1)]=this['ctx']['getUniformLocation'](this[_0x11d075(0x1af)],_0x11d075(0x41d)),this[_0x11d075(0x1c2)]=this['ctx']['getUniformLocation'](this['program'],_0x11d075(0x143)),this[_0x11d075(0x52a)]=this[_0x11d075(0x55f)][_0x11d075(0x1a9)](this[_0x11d075(0x1af)],_0x11d075(0x1d4)),this[_0x11d075(0x4e6)]=this[_0x11d075(0x55f)][_0x11d075(0x1a9)](this[_0x11d075(0x1af)],_0x11d075(0x4e6)),this[_0x11d075(0x4e0)]=this[_0x11d075(0x55f)]['getUniformLocation'](this[_0x11d075(0x1af)],'u_rotationZ'),this['u_perspectiveZ']=this[_0x11d075(0x55f)][_0x11d075(0x1a9)](this[_0x11d075(0x1af)],_0x11d075(0x100)),this[_0x11d075(0x2b5)]=this[_0x11d075(0x55f)][_0x11d075(0x1a9)](this[_0x11d075(0x1af)],_0x11d075(0x2b5)),this[_0x11d075(0x527)]=this[_0x11d075(0x55f)][_0x11d075(0x1a9)](this[_0x11d075(0x1af)],_0x11d075(0x527)),this[_0x11d075(0x28f)]=this['ctx'][_0x11d075(0x1a9)](this['program'],_0x11d075(0x28f)),this[_0x11d075(0x407)]=this[_0x11d075(0x55f)][_0x11d075(0x1a9)](this[_0x11d075(0x1af)],'u_pulseDuration'),this[_0x11d075(0x288)]=this['ctx'][_0x11d075(0x1a9)](this['program'],'u_iconAtlas'),this['u_markedUV']=this[_0x11d075(0x55f)][_0x11d075(0x1a9)](this['program'],_0x11d075(0x3da)),this['u_loadingUV']=this['ctx'][_0x11d075(0x1a9)](this[_0x11d075(0x1af)],_0x11d075(0x2f9)),this['u_loadingColor']=this[_0x11d075(0x55f)][_0x11d075(0x1a9)](this[_0x11d075(0x1af)],_0x11d075(0x58e)),this[_0x11d075(0x423)]=this['ctx'][_0x11d075(0x1a9)](this[_0x11d075(0x1af)],_0x11d075(0x423)),this['u_errorColor']=this[_0x11d075(0x55f)][_0x11d075(0x1a9)](this[_0x11d075(0x1af)],'u_errorColor'),this[_0x11d075(0x8c)]=this[_0x11d075(0x55f)]['getUniformLocation'](this['program'],_0x11d075(0x8c));}[_0x3ad27d(0x296)](_0x35df04,_0x1326bc){const _0x59e519=_0x3ad27d,_0x1422f1=this[_0x59e519(0x55f)][_0x59e519(0x296)](_0x35df04);this[_0x59e519(0x55f)][_0x59e519(0x4eb)](_0x1422f1,_0x1326bc),this[_0x59e519(0x55f)][_0x59e519(0x421)](_0x1422f1);const _0x337b38=this[_0x59e519(0x55f)][_0x59e519(0x4e1)](_0x1422f1,this[_0x59e519(0x55f)][_0x59e519(0xa2)]);if(!_0x337b38){const _0x1cbe1c=this['ctx']['getShaderInfoLog'](_0x1422f1)||_0x59e519(0x264);console[_0x59e519(0x582)](_0x59e519(0x4b1),_0x1cbe1c);}return _0x1422f1;}[_0x3ad27d(0x137)](_0x39b31a,_0x3f39fb){const _0x4dbf4f=_0x3ad27d,_0xfb9557=this['ctx'][_0x4dbf4f(0x137)]();this[_0x4dbf4f(0x55f)][_0x4dbf4f(0x31d)](_0xfb9557,_0x39b31a),this[_0x4dbf4f(0x55f)][_0x4dbf4f(0x31d)](_0xfb9557,_0x3f39fb),this['ctx']['linkProgram'](_0xfb9557);const _0x18002a=this[_0x4dbf4f(0x55f)][_0x4dbf4f(0x4e4)](_0xfb9557,this[_0x4dbf4f(0x55f)][_0x4dbf4f(0x49c)]);if(!_0x18002a){const _0xb326d3=this[_0x4dbf4f(0x55f)]['getProgramInfoLog'](_0xfb9557)||_0x4dbf4f(0x4f7);console[_0x4dbf4f(0x582)]('OverlayRenderer\x20program\x20link\x20error:',_0xb326d3);}return _0xfb9557;}},ICON_VALUES=RESERVED_ICON_VALUES,processSeat=(_0x5f126f,_0x54096f,_0x5d4f15,_0x14a249,_0xd6d80c=ICON_VALUES[_0x3ad27d(0x44c)])=>{const _0x4d9879=_0x3ad27d;var _0x1ae685,_0x5eeecf,_0x442c36,_0x47a840;const _0x476131=_0x54096f[_0x4d9879(0x3f7)][_0x4d9879(0x439)][_0x4d9879(0x2cc)],_0x1167d0=_0x5f126f['locked']?_0x476131[_0x4d9879(0x44c)]:_0x5f126f['filtered']?_0x476131[_0x4d9879(0x211)]:_0x476131[_0x4d9879(0x4d9)];if(!_0x1167d0)return{'position':[],'iconType':_0xd6d80c,'priceColorIndex':-0x1,'size':0x6};const _0x2ed4d6=(_0x5eeecf=(_0x1ae685=_0x54096f[_0x4d9879(0x3f7)])[_0x4d9879(0x5b0)])==null?void 0x0:_0x5eeecf['call'](_0x1ae685,{'context':_0x54096f,'seat':_0x5f126f,'style':_0x1167d0,'state':'default'}),_0x439e87=[_0x5f126f['x'],_0x5f126f['y']];let _0x337c00=_0xd6d80c,_0x38a7dd=-0x1;const _0x31489b=(_0x5f126f[_0x4d9879(0xac)]?(_0x442c36=_0x1167d0['accessible'])==null?void 0x0:_0x442c36[_0x4d9879(0x230)]:_0x2ed4d6==null?void 0x0:_0x2ed4d6[_0x4d9879(0x230)])||_0x1167d0[_0x4d9879(0x230)];if(_0x5f126f[_0x4d9879(0x549)]){_0x38a7dd=_0x5d4f15['findIndex'](_0x5f4361=>_0x5f4361[_0x4d9879(0x549)]===_0x5f126f[_0x4d9879(0x549)]);if(_0x5f126f[_0x4d9879(0xac)])_0x337c00=ICON_VALUES[_0x4d9879(0x1e2)];else{if(_0x5f126f[_0x4d9879(0x110)])_0x337c00=ICON_VALUES[_0x4d9879(0x42f)];else{if(_0x2ed4d6==null?void 0x0:_0x2ed4d6['imageId']){const _0x377476=String(_0x2ed4d6[_0x4d9879(0x38a)]);_0x337c00=(_0x47a840=_0x14a249[_0x377476])!=null?_0x47a840:ICON_VALUES[_0x4d9879(0x4d9)];}else _0x337c00=ICON_VALUES[_0x4d9879(0x44c)];}}}return{'position':_0x439e87,'iconType':_0x337c00,'priceColorIndex':_0x38a7dd,'size':_0x31489b};},hexToRGB=_0x43004a=>{const _0x35ff4d=_0x3ad27d;if(!_0x43004a)return[0x0,0x0,0x0];_0x43004a=_0x43004a['replace']('#','');const _0x3dc571=parseInt(_0x43004a[_0x35ff4d(0x3fa)](0x0,0x2),0x10),_0x1ab6a0=parseInt(_0x43004a[_0x35ff4d(0x3fa)](0x2,0x4),0x10),_0x1550d7=parseInt(_0x43004a[_0x35ff4d(0x3fa)](0x4,0x6),0x10);return[_0x3dc571/0xff,_0x1ab6a0/0xff,_0x1550d7/0xff];},generatePriceCategories=_0x151243=>{const _0x2fd7a7=_0x3ad27d;return Object[_0x2fd7a7(0x44b)](_0x151243['pricesById'])[_0x2fd7a7(0x50f)](([_0x6e935b,_0x13e577])=>{const _0x2e3c73=_0x2fd7a7,_0x30e647=hexToRGB(_0x13e577[_0x2e3c73(0x262)]);return{'priceId':parseInt(_0x6e935b),'colorRGB':_0x30e647};});},createSeatsGeometry=_0x542879=>{const _0x55db0f=_0x3ad27d;var _0x14f12f,_0x8ed6fb;const _0x28ca56=generatePriceCategories(_0x542879),_0x5a2310=Object[_0x55db0f(0x26d)](((_0x8ed6fb=(_0x14f12f=_0x542879[_0x55db0f(0x3f7)])==null?void 0x0:_0x14f12f['theme'])==null?void 0x0:_0x8ed6fb['images'])||{}),_0x370c09=generateIconValues(_0x5a2310);if(!_0x542879[_0x55db0f(0x218)]||_0x542879[_0x55db0f(0x218)][_0x55db0f(0x4a7)]===0x0)return{'positions':[],'iconTypes':[],'priceColorIndices':[],'priceCategories':_0x28ca56,'sizes':[],'seatIds':[]};const _0x31d580=[],_0x244835=[],_0x1f0f73=[],_0x4c1e58=[],_0x543b32=[];for(const _0x4cda7f of _0x542879[_0x55db0f(0x218)]){const {position:_0x31db38,iconType:_0x20a7ba,priceColorIndex:_0x2ab8d5,size:_0x365686}=processSeat(_0x4cda7f,_0x542879,_0x28ca56,_0x370c09);_0x31db38[_0x55db0f(0x4a7)]>0x0&&(_0x31d580[_0x55db0f(0x244)](..._0x31db38),_0x244835[_0x55db0f(0x244)](_0x20a7ba),_0x1f0f73[_0x55db0f(0x244)](_0x2ab8d5),_0x4c1e58['push'](_0x365686),_0x543b32[_0x55db0f(0x244)](_0x4cda7f['id']));}return{'positions':_0x31d580,'iconTypes':_0x244835,'priceColorIndices':_0x1f0f73,'priceCategories':_0x28ca56,'sizes':_0x4c1e58,'seatIds':_0x543b32};},setPriceColors=(_0x2b48db,_0x3b4bcc,_0x453ce7)=>{const _0x2f227e=_0x3ad27d,_0x266894=new Float32Array(0x20*0x3);Array['isArray'](_0x453ce7)?_0x453ce7[_0x2f227e(0x556)]((_0x5cf6c7,_0x1e3aa2)=>{const _0x347cae=_0x2f227e,_0xf024b4=_0x5cf6c7[_0x347cae(0x106)];_0x266894[_0x1e3aa2*0x3]=_0xf024b4[0x0]||0x0,_0x266894[_0x1e3aa2*0x3+0x1]=_0xf024b4[0x1]||0x0,_0x266894[_0x1e3aa2*0x3+0x2]=_0xf024b4[0x2]||0x0;}):console[_0x2f227e(0x582)](_0x2f227e(0x2ec));_0x2b48db[_0x2f227e(0x394)](_0x3b4bcc);const _0x102f1d=_0x2b48db['getUniformLocation'](_0x3b4bcc,'priceColors');_0x2b48db[_0x2f227e(0x1a7)](_0x102f1d,_0x266894);},dpr3=window['devicePixelRatio'],SeatsRenderer=class{constructor(_0x201d51,_0x515d32,_0x221e33,_0x382800){const _0x3f210c=_0x3ad27d;this['program']=null,this[_0x3f210c(0x4b8)]=-0x1,this[_0x3f210c(0x21e)]=-0x1,this[_0x3f210c(0x348)]=-0x1,this[_0x3f210c(0x27e)]=-0x1,this[_0x3f210c(0x4f3)]=-0x1,this[_0x3f210c(0xbe)]=-0x1,this[_0x3f210c(0x1c2)]=null,this[_0x3f210c(0x52a)]=null,this[_0x3f210c(0xd7)]=null,this[_0x3f210c(0xd1)]=null,this[_0x3f210c(0x1ce)]=null,this[_0x3f210c(0x4e6)]=null,this[_0x3f210c(0x4e0)]=null,this['u_perspectiveZ']=null,this['u_tiltX']=null,this[_0x3f210c(0xb2)]=null,this[_0x3f210c(0x466)]=null,this[_0x3f210c(0x585)]=null,this[_0x3f210c(0x2cd)]=null,this[_0x3f210c(0x2a7)]=null,this[_0x3f210c(0x4cd)]=null,this[_0x3f210c(0x29c)]=[],this['seatIds']=[],this['staticGeometryValid']=![],this[_0x3f210c(0x252)]=null,this[_0x3f210c(0x190)]=0x0,this[_0x3f210c(0x4f2)]='',this[_0x3f210c(0x85)]=null,this[_0x3f210c(0x593)]=!![],this[_0x3f210c(0x3e7)]={},this[_0x3f210c(0x26b)]=null,this[_0x3f210c(0x5b9)]=new Map(),this[_0x3f210c(0x2a8)]=null,this[_0x3f210c(0x288)]=null,this[_0x3f210c(0x55f)]=_0x201d51,this[_0x3f210c(0x170)]=_0x515d32,this[_0x3f210c(0x2f7)]=_0x221e33,this['getStageHeightPx']=_0x382800,this[_0x3f210c(0x279)]();}[_0x3ad27d(0x2d3)](){const _0x1e143b=_0x3ad27d;this[_0x1e143b(0x5a4)]=![];}[_0x3ad27d(0x3d0)](){const _0x2d94f6=_0x3ad27d;this[_0x2d94f6(0x593)]=!![];}['setIconsData'](_0x21a673,_0x83ae1,_0x4a7355){const _0x366917=_0x3ad27d;this[_0x366917(0x26b)]=_0x21a673,this[_0x366917(0x5b9)]=_0x83ae1,this['iconValues']=_0x4a7355;}['draw'](_0x1deff4,_0x1e58a7){const _0x5b0b9f=_0x3ad27d;if(!this['program'])return;this[_0x5b0b9f(0x189)](),this['updatePricePaletteUniformIfChanged'](),this[_0x5b0b9f(0x82)](),this[_0x5b0b9f(0x182)](),this[_0x5b0b9f(0x55f)][_0x5b0b9f(0x394)](this[_0x5b0b9f(0x1af)]),this[_0x5b0b9f(0x337)](this['seatsPositionBuffer'],this[_0x5b0b9f(0x4b8)],0x2),this[_0x5b0b9f(0x337)](this['seatsAvailabilityBuffer'],this['a_iconsTypes'],0x1),this['bindAttrib'](this[_0x5b0b9f(0x585)],this['a_priceColorIndex'],0x1),this[_0x5b0b9f(0x337)](this[_0x5b0b9f(0x2cd)],this[_0x5b0b9f(0x27e)],0x1),this[_0x5b0b9f(0x337)](this[_0x5b0b9f(0x2a7)],this[_0x5b0b9f(0x4f3)],0x1),this[_0x5b0b9f(0x337)](this[_0x5b0b9f(0x4cd)],this[_0x5b0b9f(0xbe)],0x1),this[_0x5b0b9f(0x55f)][_0x5b0b9f(0x37b)](this[_0x5b0b9f(0x1c2)],_0x1deff4),this['ctx'][_0x5b0b9f(0x1c7)](this[_0x5b0b9f(0x52a)],[_0x1e58a7['x'],_0x1e58a7['y']]),this[_0x5b0b9f(0x55f)][_0x5b0b9f(0x37b)](this[_0x5b0b9f(0xd7)],this[_0x5b0b9f(0x2f7)]()),this['ctx']['uniform1f'](this[_0x5b0b9f(0xd1)],this[_0x5b0b9f(0x594)]()),this[_0x5b0b9f(0x55f)]['uniform1f'](this[_0x5b0b9f(0x1ce)],dpr3),this[_0x5b0b9f(0x55f)]['uniform1i'](this[_0x5b0b9f(0x4e6)],this['appContext'][_0x5b0b9f(0x1a0)]?0x1:0x0),this[_0x5b0b9f(0x55f)][_0x5b0b9f(0x37b)](this[_0x5b0b9f(0x4e0)],this['appContext']['rotationZ']),this[_0x5b0b9f(0x55f)][_0x5b0b9f(0x37b)](this[_0x5b0b9f(0x100)],this['appContext']['perspectiveZ']),this[_0x5b0b9f(0x55f)][_0x5b0b9f(0x37b)](this[_0x5b0b9f(0x2b5)],this[_0x5b0b9f(0x170)][_0x5b0b9f(0x422)]),this['setupIconUniforms'](),this['ctx']['enable'](this[_0x5b0b9f(0x55f)][_0x5b0b9f(0x253)]),this[_0x5b0b9f(0x55f)]['blendFunc'](this[_0x5b0b9f(0x55f)][_0x5b0b9f(0x4d2)],this[_0x5b0b9f(0x55f)][_0x5b0b9f(0x220)]);const _0x811aab=this[_0x5b0b9f(0x29c)][_0x5b0b9f(0x4a7)]/0x2;this[_0x5b0b9f(0x55f)][_0x5b0b9f(0x246)](this[_0x5b0b9f(0x55f)]['POINTS'],0x0,_0x811aab);}[_0x3ad27d(0x189)](){const _0x1d8903=_0x3ad27d,_0x1e0efe=this[_0x1d8903(0x170)][_0x1d8903(0x218)],_0x5c5581=Array['isArray'](_0x1e0efe)?_0x1e0efe[_0x1d8903(0x4a7)]:0x0;if(!this[_0x1d8903(0x5a4)]||_0x1e0efe!==this[_0x1d8903(0x252)]||_0x5c5581!==this['lastSeatsCount']){const _0x438bb4=createSeatsGeometry(this[_0x1d8903(0x170)]);if(!_0x438bb4)return;const {positions:_0x2ea013,iconTypes:_0x3ade70,sizes:_0x492091,seatIds:_0x435b20}=_0x438bb4;this[_0x1d8903(0x29c)]=_0x2ea013,this[_0x1d8903(0x445)]=_0x435b20,this['seatsPositionBuffer']=this[_0x1d8903(0x4f8)](this[_0x1d8903(0xb2)],_0x2ea013,this[_0x1d8903(0x55f)][_0x1d8903(0x531)]),this[_0x1d8903(0x466)]=this['fillBufferWithUsage'](this[_0x1d8903(0x466)],_0x3ade70,this['ctx']['STATIC_DRAW']),this[_0x1d8903(0x2cd)]=this[_0x1d8903(0x4f8)](this[_0x1d8903(0x2cd)],_0x492091,this[_0x1d8903(0x55f)][_0x1d8903(0x531)]),this[_0x1d8903(0x585)]=this[_0x1d8903(0x259)](this[_0x1d8903(0x585)],_0x435b20[_0x1d8903(0x4a7)]);const _0x5efb10=new Float32Array(_0x435b20[_0x1d8903(0x4a7)]);this[_0x1d8903(0x2a7)]=this[_0x1d8903(0x1a5)](this[_0x1d8903(0x2a7)],_0x5efb10,this[_0x1d8903(0x55f)][_0x1d8903(0x531)]),this[_0x1d8903(0x4cd)]=this['fillBufferFloat32'](this[_0x1d8903(0x4cd)],_0x5efb10,this[_0x1d8903(0x55f)]['STATIC_DRAW']),this[_0x1d8903(0x252)]=_0x1e0efe,this[_0x1d8903(0x190)]=_0x5c5581,this['staticGeometryValid']=!![],this[_0x1d8903(0x85)]=null,this[_0x1d8903(0x593)]=!![];}}[_0x3ad27d(0x265)](){const _0x2c99d8=_0x3ad27d,_0x529281=Object[_0x2c99d8(0x44b)](this['appContext'][_0x2c99d8(0x18b)]||{}),_0x302d16=_0x529281[_0x2c99d8(0x50f)](([_0x65e4b6,_0x1a6bdf])=>_0x65e4b6+':'+(_0x1a6bdf&&_0x1a6bdf[_0x2c99d8(0x262)]||''))[_0x2c99d8(0x2fb)]('|');if(_0x302d16!==this['lastPricePaletteSignature']){const _0x213662=_0x529281[_0x2c99d8(0x50f)](([_0x58021a,_0x493e75])=>({'priceId':parseInt(_0x58021a),'colorRGB':this[_0x2c99d8(0x179)](_0x493e75&&_0x493e75[_0x2c99d8(0x262)]||'')}));setPriceColors(this['ctx'],this[_0x2c99d8(0x1af)],_0x213662),this[_0x2c99d8(0x4f2)]=_0x302d16,this['cachedPriceColorIndices']=null,this[_0x2c99d8(0x3e7)]={};for(let _0x19350b=0x0;_0x19350b<_0x529281[_0x2c99d8(0x4a7)];_0x19350b++){this[_0x2c99d8(0x3e7)][Number(_0x529281[_0x19350b][0x0])]=_0x19350b;}this[_0x2c99d8(0x593)]=!![];}}[_0x3ad27d(0x82)](){const _0x4db936=_0x3ad27d;var _0x59e1f3;if(this[_0x4db936(0x445)][_0x4db936(0x4a7)]===0x0)return;if(!this[_0x4db936(0x593)]&&this[_0x4db936(0x85)])return;const _0x1167db=new Float32Array(this[_0x4db936(0x445)][_0x4db936(0x4a7)]);for(let _0x503f9c=0x0;_0x503f9c<this[_0x4db936(0x445)][_0x4db936(0x4a7)];_0x503f9c++){const _0x2dcccd=this[_0x4db936(0x445)][_0x503f9c],_0x51ec51=(_0x59e1f3=this[_0x4db936(0x170)][_0x4db936(0x101)])==null?void 0x0:_0x59e1f3[_0x2dcccd],_0x50dd1e=_0x51ec51?_0x51ec51['priceId']:void 0x0;_0x1167db[_0x503f9c]=_0x50dd1e!==void 0x0&&_0x50dd1e!==null&&this[_0x4db936(0x3e7)][Number(_0x50dd1e)]!==void 0x0?this[_0x4db936(0x3e7)][Number(_0x50dd1e)]:-0x1;}const _0x12d364=!this[_0x4db936(0x85)]||this[_0x4db936(0x85)][_0x4db936(0x4a7)]!==_0x1167db[_0x4db936(0x4a7)]||!this['areFloat32ArraysEqual'](this['cachedPriceColorIndices'],_0x1167db);_0x12d364&&(this[_0x4db936(0x585)]=this[_0x4db936(0x1a5)](this[_0x4db936(0x585)],_0x1167db,this['ctx']['DYNAMIC_DRAW']),this[_0x4db936(0x85)]=_0x1167db),this[_0x4db936(0x593)]=![];}[_0x3ad27d(0x182)](){}[_0x3ad27d(0x279)](){const _0x53beab=_0x3ad27d,_0x54fb8a=this[_0x53beab(0x296)](this[_0x53beab(0x55f)][_0x53beab(0x2af)],Seats_default),_0x4ea8d0=this[_0x53beab(0x296)](this['ctx']['FRAGMENT_SHADER'],Seats_default2);this[_0x53beab(0x1af)]=this[_0x53beab(0x137)](_0x54fb8a,_0x4ea8d0),this[_0x53beab(0x4b8)]=this[_0x53beab(0x55f)][_0x53beab(0x45d)](this[_0x53beab(0x1af)],_0x53beab(0x163)),this[_0x53beab(0x21e)]=this['ctx'][_0x53beab(0x45d)](this['program'],'iconsTypes'),this[_0x53beab(0x348)]=this[_0x53beab(0x55f)][_0x53beab(0x45d)](this[_0x53beab(0x1af)],'priceColorIndex'),this[_0x53beab(0x27e)]=this[_0x53beab(0x55f)]['getAttribLocation'](this[_0x53beab(0x1af)],_0x53beab(0x230)),this['a_selectedFlag']=this[_0x53beab(0x55f)][_0x53beab(0x45d)](this[_0x53beab(0x1af)],_0x53beab(0x254)),this['a_hoveredFlag']=this['ctx']['getAttribLocation'](this[_0x53beab(0x1af)],_0x53beab(0xc8)),this['u_scale']=this[_0x53beab(0x55f)][_0x53beab(0x1a9)](this[_0x53beab(0x1af)],_0x53beab(0x143)),this[_0x53beab(0x52a)]=this[_0x53beab(0x55f)][_0x53beab(0x1a9)](this[_0x53beab(0x1af)],'translate'),this[_0x53beab(0xd7)]=this['ctx']['getUniformLocation'](this[_0x53beab(0x1af)],_0x53beab(0x4be)),this['u_stageHeight']=this['ctx']['getUniformLocation'](this[_0x53beab(0x1af)],_0x53beab(0x41d)),this[_0x53beab(0x1ce)]=this['ctx']['getUniformLocation'](this[_0x53beab(0x1af)],_0x53beab(0x56f)),this[_0x53beab(0x4e6)]=this[_0x53beab(0x55f)][_0x53beab(0x1a9)](this[_0x53beab(0x1af)],_0x53beab(0x4e6)),this[_0x53beab(0x4e0)]=this[_0x53beab(0x55f)][_0x53beab(0x1a9)](this[_0x53beab(0x1af)],_0x53beab(0x4e0)),this['u_perspectiveZ']=this[_0x53beab(0x55f)]['getUniformLocation'](this['program'],'u_perspectiveZ'),this[_0x53beab(0x2b5)]=this['ctx']['getUniformLocation'](this[_0x53beab(0x1af)],_0x53beab(0x2b5)),this[_0x53beab(0x288)]=this[_0x53beab(0x55f)][_0x53beab(0x1a9)](this[_0x53beab(0x1af)],_0x53beab(0x288));}[_0x3ad27d(0x296)](_0x221d87,_0x5e8653){const _0x15f87b=_0x3ad27d,_0x1ba0e5=this['ctx']['createShader'](_0x221d87);return this['ctx'][_0x15f87b(0x4eb)](_0x1ba0e5,_0x5e8653),this[_0x15f87b(0x55f)]['compileShader'](_0x1ba0e5),_0x1ba0e5;}[_0x3ad27d(0x137)](_0xc8b235,_0x138283){const _0x119059=_0x3ad27d,_0x39402a=this[_0x119059(0x55f)]['createProgram']();return this[_0x119059(0x55f)][_0x119059(0x31d)](_0x39402a,_0xc8b235),this[_0x119059(0x55f)][_0x119059(0x31d)](_0x39402a,_0x138283),this[_0x119059(0x55f)][_0x119059(0x39b)](_0x39402a),_0x39402a;}[_0x3ad27d(0x4f8)](_0x5ee14d,_0x21fba9,_0x43e6dd){const _0x1e47ef=_0x3ad27d;if(!_0x5ee14d)_0x5ee14d=this[_0x1e47ef(0x55f)][_0x1e47ef(0x322)]();return this['ctx'][_0x1e47ef(0x3d3)](this[_0x1e47ef(0x55f)][_0x1e47ef(0x15f)],_0x5ee14d),this[_0x1e47ef(0x55f)][_0x1e47ef(0x263)](this[_0x1e47ef(0x55f)]['ARRAY_BUFFER'],new Float32Array(_0x21fba9),_0x43e6dd),_0x5ee14d;}[_0x3ad27d(0x1a5)](_0x4074ed,_0x38430b,_0x128127){const _0x38447f=_0x3ad27d;if(!_0x4074ed)_0x4074ed=this[_0x38447f(0x55f)][_0x38447f(0x322)]();return this[_0x38447f(0x55f)][_0x38447f(0x3d3)](this[_0x38447f(0x55f)][_0x38447f(0x15f)],_0x4074ed),this[_0x38447f(0x55f)][_0x38447f(0x263)](this['ctx']['ARRAY_BUFFER'],_0x38430b,_0x128127),_0x4074ed;}[_0x3ad27d(0x259)](_0x1b11ca,_0x4eb009){const _0x351509=_0x3ad27d;if(!_0x1b11ca)_0x1b11ca=this[_0x351509(0x55f)]['createBuffer']();return this['ctx'][_0x351509(0x3d3)](this[_0x351509(0x55f)]['ARRAY_BUFFER'],_0x1b11ca),this['ctx'][_0x351509(0x263)](this['ctx'][_0x351509(0x15f)],_0x4eb009*0x4,this['ctx'][_0x351509(0x1b5)]),_0x1b11ca;}[_0x3ad27d(0x337)](_0x3ac466,_0x2bb0f1,_0x50702b){const _0x2bb270=_0x3ad27d;this['ctx'][_0x2bb270(0x3d3)](this[_0x2bb270(0x55f)]['ARRAY_BUFFER'],_0x3ac466),this[_0x2bb270(0x55f)][_0x2bb270(0x580)](_0x2bb0f1),this[_0x2bb270(0x55f)]['vertexAttribPointer'](_0x2bb0f1,_0x50702b,this[_0x2bb270(0x55f)][_0x2bb270(0xed)],![],0x0,0x0);}['setupIconUniforms'](){const _0x77beca=_0x3ad27d;if(!this[_0x77beca(0x26b)]||!this[_0x77beca(0x1af)]||!this['iconValues'])return;this[_0x77beca(0x55f)][_0x77beca(0x417)](this[_0x77beca(0x55f)][_0x77beca(0x181)]),this[_0x77beca(0x55f)][_0x77beca(0x257)](this['ctx'][_0x77beca(0x162)],this[_0x77beca(0x26b)]),this[_0x77beca(0x55f)][_0x77beca(0x452)](this['u_iconAtlas'],0x0);const _0x507b7f=this[_0x77beca(0x5b9)][_0x77beca(0x230)],_0x5e5e7b=this[_0x77beca(0x55f)]['getUniformLocation'](this[_0x77beca(0x1af)],_0x77beca(0x216));this[_0x77beca(0x55f)][_0x77beca(0x452)](_0x5e5e7b,_0x507b7f);const _0x444e04=[],_0x4305dd=[];this['iconsUVMap']['forEach']((_0x204717,_0x3c9802)=>{const _0x784147=_0x77beca;var _0x4d78fb;_0x444e04['push'](_0x204717['x'],_0x204717['y'],_0x204717[_0x784147(0x3ff)],_0x204717[_0x784147(0x3a3)]),_0x4305dd['push']((_0x4d78fb=this['iconValues'][_0x3c9802])!=null?_0x4d78fb:0x0);});const _0x1e898f=this[_0x77beca(0x55f)][_0x77beca(0x1a9)](this[_0x77beca(0x1af)],_0x77beca(0x27c));this['ctx'][_0x77beca(0x3ad)](_0x1e898f,new Float32Array(_0x444e04));const _0x3b0350=this[_0x77beca(0x55f)][_0x77beca(0x1a9)](this['program'],_0x77beca(0x395));this['ctx']['uniform1fv'](_0x3b0350,new Float32Array(_0x4305dd));}['areFloat32ArraysEqual'](_0x4e40eb,_0x86196b){const _0x564273=_0x3ad27d;if(_0x4e40eb['length']!==_0x86196b[_0x564273(0x4a7)])return![];for(let _0x34ad01=0x0;_0x34ad01<_0x4e40eb[_0x564273(0x4a7)];_0x34ad01++){if(_0x4e40eb[_0x34ad01]!==_0x86196b[_0x34ad01])return![];}return!![];}[_0x3ad27d(0x179)](_0x1945dd){const _0x49ee09=_0x3ad27d,_0x2f290e=(_0x1945dd||'')['replace']('#','');if(!_0x2f290e||_0x2f290e['length']<0x6)return[0x0,0x0,0x0];const _0x3fd408=parseInt(_0x2f290e[_0x49ee09(0x3fa)](0x0,0x2),0x10)/0xff,_0x49e91e=parseInt(_0x2f290e['substring'](0x2,0x4),0x10)/0xff,_0x1dd268=parseInt(_0x2f290e[_0x49ee09(0x3fa)](0x4,0x6),0x10)/0xff;return[_0x3fd408,_0x49e91e,_0x1dd268];}},BackgroundRenderer=class{constructor(_0xf3e1ff,_0x39917b){const _0x329115=_0x3ad27d;this['program']=null,this[_0x329115(0x2aa)]=-0x1,this['texcoordLocation']=-0x1,this[_0x329115(0x40d)]=null,this[_0x329115(0x1c2)]=null,this[_0x329115(0x52a)]=null,this[_0x329115(0x4d7)]=null,this['u_image0']=null,this[_0x329115(0x346)]=null,this[_0x329115(0x4e6)]=null,this['u_rotationZ']=null,this['u_perspectiveZ']=null,this['u_tiltX']=null,this['texcoordBuffer']=null,this[_0x329115(0x2bc)]=null,this[_0x329115(0x55f)]=_0xf3e1ff,this[_0x329115(0x170)]=_0x39917b,this[_0x329115(0x279)]();}['draw'](_0x119255,_0x5d6af5,_0x5304b9,_0xa4e0b2,_0x16b856,_0x66bf3c){const _0x2914cc=_0x3ad27d;if(!this[_0x2914cc(0x1af)]||!_0x16b856||!_0x5304b9)return;if(!this[_0x2914cc(0x2bc)])this[_0x2914cc(0x2bc)]=this[_0x2914cc(0x55f)][_0x2914cc(0x322)]();this[_0x2914cc(0x55f)]['bindBuffer'](this[_0x2914cc(0x55f)][_0x2914cc(0x15f)],this[_0x2914cc(0x2bc)]),this[_0x2914cc(0x454)](0x0,0x0,_0x16b856[_0x2914cc(0x3ff)],_0x16b856[_0x2914cc(0x3a3)]),!this[_0x2914cc(0xe9)]&&(this[_0x2914cc(0xe9)]=this[_0x2914cc(0x55f)][_0x2914cc(0x322)](),this[_0x2914cc(0x55f)][_0x2914cc(0x3d3)](this[_0x2914cc(0x55f)][_0x2914cc(0x15f)],this[_0x2914cc(0xe9)]),this[_0x2914cc(0x55f)][_0x2914cc(0x263)](this[_0x2914cc(0x55f)][_0x2914cc(0x15f)],new Float32Array([0x0,0x0,0x1,0x0,0x0,0x1,0x0,0x1,0x1,0x0,0x1,0x1]),this[_0x2914cc(0x55f)][_0x2914cc(0x531)])),this[_0x2914cc(0x55f)][_0x2914cc(0x394)](this[_0x2914cc(0x1af)]),this[_0x2914cc(0x55f)][_0x2914cc(0x417)](this[_0x2914cc(0x55f)][_0x2914cc(0x181)]),this[_0x2914cc(0x55f)][_0x2914cc(0x257)](this[_0x2914cc(0x55f)][_0x2914cc(0x162)],_0x5304b9),this[_0x2914cc(0x55f)][_0x2914cc(0x452)](this[_0x2914cc(0x4bc)],0x0),this['ctx'][_0x2914cc(0x417)](this[_0x2914cc(0x55f)][_0x2914cc(0x3e1)]),this[_0x2914cc(0x55f)]['bindTexture'](this['ctx']['TEXTURE_2D'],_0xa4e0b2||_0x5304b9),this['ctx'][_0x2914cc(0x452)](this[_0x2914cc(0x346)],0x1),this[_0x2914cc(0x55f)][_0x2914cc(0x3d3)](this[_0x2914cc(0x55f)][_0x2914cc(0x15f)],this[_0x2914cc(0x2bc)]),this[_0x2914cc(0x55f)][_0x2914cc(0x580)](this[_0x2914cc(0x2aa)]),this[_0x2914cc(0x55f)][_0x2914cc(0x35b)](this[_0x2914cc(0x2aa)],0x2,this['ctx'][_0x2914cc(0xed)],![],0x0,0x0),this[_0x2914cc(0x55f)][_0x2914cc(0x3d3)](this[_0x2914cc(0x55f)]['ARRAY_BUFFER'],this['texcoordBuffer']),this[_0x2914cc(0x55f)][_0x2914cc(0x580)](this[_0x2914cc(0x3b1)]),this[_0x2914cc(0x55f)][_0x2914cc(0x35b)](this[_0x2914cc(0x3b1)],0x2,this[_0x2914cc(0x55f)][_0x2914cc(0xed)],![],0x0,0x0),this[_0x2914cc(0x55f)][_0x2914cc(0x19c)](this[_0x2914cc(0x40d)],this[_0x2914cc(0x55f)][_0x2914cc(0x48d)][_0x2914cc(0x3ff)],this[_0x2914cc(0x55f)][_0x2914cc(0x48d)][_0x2914cc(0x3a3)]),this[_0x2914cc(0x55f)]['uniform1f'](this[_0x2914cc(0x1c2)],_0x119255),this['ctx'][_0x2914cc(0x19c)](this[_0x2914cc(0x52a)],_0x5d6af5['x'],_0x5d6af5['y']),this[_0x2914cc(0x55f)][_0x2914cc(0x37b)](this['u_mix'],_0x66bf3c),this[_0x2914cc(0x55f)][_0x2914cc(0x452)](this[_0x2914cc(0x4e6)],this[_0x2914cc(0x170)][_0x2914cc(0x1a0)]?0x1:0x0),this['ctx'][_0x2914cc(0x37b)](this[_0x2914cc(0x4e0)],this[_0x2914cc(0x170)][_0x2914cc(0x40c)]),this[_0x2914cc(0x55f)][_0x2914cc(0x37b)](this['u_perspectiveZ'],this[_0x2914cc(0x170)][_0x2914cc(0x3c7)]),this[_0x2914cc(0x55f)][_0x2914cc(0x37b)](this[_0x2914cc(0x2b5)],this[_0x2914cc(0x170)][_0x2914cc(0x422)]),this[_0x2914cc(0x55f)][_0x2914cc(0x246)](this[_0x2914cc(0x55f)][_0x2914cc(0x450)],0x0,0x6);}['initializeProgram'](){const _0xce35da=_0x3ad27d,_0x407ea8=this['createShader'](this[_0xce35da(0x55f)][_0xce35da(0x2af)],Background_default),_0x5664a7=this[_0xce35da(0x296)](this[_0xce35da(0x55f)][_0xce35da(0x3b2)],Background_default2);this[_0xce35da(0x1af)]=this[_0xce35da(0x137)](_0x407ea8,_0x5664a7),this[_0xce35da(0x2aa)]=this['ctx']['getAttribLocation'](this['program'],_0xce35da(0x4b8)),this[_0xce35da(0x3b1)]=this['ctx'][_0xce35da(0x45d)](this[_0xce35da(0x1af)],_0xce35da(0x267)),this[_0xce35da(0x40d)]=this[_0xce35da(0x55f)][_0xce35da(0x1a9)](this[_0xce35da(0x1af)],'u_resolution'),this[_0xce35da(0x1c2)]=this[_0xce35da(0x55f)][_0xce35da(0x1a9)](this[_0xce35da(0x1af)],_0xce35da(0x1c2)),this['u_translate']=this[_0xce35da(0x55f)][_0xce35da(0x1a9)](this[_0xce35da(0x1af)],_0xce35da(0x52a)),this[_0xce35da(0x4d7)]=this[_0xce35da(0x55f)][_0xce35da(0x1a9)](this[_0xce35da(0x1af)],_0xce35da(0x4d7)),this['u_image0']=this[_0xce35da(0x55f)][_0xce35da(0x1a9)](this[_0xce35da(0x1af)],'u_image0'),this[_0xce35da(0x346)]=this['ctx'][_0xce35da(0x1a9)](this[_0xce35da(0x1af)],'u_image1'),this[_0xce35da(0x4e6)]=this[_0xce35da(0x55f)]['getUniformLocation'](this[_0xce35da(0x1af)],_0xce35da(0x4e6)),this[_0xce35da(0x4e0)]=this['ctx'][_0xce35da(0x1a9)](this['program'],_0xce35da(0x4e0)),this[_0xce35da(0x100)]=this[_0xce35da(0x55f)][_0xce35da(0x1a9)](this[_0xce35da(0x1af)],'u_perspectiveZ'),this[_0xce35da(0x2b5)]=this[_0xce35da(0x55f)][_0xce35da(0x1a9)](this[_0xce35da(0x1af)],_0xce35da(0x2b5));}[_0x3ad27d(0x296)](_0x4ba1e8,_0x23ddb0){const _0x5c30b7=_0x3ad27d,_0x25a515=this[_0x5c30b7(0x55f)][_0x5c30b7(0x296)](_0x4ba1e8);return this[_0x5c30b7(0x55f)]['shaderSource'](_0x25a515,_0x23ddb0),this[_0x5c30b7(0x55f)]['compileShader'](_0x25a515),_0x25a515;}[_0x3ad27d(0x137)](_0x1bfc88,_0x63b755){const _0x4e5be9=_0x3ad27d,_0x55a2ac=this[_0x4e5be9(0x55f)]['createProgram']();return this[_0x4e5be9(0x55f)][_0x4e5be9(0x31d)](_0x55a2ac,_0x1bfc88),this[_0x4e5be9(0x55f)][_0x4e5be9(0x31d)](_0x55a2ac,_0x63b755),this[_0x4e5be9(0x55f)][_0x4e5be9(0x39b)](_0x55a2ac),_0x55a2ac;}[_0x3ad27d(0x454)](_0x43ff32,_0x38b037,_0x19fb0e,_0x55a5b8){const _0x305de8=_0x3ad27d,_0x50105f=_0x43ff32,_0x81b29c=_0x43ff32+_0x19fb0e,_0x5ed431=_0x38b037,_0x1b6bc4=_0x38b037+_0x55a5b8;this[_0x305de8(0x55f)][_0x305de8(0x263)](this['ctx'][_0x305de8(0x15f)],new Float32Array([_0x50105f,_0x5ed431,_0x81b29c,_0x5ed431,_0x50105f,_0x1b6bc4,_0x50105f,_0x1b6bc4,_0x81b29c,_0x5ed431,_0x81b29c,_0x1b6bc4]),this[_0x305de8(0x55f)]['STATIC_DRAW']);}},HoverSeatLabel=class{constructor(_0x39bb05,_0x1d5a4b){const _0x3068d7=_0x3ad27d;this[_0x3068d7(0xe5)]=_0x39bb05,this[_0x3068d7(0x380)]=_0x1d5a4b,this[_0x3068d7(0x4fe)]=document[_0x3068d7(0xda)](_0x3068d7(0x34b)),this[_0x3068d7(0x4fe)][_0x3068d7(0x2f5)][_0x3068d7(0x163)]=_0x3068d7(0x9a),this['labelEl'][_0x3068d7(0x2f5)][_0x3068d7(0xb1)]=_0x3068d7(0x2c8),this[_0x3068d7(0x4fe)][_0x3068d7(0x2f5)][_0x3068d7(0x56e)]=_0x3068d7(0x4c5),this['labelEl'][_0x3068d7(0x2f5)][_0x3068d7(0xe6)]=_0x3068d7(0x36f),this[_0x3068d7(0x4fe)][_0x3068d7(0x2f5)]['zIndex']='3',this[_0x3068d7(0x4fe)]['style']['willChange']='transform,\x20left,\x20top',this[_0x3068d7(0x4fe)][_0x3068d7(0x2f5)][_0x3068d7(0x42d)]='none',this[_0x3068d7(0x4dd)](),this[_0x3068d7(0x380)][_0x3068d7(0x308)](this[_0x3068d7(0x4fe)]);}[_0x3ad27d(0x414)](_0x3332f5,_0x173747){const _0x1c0137=_0x3ad27d;var _0x138fde,_0x1e9fc9,_0x1db468;if(this[_0x1c0137(0xe5)]['hoveredRow']){this[_0x1c0137(0x4dd)]();return;}const _0x26baaf=this[_0x1c0137(0xe5)][_0x1c0137(0x25b)];if(!_0x26baaf){this['hide']();return;}const _0x45bd34=_0x26baaf[_0x1c0137(0x318)]||'';if(!_0x45bd34){this[_0x1c0137(0x4dd)]();return;}const _0x28d4db=_0x26baaf[_0x1c0137(0x42c)];if(_0x26baaf[_0x1c0137(0x3fc)]||_0x26baaf[_0x1c0137(0x211)]||((_0x1e9fc9=(_0x138fde=this[_0x1c0137(0xe5)])[_0x1c0137(0x120)])==null?void 0x0:_0x1e9fc9[_0x1c0137(0x33d)](_0x138fde,_0x26baaf['id']))||_0x28d4db===_0x1c0137(0x49a)||_0x28d4db==='error'){this[_0x1c0137(0x4dd)]();return;}if(this[_0x1c0137(0x12e)](_0x26baaf)){this['hide']();return;}const _0x59857f=_0x26baaf['x']*_0x3332f5+_0x173747['x'],_0x1ffabc=_0x26baaf['y']*_0x3332f5+_0x173747['y'];let _0x268d33=_0x59857f,_0x41d906=_0x1ffabc;if(this['context'][_0x1c0137(0x1a0)]){const _0x2cd1cf=window[_0x1c0137(0x338)]||0x1,_0x2824c0=this[_0x1c0137(0x380)][_0x1c0137(0x32f)](_0x1c0137(0x48d)),_0x5344af=(_0x2824c0==null?void 0x0:_0x2824c0[_0x1c0137(0x3ff)])||this['container'][_0x1c0137(0x1ea)]*_0x2cd1cf,_0x46997c=(_0x2824c0==null?void 0x0:_0x2824c0['height'])||this['container'][_0x1c0137(0x160)]*_0x2cd1cf,_0x8e0cd0={'width':_0x5344af,'height':_0x46997c},_0x37cdb5={'rotationZ':-this[_0x1c0137(0xe5)]['rotationZ']||0x0,'perspectiveZ':this[_0x1c0137(0xe5)]['perspectiveZ']||0x0,'tiltX':this[_0x1c0137(0xe5)][_0x1c0137(0x422)]||0x0},_0x30524c=projectPointTo3DView({'x':_0x59857f,'y':_0x1ffabc},_0x8e0cd0,_0x37cdb5);_0x268d33=_0x30524c['x']/_0x2cd1cf,_0x41d906=_0x30524c['y']/_0x2cd1cf;}const _0x125f50=(_0x1db468=this[_0x1c0137(0xe5)]['settings'][_0x1c0137(0x439)])==null?void 0x0:_0x1db468[_0x1c0137(0x2cc)],_0x29c6c8=(_0x125f50==null?void 0x0:_0x125f50['hovered'])||(_0x125f50==null?void 0x0:_0x125f50['default']),_0x3cfdf6=this[_0x1c0137(0xe5)][_0x1c0137(0x3f7)]['onBeforeSeatDraw']?this[_0x1c0137(0xe5)][_0x1c0137(0x3f7)][_0x1c0137(0x5b0)]({'context':this[_0x1c0137(0xe5)],'seat':_0x26baaf,'style':_0x29c6c8,'state':_0x1c0137(0x260)})||_0x29c6c8:_0x29c6c8,_0x27a5e6=_0x3cfdf6==null?void 0x0:_0x3cfdf6[_0x1c0137(0x504)],_0x260b95=this[_0x1c0137(0xe5)][_0x1c0137(0x143)]/window[_0x1c0137(0x338)]>=0.35;if(!_0x27a5e6||!_0x260b95){this['hide']();return;}const _0x30d04c=_0x27a5e6[_0x1c0137(0x2d0)]||'12px\x20Arial,\x20sans-serif',_0x251a03=_0x27a5e6[_0x1c0137(0x262)]||_0x1c0137(0x16f);this[_0x1c0137(0x4fe)][_0x1c0137(0x362)]=_0x45bd34,this[_0x1c0137(0x4fe)][_0x1c0137(0x2f5)][_0x1c0137(0x11e)]=_0x268d33+'px',this[_0x1c0137(0x4fe)][_0x1c0137(0x2f5)][_0x1c0137(0x4c0)]=_0x41d906+0x1+'px',this['labelEl'][_0x1c0137(0x2f5)][_0x1c0137(0x262)]=_0x251a03,this[_0x1c0137(0x4fe)][_0x1c0137(0x2f5)][_0x1c0137(0x2d0)]=_0x30d04c,this[_0x1c0137(0x4fe)][_0x1c0137(0x2f5)][_0x1c0137(0x146)]=_0x1c0137(0x8e);}[_0x3ad27d(0x4b7)](){const _0x376a94=_0x3ad27d;this[_0x376a94(0x4dd)](),this['labelEl'][_0x376a94(0x228)]&&this[_0x376a94(0x4fe)][_0x376a94(0x228)][_0x376a94(0x5b7)](this[_0x376a94(0x4fe)]);}['hide'](){const _0xe06f8f=_0x3ad27d;this[_0xe06f8f(0x4fe)]['style'][_0xe06f8f(0x146)]=_0xe06f8f(0x2c8);}[_0x3ad27d(0x12e)](_0x46d1ae){const _0x4fa2a0=_0x3ad27d;var _0x338868,_0x38207e,_0x58d9c2;try{const _0x1e9a9c=(_0x338868=this[_0x4fa2a0(0xe5)][_0x4fa2a0(0x3f7)][_0x4fa2a0(0x439)])==null?void 0x0:_0x338868[_0x4fa2a0(0x2cc)],_0x5ae694=(_0x46d1ae==null?void 0x0:_0x46d1ae[_0x4fa2a0(0x3fc)])?_0x1e9a9c==null?void 0x0:_0x1e9a9c[_0x4fa2a0(0x44c)]:(_0x46d1ae==null?void 0x0:_0x46d1ae[_0x4fa2a0(0x211)])?_0x1e9a9c==null?void 0x0:_0x1e9a9c[_0x4fa2a0(0x211)]:_0x1e9a9c==null?void 0x0:_0x1e9a9c[_0x4fa2a0(0x4d9)],_0x3993fb=(_0x58d9c2=(_0x38207e=this[_0x4fa2a0(0xe5)][_0x4fa2a0(0x3f7)])[_0x4fa2a0(0x5b0)])==null?void 0x0:_0x58d9c2[_0x4fa2a0(0x33d)](_0x38207e,{'context':this[_0x4fa2a0(0xe5)],'seat':_0x46d1ae,'style':_0x5ae694,'state':_0x4fa2a0(0x4d9)});if(_0x46d1ae==null?void 0x0:_0x46d1ae[_0x4fa2a0(0x110)])return!![];if(_0x3993fb==null?void 0x0:_0x3993fb['imageId'])return!![];if(_0x5ae694==null?void 0x0:_0x5ae694[_0x4fa2a0(0x38a)])return!![];return![];}catch(_0x2ce999){return![];}}},dpr4=window[_0x3ad27d(0x338)],ArkanoidGame=class{constructor(_0x99eacf,_0x498e36,_0x37ba7c,_0x48ff63,_0x469fa6){const _0x2b1f92=_0x3ad27d;this[_0x2b1f92(0x19b)]=![],this[_0x2b1f92(0x495)]=_0x2b1f92(0x227),this[_0x2b1f92(0x5a0)]=0x0,this['fadeDurationMs']=0x15e,this[_0x2b1f92(0x48d)]=null,this[_0x2b1f92(0x3dd)]=null,this['state']=null,this[_0x2b1f92(0xe5)]=_0x99eacf,this[_0x2b1f92(0x276)]=_0x498e36,this[_0x2b1f92(0x461)]=_0x37ba7c,this[_0x2b1f92(0x456)]=_0x48ff63,this[_0x2b1f92(0x3e4)]=_0x469fa6,this[_0x2b1f92(0x152)](),this['attachKeyboardHandlers']();}[_0x3ad27d(0x17f)](){const _0x3340f9=_0x3ad27d;return this[_0x3340f9(0x19b)]||this[_0x3340f9(0x495)]===_0x3340f9(0x1d7);}[_0x3ad27d(0x280)](){const _0x50e6f9=_0x3ad27d,_0x3f1f38=this[_0x50e6f9(0xe5)][_0x50e6f9(0x143)]/dpr4;return _0x3f1f38>=0.75&&_0x3f1f38<=0x1;}['toggle'](){const _0x57482d=_0x3ad27d;this[_0x57482d(0x19b)]=!this['active'],this[_0x57482d(0x19b)]?(this['start'](),this[_0x57482d(0x495)]='fadeIn',this[_0x57482d(0x5a0)]=performance['now'](),this[_0x57482d(0x456)]()):this['requestFadeOut']();}[_0x3ad27d(0x104)](){const _0xb1f15d=_0x3ad27d;if(!this[_0xb1f15d(0x19b)])return;this[_0xb1f15d(0xf5)]();}[_0x3ad27d(0xf5)](){const _0x5f0808=_0x3ad27d;if(this[_0x5f0808(0x495)]==='fadeOut')return;this[_0x5f0808(0x495)]=_0x5f0808(0x1d7),this[_0x5f0808(0x5a0)]=performance[_0x5f0808(0x3a9)](),this[_0x5f0808(0x456)]();}[_0x3ad27d(0x2a1)](){const _0x3c6c6e=_0x3ad27d;if(!this['canvas'])return;const {width:_0x5e7f78,height:_0x3c0504}=this[_0x3c6c6e(0x461)]();this['canvas']['width']=_0x5e7f78*dpr4,this[_0x3c6c6e(0x48d)]['height']=_0x3c0504*dpr4,this[_0x3c6c6e(0x48d)]['style']['width']=_0x5e7f78+'px',this['canvas'][_0x3c6c6e(0x2f5)]['height']=_0x3c0504+'px';if(this[_0x3c6c6e(0x3dd)])this[_0x3c6c6e(0x3dd)][_0x3c6c6e(0x27b)](dpr4,0x0,0x0,dpr4,0x0,0x0);}[_0x3ad27d(0x11c)](_0x27b003){const _0x527774=_0x3ad27d;if(!this['active']||!this['state'])return![];const _0x38449f=this[_0x527774(0x42c)],_0x5911d0=_0x38449f[_0x527774(0x270)]?(_0x27b003-_0x38449f[_0x527774(0x270)])/16.6667:0x1,_0x21dd21=_0x5911d0*16.6667;_0x38449f['lastTime']=_0x27b003;this[_0x527774(0x495)]===_0x527774(0x42a)&&_0x27b003-this[_0x527774(0x5a0)]>=this[_0x527774(0x51b)]&&(this[_0x527774(0x495)]='active');const {width:_0x251664,height:_0x53802f}=this['getStageSize'](),_0xf769e5=0x8*_0x5911d0;if(_0x38449f[_0x527774(0x4a4)])_0x38449f[_0x527774(0x200)]-=_0xf769e5;if(_0x38449f[_0x527774(0x256)])_0x38449f[_0x527774(0x200)]+=_0xf769e5;_0x38449f[_0x527774(0x200)]=Math[_0x527774(0x490)](0x0,Math[_0x527774(0x169)](_0x251664-_0x38449f[_0x527774(0x16b)],_0x38449f[_0x527774(0x200)]));if(_0x38449f[_0x527774(0x25c)])return _0x38449f[_0x527774(0x205)]=_0x38449f[_0x527774(0x200)]+_0x38449f[_0x527774(0x16b)]/0x2,_0x38449f[_0x527774(0x358)]=_0x38449f[_0x527774(0x2fe)]-_0x38449f['ballRadius']-0x1,!![];_0x38449f[_0x527774(0x205)]+=_0x38449f[_0x527774(0x3f5)]*_0x5911d0,_0x38449f['ballY']+=_0x38449f[_0x527774(0x3e8)]*_0x5911d0;if(_0x38449f['ballX']-_0x38449f[_0x527774(0x538)]<0x0)_0x38449f[_0x527774(0x205)]=_0x38449f['ballRadius'],_0x38449f[_0x527774(0x3f5)]*=-0x1;else _0x38449f[_0x527774(0x205)]+_0x38449f[_0x527774(0x538)]>_0x251664&&(_0x38449f[_0x527774(0x205)]=_0x251664-_0x38449f[_0x527774(0x538)],_0x38449f['ballVX']*=-0x1);_0x38449f[_0x527774(0x358)]-_0x38449f[_0x527774(0x538)]<0x0&&(_0x38449f[_0x527774(0x358)]=_0x38449f[_0x527774(0x538)],_0x38449f[_0x527774(0x3e8)]*=-0x1);if(_0x38449f['ballY']+_0x38449f['ballRadius']>=_0x38449f[_0x527774(0x2fe)]&&_0x38449f[_0x527774(0x358)]+_0x38449f['ballRadius']<=_0x38449f['paddleY']+_0x38449f[_0x527774(0x39f)]&&_0x38449f['ballX']>=_0x38449f[_0x527774(0x200)]&&_0x38449f[_0x527774(0x205)]<=_0x38449f[_0x527774(0x200)]+_0x38449f['paddleWidth']&&_0x38449f['ballVY']>0x0){_0x38449f[_0x527774(0x358)]=_0x38449f[_0x527774(0x2fe)]-_0x38449f[_0x527774(0x538)];const _0x5c2da9=(_0x38449f['ballX']-(_0x38449f[_0x527774(0x200)]+_0x38449f['paddleWidth']/0x2))/(_0x38449f[_0x527774(0x16b)]/0x2);_0x38449f[_0x527774(0x3f5)]=0x5*_0x5c2da9,_0x38449f[_0x527774(0x3e8)]*=-0x1;}let _0x574168=![];for(let _0x5785b3=0x0;_0x5785b3<_0x38449f[_0x527774(0x599)][_0x527774(0x4a7)];_0x5785b3++){const _0x368601=_0x38449f[_0x527774(0x599)][_0x5785b3];if(!_0x368601[_0x527774(0x46f)])continue;_0x574168=!![];if(_0x38449f['ballX']>=_0x368601['x']&&_0x38449f[_0x527774(0x205)]<=_0x368601['x']+_0x368601['width']&&_0x38449f[_0x527774(0x358)]>=_0x368601['y']&&_0x38449f[_0x527774(0x358)]<=_0x368601['y']+_0x368601[_0x527774(0x3a3)]){_0x368601[_0x527774(0x46f)]=![],this[_0x527774(0x56b)](_0x368601['x']+_0x368601[_0x527774(0x3ff)]/0x2,_0x368601['y']+_0x368601[_0x527774(0x3a3)]/0x2,_0x368601[_0x527774(0x262)]),_0x38449f[_0x527774(0x3e8)]*=-0x1;break;}}if(!_0x574168)_0x38449f[_0x527774(0x14b)]=![];for(let _0x454e10=_0x38449f[_0x527774(0x53b)][_0x527774(0x4a7)]-0x1;_0x454e10>=0x0;_0x454e10--){const _0x42a50d=_0x38449f[_0x527774(0x53b)][_0x454e10];let _0xe83a0b=!![];for(let _0x253caa=0x0;_0x253caa<_0x42a50d[_0x527774(0x154)][_0x527774(0x4a7)];_0x253caa++){const _0x38618f=_0x42a50d['particles'][_0x253caa];_0x38618f['ageMs']+=_0x21dd21,_0x38618f['x']+=_0x38618f['vx']*_0x5911d0,_0x38618f['y']+=_0x38618f['vy']*_0x5911d0,_0x38618f['vy']+=0.12*_0x5911d0;if(_0x38618f[_0x527774(0x1bf)]<_0x38618f['lifeMs'])_0xe83a0b=![];}_0xe83a0b&&_0x38449f[_0x527774(0x53b)][_0x527774(0x598)](_0x454e10,0x1);}return _0x38449f[_0x527774(0x358)]-_0x38449f[_0x527774(0x538)]>_0x53802f&&(_0x38449f[_0x527774(0x25c)]=!![],_0x38449f[_0x527774(0x3f5)]=0x0,_0x38449f[_0x527774(0x3e8)]=0x0,_0x38449f[_0x527774(0x205)]=_0x38449f[_0x527774(0x200)]+_0x38449f[_0x527774(0x16b)]/0x2,_0x38449f['ballY']=_0x38449f[_0x527774(0x2fe)]-_0x38449f['ballRadius']-0x1),(this[_0x527774(0x19b)]||this[_0x527774(0x495)]===_0x527774(0x1d7))&&(_0x38449f[_0x527774(0x14b)]||!![]);}['draw'](){const _0x8a7da6=_0x3ad27d;if(!this[_0x8a7da6(0x3dd)]||!this['state'])return;const _0x39ab8d=this['ctx2d'],{width:_0x177e85,height:_0x2d0eb9}=this[_0x8a7da6(0x461)]();_0x39ab8d[_0x8a7da6(0x31f)](0x0,0x0,_0x177e85,_0x2d0eb9);const _0x51a962=this[_0x8a7da6(0x42c)];let _0xecaf4d=0x1;if(this['phase']===_0x8a7da6(0x42a))_0xecaf4d=Math[_0x8a7da6(0x169)](0x1,(performance['now']()-this[_0x8a7da6(0x5a0)])/this[_0x8a7da6(0x51b)]);else{if(this[_0x8a7da6(0x495)]===_0x8a7da6(0x1d7)){_0xecaf4d=0x1-Math[_0x8a7da6(0x169)](0x1,(performance[_0x8a7da6(0x3a9)]()-this['phaseStartMs'])/this[_0x8a7da6(0x51b)]);if(_0xecaf4d<=0x0){this[_0x8a7da6(0x23c)]();return;}}}_0x39ab8d[_0x8a7da6(0x397)](),_0x39ab8d['globalAlpha']=_0xecaf4d;for(let _0xd0aec5=0x0;_0xd0aec5<_0x51a962[_0x8a7da6(0x599)][_0x8a7da6(0x4a7)];_0xd0aec5++){const _0x33fa0f=_0x51a962[_0x8a7da6(0x599)][_0xd0aec5];if(!_0x33fa0f[_0x8a7da6(0x46f)])continue;_0x39ab8d[_0x8a7da6(0x295)]=_0x33fa0f[_0x8a7da6(0x262)],_0x39ab8d[_0x8a7da6(0x412)](_0x33fa0f['x'],_0x33fa0f['y'],_0x33fa0f[_0x8a7da6(0x3ff)],_0x33fa0f[_0x8a7da6(0x3a3)]);}_0x39ab8d['fillStyle']=_0x8a7da6(0x483),_0x39ab8d[_0x8a7da6(0x412)](_0x51a962['paddleX'],_0x51a962['paddleY'],_0x51a962[_0x8a7da6(0x16b)],_0x51a962[_0x8a7da6(0x39f)]),_0x39ab8d[_0x8a7da6(0x23a)](),_0x39ab8d[_0x8a7da6(0x295)]='#2D8CFF',_0x39ab8d[_0x8a7da6(0x41b)](_0x51a962[_0x8a7da6(0x205)],_0x51a962[_0x8a7da6(0x358)],_0x51a962[_0x8a7da6(0x538)],0x0,Math['PI']*0x2),_0x39ab8d[_0x8a7da6(0x2ea)](),_0x39ab8d[_0x8a7da6(0x5aa)]();for(let _0x511aa6=0x0;_0x511aa6<_0x51a962[_0x8a7da6(0x53b)][_0x8a7da6(0x4a7)];_0x511aa6++){const _0x158636=_0x51a962['explosions'][_0x511aa6];for(let _0x4f7f0c=0x0;_0x4f7f0c<_0x158636['particles'][_0x8a7da6(0x4a7)];_0x4f7f0c++){const _0x488379=_0x158636[_0x8a7da6(0x154)][_0x4f7f0c],_0x12052e=Math[_0x8a7da6(0x169)](0x1,_0x488379[_0x8a7da6(0x1bf)]/_0x488379[_0x8a7da6(0x3c4)]),_0x2e1014=_0x488379[_0x8a7da6(0x230)]*(0x1-_0x12052e),_0x2303c7=0x1-_0x12052e;_0x39ab8d[_0x8a7da6(0x285)]=_0x2303c7,_0x39ab8d[_0x8a7da6(0x295)]=_0x488379['color'],_0x39ab8d['fillRect'](_0x488379['x']-_0x2e1014/0x2,_0x488379['y']-_0x2e1014/0x2,_0x2e1014,_0x2e1014);}_0x39ab8d['globalAlpha']=0x1;}}[_0x3ad27d(0x4b7)](){const _0x2a3229=_0x3ad27d;if(this[_0x2a3229(0x4a0)])window[_0x2a3229(0x37f)]('keydown',this[_0x2a3229(0x4a0)]);if(this[_0x2a3229(0x32c)])window[_0x2a3229(0x37f)]('keyup',this['keyupHandler']);if(this[_0x2a3229(0x3dd)]&&this['canvas']){const {width:_0x1f70da,height:_0x182b91}=this[_0x2a3229(0x461)]();this['ctx2d'][_0x2a3229(0x31f)](0x0,0x0,_0x1f70da,_0x182b91);}this[_0x2a3229(0x48d)]&&(this[_0x2a3229(0x48d)]['remove'](),this[_0x2a3229(0x48d)]=null,this[_0x2a3229(0x3dd)]=null),this[_0x2a3229(0x19b)]=![],this[_0x2a3229(0x42c)]=null;}['initCanvas'](){const _0x5c0096=_0x3ad27d;if(this[_0x5c0096(0x48d)])return;const {width:_0x19810e,height:_0x8af928}=this[_0x5c0096(0x461)](),_0x39b2a0=document[_0x5c0096(0xda)]('canvas');_0x39b2a0['width']=_0x19810e*dpr4,_0x39b2a0[_0x5c0096(0x3a3)]=_0x8af928*dpr4,_0x39b2a0['style'][_0x5c0096(0x163)]=_0x5c0096(0x9a),_0x39b2a0[_0x5c0096(0x2f5)][_0x5c0096(0x11e)]='0',_0x39b2a0[_0x5c0096(0x2f5)][_0x5c0096(0x4c0)]='0',_0x39b2a0[_0x5c0096(0x2f5)][_0x5c0096(0x3ff)]=_0x19810e+'px',_0x39b2a0[_0x5c0096(0x2f5)][_0x5c0096(0x3a3)]=_0x8af928+'px',_0x39b2a0[_0x5c0096(0x2f5)][_0x5c0096(0x54d)]='2',_0x39b2a0[_0x5c0096(0x2f5)][_0x5c0096(0xb1)]=_0x5c0096(0x2c8),this['hostElement']['appendChild'](_0x39b2a0);const _0xabcebd=_0x39b2a0[_0x5c0096(0x50c)]('2d');if(_0xabcebd)_0xabcebd[_0x5c0096(0x27b)](dpr4,0x0,0x0,dpr4,0x0,0x0);this[_0x5c0096(0x48d)]=_0x39b2a0,this[_0x5c0096(0x3dd)]=_0xabcebd;}[_0x3ad27d(0x429)](){const _0x4b51f3=_0x3ad27d;this[_0x4b51f3(0x4a0)]=_0x195c36=>{const _0x1d698e=_0x4b51f3;if(_0x195c36[_0x1d698e(0x383)]==='KeyK'&&_0x195c36[_0x1d698e(0xee)]&&_0x195c36[_0x1d698e(0x5be)]&&_0x195c36['shiftKey']){_0x195c36['preventDefault']();if(!this[_0x1d698e(0x19b)]&&!this[_0x1d698e(0x280)]())return;this[_0x1d698e(0xeb)]();return;}if(!this[_0x1d698e(0x19b)]||!this[_0x1d698e(0x42c)])return;if(_0x195c36[_0x1d698e(0x383)]===_0x1d698e(0x522)||_0x195c36[_0x1d698e(0x383)]==='Spacebar'){_0x195c36['preventDefault']();if(this[_0x1d698e(0x42c)][_0x1d698e(0x25c)]){this['state'][_0x1d698e(0x25c)]=![];const _0x2d0d4a=Math[_0x1d698e(0x43d)]()*0.6-0.3;this['state'][_0x1d698e(0x3f5)]=0x4+_0x2d0d4a*0x2,this[_0x1d698e(0x42c)][_0x1d698e(0x3e8)]=-0x4;}return;}if(_0x195c36[_0x1d698e(0x383)]===_0x1d698e(0x364))_0x195c36[_0x1d698e(0x30d)](),this[_0x1d698e(0x42c)][_0x1d698e(0x4a4)]=!![];else _0x195c36[_0x1d698e(0x383)]===_0x1d698e(0x38e)&&(_0x195c36[_0x1d698e(0x30d)](),this['state'][_0x1d698e(0x256)]=!![]);},this[_0x4b51f3(0x32c)]=_0x174136=>{const _0x1d437a=_0x4b51f3;if(!this[_0x1d437a(0x19b)]||!this[_0x1d437a(0x42c)])return;if(_0x174136['code']===_0x1d437a(0x364))_0x174136[_0x1d437a(0x30d)](),this[_0x1d437a(0x42c)]['leftPressed']=![];else _0x174136[_0x1d437a(0x383)]==='ArrowRight'&&(_0x174136[_0x1d437a(0x30d)](),this['state'][_0x1d437a(0x256)]=![]);},window[_0x4b51f3(0x3e2)](_0x4b51f3(0x446),this[_0x4b51f3(0x4a0)],{'passive':![]}),window[_0x4b51f3(0x3e2)](_0x4b51f3(0x316),this[_0x4b51f3(0x32c)],{'passive':![]});}[_0x3ad27d(0xcc)](){const _0x21ec57=_0x3ad27d;if(!this['canvas']||!this[_0x21ec57(0x3dd)])this[_0x21ec57(0x152)]();const {width:_0x34201b,height:_0x6d29d9}=this[_0x21ec57(0x461)]();this[_0x21ec57(0xe5)][_0x21ec57(0x3f7)][_0x21ec57(0x2fc)]=!![],this['invalidateSeatsGeometry']();const _0x760df3=[],_0x5c7a84=(this['context'][_0x21ec57(0x218)]||[])[_0x21ec57(0x353)](_0x21b5ec=>!_0x21b5ec[_0x21ec57(0x3fc)]),_0x1a623a=0x1a,_0x622c5a=0x12;for(let _0x32af9c=0x0;_0x32af9c<_0x5c7a84[_0x21ec57(0x4a7)];_0x32af9c++){const _0x2de313=_0x5c7a84[_0x32af9c],_0xb1e293=this[_0x21ec57(0xe5)][_0x21ec57(0x3f1)]({'x':_0x2de313['x'],'y':_0x2de313['y']}),_0x5888f1=this[_0x21ec57(0x55e)](_0x2de313[_0x21ec57(0x549)]);_0x760df3['push']({'x':_0xb1e293['x']-_0x1a623a/0x2,'y':_0xb1e293['y']-_0x622c5a/0x2,'width':_0x1a623a,'height':_0x622c5a,'color':_0x5888f1,'alive':!![]});}const _0x2b5e93=Math[_0x21ec57(0x490)](0x3c,Math[_0x21ec57(0x169)](0x8c,Math[_0x21ec57(0x469)](_0x34201b*0.2))),_0x9f7fbe=0xa,_0x46ab97=_0x6d29d9-0x18,_0x40d931=(_0x34201b-_0x2b5e93)/0x2;this[_0x21ec57(0x42c)]={'paddleX':_0x40d931,'paddleY':_0x46ab97,'paddleWidth':_0x2b5e93,'paddleHeight':_0x9f7fbe,'leftPressed':![],'rightPressed':![],'attached':!![],'ballX':_0x40d931+_0x2b5e93/0x2,'ballY':_0x46ab97-0xa-0x1,'ballVX':0x0,'ballVY':0x0,'ballRadius':0xa,'bricks':_0x760df3,'brickWidth':_0x1a623a,'brickHeight':_0x622c5a,'explosions':[],'running':!![],'lastTime':performance[_0x21ec57(0x3a9)]()};}[_0x3ad27d(0x2e1)](){const _0x1d0356=_0x3ad27d;if(this[_0x1d0356(0x3dd)]&&this[_0x1d0356(0x48d)]){const {width:_0x2b0e1f,height:_0x400b9a}=this[_0x1d0356(0x461)]();this[_0x1d0356(0x3dd)][_0x1d0356(0x31f)](0x0,0x0,_0x2b0e1f,_0x400b9a);}this[_0x1d0356(0x42c)]=null;}['finishFadeOut'](){const _0xd65791=_0x3ad27d;this['context'][_0xd65791(0x3f7)][_0xd65791(0x2fc)]=![],this[_0xd65791(0x3e4)](),this[_0xd65791(0x19b)]=![],this[_0xd65791(0x495)]=_0xd65791(0x227),this[_0xd65791(0x2e1)]();}['spawnExplosionAt'](_0xa15cd4,_0x226253,_0x160733){const _0x3b2b61=_0x3ad27d;if(!this[_0x3b2b61(0x42c)])return;const _0x46669c=0xa+Math[_0x3b2b61(0x1ed)](Math[_0x3b2b61(0x43d)]()*0xa),_0x36f952=new Array(_0x46669c)[_0x3b2b61(0x2ea)](0x0)[_0x3b2b61(0x50f)](()=>{const _0x9dd237=_0x3b2b61,_0x4612c7=Math[_0x9dd237(0x43d)]()*Math['PI']*0x2,_0x87a7c5=0x2+Math[_0x9dd237(0x43d)]()*0x3;return{'x':_0xa15cd4,'y':_0x226253,'vx':Math[_0x9dd237(0x161)](_0x4612c7)*_0x87a7c5,'vy':Math[_0x9dd237(0x473)](_0x4612c7)*_0x87a7c5,'size':0x6+Math['random']()*0x6,'lifeMs':0x190+Math[_0x9dd237(0x43d)]()*0xfa,'ageMs':0x0,'color':_0x160733};});this[_0x3b2b61(0x42c)][_0x3b2b61(0x53b)][_0x3b2b61(0x244)]({'particles':_0x36f952});}[_0x3ad27d(0x55e)](_0x473c20){const _0x360b5a=_0x3ad27d;var _0x58574c,_0x53e692,_0x334101,_0x4299b4,_0x21ae79,_0x4b19fa,_0x36e558;if(_0x473c20!==void 0x0&&_0x473c20!==null){const _0xab9d5a=(_0x58574c=this[_0x360b5a(0xe5)][_0x360b5a(0x18b)])==null?void 0x0:_0x58574c[Number(_0x473c20)];if(_0xab9d5a&&_0xab9d5a[_0x360b5a(0x262)])return _0xab9d5a[_0x360b5a(0x262)];}const _0x3cfb0d=((_0x4299b4=(_0x334101=(_0x53e692=this['context'][_0x360b5a(0x3f7)][_0x360b5a(0x439)])==null?void 0x0:_0x53e692[_0x360b5a(0x2cc)])==null?void 0x0:_0x334101['default'])==null?void 0x0:_0x4299b4[_0x360b5a(0x262)])||((_0x36e558=(_0x4b19fa=(_0x21ae79=this[_0x360b5a(0xe5)][_0x360b5a(0x3f7)][_0x360b5a(0x439)])==null?void 0x0:_0x21ae79[_0x360b5a(0x2cc)])==null?void 0x0:_0x4b19fa[_0x360b5a(0x260)])==null?void 0x0:_0x36e558[_0x360b5a(0x262)]);return _0x3cfb0d||_0x360b5a(0x53f);}},dpr5=window['devicePixelRatio'];function setRectangle(_0x2da46e,_0x5aecc3,_0x136e43,_0x3f2814,_0x1f3b90){const _0x7873c4=_0x3ad27d;var _0x40562b=_0x5aecc3,_0xcd822a=_0x5aecc3+_0x3f2814,_0x408ea9=_0x136e43,_0x3ae8cd=_0x136e43+_0x1f3b90;_0x2da46e[_0x7873c4(0x263)](_0x2da46e[_0x7873c4(0x15f)],new Float32Array([_0x40562b,_0x408ea9,_0xcd822a,_0x408ea9,_0x40562b,_0x3ae8cd,_0x40562b,_0x3ae8cd,_0xcd822a,_0x408ea9,_0xcd822a,_0x3ae8cd]),_0x2da46e['STATIC_DRAW']);}var WebGLCanvasLayer=class extends GLBase{constructor(_0x4bd89a){const _0x29ebbf=_0x3ad27d;var _0x40b52d;super(),this[_0x29ebbf(0x1bd)]=null,this[_0x29ebbf(0x292)]=0x1,this[_0x29ebbf(0x57c)]=![],this[_0x29ebbf(0x58d)]=null,this[_0x29ebbf(0x13f)]=null,this[_0x29ebbf(0x29b)]=![],this[_0x29ebbf(0x26b)]=null,this['iconAtlasWidth']=0x0,this['iconAtlasHeight']=0x0,this[_0x29ebbf(0x5b9)]=new Map(),this[_0x29ebbf(0x2a8)]=RESERVED_ICON_VALUES,this['enableDebugTools']=![],this['rowsRenderer']=null,this[_0x29ebbf(0x36d)]=null,this[_0x29ebbf(0xcd)]=null,this[_0x29ebbf(0x4c7)]=null,this[_0x29ebbf(0x5bc)]=null,this['hoverSeatLabel']=null,this['textureWorker']=null,this[_0x29ebbf(0x33b)]=null,this[_0x29ebbf(0x4b2)]=![],this[_0x29ebbf(0x1b9)]=null,this[_0x29ebbf(0x319)]=null,this[_0x29ebbf(0x1d9)]=null,this[_0x29ebbf(0x1f4)]=0xc8,this[_0x29ebbf(0x408)]=null,this[_0x29ebbf(0x9e)]=null,this[_0x29ebbf(0x129)]=![],this[_0x29ebbf(0x509)]={'rotationAngle':0x0,'center':{'x':0x0,'y':0x0},'top':{'x':0x0,'y':0x0},'section':{'x':0x0,'y':0x0},'skewAngle':0x0},this[_0x29ebbf(0x434)]=_0x12fb3f=>{const _0xb948c0=_0x29ebbf;this[_0xb948c0(0x319)]=null;let _0x53bf6b=![];if(this[_0xb948c0(0x408)]&&this['secretGame'][_0xb948c0(0x17f)]()){const _0x4a84fc=this[_0xb948c0(0x408)][_0xb948c0(0x11c)](_0x12fb3f);_0x53bf6b=_0x4a84fc||_0x53bf6b;}if(this[_0xb948c0(0x57c)]&&this[_0xb948c0(0x1d9)]!==null){const _0x171350=Math[_0xb948c0(0x169)](0x1,(_0x12fb3f-this[_0xb948c0(0x1d9)])/this[_0xb948c0(0x1f4)]);this[_0xb948c0(0x292)]=_0x171350,_0x171350<0x1?_0x53bf6b=!![]:(this[_0xb948c0(0x1bd)]&&(this[_0xb948c0(0x475)]&&this[_0xb948c0(0x475)]!==this['nextTexture']&&this[_0xb948c0(0x55f)][_0xb948c0(0x250)](this[_0xb948c0(0x475)]),this[_0xb948c0(0x475)]=this[_0xb948c0(0x1bd)],this[_0xb948c0(0x1bd)]=null),this['isCrossfading']=![],this[_0xb948c0(0x1d9)]=null,this['textureMix']=0x1);}this['overlayPulseEndTime']!==null&&(_0x12fb3f<this[_0xb948c0(0x1b9)]?_0x53bf6b=!![]:this[_0xb948c0(0x1b9)]=null),this['hasLoadingSeats']()&&(_0x53bf6b=!![]),this[_0xb948c0(0x9d)]()&&(_0x53bf6b=!![]),this[_0xb948c0(0xe1)](),_0x53bf6b&&this[_0xb948c0(0x456)]();},this[_0x29ebbf(0xe5)]=_0x4bd89a,this[_0x29ebbf(0xe5)][_0x29ebbf(0x4d8)]['appendChild'](this[_0x29ebbf(0x48d)]),this[_0x29ebbf(0x4a6)](),this[_0x29ebbf(0x4b2)]=typeof OffscreenCanvas!=='undefined'&&typeof Worker!==_0x29ebbf(0x2d4),this[_0x29ebbf(0x55f)]=this[_0x29ebbf(0x48d)][_0x29ebbf(0x50c)]('webgl',{'antialias':!![],'preserveDrawingBuffer':![]});this['supportsOffscreenCanvas']&&this[_0x29ebbf(0x575)]();this[_0x29ebbf(0x58f)]=new VisibilityManager(this['context']),this[_0x29ebbf(0x55f)][_0x29ebbf(0x344)](_0x29ebbf(0x4ce)),this[_0x29ebbf(0x4c7)]=new BackgroundRenderer(this[_0x29ebbf(0x55f)],this[_0x29ebbf(0xe5)]),this['seatsRenderer']=new SeatsRenderer(this[_0x29ebbf(0x55f)],this[_0x29ebbf(0xe5)],()=>this[_0x29ebbf(0x3ff)]*dpr5,()=>this[_0x29ebbf(0x3a3)]*dpr5),this[_0x29ebbf(0x36d)]=new OverlayRenderer(this['ctx'],this['context'],()=>this['width']*dpr5,()=>this[_0x29ebbf(0x3a3)]*dpr5);if(![]){const _0x39836c=null['default'];this['debugRenderer']=new _0x39836c(this[_0x29ebbf(0x55f)],this[_0x29ebbf(0xe5)],()=>this['width']*dpr5,()=>this[_0x29ebbf(0x3a3)]*dpr5);}this['rowsRenderer']=new RowsRenderer(this[_0x29ebbf(0x55f)],this[_0x29ebbf(0xe5)],()=>this[_0x29ebbf(0x3ff)]*dpr5,()=>this[_0x29ebbf(0x3a3)]*dpr5),this['hoverSeatLabel']=new HoverSeatLabel(this[_0x29ebbf(0xe5)],this[_0x29ebbf(0xe5)][_0x29ebbf(0x4d8)]),this[_0x29ebbf(0x408)]=new ArkanoidGame(this[_0x29ebbf(0xe5)],this['context']['element'],()=>({'width':this[_0x29ebbf(0x3ff)],'height':this['height']}),()=>this[_0x29ebbf(0x456)](),()=>{const _0xb3b37f=_0x29ebbf;var _0x569900,_0xedf988;return(_0xedf988=(_0x569900=this[_0xb3b37f(0xcd)])==null?void 0x0:_0x569900['invalidateStaticGeometry'])==null?void 0x0:_0xedf988[_0xb3b37f(0x33d)](_0x569900);}),initializeIconAtlas(((_0x40b52d=this[_0x29ebbf(0xe5)][_0x29ebbf(0x3f7)][_0x29ebbf(0x439)])==null?void 0x0:_0x40b52d[_0x29ebbf(0x327)])||{},this[_0x29ebbf(0x5b9)],this['ctx'],this[_0x29ebbf(0x20c)])[_0x29ebbf(0x4ae)](_0x49bda1=>{const _0x5c78a7=_0x29ebbf;this[_0x5c78a7(0x26b)]=_0x49bda1[_0x5c78a7(0x475)],this[_0x5c78a7(0x4a1)]=_0x49bda1[_0x5c78a7(0x3ff)],this[_0x5c78a7(0x508)]=_0x49bda1[_0x5c78a7(0x3a3)];const _0x38ca96=Array['from'](this[_0x5c78a7(0x5b9)][_0x5c78a7(0x26d)]());this['iconValues']=generateIconValues(_0x38ca96),this[_0x5c78a7(0xcd)]&&this[_0x5c78a7(0xcd)][_0x5c78a7(0x431)](this[_0x5c78a7(0x26b)],this[_0x5c78a7(0x5b9)],this[_0x5c78a7(0x2a8)]),this[_0x5c78a7(0x36d)]&&this['overlayRenderer'][_0x5c78a7(0x431)](this['iconAtlas'],this[_0x5c78a7(0x5b9)]),this[_0x5c78a7(0x5bc)]&&(this[_0x5c78a7(0x5bc)][_0x5c78a7(0x54b)](this[_0x5c78a7(0x26b)],this['iconAtlasWidth'],this['iconAtlasHeight']),this[_0x5c78a7(0x5bc)][_0x5c78a7(0x361)](this['iconsUVMap']));});}get[_0x3ad27d(0x4f4)](){const _0x4c117f=_0x3ad27d;return this[_0x4c117f(0x9e)];}set[_0x3ad27d(0x4f4)](_0x573300){const _0x25c023=_0x3ad27d;this['_backgroundElement']=_0x573300,this[_0x25c023(0x13f)]=null,this[_0x25c023(0x58d)]=null,void this[_0x25c023(0x1eb)]()[_0x25c023(0x4ae)](()=>this['forceRedraw']());}async[_0x3ad27d(0x3fb)](){const _0x511618=_0x3ad27d;var _0x104825,_0x412bf0;try{await new Promise(_0x1ea8d8=>{const _0x419db1=()=>{const _0x219813=_0x5195,_0x424844=this[_0x219813(0x29b)]&&!!this[_0x219813(0x4f4)]&&this[_0x219813(0xf2)];if(_0x424844)return _0x1ea8d8();requestAnimationFrame(_0x419db1);};requestAnimationFrame(_0x419db1);}),this[_0x511618(0xe1)](),(_0x412bf0=(_0x104825=this[_0x511618(0x55f)])[_0x511618(0x2be)])==null?void 0x0:_0x412bf0[_0x511618(0x33d)](_0x104825);const _0x409e2f=this['canvas'][_0x511618(0x45b)](_0x511618(0x1f6)),_0x1ddcb5=new Image();return _0x1ddcb5['src']=_0x409e2f,await new Promise(_0x1083cb=>{const _0x13fb43=_0x511618;if(_0x1ddcb5[_0x13fb43(0xd8)])return _0x1083cb();_0x1ddcb5[_0x13fb43(0x148)]=()=>_0x1083cb(),_0x1ddcb5[_0x13fb43(0x4fd)]=()=>_0x1083cb();}),_0x1ddcb5;}catch(_0x340ea4){return null;}}[_0x3ad27d(0x275)](_0x390c23,_0x18191b){const _0x288d5a=_0x3ad27d,_0xefb1db={'x':_0x18191b['x']+this[_0x288d5a(0xe5)][_0x288d5a(0x1d4)]['x']*_0x390c23,'y':_0x18191b['y']+this[_0x288d5a(0xe5)][_0x288d5a(0x1d4)]['y']*_0x390c23},_0x1382c8=this[_0x288d5a(0xe5)]['scale']*_0x390c23,_0xc14a8f=this[_0x288d5a(0x58f)][_0x288d5a(0x4a8)](_0x1382c8);this[_0x288d5a(0x239)]!==_0xc14a8f['seat'][_0x288d5a(0x50b)]&&(this['prevSeatVisibility']=_0xc14a8f['seat'][_0x288d5a(0x50b)],this['context']['visibility']=_0xc14a8f,this[_0x288d5a(0x438)]()),this[_0x288d5a(0x55f)]['clear'](this[_0x288d5a(0x55f)]['COLOR_BUFFER_BIT']),this[_0x288d5a(0x29b)]&&this[_0x288d5a(0x475)]&&this[_0x288d5a(0x4f4)]&&this['backgroundRenderer']&&this[_0x288d5a(0x4c7)][_0x288d5a(0x414)](_0x1382c8,_0xefb1db,this[_0x288d5a(0x475)],this['nextTexture'],this['backgroundElement'],this[_0x288d5a(0x292)]),this[_0x288d5a(0xe5)]['settings']['showRows']&&this[_0x288d5a(0x4f6)](_0x1382c8,_0xefb1db),this[_0x288d5a(0x564)]()&&this['drawScene'](_0x1382c8,_0xefb1db),this[_0x288d5a(0x1eb)]();}[_0x3ad27d(0x433)](){return[];}[_0x3ad27d(0x37d)](){const _0x4b947d=_0x3ad27d;return{'inProgress':![],'rotationAngle':0x0,'skewAngle':0x0,'duration':this['context'][_0x4b947d(0x3f7)][_0x4b947d(0x2e4)]||0x0};}['applySectionViewAnimation'](_0x47b84a,_0x52e6fa){return new Promise(_0x4ff125=>{const _0x52729c=_0x5195;_0x52e6fa[_0x52729c(0x269)](),setTimeout(()=>{_0x4ff125(!![]);},(this['context'][_0x52729c(0x3f7)][_0x52729c(0x2e2)]||0x0)*0.5);});}[_0x3ad27d(0xf3)](){return{'x':0x0,'y':0x0};}get[_0x3ad27d(0x3ff)](){const _0x5e163a=_0x3ad27d;return this[_0x5e163a(0xe5)][_0x5e163a(0x4d8)]['clientWidth'];}get['height'](){const _0x3502d5=_0x3ad27d;return this['context'][_0x3502d5(0x4d8)][_0x3502d5(0x160)];}[_0x3ad27d(0x4b7)](){const _0x5f09de=_0x3ad27d;this[_0x5f09de(0xbc)]&&(this[_0x5f09de(0xbc)]['terminate'](),this[_0x5f09de(0xbc)]=null),this[_0x5f09de(0x33b)]&&(this[_0x5f09de(0x33b)]=null),this[_0x5f09de(0x48d)][_0x5f09de(0x3ff)]=0x1,this[_0x5f09de(0x48d)]['height']=0x1,this[_0x5f09de(0x48d)]['remove'](),this[_0x5f09de(0x420)]&&(this[_0x5f09de(0x420)][_0x5f09de(0x4b7)](),this['hoverSeatLabel']=null),this['animationFrameId']!==null&&(cancelAnimationFrame(this[_0x5f09de(0x319)]),this[_0x5f09de(0x319)]=null),this[_0x5f09de(0xe5)][_0x5f09de(0x4b7)]();}['updateSize'](){const _0x165175=_0x3ad27d;var _0xe118aa;this[_0x165175(0x48d)][_0x165175(0x3ff)]=this[_0x165175(0x3ff)]*dpr5,this['canvas'][_0x165175(0x3a3)]=this[_0x165175(0x3a3)]*dpr5,this[_0x165175(0x48d)][_0x165175(0x2f5)][_0x165175(0x3a3)]=this[_0x165175(0x3a3)]+'px',this[_0x165175(0x48d)][_0x165175(0x2f5)][_0x165175(0x3ff)]=this[_0x165175(0x3ff)]+'px',(_0xe118aa=this['secretGame'])==null?void 0x0:_0xe118aa[_0x165175(0x2a1)](),this[_0x165175(0x229)](!![]);}[_0x3ad27d(0x546)](_0x358ddd,_0x19290b){}async['updateBackground'](){const _0x5e3fb4=_0x3ad27d;var _0x1b7254;setRectangle(this['ctx'],0x0,0x0,this[_0x5e3fb4(0x4f4)][_0x5e3fb4(0x3ff)],this[_0x5e3fb4(0x4f4)]['height']);const _0x5a2a99=this[_0x5e3fb4(0x57c)]?(_0x1b7254=this[_0x5e3fb4(0x1bd)])!=null?_0x1b7254:this[_0x5e3fb4(0x55f)][_0x5e3fb4(0xc7)]():this[_0x5e3fb4(0x475)];if(!_0x5a2a99)throw new Error('Failed\x20to\x20create\x20WebGL\x20texture');if(this[_0x5e3fb4(0x57c)]&&!this[_0x5e3fb4(0x1bd)])this[_0x5e3fb4(0x1bd)]=_0x5a2a99;this['ctx'][_0x5e3fb4(0x257)](this[_0x5e3fb4(0x55f)][_0x5e3fb4(0x162)],_0x5a2a99),this[_0x5e3fb4(0x55f)]['texImage2D'](this['ctx'][_0x5e3fb4(0x162)],0x0,this[_0x5e3fb4(0x55f)]['RGBA'],this[_0x5e3fb4(0x55f)][_0x5e3fb4(0x44f)],this['ctx']['UNSIGNED_BYTE'],this[_0x5e3fb4(0x4f4)]);}async[_0x3ad27d(0x1eb)](){const _0x5e450d=_0x3ad27d;if(!this[_0x5e450d(0x4f4)])return;const _0x10a7d7=this[_0x5e450d(0x4f4)][_0x5e450d(0x2dc)]||this[_0x5e450d(0x4f4)][_0x5e450d(0x4e2)];if(this[_0x5e450d(0x58d)]||this[_0x5e450d(0x13f)]===_0x10a7d7)return;if(typeof createImageBitmap!==_0x5e450d(0x2d4))return this[_0x5e450d(0x1e9)]();if(this[_0x5e450d(0x4b2)]&&this[_0x5e450d(0xbc)])return this[_0x5e450d(0x3ce)]();this[_0x5e450d(0x13f)]=_0x10a7d7;const _0x30cd12=!!this[_0x5e450d(0x475)]&&this[_0x5e450d(0x29b)];return!_0x30cd12&&(this[_0x5e450d(0x29b)]=![]),this[_0x5e450d(0x58d)]=new Promise(_0x56aa5d=>{const _0x4b8066=_0x3483e2=>{const _0xd316c4=_0x5195;_0xd316c4(0x1c3)in window?requestIdleCallback(_0x3483e2,{'timeout':0x10}):setTimeout(_0x3483e2,0x0);};_0x4b8066(()=>{const _0x22a750=_0x5195;try{this[_0x22a750(0x1ba)](),this[_0x22a750(0x29b)]=!![],void this[_0x22a750(0x1ec)](),_0x56aa5d();}catch(_0x210e94){console[_0x22a750(0x24d)](_0x22a750(0x271),_0x210e94),_0x56aa5d();}finally{this[_0x22a750(0x58d)]=null;}});}),this[_0x5e450d(0x58d)];}async['loadTextureWithImageBitmap'](){const _0x1c8705=_0x3ad27d;if(!this[_0x1c8705(0x4f4)])return;const _0xd9299e=this[_0x1c8705(0x4f4)][_0x1c8705(0x2dc)]||this['backgroundElement'][_0x1c8705(0x4e2)];if(this[_0x1c8705(0x13f)]===_0xd9299e)return;this[_0x1c8705(0x13f)]=_0xd9299e;const _0x424530=!!this[_0x1c8705(0x475)]&&this[_0x1c8705(0x29b)];return!_0x424530&&(this['isTextureReady']=![]),this[_0x1c8705(0x58d)]=new Promise(async _0xf118de=>{const _0x37b948=_0x1c8705;try{const _0x5798dd=await createImageBitmap(this['backgroundElement'],{'premultiplyAlpha':_0x37b948(0x2c8),'colorSpaceConversion':_0x37b948(0x2c8),'resizeQuality':_0x37b948(0x317)}),_0x4de567=_0x4011ec=>{'requestIdleCallback'in window?requestIdleCallback(_0x4011ec,{'timeout':0x10}):setTimeout(_0x4011ec,0x0);};_0x4de567(()=>{const _0x381bf6=_0x37b948;try{this[_0x381bf6(0x57c)]=!!this[_0x381bf6(0x475)]&&this[_0x381bf6(0x29b)],this[_0x381bf6(0x4c6)](_0x5798dd),this[_0x381bf6(0x29b)]=!![],this[_0x381bf6(0x57c)]&&this['texture']&&this[_0x381bf6(0x298)](),_0x5798dd[_0x381bf6(0x237)]();}catch(_0x2c1a1c){console[_0x381bf6(0x24d)](_0x381bf6(0x436),_0x2c1a1c),this[_0x381bf6(0x1ba)](),this[_0x381bf6(0x29b)]=!![];}finally{void this[_0x381bf6(0x1ec)](),_0xf118de(),this[_0x381bf6(0x58d)]=null;}});}catch(_0xa8b62d){console[_0x37b948(0x24d)](_0x37b948(0x2a5),_0xa8b62d),this[_0x37b948(0x1ba)](),this[_0x37b948(0x29b)]=!![],void this['forceRedraw'](),_0xf118de(),this['textureLoadingPromise']=null;}}),this[_0x1c8705(0x58d)];}[_0x3ad27d(0x4c6)](_0x1e99e9){const _0x193d23=_0x3ad27d;var _0x297ab8;if(!this[_0x193d23(0x475)]){this[_0x193d23(0x475)]=this[_0x193d23(0x55f)][_0x193d23(0xc7)]();if(!this[_0x193d23(0x475)])throw new Error('Failed\x20to\x20create\x20WebGL\x20texture');}const _0x3ebf0a=this[_0x193d23(0x57c)]?(_0x297ab8=this['nextTexture'])!=null?_0x297ab8:this[_0x193d23(0x55f)][_0x193d23(0xc7)]():this[_0x193d23(0x475)];if(!_0x3ebf0a)throw new Error(_0x193d23(0x1fa));if(this['isCrossfading']&&!this[_0x193d23(0x1bd)])this[_0x193d23(0x1bd)]=_0x3ebf0a;this[_0x193d23(0x55f)][_0x193d23(0x257)](this[_0x193d23(0x55f)][_0x193d23(0x162)],_0x3ebf0a),this[_0x193d23(0x55f)]['texParameteri'](this[_0x193d23(0x55f)]['TEXTURE_2D'],this['ctx']['TEXTURE_WRAP_S'],this[_0x193d23(0x55f)][_0x193d23(0x25d)]),this[_0x193d23(0x55f)]['texParameteri'](this[_0x193d23(0x55f)][_0x193d23(0x162)],this[_0x193d23(0x55f)]['TEXTURE_WRAP_T'],this['ctx'][_0x193d23(0x25d)]),this[_0x193d23(0x55f)]['texParameteri'](this[_0x193d23(0x55f)][_0x193d23(0x162)],this[_0x193d23(0x55f)][_0x193d23(0x350)],this[_0x193d23(0x55f)][_0x193d23(0x342)]),this['ctx'][_0x193d23(0x386)](this[_0x193d23(0x55f)][_0x193d23(0x162)],this[_0x193d23(0x55f)]['TEXTURE_MAG_FILTER'],this[_0x193d23(0x55f)][_0x193d23(0x342)]),this['ctx'][_0x193d23(0x183)](this[_0x193d23(0x55f)][_0x193d23(0x162)],0x0,this[_0x193d23(0x55f)][_0x193d23(0x44f)],this[_0x193d23(0x55f)][_0x193d23(0x44f)],this[_0x193d23(0x55f)][_0x193d23(0x164)],_0x1e99e9),this[_0x193d23(0x455)](),this[_0x193d23(0x475)]&&_0x3ebf0a!==this[_0x193d23(0x475)]?this[_0x193d23(0x298)]():(this[_0x193d23(0x475)]=_0x3ebf0a,this[_0x193d23(0x292)]=0x1);}[_0x3ad27d(0x575)](){const _0x2443ec=_0x3ad27d;try{const _0x263ade=_0x2443ec(0x4df),_0x43ec7e=new Blob([_0x263ade],{'type':'application/javascript'});this[_0x2443ec(0xbc)]=new Worker(URL['createObjectURL'](_0x43ec7e)),this[_0x2443ec(0xbc)][_0x2443ec(0x156)]=_0x5b92bd=>{const _0x5e17f8=_0x2443ec,{type:_0x128bb9,success:_0x27eeac,error:_0x4a9474}=_0x5b92bd['data'];if(_0x128bb9===_0x5e17f8(0x3a1)){}else{if(_0x128bb9===_0x5e17f8(0x12d)){if(_0x27eeac){this[_0x5e17f8(0x29b)]=!![];if(this[_0x5e17f8(0x58d)]){}}else console[_0x5e17f8(0x24d)](_0x5e17f8(0x401),_0x4a9474);}}},this[_0x2443ec(0xbc)][_0x2443ec(0x4fd)]=_0x3fe9e2=>{const _0x48763d=_0x2443ec;console[_0x48763d(0x24d)](_0x48763d(0x31b),_0x3fe9e2),this[_0x48763d(0xbc)]=null,this['supportsOffscreenCanvas']=![];};if(typeof OffscreenCanvas!=='undefined')try{this['offscreenCanvas']=new OffscreenCanvas(0x100,0x100),this[_0x2443ec(0xbc)][_0x2443ec(0x373)]({'type':_0x2443ec(0xce),'data':{'canvas':this[_0x2443ec(0x33b)]}},[this[_0x2443ec(0x33b)]]);}catch(_0x40c563){console['warn'](_0x2443ec(0x1e4),_0x40c563),this['supportsOffscreenCanvas']=![],this['textureWorker']=null;}}catch(_0x507b47){console['warn'](_0x2443ec(0x4c2),_0x507b47),this[_0x2443ec(0xbc)]=null,this['supportsOffscreenCanvas']=![];}}async[_0x3ad27d(0x3ce)](){const _0x10c72b=_0x3ad27d;if(!this[_0x10c72b(0xbc)]||!this[_0x10c72b(0x4f4)])return;const _0x572cf6=this[_0x10c72b(0x4f4)]['src']||this[_0x10c72b(0x4f4)][_0x10c72b(0x4e2)];if(this[_0x10c72b(0x13f)]===_0x572cf6)return;this['backgroundImageSrc']=_0x572cf6;const _0x103ffd=!!this[_0x10c72b(0x475)]&&this['isTextureReady'];return!_0x103ffd&&(this[_0x10c72b(0x29b)]=![]),this[_0x10c72b(0x58d)]=new Promise((_0x708b3c,_0x1e1969)=>{const _0x339394=_0x10c72b,_0x43c8a0=document['createElement'](_0x339394(0x48d)),_0x36c50e=_0x43c8a0[_0x339394(0x50c)]('2d');_0x43c8a0['width']=this[_0x339394(0x4f4)][_0x339394(0x3ff)],_0x43c8a0[_0x339394(0x3a3)]=this[_0x339394(0x4f4)][_0x339394(0x3a3)],_0x36c50e[_0x339394(0x447)](this['backgroundElement'],0x0,0x0);const _0x3ee2c4=_0x36c50e[_0x339394(0x2f8)](0x0,0x0,_0x43c8a0[_0x339394(0x3ff)],_0x43c8a0['height']);this[_0x339394(0x33b)]&&(this[_0x339394(0x33b)][_0x339394(0x3ff)]!==_0x43c8a0[_0x339394(0x3ff)]||this[_0x339394(0x33b)][_0x339394(0x3a3)]!==_0x43c8a0['height'])&&(this[_0x339394(0x33b)][_0x339394(0x3ff)]=_0x43c8a0[_0x339394(0x3ff)],this[_0x339394(0x33b)][_0x339394(0x3a3)]=_0x43c8a0[_0x339394(0x3a3)]);const _0x23c799=_0x2e8dac=>{const _0x1ad3ec=_0x339394;_0x2e8dac[_0x1ad3ec(0x5b4)][_0x1ad3ec(0x19f)]==='textureReady'&&(this[_0x1ad3ec(0xbc)]['removeEventListener'](_0x1ad3ec(0x180),_0x23c799),_0x2e8dac['data'][_0x1ad3ec(0x1a6)]?(this[_0x1ad3ec(0x29b)]=!![],void this['forceRedraw'](),_0x708b3c()):(console[_0x1ad3ec(0x24d)](_0x1ad3ec(0x401),_0x2e8dac[_0x1ad3ec(0x5b4)][_0x1ad3ec(0x582)]),this['setupBackgroundTexture'](),this['isTextureReady']=!![],void this[_0x1ad3ec(0x1ec)](),_0x708b3c()),this[_0x1ad3ec(0x58d)]=null);};this[_0x339394(0xbc)]['addEventListener'](_0x339394(0x180),_0x23c799),this[_0x339394(0xbc)][_0x339394(0x373)]({'type':_0x339394(0x1ae),'data':{'imageData':_0x3ee2c4[_0x339394(0x5b4)],'width':_0x43c8a0['width'],'height':_0x43c8a0[_0x339394(0x3a3)]}},[_0x3ee2c4[_0x339394(0x5b4)][_0x339394(0x403)]]);}),this['textureLoadingPromise'];}[_0x3ad27d(0x1ba)](){const _0x2e4ed3=_0x3ad27d;if(!this['backgroundElement'])return;if(!this[_0x2e4ed3(0x475)]){this['texture']=this[_0x2e4ed3(0x55f)][_0x2e4ed3(0xc7)]();if(!this['texture'])throw new Error('Failed\x20to\x20create\x20WebGL\x20texture');}this['ctx']['bindTexture'](this['ctx'][_0x2e4ed3(0x162)],this[_0x2e4ed3(0x475)]),this[_0x2e4ed3(0x55f)][_0x2e4ed3(0x386)](this[_0x2e4ed3(0x55f)][_0x2e4ed3(0x162)],this[_0x2e4ed3(0x55f)]['TEXTURE_WRAP_S'],this[_0x2e4ed3(0x55f)]['CLAMP_TO_EDGE']),this[_0x2e4ed3(0x55f)][_0x2e4ed3(0x386)](this[_0x2e4ed3(0x55f)][_0x2e4ed3(0x162)],this['ctx'][_0x2e4ed3(0x1fb)],this[_0x2e4ed3(0x55f)]['CLAMP_TO_EDGE']),this[_0x2e4ed3(0x55f)][_0x2e4ed3(0x386)](this[_0x2e4ed3(0x55f)][_0x2e4ed3(0x162)],this[_0x2e4ed3(0x55f)][_0x2e4ed3(0x350)],this[_0x2e4ed3(0x55f)][_0x2e4ed3(0x342)]),this[_0x2e4ed3(0x55f)][_0x2e4ed3(0x386)](this[_0x2e4ed3(0x55f)][_0x2e4ed3(0x162)],this['ctx'][_0x2e4ed3(0x1d6)],this['ctx'][_0x2e4ed3(0x342)]),this[_0x2e4ed3(0x55f)][_0x2e4ed3(0x183)](this['ctx'][_0x2e4ed3(0x162)],0x0,this[_0x2e4ed3(0x55f)][_0x2e4ed3(0x44f)],this['ctx'][_0x2e4ed3(0x44f)],this[_0x2e4ed3(0x55f)][_0x2e4ed3(0x164)],this['backgroundElement']),this[_0x2e4ed3(0x455)]();}[_0x3ad27d(0x455)](){const _0x5648c6=_0x3ad27d;if(!this[_0x5648c6(0x4f4)])return;}async['setBackgroundGeometry'](){const _0xfa49a5=_0x3ad27d;this['backgroundElement']&&await this[_0xfa49a5(0x1eb)]();}['setSeatsGeometry'](){const _0x4ce83e=_0x3ad27d;var _0x4fc91b,_0xc4ed39;this[_0x4ce83e(0xcd)]&&((_0xc4ed39=(_0x4fc91b=this[_0x4ce83e(0xcd)])[_0x4ce83e(0x2d3)])==null?void 0x0:_0xc4ed39[_0x4ce83e(0x33d)](_0x4fc91b));}async[_0x3ad27d(0x229)](_0x22381f){const _0x4a2187=_0x3ad27d;var _0x21d0f0,_0x4d57cd;if(!this[_0x4a2187(0xe5)]['seats'])return;this[_0x4a2187(0xe5)][_0x4a2187(0x2ba)]=this[_0x4a2187(0x58f)][_0x4a2187(0x4a8)](this[_0x4a2187(0xe5)][_0x4a2187(0x143)]);const _0x1748a4=this[_0x4a2187(0x239)]!==this['context'][_0x4a2187(0x2ba)][_0x4a2187(0x4f0)][_0x4a2187(0x50b)];_0x1748a4&&(this[_0x4a2187(0x239)]=this[_0x4a2187(0xe5)]['visibility'][_0x4a2187(0x4f0)][_0x4a2187(0x50b)]);const _0x5015ec=((_0x21d0f0=this[_0x4a2187(0x4f4)])==null?void 0x0:_0x21d0f0[_0x4a2187(0x2dc)])||((_0x4d57cd=this[_0x4a2187(0x4f4)])==null?void 0x0:_0x4d57cd[_0x4a2187(0x4e2)]),_0x1ed0b8=this[_0x4a2187(0x13f)]!==_0x5015ec;_0x1ed0b8&&this[_0x4a2187(0x4f4)]&&this['loadBackgroundTextureAsync'](),this[_0x4a2187(0x408)]&&(!this[_0x4a2187(0x408)]['canActivate']()&&this[_0x4a2187(0x408)]['deactivate']()),this[_0x4a2187(0xe1)](),(this[_0x4a2187(0x4f9)]()||this['hasLoadingSeats']()||this[_0x4a2187(0x9d)]())&&this[_0x4a2187(0x456)]();}async['forceRedraw'](){const _0x4b6437=_0x3ad27d;if(!this[_0x4b6437(0xe5)]['seats'])return;this[_0x4b6437(0xe5)][_0x4b6437(0x2ba)]=this[_0x4b6437(0x58f)][_0x4b6437(0x4a8)](this[_0x4b6437(0xe5)][_0x4b6437(0x143)]);const _0x36af06=this[_0x4b6437(0x239)]!==this['context'][_0x4b6437(0x2ba)][_0x4b6437(0x4f0)][_0x4b6437(0x50b)];_0x36af06&&(this[_0x4b6437(0x239)]=this['context']['visibility'][_0x4b6437(0x4f0)][_0x4b6437(0x50b)]),this['scheduleFrame']();}['performRedraw'](){const _0x51cdb3=_0x3ad27d;var _0x3b7cd3;if((_0x3b7cd3=this[_0x51cdb3(0x408)])==null?void 0x0:_0x3b7cd3[_0x51cdb3(0x17f)]()){this[_0x51cdb3(0x408)]['draw'](),this['hasInitialDrawComplete']=!![];return;}this[_0x51cdb3(0x55f)][_0x51cdb3(0x30a)](0x0,0x0,this[_0x51cdb3(0x55f)]['canvas'][_0x51cdb3(0x3ff)],this[_0x51cdb3(0x55f)][_0x51cdb3(0x48d)]['height']),this[_0x51cdb3(0x55f)]['clear'](this['ctx']['COLOR_BUFFER_BIT']|this[_0x51cdb3(0x55f)][_0x51cdb3(0x3f3)]|this[_0x51cdb3(0x55f)][_0x51cdb3(0x57a)]),this['isTextureReady']&&this['texture']&&this[_0x51cdb3(0x4c7)]&&this[_0x51cdb3(0x4c7)][_0x51cdb3(0x414)](this[_0x51cdb3(0xe5)][_0x51cdb3(0x143)],this[_0x51cdb3(0xe5)][_0x51cdb3(0x1d4)],this[_0x51cdb3(0x475)],this[_0x51cdb3(0x1bd)],this[_0x51cdb3(0x4f4)],this[_0x51cdb3(0x292)]),this[_0x51cdb3(0xe5)]['settings'][_0x51cdb3(0x557)]&&this[_0x51cdb3(0x4f6)](this[_0x51cdb3(0xe5)][_0x51cdb3(0x143)],this['context'][_0x51cdb3(0x1d4)]),this['shouldDrawSeats']()&&this['drawScene'](this[_0x51cdb3(0xe5)]['scale'],this[_0x51cdb3(0xe5)]['translate']),this[_0x51cdb3(0xf2)]=!![];}[_0x3ad27d(0x4ef)](_0x1e92ae,_0x3cbc0f){const _0x15d2da=_0x3ad27d;this[_0x15d2da(0xcd)]&&this[_0x15d2da(0xcd)][_0x15d2da(0x414)](_0x1e92ae,_0x3cbc0f),this['drawOverlay'](_0x1e92ae,_0x3cbc0f);}[_0x3ad27d(0x391)](_0x4b963c,_0x107e9c){const _0x34b829=_0x3ad27d;if(!this[_0x34b829(0x36d)])return;this[_0x34b829(0x36d)][_0x34b829(0x414)](_0x4b963c,_0x107e9c);if(this[_0x34b829(0x420)])this[_0x34b829(0x420)][_0x34b829(0x414)](_0x4b963c,_0x107e9c);this['debugRenderer']&&this[_0x34b829(0xe5)][_0x34b829(0x3f7)][_0x34b829(0x12a)]&&this[_0x34b829(0x5bc)][_0x34b829(0x414)](_0x4b963c,_0x107e9c);}[_0x3ad27d(0x345)](_0x3e1810=0x3e8){const _0x411490=_0x3ad27d,_0x3e589f=performance['now']();this[_0x411490(0x1b9)]=Math[_0x411490(0x490)](this['overlayPulseEndTime']||0x0,_0x3e589f+_0x3e1810),this[_0x411490(0x456)]();}[_0x3ad27d(0x564)](){const _0xedf067=_0x3ad27d;return this[_0xedf067(0xe5)][_0xedf067(0x2ba)]['seat'][_0xedf067(0x50b)]&&!this[_0xedf067(0xe5)][_0xedf067(0x3f7)][_0xedf067(0x2fc)]&&!(this[_0xedf067(0xe5)][_0xedf067(0x221)]&&this[_0xedf067(0xe5)]['settings'][_0xedf067(0x557)]);}['startTextureCrossfade'](){const _0x4d5de3=_0x3ad27d;this[_0x4d5de3(0x57c)]=!![],this[_0x4d5de3(0x292)]=0x0,this[_0x4d5de3(0x1d9)]=performance['now'](),this[_0x4d5de3(0x456)]();}[_0x3ad27d(0x113)](_0x66b40f,_0x1f9aa4){const _0x59c537=_0x3ad27d;if(!this[_0x59c537(0x29b)]||!this[_0x59c537(0x475)]||!this['backgroundElement'])return;this[_0x59c537(0x4c7)]&&this[_0x59c537(0x4c7)][_0x59c537(0x414)](_0x66b40f,_0x1f9aa4,this[_0x59c537(0x475)],this[_0x59c537(0x1bd)],this[_0x59c537(0x4f4)],this['textureMix']);}[_0x3ad27d(0xb0)](){}['drawRows'](_0x30e280,_0x4d9eb9){const _0x5164f4=_0x3ad27d;if(!this['rowsRenderer'])return;this[_0x5164f4(0xa5)][_0x5164f4(0x414)](_0x30e280,_0x4d9eb9);}[_0x3ad27d(0x456)](){const _0x5c3f45=_0x3ad27d;if(this['animationFrameId']!==null)return;this['animationFrameId']=requestAnimationFrame(this[_0x5c3f45(0x434)]);}[_0x3ad27d(0x4f9)](){const _0x15ba6a=_0x3ad27d;try{const _0x1da4c1=this['context'][_0x15ba6a(0xdf)]?this[_0x15ba6a(0xe5)]['getCartSeats']():[];return Array['isArray'](_0x1da4c1)&&_0x1da4c1[_0x15ba6a(0x4a7)]>0x0;}catch(_0x3e1add){return![];}}[_0x3ad27d(0x171)](){const _0x204a4a=_0x3ad27d;try{const _0x43989f=this['context'][_0x204a4a(0x218)]||[];for(let _0x19b1f9=0x0;_0x19b1f9<_0x43989f[_0x204a4a(0x4a7)];_0x19b1f9++){if(_0x43989f[_0x19b1f9][_0x204a4a(0x42c)]===_0x204a4a(0x49a))return!![];}return![];}catch(_0x26803c){return![];}}[_0x3ad27d(0x9d)](){const _0x560778=_0x3ad27d;try{const _0x2c7a0f=this['context'][_0x560778(0x1f5)];if(!_0x2c7a0f)return![];const _0x46146a=performance[_0x560778(0x3a9)](),_0x12d45e=0x12c;for(const _0x3a8237 in _0x2c7a0f){if(!Object[_0x560778(0x109)][_0x560778(0x1ff)][_0x560778(0x33d)](_0x2c7a0f,_0x3a8237))continue;if(_0x46146a-_0x2c7a0f[_0x3a8237]<_0x12d45e)return!![];}return![];}catch(_0x2ac87a){return![];}}static[_0x3ad27d(0x23f)](){const _0x5378d5=_0x3ad27d;if(!window[_0x5378d5(0x98)])return![];try{const _0x4a0a94=document[_0x5378d5(0xda)](_0x5378d5(0x48d));return Boolean(_0x4a0a94[_0x5378d5(0x50c)]('webgl'));}catch(_0x16f382){return![];}}},defaultZoomSettings={'presets':[0.5,0x1,0x2],'maxZoomToFitScale':0x1,'minPinchZoom':0.5,'maxPinchZoom':0x2},isObject=_0x133bf4=>_0x133bf4!==null&&typeof _0x133bf4==='object'&&!Array['isArray'](_0x133bf4),deepMerge=(_0x538d5b,_0x1e0b37)=>{const _0xa0caa1=_0x3ad27d,_0x2d54a0={..._0x538d5b};for(const _0x2ab3d8 in _0x1e0b37){if(_0x1e0b37[_0xa0caa1(0x1ff)](_0x2ab3d8)){const _0x2066ad=_0x2ab3d8,_0x52e01d=_0x538d5b[_0x2066ad],_0x928b0b=_0x1e0b37[_0x2066ad];isObject(_0x52e01d)&&isObject(_0x928b0b)?_0x2d54a0[_0x2066ad]=deepMerge(_0x52e01d,_0x928b0b):_0x2d54a0[_0x2066ad]=_0x928b0b?_0x928b0b:_0x52e01d;}}return _0x2d54a0;},mergeTheme=(_0x2dcc54,_0x5a1875)=>{const _0x5f588f=_0x3ad27d;if(!_0x2dcc54&&!_0x5a1875)return;if(_0x2dcc54&&_0x5a1875){const _0x57c901={..._0x2dcc54};return _0x5a1875['bgColor']&&(_0x57c901[_0x5f588f(0x10f)]=_0x5a1875['bgColor']),_0x5a1875['gridStep']&&(_0x57c901[_0x5f588f(0x4c3)]=_0x5a1875[_0x5f588f(0x4c3)]),_0x5a1875[_0x5f588f(0x327)]&&(_0x57c901[_0x5f588f(0x327)]={..._0x2dcc54['images']||{},..._0x5a1875['images']}),_0x5a1875[_0x5f588f(0x357)]&&(_0x57c901[_0x5f588f(0x357)]=_0x5a1875[_0x5f588f(0x357)]),_0x5a1875[_0x5f588f(0x14a)]&&(_0x57c901['colorCategories']=_0x5a1875[_0x5f588f(0x14a)]),_0x5a1875[_0x5f588f(0x2cc)]&&(_0x57c901[_0x5f588f(0x2cc)]=deepMerge(_0x2dcc54[_0x5f588f(0x2cc)]||{},_0x5a1875[_0x5f588f(0x2cc)])),_0x5a1875[_0x5f588f(0x46b)]&&(_0x57c901[_0x5f588f(0x46b)]=deepMerge(_0x2dcc54[_0x5f588f(0x46b)]||{},_0x5a1875[_0x5f588f(0x46b)])),_0x57c901;}if(_0x5a1875)return _0x5a1875;return _0x2dcc54;},mergeSettings=(_0x4d1679,_0x2cc1c1)=>{const _0x1a0879=_0x3ad27d,_0x688add=Object[_0x1a0879(0x176)]({},_0x4d1679,_0x2cc1c1);return _0x688add[_0x1a0879(0x439)]=mergeTheme(_0x4d1679[_0x1a0879(0x439)],_0x2cc1c1==null?void 0x0:_0x2cc1c1[_0x1a0879(0x439)]),_0x4d1679[_0x1a0879(0x153)]&&(_0x2cc1c1==null?void 0x0:_0x2cc1c1[_0x1a0879(0x153)])&&(_0x688add['visibilitySettings']=deepMerge(_0x4d1679['visibilitySettings'],_0x2cc1c1==null?void 0x0:_0x2cc1c1[_0x1a0879(0x153)])),_0x4d1679[_0x1a0879(0x1c5)]&&(_0x2cc1c1==null?void 0x0:_0x2cc1c1[_0x1a0879(0x1c5)])?_0x688add[_0x1a0879(0x1c5)]=deepMerge(_0x4d1679['zoomSettings'],_0x2cc1c1==null?void 0x0:_0x2cc1c1[_0x1a0879(0x1c5)]):_0x688add[_0x1a0879(0x1c5)]=defaultZoomSettings,_0x688add;},SanitizeManager=class{};SanitizeManager['sanitizeIds']=_0x3f2ed3=>{return _0x3f2ed3['filter'](_0x1fb937=>Boolean(_0x1fb937));};var TransformAnimator=class{constructor(_0x5ead1f){const _0x16ab72=_0x3ad27d;this['animationPanStep']=_0x849707=>{const _0x349538=_0x5195;var _0x22e84a,_0x4ae1d7,_0x117a2b,_0x1cbc64;if(!this[_0x349538(0x506)])return;if(!this['animation'][_0x349538(0x1d4)])return;if(!this['animation'][_0x349538(0x3c1)])return;if(!this[_0x349538(0x506)][_0x349538(0x33c)])this['animation'][_0x349538(0x33c)]=_0x849707;if(_0x849707-this['animation'][_0x349538(0x33c)]>this['animation'][_0x349538(0x547)]){this[_0x349538(0x18c)][_0x349538(0x41c)](),this['options'][_0x349538(0x35e)]({'toTranslate':this[_0x349538(0x506)]['toTranslate']}),cancelAnimationFrame(this[_0x349538(0x506)][_0x349538(0x55b)]),this[_0x349538(0x506)]=void 0x0,this[_0x349538(0x18c)][_0x349538(0x229)]();if(this[_0x349538(0x3ef)]!==void 0x0&&((_0x4ae1d7=(_0x22e84a=this[_0x349538(0x18c)])[_0x349538(0x131)])==null?void 0x0:_0x4ae1d7[_0x349538(0x33d)](_0x22e84a))){const _0x7f69ff=this['pendingRotationAngle'];this['pendingRotationAngle']=void 0x0,(_0x1cbc64=(_0x117a2b=this[_0x349538(0x18c)])['onPendingRotation'])==null?void 0x0:_0x1cbc64[_0x349538(0x33d)](_0x117a2b,_0x7f69ff);}}else{const _0xc167eb=Math[_0x349538(0x169)](0x1,(_0x849707-this['animation'][_0x349538(0x33c)])/this[_0x349538(0x506)][_0x349538(0x547)]),_0x201ad1=cubicInOut(_0xc167eb),_0x5f3589={'x':this[_0x349538(0x506)][_0x349538(0x1d4)]['x']+(this['animation'][_0x349538(0x247)]['x']-this[_0x349538(0x506)][_0x349538(0x3c1)]['x'])*_0x201ad1,'y':this[_0x349538(0x506)][_0x349538(0x1d4)]['y']+(this['animation'][_0x349538(0x247)]['y']-this[_0x349538(0x506)][_0x349538(0x3c1)]['y'])*_0x201ad1};this[_0x349538(0x18c)][_0x349538(0x307)](this[_0x349538(0x506)][_0x349538(0x28d)],_0x5f3589),this[_0x349538(0x506)]['frame']=requestAnimationFrame(this[_0x349538(0x518)]);}},this[_0x16ab72(0x38b)]=_0x622bf5=>{const _0x3b1ab8=_0x16ab72;var _0x1a6eac,_0xc31602,_0x1f6eec,_0x4ae723,_0x5c3a5b,_0x58c0f7,_0x2b0c2c,_0x58a059;if(!this[_0x3b1ab8(0x506)])return;if(!this[_0x3b1ab8(0x506)]['startTime'])this[_0x3b1ab8(0x506)][_0x3b1ab8(0x33c)]=_0x622bf5;if(!this[_0x3b1ab8(0x506)][_0x3b1ab8(0xb7)])return;if(_0x622bf5-this[_0x3b1ab8(0x506)][_0x3b1ab8(0x33c)]>this['animation'][_0x3b1ab8(0x547)]){this[_0x3b1ab8(0x18c)][_0x3b1ab8(0x41c)](),this[_0x3b1ab8(0x18c)][_0x3b1ab8(0x35e)]({'toScale':this[_0x3b1ab8(0x506)][_0x3b1ab8(0x28d)],'toTranslate':this['animation']['toTranslate'],'toRotationZ':this[_0x3b1ab8(0x506)][_0x3b1ab8(0xa6)],'toTiltX':this[_0x3b1ab8(0x506)][_0x3b1ab8(0x281)],'toPerspectiveZ':this[_0x3b1ab8(0x506)][_0x3b1ab8(0x430)]}),cancelAnimationFrame(this[_0x3b1ab8(0x506)][_0x3b1ab8(0x55b)]),(_0xc31602=(_0x1a6eac=this[_0x3b1ab8(0x18c)])[_0x3b1ab8(0x3a5)])==null?void 0x0:_0xc31602['call'](_0x1a6eac,this[_0x3b1ab8(0x506)][_0x3b1ab8(0x28d)],this[_0x3b1ab8(0x506)][_0x3b1ab8(0x3e5)]);const _0x210a5c=this[_0x3b1ab8(0x506)][_0x3b1ab8(0x1f1)];this[_0x3b1ab8(0x506)]=void 0x0,this['options'][_0x3b1ab8(0x229)]();if(_0x210a5c)_0x210a5c();if(this[_0x3b1ab8(0x3ef)]!==void 0x0&&((_0x4ae723=(_0x1f6eec=this['options'])[_0x3b1ab8(0x131)])==null?void 0x0:_0x4ae723[_0x3b1ab8(0x33d)](_0x1f6eec))){const _0x492c50=this[_0x3b1ab8(0x3ef)];this[_0x3b1ab8(0x3ef)]=void 0x0,(_0x58c0f7=(_0x5c3a5b=this[_0x3b1ab8(0x18c)])[_0x3b1ab8(0x128)])==null?void 0x0:_0x58c0f7['call'](_0x5c3a5b,_0x492c50);}}else{const _0x159cc3=Math[_0x3b1ab8(0x169)](0x1,(_0x622bf5-this[_0x3b1ab8(0x506)][_0x3b1ab8(0x33c)])/this[_0x3b1ab8(0x506)][_0x3b1ab8(0x547)]),_0x503c28=cubicInOut(_0x159cc3),_0x5d25c5=0x1+(this[_0x3b1ab8(0x506)][_0x3b1ab8(0x28d)]/this[_0x3b1ab8(0x506)][_0x3b1ab8(0x3e5)]-0x1)*_0x503c28,_0x5374bc={'x':this[_0x3b1ab8(0x506)][_0x3b1ab8(0xb7)]['x']*_0x503c28,'y':this['animation'][_0x3b1ab8(0xb7)]['y']*_0x503c28};(this[_0x3b1ab8(0x506)]['fromRotationZ']!==void 0x0&&this[_0x3b1ab8(0x506)][_0x3b1ab8(0xa6)]!==void 0x0||this[_0x3b1ab8(0x506)]['fromTiltX']!==void 0x0&&this[_0x3b1ab8(0x506)][_0x3b1ab8(0x281)]!==void 0x0||this['animation'][_0x3b1ab8(0x1a1)]!==void 0x0&&this[_0x3b1ab8(0x506)]['toPerspectiveZ']!==void 0x0)&&((_0x58a059=(_0x2b0c2c=this[_0x3b1ab8(0x18c)])[_0x3b1ab8(0x530)])==null?void 0x0:_0x58a059[_0x3b1ab8(0x33d)](_0x2b0c2c,{'rotationZ':this[_0x3b1ab8(0x506)][_0x3b1ab8(0x3ea)]!==void 0x0&&this[_0x3b1ab8(0x506)][_0x3b1ab8(0xa6)]!==void 0x0?this[_0x3b1ab8(0x506)][_0x3b1ab8(0x3ea)]+(this[_0x3b1ab8(0x506)]['toRotationZ']-this[_0x3b1ab8(0x506)][_0x3b1ab8(0x3ea)])*_0x503c28:void 0x0,'tiltX':this[_0x3b1ab8(0x506)][_0x3b1ab8(0x28b)]!==void 0x0&&this[_0x3b1ab8(0x506)][_0x3b1ab8(0x281)]!==void 0x0?this[_0x3b1ab8(0x506)][_0x3b1ab8(0x28b)]+(this[_0x3b1ab8(0x506)][_0x3b1ab8(0x281)]-this[_0x3b1ab8(0x506)][_0x3b1ab8(0x28b)])*_0x503c28:void 0x0,'perspectiveZ':this[_0x3b1ab8(0x506)][_0x3b1ab8(0x1a1)]!==void 0x0&&this['animation'][_0x3b1ab8(0x430)]!==void 0x0?this[_0x3b1ab8(0x506)][_0x3b1ab8(0x1a1)]+(this['animation']['toPerspectiveZ']-this[_0x3b1ab8(0x506)]['fromPerspectiveZ'])*_0x503c28:void 0x0})),this[_0x3b1ab8(0x18c)]['cachedDraw'](_0x5d25c5,_0x5374bc),this['animation'][_0x3b1ab8(0x55b)]=requestAnimationFrame(this[_0x3b1ab8(0x38b)]);}},this[_0x16ab72(0x18c)]=_0x5ead1f;}[_0x3ad27d(0x115)](){const _0x3bbcd9=_0x3ad27d;return!!this[_0x3bbcd9(0x506)]&&this['animation'][_0x3bbcd9(0xe7)];}[_0x3ad27d(0x2d6)](){const _0x130b78=_0x3ad27d;this[_0x130b78(0x506)]&&(cancelAnimationFrame(this[_0x130b78(0x506)]['frame']),this[_0x130b78(0x18c)][_0x130b78(0x41c)](),this[_0x130b78(0x506)]=void 0x0);}[_0x3ad27d(0x2e8)](_0x30e94c){const _0x47c81d=_0x3ad27d;this[_0x47c81d(0x3ef)]=_0x30e94c;}[_0x3ad27d(0x1cf)](_0x4b953b,_0x59d261,_0x1b21e0,_0x2298e6){const _0x19bb6e=_0x3ad27d;if(this[_0x19bb6e(0x506)])return;this[_0x19bb6e(0x18c)][_0x19bb6e(0x157)](),this[_0x19bb6e(0x506)]={'type':_0x19bb6e(0x1c6),'duration':_0x2298e6,'fromScale':0x1,'toScale':0x1,'translate':_0x4b953b,'fromTranslate':_0x59d261,'toTranslate':_0x1b21e0,'inProgress':!![],'frame':requestAnimationFrame(this[_0x19bb6e(0x518)])};}[_0x3ad27d(0x301)](_0x38af05){const _0x1d7369=_0x3ad27d;this[_0x1d7369(0x506)]&&(cancelAnimationFrame(this[_0x1d7369(0x506)][_0x1d7369(0x55b)]),this[_0x1d7369(0x18c)][_0x1d7369(0x41c)](),this[_0x1d7369(0x506)]=void 0x0),this[_0x1d7369(0x18c)][_0x1d7369(0x157)](),this[_0x1d7369(0x506)]={'type':_0x1d7369(0x56e),'duration':_0x38af05[_0x1d7369(0x547)],'fromScale':_0x38af05[_0x1d7369(0x3e5)],'toScale':_0x38af05[_0x1d7369(0x28d)],'toTranslate':_0x38af05[_0x1d7369(0x247)],'relativeTranslate':_0x38af05[_0x1d7369(0xb7)],'fromRotationZ':_0x38af05[_0x1d7369(0x3ea)],'toRotationZ':_0x38af05[_0x1d7369(0xa6)],'fromTiltX':_0x38af05[_0x1d7369(0x28b)],'toTiltX':_0x38af05['toTiltX'],'fromPerspectiveZ':_0x38af05[_0x1d7369(0x1a1)],'toPerspectiveZ':_0x38af05[_0x1d7369(0x430)],'onComplete':_0x38af05[_0x1d7369(0x1f1)],'inProgress':!![],'frame':requestAnimationFrame(this['animationStep'])};}},RotationAnimation=class{constructor(){const _0x1e3af4=_0x3ad27d;this[_0x1e3af4(0x506)]=null;}[_0x3ad27d(0xcc)](_0x1ed669,_0x1e2ce5){const _0x114463=_0x3ad27d;this['stop'](),this['animation']={'startTime':Date[_0x114463(0x3a9)](),'animationId':null,'lastRotationZ':0x0,'angle':_0x1ed669,'isRunning':!![]};const _0x24b9a6=()=>{const _0x4130fa=_0x114463;if(!this[_0x4130fa(0x506)]||!this[_0x4130fa(0x506)][_0x4130fa(0x115)])return;const _0x2a8471=(Date[_0x4130fa(0x3a9)]()-this[_0x4130fa(0x506)][_0x4130fa(0x33c)])/0x3e8,_0x232f58=_0x2a8471*this[_0x4130fa(0x506)][_0x4130fa(0x399)]%(Math['PI']*0x2);Math[_0x4130fa(0x27d)](_0x232f58-this[_0x4130fa(0x506)][_0x4130fa(0x332)])>0.001&&(this[_0x4130fa(0x506)]['lastRotationZ']=_0x232f58,_0x1e2ce5(_0x232f58)),this[_0x4130fa(0x506)][_0x4130fa(0x2b7)]=requestAnimationFrame(_0x24b9a6);};return this[_0x114463(0x506)][_0x114463(0x2b7)]=requestAnimationFrame(_0x24b9a6),this[_0x114463(0x506)][_0x114463(0x2b7)];}[_0x3ad27d(0x2e1)](){const _0x8667d9=_0x3ad27d;this[_0x8667d9(0x506)]&&this['animation'][_0x8667d9(0x2b7)]!==null&&(this[_0x8667d9(0x506)][_0x8667d9(0x115)]=![],cancelAnimationFrame(this['animation']['animationId']),this['animation']=null);}[_0x3ad27d(0x115)](){const _0x5f569a=_0x3ad27d;return this['animation']!==null&&this[_0x5f569a(0x506)][_0x5f569a(0x115)];}[_0x3ad27d(0x91)](){const _0x40d42d=_0x3ad27d;var _0x42d52d;return((_0x42d52d=this['animation'])==null?void 0x0:_0x42d52d[_0x40d42d(0x2b7)])||null;}[_0x3ad27d(0x480)](){const _0x22066c=_0x3ad27d;return this[_0x22066c(0x506)];}};function animate3D(_0x19b88e,_0x3b9cdc,_0xaa1e64,_0x287bda){const _0x15ac99=_0x3ad27d;var _0xb07b6d,_0xc89a1d,_0x5bf77c,_0x4f0d77,_0x36a91a,_0x4eb032;const _0x159195=(_0xb07b6d=_0x19b88e['rotationZ'])!=null?_0xb07b6d:0x0,_0x41b854=(_0xc89a1d=_0x19b88e[_0x15ac99(0x3c7)])!=null?_0xc89a1d:0x0,_0x4c3887=(_0x5bf77c=_0x19b88e[_0x15ac99(0x422)])!=null?_0x5bf77c:0x0,_0x5631f1=(_0x4f0d77=_0x3b9cdc[_0x15ac99(0x40c)])!=null?_0x4f0d77:_0x159195,_0x37c8f7=(_0x36a91a=_0x3b9cdc[_0x15ac99(0x3c7)])!=null?_0x36a91a:_0x41b854,_0x182b22=(_0x4eb032=_0x3b9cdc[_0x15ac99(0x422)])!=null?_0x4eb032:_0x4c3887,_0x19889e=performance['now']();return new Promise(_0x4e2079=>{const _0x390f20=_0x540479=>{const _0x1a7f25=_0x5195,_0x5742dc=Math[_0x1a7f25(0x169)](0x1,(_0x540479-_0x19889e)/Math[_0x1a7f25(0x490)](0x1,_0xaa1e64)),_0x479485=cubicInOut(_0x5742dc);_0x287bda({'rotationZ':_0x159195+(_0x5631f1-_0x159195)*_0x479485,'perspectiveZ':_0x41b854+(_0x37c8f7-_0x41b854)*_0x479485,'tiltX':_0x4c3887+(_0x182b22-_0x4c3887)*_0x479485}),_0x5742dc<0x1?requestAnimationFrame(_0x390f20):(_0x287bda({'rotationZ':_0x5631f1,'perspectiveZ':_0x37c8f7,'tiltX':_0x182b22}),_0x4e2079());};requestAnimationFrame(_0x390f20);});}!window['crypto']&&(window[_0x3ad27d(0x86)]=window['msCrypto']);var DPR3=window['devicePixelRatio'],paddingSetting=0.5,emptyPaddingSettings=0x0,Renderer=class{constructor(_0x147667,_0x5e6327,_0x4cadf9){const _0x3fd6e7=_0x3ad27d;this[_0x3fd6e7(0x589)]=![],this['isRunning']=!![],this[_0x3fd6e7(0x1d5)]=![],this[_0x3fd6e7(0x2e3)]=![],this[_0x3fd6e7(0x352)]={},this['handleTouchStart']=()=>{const _0x1d6853=_0x3fd6e7;this[_0x1d6853(0x589)]=!![];},this[_0x3fd6e7(0x4e9)]=_0xc81917=>{const _0x288fab=_0x3fd6e7;_0xc81917&&this['context'][_0x288fab(0x3f7)][_0x288fab(0x478)]&&this[_0x288fab(0xe5)][_0x288fab(0x3f7)][_0x288fab(0x478)](_0xc81917);},this[_0x3fd6e7(0x524)]=_0x575ba1=>{const _0x5ab9bf=_0x3fd6e7;this[_0x5ab9bf(0x3b3)][_0x5ab9bf(0x13a)](_0x575ba1);},this[_0x3fd6e7(0xca)]=_0x154431=>{const _0x9139e6=_0x3fd6e7;this[_0x9139e6(0x554)]({'x':_0x154431[_0x9139e6(0x2c2)]['x']*DPR3,'y':_0x154431['delta']['y']*DPR3},_0x154431[_0x9139e6(0x32a)]),this[_0x9139e6(0xe5)]['settings']['onPan']&&this['context'][_0x9139e6(0x3f7)][_0x9139e6(0x41a)](_0x154431['delta'],_0x154431['isFinish']);},this[_0x3fd6e7(0x28c)]=_0x40be63=>{const _0xe36d32=_0x3fd6e7,_0x5530f5=window[_0xe36d32(0x338)],_0x3e96a6={'x':(_0x40be63[_0xe36d32(0x21b)]['x']*_0x5530f5-this['context'][_0xe36d32(0x1d4)]['x'])/this['context'][_0xe36d32(0x143)],'y':(_0x40be63['rect']['y']*_0x5530f5-this[_0xe36d32(0xe5)]['translate']['y'])/this[_0xe36d32(0xe5)][_0xe36d32(0x143)],'width':_0x40be63[_0xe36d32(0x21b)]['width']/this[_0xe36d32(0xe5)][_0xe36d32(0x143)]*_0x5530f5,'height':_0x40be63['rect'][_0xe36d32(0x3a3)]/this[_0xe36d32(0xe5)][_0xe36d32(0x143)]*_0x5530f5};_0x40be63[_0xe36d32(0x463)]?this[_0xe36d32(0xe5)][_0xe36d32(0x173)](_0x3e96a6,_0x40be63[_0xe36d32(0x236)]):this[_0xe36d32(0xe5)][_0xe36d32(0xa3)](_0x3e96a6,_0x40be63[_0xe36d32(0x236)]);_0x40be63[_0xe36d32(0x410)]&&this[_0xe36d32(0x9c)][_0xe36d32(0x4dd)]();if(_0x40be63[_0xe36d32(0x32a)]){this[_0xe36d32(0x24a)][_0xe36d32(0x58b)](),this[_0xe36d32(0x9c)][_0xe36d32(0x47a)]();this[_0xe36d32(0xe5)][_0xe36d32(0x3f7)][_0xe36d32(0x5ad)]&&this['context'][_0xe36d32(0x3f7)][_0xe36d32(0x5ad)]();const _0x5c2dd5=this['context'][_0xe36d32(0x540)],_0xb2e66=this['context']['seats'][_0xe36d32(0x353)](_0x183a66=>_0x5c2dd5['includes'](_0x183a66['id']));this[_0xe36d32(0xe5)][_0xe36d32(0x3f7)][_0xe36d32(0x29d)]&&this['context'][_0xe36d32(0x3f7)][_0xe36d32(0x29d)](_0xb2e66),this[_0xe36d32(0xe5)][_0xe36d32(0x3f7)][_0xe36d32(0xb8)]&&this[_0xe36d32(0xe5)]['settings']['onSeatsSelect'](_0xb2e66);}else this[_0xe36d32(0x24a)]['showSelectionRect'](_0x3e96a6);},this[_0x3fd6e7(0x135)]=_0x15dbe2=>{const _0x25f340=_0x3fd6e7;if(this[_0x25f340(0xe5)][_0x25f340(0x540)][_0x25f340(0x4a7)]===0x0)return;const _0x548706=this[_0x25f340(0xe5)][_0x25f340(0x540)];this[_0x25f340(0xe5)][_0x25f340(0x540)]=[],this[_0x25f340(0x24a)][_0x25f340(0x229)]();this[_0x25f340(0xe5)]['settings'][_0x25f340(0x5ad)]&&this['context'][_0x25f340(0x3f7)][_0x25f340(0x5ad)]();const _0x45093c=this[_0x25f340(0xe5)][_0x25f340(0x218)][_0x25f340(0x353)](_0x3b8c96=>_0x548706[_0x25f340(0x309)](_0x3b8c96['id']));this[_0x25f340(0xe5)][_0x25f340(0x3f7)][_0x25f340(0x29d)]&&this[_0x25f340(0xe5)]['settings']['onSeatsSelectionChange'](_0x45093c),this['context']['settings'][_0x25f340(0x1e6)]&&this[_0x25f340(0xe5)][_0x25f340(0x3f7)]['onSeatsDeselect'](_0x45093c);},this[_0x3fd6e7(0x3b6)]=_0x24161c=>{const _0x4f1cbf=_0x3fd6e7;this['startAnimation']((_0x24161c[_0x4f1cbf(0x143)]||0x1)*DPR3,_0x24161c[_0x4f1cbf(0x96)]);},this['handleDestSeatSelect']=({seat:_0x30ca98,isRowsMode:_0x362741,selectMode:_0x3a5e29})=>{const _0x6a51c2=_0x3fd6e7;_0x362741?this['context'][_0x6a51c2(0x54c)]((this['context']['seatsByRowId'][_0x30ca98[_0x6a51c2(0x363)]]||[])[_0x6a51c2(0x50f)](_0x164897=>_0x164897['id']),_0x3a5e29):this[_0x6a51c2(0xe5)][_0x6a51c2(0x54c)]([_0x30ca98['id']],_0x3a5e29),this[_0x6a51c2(0x24a)]['redraw'](),this[_0x6a51c2(0xe5)][_0x6a51c2(0x3f7)][_0x6a51c2(0x5ad)]&&this[_0x6a51c2(0xe5)][_0x6a51c2(0x3f7)]['onSeatSelectionChange'](),this[_0x6a51c2(0xe5)][_0x6a51c2(0x3f7)][_0x6a51c2(0xb8)]&&this[_0x6a51c2(0xe5)][_0x6a51c2(0x3f7)][_0x6a51c2(0xb8)](_0x362741?this['context']['seatsByRowId'][_0x30ca98[_0x6a51c2(0x363)]]:[_0x30ca98]),this['context'][_0x6a51c2(0x3f7)][_0x6a51c2(0x29d)]&&this[_0x6a51c2(0xe5)][_0x6a51c2(0x3f7)][_0x6a51c2(0x29d)](_0x362741?this[_0x6a51c2(0xe5)][_0x6a51c2(0x1ab)][_0x30ca98['rowId']]:[_0x30ca98]);},this[_0x3fd6e7(0x4e3)]=async({seat:_0x248b0a})=>{const _0x552088=_0x3fd6e7;var _0x3dd0cd,_0x17e24e,_0x1b428c,_0x41b5ce,_0x27c1db,_0x111f54;if(_0x248b0a[_0x552088(0x3fc)])return;const _0x1ca824=this['context']['getCart'](),_0xf2217a=this[_0x552088(0x3f2)](_0x248b0a),_0x4d7756=!this[_0x552088(0xe5)][_0x552088(0x120)](_0x248b0a['id']),_0x32c047=this['context'][_0x552088(0x3f7)][_0x552088(0xaf)];if(_0x32c047&&_0x32c047>0x1){this['clearCart']();const _0x275341=this[_0x552088(0x54f)](_0xf2217a['id'],_0x32c047);_0x275341?_0x275341[_0x552088(0x556)](_0x2e030c=>this[_0x552088(0xe5)][_0x552088(0x340)](_0x2e030c['id'])):this[_0x552088(0xe5)][_0x552088(0x84)](void 0x0);this[_0x552088(0xe5)][_0x552088(0x3f7)]['onCartChange']&&this[_0x552088(0xe5)][_0x552088(0x3f7)]['onCartChange'](this[_0x552088(0xe5)][_0x552088(0x149)](),_0x1ca824);this[_0x552088(0x24a)]['redraw']();return;}try{_0x248b0a[_0x552088(0x42c)]='loading',this[_0x552088(0xe5)][_0x552088(0x3eb)](_0x248b0a['id']),this[_0x552088(0x229)]();const _0xe9dc21=_0x4d7756?await((_0x1b428c=(_0x17e24e=(_0x3dd0cd=this[_0x552088(0xe5)]['settings'])[_0x552088(0x1d1)])==null?void 0x0:_0x17e24e['call'](_0x3dd0cd,_0xf2217a))!=null?_0x1b428c:Promise[_0x552088(0x23e)](!![])):await((_0x111f54=(_0x27c1db=(_0x41b5ce=this[_0x552088(0xe5)][_0x552088(0x3f7)])[_0x552088(0x1a3)])==null?void 0x0:_0x27c1db['call'](_0x41b5ce,_0xf2217a))!=null?_0x111f54:Promise['resolve'](!![]));if(_0xe9dc21===![]){_0x248b0a['state']=_0x552088(0x582),this['redraw']();const _0x2dfba2=this[_0x552088(0x3b3)][_0x552088(0xe5)][_0x552088(0x260)];(_0x2dfba2==null?void 0x0:_0x2dfba2[_0x552088(0x1ac)])==='seat'&&(_0x2dfba2==null?void 0x0:_0x2dfba2['id'])===_0x248b0a['id']&&this['context'][_0x552088(0x84)](void 0x0);setTimeout(()=>{const _0x1e768b=_0x552088;_0x248b0a[_0x1e768b(0x42c)]='default',this[_0x1e768b(0x229)]();},0xbb8);return;}this['stageLayer']instanceof HTMLCanvasLayer&&this[_0x552088(0x18f)][_0x552088(0x103)](_0x248b0a['id'][_0x552088(0x172)]());_0x4d7756?(this[_0x552088(0xe5)][_0x552088(0x340)](_0x248b0a['id']),_0x248b0a[_0x552088(0x42c)]=_0x552088(0x89)):(this[_0x552088(0xe5)][_0x552088(0x1dd)](_0x248b0a['id']),_0x248b0a[_0x552088(0x42c)]=_0x552088(0x4d9));this['context'][_0x552088(0x3f7)][_0x552088(0x2d9)]&&this[_0x552088(0xe5)][_0x552088(0x3f7)][_0x552088(0x2d9)](this[_0x552088(0xe5)][_0x552088(0x149)](),_0x1ca824);const _0x5968b8=this[_0x552088(0x3b3)][_0x552088(0xe5)][_0x552088(0x260)];!_0x4d7756&&(_0x5968b8==null?void 0x0:_0x5968b8['targetType'])===_0x552088(0x4f0)&&(_0x5968b8==null?void 0x0:_0x5968b8['id'])===_0x248b0a['id']&&this[_0x552088(0xe5)][_0x552088(0x84)](void 0x0);}catch(_0x28f111){console[_0x552088(0x582)]('Error\x20when\x20choosing\x20a\x20seat:',_0x28f111),_0x248b0a['state']='error',this['redraw']();}this[_0x552088(0x229)](),this['stageLayer']instanceof WebGLCanvasLayer&&_0x4d7756&&this[_0x552088(0x18f)][_0x552088(0x345)](0x12c);},this[_0x3fd6e7(0x1cb)]=async({section:_0x128d96})=>{const _0x48fc5c=_0x3fd6e7;if(!_0x128d96['id'])return;if(this[_0x48fc5c(0xe5)][_0x48fc5c(0x2d2)][_0x128d96['id']][_0x48fc5c(0xe3)]||this[_0x48fc5c(0xe5)][_0x48fc5c(0x2d2)][_0x128d96['id']][_0x48fc5c(0x211)])return;!this[_0x48fc5c(0xe5)][_0x48fc5c(0x3f7)][_0x48fc5c(0x356)]&&(this[_0x48fc5c(0xe5)]['cart']['ga'][_0x48fc5c(0x87)](_0x5adf60=>_0x5adf60[_0x48fc5c(0x127)]===_0x128d96['id'])?this[_0x48fc5c(0x2ab)]({'sectorId':_0x128d96['id']}):this['addGaToCart']({'sectorId':_0x128d96['id'],'key':_0x128d96['name'],'count':0x1,'price':_0x128d96['price']})),this[_0x48fc5c(0xe5)][_0x48fc5c(0x2d2)][_0x128d96['id']][_0x48fc5c(0x89)]?(this[_0x48fc5c(0x5b8)](),this[_0x48fc5c(0xe5)][_0x48fc5c(0x2d2)][_0x128d96['id']][_0x48fc5c(0x89)]=![]):(this['setSelectedGa'](_0x128d96['id']),this[_0x48fc5c(0xe5)][_0x48fc5c(0x2d2)][_0x128d96['id']][_0x48fc5c(0x89)]=!![]),this[_0x48fc5c(0xe5)]['settings'][_0x48fc5c(0x14d)]&&this[_0x48fc5c(0xe5)][_0x48fc5c(0x3f7)][_0x48fc5c(0x14d)](_0x128d96),this['context']['settings']['onSectionClick']&&this['context']['settings'][_0x48fc5c(0x427)](_0x128d96);},this[_0x3fd6e7(0x4bf)]=_0x23a102=>{const _0x328cc0=_0x3fd6e7,_0x4f744c=this[_0x328cc0(0x198)](_0x23a102['scale']);if(_0x23a102['type']===_0x328cc0(0x4b9)){const _0x28fc95=this[_0x328cc0(0xe5)][_0x328cc0(0x4d8)][_0x328cc0(0x4bb)]();this[_0x328cc0(0x313)]={'x':_0x23a102[_0x328cc0(0x35f)]['x']-_0x28fc95[_0x328cc0(0x11e)],'y':_0x23a102['center']['y']-_0x28fc95['top']},this['hammer'][_0x328cc0(0x213)](_0x328cc0(0x1c6))[_0x328cc0(0x324)]({'enable':![]});}else{if(_0x23a102['type']===_0x328cc0(0x1e1))this[_0x328cc0(0xe5)]['translate']=this[_0x328cc0(0x376)](_0x4f744c,this[_0x328cc0(0x313)],{'x':_0x23a102[_0x328cc0(0x372)],'y':_0x23a102[_0x328cc0(0x479)]}),this[_0x328cc0(0x18e)](this['context'][_0x328cc0(0x143)]*_0x4f744c),this[_0x328cc0(0x313)]=void 0x0,this[_0x328cc0(0x229)](),this[_0x328cc0(0xe5)]['settings']['onZoomEnd']&&this['context'][_0x328cc0(0x3f7)][_0x328cc0(0x3a5)](this[_0x328cc0(0xe5)][_0x328cc0(0x143)]),window[_0x328cc0(0x5a1)](()=>this['hammer']['get'](_0x328cc0(0x1c6))[_0x328cc0(0x324)]({'enable':!![]}),0x64);else{const _0x128b50=this[_0x328cc0(0x36a)](_0x4f744c,this[_0x328cc0(0x313)],{'x':_0x23a102[_0x328cc0(0x372)],'y':_0x23a102['deltaY']});this['cachedDraw'](_0x4f744c,_0x128b50);}}},this[_0x3fd6e7(0x20d)]=_0x173aac=>{const _0x175e30=_0x3fd6e7,_0x50d8ce=this['seatToExtendedSeat'](_0x173aac[_0x175e30(0x4f0)]);this[_0x175e30(0xe5)][_0x175e30(0x3f7)][_0x175e30(0xb6)]&&this[_0x175e30(0xe5)][_0x175e30(0x3f7)][_0x175e30(0xb6)](_0x50d8ce),this[_0x175e30(0xe5)]['settings'][_0x175e30(0x478)]&&this[_0x175e30(0x4e9)](_0x50d8ce),this[_0x175e30(0xe5)][_0x175e30(0x84)](_0x173aac['seat'],_0x173aac['isRowsMode']),this[_0x175e30(0xe5)][_0x175e30(0x4d8)][_0x175e30(0x2f5)][_0x175e30(0x424)]='pointer',!this[_0x175e30(0xe5)][_0x175e30(0x3f7)]['switchToWebGL']?this[_0x175e30(0x24a)][_0x175e30(0x229)]():this['stageLayer']['redraw']();},this[_0x3fd6e7(0x34e)]=_0xe01749=>{const _0x37ca4c=_0x3fd6e7;this[_0x37ca4c(0x9c)][_0x37ca4c(0x510)](),this[_0x37ca4c(0x9c)][_0x37ca4c(0x2ed)](),this[_0x37ca4c(0xe5)][_0x37ca4c(0x3f7)][_0x37ca4c(0x2dd)]&&this[_0x37ca4c(0xe5)][_0x37ca4c(0x3f7)][_0x37ca4c(0x2dd)](_0xe01749[_0x37ca4c(0x40f)]),this[_0x37ca4c(0xe5)][_0x37ca4c(0x4d8)]['style'][_0x37ca4c(0x424)]='pointer',this[_0x37ca4c(0x24a)][_0x37ca4c(0x229)]();},this[_0x3fd6e7(0x489)]=_0x5c08e1=>{const _0x38d8dd=_0x3fd6e7;this[_0x38d8dd(0xe5)][_0x38d8dd(0x3f7)][_0x38d8dd(0x4f5)]&&this[_0x38d8dd(0xe5)][_0x38d8dd(0x3f7)][_0x38d8dd(0x4f5)](),this['context'][_0x38d8dd(0x84)](void 0x0),this[_0x38d8dd(0xe5)][_0x38d8dd(0x4d8)][_0x38d8dd(0x2f5)][_0x38d8dd(0x424)]='default',!this['context']['settings'][_0x38d8dd(0x2e3)]?this[_0x38d8dd(0x24a)][_0x38d8dd(0x229)]():this['stageLayer'][_0x38d8dd(0x229)]();},this[_0x3fd6e7(0x3df)]=_0x337e28=>{const _0x29e5f3=_0x3fd6e7;this[_0x29e5f3(0xe5)][_0x29e5f3(0x3f7)]['onSectorMouseLeave']&&this['context'][_0x29e5f3(0x3f7)][_0x29e5f3(0x5ac)](),this['context']['element'][_0x29e5f3(0x2f5)][_0x29e5f3(0x424)]=_0x29e5f3(0x4d9),this[_0x29e5f3(0x24a)][_0x29e5f3(0x229)]();},this[_0x3fd6e7(0x2a2)]=_0x44cb61=>{const _0x3dcd5e=_0x3fd6e7;_0x44cb61[_0x3dcd5e(0x130)]();if(_0x44cb61[_0x3dcd5e(0x4f1)]||this['isTouchMode']||!_0x44cb61['target'])return;let _0x191632;if(isGaOutline(_0x44cb61['target']))_0x191632=this['getGaSectionByOutline'](_0x44cb61[_0x3dcd5e(0x4ee)]);else isSectionOutline(_0x44cb61['target'])&&(_0x191632=this[_0x3dcd5e(0x50a)](_0x44cb61[_0x3dcd5e(0x4ee)]));const _0x1b0997=this[_0x3dcd5e(0xe5)][_0x3dcd5e(0x4d8)][_0x3dcd5e(0x4bb)](),_0x219423={'x':_0x44cb61['clientX']-_0x1b0997['left'],'y':_0x44cb61[_0x3dcd5e(0x3b7)]-_0x1b0997[_0x3dcd5e(0x4c0)]},_0x1cfcb1=this[_0x3dcd5e(0xe5)][_0x3dcd5e(0x121)](_0x219423,{'width':this['getWidth'](),'height':this[_0x3dcd5e(0x584)]()});this[_0x3dcd5e(0x524)]({'type':_0x3dcd5e(0x2f4),'target':_0x44cb61[_0x3dcd5e(0x4ee)],'seat':_0x1cfcb1,'section':_0x191632});},this[_0x3fd6e7(0x4e8)]=_0x1ffd32=>{const _0x574082=_0x3fd6e7;if(_0x1ffd32['buttons']||this[_0x574082(0x589)])return;this[_0x574082(0x524)]({'type':_0x574082(0x2f4),'target':_0x1ffd32[_0x574082(0x4ee)]});},this[_0x3fd6e7(0x2bf)]=_0x4d6475=>{const _0x39e238=_0x3fd6e7;if(this[_0x39e238(0x589)])return;this['emitSrcEvent']({'type':_0x39e238(0x2f4),'target':this[_0x39e238(0xe5)][_0x39e238(0x4d8)]});},this['handleWindowResize']=()=>{const _0x4954fe=_0x3fd6e7;window['clearTimeout'](this[_0x4954fe(0x487)]),this[_0x4954fe(0x487)]=window[_0x4954fe(0x5a1)](this[_0x4954fe(0x4a6)],0xfa);},this[_0x3fd6e7(0x4a6)]=()=>{const _0x2f7512=_0x3fd6e7,_0x13db43=this[_0x2f7512(0x3ff)],_0x1559a1=this['height'],_0x1cc7b8=getOffset(this[_0x2f7512(0xe5)][_0x2f7512(0x4d8)]);this[_0x2f7512(0x3ff)]=this['context'][_0x2f7512(0x4d8)]['offsetWidth'],this[_0x2f7512(0x3a3)]=this[_0x2f7512(0xe5)]['settings']['height']||window[_0x2f7512(0x561)]-_0x1cc7b8['top'],this['context'][_0x2f7512(0x4d8)][_0x2f7512(0x2f5)][_0x2f7512(0x3a3)]=this['height']+'px';const _0x30301d=_0x13db43!==this[_0x2f7512(0x3ff)]||_0x1559a1!==this[_0x2f7512(0x3a3)];if(_0x13db43&&_0x1559a1&&_0x30301d){const _0x426593={'x':Math['round']((this[_0x2f7512(0x3ff)]-_0x13db43)/0x2*DPR3),'y':Math[_0x2f7512(0x469)]((this[_0x2f7512(0x3a3)]-_0x1559a1)/0x2*DPR3)};this[_0x2f7512(0xe5)]['translate']=addPoints(this[_0x2f7512(0xe5)]['translate'],_0x426593);}if(_0x30301d){if(this['stageLayer'])this[_0x2f7512(0x18f)][_0x2f7512(0x4a6)]();if(this[_0x2f7512(0x24a)])this[_0x2f7512(0x24a)][_0x2f7512(0x4a6)]();if(this[_0x2f7512(0x9c)])this['outlineLayer']['updateSize']();this['minimapLayer']&&(this[_0x2f7512(0x35d)][_0x2f7512(0x4a6)](),this[_0x2f7512(0x97)](this[_0x2f7512(0x18f)][_0x2f7512(0x4f4)]));}},this[_0x3fd6e7(0x554)]=(_0x1a8e32,_0x1de424)=>{const _0x5f34b7=_0x3fd6e7,_0x769197=this['context'][_0x5f34b7(0x1a0)]?this[_0x5f34b7(0x1be)](_0x1a8e32):_0x1a8e32;this[_0x5f34b7(0x307)](0x1,_0x769197);if(_0x1de424){const _0xb40433=addPoints(this[_0x5f34b7(0xe5)][_0x5f34b7(0x1d4)],_0x769197),_0x2d6388=this[_0x5f34b7(0x597)](_0xb40433);_0xb40433['y']!==_0x2d6388['y']||_0xb40433['x']!==_0x2d6388['x']?this['startPanAnimation'](_0x769197,_0xb40433,_0x2d6388):(this[_0x5f34b7(0xe5)][_0x5f34b7(0x1d4)]=_0xb40433,this[_0x5f34b7(0x229)]());}},this[_0x3fd6e7(0x3f2)]=_0x2e3524=>{const _0x23443a=_0x3fd6e7;return this[_0x23443a(0xe5)][_0x23443a(0x3f2)](_0x2e3524);},_0x147667[_0x3fd6e7(0x2f5)]['background']=_0x4cadf9[_0x3fd6e7(0x439)][_0x3fd6e7(0x10f)],_0x147667[_0x3fd6e7(0x2f5)][_0x3fd6e7(0x235)]=_0x3fd6e7(0x536),_0x147667['style'][_0x3fd6e7(0x163)]=_0x3fd6e7(0x349),this['context']=new Context(_0x147667,_0x4cadf9,()=>this[_0x3fd6e7(0x24a)][_0x3fd6e7(0x229)]()),this[_0x3fd6e7(0x4a6)](),this[_0x3fd6e7(0x18f)]=this[_0x3fd6e7(0x1a2)](),this[_0x3fd6e7(0x24a)]=new SelectionLayer(this[_0x3fd6e7(0xe5)]),this[_0x3fd6e7(0x58f)]=new VisibilityManager(this[_0x3fd6e7(0xe5)]),this[_0x3fd6e7(0x3ee)]=this[_0x3fd6e7(0x4ea)](_0x147667),this['handleDebouncedSeatChange']=debounce(_0x4cadf9[_0x3fd6e7(0x2e7)]||0x0,this['handleDebouncedSeatChange']),this[_0x3fd6e7(0x3b3)]=this['createMachineService'](_0x5e6327),this['padding']=_0x4cadf9['padding']||paddingSetting,this[_0x3fd6e7(0x1d5)]=_0x4cadf9[_0x3fd6e7(0x1d5)]||![],this[_0x3fd6e7(0x2e3)]=_0x4cadf9['switchToWebGL']||![],this[_0x3fd6e7(0x459)]=new TransformAnimator({'cachedDraw':(_0x576e42,_0x3f968f)=>this[_0x3fd6e7(0x307)](_0x576e42,_0x3f968f),'commitTransform':({toScale:_0x1ce8da,toTranslate:_0x200407,toRotationZ:_0x5aaddd,toTiltX:_0x1437b1,toPerspectiveZ:_0x3aca30})=>{const _0x47c05a=_0x3fd6e7;if(_0x1ce8da!==void 0x0)this[_0x47c05a(0x18e)](_0x1ce8da);if(_0x200407)this[_0x47c05a(0xe5)]['translate']=_0x200407;if(_0x5aaddd!==void 0x0)this['context'][_0x47c05a(0x40c)]=_0x5aaddd;if(_0x1437b1!==void 0x0)this[_0x47c05a(0xe5)][_0x47c05a(0x422)]=_0x1437b1;if(_0x3aca30!==void 0x0)this['context'][_0x47c05a(0x3c7)]=_0x3aca30;},'redraw':()=>this[_0x3fd6e7(0x229)](),'onStart':()=>this[_0x3fd6e7(0x3b3)]['send'](_0x3fd6e7(0x255)),'onEnd':()=>this[_0x3fd6e7(0x3b3)][_0x3fd6e7(0x13a)](_0x3fd6e7(0x534)),'onZoomEnd':(_0x26f79e,_0x11ed7a)=>{const _0x15c014=_0x3fd6e7;var _0x2fa490,_0x441400;return(_0x441400=(_0x2fa490=this[_0x15c014(0xe5)][_0x15c014(0x3f7)])[_0x15c014(0x3a5)])==null?void 0x0:_0x441400[_0x15c014(0x33d)](_0x2fa490,_0x26f79e,_0x11ed7a);},'onPendingRotation':_0x43cfff=>this[_0x3fd6e7(0x21d)](_0x43cfff),'is3DEnabled':()=>this[_0x3fd6e7(0xe5)][_0x3fd6e7(0x1a0)],'applyIntermediate3D':({rotationZ:_0x541dbf,tiltX:_0x381b94,perspectiveZ:_0x4400dc})=>{const _0x1b41a8=_0x3fd6e7;if(_0x541dbf!==void 0x0)this[_0x1b41a8(0xe5)][_0x1b41a8(0x40c)]=_0x541dbf;if(_0x381b94!==void 0x0)this[_0x1b41a8(0xe5)][_0x1b41a8(0x422)]=_0x381b94;if(_0x4400dc!==void 0x0)this['context'][_0x1b41a8(0x3c7)]=_0x4400dc;this[_0x1b41a8(0x9c)]&&_0x1b41a8(0xfd)in this[_0x1b41a8(0x9c)]&&this[_0x1b41a8(0x9c)][_0x1b41a8(0xfd)]();}}),this[_0x3fd6e7(0x526)]=new RotationAnimation();}['refreshMinimap'](){const _0x55972a=_0x3ad27d;if(!this[_0x55972a(0x35d)])return;this['minimapLayer'][_0x55972a(0x202)]();}async[_0x3ad27d(0x97)](_0x3a58ae){const _0x4d47f=_0x3ad27d;if(!this['minimapLayer'])return;try{const _0x320334=await this[_0x4d47f(0x18f)][_0x4d47f(0x3fb)]();if(_0x320334){const _0x5cfeb5={'scale':this[_0x4d47f(0xe5)]['scale'],'translate':{...this[_0x4d47f(0xe5)][_0x4d47f(0x1d4)]}};this[_0x4d47f(0x35d)]['setBackgroundSnapshot'](_0x320334,_0x5cfeb5);}else _0x3a58ae&&this[_0x4d47f(0x35d)][_0x4d47f(0x222)](_0x3a58ae);}catch(_0x389703){if(_0x3a58ae)this[_0x4d47f(0x35d)]['setBackgroundImage'](_0x3a58ae);}finally{this[_0x4d47f(0x35d)]['updateViewportIndicator']();}}['destroy'](){const _0x1b6704=_0x3ad27d;this['isRunning']=![],this[_0x1b6704(0x459)]['cancel'](),window[_0x1b6704(0xb4)](this[_0x1b6704(0x487)]),this['stopRotationAnimation'](),this[_0x1b6704(0xe5)][_0x1b6704(0x4d8)][_0x1b6704(0x37f)](_0x1b6704(0x2c3),this[_0x1b6704(0x2a2)]),this[_0x1b6704(0xe5)][_0x1b6704(0x4d8)][_0x1b6704(0x37f)]('mouseleave',this[_0x1b6704(0x2bf)]),window[_0x1b6704(0x37f)](_0x1b6704(0x2c3),this[_0x1b6704(0x4e8)]),window[_0x1b6704(0x37f)](_0x1b6704(0x2a1),this[_0x1b6704(0x90)]),window[_0x1b6704(0x37f)](_0x1b6704(0x4c8),this[_0x1b6704(0x462)]),this[_0x1b6704(0x3ee)]['destroy'](),this['stageLayer'][_0x1b6704(0x4b7)](),this['selectionLayer'][_0x1b6704(0x4b7)](),this['context'][_0x1b6704(0x4b7)](),this[_0x1b6704(0x9c)]&&this[_0x1b6704(0x9c)]['destroy'](),this[_0x1b6704(0x35d)]&&this[_0x1b6704(0x35d)][_0x1b6704(0x4b7)]();}[_0x3ad27d(0x4aa)](){const _0xaeedfe=_0x3ad27d;return this[_0xaeedfe(0x3ff)];}['getHeight'](){return this['height'];}[_0x3ad27d(0x30e)](){return VERSION;}['setMode'](_0x3a3693){const _0x409b7b=_0x3ad27d;return this[_0x409b7b(0x105)]({'mode':_0x3a3693}),!![];}[_0x3ad27d(0xb5)](){const _0x5c9005=_0x3ad27d;return this[_0x5c9005(0x3b3)]['context']['mode'];}[_0x3ad27d(0x476)](_0x1d645d){const _0x4478ec=_0x3ad27d;this[_0x4478ec(0xe5)][_0x4478ec(0x3f7)][_0x4478ec(0x3a3)]=_0x1d645d,this['updateSize']();}[_0x3ad27d(0x51c)](_0x2418e0){const _0x689329=_0x3ad27d;this[_0x689329(0xe5)]['settings'][_0x689329(0xaf)]=_0x2418e0;}['getSeatIds'](_0x37ceae){const _0x2a1172=_0x3ad27d;if(!_0x37ceae[_0x2a1172(0x4a7)])return[];let _0xb98655;if(typeof _0x37ceae[0x0]===_0x2a1172(0x339))_0xb98655=_0x37ceae;else{if(typeof _0x37ceae[0x0]===_0x2a1172(0x336))_0xb98655=this[_0x2a1172(0xd6)](_0x37ceae);else{if(typeof _0x37ceae[0x0]===_0x2a1172(0x449))_0xb98655=_0x37ceae[_0x2a1172(0x50f)](_0x3c8172=>_0x3c8172['id']);else throw new Error('Seats\x20should\x20be\x20an\x20array\x20of\x20ids,\x20composite\x20keys\x20or\x20objects');}}return _0xb98655;}[_0x3ad27d(0x441)](){const _0x33fdc9=_0x3ad27d;return this['context'][_0x33fdc9(0x218)][_0x33fdc9(0x353)](_0xcea66a=>_0xcea66a[_0x33fdc9(0x110)])['map'](_0x438304=>_0x438304['id']);}['setSeatsCategory'](_0x27d609,_0x1a3f09,_0x5b71d5){const _0xf2c93a=_0x3ad27d;if(!_0x27d609['length'])return;const _0x62f20c=this[_0xf2c93a(0x241)](_0x27d609);_0x27d609[0x0]&&(_0x62f20c[_0xf2c93a(0x556)](_0x1234b3=>{const _0x1c2c81=_0xf2c93a,_0x4ed7d8=this[_0x1c2c81(0xe5)][_0x1c2c81(0x101)][_0x1234b3];_0x4ed7d8&&(_0x4ed7d8[_0x1c2c81(0x552)]?_0x4ed7d8['special'][_0x1c2c81(0x2a6)]=_0x1a3f09:_0x4ed7d8[_0x1c2c81(0x552)]={'category':_0x1a3f09});}),this[_0xf2c93a(0xe5)][_0xf2c93a(0x320)][_0x1a3f09]=_0x5b71d5),this['redraw']();}[_0x3ad27d(0x4a2)](_0x1791cb,_0x58d429){const _0xdcffd6=_0x3ad27d;_0x58d429?this[_0xdcffd6(0xe5)][_0xdcffd6(0x2b9)][_0x1791cb]=_0x58d429:delete this[_0xdcffd6(0xe5)]['gaCategories'][_0x1791cb],this[_0xdcffd6(0x229)]();}['resetCategories'](){const _0x52b860=_0x3ad27d;for(const _0x55a7c9 of this['context'][_0x52b860(0x218)]){if(_0x55a7c9[_0x52b860(0x552)])delete _0x55a7c9[_0x52b860(0x552)]['category'];}this[_0x52b860(0xe5)][_0x52b860(0x2b9)]={},this['context'][_0x52b860(0x320)]={},this[_0x52b860(0x229)]();}['getCategoryColor'](_0x46e2ad){const _0x4c0ad7=_0x3ad27d;var _0x2fd9bf;if(this[_0x4c0ad7(0xe5)][_0x4c0ad7(0x320)][_0x46e2ad])return this[_0x4c0ad7(0xe5)][_0x4c0ad7(0x320)][_0x46e2ad];const _0x27dff9=(_0x2fd9bf=this[_0x4c0ad7(0xe5)]['settings'][_0x4c0ad7(0x439)])==null?void 0x0:_0x2fd9bf['colorCategories'];if(!(_0x27dff9==null?void 0x0:_0x27dff9['length']))return;return _0x27dff9[_0x46e2ad%_0x27dff9[_0x4c0ad7(0x4a7)]];}[_0x3ad27d(0x4ea)](_0x1e52c8){const _0x31d999=_0x3ad27d,_0x552498=new _0x36efd3(_0x1e52c8);return _0x552498[_0x31d999(0x213)](_0x31d999(0x1c6))['set']({'direction':_0x36efd3[_0x31d999(0x8f)]}),_0x552498['get'](_0x31d999(0x12f))[_0x31d999(0x324)]({'enable':!![]}),_0x552498['get'](_0x31d999(0x543))['set']({'enable':![]}),_0x552498[_0x31d999(0x213)](_0x31d999(0x94))[_0x31d999(0x324)]({'enable':![]}),_0x552498[_0x31d999(0x213)]('tap')[_0x31d999(0x324)]({'threshold':0x4}),_0x552498;}[_0x3ad27d(0x105)](_0x408e81){const _0x21f326=_0x3ad27d;this[_0x21f326(0x3b3)][_0x21f326(0x13a)]({'type':_0x21f326(0xba),..._0x408e81});}['createMachineService'](_0x3d594d){let _0x13285e;return interpret(_0x3d594d,_0xd89814=>{const _0x165715=_0x5195;if(_0xd89814['context'][_0x165715(0x2de)]===_0x13285e)return;_0x13285e=_0xd89814[_0x165715(0xe5)][_0x165715(0x2de)],_0xd89814[_0x165715(0xe5)]['events']['forEach'](_0x14eb94=>{const _0x111ab7=_0x165715;switch(_0x14eb94['type']){case _0x111ab7(0x23b):this['handleDestPan'](_0x14eb94);break;case _0x111ab7(0x535):this[_0x111ab7(0x3b6)](_0x14eb94);break;case _0x111ab7(0x2bd):this[_0x111ab7(0x387)](_0x14eb94);break;case _0x111ab7(0x112):this[_0x111ab7(0x4e3)](_0x14eb94);break;case _0x111ab7(0x404):this[_0x111ab7(0x1cb)](_0x14eb94);break;case _0x111ab7(0x214):this[_0x111ab7(0x20d)](_0x14eb94);break;case _0x111ab7(0x118):this[_0x111ab7(0x34e)](_0x14eb94);break;case _0x111ab7(0x126):this[_0x111ab7(0x489)](_0x14eb94);break;case _0x111ab7(0xa8):this[_0x111ab7(0x3df)](_0x14eb94);break;case _0x111ab7(0x1cc):this[_0x111ab7(0x28c)](_0x14eb94);break;case _0x111ab7(0x217):this[_0x111ab7(0x135)](_0x14eb94);break;}});});}[_0x3ad27d(0x18e)](_0x49d543){const _0x5bd22f=_0x3ad27d,_0x2fe538=this['visibilityManager'][_0x5bd22f(0xd0)](this[_0x5bd22f(0xe5)]['scale']),_0x4031aa=this[_0x5bd22f(0x58f)]['isOutlineSelectable'](_0x49d543);this[_0x5bd22f(0xe5)][_0x5bd22f(0x143)]=_0x49d543,this[_0x5bd22f(0xe5)]['isEagleView']=this[_0x5bd22f(0xe5)][_0x5bd22f(0x143)]<(this[_0x5bd22f(0xe5)][_0x5bd22f(0x3f7)][_0x5bd22f(0xc6)]||0x0)*DPR3,this[_0x5bd22f(0xe5)][_0x5bd22f(0x2ba)]=this[_0x5bd22f(0x58f)][_0x5bd22f(0x4a8)](_0x49d543),_0x2fe538!==_0x4031aa&&this[_0x5bd22f(0x9c)]&&this[_0x5bd22f(0x9c)][_0x5bd22f(0x3a8)](_0x4031aa),this[_0x5bd22f(0x105)]({'scale':_0x49d543/DPR3,'isEagleView':this['context'][_0x5bd22f(0x221)],'visibility':this[_0x5bd22f(0xe5)][_0x5bd22f(0x2ba)],'enable3DView':this[_0x5bd22f(0xe5)][_0x5bd22f(0x1a0)],'rotationZ':this[_0x5bd22f(0xe5)][_0x5bd22f(0x40c)],'perspectiveZ':this[_0x5bd22f(0xe5)][_0x5bd22f(0x3c7)],'tiltX':this['context'][_0x5bd22f(0x422)],'getWidth':()=>this[_0x5bd22f(0x4aa)](),'getHeight':()=>this[_0x5bd22f(0x584)]()});}[_0x3ad27d(0x568)](){const _0x5bc4e0=_0x3ad27d;if(!this[_0x5bc4e0(0xe5)][_0x5bc4e0(0x18b)])return[];return sortPrices(Object['values'](this[_0x5bc4e0(0xe5)]['pricesById']));}[_0x3ad27d(0x24e)](_0x1a8b2e){const _0x2afe14=_0x3ad27d;if(!this[_0x2afe14(0x115)])return;this['context'][_0x2afe14(0x24e)](_0x1a8b2e),this['context']['settings']['onCartChange']&&this[_0x2afe14(0xe5)]['settings']['onCartChange'](this[_0x2afe14(0xe5)][_0x2afe14(0x149)]()),this[_0x2afe14(0x2b1)]();}['clearCart'](){const _0x449dde=_0x3ad27d;this[_0x449dde(0xe5)]['clearCart'](),this['stageLayer']instanceof WebGLCanvasLayer&&this[_0x449dde(0x18f)][_0x449dde(0x345)](0x12c),this[_0x449dde(0x2b1)]();}[_0x3ad27d(0x149)](){const _0x30e4d1=_0x3ad27d;return this[_0x30e4d1(0xe5)][_0x30e4d1(0x149)]();}[_0x3ad27d(0x108)](){const _0x3aec98=_0x3ad27d;window['addEventListener'](_0x3aec98(0x4c8),this[_0x3aec98(0x462)]),window[_0x3aec98(0x3e2)](_0x3aec98(0x2a1),this[_0x3aec98(0x90)]),this[_0x3aec98(0xe5)]['element'][_0x3aec98(0x3e2)](_0x3aec98(0x2c3),this[_0x3aec98(0x2a2)]),this[_0x3aec98(0xe5)]['element']['addEventListener'](_0x3aec98(0xd2),this[_0x3aec98(0x2bf)]),window[_0x3aec98(0x3e2)](_0x3aec98(0x2c3),this[_0x3aec98(0x4e8)]);const _0x11be3f=_0x2e73c5=>{const _0x19207f=_0x3aec98,_0x191501=this[_0x19207f(0xe5)]['element'][_0x19207f(0x4bb)]();return{'x':_0x2e73c5[_0x19207f(0x35f)]['x']-_0x191501[_0x19207f(0x11e)],'y':_0x2e73c5[_0x19207f(0x35f)]['y']-_0x191501[_0x19207f(0x4c0)]};},_0x44896e=_0x2c7d29=>{const _0x3e5294=_0x11be3f(_0x2c7d29);return{'x':_0x3e5294['x']-_0x2c7d29['deltaX'],'y':_0x3e5294['y']-_0x2c7d29['deltaY']};};this[_0x3aec98(0x3ee)]['on']('panstart',_0x288040=>{const _0x542d23=_0x3aec98;this[_0x542d23(0x524)]({'type':_0x542d23(0x2b4),'delta':{'x':_0x288040['deltaX'],'y':_0x288040[_0x542d23(0x479)]},'origin':_0x44896e(_0x288040),'shiftKey':_0x288040[_0x542d23(0x377)][_0x542d23(0x52e)],'altKey':_0x288040['srcEvent']['altKey']});}),this[_0x3aec98(0x3ee)]['on']('panmove',_0x4b9e37=>{const _0x1bcba4=_0x3aec98;this[_0x1bcba4(0x524)]({'type':_0x1bcba4(0x277),'delta':{'x':_0x4b9e37[_0x1bcba4(0x372)],'y':_0x4b9e37['deltaY']},'origin':_0x44896e(_0x4b9e37),'shiftKey':_0x4b9e37[_0x1bcba4(0x377)]['shiftKey'],'altKey':_0x4b9e37[_0x1bcba4(0x377)][_0x1bcba4(0x5be)]});}),this['hammer']['on'](_0x3aec98(0x59c),_0x6f793b=>{const _0x2952bf=_0x3aec98;this[_0x2952bf(0x524)]({'type':_0x2952bf(0x411),'delta':{'x':_0x6f793b['deltaX'],'y':_0x6f793b[_0x2952bf(0x479)]},'origin':_0x44896e(_0x6f793b),'shiftKey':_0x6f793b['srcEvent']['shiftKey'],'altKey':_0x6f793b[_0x2952bf(0x377)][_0x2952bf(0x5be)]});}),this['hammer']['on']('tap',_0x4df497=>{const _0x3102fb=_0x3aec98;var _0x1b87d8;const _0x26e66d=_0x11be3f(_0x4df497),_0x3cd75f=this[_0x3102fb(0xe5)]['getSeatByViewportPoint'](_0x26e66d,{'width':this[_0x3102fb(0x4aa)](),'height':this[_0x3102fb(0x584)]()}),_0x5669e1=(_0x1b87d8=_0x4df497[_0x3102fb(0x4ee)][_0x3102fb(0x197)])==null?void 0x0:_0x1b87d8[_0x3102fb(0x513)]('svg'),_0x540fc8=!_0x3cd75f&&!_0x5669e1;if(this[_0x3102fb(0x1d5)]&&_0x540fc8)return;this[_0x3102fb(0x524)]({'type':'srcClick','target':_0x4df497[_0x3102fb(0x4ee)],'point':_0x26e66d,'section':this[_0x3102fb(0x17b)](_0x4df497[_0x3102fb(0x4ee)]),'seat':_0x3cd75f,'shiftKey':_0x4df497[_0x3102fb(0x377)]['shiftKey'],'altKey':_0x4df497[_0x3102fb(0x377)][_0x3102fb(0x5be)]});}),this[_0x3aec98(0x3ee)]['on'](_0x3aec98(0x4b5),this['handlePinch']);}async[_0x3ad27d(0x368)](_0x10e505){const _0xcf6790=_0x3ad27d;var _0x5d1d70,_0x14581c,_0x58b406,_0x3f72f1,_0xfba949,_0x1f8e2b,_0x4d7729,_0x35f81f,_0xf3a92b,_0xe5b887,_0x4652d5,_0x110829;const _0x443b8e=(_0x5d1d70=_0x10e505['background'])==null?void 0x0:_0x5d1d70[_0xcf6790(0x111)],_0x3dbab5=(_0x14581c=_0x10e505[_0xcf6790(0x22e)])==null?void 0x0:_0x14581c['svgLink'],_0x5c6fe1=(_0x58b406=_0x10e505['background'])==null?void 0x0:_0x58b406[_0xcf6790(0x327)],_0x5bf173=(_0x3f72f1=_0x10e505[_0xcf6790(0x22e)])==null?void 0x0:_0x3f72f1['outlineSvg'];this['switchToWebGL']&&!_0x5c6fe1&&(this[_0xcf6790(0x18f)]['destroy'](),this['switchToWebGL']=![],this[_0xcf6790(0xe5)][_0xcf6790(0x3f7)][_0xcf6790(0x2e3)]=![],this[_0xcf6790(0x18f)]=this[_0xcf6790(0x1a2)](),console[_0xcf6790(0x24d)](_0xcf6790(0x4ba)));this[_0xcf6790(0xe5)][_0xcf6790(0x218)]=getSeatsWithUpdatedCoords(_0x10e505),this['context']['rowsById']=arrayToObjectById(_0x10e505[_0xcf6790(0x472)]),this['context'][_0xcf6790(0x2d2)]=arrayToObjectById(_0x10e505[_0xcf6790(0xfa)]);const {scale:_0xe7082,translate:_0x3acb2a}=this[_0xcf6790(0x347)](_0x10e505['background']);this[_0xcf6790(0x18e)](_0xe7082),this[_0xcf6790(0xe5)][_0xcf6790(0x1d4)]=_0x3acb2a,this[_0xcf6790(0x273)]=_0xe7082;if(!((_0xfba949=_0x10e505[_0xcf6790(0x22e)])==null?void 0x0:_0xfba949[_0xcf6790(0x144)]))throw new Error(_0xcf6790(0x482));this[_0xcf6790(0xe5)][_0xcf6790(0x545)]={'svgString':_0x443b8e,'viewBox':_0x10e505[_0xcf6790(0x22e)][_0xcf6790(0x144)],'svgUrl':_0x3dbab5,'pngBackground':_0x5c6fe1,'outlineSvg':_0x5bf173},this[_0xcf6790(0x9c)]=new OutlineLayer(this[_0xcf6790(0xe5)]),this[_0xcf6790(0x24a)][_0xcf6790(0x195)]();((_0x1f8e2b=this[_0xcf6790(0xe5)]['settings'][_0xcf6790(0x388)])==null?void 0x0:_0x1f8e2b[_0xcf6790(0x2b8)])&&(!this[_0xcf6790(0x35d)]&&(this['minimapLayer']=new MinimapLayer(this['context'],{'panToCenter':(_0x1cf2a0,_0x23fc29)=>{const _0x1353e5=_0xcf6790,_0x7d8782=this[_0x1353e5(0xe5)][_0x1353e5(0x143)],_0x444bb9={'x':_0x1cf2a0['x']-this['getWidth']()*DPR3/0x2/_0x7d8782,'y':_0x1cf2a0['y']-this[_0x1353e5(0x584)]()*DPR3/0x2/_0x7d8782};this[_0x1353e5(0x2c9)](_0x7d8782,_0x444bb9,_0x23fc29);}})),this[_0xcf6790(0x35d)]['updateSize'](),this[_0xcf6790(0x35d)][_0xcf6790(0x202)]());let _0x3613e5=0x0;const _0x92e747=async(_0x5a9b76,_0x34d033=0x0,_0x687339=![])=>{const _0x5b8f21=_0xcf6790,_0x1d8cf3=this['switchToWebGL']?loadImageFromUrl(_0x5a9b76,_0x5b8f21(0x4d6)):loadImageFromUrl(_0x5a9b76);return _0x1d8cf3[_0x5b8f21(0x4ae)](_0x33cc72=>{const _0x209e25=_0x5b8f21;if(_0x34d033<_0x3613e5)return;setImageSizeAndCenter(_0x33cc72,_0x10e505[_0x209e25(0x22e)][_0x209e25(0x144)]),this[_0x209e25(0x18f)]['backgroundElement']=_0x33cc72,_0x3613e5=_0x34d033,this[_0x209e25(0x229)](),_0x687339&&this[_0x209e25(0x97)](_0x33cc72);}),_0x1d8cf3;};try{this[_0xcf6790(0xe5)][_0xcf6790(0x3f7)]['showRows']&&_0x443b8e?(this[_0xcf6790(0x18f)][_0xcf6790(0x4f4)]=await createSvgImageElement(_0x443b8e),((_0x4d7729=_0x10e505[_0xcf6790(0x22e)])==null?void 0x0:_0x4d7729[_0xcf6790(0x144)])&&setImageSizeAndCenter(this[_0xcf6790(0x18f)]['backgroundElement'],_0x10e505[_0xcf6790(0x22e)]['viewBox']),this[_0xcf6790(0x97)](this[_0xcf6790(0x18f)][_0xcf6790(0x4f4)])):(((_0x35f81f=_0x5c6fe1==null?void 0x0:_0x5c6fe1['blurred'])==null?void 0x0:_0x35f81f[_0xcf6790(0x5b4)])&&_0x92e747(_0x5c6fe1[_0xcf6790(0x11a)]['data'],0x1,!![]),((_0xf3a92b=_0x5c6fe1==null?void 0x0:_0x5c6fe1[_0xcf6790(0x5af)])==null?void 0x0:_0xf3a92b[_0xcf6790(0x1b1)])&&_0x92e747(_0x5c6fe1[_0xcf6790(0x5af)][_0xcf6790(0x1b1)],0x2),((_0xe5b887=_0x5c6fe1==null?void 0x0:_0x5c6fe1['full'])==null?void 0x0:_0xe5b887[_0xcf6790(0x1b1)])&&_0x92e747(_0x5c6fe1['full'][_0xcf6790(0x1b1)],0x3),!_0x5c6fe1&&_0x443b8e&&(this[_0xcf6790(0x18f)][_0xcf6790(0x4f4)]=await createSvgImageElement(_0x443b8e),((_0x4652d5=_0x10e505['background'])==null?void 0x0:_0x4652d5[_0xcf6790(0x144)])&&setImageSizeAndCenter(this['stageLayer']['backgroundElement'],_0x10e505[_0xcf6790(0x22e)][_0xcf6790(0x144)])),this['setMinimapFromSnapshot'](this[_0xcf6790(0x18f)][_0xcf6790(0x4f4)]));}catch(_0x19aaa5){console[_0xcf6790(0x582)](_0xcf6790(0x22f),_0x19aaa5),_0x443b8e&&(this['stageLayer']['backgroundElement']=await createSvgImageElement(_0x443b8e),((_0x110829=_0x10e505[_0xcf6790(0x22e)])==null?void 0x0:_0x110829[_0xcf6790(0x144)])&&setImageSizeAndCenter(this[_0xcf6790(0x18f)]['backgroundElement'],_0x10e505['background']['viewBox'])),this[_0xcf6790(0x229)](),this[_0xcf6790(0x97)](this['stageLayer'][_0xcf6790(0x4f4)]);}this[_0xcf6790(0xe5)]['settings'][_0xcf6790(0x2a9)]&&this[_0xcf6790(0x314)](this[_0xcf6790(0xe5)][_0xcf6790(0x3f7)][_0xcf6790(0x2a9)]),this['redraw'](),this[_0xcf6790(0x108)](),this[_0xcf6790(0xe5)]['settings'][_0xcf6790(0x2ff)]&&this['context'][_0xcf6790(0x3f7)]['onSchemaDataLoaded'](),this[_0xcf6790(0xe5)][_0xcf6790(0x3f7)][_0xcf6790(0xfb)]&&this[_0xcf6790(0x9c)][_0xcf6790(0x551)]();}['setExternalPrices'](_0x2f4323){const _0x9538d2=_0x3ad27d,_0x1bcb00=_0x2f4323||this[_0x9538d2(0xe5)]['settings'][_0x9538d2(0x354)];if(!Array['isArray'](_0x1bcb00)||_0x1bcb00[_0x9538d2(0x4a7)]===0x0)return;const _0x58d185={...this[_0x9538d2(0xe5)]['getPricesDTO']()};if(!Object[_0x9538d2(0x26d)](_0x58d185)[_0x9538d2(0x4a7)])return;const _0x24c64c=Object[_0x9538d2(0x432)](_0x1bcb00[_0x9538d2(0x48a)]((_0x25a098,_0x3ab5a5)=>{const _0xc587fa=_0x9538d2;if(_0x3ab5a5[_0xc587fa(0x549)]in _0x25a098)return _0x25a098;return _0x25a098[_0x3ab5a5['priceId']]={'id':_0x3ab5a5[_0xc587fa(0x549)],'name':_0x3ab5a5[_0xc587fa(0x406)][_0xc587fa(0x172)]()},_0x25a098;},{}));if(!_0x24c64c[_0x9538d2(0x4a7)])return;const _0x1a28d9=[],_0x2715a9=[],_0x469892=_0x1bcb00[_0x9538d2(0x50f)](_0x442ef=>{const _0x2dea9b=_0x9538d2,_0x3cac28=_0x442ef['id']!==void 0x0?this[_0x2dea9b(0xe5)][_0x2dea9b(0x101)][_0x442ef['id']]:this[_0x2dea9b(0xe5)][_0x2dea9b(0x291)](_0x442ef[_0x2dea9b(0x48b)]);if(!_0x3cac28){console['warn']('Missing\x20seat:\x20'+(_0x442ef['id']!==void 0x0?_0x2dea9b(0x1f7)+_0x442ef['id']:_0x2dea9b(0x19e)+_0x442ef['seatKey'])+_0x2dea9b(0x3b8));if(_0x442ef['id']!==void 0x0)_0x2715a9[_0x2dea9b(0x244)](_0x442ef['id']);else _0x1a28d9['push'](_0x442ef['seatKey']);return;}return[_0x3cac28['id'],_0x442ef[_0x2dea9b(0x549)]];})[_0x9538d2(0x353)](Boolean);if(_0x1a28d9[_0x9538d2(0x4a7)]>0x0)this['context']['seatsKeysMissedOnPriceSet']=_0x1a28d9;if(_0x2715a9[_0x9538d2(0x4a7)]>0x0)this[_0x9538d2(0xe5)][_0x9538d2(0x25e)]=_0x2715a9;if(!_0x469892['length'])return;_0x58d185['prices']=_0x24c64c,_0x58d185['seats']=_0x469892,this[_0x9538d2(0x1b6)](_0x58d185);}['setPricesData'](_0x519c98){const _0x5d4e4d=_0x3ad27d;this[_0x5d4e4d(0xe5)]['pricesById']=convertPricesToColoredById(_0x519c98[_0x5d4e4d(0x4ed)],this['context'][_0x5d4e4d(0x3f7)][_0x5d4e4d(0x439)][_0x5d4e4d(0x357)]),this[_0x5d4e4d(0xe5)]['seats']=getSeatsWithPrices(this[_0x5d4e4d(0xe5)][_0x5d4e4d(0x218)],_0x519c98,this[_0x5d4e4d(0xe5)][_0x5d4e4d(0x18b)]);const _0x256ec3=getSectorsWithPrices(this[_0x5d4e4d(0x351)](),_0x519c98,this[_0x5d4e4d(0xe5)]['pricesById']);this[_0x5d4e4d(0xe5)]['sectionsById']=arrayToObjectById(_0x256ec3),this['context']['settings'][_0x5d4e4d(0x2a9)]&&this[_0x5d4e4d(0x314)](this[_0x5d4e4d(0xe5)]['settings']['lockedSeatsFilter']),this[_0x5d4e4d(0x9c)]&&(this[_0x5d4e4d(0x9c)][_0x5d4e4d(0x47b)]()?this['outlineLayer']['setBackgroundAsOutline']():this[_0x5d4e4d(0x9c)]['updateOutlines']());}[_0x3ad27d(0x5bd)](_0x396d95){const _0x502a69=_0x3ad27d;this[_0x502a69(0xe5)][_0x502a69(0x5bd)](_0x396d95);}[_0x3ad27d(0x2ab)](_0x91897){this['context']['removeGaFromCart'](_0x91897);}[_0x3ad27d(0x5b6)](_0x4c67bf){const _0x29c3af=_0x3ad27d;this[_0x29c3af(0xe5)][_0x29c3af(0x5b6)](_0x4c67bf),this[_0x29c3af(0x18f)]instanceof WebGLCanvasLayer&&this[_0x29c3af(0x18f)][_0x29c3af(0x345)](0x12c),this['refreshMinimap']();}[_0x3ad27d(0x210)](_0x36d2b5){const _0x4377c4=_0x3ad27d,_0x167e31=SanitizeManager['sanitizeIds'](_0x36d2b5);this[_0x4377c4(0xe5)][_0x4377c4(0x210)](_0x167e31),this[_0x4377c4(0x18f)]['redraw'](),this[_0x4377c4(0x18f)]instanceof WebGLCanvasLayer&&this['stageLayer'][_0x4377c4(0x345)](0x12c),this[_0x4377c4(0x2b1)]();}[_0x3ad27d(0x1bb)](_0x2cba3c){const _0x49b537=_0x3ad27d;this[_0x49b537(0x210)](this[_0x49b537(0xd6)](_0x2cba3c));}[_0x3ad27d(0x3ec)](_0x3bc61d,_0x8ba820){const _0x5aeb9b=_0x3ad27d;var _0x229f7e;const _0xb7c89f=SanitizeManager[_0x5aeb9b(0x39a)](_0x3bc61d),_0x5c5636=(_0x229f7e=_0x8ba820==null?void 0x0:_0x8ba820[_0x5aeb9b(0x3c3)])!=null?_0x229f7e:!![],_0x562bf2=this['context'][_0x5aeb9b(0x149)](),_0x1e9abd=this[_0x5aeb9b(0xe5)][_0x5aeb9b(0x5a6)][_0x5aeb9b(0x218)],_0x15c652=this[_0x5aeb9b(0xe5)]['pricesById']&&Object[_0x5aeb9b(0x26d)](this[_0x5aeb9b(0xe5)]['pricesById'])['length']>0x0;this[_0x5aeb9b(0x314)](_0x33f36a=>{const _0x4f3c97=_0x5aeb9b;if(_0xb7c89f[_0x4f3c97(0x309)](_0x33f36a['id']))return!![];if(_0x5c5636&&!_0x15c652)return![];if(_0x5c5636&&this[_0x4f3c97(0xe5)][_0x4f3c97(0x101)][_0x33f36a['id']][_0x4f3c97(0x549)])return![];return Boolean(_0x33f36a[_0x4f3c97(0x3fc)]);}),this[_0x5aeb9b(0xe5)][_0x5aeb9b(0x5a6)]['seats']=this[_0x5aeb9b(0xe5)][_0x5aeb9b(0x5a6)][_0x5aeb9b(0x218)][_0x5aeb9b(0x353)](_0x5adb88=>!_0xb7c89f[_0x5aeb9b(0x309)](_0x5adb88['id'])),_0x5c5636&&_0xb7c89f['forEach'](_0x49949d=>{const _0x3582b8=_0x5aeb9b;this[_0x3582b8(0xe5)]['seatsById'][_0x49949d]&&delete this[_0x3582b8(0xe5)][_0x3582b8(0x101)][_0x49949d][_0x3582b8(0x42c)];}),this[_0x5aeb9b(0xe5)][_0x5aeb9b(0x3f7)][_0x5aeb9b(0x2d9)]&&(JSON[_0x5aeb9b(0x242)](_0x1e9abd)!==JSON['stringify'](this[_0x5aeb9b(0xe5)][_0x5aeb9b(0x5a6)][_0x5aeb9b(0x218)])&&this[_0x5aeb9b(0xe5)][_0x5aeb9b(0x3f7)][_0x5aeb9b(0x2d9)](this[_0x5aeb9b(0xe5)][_0x5aeb9b(0x149)](),_0x562bf2)),this['context'][_0x5aeb9b(0x218)]=this[_0x5aeb9b(0x2bb)](),this[_0x5aeb9b(0xe5)][_0x5aeb9b(0x124)](),this[_0x5aeb9b(0x18f)][_0x5aeb9b(0x229)](),this[_0x5aeb9b(0x2b1)]();}[_0x3ad27d(0x188)](_0x22bca9){const _0x45d6e6=_0x3ad27d;this[_0x45d6e6(0x314)](_0x4e7916=>![]),this[_0x45d6e6(0x18f)][_0x45d6e6(0x229)]();}[_0x3ad27d(0x34f)](_0x342330){const _0x19b30f=_0x3ad27d;this[_0x19b30f(0x3ec)](this[_0x19b30f(0xd6)](_0x342330));}[_0x3ad27d(0x48f)](_0x1711b6){const _0x288b07=_0x3ad27d,_0x126ccb=SanitizeManager[_0x288b07(0x39a)](_0x1711b6);this[_0x288b07(0xe5)]['seats']=this[_0x288b07(0xe5)][_0x288b07(0x218)][_0x288b07(0x50f)](_0xf8df36=>{const _0xb7f80=_0x288b07,_0x4147c2=!_0x126ccb['includes'](_0xf8df36['id']);return!!_0xf8df36[_0xb7f80(0x211)]!==_0x4147c2?{..._0xf8df36,'filtered':_0x4147c2}:_0xf8df36;}),this[_0x288b07(0x18f)][_0x288b07(0x229)]();}[_0x3ad27d(0x10c)](_0x5cc94e){const _0x53faea=_0x3ad27d;this[_0x53faea(0xe5)]['seats']=this[_0x53faea(0xe5)][_0x53faea(0x218)][_0x53faea(0x50f)](_0x3ff59c=>{const _0x591a77=_0x53faea,_0x3786d9=_0x5cc94e?!_0x5cc94e[_0x591a77(0x309)](_0x3ff59c['id']):![];return!!_0x3ff59c[_0x591a77(0x211)]!==_0x3786d9?{..._0x3ff59c,'filtered':_0x3786d9}:_0x3ff59c;}),this['stageLayer'][_0x53faea(0x229)]();}['filterSeatsByKeys'](_0x44c401){const _0x4bc275=_0x3ad27d;this[_0x4bc275(0x48f)](this['seatKeysToIds'](_0x44c401));}['seatKeysToIds'](_0x4e2842){const _0x10af37=_0x3ad27d;return _0x4e2842['map'](_0x3e9ade=>this['context'][_0x10af37(0x291)](_0x3e9ade))[_0x10af37(0x353)](Boolean)[_0x10af37(0x50f)](_0x20870b=>_0x20870b['id']);}['updateSeatLocks'](_0x124aa1){const _0x23d48b=_0x3ad27d;this[_0x23d48b(0xe5)][_0x23d48b(0x218)]=this['context'][_0x23d48b(0x218)][_0x23d48b(0x50f)](_0x600b35=>{const _0x59a2f1=_0x124aa1(_0x600b35);return!!_0x600b35['locked']!==_0x59a2f1?{..._0x600b35,'locked':_0x59a2f1}:_0x600b35;}),this['stageLayer'][_0x23d48b(0x229)]();}[_0x3ad27d(0x5a5)](){const _0x2d20bf=_0x3ad27d;return this[_0x2d20bf(0xe5)][_0x2d20bf(0x5a5)]()[_0x2d20bf(0x50f)](_0x3f1c96=>this[_0x2d20bf(0x3f2)](_0x3f1c96));}[_0x3ad27d(0x45a)](_0x347f0e){const _0x47c30a=_0x3ad27d,_0x20ab1a=this[_0x47c30a(0xe5)]['setSectionSelection'](_0x347f0e);if(!_0x20ab1a){this[_0x47c30a(0x9c)][_0x47c30a(0x45a)](void 0x0);return;}_0x20ab1a==null?void 0x0:_0x20ab1a[_0x47c30a(0x556)](_0x53cc81=>this[_0x47c30a(0x9c)][_0x47c30a(0x45a)](_0x53cc81));}[_0x3ad27d(0x3a6)](){const _0x2a0ad3=_0x3ad27d;return this[_0x2a0ad3(0xe5)][_0x2a0ad3(0x3a6)]();}[_0x3ad27d(0x334)](_0x2f565f,_0x423178){const _0x2be465=_0x3ad27d,_0x1074cd=SanitizeManager[_0x2be465(0x39a)](_0x2f565f);if(_0x423178==null?void 0x0:_0x423178[_0x2be465(0x3c3)]){const _0x428a1f=this['getSections']()[_0x2be465(0x353)](_0x12766e=>_0x12766e['disabled'])[_0x2be465(0x50f)](_0x14f407=>_0x14f407['id']);this[_0x2be465(0x54e)](_0x428a1f);}_0x1074cd[_0x2be465(0x556)](_0xd5ce30=>{const _0x5e8a97=_0x2be465;this[_0x5e8a97(0xe5)][_0x5e8a97(0x2d2)][_0xd5ce30]['disabled']=!![],this[_0x5e8a97(0x9c)]['disableSvgSectionById'](_0xd5ce30);}),this[_0x2be465(0xe5)]['selectedGaId']=void 0x0,this['updateBackgroundImage']();}['enableSvgSectionsByIds'](_0x181fa1){const _0x10eb01=_0x3ad27d,_0x37bcf1=SanitizeManager[_0x10eb01(0x39a)](_0x181fa1);_0x37bcf1[_0x10eb01(0x556)](_0x1b4a63=>{const _0x13f668=_0x10eb01;this['context'][_0x13f668(0x2d2)][_0x1b4a63][_0x13f668(0xe3)]=![],this[_0x13f668(0xe5)][_0x13f668(0x2d2)][_0x1b4a63][_0x13f668(0x89)]=![],this['outlineLayer']['enableSvgSectionById'](_0x1b4a63);}),this['context'][_0x10eb01(0x99)]=void 0x0,this[_0x10eb01(0x1f3)]();}async['updateBackgroundImage'](){const _0x44e844=_0x3ad27d;var _0x3da387;if(!this[_0x44e844(0xe5)]['underlay'][_0x44e844(0x168)])return;const _0x4b2999=new DOMParser(),_0x1e3ae0=_0x4b2999[_0x44e844(0x48e)](this[_0x44e844(0xe5)]['underlay']['svgString'],'image/svg+xml')||new SVGSVGElement(),_0x308564=_0x1e3ae0[_0x44e844(0x56d)](_0x44e844(0x4ec));if(_0x308564){_0x308564[_0x44e844(0x158)]='';const _0x485339=this[_0x44e844(0x9c)][_0x44e844(0x2eb)],_0x1732e0=(_0x3da387=_0x485339[_0x44e844(0xea)])==null?void 0x0:_0x3da387[_0x44e844(0x225)];_0x1732e0==null?void 0x0:_0x1732e0['forEach'](_0xc2032=>{_0x308564['appendChild'](_0xc2032['cloneNode'](!![]));});var _0x1ec0ae=new XMLSerializer(),_0x3b089e=_0x1ec0ae[_0x44e844(0x555)](_0x1e3ae0);this['stageLayer'][_0x44e844(0x4f4)]=await createSvgImageElement(_0x3b089e),this[_0x44e844(0x18f)][_0x44e844(0x581)]();}}['disableSectionsByIds'](_0x30aab2){const _0xa1a244=_0x3ad27d,_0x291a7d=SanitizeManager[_0xa1a244(0x39a)](_0x30aab2);_0x291a7d['forEach'](_0x2ffbb7=>{const _0x9a1cdf=_0xa1a244;this[_0x9a1cdf(0xe5)][_0x9a1cdf(0x2d2)][_0x2ffbb7]&&this[_0x9a1cdf(0xe5)][_0x9a1cdf(0x2d2)][_0x2ffbb7]['priceId']!==void 0x0&&(this['originalSectionPrices'][_0x2ffbb7]=this['context'][_0x9a1cdf(0x2d2)][_0x2ffbb7][_0x9a1cdf(0x549)],this[_0x9a1cdf(0xe5)]['sectionsById'][_0x2ffbb7][_0x9a1cdf(0xe3)]=!![],delete this[_0x9a1cdf(0xe5)][_0x9a1cdf(0x2d2)][_0x2ffbb7][_0x9a1cdf(0x549)],this['context'][_0x9a1cdf(0x2d2)][_0x2ffbb7]['selected']=![],this[_0x9a1cdf(0x2ab)]({'sectorId':_0x2ffbb7}));}),this[_0xa1a244(0xe5)][_0xa1a244(0x99)]=void 0x0,this[_0xa1a244(0x18f)]['redraw']();}[_0x3ad27d(0x196)](){const _0x4125ca=_0x3ad27d;if(!this[_0x4125ca(0x352)])return;Object['keys'](this[_0x4125ca(0x352)])[_0x4125ca(0x556)](_0x5ed936=>{const _0x1dc735=_0x4125ca,_0x42afed=Number(_0x5ed936);this[_0x1dc735(0xe5)][_0x1dc735(0x2d2)][_0x42afed]&&(this[_0x1dc735(0xe5)]['sectionsById'][_0x42afed][_0x1dc735(0xe3)]=![],this[_0x1dc735(0xe5)]['sectionsById'][_0x42afed][_0x1dc735(0x549)]=this[_0x1dc735(0x352)][_0x42afed]);}),this[_0x4125ca(0x352)]={},this['context'][_0x4125ca(0x99)]=void 0x0,this[_0x4125ca(0x18f)][_0x4125ca(0x229)]();}[_0x3ad27d(0xbb)](_0xe2f2f8,_0xccfa4b){const _0x302eb9=_0x3ad27d,_0x3a971e=SanitizeManager['sanitizeIds'](_0xe2f2f8);if(_0xccfa4b==null?void 0x0:_0xccfa4b[_0x302eb9(0x3c3)]){const _0x10c3e9=this[_0x302eb9(0x351)]()['filter'](_0x5b9a97=>_0x5b9a97[_0x302eb9(0x211)])[_0x302eb9(0x50f)](_0x454bd=>_0x454bd['id']);this['enableSvgSectionsByIds'](_0x10c3e9);}this[_0x302eb9(0x3ab)]()[_0x302eb9(0x556)](_0x2b7472=>{const _0xe73be2=_0x302eb9,_0x3f5797=Number(_0x2b7472),_0x4fad0d=!_0x3a971e[_0xe73be2(0x309)](_0x3f5797);this[_0xe73be2(0xe5)][_0xe73be2(0x2d2)][_0x3f5797]['filtered']=_0x4fad0d,_0x4fad0d?this[_0xe73be2(0x9c)][_0xe73be2(0x40a)](_0x3f5797):this['outlineLayer']['removeFilterSvgSectionById'](_0x3f5797);}),this[_0x302eb9(0xe5)][_0x302eb9(0x99)]=void 0x0;}['removeFilterSvgSectionsByIds'](_0x36d7b5){const _0x1a8636=_0x3ad27d;(_0x36d7b5?SanitizeManager['sanitizeIds'](_0x36d7b5):this[_0x1a8636(0x3ab)]())['forEach'](_0x405446=>{const _0x3eb00b=_0x1a8636,_0x6d8c26=Number(_0x405446);this[_0x3eb00b(0xe5)][_0x3eb00b(0x2d2)][_0x6d8c26][_0x3eb00b(0x211)]=![],this[_0x3eb00b(0xe5)]['sectionsById'][_0x6d8c26]['selected']=![],this['outlineLayer'][_0x3eb00b(0x55c)](_0x6d8c26);}),this[_0x1a8636(0xe5)]['selectedGaId']=void 0x0;}[_0x3ad27d(0x516)](_0x59d989,_0x5431e5){const _0x40cbb1=_0x3ad27d,_0x19f2e0=this[_0x40cbb1(0x351)]();this['disableSvgSectionsByIds'](_0x19f2e0[_0x40cbb1(0x353)](_0x5dcc86=>_0x59d989[_0x40cbb1(0x309)](_0x5dcc86['name']))[_0x40cbb1(0x50f)](_0x294194=>_0x294194['id']),_0x5431e5);}[_0x3ad27d(0x268)](_0x28fbfd){const _0x331df0=_0x3ad27d,_0x275fb4=this['getSections']();this[_0x331df0(0x54e)](_0x275fb4[_0x331df0(0x353)](_0x4c4298=>_0x28fbfd[_0x331df0(0x309)](_0x4c4298[_0x331df0(0x318)]))[_0x331df0(0x50f)](_0xb4eed3=>_0xb4eed3['id']));}[_0x3ad27d(0x8d)](_0x5aba22){const _0x5921c6=_0x3ad27d,_0x2eb4ec=this[_0x5921c6(0x241)](_0x5aba22);this[_0x5921c6(0xe5)][_0x5921c6(0x540)]=[..._0x2eb4ec],this[_0x5921c6(0x24a)]['redraw']();this[_0x5921c6(0xe5)]['settings'][_0x5921c6(0x2e3)]&&this[_0x5921c6(0x18f)][_0x5921c6(0x229)]();const _0x6f4a18=this['context'][_0x5921c6(0x218)][_0x5921c6(0x353)](_0x56d649=>_0x2eb4ec[_0x5921c6(0x309)](_0x56d649['id']));this[_0x5921c6(0xe5)]['settings']['onSeatsSelectionChange']&&this[_0x5921c6(0xe5)][_0x5921c6(0x3f7)][_0x5921c6(0x29d)](_0x6f4a18),this[_0x5921c6(0xe5)][_0x5921c6(0x3f7)][_0x5921c6(0xb8)]&&this['context'][_0x5921c6(0x3f7)][_0x5921c6(0xb8)](_0x6f4a18);}[_0x3ad27d(0x5b8)](_0x1c7c2b){const _0x597c1a=_0x3ad27d;let _0x8a7f66;if(_0x1c7c2b&&typeof _0x1c7c2b==='number')_0x8a7f66=_0x1c7c2b;else{if(_0x1c7c2b&&typeof _0x1c7c2b==='string'){const _0x3538bc=this['context'][_0x597c1a(0x3bb)]()[_0x597c1a(0x87)](_0xe6e3e6=>_0xe6e3e6['name']===_0x1c7c2b);(_0x3538bc==null?void 0x0:_0x3538bc[_0x597c1a(0x329)])&&(_0x8a7f66=_0x3538bc['id']);}}this['context'][_0x597c1a(0x99)]=_0x8a7f66,this[_0x597c1a(0x9c)]['highlightGa'](_0x8a7f66),this['selectionLayer'][_0x597c1a(0x229)]();}['getSelectedGa'](){const _0x3adc25=_0x3ad27d,_0x379d10=this[_0x3adc25(0xe5)][_0x3adc25(0x99)];return _0x379d10?this[_0x3adc25(0xe5)][_0x3adc25(0x2d2)][_0x379d10]:void 0x0;}[_0x3ad27d(0x351)](){const _0x26784a=_0x3ad27d;if(!this['context'][_0x26784a(0x2d2)])return[];return Object[_0x26784a(0x432)](this['context'][_0x26784a(0x2d2)]);}[_0x3ad27d(0x3ab)](){const _0x204ce5=_0x3ad27d;if(!this[_0x204ce5(0xe5)][_0x204ce5(0x2d2)])return[];return Object[_0x204ce5(0x26d)](this[_0x204ce5(0xe5)][_0x204ce5(0x2d2)]);}[_0x3ad27d(0x4b6)](){const _0x464143=_0x3ad27d;if(!this[_0x464143(0xe5)][_0x464143(0x416)])return[];return Object['values'](this[_0x464143(0xe5)][_0x464143(0x416)]);}[_0x3ad27d(0x2bb)](){const _0x48e3cc=_0x3ad27d;if(!this[_0x48e3cc(0xe5)][_0x48e3cc(0x101)])return[];return Object['values'](this[_0x48e3cc(0xe5)][_0x48e3cc(0x101)]);}[_0x3ad27d(0x453)](_0x5d907b){const _0x2917cf=_0x3ad27d;return this[_0x2917cf(0xe5)][_0x2917cf(0x416)][_0x5d907b];}[_0x3ad27d(0x433)](){const _0x4be342=_0x3ad27d;if(this['stageLayer']instanceof HTMLCanvasLayer){const _0x2c4c78=this[_0x4be342(0x18f)][_0x4be342(0x433)]();return _0x2c4c78['map'](_0x235f15=>({..._0x235f15,...this[_0x4be342(0xe5)][_0x4be342(0x223)](_0x235f15)}));}else{const _0x36adbc=this['stageLayer']['getVisibleSeats']();return _0x36adbc[_0x4be342(0x50f)](_0x6c2231=>({..._0x6c2231,...this[_0x4be342(0xe5)][_0x4be342(0x223)](_0x6c2231)}));}}[_0x3ad27d(0x289)](){const _0x25110b=_0x3ad27d,_0x1859f6=[][_0x25110b(0x437)][_0x25110b(0x33d)](this['outlineLayer'][_0x25110b(0x2eb)][_0x25110b(0x7f)]('.'+OUTLINE_CLASS+_0x25110b(0x3ba))),_0x2de728=_0x1859f6[_0x25110b(0x50f)](_0x2f2887=>{const _0x10df80=_0x25110b;let _0x232751;if(isGaOutline(_0x2f2887))_0x232751=this[_0x10df80(0x17b)](_0x2f2887);else isSectionOutline(_0x2f2887)&&(_0x232751=this[_0x10df80(0x50a)](_0x2f2887));return _0x232751;})['filter'](Boolean)['map'](_0x40f71b=>({..._0x40f71b,'x':Math[_0x25110b(0x469)](_0x40f71b['rect']['left']+_0x40f71b[_0x25110b(0x21b)][_0x25110b(0x3ff)]/0x2),'y':Math['round'](_0x40f71b[_0x25110b(0x21b)][_0x25110b(0x4c0)]+_0x40f71b[_0x25110b(0x21b)]['height']/0x2)}));return _0x2de728;}['getGaSectionByOutline'](_0x214618){const _0x15f84b=_0x3ad27d;var _0x9d5a01,_0x552c48,_0x2aa5c6;const _0x3bf5cc=_0x304e03=>{const _0x4d1c5f=_0x5195,_0x3d4351=Number(_0x304e03[_0x4d1c5f(0x521)](DATA_GOS_ID));if(_0x3d4351)return{'sectionId':_0x3d4351,'element':_0x304e03};const _0x8bc0f0=_0x304e03['parentNode'];return{'sectionId':Number(_0x8bc0f0['getAttribute'](DATA_GOS_ID)),'element':_0x8bc0f0};},{sectionId:_0x2d655a,element:_0x393c74}=_0x3bf5cc(_0x214618);if(_0x2d655a&&this['context'][_0x15f84b(0x2d2)][_0x2d655a]){const {id:_0x3d6f7c,name:_0x13753f,priceId:_0x26a9ac,special:_0x186391,type:_0x182a1f}=this[_0x15f84b(0xe5)]['sectionsById'][_0x2d655a];let _0x523d7d=void 0x0;if(_0x26a9ac){const _0x316101=this[_0x15f84b(0xe5)][_0x15f84b(0x18b)][Number(_0x26a9ac)];_0x316101&&(_0x523d7d=parseInt(_0x316101[_0x15f84b(0x318)]));}const _0x350b70=(_0x2aa5c6=(_0x552c48=(_0x9d5a01=this[_0x15f84b(0xe5)]['sectionsById'])==null?void 0x0:_0x9d5a01[_0x3d6f7c])==null?void 0x0:_0x552c48['isGa'])!=null?_0x2aa5c6:![];return{'id':_0x3d6f7c,'name':_0x13753f,'price':_0x523d7d,'special':_0x186391,'ga':_0x350b70,'rect':this['getSectorRectByOutline'](_0x393c74),'type':_0x182a1f};}return void 0x0;}[_0x3ad27d(0x50a)](_0x2e3326){const _0x56c453=_0x3ad27d,_0x215d17=Number(_0x2e3326['getAttribute'](DATA_GOS_ID));if(_0x215d17&&this['context'][_0x56c453(0x2d2)][_0x215d17]){const {id:_0x349851,name:_0x5b6189,priceId:_0x19822a,special:_0x184634,type:_0x471713}=this[_0x56c453(0xe5)][_0x56c453(0x2d2)][_0x215d17],_0x458c41=_0x19822a&&this[_0x56c453(0xe5)][_0x56c453(0x18b)][Number(_0x19822a)]?parseInt(this[_0x56c453(0xe5)][_0x56c453(0x18b)][Number(_0x19822a)]['name']):void 0x0;return{'id':_0x349851,'name':_0x5b6189,'price':_0x458c41,'special':_0x184634,'ga':![],'rect':this[_0x56c453(0x3c5)](_0x2e3326),'type':_0x471713};}return void 0x0;}['getSectorRectByOutline'](_0x436b0a){const _0x1f099b=_0x3ad27d,_0x8f3ca8=_0x436b0a[_0x1f099b(0x4bb)](),_0x8dc3ca=this[_0x1f099b(0xe5)][_0x1f099b(0x4d8)][_0x1f099b(0x4bb)]();return{'left':Math[_0x1f099b(0x469)](_0x8f3ca8[_0x1f099b(0x11e)]-_0x8dc3ca[_0x1f099b(0x11e)]),'top':Math[_0x1f099b(0x469)](_0x8f3ca8[_0x1f099b(0x4c0)]-_0x8dc3ca[_0x1f099b(0x4c0)]),'width':Math[_0x1f099b(0x469)](_0x8f3ca8[_0x1f099b(0x3ff)]),'height':Math[_0x1f099b(0x469)](_0x8f3ca8[_0x1f099b(0x3a3)])};}[_0x3ad27d(0x54f)](_0x3afd13,_0x144bf6){const _0x2a82be=_0x3ad27d,_0x5dc331=this[_0x2a82be(0xe5)][_0x2a82be(0x101)][_0x3afd13],_0x193b48=this[_0x2a82be(0xe5)][_0x2a82be(0x1ab)][_0x5dc331['rowId']][_0x2a82be(0x353)](_0x372b57=>!_0x372b57[_0x2a82be(0x3fc)]),_0x123651=Number(_0x5dc331['name']);if(!Number['isInteger'](_0x123651))return;let _0x222abb=_0x123651,_0x555a1c;const _0x53606c=[];do{_0x222abb++,_0x555a1c=_0x193b48[_0x2a82be(0x87)](_0xd80969=>_0xd80969['name']===String(_0x222abb));if(_0x555a1c)_0x53606c[_0x2a82be(0x244)](_0x555a1c);}while(_0x555a1c&&_0x53606c[_0x2a82be(0x4a7)]<_0x144bf6-0x1);let _0x20d78c=_0x123651,_0xde55fe;const _0x3b451f=[];do{_0x20d78c--,_0xde55fe=_0x193b48['find'](_0x38d3e5=>_0x38d3e5[_0x2a82be(0x318)]===String(_0x20d78c));if(_0xde55fe)_0x3b451f['push'](_0xde55fe);}while(_0xde55fe&&_0x3b451f[_0x2a82be(0x4a7)]<_0x144bf6-0x1);let _0xe77e36=Math[_0x2a82be(0x9b)]((_0x144bf6-0x1)/0x2),_0x481548=Math['floor']((_0x144bf6-0x1)/0x2);if(_0x3b451f['length']<_0xe77e36)_0xe77e36=_0x3b451f[_0x2a82be(0x4a7)],_0x481548=_0x144bf6-0x1-_0xe77e36;else _0x53606c[_0x2a82be(0x4a7)]<_0x481548&&(_0x481548=_0x53606c[_0x2a82be(0x4a7)],_0xe77e36=_0x144bf6-0x1-_0x481548);if(_0x53606c['length']<_0x481548||_0x3b451f[_0x2a82be(0x4a7)]<_0xe77e36)return;const _0x1d286d=[..._0x3b451f['slice'](0x0,_0xe77e36)[_0x2a82be(0x50d)](),_0x5dc331,..._0x53606c[_0x2a82be(0x437)](0x0,_0x481548)];return _0x1d286d;}[_0x3ad27d(0x198)](_0x33dd65){const _0x9867ae=_0x3ad27d;var _0x43df71;const _0x437ade=(_0x43df71=this[_0x9867ae(0xe5)][_0x9867ae(0x3f7)][_0x9867ae(0x1c5)])!=null?_0x43df71:defaultZoomSettings,_0x3d9308=Math[_0x9867ae(0x169)](_0x437ade['minPinchZoom']*DPR3,this['zoomToFitScale'])/this[_0x9867ae(0xe5)][_0x9867ae(0x143)],_0x22539d=_0x437ade['maxPinchZoom']*DPR3/this['context']['scale'];return Math[_0x9867ae(0x490)](_0x3d9308,Math[_0x9867ae(0x169)](_0x22539d,_0x33dd65));}[_0x3ad27d(0x333)](){const _0x1dce69=_0x3ad27d;return this[_0x1dce69(0xe5)][_0x1dce69(0x143)];}[_0x3ad27d(0x505)](){const _0x19bef5=_0x3ad27d,_0x2e61f1=this[_0x19bef5(0x80)]();_0x2e61f1!==this['context'][_0x19bef5(0x143)]&&this[_0x19bef5(0x3ac)](_0x2e61f1);}[_0x3ad27d(0x491)](){const _0x227399=_0x3ad27d,_0x535799=this[_0x227399(0x34d)]();_0x535799!==this['context'][_0x227399(0x143)]&&this[_0x227399(0x3ac)](_0x535799);}[_0x3ad27d(0x300)](_0x56c58c,_0x2ab722){const _0xea8559=_0x3ad27d,_0x3ec4df=_0x56c58c*DPR3;if(_0x2ab722==null?void 0x0:_0x2ab722[_0xea8559(0x426)]){const _0x4e0cc2={'x':_0x2ab722[_0xea8559(0x426)]['x']-this[_0xea8559(0x4aa)]()*DPR3/0x2/_0x3ec4df,'y':_0x2ab722[_0xea8559(0x426)]['y']-this[_0xea8559(0x584)]()*DPR3/0x2/_0x3ec4df};this[_0xea8559(0x2c9)](_0x3ec4df,_0x4e0cc2,_0x2ab722[_0xea8559(0x310)]);}else this[_0xea8559(0x3ac)](_0x3ec4df,void 0x0,_0x2ab722==null?void 0x0:_0x2ab722['durationMs']);}[_0x3ad27d(0x269)](){const _0x3f5576=_0x3ad27d,_0x3c141d=this[_0x3f5576(0x3be)];this['padding']=emptyPaddingSettings,this[_0x3f5576(0x3ac)](this['zoomToFitScale']||0x1),this[_0x3f5576(0x3be)]=_0x3c141d;}[_0x3ad27d(0x32d)](){const _0x5abccf=_0x3ad27d;this[_0x5abccf(0x9c)][_0x5abccf(0x510)]();}[_0x3ad27d(0x177)](_0x416b87){const _0x4146a9=_0x3ad27d;this[_0x4146a9(0x9c)][_0x4146a9(0x510)](),this['outlineLayer'][_0x4146a9(0x4ab)](_0x416b87);}[_0x3ad27d(0x1cf)](_0x2b37e9,_0x213f1b,_0x9e4544){const _0x3c2208=_0x3ad27d;this[_0x3c2208(0x459)][_0x3c2208(0x1cf)](_0x2b37e9,_0x213f1b,_0x9e4544,this[_0x3c2208(0xe5)][_0x3c2208(0x3f7)][_0x3c2208(0x2e2)]||0x0);}['zoomToSection'](_0x476b92,_0x5b074c){const _0x4f3a6b=_0x3ad27d;var _0x24c302;const _0x59e97b=this[_0x4f3a6b(0x486)](_0x476b92);if(!_0x59e97b)return;const _0x537261=this[_0x4f3a6b(0x9c)]['getSectionRect'](_0x59e97b);if(!_0x537261)return;(_0x5b074c==null?void 0x0:_0x5b074c[_0x4f3a6b(0x140)])&&this['outlineLayer'][_0x4f3a6b(0x18a)](_0x59e97b);const _0x2e3cbe=0x1*DPR3,_0x169bed=0x1,_0xd5edd4=this[_0x4f3a6b(0xe5)]['scale']/DPR3,_0x3d7dee=_0xd5edd4>0.5,_0x1655e={'x':_0x537261['x']+_0x537261['width']/0x2,'y':_0x537261['y']+_0x537261[_0x4f3a6b(0x3a3)]/0x2};if(this[_0x4f3a6b(0xe5)][_0x4f3a6b(0x1a0)]){const _0x566223=this[_0x4f3a6b(0xe5)][_0x4f3a6b(0x545)][_0x4f3a6b(0x144)],_0xb7a39e={'x':_0x566223[_0x4f3a6b(0x3ff)]/0x2,'y':_0x566223['height']/0x2};let _0xbe919a;try{const _0x6da67c=this['context'][_0x4f3a6b(0x218)][_0x4f3a6b(0x353)](_0x5e0c58=>_0x5e0c58[_0x4f3a6b(0x127)]===_0x59e97b);if(_0x6da67c[_0x4f3a6b(0x4a7)]>0x0){let _0x22966c=_0x6da67c[0x0]['x'],_0x3d73c4=_0x6da67c[0x0]['x'],_0x50ecae=_0x6da67c[0x0]['y'],_0x1cfe6e=_0x6da67c[0x0]['y'];for(let _0x1c1183=0x1;_0x1c1183<_0x6da67c[_0x4f3a6b(0x4a7)];_0x1c1183++){const _0x126b68=_0x6da67c[_0x1c1183];if(_0x126b68['x']<_0x22966c)_0x22966c=_0x126b68['x'];if(_0x126b68['x']>_0x3d73c4)_0x3d73c4=_0x126b68['x'];if(_0x126b68['y']<_0x50ecae)_0x50ecae=_0x126b68['y'];if(_0x126b68['y']>_0x1cfe6e)_0x1cfe6e=_0x126b68['y'];}_0xbe919a={'x':(_0x22966c+_0x3d73c4)/0x2,'y':(_0x50ecae+_0x1cfe6e)/0x2};}else _0xbe919a={'x':_0x537261['x']-_0x566223['x']+_0x537261[_0x4f3a6b(0x3ff)]/0x2,'y':_0x537261['y']-_0x566223['y']+_0x537261['height']/0x2};}catch(_0x5b9bcc){_0xbe919a={'x':_0x537261['x']-_0x566223['x']+_0x537261[_0x4f3a6b(0x3ff)]/0x2,'y':_0x537261['y']-_0x566223['y']+_0x537261[_0x4f3a6b(0x3a3)]/0x2};}const _0x577ddf=Math[_0x4f3a6b(0x529)](_0xb7a39e['y']-_0xbe919a['y'],_0xb7a39e['x']-_0xbe919a['x']),_0x3387a7=-Math['PI']/0x2-_0x577ddf,_0x3fc6e6=_0x3387a7*0xb4/Math['PI'];let _0x6ef6e;const _0x39309e=0.000001;Math[_0x4f3a6b(0x27d)]((_0x24c302=this['context'][_0x4f3a6b(0x422)])!=null?_0x24c302:0x0)<_0x39309e&&(_0x6ef6e=-0.2);if(_0x3d7dee){this[_0x4f3a6b(0x360)]([{'zoomTo':0.5,'destination':_0x1655e,'rotateTo':_0x3fc6e6,'tiltTo':_0x6ef6e},{'zoomTo':_0x169bed}]);return;}const _0x101147=_0x2e3cbe/this[_0x4f3a6b(0xe5)]['scale'],_0x44cb20={'x':_0x1655e['x']-this[_0x4f3a6b(0x4aa)]()*DPR3/0x2/_0x2e3cbe,'y':_0x1655e['y']-this[_0x4f3a6b(0x584)]()*DPR3/0x2/_0x2e3cbe},_0x40b445={'x':(this['context'][_0x4f3a6b(0x545)][_0x4f3a6b(0x144)]['x']-_0x44cb20['x'])*_0x2e3cbe,'y':(this['context'][_0x4f3a6b(0x545)]['viewBox']['y']-_0x44cb20['y'])*_0x2e3cbe},_0xac1a0=this[_0x4f3a6b(0x597)](_0x40b445,_0x2e3cbe),_0xde696b=this[_0x4f3a6b(0xae)](_0x101147,_0xac1a0);this[_0x4f3a6b(0x459)][_0x4f3a6b(0x301)]({'duration':this[_0x4f3a6b(0xe5)][_0x4f3a6b(0x3f7)][_0x4f3a6b(0x2e2)]||0x0,'fromScale':this[_0x4f3a6b(0xe5)][_0x4f3a6b(0x143)],'toScale':_0x2e3cbe,'toTranslate':_0xac1a0,'relativeTranslate':_0xde696b,'fromRotationZ':this[_0x4f3a6b(0xe5)][_0x4f3a6b(0x40c)],'toRotationZ':_0x3387a7,'fromTiltX':this[_0x4f3a6b(0xe5)][_0x4f3a6b(0x422)],'toTiltX':_0x6ef6e,'fromPerspectiveZ':this[_0x4f3a6b(0xe5)][_0x4f3a6b(0x3c7)],'toPerspectiveZ':this[_0x4f3a6b(0xe5)][_0x4f3a6b(0x3c7)]});return;}if(_0x3d7dee){this['animateSequence']([{'zoomTo':0.5,'destination':_0x1655e},{'zoomTo':_0x169bed}]);return;}const _0x20aa1e={'x':_0x1655e['x']-this[_0x4f3a6b(0x3ff)]*DPR3/0x2/_0x2e3cbe,'y':_0x1655e['y']-this['height']*DPR3/0x2/_0x2e3cbe};this[_0x4f3a6b(0x2c9)](_0x2e3cbe,_0x20aa1e);}['zoomToDestination'](_0x4436e0,_0x578a65,_0x31c79f){const _0x2ae1ea=_0x3ad27d,_0x20f4a1=_0x4436e0/this[_0x2ae1ea(0xe5)]['scale'],_0x4578aa={'x':(this[_0x2ae1ea(0xe5)][_0x2ae1ea(0x545)][_0x2ae1ea(0x144)]['x']-_0x578a65['x'])*_0x4436e0,'y':(this[_0x2ae1ea(0xe5)]['underlay'][_0x2ae1ea(0x144)]['y']-_0x578a65['y'])*_0x4436e0},_0x34a5cd=this[_0x2ae1ea(0x597)](_0x4578aa,_0x4436e0),_0x4278d6=this['calculateRelativeScaledLimitedTranslate'](_0x20f4a1,_0x34a5cd);this[_0x2ae1ea(0x459)][_0x2ae1ea(0x301)]({'duration':_0x31c79f||this[_0x2ae1ea(0xe5)][_0x2ae1ea(0x3f7)][_0x2ae1ea(0x2e2)]||0x0,'fromScale':this[_0x2ae1ea(0xe5)][_0x2ae1ea(0x143)],'toScale':_0x4436e0,'toTranslate':_0x4578aa,'relativeTranslate':_0x4278d6});}async[_0x3ad27d(0x360)](_0x5cf9ce){const _0x162364=_0x3ad27d;if(!Array[_0x162364(0x375)](_0x5cf9ce)||_0x5cf9ce[_0x162364(0x4a7)]===0x0)return;for(const _0x212047 of _0x5cf9ce){await new Promise(_0x13856=>{const _0x3116f2=_0x162364;var _0x48ec68,_0x314609;const _0x538cb9=_0x212047[_0x3116f2(0x300)]!==void 0x0?_0x212047[_0x3116f2(0x300)]*DPR3:this[_0x3116f2(0xe5)][_0x3116f2(0x143)],_0x1bb79d=_0x538cb9/this[_0x3116f2(0xe5)][_0x3116f2(0x143)];let _0x422269=this[_0x3116f2(0xe5)]['translate'],_0x17f5e1;if(_0x212047[_0x3116f2(0x426)]){const _0x4d9930={'x':_0x212047[_0x3116f2(0x426)]['x']-this['getWidth']()*DPR3/0x2/_0x538cb9,'y':_0x212047[_0x3116f2(0x426)]['y']-this['getHeight']()*DPR3/0x2/_0x538cb9},_0x3c3cfb={'x':(this[_0x3116f2(0xe5)]['underlay'][_0x3116f2(0x144)]['x']-_0x4d9930['x'])*_0x538cb9,'y':(this['context'][_0x3116f2(0x545)][_0x3116f2(0x144)]['y']-_0x4d9930['y'])*_0x538cb9},_0x3e6554=this[_0x3116f2(0x597)](_0x3c3cfb,_0x538cb9);_0x422269=_0x3e6554,_0x17f5e1=this['calculateRelativeScaledLimitedTranslate'](_0x1bb79d,_0x3e6554);}else{const _0x2ad2db=this['calculateAbsoluteScaledTranslate'](_0x1bb79d),_0x2eb2d3=this[_0x3116f2(0x597)](_0x2ad2db,_0x538cb9);_0x422269=_0x2eb2d3,_0x17f5e1=this[_0x3116f2(0xae)](_0x1bb79d,_0x2eb2d3);}const _0x1565a4=this['context'][_0x3116f2(0x40c)],_0x4def6e=_0x212047[_0x3116f2(0xfe)]!==void 0x0?_0x212047[_0x3116f2(0xfe)]*Math['PI']/0xb4:_0x1565a4,_0x56268d=this[_0x3116f2(0xe5)][_0x3116f2(0x422)],_0x176054=_0x212047[_0x3116f2(0x56c)]!==void 0x0?_0x212047[_0x3116f2(0x56c)]:_0x56268d,_0x44b0bc=this[_0x3116f2(0xe5)][_0x3116f2(0x3c7)],_0x4ed052=_0x212047[_0x3116f2(0x25a)]!==void 0x0?_0x212047['perspectiveTo']:_0x44b0bc,_0x504b37=()=>_0x13856(),_0x46d12d=_0x538cb9===this[_0x3116f2(0xe5)][_0x3116f2(0x143)],_0xfd13c0=_0x422269['x']===this[_0x3116f2(0xe5)][_0x3116f2(0x1d4)]['x']&&_0x422269['y']===this['context'][_0x3116f2(0x1d4)]['y'],_0x4daa2a=_0x1565a4===_0x4def6e&&_0x56268d===_0x176054&&_0x44b0bc===_0x4ed052;if(_0x46d12d&&_0xfd13c0&&_0x4daa2a){_0x13856();return;}this['transformAnimator'][_0x3116f2(0x301)]({'duration':(_0x314609=(_0x48ec68=_0x212047[_0x3116f2(0x310)])!=null?_0x48ec68:this[_0x3116f2(0xe5)][_0x3116f2(0x3f7)]['zoomAnimationDuration'])!=null?_0x314609:0x0,'fromScale':this[_0x3116f2(0xe5)][_0x3116f2(0x143)],'toScale':_0x538cb9,'toTranslate':_0x422269,'relativeTranslate':_0x17f5e1,'fromRotationZ':_0x1565a4,'toRotationZ':_0x4def6e,'fromTiltX':_0x56268d,'toTiltX':_0x176054,'fromPerspectiveZ':_0x44b0bc,'toPerspectiveZ':_0x4ed052,'onComplete':_0x504b37});});}}['getSectionId'](_0x4ad522){const _0x2a0d87=_0x3ad27d;if(!_0x4ad522)return null;if(typeof _0x4ad522===_0x2a0d87(0x339))return _0x4ad522;const _0x44686a=this[_0x2a0d87(0x351)]()['find'](_0x517119=>_0x517119['name']===_0x4ad522);if(!_0x44686a)return null;return _0x44686a['id'];}[_0x3ad27d(0x3ac)](_0x3dfc52,_0x1c1044,_0x4e9bca){const _0x8bfaa5=_0x3ad27d,_0x3f7978=_0x3dfc52/this[_0x8bfaa5(0xe5)][_0x8bfaa5(0x143)],_0x34a3a7=this[_0x8bfaa5(0x376)](_0x3f7978,_0x1c1044),_0x18980d=this[_0x8bfaa5(0x597)](_0x34a3a7,_0x3dfc52),_0x24817c=this[_0x8bfaa5(0xae)](_0x3f7978,_0x18980d);this[_0x8bfaa5(0x459)][_0x8bfaa5(0x301)]({'duration':_0x4e9bca||this['context'][_0x8bfaa5(0x3f7)]['zoomAnimationDuration']||0x0,'fromScale':this[_0x8bfaa5(0xe5)][_0x8bfaa5(0x143)],'toScale':_0x3dfc52,'toTranslate':_0x18980d,'relativeTranslate':_0x24817c}),this[_0x8bfaa5(0xe5)]['settings'][_0x8bfaa5(0x3fe)]&&this[_0x8bfaa5(0xe5)]['settings'][_0x8bfaa5(0x3fe)](_0x3dfc52,this[_0x8bfaa5(0xe5)][_0x8bfaa5(0x143)]);}['cachedDraw'](_0x549d14,_0x291855){const _0x55e5e0=_0x3ad27d;if(this[_0x55e5e0(0xe5)][_0x55e5e0(0x1a0)])this[_0x55e5e0(0x9c)]['updateAnimationStep'](_0x549d14,_0x291855);else this[_0x55e5e0(0xe5)][_0x55e5e0(0x3f7)]['showOutlineLayerOnAnimation']?this['outlineLayer'][_0x55e5e0(0xc1)](_0x549d14,_0x291855):this[_0x55e5e0(0x9c)][_0x55e5e0(0x4dd)]();this['stageLayer'][_0x55e5e0(0x275)](_0x549d14,_0x291855),this[_0x55e5e0(0x24a)][_0x55e5e0(0x275)](_0x549d14,_0x291855),this[_0x55e5e0(0x35d)]&&this[_0x55e5e0(0x35d)][_0x55e5e0(0x202)]();}async[_0x3ad27d(0x229)](){const _0x2fe201=_0x3ad27d;this['context'][_0x2fe201(0x3f7)][_0x2fe201(0x4ac)]&&this['context'][_0x2fe201(0x3f7)][_0x2fe201(0x4ac)]();this[_0x2fe201(0x18f)][_0x2fe201(0x229)](),this[_0x2fe201(0x24a)][_0x2fe201(0x229)]();if(!this['stageLayer'][_0x2fe201(0x129)])this[_0x2fe201(0x9c)]['update']();this['minimapLayer']&&this[_0x2fe201(0x35d)][_0x2fe201(0x202)](),this[_0x2fe201(0xe5)][_0x2fe201(0x3f7)][_0x2fe201(0x418)]&&this[_0x2fe201(0xe5)]['settings'][_0x2fe201(0x418)]();}[_0x3ad27d(0x1be)](_0x5d6de0){const _0x1952e=_0x3ad27d,_0x328e6b=this['context'][_0x1952e(0x40c)]||0x0,_0x585322=this[_0x1952e(0xe5)][_0x1952e(0x422)]||0x0,_0x35c6fe=Math[_0x1952e(0x161)](_0x328e6b),_0x32012c=Math[_0x1952e(0x473)](_0x328e6b),_0x141fa7=_0x5d6de0['x']*_0x35c6fe+_0x5d6de0['y']*_0x32012c,_0x4a5a17=-_0x5d6de0['x']*_0x32012c+_0x5d6de0['y']*_0x35c6fe,_0x5c9a4c=Math[_0x1952e(0x161)](_0x585322),_0x2ba7fc=Math[_0x1952e(0x490)](0.1,Math[_0x1952e(0x27d)](_0x5c9a4c)),_0x106a84=0x1/_0x2ba7fc,_0x3c3a63=0x1+0.5*Math[_0x1952e(0x27d)](Math[_0x1952e(0x473)](_0x585322)),_0x1f7df4=Math[_0x1952e(0x169)](0x4,_0x106a84*_0x3c3a63);return{'x':_0x141fa7,'y':_0x4a5a17*_0x1f7df4};}[_0x3ad27d(0x597)](_0xb77fc5,_0x590ec8){const _0x4e7404=_0x3ad27d;return{'x':this[_0x4e7404(0x3ca)](_0xb77fc5['x'],this['width']*DPR3,this[_0x4e7404(0xe5)]['underlay'][_0x4e7404(0x144)][_0x4e7404(0x3ff)],_0x590ec8),'y':this[_0x4e7404(0x3ca)](_0xb77fc5['y'],this[_0x4e7404(0x3a3)]*DPR3,this[_0x4e7404(0xe5)][_0x4e7404(0x545)]['viewBox'][_0x4e7404(0x3a3)],_0x590ec8)};}[_0x3ad27d(0x3ca)](_0x4ae736,_0x26acac,_0x5ceb2b,_0x5c3043){const _0x2f6a3b=_0x3ad27d,_0x223d3a=this[_0x2f6a3b(0x3be)]*_0x26acac,_0x50181e=this[_0x2f6a3b(0x3be)]*_0x26acac,_0x440c14=!_0x5c3043?_0x5ceb2b*this['context']['scale']:_0x5ceb2b*_0x5c3043,_0x5a45dd=_0x440c14+_0x223d3a+_0x50181e;if(_0x5a45dd<_0x26acac)return(_0x26acac-_0x5a45dd)/0x2+_0x223d3a;if(_0x4ae736>_0x223d3a)return _0x223d3a;const _0x5eec10=(_0x5a45dd-_0x26acac)*-0x1+_0x223d3a;if(_0x4ae736<_0x5eec10)return _0x5eec10;return _0x4ae736;}[_0x3ad27d(0xae)](_0x5a5e9e,_0x44a887){const _0x5449e6=_0x3ad27d;return subPoints(_0x44a887,{'x':this[_0x5449e6(0xe5)][_0x5449e6(0x1d4)]['x']*_0x5a5e9e,'y':this[_0x5449e6(0xe5)][_0x5449e6(0x1d4)]['y']*_0x5a5e9e});}[_0x3ad27d(0x376)](_0xc836dc,_0x52e9d9,_0x1c9cf0){const _0x12eedf=_0x3ad27d;return addPoints(this[_0x12eedf(0x36a)](_0xc836dc,_0x52e9d9,_0x1c9cf0),{'x':this[_0x12eedf(0xe5)][_0x12eedf(0x1d4)]['x']*_0xc836dc,'y':this['context'][_0x12eedf(0x1d4)]['y']*_0xc836dc});}[_0x3ad27d(0x36a)](_0x171d6a,_0x53507b,_0xfe9c91){const _0x466ea0=_0x3ad27d,_0x40b7b9=_0x53507b||{'x':this[_0x466ea0(0x3ff)]/0x2,'y':this['height']/0x2},_0x47bfe5=_0xfe9c91||{'x':0x0,'y':0x0};return{'x':(_0x40b7b9['x']*(0x1-_0x171d6a)+_0x47bfe5['x'])*DPR3,'y':(_0x40b7b9['y']*(0x1-_0x171d6a)+_0x47bfe5['y'])*DPR3};}[_0x3ad27d(0x347)](_0xbfd359){const _0x36bed9=_0x3ad27d;var _0xfdeba3;const _0x2a4e6e=this[_0x36bed9(0xe5)][_0x36bed9(0x3f7)]['initialPadding']||0.85,_0x50ad84=this[_0x36bed9(0x3ff)]/_0xbfd359[_0x36bed9(0x144)][_0x36bed9(0x3ff)],_0x8b135b=this[_0x36bed9(0x3a3)]/_0xbfd359[_0x36bed9(0x144)][_0x36bed9(0x3a3)];let _0x3636ba=_0x50ad84>_0x8b135b?_0x8b135b:_0x50ad84;const _0x2a863d=(_0xfdeba3=this[_0x36bed9(0xe5)][_0x36bed9(0x3f7)][_0x36bed9(0x1c5)])!=null?_0xfdeba3:defaultZoomSettings;_0x3636ba=Math[_0x36bed9(0x169)](_0x2a863d['maxZoomToFitScale']*DPR3,_0x3636ba*_0x2a4e6e*DPR3);const _0x4e9dc4={'x':(this[_0x36bed9(0x3ff)]*DPR3-_0xbfd359[_0x36bed9(0x144)][_0x36bed9(0x3ff)]*_0x3636ba)/0x2,'y':(this[_0x36bed9(0x3a3)]*DPR3-_0xbfd359[_0x36bed9(0x144)][_0x36bed9(0x3a3)]*_0x3636ba)/0x2};return{'scale':_0x3636ba,'translate':_0x4e9dc4};}[_0x3ad27d(0x80)](){const _0x3a753a=_0x3ad27d,_0x127f0a=this[_0x3a753a(0x134)]();for(let _0x49cda0=0x0;_0x49cda0<_0x127f0a[_0x3a753a(0x4a7)];_0x49cda0++){if(_0x127f0a[_0x49cda0]>this[_0x3a753a(0xe5)][_0x3a753a(0x143)])return _0x127f0a[_0x49cda0];}return this[_0x3a753a(0xc2)]();}[_0x3ad27d(0x34d)](){const _0x29683d=_0x3ad27d,_0x221f48=this['getZoomPresets']();for(let _0x111915=_0x221f48[_0x29683d(0x4a7)]-0x1;_0x111915>=0x0;_0x111915--){if(_0x221f48[_0x111915]<this['context']['scale'])return _0x221f48[_0x111915];}return this[_0x29683d(0x5b5)]();}[_0x3ad27d(0x134)](){const _0x5888e9=_0x3ad27d;var _0x25afbf;const _0x5f30f4=(_0x25afbf=this[_0x5888e9(0xe5)][_0x5888e9(0x3f7)][_0x5888e9(0x1c5)])!=null?_0x25afbf:defaultZoomSettings;if(!this[_0x5888e9(0x273)]&&_0x5f30f4)return _0x5f30f4['presets']['map'](_0x30bdb2=>_0x30bdb2*DPR3);const _0x36c506=this[_0x5888e9(0x273)],_0x10bc84=[_0x36c506];return _0x5f30f4[_0x5888e9(0x2a3)][_0x5888e9(0x50f)](_0x36ab12=>_0x36ab12*DPR3)[_0x5888e9(0x556)](_0x3e38be=>{const _0x39eb83=_0x5888e9;Math[_0x39eb83(0x490)](_0x3e38be/_0x36c506,_0x36c506/_0x3e38be)>1.2&&_0x10bc84[_0x39eb83(0x244)](_0x3e38be);}),_0x10bc84[_0x5888e9(0x405)]((_0x51578f,_0x36184c)=>_0x51578f-_0x36184c);}[_0x3ad27d(0x5b5)](){const _0x52abe6=_0x3ad27d;return this[_0x52abe6(0x134)]()[0x0];}[_0x3ad27d(0xc2)](){const _0x2fff33=_0x3ad27d,_0x3751b8=this[_0x2fff33(0x134)]();return _0x3751b8[_0x3751b8[_0x2fff33(0x4a7)]-0x1];}[_0x3ad27d(0x274)](_0x109be1){const _0x40ae5b=_0x3ad27d;if(this[_0x40ae5b(0x18f)]instanceof HTMLCanvasLayer){const _0x2ece0b=this[_0x40ae5b(0x289)](),_0x2d3713=_0x2ece0b[_0x40ae5b(0x87)](_0x587a2f=>_0x587a2f['id']===_0x109be1['id']);if(!_0x2d3713)return;const _0x131a24=this[_0x40ae5b(0x18f)][_0x40ae5b(0x37d)]()[_0x40ae5b(0xe7)];if(_0x131a24)return;const _0x5428d7=this[_0x40ae5b(0x18f)][_0x40ae5b(0xf3)]();this[_0x40ae5b(0x9c)][_0x40ae5b(0x4dd)]();const _0x538f7b={'zoomToFit':()=>this['zoomToFit'](),'getSectionsWithCoords':()=>this[_0x40ae5b(0x289)]()};this[_0x40ae5b(0x18f)][_0x40ae5b(0x520)](_0x2d3713,_0x538f7b)['then'](_0x15fcfa=>{const _0x2d7852=_0x40ae5b;if(!_0x15fcfa){this[_0x2d7852(0x9c)]['show'](),this['redraw']();return;}const _0x5c2f81=this[_0x2d7852(0xe5)][_0x2d7852(0x218)],_0x187f08=_0x5c2f81[_0x2d7852(0x4a7)]?0x1:Math[_0x2d7852(0x169)](0x1,this[_0x2d7852(0xe5)][_0x2d7852(0x143)]*2.5);this[_0x2d7852(0x3ac)](_0x187f08,_0x5428d7,this[_0x2d7852(0xe5)]['settings'][_0x2d7852(0x2e4)]);const _0x43dd82={...this[_0x2d7852(0x18f)][_0x2d7852(0x509)]};if(this[_0x2d7852(0x18f)]instanceof HTMLCanvasLayer){const _0x4996e7={...this[_0x2d7852(0x18f)][_0x2d7852(0x37d)]()};this[_0x2d7852(0x24a)][_0x2d7852(0x43b)](_0x43dd82),this[_0x2d7852(0x24a)][_0x2d7852(0x1b7)]({..._0x4996e7,'skewAngle':_0x43dd82[_0x2d7852(0x39d)],'rotationAngle':_0x43dd82['rotationAngle']});}else throw new Error(_0x2d7852(0x3db));this[_0x2d7852(0x24a)]['sectionViewActive']=!![],this[_0x2d7852(0x24a)][_0x2d7852(0x229)]();});}else{const _0x4f123b=this[_0x40ae5b(0x289)](),_0x42a8ab=_0x4f123b[_0x40ae5b(0x87)](_0x3e4c2f=>_0x3e4c2f['id']===_0x109be1['id']);if(!_0x42a8ab)return;const _0x474a0d=this['stageLayer']['getAnimationState'](),_0xa0b7a6=_0x474a0d[_0x40ae5b(0xe7)];if(_0xa0b7a6)return;this['outlineLayer']['hide']();const _0x1e4d9d={'zoomToFit':()=>this[_0x40ae5b(0x269)](),'getSectionsWithCoords':()=>this[_0x40ae5b(0x289)]()};this[_0x40ae5b(0x18f)]['applySectionViewAnimation'](_0x42a8ab,_0x1e4d9d)[_0x40ae5b(0x4ae)](_0x25a527=>{const _0x3b8574=_0x40ae5b;if(!_0x25a527){this[_0x3b8574(0x9c)][_0x3b8574(0x47a)](),this[_0x3b8574(0x229)]();return;}_0x109be1['id']!==void 0x0&&this[_0x3b8574(0x3d1)](_0x109be1['id'],{'focus':!![]}),this['outlineLayer'][_0x3b8574(0x47a)](),this['redraw']();});}}['getStageLayer'](){const _0x538b5c=_0x3ad27d;if(this[_0x538b5c(0xe5)][_0x538b5c(0x3f7)][_0x538b5c(0x2e3)]){const _0x598c68=WebGLCanvasLayer['isWebGlAvailable']();if(_0x598c68)return new WebGLCanvasLayer(this[_0x538b5c(0xe5)]);}return new HTMLCanvasLayer(this[_0x538b5c(0xe5)]);}['update3DView'](_0x290d8a){const _0x302756=_0x3ad27d;if(!this['context'][_0x302756(0x1a0)]){console[_0x302756(0x24d)]('3D\x20view\x20is\x20not\x20enabled.\x20Set\x20enable3DView:\x20true\x20in\x20settings.');return;}_0x290d8a[_0x302756(0x40c)]!==void 0x0&&(this[_0x302756(0xe5)][_0x302756(0x40c)]=_0x290d8a[_0x302756(0x40c)]),_0x290d8a[_0x302756(0x3c7)]!==void 0x0&&(this[_0x302756(0xe5)][_0x302756(0x3c7)]=_0x290d8a[_0x302756(0x3c7)]),_0x290d8a[_0x302756(0x422)]!==void 0x0&&(this['context'][_0x302756(0x422)]=_0x290d8a[_0x302756(0x422)]),this['stageLayer']&&_0x302756(0x1ec)in this['stageLayer']?this['stageLayer']['forceRedraw']():this[_0x302756(0x18f)]['redraw'](),this[_0x302756(0x24a)][_0x302756(0x229)](),this[_0x302756(0x9c)]&&this[_0x302756(0x9c)]['forceUpdate']();}[_0x3ad27d(0x503)](){const _0x462936=_0x3ad27d;return{'enable3DView':this[_0x462936(0xe5)][_0x462936(0x1a0)],'rotationZ':this['context'][_0x462936(0x40c)],'perspectiveZ':this[_0x462936(0xe5)][_0x462936(0x3c7)],'tiltX':this[_0x462936(0xe5)]['tiltX']};}[_0x3ad27d(0x93)](_0x4b0525,_0x452168=0x320){const _0x551fa2=_0x3ad27d;if(!this['context'][_0x551fa2(0x1a0)])return console['warn'](_0x551fa2(0x477)),Promise['resolve']();return animate3D({'rotationZ':this[_0x551fa2(0xe5)][_0x551fa2(0x40c)],'perspectiveZ':this[_0x551fa2(0xe5)][_0x551fa2(0x3c7)],'tiltX':this[_0x551fa2(0xe5)][_0x551fa2(0x422)]},_0x4b0525,_0x452168,({rotationZ:_0x5c4e83,perspectiveZ:_0x194261,tiltX:_0x1f7f6c})=>{const _0x342468=_0x551fa2;var _0x49f51e;if(_0x5c4e83!==void 0x0)this['context'][_0x342468(0x40c)]=_0x5c4e83;if(_0x194261!==void 0x0)this[_0x342468(0xe5)][_0x342468(0x3c7)]=_0x194261;if(_0x1f7f6c!==void 0x0)this[_0x342468(0xe5)][_0x342468(0x422)]=_0x1f7f6c;this['stageLayer']&&_0x342468(0x1ec)in this[_0x342468(0x18f)]?this[_0x342468(0x18f)]['forceRedraw']():this[_0x342468(0x18f)][_0x342468(0x229)](),this[_0x342468(0x24a)][_0x342468(0x229)](),(_0x49f51e=this[_0x342468(0x9c)])==null?void 0x0:_0x49f51e[_0x342468(0xfd)]();});}['animateRotation'](_0x116732){const _0x36634b=_0x3ad27d;if(!this['context']['enable3DView'])return console['warn'](_0x36634b(0x477)),null;if(this['transformAnimator'][_0x36634b(0x115)]())return this['transformAnimator'][_0x36634b(0x2e8)](_0x116732),null;this[_0x36634b(0x526)][_0x36634b(0x115)]()&&this[_0x36634b(0x526)][_0x36634b(0x2e1)]();this[_0x36634b(0x3b3)][_0x36634b(0x13a)]('animatestart');const _0x8dafab=this['rotationAnimation']['start'](_0x116732,_0x4d854d=>{const _0xc04d8b=_0x36634b;var _0x2ce9e8;this[_0xc04d8b(0xe5)][_0xc04d8b(0x40c)]=_0x4d854d,this[_0xc04d8b(0x18f)]&&'forceRedraw'in this[_0xc04d8b(0x18f)]?this[_0xc04d8b(0x18f)]['forceRedraw']():this['stageLayer'][_0xc04d8b(0x229)](),this[_0xc04d8b(0x24a)][_0xc04d8b(0x229)](),(_0x2ce9e8=this[_0xc04d8b(0x9c)])==null?void 0x0:_0x2ce9e8[_0xc04d8b(0xfd)]();});return _0x8dafab;}[_0x3ad27d(0x27a)](){const _0x30feb6=_0x3ad27d;this['rotationAnimation'][_0x30feb6(0x115)]()&&(this[_0x30feb6(0x526)][_0x30feb6(0x2e1)](),this[_0x30feb6(0x3b3)][_0x30feb6(0x13a)](_0x30feb6(0x534)));}[_0x3ad27d(0x4a5)](){const _0x37e03=_0x3ad27d;return this[_0x37e03(0x526)][_0x37e03(0x115)]();}[_0x3ad27d(0x28e)](){const _0x312423=_0x3ad27d;return this[_0x312423(0x526)][_0x312423(0x91)]();}[_0x3ad27d(0x31e)](_0x4728a9){const _0x57b012=_0x3ad27d;var _0x3a4ff8,_0x27856a;this[_0x57b012(0xe5)]['settings']['highlightAllOutlines']=_0x4728a9,_0x4728a9?(_0x3a4ff8=this['outlineLayer'])==null?void 0x0:_0x3a4ff8[_0x57b012(0x551)]():(_0x27856a=this[_0x57b012(0x9c)])==null?void 0x0:_0x27856a['clearSectionHighlight']();}[_0x3ad27d(0x3af)](){const _0x5d232e=_0x3ad27d;return this[_0x5d232e(0xe5)][_0x5d232e(0x3f7)][_0x5d232e(0xfb)]||![];}['showMinimap'](){const _0x47603a=_0x3ad27d;this['minimapLayer']&&this['minimapLayer'][_0x47603a(0x47a)]();}[_0x3ad27d(0x248)](){const _0x56b9ed=_0x3ad27d;this['minimapLayer']&&this['minimapLayer'][_0x56b9ed(0x4dd)]();}[_0x3ad27d(0x35a)](){const _0x3c20f8=_0x3ad27d;var _0x464d87;if(this['minimapLayer']){const _0x2d537e=((_0x464d87=this[_0x3c20f8(0x35d)][_0x3c20f8(0x48d)])==null?void 0x0:_0x464d87['style'][_0x3c20f8(0x146)])!==_0x3c20f8(0x2c8);_0x2d537e?this[_0x3c20f8(0x35d)][_0x3c20f8(0x4dd)]():this[_0x3c20f8(0x35d)]['show']();}}['setMinimapPinsEnabled'](_0x5855b8){const _0x51145b=_0x3ad27d;this[_0x51145b(0x35d)]&&(this[_0x51145b(0x35d)][_0x51145b(0xd3)](_0x5855b8),this[_0x51145b(0x2b1)]());}[_0x3ad27d(0x1ca)](_0x3fa450){const _0x4632d4=_0x3ad27d;this[_0x4632d4(0x35d)]&&this[_0x4632d4(0x35d)][_0x4632d4(0x413)](_0x3fa450);}},getOffset=_0x457ba6=>{const _0x3f4a44=_0x3ad27d,_0x4218a1=_0x457ba6[_0x3f4a44(0x4bb)](),_0x1f0df4=document[_0x3f4a44(0x46c)];let _0x280600=window[_0x3f4a44(0x3cb)],_0x291249=window[_0x3f4a44(0x58a)];return _0x1f0df4&&(_0x280600=_0x280600||_0x1f0df4['scrollLeft'],_0x291249=_0x291249||_0x1f0df4[_0x3f4a44(0x17c)]),{'top':_0x4218a1[_0x3f4a44(0x4c0)]+_0x291249,'left':_0x4218a1['left']+_0x280600};},getSeatsWithUpdatedCoords=({seats:_0x8d764c,background:_0x4daa5e})=>_0x8d764c[_0x3ad27d(0x50f)](_0x5388b6=>({..._0x5388b6,'x':_0x5388b6['x']-_0x4daa5e[_0x3ad27d(0x144)]['x'],'y':_0x5388b6['y']-_0x4daa5e[_0x3ad27d(0x144)]['y']})),isGaOutline=_0x3ed3b5=>{const _0x6d21e8=_0x3ad27d,_0x1f5030=_0x3ed3b5['getAttribute'](_0x6d21e8(0x3ed));if(!_0x1f5030)return![];return!!_0x1f5030&&(_0x1f5030[_0x6d21e8(0x3dc)]('sm-shape-ga')!==-0x1||_0x1f5030['indexOf']('sm-table')!==-0x1||_0x1f5030[_0x6d21e8(0x3dc)](_0x6d21e8(0x22b))!==-0x1);},isSectionOutline=_0x166b26=>{const _0x282012=_0x3ad27d,_0x49a31f=_0x166b26[_0x282012(0x521)](_0x282012(0x3ed));if(!_0x49a31f)return![];return!!_0x49a31f&&_0x49a31f[_0x282012(0x3dc)](OUTLINE_CLASS)!==-0x1;},BookingApiClient=class{constructor(_0x3fbc24){const _0x203d04=_0x3ad27d;this[_0x203d04(0x3f7)]={..._0x3fbc24};}async[_0x3ad27d(0x3f9)](_0x35f55d){const _0x2703e3=_0x3ad27d,_0x4a5ba9=await this[_0x2703e3(0x166)](_0x2703e3(0x34a)+_0x35f55d+_0x2703e3(0xf8)+this[_0x2703e3(0x3f7)][_0x2703e3(0x578)]);return this[_0x2703e3(0x3b9)](_0x4a5ba9);}async[_0x3ad27d(0x5b2)](_0x3e5072){const _0x3b4ab4=_0x3ad27d,_0xdcef68=await this[_0x3b4ab4(0x166)](_0x3b4ab4(0x7e)+_0x3e5072+_0x3b4ab4(0xf8)+this[_0x3b4ab4(0x3f7)][_0x3b4ab4(0x578)]);_0xdcef68[_0x3b4ab4(0x187)]=this[_0x3b4ab4(0x3b9)](_0xdcef68['seatmap']);const {seatmap:_0x3118fa,..._0x53372a}=_0xdcef68;return _0x53372a;}async[_0x3ad27d(0x2a0)](_0x46f277){const _0x1485ff=_0x3ad27d,_0x453cce=this[_0x1485ff(0x3f7)][_0x1485ff(0x39e)]?_0x1485ff(0x5ae)+this['settings']['debug']:'',_0x49e6ca=await this[_0x1485ff(0x166)](_0x1485ff(0x48c)+_0x46f277+_0x1485ff(0xf8)+this[_0x1485ff(0x3f7)][_0x1485ff(0x578)]+_0x1485ff(0x3d4)+_0x453cce);return this[_0x1485ff(0x3b9)](_0x49e6ca);}['unpackSchemaDTO'](_0x81644){const _0x1cb0f6=_0x3ad27d,_0x33020a=_0x81644[_0x1cb0f6(0x22e)];if(_0x33020a==null?void 0x0:_0x33020a[_0x1cb0f6(0x111)]){const _0x28582c=_0x33020a[_0x1cb0f6(0x111)][_0x1cb0f6(0x500)](/<svg[^>]*>/);if(_0x28582c){const _0x21f1c8=_0x28582c[0x0];!_0x21f1c8[_0x1cb0f6(0x309)](_0x1cb0f6(0x56a))&&!_0x21f1c8[_0x1cb0f6(0x309)](_0x1cb0f6(0x5a9))&&(_0x33020a['svg']=_0x33020a['svg'][_0x1cb0f6(0x14c)](_0x1cb0f6(0x287),_0x1cb0f6(0x471)+_0x33020a[_0x1cb0f6(0x144)][_0x1cb0f6(0x3ff)]+_0x1cb0f6(0x382)+_0x33020a[_0x1cb0f6(0x144)]['height']+_0x1cb0f6(0xf1)));}}return{..._0x81644,'plainSeats':void 0x0,'seats':this[_0x1cb0f6(0x20b)](_0x81644[_0x1cb0f6(0x233)],_0x81644==null?void 0x0:_0x81644[_0x1cb0f6(0x2f0)]),'rows':this[_0x1cb0f6(0x33f)](_0x81644[_0x1cb0f6(0x472)]),'sectors':this['restoreIds'](_0x81644[_0x1cb0f6(0xfa)])};}async[_0x3ad27d(0xcb)](_0x5e1c7d){const _0x3316c4=_0x3ad27d;return this['request'](_0x3316c4(0x5bb)+_0x5e1c7d+_0x3316c4(0xf8)+this[_0x3316c4(0x3f7)][_0x3316c4(0x578)]);}async[_0x3ad27d(0x1ee)](_0x550aeb){const _0x5433ba=_0x3ad27d;return this['requestPlain'](_0x5433ba(0xa4)+_0x550aeb+_0x5433ba(0xf8)+this['settings'][_0x5433ba(0x578)]);}async[_0x3ad27d(0x166)](_0x1ddfce){const _0x2b5582=_0x3ad27d;try{const _0x85e4b1=new Request(concatUrlParts(this['settings'][_0x2b5582(0x457)],_0x1ddfce),{'method':_0x2b5582(0x528)}),_0x1c815b=Date[_0x2b5582(0x3a9)](),_0x71afc3=await fetch(_0x85e4b1),_0x3b59c8=Date['now']()-_0x1c815b;if(!_0x71afc3['ok'])throw new Error(_0x2b5582(0x2c4)+_0x71afc3[_0x2b5582(0x29a)]+':\x20'+_0x71afc3[_0x2b5582(0x1b8)]);const _0x3e462f=await _0x71afc3[_0x2b5582(0xff)]();try{const _0x5597de=JSON[_0x2b5582(0x3a4)](_0x3e462f);return _0x5597de['requestTime']=_0x3b59c8,_0x5597de['responseSize']=_0x3e462f[_0x2b5582(0x4a7)],_0x5597de;}catch(_0x11eb2b){throw new Error(_0x2b5582(0x392)+_0x11eb2b[_0x2b5582(0x180)]);}}catch(_0xe39412){console['error'](_0x2b5582(0x1c4)+_0x1ddfce+':',_0xe39412);throw _0xe39412;}}async[_0x3ad27d(0x47c)](_0xf5dd3){const _0x259c45=_0x3ad27d;try{const _0x1109b8=new Request(concatUrlParts(this['settings'][_0x259c45(0x457)],_0xf5dd3),{'method':_0x259c45(0x528)}),_0x25be21=Date['now'](),_0x2d91fc=await fetch(_0x1109b8),_0x17106c=Date[_0x259c45(0x3a9)]()-_0x25be21;if(!_0x2d91fc['ok'])throw new Error(_0x259c45(0x2c4)+_0x2d91fc[_0x259c45(0x29a)]+':\x20'+_0x2d91fc[_0x259c45(0x1b8)]);const _0x378b99=await _0x2d91fc['text'](),_0x128b1a={'data':_0x378b99,'requestTime':_0x17106c,'responseSize':_0x378b99[_0x259c45(0x4a7)]};return _0x128b1a;}catch(_0x4000ff){console['error'](_0x259c45(0x2fd)+_0xf5dd3+':',_0x4000ff);throw _0x4000ff;}}[_0x3ad27d(0x20b)](_0x54f28b,_0x1b8c27){const _0x5edb7a=_0x3ad27d;var _0x216107,_0x50d8b2;const _0x2df883=[];let _0x17205e=0x0,_0x2d654b=0x0,_0xe26f85=0x0,_0x334ee7=0x0,_0x13ff50=0x0;for(let _0x23cc0e=0x0;_0x23cc0e<_0x54f28b[_0x5edb7a(0x102)][_0x5edb7a(0x4a7)];_0x23cc0e++){const _0x411a3e=_0x54f28b[_0x5edb7a(0x102)][_0x23cc0e]+_0x17205e,_0x2809fc=_0x54f28b['x'][_0x23cc0e]+_0x2d654b,_0x457f6c=_0x54f28b['y'][_0x23cc0e]+_0xe26f85,_0x5603a3=_0x54f28b[_0x5edb7a(0xa1)][_0x23cc0e],_0xda0017=_0x54f28b['rowIds'][_0x23cc0e]+_0x334ee7,_0x1adfb3=_0x54f28b[_0x5edb7a(0x215)][_0x23cc0e]+_0x13ff50,_0x332641=(_0x216107=_0x1b8c27==null?void 0x0:_0x1b8c27[_0x5edb7a(0x1e2)])==null?void 0x0:_0x216107['includes'](_0x411a3e),_0x2b9e08=(_0x50d8b2=_0x1b8c27==null?void 0x0:_0x1b8c27[_0x5edb7a(0x42f)])==null?void 0x0:_0x50d8b2[_0x5edb7a(0x309)](_0x411a3e);_0x2df883['push']({'id':_0x411a3e,'x':_0x2809fc,'y':_0x457f6c,'name':_0x5603a3,'rowId':_0xda0017,'sectorId':_0x1adfb3,'isAccessible':_0x332641,'isMarked':_0x2b9e08}),_0x17205e=_0x411a3e,_0x2d654b=_0x2809fc,_0xe26f85=_0x457f6c,_0x334ee7=_0xda0017,_0x13ff50=_0x1adfb3;}return _0x2df883;}[_0x3ad27d(0x33f)](_0x3a58d9){const _0xb9f5d7=_0x3ad27d,_0x2650ae=[];let _0xa94758=0x0;for(let _0x864791=0x0;_0x864791<_0x3a58d9[_0xb9f5d7(0x4a7)];_0x864791++){const _0x5e8c9d=_0x3a58d9[_0x864791],_0x4f7930=_0x5e8c9d['id']+_0xa94758;_0x2650ae[_0xb9f5d7(0x244)]({..._0x5e8c9d,'id':_0x4f7930}),_0xa94758=_0x4f7930;}return _0x2650ae;}},concatUrlParts=(_0x4982b2,_0x213a24)=>{const _0x5376d1=_0x3ad27d;return _0x4982b2[_0x5376d1(0x14c)](/\/$/,'')+'/'+_0x213a24[_0x5376d1(0x14c)](/^\//,'');};function _0x5195(_0x1a3fb8,_0x3ef6e6){const _0x6254bb=_0x6254();return _0x5195=function(_0x519528,_0x2cddc6){_0x519528=_0x519528-0x7e;let _0x50fede=_0x6254bb[_0x519528];return _0x50fede;},_0x5195(_0x1a3fb8,_0x3ef6e6);}import{createMachine,guard,reduce,state,transition}from'robot3';var DEFAULT_SCALE=0x1,context=()=>({'scale':DEFAULT_SCALE,'isEagleView':![],'mode':_0x3ad27d(0x36c),'events':[]}),getSelectMode=({altKey:_0x44895a,shiftKey:_0x479a81})=>{const _0x55f9a8=_0x3ad27d;if(_0x44895a&&!_0x479a81)return _0x55f9a8(0x59a);if(!_0x44895a&&_0x479a81)return _0x55f9a8(0x26f);return _0x55f9a8(0x14c);},dragToSelect=(_0x2e5162,_0x20cd3d)=>{const _0x448d68=_0x3ad27d,_0xa7312a={'type':_0x448d68(0x1cc),'selectMode':getSelectMode(_0x20cd3d),'rect':{'x':_0x20cd3d[_0x448d68(0x96)]['x'],'y':_0x20cd3d[_0x448d68(0x96)]['y'],'width':_0x20cd3d['delta']['x'],'height':_0x20cd3d[_0x448d68(0x2c2)]['y']},'isStart':_0x20cd3d[_0x448d68(0x19f)]===_0x448d68(0x2b4),'isFinish':_0x20cd3d['type']===_0x448d68(0x411),'isRowsMode':_0x2e5162[_0x448d68(0xe0)]==='selectRows'};return{..._0x2e5162,'events':[_0xa7312a]};},dragToPan=(_0x4124c9,_0x4c1d71)=>{const _0xaf88d5=_0x3ad27d,_0x543940={'type':'destPan','delta':_0x4c1d71['delta'],'isStart':_0x4c1d71[_0xaf88d5(0x19f)]==='srcDragStart','isFinish':_0x4c1d71[_0xaf88d5(0x19f)]==='srcDragEnd'};return{..._0x4124c9,'events':[_0x543940]};},click=(_0x5bebd5,_0x66078f)=>{const _0x415adb=_0x3ad27d;var _0x631458;let _0x3bab26=[];const _0xf15fed=_0x5bebd5[_0x415adb(0xe0)]===_0x415adb(0x1c6);if(_0xf15fed&&_0x5bebd5[_0x415adb(0x221)])_0x3bab26=[{'type':_0x415adb(0x535),'scale':DEFAULT_SCALE,'origin':_0x66078f[_0x415adb(0x59f)]}];else{if(_0xf15fed){}else{if((_0x631458=_0x66078f[_0x415adb(0x40f)])==null?void 0x0:_0x631458['ga'])_0x3bab26=[{'type':_0x415adb(0x404),'point':_0x66078f[_0x415adb(0x59f)],'section':_0x66078f[_0x415adb(0x40f)]}];else{if(_0x66078f[_0x415adb(0x4f0)])_0x3bab26=[{'type':'destSeatSelect','selectMode':getSelectMode(_0x66078f),'point':_0x66078f[_0x415adb(0x59f)],'seat':_0x66078f[_0x415adb(0x4f0)],'isRowsMode':_0x5bebd5[_0x415adb(0xe0)]===_0x415adb(0x442)}];else getSelectMode(_0x66078f)===_0x415adb(0x14c)&&(_0x3bab26=[{'type':_0x415adb(0x217)}]);}}}return{..._0x5bebd5,'events':_0x3bab26};},updateHover=(_0x4d09b0,_0x5e3bc9,_0x374fe5)=>{const _0x49a02f=_0x3ad27d;if(_0x4d09b0[_0x49a02f(0x260)]&&_0x4d09b0['hovered']['targetType']===_0x5e3bc9&&_0x4d09b0[_0x49a02f(0x260)]['id']===_0x374fe5['id'])return _0x4d09b0;const _0x184326=[];if(_0x4d09b0[_0x49a02f(0x260)])switch(_0x4d09b0[_0x49a02f(0x260)][_0x49a02f(0x1ac)]){case'seat':_0x184326['push']({'type':_0x49a02f(0x126)});break;case'section':_0x184326[_0x49a02f(0x244)]({'type':_0x49a02f(0xa8)});}switch(_0x5e3bc9){case'seat':_0x184326['push']({'type':_0x49a02f(0x214),'seat':_0x374fe5,'isRowsMode':_0x4d09b0[_0x49a02f(0xe0)]===_0x49a02f(0x442)});break;case _0x49a02f(0x40f):_0x184326['push']({'type':_0x49a02f(0x118),'section':_0x374fe5});break;}return{..._0x4d09b0,'hovered':{'targetType':_0x5e3bc9,'id':_0x374fe5['id']},'events':_0x184326};},mouseMove=(_0x1d53ae,_0x204583)=>{const _0x57259d=_0x3ad27d;var _0x1a39fd;const _0x3da4d6=_0x1d53ae[_0x57259d(0xe0)]===_0x57259d(0x1c6);if(_0x3da4d6)return _0x1d53ae;if((_0x1a39fd=_0x204583['section'])==null?void 0x0:_0x1a39fd['ga'])return updateHover(_0x1d53ae,'section',_0x204583[_0x57259d(0x40f)]);else{if(_0x204583[_0x57259d(0x4f0)])return updateHover(_0x1d53ae,_0x57259d(0x4f0),_0x204583[_0x57259d(0x4f0)]);else{if(_0x1d53ae[_0x57259d(0x260)]){let _0x45ee9b;switch(_0x1d53ae['hovered'][_0x57259d(0x1ac)]){case _0x57259d(0x4f0):_0x45ee9b={'type':_0x57259d(0x126)};break;case _0x57259d(0x40f):_0x45ee9b={'type':'destSectionMouseLeave'};break;}return{..._0x1d53ae,'hovered':void 0x0,'events':[_0x45ee9b]};}}}return _0x1d53ae;},contextChange=(_0x34bc3a,_0x326c0b)=>{const {type:_0x37a9a8,..._0x5bea54}=_0x326c0b;return{..._0x34bc3a,..._0x5bea54};},contextChangeTransition=transition(_0x3ad27d(0xba),_0x3ad27d(0x227),reduce(contextChange)),isSelectMode=_0x4cf310=>_0x4cf310['mode']==='select'||_0x4cf310[_0x3ad27d(0xe0)]===_0x3ad27d(0x442),machine=createMachine({'idle':state(contextChangeTransition,transition(_0x3ad27d(0x9f),_0x3ad27d(0x227),reduce(click)),transition(_0x3ad27d(0x2b4),'selecting',reduce(dragToSelect),guard(isSelectMode)),transition(_0x3ad27d(0x2b4),_0x3ad27d(0x33e),reduce(dragToPan)),transition(_0x3ad27d(0x2f4),_0x3ad27d(0x227),reduce(mouseMove))),'panning':state(contextChangeTransition,transition(_0x3ad27d(0x277),_0x3ad27d(0x33e),reduce(dragToPan)),transition(_0x3ad27d(0x411),_0x3ad27d(0x227),reduce(dragToPan))),'selecting':state(contextChangeTransition,transition('srcDragMove','selecting',reduce(dragToSelect)),transition(_0x3ad27d(0x411),'idle',reduce(dragToSelect)))},context),machine_default=machine,COLOR_UNAVAILABLE=_0x3ad27d(0xd9),DEFAULT_SIZE=0x18,theme={'gridStep':0xe,'bgColor':_0x3ad27d(0x302),'priceColors':[[_0x3ad27d(0x37c),'#673AB7',_0x3ad27d(0x122),'#2196F3',_0x3ad27d(0xc5),'#009688','#4CAF50',_0x3ad27d(0x35c),_0x3ad27d(0x591),_0x3ad27d(0x485),'#FF5722','#F44336','#E91E63'],[_0x3ad27d(0x3a7)],['#2196F3','#FFC107'],[_0x3ad27d(0x2ae),_0x3ad27d(0x3a7),'#FFC107']],'colorCategories':[_0x3ad27d(0x37c),'#673AB7',_0x3ad27d(0x122),_0x3ad27d(0x3a7),_0x3ad27d(0xc5),'#009688',_0x3ad27d(0x577),_0x3ad27d(0x35c),'#FFC107',_0x3ad27d(0x485),_0x3ad27d(0x1a8),_0x3ad27d(0x15d),_0x3ad27d(0x51a)],'seatStyles':{'default':{'size':DEFAULT_SIZE,'color':COLOR_UNAVAILABLE,'seatName':{'font':_0x3ad27d(0xbd),'color':_0x3ad27d(0x3b0)},'accessible':{'size':DEFAULT_SIZE,'color':COLOR_UNAVAILABLE,'imageId':_0x3ad27d(0x1e2)}},'unavailable':{'size':0x6,'color':COLOR_UNAVAILABLE},'filtered':{'size':0xa,'color':COLOR_UNAVAILABLE},'hovered':{'size':DEFAULT_SIZE,'color':COLOR_UNAVAILABLE,'seatName':{'font':_0x3ad27d(0xbd),'color':'#fff'},'stroke':{'width':0x2,'color':'#444','align':_0x3ad27d(0x11d)}},'selected':{'size':DEFAULT_SIZE,'color':COLOR_UNAVAILABLE,'stroke':{'width':0x2,'color':_0x3ad27d(0x20a),'align':_0x3ad27d(0x11d)},'seatName':{'font':_0x3ad27d(0xbd),'color':_0x3ad27d(0x562)}}},'svgSectionStyles':{'default':{},'unavailable':{},'hovered':{},'selected':{}}},theme_default2=theme,defaults={'debounceDelay':0x190,'zoomAnimationDuration':0x190,'seatSelectionMinZoom':0.66,'theme':theme_default2,'onBeforeSeatDraw':_0x321691=>{const _0x3e25ea=_0x3ad27d;var _0x32840e,_0x5cec30,_0xd48dbc,_0x4df075;const _0x5b2ca8=Object[_0x3e25ea(0x176)]({},_0x321691[_0x3e25ea(0x2f5)]),_0x3850cc=(_0x32840e=_0x321691['context'][_0x3e25ea(0x3f7)][_0x3e25ea(0x439)])==null?void 0x0:_0x32840e[_0x3e25ea(0x14a)];if((((_0x5cec30=_0x321691[_0x3e25ea(0x4f0)][_0x3e25ea(0x552)])==null?void 0x0:_0x5cec30[_0x3e25ea(0x2a6)])||((_0xd48dbc=_0x321691[_0x3e25ea(0x4f0)][_0x3e25ea(0x552)])==null?void 0x0:_0xd48dbc['category'])===0x0)&&(_0x3850cc==null?void 0x0:_0x3850cc[_0x3e25ea(0x4a7)])){if((_0x4df075=_0x321691[_0x3e25ea(0xe5)][_0x3e25ea(0x320)])==null?void 0x0:_0x4df075[_0x321691[_0x3e25ea(0x4f0)][_0x3e25ea(0x552)][_0x3e25ea(0x2a6)]])_0x5b2ca8[_0x3e25ea(0x262)]=_0x321691['context'][_0x3e25ea(0x320)][_0x321691[_0x3e25ea(0x4f0)][_0x3e25ea(0x552)][_0x3e25ea(0x2a6)]];else _0x5b2ca8[_0x3e25ea(0x262)]=_0x3850cc[_0x321691[_0x3e25ea(0x4f0)][_0x3e25ea(0x552)][_0x3e25ea(0x2a6)]%_0x3850cc[_0x3e25ea(0x4a7)]];}return _0x5b2ca8;}},defaults_default=defaults,SeatmapAdminRenderer=class extends Renderer{constructor(_0x3d5628,_0x4f24ab){const _0x471926=_0x3ad27d;super(_0x3d5628,machine_default,mergeSettings(defaults_default,_0x4f24ab));const _0x1b2637=_0x4f24ab&&_0x4f24ab[_0x471926(0x4d3)];let _0x3f0e48='';switch(_0x1b2637){case _0x471926(0x499):_0x3f0e48=window[_0x471926(0x1d8)]['origin']+_0x471926(0x1c0);break;case _0x471926(0x258):_0x3f0e48=_0x471926(0x2fa);break;default:_0x3f0e48=_0x471926(0x4db);}const _0x1b3472=_0x4f24ab&&_0x4f24ab[_0x471926(0x457)]||_0x3f0e48,_0x570f6c=_0x4f24ab&&_0x4f24ab[_0x471926(0x578)];if(!_0x570f6c)throw new Error(_0x471926(0x22d));this[_0x471926(0x496)]=new BookingApiClient({'baseUrl':_0x1b3472,'publicKey':_0x570f6c,'debug':_0x4f24ab==null?void 0x0:_0x4f24ab[_0x471926(0x39e)]});}['setMode'](_0xfd0b24){const _0x449516=_0x3ad27d;return super[_0x449516(0x117)](_0xfd0b24),this[_0x449516(0x9c)]?(_0xfd0b24===_0x449516(0x1c6)?this[_0x449516(0x9c)][_0x449516(0x4dd)]():this['outlineLayer'][_0x449516(0x47a)](),!![]):![];}async[_0x3ad27d(0x238)](_0x275635){const _0xd42f10=_0x3ad27d,_0x5234ce=await this[_0xd42f10(0x496)][_0xd42f10(0x2a0)](_0x275635);await this['setSchemaData'](_0x5234ce);}async[_0x3ad27d(0x592)](_0x393d26){const _0x4b0d51=_0x3ad27d,_0x168681=await this['apiClient']['fetchSchema'](_0x393d26);await this[_0x4b0d51(0x368)](_0x168681);}};import{nanoid}from'nanoid';var STATS_URL=_0x3ad27d(0x3bf),isLocalhost=()=>location[_0x3ad27d(0x3d7)]===_0x3ad27d(0x2c7)||location[_0x3ad27d(0x3d7)]===_0x3ad27d(0x2ca)||location[_0x3ad27d(0x3d7)]==='0.0.0.0',BookingStats=class{constructor(){const _0xda635f=_0x3ad27d;this['initTime']=-0x1,this[_0xda635f(0x11f)]=0x0,this[_0xda635f(0x53d)]=nanoid(),this[_0xda635f(0x3aa)]=Date['now']();}[_0x3ad27d(0x166)](_0x1d8c2f,_0x298192){const _0x15d9ad=_0x3ad27d;if(isLocalhost())return;const _0x4b93d6={..._0x298192,'sessionId':this['sessionId'],'requestNumber':++this[_0x15d9ad(0x11f)],'version':VERSION},_0x478841=new Request(STATS_URL+_0x1d8c2f,{'method':_0x15d9ad(0x4b0),'body':JSON[_0x15d9ad(0x242)](_0x4b93d6),'mode':_0x15d9ad(0x533)});fetch(_0x478841);}['sendInit'](_0x2a6401){const _0x4c1b16=_0x3ad27d,_0xed044d={'eventId':this['eventId'],'seatCount':this['seatCount'],'availableSeatCount':this[_0x4c1b16(0xb3)],'schemaRequestTime':this[_0x4c1b16(0x23d)],'schemaResponseSize':this[_0x4c1b16(0x34c)],'pricesRequestTime':this[_0x4c1b16(0x55a)],'pricesResponseSize':this[_0x4c1b16(0x385)],'viewBox':_0x2a6401,'screenWidth':window['screen']['width'],'screenHeight':window[_0x4c1b16(0x390)][_0x4c1b16(0x3a3)],'initTime':this['initTime'],'pathUrl':this[_0x4c1b16(0x2f3)],'eventName':this[_0x4c1b16(0x464)],'tags':this[_0x4c1b16(0xab)],'version':VERSION};this[_0x4c1b16(0x166)]('/init',_0xed044d);}[_0x3ad27d(0x231)](_0x34d9fe){const _0x2f392c=_0x3ad27d;this[_0x2f392c(0x166)]('/viewbox',{'viewBox':_0x34d9fe});}[_0x3ad27d(0x3a0)](_0x195560){const _0x10f3c6=_0x3ad27d;this[_0x10f3c6(0x166)]('/seat/select',_0x195560);}[_0x3ad27d(0x5a2)](_0x42a9d7){const _0x5924fe=_0x3ad27d;this[_0x5924fe(0x166)](_0x5924fe(0x2da),_0x42a9d7);}},COLOR_UNAVAILABLE2=_0x3ad27d(0xd9),DEFAULT_SIZE2=0x10,ACCESSIBLE_INCREASE_INDEX=1.625,theme2={'gridStep':0xe,'bgColor':_0x3ad27d(0x302),'priceColors':[[_0x3ad27d(0x37c),'#673AB7',_0x3ad27d(0x122),'#2196F3',_0x3ad27d(0xc5),_0x3ad27d(0x4ca),_0x3ad27d(0x577),_0x3ad27d(0x35c),_0x3ad27d(0x591),_0x3ad27d(0x485),_0x3ad27d(0x1a8),_0x3ad27d(0x15d),_0x3ad27d(0x51a)],[_0x3ad27d(0x3a7)],[_0x3ad27d(0x3a7),_0x3ad27d(0x591)],[_0x3ad27d(0x2ae),_0x3ad27d(0x3a7),_0x3ad27d(0x591)]],'images':{'checkmark':_0x3ad27d(0x381),'star':_0x3ad27d(0x46a),'accessible':'<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>','loading':_0x3ad27d(0x184),'error':'<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>'},'seatStyles':{'default':{'size':DEFAULT_SIZE2,'color':COLOR_UNAVAILABLE2,'accessible':{'size':DEFAULT_SIZE2*ACCESSIBLE_INCREASE_INDEX,'color':COLOR_UNAVAILABLE2,'imageId':_0x3ad27d(0x1e2)}},'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':_0x3ad27d(0x3b0)}},'selected':{'size':0x2a,'color':COLOR_UNAVAILABLE2,'imageId':_0x3ad27d(0x2d1),'shadow':{'blur':0x14,'color':_0x3ad27d(0x374)}},'loading':{'size':0x2a,'color':_0x3ad27d(0x3a7),'imageId':'error','shadow':{'blur':0x14,'color':_0x3ad27d(0x374)}},'error':{'size':0x2a,'color':_0x3ad27d(0x15d),'imageId':'error','shadow':{'blur':0x14,'color':'rgba(0,\x200,\x200,\x200.3)'}}},'svgSectionStyles':{'default':{},'unavailable':{'bgColor':_0x3ad27d(0x3c2)},'hovered':{'bgColor':_0x3ad27d(0x3c2),'stroke':{'color':'#2196F3','width':_0x3ad27d(0x59b),'opacity':0x1},'cursor':'pointer'},'selected':{'bgColor':_0x3ad27d(0x3c2),'stroke':{'color':_0x3ad27d(0x3a7),'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':_0x2c6cb6=>{const _0x2652a6=_0x3ad27d,_0x28ae96=Object[_0x2652a6(0x176)]({},_0x2c6cb6[_0x2652a6(0x2f5)]);return _0x2c6cb6['seat'][_0x2652a6(0x549)]&&!_0x2c6cb6[_0x2652a6(0x4f0)]['filtered']&&!_0x2c6cb6[_0x2652a6(0x4f0)][_0x2652a6(0x3fc)]&&(_0x28ae96['color']=_0x2c6cb6[_0x2652a6(0xe5)]['pricesById'][Number(_0x2c6cb6[_0x2652a6(0x4f0)][_0x2652a6(0x549)])]['color']),_0x28ae96;},'lockedSeatsFilter':_0xe12431=>!_0xe12431[_0x3ad27d(0x549)]},defaults_default2=defaults2;import{createMachine as _0x32b2b8,state as _0x59f648,transition as _0x3c1722,reduce as _0x33e82f}from'robot3';var DEFAULT_SCALE2=0x1,context2=()=>({'scale':DEFAULT_SCALE2,'isEagleView':![],'events':[]}),dragToPan2=(_0x219018,_0x1bbf7f)=>{const _0x15a0b5=_0x3ad27d,_0x562c9e={'type':_0x15a0b5(0x23b),'delta':_0x1bbf7f['delta'],'isStart':_0x1bbf7f[_0x15a0b5(0x19f)]==='srcDragStart','isFinish':_0x1bbf7f[_0x15a0b5(0x19f)]===_0x15a0b5(0x411)};return{..._0x219018,'events':[_0x562c9e]};},toStagePoint=(_0x2e19ff,_0x4f4cb8)=>{const _0x23b488=_0x3ad27d,_0x40f823=_0x2e19ff;if(_0x40f823['enable3DView']){const _0x5500f6=_0x40f823['getWidth']&&_0x40f823[_0x23b488(0x4aa)]()||window[_0x23b488(0x226)],_0x22dbb2=_0x40f823[_0x23b488(0x584)]&&_0x40f823[_0x23b488(0x584)]()||window[_0x23b488(0x561)];return unprojectPointFrom3DView(_0x4f4cb8,{'width':_0x5500f6,'height':_0x22dbb2},{'rotationZ':_0x40f823[_0x23b488(0x40c)]||0x0,'perspectiveZ':_0x40f823[_0x23b488(0x3c7)]||0x0,'tiltX':_0x40f823[_0x23b488(0x422)]||0x0});}return _0x4f4cb8;},click2=(_0x34d176,_0x20b677)=>{const _0xb9d71c=_0x3ad27d;var _0x22a98a,_0x1d3403,_0xb64b92,_0x14f14c,_0x3fc7c1;let _0x2d92d8=[];const _0x36d129=toStagePoint(_0x34d176,_0x20b677[_0xb9d71c(0x59f)]);if((_0x22a98a=_0x20b677['section'])==null?void 0x0:_0x22a98a['ga'])_0x2d92d8=[{'type':_0xb9d71c(0x404),'point':_0x36d129,'section':_0x20b677['section']}];else{if(((_0x1d3403=_0x20b677['section'])==null?void 0x0:_0x1d3403[_0xb9d71c(0x406)])&&((_0xb64b92=_0x20b677['section'])==null?void 0x0:_0xb64b92[_0xb9d71c(0x19f)])===_0xb9d71c(0x2d8))_0x2d92d8=[{'type':_0xb9d71c(0x404),'point':_0x36d129,'section':_0x20b677[_0xb9d71c(0x40f)]}];else{if((_0x14f14c=_0x34d176['visibility'])==null?void 0x0:_0x14f14c['outline'][_0xb9d71c(0x174)])_0x2d92d8=[{'type':'destPanZoom','scale':DEFAULT_SCALE2,'origin':_0x36d129}];else _0x20b677['seat']&&((_0x3fc7c1=_0x34d176[_0xb9d71c(0x2ba)])==null?void 0x0:_0x3fc7c1['seat'][_0xb9d71c(0x174)])&&(_0x2d92d8=[{'type':'destSeatCartSwitch','point':_0x36d129,'seat':_0x20b677[_0xb9d71c(0x4f0)]}]);}}return{..._0x34d176,'events':_0x2d92d8};},updateHover2=(_0x529d0b,_0x2738bc,_0x4f23f7)=>{const _0x354b63=_0x3ad27d;if(_0x529d0b[_0x354b63(0x260)]&&_0x529d0b[_0x354b63(0x260)][_0x354b63(0x1ac)]===_0x2738bc&&_0x529d0b[_0x354b63(0x260)]['id']===_0x4f23f7['id'])return _0x529d0b;const _0xdc2bf7=[];if(_0x529d0b['hovered'])switch(_0x529d0b[_0x354b63(0x260)][_0x354b63(0x1ac)]){case'seat':_0xdc2bf7[_0x354b63(0x244)]({'type':_0x354b63(0x126)});break;case'section':_0xdc2bf7[_0x354b63(0x244)]({'type':'destSectionMouseLeave'});}switch(_0x2738bc){case _0x354b63(0x4f0):_0xdc2bf7[_0x354b63(0x244)]({'type':_0x354b63(0x214),'seat':_0x4f23f7});break;case'section':_0xdc2bf7[_0x354b63(0x244)]({'type':_0x354b63(0x118),'section':_0x4f23f7});break;}return{..._0x529d0b,'hovered':{'targetType':_0x2738bc,'id':_0x4f23f7['id']},'events':_0xdc2bf7};},isSeatUnavailable=_0x245a8e=>{const _0x131107=_0x3ad27d;return!!(_0x245a8e[_0x131107(0x3fc)]||_0x245a8e[_0x131107(0x42c)]===_0x131107(0x44c));},mouseMove2=(_0x4b588e,_0x1f9963)=>{const _0x4eaf98=_0x3ad27d;var _0x2ba3c0,_0x200317,_0x44be2f;if((_0x2ba3c0=_0x1f9963[_0x4eaf98(0x40f)])==null?void 0x0:_0x2ba3c0['ga'])return updateHover2(_0x4b588e,'section',_0x1f9963['section']);else{if(_0x1f9963['section']&&((_0x200317=_0x4b588e['visibility'])==null?void 0x0:_0x200317[_0x4eaf98(0x12b)][_0x4eaf98(0x174)]))return updateHover2(_0x4b588e,_0x4eaf98(0x40f),_0x1f9963[_0x4eaf98(0x40f)]);else{if(_0x1f9963[_0x4eaf98(0x4f0)]&&((_0x44be2f=_0x4b588e[_0x4eaf98(0x2ba)])==null?void 0x0:_0x44be2f['seat'][_0x4eaf98(0x174)])&&!isSeatUnavailable(_0x1f9963[_0x4eaf98(0x4f0)]))return updateHover2(_0x4b588e,'seat',_0x1f9963[_0x4eaf98(0x4f0)]);else{if(_0x4b588e[_0x4eaf98(0x260)]){let _0x2e6d54;switch(_0x4b588e[_0x4eaf98(0x260)][_0x4eaf98(0x1ac)]){case _0x4eaf98(0x4f0):_0x2e6d54={'type':'destSeatMouseLeave'};break;case _0x4eaf98(0x40f):_0x2e6d54={'type':'destSectionMouseLeave'};break;}return{..._0x4b588e,'hovered':void 0x0,'events':[_0x2e6d54]};}}}}return _0x4b588e;},contextChange2=(_0x4189f6,_0x38bbbe)=>{const {type:_0x5ab818,..._0x5dddb0}=_0x38bbbe;return{..._0x4189f6,..._0x5dddb0};},contextChangeTransition2=_0x3c1722('contextchange',_0x3ad27d(0x227),_0x33e82f(contextChange2)),machine2=_0x32b2b8({'idle':_0x59f648(contextChangeTransition2,_0x3c1722('srcClick','idle',_0x33e82f(click2)),_0x3c1722(_0x3ad27d(0x2b4),_0x3ad27d(0x33e),_0x33e82f(dragToPan2)),_0x3c1722(_0x3ad27d(0x2f4),'idle',_0x33e82f(mouseMove2))),'panning':_0x59f648(contextChangeTransition2,_0x3c1722(_0x3ad27d(0x277),_0x3ad27d(0x33e),_0x33e82f(dragToPan2)),_0x3c1722(_0x3ad27d(0x411),'idle',_0x33e82f(dragToPan2)))},context2),machine_default2=machine2,round2=_0x5a9dd6=>Math[_0x3ad27d(0x469)](_0x5a9dd6*0x64)/0x64,SeatmapBookingRenderer=class extends Renderer{constructor(_0x19cc0b,_0x5add03,_0x3fdd1e){const _0x3facef=_0x3ad27d;super(_0x19cc0b,machine_default2,mergeSettings(defaults_default2,_0x5add03));(_0x5add03==null?void 0x0:_0x5add03[_0x3facef(0x39e)])&&console[_0x3facef(0x1b3)](_0x3facef(0x492),_0x5add03);this[_0x3facef(0xab)]=_0x3fdd1e;const _0x412f6f=_0x5add03&&_0x5add03[_0x3facef(0x4d3)];let _0x5602c4=window['location']['origin']+'/api/public/v1.0/';switch(_0x412f6f){case _0x3facef(0x499):_0x5602c4=window['location'][_0x3facef(0x96)]+_0x3facef(0x1c0);break;case _0x3facef(0x258):_0x5602c4=_0x3facef(0x2fa);break;default:_0x5602c4=_0x3facef(0x4db);}const _0x89e602=_0x5add03&&_0x5add03[_0x3facef(0x457)]||_0x5602c4,_0x5866d5=_0x5add03&&_0x5add03[_0x3facef(0x578)];if(!_0x5866d5)throw new Error(_0x3facef(0x22d));this[_0x3facef(0x496)]=new BookingApiClient({'baseUrl':_0x89e602,'publicKey':_0x5866d5,'debug':_0x5add03==null?void 0x0:_0x5add03[_0x3facef(0x39e)]});}[_0x3ad27d(0x53c)](){const _0x39d39f=_0x3ad27d,_0x216fb3=window[_0x39d39f(0x338)];return{'width':this[_0x39d39f(0x4aa)](),'height':this['getHeight'](),'scale':round2(this[_0x39d39f(0xe5)][_0x39d39f(0x143)]/_0x216fb3),'translateX':round2(this['context'][_0x39d39f(0x1d4)]['x']/_0x216fb3),'translateY':round2(this['context'][_0x39d39f(0x1d4)]['y']/_0x216fb3)};}async['loadEvent'](_0xfc7f69,_0x4873b2){const _0x1ac1a0=_0x3ad27d;var _0x5a3223;this[_0x1ac1a0(0x2c5)]=new BookingStats(),this['stats']['eventId']=_0xfc7f69;let [_0x3c0a17,_0x1fcc11,_0x29de6d]=await Promise[_0x1ac1a0(0x47d)]([this['apiClient']['fetchSchemaForEvent'](_0xfc7f69),this[_0x1ac1a0(0x496)][_0x1ac1a0(0xcb)](_0xfc7f69),this[_0x1ac1a0(0x496)][_0x1ac1a0(0x1ee)](_0xfc7f69)]);_0x4873b2&&([_0x3c0a17,_0x1fcc11]=this[_0x1ac1a0(0xe8)](_0x4873b2,_0x3c0a17,_0x1fcc11));const _0x402280=this[_0x1ac1a0(0xe5)][_0x1ac1a0(0x3f7)]['onRedrawEnd'];this[_0x1ac1a0(0xe5)][_0x1ac1a0(0x3f7)]['onRedrawEnd']=()=>{const _0x152746=_0x1ac1a0;this[_0x152746(0x2c5)][_0x152746(0x590)]===-0x1?(this['stats'][_0x152746(0x590)]=Date[_0x152746(0x3a9)]()-this['stats'][_0x152746(0x3aa)],this[_0x152746(0x2c5)][_0x152746(0x570)](this[_0x152746(0x53c)]())):this[_0x152746(0x2c5)][_0x152746(0x231)](this[_0x152746(0x53c)]());if(_0x402280)_0x402280();};if(!this[_0x1ac1a0(0x115)])return;if(this[_0x1ac1a0(0xe5)][_0x1ac1a0(0x3f7)]['showRows']&&(_0x29de6d==null?void 0x0:_0x29de6d['data'])){const _0x44ed66=_0x1ac1a0(0x393),_0x5b14d8=this[_0x1ac1a0(0xe5)]['settings'][_0x1ac1a0(0x2ff)];this[_0x1ac1a0(0xe5)][_0x1ac1a0(0x3f7)][_0x1ac1a0(0x2ff)]=()=>{const _0x354f55=_0x1ac1a0;try{this[_0x354f55(0x9c)]&&typeof this['outlineLayer'][_0x354f55(0x4c9)]===_0x354f55(0x468)&&this[_0x354f55(0x9c)]['appendRowsOverlay'](_0x29de6d[_0x354f55(0x5b4)],_0x44ed66);}catch(_0x8f11c9){console[_0x354f55(0x24d)](_0x354f55(0x1df),_0x8f11c9);}if(_0x5b14d8)_0x5b14d8();};}this['setSchemaData'](_0x3c0a17),this[_0x1ac1a0(0x1b6)](_0x1fcc11),this[_0x1ac1a0(0xe5)][_0x1ac1a0(0x563)](_0x1fcc11),this['setExternalPrices'](),this[_0x1ac1a0(0x2c5)]['seatCount']=this[_0x1ac1a0(0xe5)]['seats'][_0x1ac1a0(0x4a7)],this['stats'][_0x1ac1a0(0xb3)]=this['context'][_0x1ac1a0(0x218)][_0x1ac1a0(0x353)](_0x4fcafa=>_0x4fcafa['priceId'])['length'],this['stats'][_0x1ac1a0(0x23d)]=_0x3c0a17['requestTime'],this[_0x1ac1a0(0x2c5)][_0x1ac1a0(0x34c)]=_0x3c0a17[_0x1ac1a0(0x2b0)],this['stats'][_0x1ac1a0(0x55a)]=_0x1fcc11['requestTime'],this[_0x1ac1a0(0x2c5)][_0x1ac1a0(0x385)]=_0x1fcc11[_0x1ac1a0(0x2b0)],this['stats']['pathUrl']=window[_0x1ac1a0(0x1d8)][_0x1ac1a0(0xec)],this[_0x1ac1a0(0x2c5)]['eventName']=(_0x5a3223=_0x3c0a17['configuration'])==null?void 0x0:_0x5a3223['eventName'],this['stats'][_0x1ac1a0(0xab)]=this[_0x1ac1a0(0xab)];const _0x1f0e38=this[_0x1ac1a0(0xe5)][_0x1ac1a0(0x3f7)][_0x1ac1a0(0x1d1)];this[_0x1ac1a0(0xe5)][_0x1ac1a0(0x3f7)]['onSeatSelect']=async _0x17c485=>{const _0x5c15f1=_0x1ac1a0;let _0x4d10a9=void 0x0;if(_0x1f0e38)_0x4d10a9=await _0x1f0e38(_0x17c485);return this[_0x5c15f1(0x2c5)][_0x5c15f1(0x3a0)](this[_0x5c15f1(0x50e)](_0x17c485,_0x4d10a9!==![])),_0x4d10a9;};const _0x684039=this[_0x1ac1a0(0xe5)]['settings'][_0x1ac1a0(0x1a3)];this[_0x1ac1a0(0xe5)][_0x1ac1a0(0x3f7)][_0x1ac1a0(0x1a3)]=async _0x104a86=>{const _0x586a57=_0x1ac1a0;let _0x5b1932=void 0x0;if(_0x684039)_0x5b1932=await _0x684039(_0x104a86);return this['stats'][_0x586a57(0x5a2)](this[_0x586a57(0x50e)](_0x104a86,_0x5b1932!==![])),_0x5b1932;};}[_0x3ad27d(0x50e)](_0x18797f,_0x35d172){const _0x55a76c=_0x3ad27d;return{'key':_0x18797f[_0x55a76c(0x138)],'seatId':_0x18797f['id'],'sectionId':_0x18797f[_0x55a76c(0x10e)],'isSuccess':_0x35d172,'price':_0x18797f[_0x55a76c(0x406)],'ax':round2(_0x18797f['x']),'ay':round2(_0x18797f['y']),'viewBox':this[_0x55a76c(0x53c)]()};}['leaveSectionOnly'](_0x5e3333,_0x3f33d1,_0x5b3054){const _0x3e99f7=_0x3ad27d,_0x36b3a4=_0x3f33d1[_0x3e99f7(0x218)][_0x3e99f7(0x353)](_0x2900fc=>_0x2900fc[_0x3e99f7(0x127)]===_0x5e3333),_0x12002e=_0x3f33d1[_0x3e99f7(0x472)][_0x3e99f7(0x353)](_0x3f7a6f=>_0x3f7a6f[_0x3e99f7(0x127)]===_0x5e3333),_0x5ac8fc=_0x3f33d1[_0x3e99f7(0xfa)][_0x3e99f7(0x353)](_0x557805=>_0x557805['id']===_0x5e3333);let _0x35930a=Infinity,_0x1eaa90=Infinity,_0x16d0c4=-Infinity,_0x50006e=-Infinity;for(let _0x320db4=0x0;_0x320db4<_0x36b3a4['length'];_0x320db4++){const _0x13f8b9=_0x36b3a4[_0x320db4];if(_0x13f8b9['x']<_0x35930a)_0x35930a=_0x13f8b9['x'];if(_0x13f8b9['x']>_0x16d0c4)_0x16d0c4=_0x13f8b9['x'];if(_0x13f8b9['y']<_0x1eaa90)_0x1eaa90=_0x13f8b9['y'];if(_0x13f8b9['y']>_0x50006e)_0x50006e=_0x13f8b9['y'];}const _0x20a11a=0x1c;_0x35930a-=_0x20a11a,_0x16d0c4+=_0x20a11a,_0x1eaa90-=_0x20a11a,_0x50006e+=_0x20a11a;const _0x52b43d={'seats':_0x36b3a4,'rows':_0x12002e,'sectors':_0x5ac8fc,'background':{'svg':_0x3e99f7(0x2e6),'viewBox':{'x':_0x35930a,'y':_0x1eaa90,'width':_0x16d0c4-_0x35930a,'height':_0x50006e-_0x1eaa90}}};return[_0x52b43d,_0x5b3054];}};export{BookingApiClient,DestEventType,Renderer,RendererSelectMode,RendererTargetType,RotationAnimation,SeatmapAdminRenderer,SeatmapBookingRenderer,SrcEventType,VERSION,convertPricesToColored,convertPricesToColoredById,defaultZoomSettings,mergeSettings,sortPrices};
|