@seatmap.pro/renderer 1.53.0 → 1.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x1f7a97=_0x18e5;(function(_0x282ddc,_0xd785fa){const _0x4f39ca=_0x18e5,_0x382efb=_0x282ddc();while(!![]){try{const _0x19a26d=parseInt(_0x4f39ca(0x536))/0x1*(parseInt(_0x4f39ca(0x4d1))/0x2)+parseInt(_0x4f39ca(0x5f8))/0x3+parseInt(_0x4f39ca(0x333))/0x4*(parseInt(_0x4f39ca(0x31c))/0x5)+parseInt(_0x4f39ca(0x4ef))/0x6*(parseInt(_0x4f39ca(0x6cd))/0x7)+-parseInt(_0x4f39ca(0x3a8))/0x8+parseInt(_0x4f39ca(0x3ac))/0x9*(parseInt(_0x4f39ca(0x545))/0xa)+parseInt(_0x4f39ca(0x3ef))/0xb*(-parseInt(_0x4f39ca(0x37e))/0xc);if(_0x19a26d===_0xd785fa)break;else _0x382efb['push'](_0x382efb['shift']());}catch(_0x2c7ff4){_0x382efb['push'](_0x382efb['shift']());}}}(_0xe61b,0x772f0));function arrayToObjectById(_0x132f9b){const _0x28987d=_0x18e5,_0x2717bc={};if(!_0x132f9b)return _0x2717bc;for(let _0x46aaa5=0x0;_0x46aaa5<_0x132f9b[_0x28987d(0x420)];_0x46aaa5++){_0x2717bc[_0x132f9b[_0x46aaa5]['id']]=_0x132f9b[_0x46aaa5];}return _0x2717bc;}var cubicInOut=_0x2e7daf=>{const _0x2a58cf=_0x18e5;return 0x1-Math[_0x2a58cf(0x54f)](0x1-_0x2e7daf,0x3);},VERSION=_0x1f7a97(0x300),dpr=window[_0x1f7a97(0x1bb)],Layer=class{constructor(_0xf66d7a){const _0x2054b8=_0x1f7a97;this[_0x2054b8(0x2ac)]=![],this[_0x2054b8(0x31e)]=0x0,this[_0x2054b8(0x19d)]=null,this[_0x2054b8(0x399)]=0x0,this['spinningSeats']=new Set(),this['context']=_0xf66d7a,this['canvas']=document[_0x2054b8(0x26e)](_0x2054b8(0x5cd)),this[_0x2054b8(0x5cd)][_0x2054b8(0x71e)][_0x2054b8(0x5bb)]='absolute',this[_0x2054b8(0x5cd)]['style'][_0x2054b8(0x1a2)]='0',this[_0x2054b8(0x566)][_0x2054b8(0x4b6)][_0x2054b8(0x2b0)](this[_0x2054b8(0x5cd)]),this[_0x2054b8(0x38a)]=this[_0x2054b8(0x5cd)][_0x2054b8(0x1b8)]('2d'),this[_0x2054b8(0x612)]=document[_0x2054b8(0x26e)](_0x2054b8(0x5cd)),this['offscreenCtx']=this[_0x2054b8(0x612)][_0x2054b8(0x1b8)]('2d'),this[_0x2054b8(0x507)](),this['isDebug']=this[_0x2054b8(0x566)][_0x2054b8(0x1a3)][_0x2054b8(0x4b4)]===_0x2054b8(0x37c);}get[_0x1f7a97(0x5ed)](){const _0x1033be=_0x1f7a97;return this[_0x1033be(0x566)]['element']['clientWidth'];}get[_0x1f7a97(0x2bd)](){const _0x569057=_0x1f7a97;return this[_0x569057(0x566)][_0x569057(0x4b6)][_0x569057(0x301)];}[_0x1f7a97(0x4b1)](){const _0x3796ee=_0x1f7a97;this[_0x3796ee(0x38a)][_0x3796ee(0x53e)](0x0,0x0,this[_0x3796ee(0x5cd)][_0x3796ee(0x5ed)],this['canvas'][_0x3796ee(0x2bd)]),this['offscreenCtx'][_0x3796ee(0x53e)](0x0,0x0,this[_0x3796ee(0x612)]['width'],this[_0x3796ee(0x612)]['height']),this[_0x3796ee(0x5cd)]['width']=0x1,this[_0x3796ee(0x5cd)][_0x3796ee(0x2bd)]=0x1,this['offscreenCanvas']['width']=0x1,this[_0x3796ee(0x612)]['height']=0x1,this['canvas'][_0x3796ee(0x606)](),this[_0x3796ee(0x612)]['remove'](),this[_0x3796ee(0x566)]['destroy']();}[_0x1f7a97(0x507)](){const _0x1f8a02=_0x1f7a97;this[_0x1f8a02(0x5cd)][_0x1f8a02(0x5ed)]=this['width']*dpr,this['canvas'][_0x1f8a02(0x2bd)]=this[_0x1f8a02(0x2bd)]*dpr,this[_0x1f8a02(0x5cd)][_0x1f8a02(0x71e)][_0x1f8a02(0x2bd)]=this['height']+'px',this['canvas'][_0x1f8a02(0x71e)][_0x1f8a02(0x5ed)]=this[_0x1f8a02(0x5ed)]+'px',this['offscreenCanvas'][_0x1f8a02(0x5ed)]=this['width']*dpr,this['offscreenCanvas']['height']=this[_0x1f8a02(0x2bd)]*dpr,this[_0x1f8a02(0x4fe)]();}['redraw'](){const _0x33304a=_0x1f7a97;this['drawOffscreenCanvas'](),this[_0x33304a(0x5bd)](this[_0x33304a(0x566)][_0x33304a(0x478)],this[_0x33304a(0x566)]['translate']);}[_0x1f7a97(0x424)](_0x3cc5b6,_0x2d21ce,_0x13c162,_0x40d712){const _0xf3f92=_0x1f7a97;var _0x2b03ab,_0x2957db,_0x2bc8ba;const _0x3b1109=this[_0xf3f92(0x566)];this['context'][_0xf3f92(0x1a3)][_0xf3f92(0x4b8)]&&(_0x13c162=this[_0xf3f92(0x566)][_0xf3f92(0x1a3)][_0xf3f92(0x4b8)]({'context':_0x3b1109,'seat':_0x2d21ce,'style':_0x13c162,'state':_0x40d712}));_0x3cc5b6[_0xf3f92(0x50a)](),_0x3cc5b6[_0xf3f92(0x438)]=_0x13c162['color'];if(_0x13c162[_0xf3f92(0x320)]){_0x3cc5b6[_0xf3f92(0x4be)]=_0x13c162[_0xf3f92(0x320)]['color']||_0xf3f92(0x714),_0x3cc5b6[_0xf3f92(0x66b)]=_0x13c162[_0xf3f92(0x320)][_0xf3f92(0x216)]*this[_0xf3f92(0x566)][_0xf3f92(0x478)];if(_0x13c162[_0xf3f92(0x320)]['x'])_0x3cc5b6[_0xf3f92(0x584)]=_0x13c162[_0xf3f92(0x320)]['x']*this[_0xf3f92(0x566)][_0xf3f92(0x478)];if(_0x13c162['shadow']['y'])_0x3cc5b6['shadowOffsetY']=_0x13c162[_0xf3f92(0x320)]['y']*this[_0xf3f92(0x566)]['scale'];}_0x3cc5b6[_0xf3f92(0x372)]();const _0x5ce5f6=(_0x2d21ce[_0xf3f92(0x569)]?(_0x2b03ab=_0x13c162[_0xf3f92(0x5a8)])==null?void 0x0:_0x2b03ab[_0xf3f92(0x5b9)]:_0x13c162[_0xf3f92(0x5b9)])||_0x13c162['size'];_0x3cc5b6[_0xf3f92(0x41c)](_0x2d21ce['x'],_0x2d21ce['y'],_0x5ce5f6/0x2,0x0,0x2*Math['PI']),_0x3cc5b6[_0xf3f92(0x309)]();_0x13c162[_0xf3f92(0x1a5)]&&(_0x3cc5b6['lineWidth']=_0x13c162[_0xf3f92(0x1a5)][_0xf3f92(0x5ed)],_0x3cc5b6[_0xf3f92(0x663)]=_0x13c162[_0xf3f92(0x1a5)][_0xf3f92(0x231)],_0x3cc5b6[_0xf3f92(0x1a5)]());_0x3cc5b6[_0xf3f92(0x683)]();let _0x34006f;switch(_0x40d712){case _0xf3f92(0x2e3):!this[_0xf3f92(0x266)](_0x2d21ce['id'][_0xf3f92(0x702)]())&&this['addSpinningSeat'](_0x2d21ce['id']['toString']());_0x34006f=_0xf3f92(0x2e3);break;case _0xf3f92(0x62b):_0x34006f='error';break;case _0xf3f92(0x451):_0x34006f=(_0x2d21ce[_0xf3f92(0x569)]?(_0x2957db=_0x13c162['accessible'])==null?void 0x0:_0x2957db[_0xf3f92(0x1e2)]:_0x13c162[_0xf3f92(0x1e2)])||_0x13c162[_0xf3f92(0x1e2)];break;default:this['isSpinningSeat'](_0x2d21ce['id'][_0xf3f92(0x702)]())&&this[_0xf3f92(0x726)](_0x2d21ce['id'][_0xf3f92(0x702)]());_0x34006f=(_0x2d21ce[_0xf3f92(0x569)]?(_0x2bc8ba=_0x13c162[_0xf3f92(0x5a8)])==null?void 0x0:_0x2bc8ba[_0xf3f92(0x1e2)]:_0x13c162[_0xf3f92(0x1e2)])||_0x13c162[_0xf3f92(0x1e2)];break;}if(_0x34006f){const _0x54f81c=this['context'][_0xf3f92(0x25c)][_0x34006f];if(_0x54f81c){_0x3cc5b6['save']();let _0x8d0d2=0x12;if(_0x34006f==='loading')_0x8d0d2=0x18;else{if(_0x34006f===_0xf3f92(0x62b))_0x8d0d2=0x12;else{if(_0x40d712===_0xf3f92(0x451)||_0x34006f===_0xf3f92(0x39e))_0x8d0d2=0x12;}}const _0x4252d1=_0x54f81c,_0x48566e=_0x4252d1[_0xf3f92(0x5ed)]||_0x4252d1['naturalWidth']||0x80,_0x57cdc6=_0x4252d1[_0xf3f92(0x2bd)]||_0x4252d1[_0xf3f92(0x32b)]||0x80,_0x29f638=_0x57cdc6>0x0&&_0x48566e>0x0?_0x57cdc6/_0x48566e:0x1,_0x136083=_0x8d0d2,_0x767e88=_0x8d0d2*_0x29f638;_0x34006f===_0xf3f92(0x2e3)?(_0x3cc5b6[_0xf3f92(0x2b5)](_0x2d21ce['x'],_0x2d21ce['y']),_0x3cc5b6[_0xf3f92(0x522)](this[_0xf3f92(0x399)]),_0x3cc5b6[_0xf3f92(0x581)](_0x54f81c,-_0x136083/0x2,-_0x767e88/0x2,_0x136083,_0x767e88)):_0x3cc5b6[_0xf3f92(0x581)](_0x54f81c,_0x2d21ce['x']-_0x136083/0x2,_0x2d21ce['y']-_0x767e88/0x2,_0x136083,_0x767e88);_0x3cc5b6['restore']();return;}}_0x13c162[_0xf3f92(0x272)]&&this[_0xf3f92(0x566)][_0xf3f92(0x478)]/window[_0xf3f92(0x1bb)]>=0.35&&(_0x3cc5b6[_0xf3f92(0x50a)](),_0x3cc5b6[_0xf3f92(0x674)]='center',_0x3cc5b6['textBaseline']=_0xf3f92(0x1e4),_0x3cc5b6[_0xf3f92(0x6db)]=_0x13c162[_0xf3f92(0x272)][_0xf3f92(0x6db)],_0x3cc5b6[_0xf3f92(0x438)]=_0x13c162['seatName'][_0xf3f92(0x231)],_0x3cc5b6[_0xf3f92(0x67e)](_0x2d21ce[_0xf3f92(0x503)],_0x2d21ce['x'],_0x2d21ce['y']+0x1),_0x3cc5b6[_0xf3f92(0x683)]());}['drawPoint'](_0xf43468,_0x4de7b7,_0x161f38){const _0x39b564=_0x1f7a97;_0xf43468['save'](),_0xf43468[_0x39b564(0x372)](),_0xf43468[_0x39b564(0x41c)](_0x4de7b7['x'],_0x4de7b7['y'],0x64,0x0,0x2*Math['PI']),_0xf43468[_0x39b564(0x438)]=_0x161f38||'orange',_0xf43468['fill'](),_0xf43468[_0x39b564(0x683)]();}[_0x1f7a97(0x43b)](){const _0xfd75c8=_0x1f7a97;if(this[_0xfd75c8(0x566)]['scale']===void 0x0||this[_0xfd75c8(0x566)][_0xfd75c8(0x2b5)]===void 0x0)return;this[_0xfd75c8(0x376)]['save'](),this[_0xfd75c8(0x376)][_0xfd75c8(0x4ca)](0x1,0x0,0x0,0x1,0x0,0x0),this[_0xfd75c8(0x376)][_0xfd75c8(0x53e)](0x0,0x0,this[_0xfd75c8(0x5ed)]*dpr,this['height']*dpr),this[_0xfd75c8(0x376)][_0xfd75c8(0x4ca)](this['context'][_0xfd75c8(0x478)],0x0,0x0,this[_0xfd75c8(0x566)][_0xfd75c8(0x478)],this['context']['translate']['x'],this[_0xfd75c8(0x566)][_0xfd75c8(0x2b5)]['y']),this[_0xfd75c8(0x376)]['imageSmoothingQuality']=_0xfd75c8(0x528),this['offscreenCtx'][_0xfd75c8(0x470)]=!![],this[_0xfd75c8(0x1d3)](),this[_0xfd75c8(0x376)][_0xfd75c8(0x683)]();}[_0x1f7a97(0x5bd)](_0x3efbc7,_0x2a297d){const _0x4ca0af=_0x1f7a97,_0x763347=this[_0x4ca0af(0x38a)];_0x763347[_0x4ca0af(0x50a)](),_0x763347[_0x4ca0af(0x4ca)](0x1,0x0,0x0,0x1,0x0,0x0),_0x763347[_0x4ca0af(0x53e)](0x0,0x0,this[_0x4ca0af(0x5ed)]*dpr,this[_0x4ca0af(0x2bd)]*dpr),_0x763347[_0x4ca0af(0x4ca)](_0x3efbc7,0x0,0x0,_0x3efbc7,_0x2a297d['x'],_0x2a297d['y']),_0x763347[_0x4ca0af(0x581)](this[_0x4ca0af(0x612)],0x0,0x0),_0x763347[_0x4ca0af(0x683)]();}[_0x1f7a97(0x69f)](_0x126e39){const _0x23fd6c=_0x1f7a97;this[_0x23fd6c(0x3f8)][_0x23fd6c(0x47f)](_0x126e39),this[_0x23fd6c(0x19d)]===null&&this[_0x23fd6c(0x63e)]();}[_0x1f7a97(0x726)](_0x301118){const _0x3e8bdf=_0x1f7a97;this['spinningSeats'][_0x3e8bdf(0x1b6)](_0x301118),this['spinningSeats'][_0x3e8bdf(0x5b9)]===0x0&&this['spinnerAnimationId']!==null&&(cancelAnimationFrame(this[_0x3e8bdf(0x19d)]),this[_0x3e8bdf(0x19d)]=null);}[_0x1f7a97(0x266)](_0x4d44de){const _0x181e69=_0x1f7a97;return this[_0x181e69(0x3f8)][_0x181e69(0x260)](_0x4d44de);}['startSpinnerAnimation'](){const _0x3b1882=_0x1f7a97;if(this[_0x3b1882(0x19d)]!==null)return;const _0x3ee4e6=_0x2f2876=>{const _0x2deb7f=_0x3b1882,_0x1ffd6c=this[_0x2deb7f(0x31e)]?_0x2f2876-this[_0x2deb7f(0x31e)]:0x10;this[_0x2deb7f(0x31e)]=_0x2f2876,this['spinnerRotation']+=0.01*_0x1ffd6c,this['spinningSeats'][_0x2deb7f(0x5b9)]>0x0?(this[_0x2deb7f(0x4fe)](),this['spinnerAnimationId']=requestAnimationFrame(_0x3ee4e6)):(this[_0x2deb7f(0x19d)]=null,this['lastFrameTime']=0x0);};this[_0x3b1882(0x19d)]=requestAnimationFrame(_0x3ee4e6);}['renderSeat'](_0x29a97c,_0x4b5912){const _0x3eeec2=_0x1f7a97,_0x5dff9a=this[_0x3eeec2(0x566)][_0x3eeec2(0x1a3)][_0x3eeec2(0x389)];let _0x2cbde1,_0x5a67f6=_0x3eeec2(0x63a);if(_0x4b5912[_0x3eeec2(0x61f)]===_0x3eeec2(0x2e3))_0x2cbde1=_0x5dff9a['seatStyles'][_0x3eeec2(0x2e3)],_0x5a67f6=_0x3eeec2(0x2e3);else{if(_0x4b5912[_0x3eeec2(0x61f)]===_0x3eeec2(0x62b))_0x2cbde1=_0x5dff9a[_0x3eeec2(0x5cb)][_0x3eeec2(0x62b)],_0x5a67f6=_0x3eeec2(0x62b);else{if(_0x4b5912['locked'])_0x2cbde1=_0x5dff9a[_0x3eeec2(0x5cb)][_0x3eeec2(0x67c)],_0x5a67f6=_0x3eeec2(0x67c);else{if(_0x4b5912[_0x3eeec2(0x4a7)])_0x2cbde1=_0x5dff9a[_0x3eeec2(0x5cb)][_0x3eeec2(0x4a7)];else{if(_0x4b5912[_0x3eeec2(0x61f)]==='selected')_0x2cbde1=_0x5dff9a[_0x3eeec2(0x5cb)][_0x3eeec2(0x451)],_0x5a67f6=_0x3eeec2(0x451);else this[_0x3eeec2(0x566)][_0x3eeec2(0x2ab)](_0x4b5912['id'])?(_0x2cbde1=_0x5dff9a[_0x3eeec2(0x5cb)]['selected'],_0x5a67f6=_0x3eeec2(0x451)):_0x2cbde1=_0x5dff9a[_0x3eeec2(0x5cb)]['default'];}}}}this[_0x3eeec2(0x424)](_0x29a97c,_0x4b5912,_0x2cbde1,_0x5a67f6);}[_0x1f7a97(0x34e)](_0xc9549d,_0x2cf9af){const _0x10c057=_0x1f7a97,_0x454292=this[_0x10c057(0x566)][_0x10c057(0x1a3)]['theme'];if(_0x2cf9af[_0x10c057(0x6c7)]||_0x2cf9af[_0x10c057(0x4a7)]||this['context'][_0x10c057(0x2ab)](_0x2cf9af['id'])||_0x2cf9af['state']===_0x10c057(0x2e3)||_0x2cf9af[_0x10c057(0x61f)]===_0x10c057(0x62b))return;const _0x3fb545=_0x454292[_0x10c057(0x5cb)][_0x10c057(0x2fa)];this[_0x10c057(0x424)](_0xc9549d,_0x2cf9af,_0x3fb545,_0x10c057(0x2fa));}[_0x1f7a97(0x589)](_0x562154,_0x2a5a9c){const _0x5b297d=_0x1f7a97,_0x2e68f2=this['context'][_0x5b297d(0x1a3)][_0x5b297d(0x389)];if(_0x2a5a9c[_0x5b297d(0x6c7)]||_0x2a5a9c['filtered']||_0x2a5a9c[_0x5b297d(0x61f)]==='loading'||_0x2a5a9c[_0x5b297d(0x61f)]===_0x5b297d(0x62b))return;this['_renderSeat'](_0x562154,_0x2a5a9c,_0x2e68f2[_0x5b297d(0x5cb)][_0x5b297d(0x451)],_0x5b297d(0x451));}},dpr2=window[_0x1f7a97(0x1bb)],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 _0x1b06b9=_0x1f7a97;super(...arguments),this[_0x1b06b9(0x237)]=![],this['sectionViewTransform']={...INITIAL_TRANSFORM},this[_0x1b06b9(0x414)]={'duration':this['context'][_0x1b06b9(0x1a3)][_0x1b06b9(0x4eb)]||0x0,...INITIAL_ANIMATION};}[_0x1f7a97(0x424)](_0xe6cfe4,_0x40a30d,_0x173a40,_0x35e924){const _0x27f92e=_0x1f7a97;if(this['animation'][_0x27f92e(0x3d3)])return;this[_0x27f92e(0x237)]&&this['sectionViewTransform'][_0x27f92e(0x54c)]!==0x0&&(_0x40a30d=this['getCoordsAfterRotation'](_0x40a30d)),super[_0x27f92e(0x424)](_0xe6cfe4,_0x40a30d,_0x173a40,_0x35e924);}[_0x1f7a97(0x43b)](){const _0x3f5463=_0x1f7a97;if(this[_0x3f5463(0x566)][_0x3f5463(0x478)]===void 0x0||this[_0x3f5463(0x566)][_0x3f5463(0x2b5)]===void 0x0)return;this[_0x3f5463(0x376)][_0x3f5463(0x50a)](),this[_0x3f5463(0x376)][_0x3f5463(0x4ca)](0x1,0x0,0x0,0x1,0x0,0x0),this[_0x3f5463(0x376)][_0x3f5463(0x53e)](0x0,0x0,this[_0x3f5463(0x5ed)]*dpr2,this[_0x3f5463(0x2bd)]*dpr2),this['offscreenCtx'][_0x3f5463(0x4ca)](this['context']['scale'],0x0,0x0,this[_0x3f5463(0x566)][_0x3f5463(0x478)],this[_0x3f5463(0x566)][_0x3f5463(0x2b5)]['x'],this[_0x3f5463(0x566)][_0x3f5463(0x2b5)]['y']),this[_0x3f5463(0x376)][_0x3f5463(0x671)]=_0x3f5463(0x528),this[_0x3f5463(0x376)][_0x3f5463(0x470)]=!![];if(this[_0x3f5463(0x237)]){const _0x5cafcb=this[_0x3f5463(0x414)]['skewAngle'];this[_0x3f5463(0x376)][_0x3f5463(0x4ca)](this[_0x3f5463(0x566)][_0x3f5463(0x478)],0x0,0x0,this[_0x3f5463(0x566)][_0x3f5463(0x478)]*Math[_0x3f5463(0x40f)](_0x5cafcb),this[_0x3f5463(0x566)][_0x3f5463(0x2b5)]['x'],this[_0x3f5463(0x566)][_0x3f5463(0x2b5)]['y']);}this[_0x3f5463(0x1d3)](),this['offscreenCtx'][_0x3f5463(0x683)]();}[_0x1f7a97(0x5bd)](_0x4dd717,_0x2ad2cc){const _0xce2838=_0x1f7a97,_0x1234ca=this[_0xce2838(0x38a)];_0x1234ca[_0xce2838(0x50a)](),_0x1234ca['setTransform'](0x1,0x0,0x0,0x1,0x0,0x0),_0x1234ca['clearRect'](0x0,0x0,this[_0xce2838(0x5ed)]*dpr2,this[_0xce2838(0x2bd)]*dpr2),_0x1234ca['setTransform'](_0x4dd717,0x0,0x0,_0x4dd717,_0x2ad2cc['x'],_0x2ad2cc['y']),_0x1234ca['drawImage'](this[_0xce2838(0x612)],0x0,0x0),_0x1234ca[_0xce2838(0x683)]();}[_0x1f7a97(0x4fe)](){const _0x5a4ece=_0x1f7a97;this[_0x5a4ece(0x43b)](),this[_0x5a4ece(0x5bd)](0x1,{'x':0x0,'y':0x0});}[_0x1f7a97(0x246)](){return new Promise(_0x57080c=>{const _0x391ae4=_0x1783c7=>{const _0x3839ca=_0x18e5;if(!this[_0x3839ca(0x414)]['startTime'])this[_0x3839ca(0x414)]['startTime']=_0x1783c7;if(_0x1783c7-this[_0x3839ca(0x414)]['startTime']>this[_0x3839ca(0x414)]['duration']){this['animation'][_0x3839ca(0x54c)]=this[_0x3839ca(0x651)][_0x3839ca(0x54c)],this['animation'][_0x3839ca(0x222)]=this[_0x3839ca(0x651)][_0x3839ca(0x222)],this[_0x3839ca(0x414)][_0x3839ca(0x4c6)]=void 0x0,this[_0x3839ca(0x414)][_0x3839ca(0x3d3)]=![],this[_0x3839ca(0x4fe)](),cancelAnimationFrame(_0x1783c7),_0x57080c(!![]);return;}this[_0x3839ca(0x414)]['inProgress']=!![];const _0x44286d=Math[_0x3839ca(0x19a)](0x1,(_0x1783c7-this['animation'][_0x3839ca(0x4c6)])/this['animation'][_0x3839ca(0x462)]),_0x4428bc=cubicInOut(_0x44286d),_0x457010=this[_0x3839ca(0x651)][_0x3839ca(0x54c)]*_0x4428bc,_0x17798b=this[_0x3839ca(0x651)]['skewAngle']*_0x4428bc,_0x23182e=this['sectionViewTransform'][_0x3839ca(0x54c)]<0x0?Math[_0x3839ca(0x67f)]:Math[_0x3839ca(0x19a)];this['animation'][_0x3839ca(0x54c)]=_0x23182e(this[_0x3839ca(0x651)][_0x3839ca(0x54c)],_0x457010),this[_0x3839ca(0x414)]['skewAngle']=Math['min'](this[_0x3839ca(0x651)][_0x3839ca(0x222)],_0x17798b),this[_0x3839ca(0x4fe)](),requestAnimationFrame(_0x391ae4);};requestAnimationFrame(_0x391ae4);});}[_0x1f7a97(0x542)](){return new Promise(_0x133c57=>{const _0x171853=_0x17a328=>{const _0x56942b=_0x18e5;if(!this['animation']['startTime'])this[_0x56942b(0x414)][_0x56942b(0x4c6)]=_0x17a328;if(_0x17a328-this[_0x56942b(0x414)][_0x56942b(0x4c6)]>this[_0x56942b(0x414)][_0x56942b(0x462)]){this[_0x56942b(0x414)][_0x56942b(0x54c)]=0x0,this[_0x56942b(0x414)][_0x56942b(0x222)]=0x0,this[_0x56942b(0x414)]['startTime']=void 0x0,this['redraw'](),cancelAnimationFrame(_0x17a328),_0x133c57(!![]);return;}const _0x459808=Math[_0x56942b(0x19a)](0x1,(_0x17a328-this[_0x56942b(0x414)]['startTime'])/this[_0x56942b(0x414)][_0x56942b(0x462)]),_0xfa6478=cubicInOut(_0x459808),_0x51780f=this[_0x56942b(0x651)][_0x56942b(0x54c)]*(0x1-_0xfa6478),_0x22fa81=this['sectionViewTransform'][_0x56942b(0x222)]*(0x1-_0xfa6478);this['animation'][_0x56942b(0x54c)]=_0x51780f,this[_0x56942b(0x414)][_0x56942b(0x222)]=Math[_0x56942b(0x67f)](0x0,_0x22fa81),this[_0x56942b(0x4fe)](),requestAnimationFrame(_0x171853);};requestAnimationFrame(_0x171853);});}[_0x1f7a97(0x241)](_0x369e8e){const _0x56b326=_0x1f7a97;this[_0x56b326(0x546)](),this[_0x56b326(0x72c)](_0x369e8e),this[_0x56b326(0x588)]();}['setSectionCoords'](_0x173cf7){const _0x4cb2b2=_0x1f7a97,{x:_0x5e67d4,y:_0x2d9acf}=this[_0x4cb2b2(0x566)][_0x4cb2b2(0x49a)](_0x173cf7);this[_0x4cb2b2(0x651)][_0x4cb2b2(0x641)]={'x':_0x5e67d4,'y':_0x2d9acf};}[_0x1f7a97(0x546)](){const _0x2e787b=_0x1f7a97,_0x1d588e=0x0,_0x54a988=this[_0x2e787b(0x5ed)],_0x3e14b0=0x0,_0x5820b5=this[_0x2e787b(0x2bd)],_0x3b530d=(_0x1d588e+_0x54a988)/0x2,_0x3f13eb=(_0x3e14b0+_0x5820b5)/0x2,_0x1dc44b=this[_0x2e787b(0x566)][_0x2e787b(0x49a)]({'x':_0x3b530d,'y':_0x3f13eb}),_0x2df167=this[_0x2e787b(0x566)][_0x2e787b(0x49a)]({'x':_0x3b530d,'y':0x0});this[_0x2e787b(0x651)][_0x2e787b(0x67a)]={..._0x1dc44b},this[_0x2e787b(0x651)][_0x2e787b(0x3d4)]={..._0x2df167};}[_0x1f7a97(0x588)](){const _0x5280fe=_0x1f7a97,_0x354d04={...this[_0x5280fe(0x651)][_0x5280fe(0x641)]},_0x47dcd6={...this['sectionViewTransform'][_0x5280fe(0x67a)]},_0x2ecf06={...this[_0x5280fe(0x651)]['top']},_0x14dc02=_0x354d04['x']<_0x47dcd6['x'];let _0x34e543=Math[_0x5280fe(0x54f)](_0x47dcd6['x']-_0x2ecf06['x'],0x2)+Math[_0x5280fe(0x54f)](_0x47dcd6['y']-_0x2ecf06['y'],0x2),_0x537915=Math[_0x5280fe(0x54f)](_0x47dcd6['x']-_0x354d04['x'],0x2)+Math[_0x5280fe(0x54f)](_0x47dcd6['y']-_0x354d04['y'],0x2),_0x18af7f=Math[_0x5280fe(0x54f)](_0x354d04['x']-_0x2ecf06['x'],0x2)+Math[_0x5280fe(0x54f)](_0x354d04['y']-_0x2ecf06['y'],0x2),_0x54b1e3=Math[_0x5280fe(0x5ff)]((_0x34e543+_0x537915-_0x18af7f)/Math[_0x5280fe(0x49f)](0x4*_0x34e543*_0x537915))*(0xb4/Math['PI']);_0x14dc02?_0x54b1e3<0x5a?_0x54b1e3=0xb4+_0x54b1e3:_0x54b1e3=_0x54b1e3-0xb4:_0x54b1e3=0xb4-_0x54b1e3,this['sectionViewTransform'][_0x5280fe(0x54c)]=_0x54b1e3;}[_0x1f7a97(0x4e9)](){const _0x1c59bf=_0x1f7a97;return this[_0x1c59bf(0x59d)](this[_0x1c59bf(0x651)][_0x1c59bf(0x641)]);}[_0x1f7a97(0x59d)](_0x5be1df){const _0x299cbe=_0x1f7a97;if(!this[_0x299cbe(0x237)])return _0x5be1df;const {x:_0x1edb0e,y:_0x2f72c0}=this[_0x299cbe(0x651)][_0x299cbe(0x67a)],{x:_0x4a2e5e,y:_0x4a0f45}=_0x5be1df,_0x4673d5=this[_0x299cbe(0x651)][_0x299cbe(0x54c)],_0x27853f=Math['PI']/-0xb4*_0x4673d5,_0x430821=Math['cos'](_0x27853f),_0x4bbdac=Math['sin'](_0x27853f),_0x179208=_0x430821*(_0x4a2e5e-_0x1edb0e)+_0x4bbdac*(_0x4a0f45-_0x2f72c0)+_0x1edb0e,_0x227ba3=_0x430821*(_0x4a0f45-_0x2f72c0)-_0x4bbdac*(_0x4a2e5e-_0x1edb0e)+_0x2f72c0;return{..._0x5be1df,'x':_0x179208,'y':_0x227ba3};}[_0x1f7a97(0x37b)](_0x10ac80){const _0x20a0c2=_0x1f7a97;this[_0x20a0c2(0x651)]={..._0x10ac80};}[_0x1f7a97(0x2b3)](_0x43e822){this['animation']={..._0x43e822};}[_0x1f7a97(0x4a6)](){const _0x3bb4f2=_0x1f7a97;return this[_0x3bb4f2(0x414)];}['getAnimationPoint'](){const _0x5c46e7=_0x1f7a97,_0x25e257=this[_0x5c46e7(0x566)][_0x5c46e7(0x56a)](this['getSectionUpdatedCoords']()),_0x420cc9={'x':_0x25e257['x'],'y':_0x25e257['y']*Math[_0x5c46e7(0x40f)](this[_0x5c46e7(0x651)][_0x5c46e7(0x222)])};return _0x420cc9;}[_0x1f7a97(0x4dd)](){const _0x37fd73=_0x1f7a97;this['sectionViewTransform'][_0x37fd73(0x222)]=skewAngleRadian;}[_0x1f7a97(0x1d3)](){const _0x24b50d=_0x1f7a97;if(this['sectionViewActive']){this['rotate'](this[_0x24b50d(0x376)],this[_0x24b50d(0x414)]['rotationAngle']||0x0,this['sectionViewTransform'][_0x24b50d(0x67a)],this[_0x24b50d(0x19c)]);this[_0x24b50d(0x2ac)]&&(this['drawPoint'](this['offscreenCtx'],this[_0x24b50d(0x4e9)](),_0x24b50d(0x644)),this[_0x24b50d(0x651)][_0x24b50d(0x67a)]&&this[_0x24b50d(0x575)](this[_0x24b50d(0x376)],this[_0x24b50d(0x651)][_0x24b50d(0x67a)],_0x24b50d(0x236)),this['sectionViewTransform']['top']&&this[_0x24b50d(0x575)](this[_0x24b50d(0x376)],this[_0x24b50d(0x651)][_0x24b50d(0x3d4)],'black'));return;}this[_0x24b50d(0x19c)]&&!this[_0x24b50d(0x237)]&&this[_0x24b50d(0x376)]['drawImage'](this[_0x24b50d(0x19c)],0x0,0x0,this[_0x24b50d(0x19c)]['width'],this['backgroundElement'][_0x24b50d(0x2bd)]);}async['applySectionViewAnimation'](_0x4c427c,_0x520dee){const _0x28e9d9=_0x1f7a97;var _0x2aebf7;const _0x1dfeda=this['sectionViewActive']||!!this[_0x28e9d9(0x60b)]&&this[_0x28e9d9(0x60b)]!==_0x4c427c['id'],_0x1bead1=this[_0x28e9d9(0x60b)]===_0x4c427c['id'],_0x111729=()=>new Promise(_0x527988=>{const _0x39ec05=_0x28e9d9;_0x520dee[_0x39ec05(0x66f)](),setTimeout(()=>{_0x527988(!![]);},(this[_0x39ec05(0x566)][_0x39ec05(0x1a3)][_0x39ec05(0x1ce)]||0x0)*1.5);});!this[_0x28e9d9(0x566)][_0x28e9d9(0x244)]&&await _0x111729();_0x1dfeda&&(this['animation'][_0x28e9d9(0x3d3)]=!![],await Promise[_0x28e9d9(0x466)]([this[_0x28e9d9(0x542)](),_0x111729()]),this[_0x28e9d9(0x553)]());if(_0x1bead1)return this[_0x28e9d9(0x4fe)](),![];const _0x5611f3=(_0x2aebf7=_0x520dee[_0x28e9d9(0x498)]())==null?void 0x0:_0x2aebf7[_0x28e9d9(0x268)](_0x5e24d7=>_0x5e24d7['id']===_0x4c427c['id']);if(!_0x5611f3)return![];return this[_0x28e9d9(0x60b)]=_0x4c427c['id']||null,this[_0x28e9d9(0x237)]=!![],this[_0x28e9d9(0x4dd)](),this[_0x28e9d9(0x241)](_0x5611f3),typeof this['sectionViewTransform'][_0x28e9d9(0x54c)]===_0x28e9d9(0x1f7)?this[_0x28e9d9(0x246)]():(console[_0x28e9d9(0x404)](_0x28e9d9(0x4a3)+this[_0x28e9d9(0x60b)]+_0x28e9d9(0x1a0)),this[_0x28e9d9(0x553)]()),!![];}[_0x1f7a97(0x553)](){const _0x4994bf=_0x1f7a97;this['sectionViewActive']=![],this['sectionId']=null,this[_0x4994bf(0x651)]={...INITIAL_TRANSFORM},this[_0x4994bf(0x414)]={'duration':this['context'][_0x4994bf(0x1a3)][_0x4994bf(0x4eb)]||0x0,...INITIAL_ANIMATION};}['rotate'](_0x14063b,_0x4d1fdb,_0x35ba72,_0x1dbe78){const _0xa90e2b=_0x1f7a97;_0x14063b['save']();const {x:_0x1cdd15,y:_0x39d1bd}=_0x35ba72;_0x14063b[_0xa90e2b(0x2b5)](_0x1cdd15,_0x39d1bd),_0x14063b[_0xa90e2b(0x522)](_0x4d1fdb*(Math['PI']/0xb4)),_0x14063b[_0xa90e2b(0x2b5)](-_0x1cdd15,-_0x39d1bd),_0x14063b[_0xa90e2b(0x581)](_0x1dbe78,0x0,0x0,_0x1dbe78['width'],_0x1dbe78[_0xa90e2b(0x2bd)]),_0x14063b['restore']();}},HTMLCanvasLayer=class extends SectionViewLayer{constructor(){const _0x5cbfdf=_0x1f7a97;super(...arguments),this['hasInitialDrawComplete']=![],this[_0x5cbfdf(0x6f3)]=![],this[_0x5cbfdf(0x408)]=![];}async[_0x1f7a97(0x5fa)](){const _0x6a9ebe=_0x1f7a97;try{this[_0x6a9ebe(0x4fe)](),await new Promise(_0x4f16a1=>{const _0x425bcc=()=>{const _0x3d51d9=_0x18e5,_0x2bc45c=Array[_0x3d51d9(0x577)](this[_0x3d51d9(0x566)][_0x3d51d9(0x555)])&&this[_0x3d51d9(0x566)][_0x3d51d9(0x555)][_0x3d51d9(0x420)]>0x0,_0x33503f=this['hasBackgroundReady']&&(!_0x2bc45c||this[_0x3d51d9(0x408)])&&this[_0x3d51d9(0x6e3)];if(_0x33503f)return _0x4f16a1();requestAnimationFrame(_0x425bcc);};requestAnimationFrame(_0x425bcc);});const _0x29d9e2=this[_0x6a9ebe(0x612)][_0x6a9ebe(0x374)](_0x6a9ebe(0x3d9)),_0x4e992e=new Image();return _0x4e992e['src']=_0x29d9e2,await new Promise(_0x41d145=>{const _0x289392=_0x6a9ebe;if(_0x4e992e[_0x289392(0x718)])return _0x41d145();_0x4e992e['onload']=()=>_0x41d145(),_0x4e992e[_0x289392(0x1ac)]=()=>_0x41d145();}),_0x4e992e;}catch(_0xf9de51){return null;}}[_0x1f7a97(0x2f0)](_0x1d4b60=0x0){const _0x57d7f3=_0x1f7a97;let _0x57e893=[];const _0x27fcdc=this[_0x57d7f3(0x566)][_0x57d7f3(0x5f4)][_0x57d7f3(0x57d)]['visible']&&!this['context'][_0x57d7f3(0x1a3)][_0x57d7f3(0x30e)]&&!(this['context']['isEagleView']&&this['context'][_0x57d7f3(0x1a3)][_0x57d7f3(0x5d7)]);if(_0x27fcdc){const _0x88238b=this[_0x57d7f3(0x566)][_0x57d7f3(0x49a)]({'x':0x0,'y':0x0}),_0x1114c8=this[_0x57d7f3(0x566)]['getPositionByOffset']({'x':this[_0x57d7f3(0x5ed)],'y':this[_0x57d7f3(0x2bd)]}),_0x296164={'minX':_0x88238b['x']-_0x1d4b60,'minY':_0x88238b['y']-_0x1d4b60,'maxX':_0x1114c8['x']+_0x1d4b60,'maxY':_0x1114c8['y']+_0x1d4b60};_0x57e893=findVisibleSeats(_0x296164,this[_0x57d7f3(0x566)][_0x57d7f3(0x555)],this[_0x57d7f3(0x566)][_0x57d7f3(0x6ee)]);}return _0x57e893;}[_0x1f7a97(0x1d3)](){const _0x142398=_0x1f7a97;this[_0x142398(0x19c)]&&(this['backgroundElement'][_0x142398(0x718)]||this[_0x142398(0x19c)][_0x142398(0x4da)]==='complete')&&this[_0x142398(0x19c)][_0x142398(0x66a)]>0x0&&(this[_0x142398(0x6f3)]=!![]);super[_0x142398(0x1d3)]();const _0x2ddbf3=this[_0x142398(0x237)]?0xfa:0x2,_0x2e7ee4=this['context'][_0x142398(0x1a3)][_0x142398(0x389)][_0x142398(0x496)]*_0x2ddbf3,_0x2e2263=this[_0x142398(0x2f0)](_0x2e7ee4);if(_0x2e2263[_0x142398(0x420)]>0x0)this[_0x142398(0x408)]=!![];_0x2e2263[_0x142398(0x34d)](_0x5cf2ad=>this['renderSeat'](this[_0x142398(0x376)],_0x5cf2ad)),this[_0x142398(0x6e3)]=!![];}},findVisibleSeats=(_0x62c766,_0x1387c0,_0x603e63)=>{const _0x3cd49e=_0x1f7a97;return _0x603e63[_0x3cd49e(0x4cc)](_0x62c766['minX'],_0x62c766['minY'],_0x62c766[_0x3cd49e(0x5c6)],_0x62c766[_0x3cd49e(0x619)])['map'](_0x218e2d=>({..._0x1387c0[_0x218e2d]}));};function createSvgElement(_0x4330ff){const _0x44c601=_0x1f7a97;if(!_0x4330ff)return console[_0x44c601(0x404)](_0x44c601(0x654)),document['createElementNS'](_0x44c601(0x3bd),_0x44c601(0x39a));const _0x152e9b=new DOMParser(),_0xb517c3=_0x152e9b[_0x44c601(0x5b5)](_0x4330ff,_0x44c601(0x552)),_0x470144=_0xb517c3[_0x44c601(0x3f3)](_0x44c601(0x487));if(_0x470144){const _0x201c74=_0x470144[_0x44c601(0x3f3)](_0x44c601(0x6c1)),_0x5ae345=_0x201c74?_0x201c74[_0x44c601(0x2af)]:_0x470144[_0x44c601(0x2af)];console[_0x44c601(0x62b)](_0x44c601(0x472),_0x4330ff[_0x44c601(0x71f)](0x0,0x1f4)+_0x44c601(0x47e));if(_0x5ae345&&_0x5ae345['includes'](_0x44c601(0x3ed))&&_0x5ae345[_0x44c601(0x6df)]('redefined'))throw new Error('SVG\x20has\x20duplicate\x20attributes:\x20'+_0x5ae345);throw new Error(_0x44c601(0x1e6)+_0x5ae345);}const _0x674a19=_0xb517c3[_0x44c601(0x62a)];if(!_0x674a19||_0x674a19[_0x44c601(0x303)][_0x44c601(0x5ea)]()!==_0x44c601(0x39a))throw new Error(_0x44c601(0x22f));return _0x674a19;}function createSvgImageElement(_0x435618,_0xd4c264,_0x23e211){const _0xbef4f0=_0x1f7a97;if(!_0x435618)throw new Error(_0xbef4f0(0x654));let _0x1d35fe=null;return _0xd4c264&&_0x23e211&&(_0x1d35fe=getSvgDimensions(_0x435618,_0xd4c264,_0x23e211)),new Promise((_0x3b950a,_0x17a2f1)=>{const _0x317eb0=_0xbef4f0,_0x4abb39=new Image();_0x4abb39[_0x317eb0(0x3f0)]=_0x317eb0(0x608)+btoa(unescape(encodeURIComponent(_0x435618))),_0x1d35fe&&(_0x4abb39['width']=_0x1d35fe['width'],_0x4abb39['height']=_0x1d35fe[_0x317eb0(0x2bd)]),_0x4abb39[_0x317eb0(0x27b)]=()=>_0x3b950a(_0x4abb39),_0x4abb39[_0x317eb0(0x1ac)]=()=>_0x17a2f1(_0x317eb0(0x1b2));});}async function loadImageFromUrl(_0x2a66ba,_0x1f38f5){const _0x1f301a=_0x1f7a97;if(!_0x2a66ba)throw new Error(_0x1f301a(0x60f));return new Promise((_0x5185b9,_0x398045)=>{const _0x103b37=_0x1f301a,_0x3752c6=new Image();_0x1f38f5&&(_0x3752c6[_0x103b37(0x2d4)]=_0x1f38f5),_0x3752c6[_0x103b37(0x3f0)]=_0x2a66ba,_0x3752c6['onload']=()=>_0x5185b9(_0x3752c6),_0x3752c6[_0x103b37(0x1ac)]=_0x53b047=>_0x398045('PNG\x20image\x20load\x20error:\x20'+_0x53b047['message']);});}var setImageSizeAndCenter=(_0x162cb0,_0x243b4a)=>{const _0x58f308=_0x1f7a97,{x:_0x77b021,y:_0x43a774,width:_0x41288c,height:_0x43edf4}=_0x243b4a;_0x162cb0[_0x58f308(0x71e)]['position']=_0x58f308(0x492),_0x162cb0[_0x58f308(0x71e)][_0x58f308(0x1a2)]=_0x77b021+'px',_0x162cb0['style'][_0x58f308(0x3d4)]=_0x43a774+'px',_0x162cb0[_0x58f308(0x71e)][_0x58f308(0x5ed)]=_0x41288c+'px',_0x162cb0['style'][_0x58f308(0x2bd)]=_0x43edf4+'px',_0x162cb0[_0x58f308(0x5ed)]=_0x41288c,_0x162cb0[_0x58f308(0x2bd)]=_0x43edf4,_0x162cb0['style'][_0x58f308(0x47a)]=_0x58f308(0x634);};async function svgToBase64(_0xa4b389){const _0xb6c09=_0x1f7a97,_0x4a887d=new Blob([_0xa4b389],{'type':_0xb6c09(0x552)}),_0x2b0ef3=URL[_0xb6c09(0x532)](_0x4a887d);return new Promise((_0x5f4b51,_0x1bf8c0)=>{const _0x573b5b=_0xb6c09,_0x35531c=new Image();_0x35531c[_0x573b5b(0x2d4)]='anonymous';const _0x47fe4b=0x4;_0x35531c[_0x573b5b(0x27b)]=()=>{const _0x2b2feb=_0x573b5b;URL[_0x2b2feb(0x217)](_0x2b0ef3);const _0x103594=document[_0x2b2feb(0x26e)](_0x2b2feb(0x5cd));_0x103594['width']=_0x35531c['width']*_0x47fe4b,_0x103594[_0x2b2feb(0x2bd)]=_0x35531c[_0x2b2feb(0x2bd)]*_0x47fe4b;const _0x64deb7=_0x103594['getContext']('2d');_0x64deb7?(_0x64deb7[_0x2b2feb(0x581)](_0x35531c,0x0,0x0,_0x103594[_0x2b2feb(0x5ed)],_0x103594[_0x2b2feb(0x2bd)]),_0x5f4b51(_0x103594[_0x2b2feb(0x374)]('image/png'))):_0x1bf8c0(new Error(_0x2b2feb(0x1a6)));},_0x35531c[_0x573b5b(0x1ac)]=_0x1bf8c0,_0x35531c[_0x573b5b(0x3f0)]=_0x2b0ef3;});}function getSvgDimensions(_0x340522,_0x5c7702,_0x329883){const _0x52a43c=_0x1f7a97,_0x2d44ac=new DOMParser(),_0x227c38=_0x2d44ac['parseFromString'](_0x340522,_0x52a43c(0x552)),_0x8ae83e=_0x227c38[_0x52a43c(0x32a)]('svg')[0x0];if(_0x8ae83e[_0x52a43c(0x637)](_0x52a43c(0x5ed))&&_0x8ae83e['hasAttribute'](_0x52a43c(0x2bd)))return{'width':parseFloat(_0x8ae83e[_0x52a43c(0x439)]('width')['replace']('px','')),'height':parseFloat(_0x8ae83e['getAttribute'](_0x52a43c(0x2bd))[_0x52a43c(0x531)]('px',''))};else{if(_0x8ae83e['hasAttribute']('viewBox')){const _0x2231ce=_0x8ae83e[_0x52a43c(0x439)]('viewBox')[_0x52a43c(0x44d)]('\x20');return{'width':parseFloat(_0x2231ce[0x2]),'height':parseFloat(_0x2231ce[0x3])};}else return{'width':_0x5c7702,'height':_0x329883};}}var theme_default={'gridStep':0xe,'bgColor':_0x1f7a97(0x4a2),'unavailableSeatRadius':0x3,'filteredSeatRadius':0x5,'availableSeatRadius':0x8,'specialSeatRadius':0xc,'hoveredSeatRadius':0x13,'selectedSeatRadius':0x15,'seatFont':_0x1f7a97(0x39f),'seatTextColor':'#fff','unavailableSeatColor':_0x1f7a97(0x245),'filteredSeatColor':_0x1f7a97(0x5e5),'svgSectionStyles':{'default':{},'filtered':{'bgColor':_0x1f7a97(0x5e5)},'unavailable':{'bgColor':_0x1f7a97(0x245)},'hovered':{'stroke':{'color':_0x1f7a97(0x52c),'width':_0x1f7a97(0x3a4)},'cursor':_0x1f7a97(0x413)},'selected':{'stroke':{'color':_0x1f7a97(0x52c),'opacity':0x1}}},'shadowColor':_0x1f7a97(0x568),'shadowBlur':0x14,'priceColors':[[_0x1f7a97(0x54e),'#673AB7',_0x1f7a97(0x40c),_0x1f7a97(0x52c),'#00BCD4',_0x1f7a97(0x5d6),_0x1f7a97(0x6a2),_0x1f7a97(0x4dc),_0x1f7a97(0x1f4),_0x1f7a97(0x412),_0x1f7a97(0x6ea),_0x1f7a97(0x687),'#E91E63'],[_0x1f7a97(0x52c)],['#2196F3',_0x1f7a97(0x1f4)],[_0x1f7a97(0x331),'#2196F3',_0x1f7a97(0x1f4)]],'colorCategories':[_0x1f7a97(0x54e),'#673AB7',_0x1f7a97(0x40c),_0x1f7a97(0x52c),_0x1f7a97(0x221),_0x1f7a97(0x5d6),_0x1f7a97(0x6a2),'#CDDC39','#FFC107',_0x1f7a97(0x412),_0x1f7a97(0x6ea),'#F44336',_0x1f7a97(0x35f)]},ATTR_DATA_GA_SELECTED=_0x1f7a97(0x6ba),ATTR_OUTER_HIGHLIGHT='outer-highlight',ATTR_DATA_GA_UNAVAILABLE=_0x1f7a97(0x6f8),ATTR_DATA_DEFAULT_FILL=_0x1f7a97(0x618),SM_OUTLINE_FOCUSED=_0x1f7a97(0x3e6),UNDERLAY_BINDED_GA_CSS_STYLES=_0x1f7a97(0x58d),OUTLINE_CLASS=_0x1f7a97(0x434),appendStyles=_0x19a292=>{const _0x5956e5=_0x1f7a97,_0x2e4afc=document[_0x5956e5(0x3f3)](_0x5956e5(0x4e7))||document['body'],_0x4414a4=document['createElementNS'](_0x5956e5(0x3bd),_0x5956e5(0x71e)),_0x4c7a15=generateDynamicHighlightCss(bgOutlineCss,_0x19a292||theme_default[_0x5956e5(0x665)]);_0x4414a4['appendChild'](document[_0x5956e5(0x512)](_0x4c7a15));const _0x598bb7=generateDynamicHighlightCss(outlineCss,theme_default[_0x5956e5(0x665)]);_0x4414a4[_0x5956e5(0x2b0)](document[_0x5956e5(0x512)](_0x598bb7)),_0x2e4afc['appendChild'](_0x4414a4);},getThemeStyle=(_0x4ae301,_0x3e6b84)=>{if(_0x3e6b84)return _0x4ae301+':\x20'+_0x3e6b84+';';return'';},generateDynamicHighlightCss=(_0x29edf4,_0x200228)=>{const _0x2aef37=_0x1f7a97;var _0x6c69cd,_0x3d19d0,_0x45fc64,_0x1832f6,_0x3ab32b,_0xd758e4,_0x51b836,_0x8dfd5f,_0x57c4a4,_0x3c339e,_0x3fa00a,_0xa634ed,_0x268150,_0xe582dd,_0x1f2689,_0x330923,_0x554a28,_0x27a9cf,_0x55c847,_0x2d328a,_0x4a219e,_0x4bf8bc,_0x3426b5,_0xa88c5a,_0x2bfdfd,_0x3ff60c,_0x3c3c1a,_0xfac3e5,_0x55fab6,_0x25b596,_0x30fe6b,_0x26bb5a,_0x568a81,_0x1002bd,_0x143791,_0x1e750a,_0x8d6f43,_0x75d16b,_0x32befb,_0x2e2215,_0x2e20a7;const _0x507393=_0x2aef37(0x629),_0xc9aed2=_0x2aef37(0x1ca)+OUTLINE_CLASS+',\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle('cursor',(_0x6c69cd=_0x200228==null?void 0x0:_0x200228[_0x2aef37(0x63a)])==null?void 0x0:_0x6c69cd['cursor'])+_0x2aef37(0x673)+getThemeStyle(_0x2aef37(0x1a5),(_0x45fc64=(_0x3d19d0=_0x200228==null?void 0x0:_0x200228['default'])==null?void 0x0:_0x3d19d0[_0x2aef37(0x1a5)])==null?void 0x0:_0x45fc64['color'])+_0x2aef37(0x673)+getThemeStyle(_0x2aef37(0x5ec),(_0x3ab32b=(_0x1832f6=_0x200228==null?void 0x0:_0x200228['hovered'])==null?void 0x0:_0x1832f6['stroke'])==null?void 0x0:_0x3ab32b['opacity'])+_0x2aef37(0x66c)+getThemeStyle('fill',(_0x51b836=(_0xd758e4=_0x200228==null?void 0x0:_0x200228[_0x2aef37(0x63a)])==null?void 0x0:_0xd758e4[_0x2aef37(0x3d8)])==null?void 0x0:_0x51b836[_0x2aef37(0x231)])+_0x2aef37(0x1bd),_0x204532='\x0a\x20\x20\x20\x20\x20\x20.sm-shape-ga:hover,\x0a\x20\x20\x20\x20\x20\x20.sm-table:hover,\x20\x0a\x20\x20\x20\x20\x20\x20.sm-eagle-view\x20.'+OUTLINE_CLASS+':hover,\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga:hover\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle(_0x2aef37(0x2c3),(_0x8dfd5f=_0x200228==null?void 0x0:_0x200228[_0x2aef37(0x2fa)])==null?void 0x0:_0x8dfd5f[_0x2aef37(0x2c3)])+_0x2aef37(0x673)+getThemeStyle('stroke',(_0x3c339e=(_0x57c4a4=_0x200228==null?void 0x0:_0x200228[_0x2aef37(0x2fa)])==null?void 0x0:_0x57c4a4[_0x2aef37(0x1a5)])==null?void 0x0:_0x3c339e['color'])+_0x2aef37(0x673)+getThemeStyle('stroke-opacity',(_0xa634ed=(_0x3fa00a=_0x200228==null?void 0x0:_0x200228[_0x2aef37(0x2fa)])==null?void 0x0:_0x3fa00a['stroke'])==null?void 0x0:_0xa634ed[_0x2aef37(0x465)])+_0x2aef37(0x673)+getThemeStyle(_0x2aef37(0x6ce),(_0xe582dd=(_0x268150=_0x200228==null?void 0x0:_0x200228[_0x2aef37(0x2fa)])==null?void 0x0:_0x268150['stroke'])==null?void 0x0:_0xe582dd[_0x2aef37(0x5ed)])+_0x2aef37(0x363)+getThemeStyle(_0x2aef37(0x309),(_0x1f2689=_0x200228==null?void 0x0:_0x200228[_0x2aef37(0x2fa)])==null?void 0x0:_0x1f2689[_0x2aef37(0x403)])+_0x2aef37(0x3de)+getThemeStyle(_0x2aef37(0x309),(_0x554a28=(_0x330923=_0x200228==null?void 0x0:_0x200228[_0x2aef37(0x2fa)])==null?void 0x0:_0x330923[_0x2aef37(0x3d8)])==null?void 0x0:_0x554a28[_0x2aef37(0x231)])+'\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',_0x578450=_0x2aef37(0x2d2)+ATTR_DATA_GA_SELECTED+_0x2aef37(0x68e)+ATTR_DATA_GA_SELECTED+_0x2aef37(0x229)+getThemeStyle(_0x2aef37(0x2c3),(_0x27a9cf=_0x200228==null?void 0x0:_0x200228[_0x2aef37(0x451)])==null?void 0x0:_0x27a9cf['cursor'])+_0x2aef37(0x673)+getThemeStyle(_0x2aef37(0x1a5),(_0x2d328a=(_0x55c847=_0x200228==null?void 0x0:_0x200228[_0x2aef37(0x451)])==null?void 0x0:_0x55c847['stroke'])==null?void 0x0:_0x2d328a[_0x2aef37(0x231)])+_0x2aef37(0x673)+getThemeStyle(_0x2aef37(0x5ec),(_0x4bf8bc=(_0x4a219e=_0x200228==null?void 0x0:_0x200228[_0x2aef37(0x451)])==null?void 0x0:_0x4a219e[_0x2aef37(0x1a5)])==null?void 0x0:_0x4bf8bc[_0x2aef37(0x465)])+'\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga['+ATTR_DATA_GA_SELECTED+_0x2aef37(0x64a)+getThemeStyle(_0x2aef37(0x309),(_0x3426b5=_0x200228==null?void 0x0:_0x200228[_0x2aef37(0x451)])==null?void 0x0:_0x3426b5[_0x2aef37(0x403)])+'\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga['+ATTR_DATA_GA_SELECTED+'=\x221\x22]\x20>\x20path:not([data-seatmap-ga])\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle(_0x2aef37(0x309),(_0x2bfdfd=(_0xa88c5a=_0x200228==null?void 0x0:_0x200228[_0x2aef37(0x451)])==null?void 0x0:_0xa88c5a[_0x2aef37(0x3d8)])==null?void 0x0:_0x2bfdfd[_0x2aef37(0x231)])+_0x2aef37(0x1bd),_0x23b01d=_0x2aef37(0x2d2)+ATTR_DATA_GA_UNAVAILABLE+_0x2aef37(0x68e)+ATTR_DATA_GA_UNAVAILABLE+_0x2aef37(0x229)+getThemeStyle(_0x2aef37(0x2c3),(_0x3ff60c=_0x200228==null?void 0x0:_0x200228[_0x2aef37(0x67c)])==null?void 0x0:_0x3ff60c[_0x2aef37(0x2c3)])+_0x2aef37(0x673)+getThemeStyle('stroke',(_0xfac3e5=(_0x3c3c1a=_0x200228==null?void 0x0:_0x200228[_0x2aef37(0x67c)])==null?void 0x0:_0x3c3c1a['stroke'])==null?void 0x0:_0xfac3e5[_0x2aef37(0x231)])+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle(_0x2aef37(0x5ec),(_0x25b596=(_0x55fab6=_0x200228==null?void 0x0:_0x200228['unavailable'])==null?void 0x0:_0x55fab6[_0x2aef37(0x1a5)])==null?void 0x0:_0x25b596[_0x2aef37(0x465)])+_0x2aef37(0x6c0)+ATTR_DATA_GA_UNAVAILABLE+'=\x221\x22]\x20path[data-seatmap-ga]\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle(_0x2aef37(0x309),(_0x30fe6b=_0x200228==null?void 0x0:_0x200228['unavailable'])==null?void 0x0:_0x30fe6b['bgColor'])+_0x2aef37(0x5c9)+ATTR_DATA_GA_UNAVAILABLE+'=\x221\x22]\x20>\x20path:not([data-seatmap-ga])\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle(_0x2aef37(0x309),(_0x568a81=(_0x26bb5a=_0x200228==null?void 0x0:_0x200228['unavailable'])==null?void 0x0:_0x26bb5a[_0x2aef37(0x3d8)])==null?void 0x0:_0x568a81[_0x2aef37(0x231)])+_0x2aef37(0x1bd),_0x23276a='\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('cursor',(_0x1002bd=_0x200228==null?void 0x0:_0x200228[_0x2aef37(0x2fa)])==null?void 0x0:_0x1002bd[_0x2aef37(0x2c3)])+_0x2aef37(0x673)+getThemeStyle(_0x2aef37(0x1a5),(_0x1e750a=(_0x143791=_0x200228==null?void 0x0:_0x200228[_0x2aef37(0x2fa)])==null?void 0x0:_0x143791['stroke'])==null?void 0x0:_0x1e750a[_0x2aef37(0x231)])+_0x2aef37(0x673)+getThemeStyle('stroke-opacity',(_0x75d16b=(_0x8d6f43=_0x200228==null?void 0x0:_0x200228[_0x2aef37(0x2fa)])==null?void 0x0:_0x8d6f43[_0x2aef37(0x1a5)])==null?void 0x0:_0x75d16b[_0x2aef37(0x465)])+_0x2aef37(0x688)+getThemeStyle('fill',(_0x32befb=_0x200228==null?void 0x0:_0x200228[_0x2aef37(0x2fa)])==null?void 0x0:_0x32befb[_0x2aef37(0x403)])+'\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga[outer-highlight=\x221\x22]\x20>\x20path:not([data-seatmap-ga])\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+getThemeStyle(_0x2aef37(0x309),(_0x2e20a7=(_0x2e2215=_0x200228==null?void 0x0:_0x200228[_0x2aef37(0x2fa)])==null?void 0x0:_0x2e2215[_0x2aef37(0x3d8)])==null?void 0x0:_0x2e20a7[_0x2aef37(0x231)])+_0x2aef37(0x1bd),_0x3e86a6='\x0a\x20\x20\x20\x20\x20\x20.sm-eagle-view\x20.'+SM_OUTLINE_FOCUSED+_0x2aef37(0x373)+SM_OUTLINE_FOCUSED+_0x2aef37(0x3b7);return _0x2aef37(0x247)+_0x29edf4+_0x2aef37(0x247)+_0x507393+_0x2aef37(0x247)+_0xc9aed2+_0x2aef37(0x247)+_0x204532+_0x2aef37(0x247)+_0x578450+'\x0a\x20\x20\x20\x20\x20\x20'+_0x23b01d+_0x2aef37(0x247)+_0x23276a+_0x2aef37(0x247)+_0x3e86a6+_0x2aef37(0x2eb)+OUTLINE_CLASS+_0x2aef37(0x452);},bgOutlineCss=_0x1f7a97(0x56d)+OUTLINE_CLASS+_0x1f7a97(0x2c1),outlineCss='\x0a\x20\x20\x20\x20.'+OUTLINE_CLASS+_0x1f7a97(0x34c)+OUTLINE_CLASS+'\x20{\x0a\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20fill:\x20transparent;\x0a\x20\x20\x20\x20\x20\x20stroke:\x20transparent;\x0a\x20\x20\x20\x20\x20\x20stroke-width:\x202px;\x0a\x20\x20\x20\x20\x20\x20stroke-opacity:\x200.5;\x0a\x20\x20\x20\x20\x20\x20vector-effect:\x20non-scaling-stroke;\x0a\x20\x20\x20\x20\x20\x20transition:\x20stroke\x20100ms\x20ease-in-out;\x0a\x20\x20\x20\x20}\x0a\x20\x20',cleanupStyles=(_0x1e6f14,_0x4eb750)=>{const _0x3c70a1=_0x1f7a97;if(!_0x1e6f14[_0x3c70a1(0x637)](_0x3c70a1(0x71e)))return;if(_0x4eb750[_0x3c70a1(0x420)]===0x1&&_0x4eb750[0x0]==='*'){_0x1e6f14['removeAttribute']('style');return;}const _0xff6250=_0x1e6f14[_0x3c70a1(0x439)](_0x3c70a1(0x71e)),_0x7af0bf=_0xff6250&&_0xff6250[_0x3c70a1(0x44d)](';')['map'](_0xbafe98=>_0xbafe98[_0x3c70a1(0x2f3)]()[_0x3c70a1(0x44d)](':')),_0x2fd13d=_0x7af0bf&&_0x7af0bf[_0x3c70a1(0x4c7)](_0x3c22ba=>_0x3c22ba[0x0]&&!_0x4eb750['includes'](_0x3c22ba[0x0][_0x3c70a1(0x2f3)]()));if(_0x2fd13d&&_0x2fd13d[_0x3c70a1(0x420)]>0x0){const _0x49bb42=_0x2fd13d['map'](_0x35c479=>_0x35c479[_0x3c70a1(0x4fb)](':'))['join'](';');_0x1e6f14['setAttribute'](_0x3c70a1(0x71e),_0x49bb42);}else _0x1e6f14['removeAttribute'](_0x3c70a1(0x71e));},DPR=window[_0x1f7a97(0x1bb)],THREE_D_CONSTANTS={'tiltFactor':0x2,'perspectiveFactor':1.5};function buildCss3DTransform({rotationZ:_0x5cd4f1,perspectiveZ:_0x585106,tiltX:_0x1298fa},_0x135658){const _0x25c607=_0x1f7a97;var _0x2be5f4;const _0x1e8db4=_0x5cd4f1*0xb4/Math['PI'],_0xcef832=0x1+_0x1298fa*THREE_D_CONSTANTS[_0x25c607(0x4c2)],_0x35c25d=0x1+_0x585106*THREE_D_CONSTANTS[_0x25c607(0x1bf)],_0x12b0e0=[],_0x347948=Math[_0x25c607(0x67f)](0.0001,(_0x2be5f4=_0x135658==null?void 0x0:_0x135658[_0x25c607(0x535)])!=null?_0x2be5f4:0x1);if(_0x347948!==0x1)_0x12b0e0[_0x25c607(0x51f)](_0x25c607(0x43d)+_0x347948+')');if(_0x585106!==0x0)_0x12b0e0[_0x25c607(0x51f)](_0x25c607(0x67b)+_0x35c25d+')');if(_0x1298fa!==0x0)_0x12b0e0[_0x25c607(0x51f)](_0x25c607(0x67b)+_0xcef832+')');if(_0x5cd4f1!==0x0)_0x12b0e0[_0x25c607(0x51f)](_0x25c607(0x4f9)+_0x1e8db4+'deg)');if(_0x347948!==0x1)_0x12b0e0[_0x25c607(0x51f)]('scaleX('+0x1/_0x347948+')');return _0x12b0e0[_0x25c607(0x4fb)]('\x20');}function getDefaultTransformOrigin(){const _0x3ea59d=_0x1f7a97;return _0x3ea59d(0x2ba);}function _0xe61b(){const _0x2cdce0=['frame','abs','parentElement','isCrossfading','drawPoint','https://booking.seatmap.pro/api/public/v1.0/','isArray','redrawHandler','rgba(255,255,255,0.25)','transformBox','Key\x20','sendViewBox','seat','extractSVGBackgroundOutlines','1000','\x20|\x20unproj:\x20','drawImage','zoomToDestination','POINTS','shadowOffsetX','startPanAnimation','uniform1i','data-seatmap-ga','setRotationAngle','renderSelectedSeat','fadeOut','classList','data-gos-id','sm-ga-bind-css','shift','#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','container','zoomTo','prices','createShader','useProgram','srcClick','setupBackgroundTextureFromImageBitmap','localhost','ballY','SECTION','\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','pinch','u_rotationZ','getCoordsAfterRotation','seatsAvailabilityBuffer','textureLoadingPromise','12px\x20Arial,\x20sans-serif','currentSrc','/seat/select','inside','hoveredSeat','OverlayRenderer\x20program\x20link\x20error:','<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>','texcoordBuffer','accessible',']\x20>\x20rect','Texture\x20worker\x20error:','panning','removeAttribute','pinchStartPoint','background','hexToRGB','setHeight','KeyK','scrollLeft','backgroundSVG','getShaderInfoLog','parseFromString','/viewbox','setHovered','loadingPointsBuffer','size','full','position','u_loadingUV','drawOnscreenCanvas','u_loadingRotateAngle','4px\x206px','clearSectorHighlight','PAN_ZOOM','rowId','dragOffset','contains','_selectedSeatIds','maxX','onZoomStart','deleteTexture','\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga[','isTable','seatStyles','animateend','canvas','grabbing','u_atlas_stageHeight','&disableOriginal=true','panToCenter','a_selected','SECTION_MOUSE_LEAVE','updateOutlines','toggle','#009688','showRows','onSeatDebouncedEnter','bottom-left','options','_seats','a_size','TEXTURE_WRAP_T','underlay','filterSvgSectionById','fetchPricesForEvent','hasDeselectionAnimations','drawBackground','applyIntermediate3D','ellipse','#999','sin','polygon','cachedDraw','parentNode','toLowerCase','getAttribLocation','stroke-opacity','width','getNearestDocumentedScale','string','getSelectedGa','responseSize','rowsRenderer','DEPTH_BUFFER_BIT','visibility','stageWidth','#000000','postMessage','1187001VpysaY','appendRowsOverlay','captureSeatmap','delta','stageHeight','offscreenColor','addSeatToCart','acos','u_errorUV','isStart','setMode','isWebGlAvailable','onStart','runOverlayPulse','remove','finishFadeOut','data:image/svg+xml;base64,','buildRowsGeometry','parse','sectionId','isSeatVisible','SRC_ALPHA','<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>','No\x20URL','fpsWindowMs','MOUSE_MOVE','offscreenCanvas','events','a_pt_size','requestTime','translate(','drawArrays','data-default-fill','maxY','staticGeometryValid','visibilityManager','destPanZoom','getInitialScaleAndTranslate','zoomToFitScale','state','visible','textureReady','uniform2fv','CLICK','ceil','ensureStaticGeometry','paddleY','DYNAMIC_DRAW','handleDestRectSelect','\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','documentElement','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=\x22M10.6667\x2060.4445L46.2223\x2096L117.333\x2024.8889\x22\x20stroke=\x22white\x22\x20stroke-width=\x2212\x22/></svg>','resizeTimer','select','a_selectedFlag','getSectionElement','appContext','_selectedAt','rows_stageHeight','auto','COLOR_BUFFER_BIT','code','hasAttribute','selectedSeatIds','#1a1a1a','default','anonymous','initializeProgram','Public\x20key\x20is\x20undefined','startSpinnerAnimation','userSelect','u_pt_stageWidth','section','closePath','removeSeatFromCart','red','drawIconAtlas','selectedGaId','fpsCanvas','127.0.0.1','visibilitySettings','=\x221\x22]\x20path[data-seatmap-ga]\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','u_resolution','viewport','touchmove','onSeatDeselect','ID\x20','selectedFlagBuffer','sectionViewTransform','stop','rowsVisibleAtScale','No\x20SVG','borderRadius','u_dpr','STENCIL_BUFFER_BIT','ballVX','loadSchema','fpsEma','from','map','rightPressed','TRIANGLES','contentOffsetX','getSeatIds','toPerspectiveZ','startAnimation','strokeStyle','mousemove','svgSectionStyles','apiClient','sm-background','onSeatsSelect','boxShadow','naturalWidth','shadowBlur','\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','outlineShapes','filterSeatsByKeys','zoomToFit','fetchSchema','imageSmoothingQuality','paddleHeight','\x0a\x20\x20\x20\x20\x20\x20\x20\x20','textAlign','start','setupBackgroundTexture','hasSelectedSeats','compileShader','fillBufferFloat32','center','scaleY(','unavailable','screen','fillText','max','Seats\x20should\x20be\x20an\x20array\x20of\x20ids,\x20composite\x20keys\x20or\x20objects','precision\x20highp\x20float;\x0a\x0aattribute\x20vec2\x20a_positionPx;\x0a\x0auniform\x20float\x20stageWidth;\x0auniform\x20float\x20stageHeight;\x0a\x0avoid\x20main()\x20{\x0a\x20\x20vec2\x20ndc\x20=\x20vec2(\x0a\x20\x20\x20\x20(2.0\x20*\x20a_positionPx.x\x20/\x20stageWidth)\x20-\x201.0,\x0a\x20\x20\x20\x201.0\x20-\x20(2.0\x20*\x20a_positionPx.y\x20/\x20stageHeight)\x0a\x20\x20);\x0a\x20\x20gl_Position\x20=\x20vec4(ndc,\x200.0,\x201.0);\x0a}\x0a\x0a\x0a','getSeatSelection','restore','uniform1f','handleClick','sizes','#F44336','\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','strokeRect','set','shiftKey','offsetHeight','seatCount','=\x221\x22],\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga[','secretGame','data-gos-guid','clearCart','event/schema/rows/?id=','removeEventListener','initializeTextureWorker','tiltX','getSections','textureMix','attachKeyboardHandlers','enabled','fpsHistory','loadTexture','Unknown\x20shader\x20compile\x20error','categoriesColor','invalidateSeatsGeometry','addSpinningSeat','getViewBox','ballRadius','#4CAF50','price','deltaX','createSeatsFragmentShader','destSeatSelect','showCartPins','groupSize','#111','Shader\x20compilation\x20error:','innerHeight','u_ringColor','handleDestSectionMouseEnter','handleDestSeatCartSwitch','seatmap','config','local','reduce','zoomOut','transformAnimator','texImage2D','pinchend','minimapWidth','backgroundRenderer','Failed\x20to\x20load\x20seat\x20image\x20\x22','data-ga-selected','bottom','UNSIGNED_BYTE','serializeToString','getShaderParameter','updateViewportIndicator','\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20.sm-binded-ga[','div','ADD','Program\x20link\x20error:','hoveredRow','srcDragStart','moveTo','locked','target','fillRect','resetAll','SEAT_MOUSE_ENTER','initCanvas','14nVRiqZ','stroke-width','positionBuffer','draw','isOutlineVisible','uniform3f','switchToWebGL','crypto','btoa','isTextureReady',',.sm-table,.sm-shape-ga,.sm-binded-ga','hoverSeatLabel','mouseup','stageLayer','font','tap','sm-eagle-view','Failed\x20to\x20load\x20background\x20texture:','includes','getCart','toFixed','lastTime','hasInitialDrawComplete','emitSrcEvent','overlayCanvas','onEnd','clientWidth','focusSection','zIndex','#FF5722','a_positionPx','removeFilter','fillBufferWithUsage','seatsIndex','enableSvgSectionById','rgba(0,0,0,0.6)','hide','u_pt_stageHeight','hasBackgroundReady','labelEl','setHighlightAllOutlines','u_fillColor','onSeatsSelectionChange','data-ga-unavailable','https://stat.seatmap.pro','getAnimationState\x20is\x20not\x20implemented\x20for\x20this\x20layer','undefined','FRAGMENT_SHADER','TEXTURE1','durationMs','updateGaFontScales','onAnimationFrame','removeFilterSvgSectionsByIds','toString','particles','u_pt_rotationZ','clearSectionHighlight','crossfadeStartTime','createHammer','<svg\x20width=\x22','metaKey','block','originalSectionPrices','u_loadingColor','attached','textureWorker','drawFpsGraph','rows_translate','createMachineService','handleDestSectionMouseLeave','seatsKeysMissedOnPriceSet','#000','applySectionViewAnimation','ARRAY_BUFFER','right','complete','angle','sectorId','scrollX','getAnimation','iconValues','style','substring','stringify','drawScene','whiteSpace','seatToCartSeat','createBuffer','rowsLockedSignatureBuilt','removeSpinningSeat','createElementNS','zoomToSection','leaveSectionOnly','maxPinchZoom','ensureBufferSize','setSectionCoords','ensureZeroSelectionHoverBuffers','animateSequence','onCartChange','spawnExplosionAt','handleDestPanZoom','gaFontScales','appendAutoOutlines','a_rect_positionPx','rowsPolylinesVersionBuilt','getSeats','min','createSeatsVertexShader','backgroundElement','spinnerAnimationId','initTime','highlightAllSections','\x20animation\x20issue\x20occured.','hidden','left','settings','handleMouseUp','stroke','Failed\x20to\x20get\x20canvas\x20context','getRows','u_errorColor','animatestart','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}','/api/public/v1.0/','onerror','viewBox','isNaN','rgba(0,0,0,0.45)','vertexAttribPointer','pointsProgram','SVG\x20image\x20load\x20error','disableOutlinesInHelicopterView','getUniformLocation','uniform4fv','delete','altKey','getContext','rectSelectSeats','lastPricePaletteSignature','devicePixelRatio','setBackgroundGeometry','\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','enableSectionsByIds','perspectiveFactor','setAttribute','getLockedSeatsSignature','black','#sm-rows','u_rect_stageWidth','u_image1','findNearestSeatGroup','addClassName','0.1','clientY','\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.','\x20on\x20scheme!','contentScale','setPricesDTO','zoomAnimationDuration','addGaToCart','alive','iconsUVMap','calculateLimitedTranslate','renderContent','destSeatCartSwitch','rows_a_position','highlightGa','lineTo','data-font-scale','POST','offscreenOpacity','u_color','TEXTURE_MIN_FILTER','getMode','atlasBuffer','resetCategories','uniform3fv','handleMouseDown','imageId','fromPerspectiveZ','middle','lockedSeatsFilter','SVG\x20parsing\x20error:\x20','get','findSeatByKey','u_enable3DView','getNextScale','highlightSection','createStatsSeatRequest','isGa','px\x22\x20','data-section-id','preventDefault','gaInfo','onPendingRotation','setPendingRotationAngle','#FFC107','scheduleFrame','transform','number','u_iconTypes','getSvgSectionBySelection','subtract','clearSectionFocus','schemaResponseSize','displayed','removeSeatsFromCartByKeys','scrollTop','finish','pointsBuffer','pointerup','u_rect_stageHeight','handleDestSeatSelect','initCart','loadEvent','highlightAllOutlines','message','&publicKey=','floor','prototype','transformPanDeltaFor3D','phase','reverse','rectBuffer','innerWidth','\x22,\x20it\x20could\x20be\x20corrupted','getContextSvg','textBaseline','seatToExtendedSeat','calculateAbsoluteScaledTranslate','blur','revokeObjectURL','getStageSize','splice','onSeatMouseEnter','program','enable3DView','tags','u_hoveredColor','isRunning','fromScale','#00BCD4','skewAngle','setTimeout','calculatedOutlineRects','isMarked','cancel','createOverlayVertexShader','findIndex','=\x221\x22]\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20','svgString','hammer','ctx2d','RGBA','getSectionByOutline','Root\x20element\x20is\x20not\x20<svg>','setSchemaData','color','margin','count','getAnimationPoint','&debug=','green','sectionViewActive','keys','running','outlineLayer','a_pt_position','getGaSectionByOutline','TEXTURE_MAG_FILTER','buffer','translate(-50%,\x20-50%)','applyPosition','setAnimateSection','calculateAbsolutePoint','seatsById','isEagleView','#bbb','rotationAnimation','\x0a\x20\x20\x20\x20\x20\x20','showOutlineLayerOnAnimation','underlayBindedPathAttr','ids','u_pt_fillColor','sm-binded-ga','handleDestSeatMouseLeave','u_image0','lineWidth','overlayCtx','no-cors','loadBackgroundTextureAsync','linkProgram','supportsOffscreenCanvas','values','offsetWidth','rowsColorRgba','getRowsOpacityForScale','isInteger','animationPanStep','leftPressed','seatImages','perspectiveZ','minimap','eventId','has','ballVY','priceIdToIndex','drawOverlay','invalidatePriceIndices','u_markedUV','isSpinningSeat','DRAG_END','find','uniform2f','sessionId','u_perspectiveZ','SUBTRACT','mouseleave','createElement','none','destSectionMouseLeave','deleteShader','seatName','handleMouseMoveOutside','addEventListener','querySelectorAll','getProgramInfoLog','disableSeatsByIds','imul','disableSvgSectionsByNames','u_pt_tiltX','onload','event/prices/?id=','DIRECTION_ALL','atan2','rowsProgram','within','setupIconUniforms','panend','slice','contentOffsetY','repairSeat','pendingRotationAngle','updateFpsCounter','get3DViewParams','rows_scale','cart','destSectionClick','enableAlphaBlending','sm-table','Error\x20in\x20request\x20to\x20','rowsBuffer','debugRenderer','setGaCategory','enableVertexAttribArray','originalSvg','sm-bg-outlines','onRedrawStart','priceCategories\x20is\x20not\x20an\x20array\x20or\x20is\x20undefined','enable','onRedrawEnd','u_tiltX','getElementById','_pricesDTO','setBackgroundImage','_selectedGaId','canActivate','TEXTURE_WRAP_S','handleChangeEagleView','sectorIds','4px','<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>','object','activeTexture','location','borderWidth','hasLoadingSeats','u_pt_scale','rotationZ','isSeatInCart','isDebug','rowsOverlayElement','destSeatMouseLeave','textContent','appendChild','contextchange','clearTimeout','setAnimationState','setLineDash','translate','DRAG_MOVE','3D\x20view\x20is\x20not\x20enabled.\x20Set\x20enable3DView:\x20true\x20in\x20settings.','perspectiveTo','#ffffff','50%\x2050%','rowsVertices','calculateRelativeScaledTranslate','height','addHandlers','createOverlayFragmentShader','stats','\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','preview','cursor','\x22]\x20>\x20rect','#2D8CFF','getCartSeats','toTiltX','u_rect_color','keydownHandler','updatePriceIndicesBufferIfChanged','selectionLayer','onSectorMouseEnter','u_mix','createSeatImages','a_deselectedStart','TEXTURE0','parseColorToRgb','\x0a\x20\x20\x20\x20\x20\x20.sm-shape-ga[','getStageHeightPx','crossOrigin','u_pt_ringColor','overlayRenderer','showMinimap','SEAT_CART_SWITCH','send','then','iconAtlasH','animateRotation','indexOf','onComplete','seatKeysToIds','colorCategories','50%','a_atlas_texCoord','loading','getWidth','backgroundImageSrc','fontFamily','fadeDurationMs','Possibly\x20remove\x20price-based\x20color\x20indication\x20at\x20this\x20scale','pathUrl','fps','\x0a\x20\x20\x20\x20\x20\x20.sm-eagle-view\x20.','setPricesData','relative','seatsPositionBuffer','requestIdleCallback','getVisibleSeats','hasSeatTexture','updatePricePaletteUniformIfChanged','trim','height=\x27','CART_PIN_VIEWBOX','sm-bind-ga','STATIC_DRAW','validate','disabled','hovered','enableSvgSectionsByIds','getHighlightAllOutlines','TEXTURE2','isRowsVisibleAtScale','attachShader','1.53.0','clientHeight','addSeatsToCart','nodeName','getRowWidthForScale','getPrevScale','handleMouseLeaveBound','rowsPolylinesVersion','Shader\x20compilation\x20error','fill','selectionRect','schemaRequestTime','animationId','show','hideSeats','pan','idle','getMaxZoom','removeEventListeners','#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','crossfadeDurationMs','paddleWidth','rectSelectRows','guid','11px','_deselectedAt','<svg\x20','FLOAT','365BNGLsJ','getHeight','lastFrameTime','handleMouseLeave','shadow','rows_enable3DView','minY','SEAT_MOUSE_LEAVE','sendSeatSelect','hideMinimap','removeSeatsFromCartByIds','Error\x20in\x20requestPlain\x20to\x20','getMinZoom','category','getElementsByTagName','naturalHeight','ageMs','hideSelectionRect','sm-outlines','outlineRect','drawLoadingCenters','#673AB7','debug','32332jOlfCx','hideTooltip','hostElement','overlayPulseEndTime','rowsPolylines','Worker\x20texture\x20loading\x20failed:','corners','borderColor','match','texcoordLocation','seatsRenderer','ArrowRight','commitTransform','hoveredFlagBuffer','apply3DTransforms','u_atlas_sampler','handleTouchStart','drawCanvas','<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22>','onPan','getContrastingColor','drawDebugDots','touchAction','a_hovered','100%','\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.','forEach','renderHoveredSeat','CART_PIN_PATH','fetchSchemaForVenue','status','fixed','getZoomPresets','handleDestDeselect','onSeatSelectionChange','sanitizeIds','rect','getExtension','debounceDelay','blendFunc','repairGa','seatsByRowId','rows_rotationZ','innerHTML','#E91E63','rgba(0,\x200,\x200,\x200.005)','minPinchZoom','focus','\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','initialPadding','evenodd','TABLE','ballX','a_ring','viewportColor','isBackgroundReady','createTexture','shouldDrawSeats','minimapHeight','onSchemaDataLoaded','VERTEX_SHADER','sendSeatDeselect','u_pt_translate','beginPath',',\x0a\x20\x20\x20\x20\x20\x20.','toDataURL','u_iconsCount','offscreenCtx','u_stageHeight','initStartTime','setShowCartPins','lastRotationZ','setTransformationState','stage','now','12SpLOoJ','forceRedraw','rgba(255,255,255,0.6)','animationFrameId','hasChildNodes','snapshotScalePxPerUnit','setPosition','firstChild','u_pt_enable3DView','setIconsData','priceColors','theme','ctx','bottom-right','images','event/schema/?id=',')\x20translate(','changeMachineContext','u_pt_perspectiveZ','texParameteri','Failed\x20to\x20upload\x20ImageBitmap\x20texture:','Possibly\x20continue\x20showing\x20rows\x20at\x20this\x20scale\x20(including\x20for\x20seat-based\x20maps)','u_scale','#c7c7c7','removeChild','navigator','childNodes','spinnerRotation','svg','pointerdown','isTouchMode','pricesRequestTime','checkmark','18px\x20Arial','25%','updateAnimationStep','u_time','service','3px','iconAtlasWidth','getGaSectors','createProgram','3909888alKHfm','getSeatByOffset','isSectionSelected','unpackSchemaDTO','5687937JoNWgg','forceUpdate','getSectionsKeys','top-right','px:\x20','drawCartSeatPins','pointer-events','relativeTranslate','explosions','fpsEl','targetType','\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','display','performRedraw','OES_standard_derivatives','class','disableCartInteractions','http://www.w3.org/2000/svg','precision\x20mediump\x20float;\x0a\x0auniform\x20vec4\x20u_fillColor;\x0auniform\x20vec4\x20u_ringColor;\x0a\x0avarying\x20float\x20v_ring;\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\x20if\x20(r\x20>\x201.0)\x20discard;\x0a\x0a\x20\x20if\x20(v_ring\x20>\x200.5)\x20{\x0a\x20\x20\x20\x20float\x20edge\x20=\x20abs(length(c)\x20-\x200.80);\x0a\x20\x20\x20\x20float\x20ring\x20=\x20smoothstep(0.08,\x200.00,\x20edge);\x0a\x20\x20\x20\x20gl_FragColor\x20=\x20vec4(u_ringColor.rgb,\x20u_ringColor.a\x20*\x20ring);\x0a\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20gl_FragColor\x20=\x20u_fillColor;\x0a\x20\x20}\x0a}\x0a\x0a\x0a\x0a','blurred','sizeBuffer','getSeatByViewportPoint','u_translate','setupBackgroundBuffers','SEAT_SELECT','special','startTransformAnimation','isSeatSelectable','a_pt_ring','polyline','maxZoomToFitScale','fadeIn','destSeatMouseEnter','monospace','touchend','statusText','RECT_SELECT','isSeatUnavailable','snapshotTranslatePx','inProgress','top','round','getSectionRect','u_pulseDuration','sectionName','image/png','update','lastSeatsRef','showUnavailableOutlines','setSelectedGa','\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','disableSeatsByKeys','transformOrigin','#888888','disableZoomToEmptySpace','selectable','toScale','setSeatSelection','sm-outline-focused','.sm-bg-outlines','Failed\x20to\x20load\x20PNG,\x20falling\x20back\x20to\x20SVG:','path','setExternalPrices','pointermove','hoveredFlag','Attribute','removeGaFromCart','20975119LqznwB','src','seatIds','GET','querySelector','webgl','API\x20request\x20failed\x20with\x20status\x20','scheduleUpdate','REPLACE','spinningSeats','Images\x20are\x20not\x20available,\x20switching\x20to\x20HTML5\x20canvas\x20mode','Unable\x20to\x20create\x20shader','fontSize','getImageData','srcDragEnd','removeFilterSvgSectionById','marked','setSectionSelection','navigateToPoint','backgroundColor','bgColor','warn','pinchstart\x20pinchmove\x20pinchend','zoomSettings','updateSeatLocks','hasSeatsDrawn','enableDebugTools','cachedPriceColorIndices','availableSeatCount','#3F51B5','onSectionClick','point','cos','fetchRowsSvgForEvent','restoreIds','#FF9800','pointer','animation','createImageFragmentShader','setMinimapPosition','rectProgram','firstElementChild','is3DEnabled','names','a_iconsTypes','arc','keydown','loadTextureWithWorker','disableSvgSectionsByIds','length','Failed\x20to\x20append\x20rows\x20overlay:','iconsTypes','tooltipEl','_renderSeat','Failed\x20to\x20initialize\x20texture\x20worker:','fromTiltX','paddleX','handlePinch','entries','getProgramParameter','checkBackgroundOutlines','href','9999','onZoomEnd','rows_stageWidth','999','getBoundingClientRect','WebGLRenderingContext','destRectSelect','sm-outline','currentTarget','getOutlineRects','#sm-rows\x20polyline{fill:none;stroke:none;stroke-width:15px;stroke-linecap:round;}','fillStyle','getAttribute','setBackgroundSnapshot','drawOffscreenCanvas','precision\x20mediump\x20float;\x0a\x0auniform\x20vec4\x20u_color;\x0a\x0avoid\x20main()\x20{\x0a\x20\x20gl_FragColor\x20=\x20u_color;\x0a}\x0a\x0a\x0a','scaleX(','setRectangle','rowIds','zoomIn','initializeBackgroundOutline','selectRows','resolve','#version\x20100\x0aprecision\x20highp\x20float;\x0a\x0aattribute\x20vec2\x20a_position;\x0a\x0auniform\x20float\x20stageWidth;\x0auniform\x20float\x20stageHeight;\x0auniform\x20float\x20scale;\x0auniform\x20vec2\x20translate;\x0a\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','addEventListeners','onSeatSelect','calcOutlineRect','uniform1fv','u_stageWidth','presets','tiltTo','filterSeatsByIds','split','createOrGetOutlineShapes','sectionsById','hasBackgroundOutline','selected','[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','call','px\x20Arial','Failed\x20to\x20create\x20offscreen\x20canvas:','rows_tiltX','rows_perspectiveZ','onSeatsDeselect','globalAlpha','eventName','rowsGeometryBuiltForScale','closest','setGroupSize','texture','highlightSector','requestFadeOut','normalizePinchScale','duration','colorRGB','LINEAR','opacity','all','drawSceneBackground','outlines','rotateTo','minimapScale','resize','Failed\x20to\x20parse\x20API\x20response\x20as\x20JSON:\x20','u_atlas_stageWidth','calculateViewportRect','setBackgroundAsOutline','imageSmoothingEnabled','getRowById','Problem\x20SVG:','padding','a_position','bindTexture','bindBuffer','scrollY','scale','priceId','imageRendering','fetchSchemaForEvent','SVG\x20viewbox\x20not\x20defined','outlineSvg','...','add','a_loading','iconAtlasW','circle','#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}','appendAutoAndGaOutlines','toRotationZ','msCrypto','parsererror','handleMouseMoveBound','svgLink','handleDestPan','uniform4f','getAnimationId','_backgroundElement','sendInit','#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','swipe','deltaY','absolute','minimapLayer','points','https://booking.seatmap.dev/api/public/v1.0/','gridStep','SECTION_MOUSE_ENTER','getSectionsWithCoords','u_iconUVs','getPositionByOffset','selecting','lastFrameTimeMs','isRotationAnimationRunning','TEXTURE_2D','sqrt','pointerEvents','disableSvgSectionById','#f7f7f7','Section\x20','CLAMP_TO_EDGE','bufferData','getAnimationState','filtered','seatsPositions','destination','priceColorBuffer','lastSeatsCount','srcDragMove','mousedown','venue/schema/?id=','a_selectedStart','isFinish','destroy','createGaInfo','px\x22\x20height=\x22','env','LINK_STATUS','element','getSectionId','onBeforeSeatDraw','Failed\x20to\x20parse\x20rows\x20polylines\x20for\x20WebGL:','renderSelectionRect','cleanSvgInlineStyles','iconAtlas','refreshMinimap','shadowColor','keyupHandler','key','click','tiltFactor','active','mode','#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','startTime','filter','setIconAtlas','a_error','setTransform','invalidateStaticGeometry','range','iconAtlasHeight','hasOwnProperty','a_hoveredFlag','gaCategories','2824vjXigX','bindAttrib','getStageLayer','destDeselect','rows','COMPILE_STATUS','atlasProgram','seatKey','updateTooltip','readyState','Space','#CDDC39','applySkew','getSectorRectByOutline','nowrap','BLEND','isOutlineSelectable','u_iconAtlas','priceIndicesDirty','setContextScale','Failed\x20to\x20create\x20WebGL\x20texture','buttons','head','/seat/deselect','getSectionUpdatedCoords','a_priceColorIndex','transformAnimationDuration','origin','request','update3DView','1091262LoAFca','stopRotationAnimation','toTranslate','seatsIdsMissedOnPriceSet','body','touchstart','baseUrl','text','areFloat32ArraysEqual','isDragging','rotateZ(','afterCartUpdate','join','bricks','requestNumber','redraw','widthPx','isViewportNearFullCanvas','createOutlineRect','getStageWidthPx','name','calculateRelativeScaledLimitedTranslate','showDebugLayer','destPan','updateSize','getRotationAnimationId','6px','save','#666','rowsStrokeWidthPx','sort','handleWindowResize','stopPropagation','rowsById','deactivate','createTextNode','minX','clear','svgElement','positionLocation','hostname','onSeatMouseLeave','animationStep','appendGAOutlines','pricesById','doTranslate','rowNumber','getVisibilityStatuses','push','initializeFpsCounter','a_atlas_positionPx','rotate','</svg>','#fff','#444','data','fromTranslate','high','renderGaTitles','triggerSeatSelectionPulse','drawRows','#2196F3','sm-shape-ga','random','handleMouseMove','event/?id=','replace','createObjectURL','setMinimapFromSnapshot','ArrowLeft','aspectRatio','639txqhpR','ONE_MINUS_SRC_ALPHA','startTextureCrossfade','getMarkedSeatsIds','handleDestSeatMouseEnter','drawViewportDirectionArrow','calculateLimit','viewSection','clearRect','nextTexture','enableSeatsByIds','assign','reverseRotationAnimation','11px\x20Roboto,\x20Arial,\x20sans-serif','top-left','10LeDxnI','setCenterPoint','handleDebouncedSeatChange','pricesResponseSize','isActive','schema','backgroundImage','rotationAngle','clientX','#9C27B0','pow','selectSeats','getPrices','image/svg+xml','resetSectionViewState','TRIANGLE_STRIP','seats','destSectionMouseEnter','srcMouseMove','DRAG_START','setIconsUVMap','publicKey','shaderSource','rows_color','prevSeatVisibility','type','sectors','ready','concat','phaseStartMs','srcEvent','updateBackgroundImage','#version\x20100\x0aprecision\x20highp\x20float;\x0a\x0aattribute\x20vec2\x20a_position;\x0aattribute\x20float\x20a_size;\x0aattribute\x20float\x20a_ring;\x20//\x200.0\x20=\x20fill,\x201.0\x20=\x20ring\x0a\x0auniform\x20float\x20stageWidth;\x0auniform\x20float\x20stageHeight;\x0auniform\x20float\x20scale;\x0auniform\x20vec2\x20translate;\x0a\x0auniform\x20bool\x20u_enable3DView;\x0auniform\x20float\x20u_rotationZ;\x0auniform\x20float\x20u_perspectiveZ;\x0auniform\x20float\x20u_tiltX;\x0a\x0avarying\x20float\x20v_ring;\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_ring\x20=\x20a_ring;\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\x20gl_PointSize\x20=\x20a_size\x20*\x20scale\x20*\x20p;\x0a\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20gl_Position\x20=\x20vec4(ndc,\x200.0,\x201.0);\x0a\x20\x20\x20\x20gl_PointSize\x20=\x20a_size\x20*\x20scale;\x0a\x20\x20}\x0a}\x0a\x0a\x0a\x0a','context','restoreSeats','rgba(0,\x200,\x200,\x200.3)','isAccessible','getOffsetByPosition','disableSectionsByIds','a_texCoord','\x0a\x20\x20\x20\x20.sm-binded-ga,\x0a\x20\x20\x20\x20.sm-eagle-view\x20.','fromRotationZ','handleDestSectionClick','requestPlain'];_0xe61b=function(){return _0x2cdce0;};return _0xe61b();}function projectPointTo3DView(_0xc80bf6,_0x59934a,{rotationZ:_0xab188,perspectiveZ:_0x1bc1c4,tiltX:_0x39d249}){const _0x25647e=_0x1f7a97,_0x5612aa=Math['max'](0x1,_0x59934a[_0x25647e(0x5ed)]),_0xbee0ce=Math[_0x25647e(0x67f)](0x1,_0x59934a[_0x25647e(0x2bd)]),_0x16fa33=0x2*_0xc80bf6['x']/_0x5612aa-0x1,_0x5d3ab0=0x1-0x2*_0xc80bf6['y']/_0xbee0ce,_0x235a48=Math[_0x25647e(0x40f)](_0xab188),_0x398002=Math[_0x25647e(0x5e6)](_0xab188),_0x5019f4=_0x235a48*_0x16fa33-_0x398002*_0x5d3ab0,_0x98d7bd=_0x398002*_0x16fa33+_0x235a48*_0x5d3ab0,_0x5cbe8d=_0x98d7bd+_0x98d7bd*_0x39d249*THREE_D_CONSTANTS['tiltFactor'],_0x4f774a=0x1+_0x5cbe8d*_0x1bc1c4*THREE_D_CONSTANTS[_0x25647e(0x1bf)],_0xa48d66=_0x5019f4*_0x4f774a,_0x1df990=_0x5cbe8d*_0x4f774a,_0x3cb3d2=(_0xa48d66+0x1)/0x2*_0x5612aa,_0x420267=(0x1-_0x1df990)/0x2*_0xbee0ce;return{'x':_0x3cb3d2,'y':_0x420267};}function unprojectPointFrom3DView(_0x5a3ef7,_0x1a44d5,{rotationZ:_0x4fb606,perspectiveZ:_0x35f42b,tiltX:_0x4d5a27}){const _0x5d6968=_0x1f7a97,_0x4a3c53=Math['max'](0x1,_0x1a44d5['width']),_0x54d26e=Math[_0x5d6968(0x67f)](0x1,_0x1a44d5[_0x5d6968(0x2bd)]),_0x46790a=0x2*_0x5a3ef7['x']/_0x4a3c53-0x1,_0x3d95cf=0x1-0x2*_0x5a3ef7['y']/_0x54d26e,_0x28b42c=_0x35f42b*THREE_D_CONSTANTS[_0x5d6968(0x1bf)];let _0x1e808d=_0x3d95cf,_0x54b99f=0x1;if(Math[_0x5d6968(0x572)](_0x28b42c)>0.000001){const _0x3e6e21=0x1+0x4*_0x28b42c*_0x3d95cf,_0x10ad91=_0x3e6e21>=0x0?Math[_0x5d6968(0x49f)](_0x3e6e21):0x1;_0x1e808d=(-0x1+_0x10ad91)/(0x2*_0x28b42c),_0x54b99f=0x1+_0x28b42c*_0x1e808d;}const _0xb1d9b4=_0x46790a/_0x54b99f,_0x3d9d78=_0x1e808d/(0x1+_0x4d5a27*THREE_D_CONSTANTS[_0x5d6968(0x4c2)]),_0x347ab7=_0xb1d9b4,_0x3cb27d=Math['cos'](_0x4fb606),_0x452ecd=Math[_0x5d6968(0x5e6)](_0x4fb606),_0x4a2184=_0x3cb27d*_0x347ab7-_0x452ecd*_0x3d9d78,_0x39ddab=_0x452ecd*_0x347ab7+_0x3cb27d*_0x3d9d78,_0x3a6a09=(_0x4a2184+0x1)/0x2*_0x4a3c53,_0xc665e4=(0x1-_0x39ddab)/0x2*_0x54d26e;return{'x':_0x3a6a09,'y':_0xc665e4};}var UNDERLAY_BINDED_GA_PATH_ATTR=_0x1f7a97(0x1ef),UNDERLAY_BINDED_GA_PATH_ATTR_LEGACY=_0x1f7a97(0x2f6),UNDERLAY_SVG_GROUP=_0x1f7a97(0x3e7),UNDERLAY_TO_BIND_GA_PATH_ATTR=_0x1f7a97(0x587),DATA_GOS_ID=_0x1f7a97(0x58c),DATA_FONT_SCALE=_0x1f7a97(0x1d8),enrichElementWithData=(_0x1204d9,_0x4f7de8,_0x681f85,_0x64bc87)=>{const _0x4c8e97=_0x1f7a97,_0x49b58d=_0x1204d9[_0x4c8e97(0x439)](_0x681f85);if(!_0x49b58d)return;_0x1204d9[_0x4c8e97(0x1c0)](_0x4c8e97(0x690),_0x49b58d);const _0x586e12=_0x4f7de8[_0x4c8e97(0x268)](_0x1c6c78=>(_0x1c6c78==null?void 0x0:_0x1c6c78[_0x4c8e97(0x317)])===_0x49b58d);if(!_0x586e12){_0x1204d9[_0x4c8e97(0x1c0)]('opacity',_0x4c8e97(0x1c8));return;}!(_0x586e12==null?void 0x0:_0x586e12[_0x4c8e97(0x1ed)])&&_0x1204d9['setAttribute'](_0x4c8e97(0x465),_0x4c8e97(0x1c8));const _0x2f3de0=_0x586e12==null?void 0x0:_0x586e12['id'];_0x2f3de0&&_0x1204d9[_0x4c8e97(0x1c0)](DATA_GOS_ID,_0x2f3de0['toString']());const _0x3aa0a8=_0x64bc87['seats'][_0x4c8e97(0x4c7)](_0x5c1b92=>_0x5c1b92['sectorId']===_0x2f3de0),_0x1c3118=_0x3aa0a8[_0x4c8e97(0x268)](_0x244f1e=>_0x244f1e[_0x4c8e97(0x479)]);if(_0x3aa0a8[_0x4c8e97(0x420)]>0x0&&!_0x1c3118&&_0x64bc87['settings'][_0x4c8e97(0x3dc)])return;_0x64bc87[_0x4c8e97(0x1a3)][_0x4c8e97(0x1b3)]?_0x1204d9['classList'][_0x4c8e97(0x47f)](OUTLINE_CLASS):_0x1204d9[_0x4c8e97(0x58b)][_0x4c8e97(0x47f)]('sm-binded-ga');},OutlineLayer=class{constructor(_0x4788a1){const _0x3fa5db=_0x1f7a97;this['hasBackgroundOutline']=![],this[_0x3fa5db(0x249)]=UNDERLAY_BINDED_GA_PATH_ATTR,this[_0x3fa5db(0x224)]={},this[_0x3fa5db(0x4b2)]=_0x1fef0f=>{const _0x1a84a1=_0x3fa5db,{sectionsById:_0x56f9a7}=this[_0x1a84a1(0x566)],_0xf8ee47=[];return _0x1fef0f[_0x1a84a1(0x34d)](_0x3d587c=>{const _0x514d6a=_0x1a84a1,_0x117451=Number(_0x3d587c[_0x514d6a(0x439)](DATA_GOS_ID)),_0x296bbc=_0x117451?_0x56f9a7[_0x117451]:null,_0x5d94f7=_0x3d587c[_0x514d6a(0x439)](_0x514d6a(0x1f6));if(!_0x296bbc||!_0x5d94f7)return;const _0x4093b7=matrixStrToArray(_0x5d94f7);_0xf8ee47[_0x514d6a(0x51f)]({'id':_0x296bbc['id'],'name':_0x296bbc[_0x514d6a(0x503)],'transform':_0x4093b7,'isTable':!!(_0x296bbc['type']==='TABLE')});}),_0xf8ee47;},this[_0x3fa5db(0x4a1)]=_0x40e8a8=>{const _0x50f4fd=_0x3fa5db,_0x16aa70=document[_0x50f4fd(0x3f3)](UNDERLAY_SVG_GROUP),_0x2a1fb3=_0x16aa70==null?void 0x0:_0x16aa70[_0x50f4fd(0x3f3)]('['+DATA_GOS_ID+'=\x22'+_0x40e8a8+'\x22]'),_0xd72976=this[_0x50f4fd(0x566)][_0x50f4fd(0x1a3)][_0x50f4fd(0x389)];if(!_0x2a1fb3)return;_0x2a1fb3[_0x50f4fd(0x5ac)](ATTR_DATA_GA_SELECTED),_0x2a1fb3[_0x50f4fd(0x1c0)](ATTR_DATA_GA_UNAVAILABLE,'1');const _0xd4af2b=Array[_0x50f4fd(0x65b)](_0x2a1fb3==null?void 0x0:_0x2a1fb3[_0x50f4fd(0x275)]('['+UNDERLAY_TO_BIND_GA_PATH_ATTR+']'));_0xd4af2b==null?void 0x0:_0xd4af2b[_0x50f4fd(0x34d)](_0xb4cb01=>{const _0x505e4a=_0x50f4fd;var _0x56a372,_0x4ce2fb,_0x31b910;const _0x5beb32=_0xb4cb01[_0x505e4a(0x439)](ATTR_DATA_DEFAULT_FILL);if(_0x5beb32)return;const _0x57a5e6=_0xb4cb01[_0x505e4a(0x439)]('fill')||_0x505e4a(0x26f);_0xb4cb01[_0x505e4a(0x1c0)](ATTR_DATA_DEFAULT_FILL,_0x57a5e6),_0xb4cb01[_0x505e4a(0x1c0)](_0x505e4a(0x309),((_0x4ce2fb=(_0x56a372=_0xd72976==null?void 0x0:_0xd72976[_0x505e4a(0x665)])==null?void 0x0:_0x56a372[_0x505e4a(0x67c)])==null?void 0x0:_0x4ce2fb['bgColor'])||((_0x31b910=theme_default[_0x505e4a(0x665)])==null?void 0x0:_0x31b910[_0x505e4a(0x67c)][_0x505e4a(0x403)])),_0xb4cb01[_0x505e4a(0x1c0)](_0x505e4a(0x3b2),'none');});},this[_0x3fa5db(0x6ef)]=_0x320133=>{const _0x95aa8f=_0x3fa5db,_0x5f0303=document[_0x95aa8f(0x3f3)](UNDERLAY_SVG_GROUP),_0x506dcb=_0x5f0303==null?void 0x0:_0x5f0303[_0x95aa8f(0x3f3)]('['+DATA_GOS_ID+'=\x22'+_0x320133+'\x22]');if(!_0x506dcb)return;_0x506dcb['removeAttribute'](ATTR_DATA_GA_SELECTED),_0x506dcb[_0x95aa8f(0x5ac)](ATTR_DATA_GA_UNAVAILABLE);const _0x488725=Array['from'](_0x506dcb==null?void 0x0:_0x506dcb[_0x95aa8f(0x275)]('['+UNDERLAY_TO_BIND_GA_PATH_ATTR+']'));_0x488725==null?void 0x0:_0x488725[_0x95aa8f(0x34d)](_0x3099ad=>{const _0x4c5a42=_0x95aa8f,_0x5549ee=_0x3099ad[_0x4c5a42(0x439)](ATTR_DATA_DEFAULT_FILL);if(!_0x5549ee)return;_0x3099ad[_0x4c5a42(0x1c0)](_0x4c5a42(0x309),_0x5549ee),_0x3099ad['removeAttribute'](ATTR_DATA_DEFAULT_FILL),_0x3099ad[_0x4c5a42(0x5ac)](_0x4c5a42(0x3b2));});},this[_0x3fa5db(0x5df)]=_0x135ca8=>{const _0x35a820=_0x3fa5db,_0x58d312=document['querySelector'](UNDERLAY_SVG_GROUP),_0x82463=_0x58d312==null?void 0x0:_0x58d312[_0x35a820(0x3f3)]('['+DATA_GOS_ID+'=\x22'+_0x135ca8+'\x22]'),_0x368d5b=this[_0x35a820(0x566)][_0x35a820(0x1a3)]['theme'];if(!_0x82463)return;_0x82463[_0x35a820(0x5ac)](ATTR_DATA_GA_SELECTED);const _0x48e23c=Array[_0x35a820(0x65b)](_0x82463==null?void 0x0:_0x82463[_0x35a820(0x275)]('['+UNDERLAY_TO_BIND_GA_PATH_ATTR+']'));_0x48e23c==null?void 0x0:_0x48e23c[_0x35a820(0x34d)](_0x3d9e88=>{const _0x278014=_0x35a820;var _0x392b9b,_0x5ef36f,_0xa360bb;const _0x253d5a=_0x3d9e88['getAttribute'](ATTR_DATA_DEFAULT_FILL);if(_0x253d5a)return;const _0x53d004=_0x3d9e88[_0x278014(0x439)]('fill')||_0x278014(0x26f);_0x3d9e88[_0x278014(0x1c0)](ATTR_DATA_DEFAULT_FILL,_0x53d004),_0x3d9e88['setAttribute'](_0x278014(0x309),((_0x5ef36f=(_0x392b9b=_0x368d5b==null?void 0x0:_0x368d5b[_0x278014(0x665)])==null?void 0x0:_0x392b9b[_0x278014(0x4a7)])==null?void 0x0:_0x5ef36f[_0x278014(0x403)])||((_0xa360bb=theme_default[_0x278014(0x665)])==null?void 0x0:_0xa360bb[_0x278014(0x4a7)][_0x278014(0x403)])),_0x3d9e88[_0x278014(0x1c0)]('pointer-events',_0x278014(0x26f));});},this['removeFilterSvgSectionById']=_0x18a738=>{const _0xe95edb=_0x3fa5db,_0x3fb851=document['querySelector'](UNDERLAY_SVG_GROUP),_0x12ff00=_0x3fb851==null?void 0x0:_0x3fb851[_0xe95edb(0x3f3)]('['+DATA_GOS_ID+'=\x22'+_0x18a738+'\x22]');if(!_0x12ff00)return;_0x12ff00[_0xe95edb(0x5ac)](ATTR_DATA_GA_SELECTED);const _0xc05e30=Array[_0xe95edb(0x65b)](_0x12ff00==null?void 0x0:_0x12ff00[_0xe95edb(0x275)]('['+UNDERLAY_TO_BIND_GA_PATH_ATTR+']'));_0xc05e30==null?void 0x0:_0xc05e30[_0xe95edb(0x34d)](_0x39305c=>{const _0x285613=_0xe95edb,_0x485c52=_0x39305c[_0x285613(0x439)](ATTR_DATA_DEFAULT_FILL);if(!_0x485c52)return;_0x39305c[_0x285613(0x1c0)](_0x285613(0x309),_0x485c52),_0x39305c[_0x285613(0x5ac)](ATTR_DATA_DEFAULT_FILL),_0x39305c[_0x285613(0x5ac)]('pointer-events');});};var _0x44aa7e;this[_0x3fa5db(0x566)]=_0x4788a1,this[_0x3fa5db(0x441)](),this[_0x3fa5db(0x515)]=document[_0x3fa5db(0x727)](_0x3fa5db(0x3bd),_0x3fa5db(0x39a)),this[_0x3fa5db(0x515)]['style']['position']=_0x3fa5db(0x492),this[_0x3fa5db(0x515)][_0x3fa5db(0x71e)][_0x3fa5db(0x1a2)]='0',this[_0x3fa5db(0x515)][_0x3fa5db(0x71e)]['width']=_0x3fa5db(0x34b),this['svgElement']['style']['height']='100%',this[_0x3fa5db(0x515)][_0x3fa5db(0x71e)]['overflow']=_0x3fa5db(0x620),appendStyles((_0x44aa7e=this[_0x3fa5db(0x566)][_0x3fa5db(0x1a3)][_0x3fa5db(0x389)])==null?void 0x0:_0x44aa7e[_0x3fa5db(0x665)]),this[_0x3fa5db(0x42b)]()?(this[_0x3fa5db(0x515)]['classList'][_0x3fa5db(0x47f)](_0x3fa5db(0x294)),this[_0x3fa5db(0x46f)]()):this[_0x3fa5db(0x5d4)](),this['updateSize'](),this[_0x3fa5db(0x6f1)](),this[_0x3fa5db(0x566)][_0x3fa5db(0x4b6)][_0x3fa5db(0x2b0)](this['svgElement']),this[_0x3fa5db(0x2a0)]();}[_0x1f7a97(0x4b1)](){const _0xb16a04=_0x1f7a97;this[_0xb16a04(0x515)]['remove'](),this['context'][_0xb16a04(0x4b1)]();}[_0x1f7a97(0x400)](_0x18ab5b){const _0x325c44=_0x1f7a97;if(!_0x18ab5b){const _0x2e7e2e=this[_0x325c44(0x515)][_0x325c44(0x275)]('['+ATTR_DATA_GA_SELECTED+']');_0x2e7e2e==null?void 0x0:_0x2e7e2e[_0x325c44(0x34d)](_0x36e545=>_0x36e545[_0x325c44(0x5ac)](ATTR_DATA_GA_SELECTED));return;}const _0xa731a8=this[_0x325c44(0x630)](_0x18ab5b);_0xa731a8==null?void 0x0:_0xa731a8[_0x325c44(0x1c0)](ATTR_DATA_GA_SELECTED,'1');}['highlightGa'](_0x50454c){const _0x28778d=_0x1f7a97,_0x4317a4=this[_0x28778d(0x515)][_0x28778d(0x3f3)]('['+ATTR_DATA_GA_SELECTED+']');_0x4317a4==null?void 0x0:_0x4317a4[_0x28778d(0x5ac)](ATTR_DATA_GA_SELECTED);const _0x2c243d=this['getSectionElement'](_0x50454c);_0x2c243d==null?void 0x0:_0x2c243d['setAttribute'](ATTR_DATA_GA_SELECTED,'1');}[_0x1f7a97(0x705)](){const _0x12bf05=_0x1f7a97,_0x1869b8=this[_0x12bf05(0x515)][_0x12bf05(0x275)]('['+ATTR_OUTER_HIGHLIGHT+']');_0x1869b8==null?void 0x0:_0x1869b8['forEach'](_0x546a30=>_0x546a30[_0x12bf05(0x5ac)](ATTR_OUTER_HIGHLIGHT));}[_0x1f7a97(0x1eb)](_0x44d31d){const _0x1c41fc=_0x1f7a97,_0x1c5253=this[_0x1c41fc(0x630)](_0x44d31d);_0x1c5253==null?void 0x0:_0x1c5253['setAttribute'](ATTR_OUTER_HIGHLIGHT,'1');}[_0x1f7a97(0x19f)](){const _0x20989c=_0x1f7a97,_0x206ec4=this[_0x20989c(0x515)]['querySelectorAll']('['+DATA_GOS_ID+']');_0x206ec4==null?void 0x0:_0x206ec4['forEach'](_0x57d43a=>{const _0x41ac8d=_0x20989c;_0x57d43a[_0x41ac8d(0x1c0)](ATTR_OUTER_HIGHLIGHT,'1');});}['clearSectionFocus'](){this['removeClassNameAll'](SM_OUTLINE_FOCUSED);}[_0x1f7a97(0x6e8)](_0x1b5b6f){const _0x1e4f26=_0x1f7a97;this['clearSectionFocus'](),this[_0x1e4f26(0x1c7)](SM_OUTLINE_FOCUSED,_0x1b5b6f);}['removeClassNameAll'](_0x36650b){const _0x37e499=_0x1f7a97,_0x4006be=this[_0x37e499(0x515)][_0x37e499(0x275)]('.'+_0x36650b);if(!_0x4006be)return;_0x4006be[_0x37e499(0x34d)](_0x3542a5=>_0x3542a5['classList'][_0x37e499(0x606)](_0x36650b));}[_0x1f7a97(0x1c7)](_0x41e5bf,_0x21d227){const _0x2534a0=_0x1f7a97;if(!_0x21d227)return;const _0x8f5c8f=this[_0x2534a0(0x630)](_0x21d227);if(!_0x8f5c8f)return;_0x8f5c8f[_0x2534a0(0x58b)]['add'](_0x41e5bf);}[_0x1f7a97(0x3d6)](_0x5dccdc){const _0x48504b=_0x1f7a97;if(!_0x5dccdc)return null;const _0x55a618=this['outlineRect'][_0x5dccdc];if(_0x55a618)return _0x55a618;const _0xca7222=this[_0x48504b(0x630)](_0x5dccdc);if(!_0xca7222)return null;const _0x3887bc=_0xca7222['getBBox']();return _0x3887bc;}[_0x1f7a97(0x630)](_0x70a686){const _0x269d82=_0x1f7a97;var _0x306099;const _0x3978d8=(_0x306099=this['svgElement'][_0x269d82(0x3f3)]('['+DATA_GOS_ID+'=\x22'+_0x70a686+_0x269d82(0x2c4)))!=null?_0x306099:this[_0x269d82(0x515)][_0x269d82(0x3f3)]('['+DATA_GOS_ID+'=\x22'+_0x70a686+'\x22]');return _0x3978d8;}get[_0x1f7a97(0x5ed)](){const _0x15d4ad=_0x1f7a97;return this[_0x15d4ad(0x566)]['element'][_0x15d4ad(0x6e7)];}get[_0x1f7a97(0x2bd)](){const _0x459a42=_0x1f7a97;return this[_0x459a42(0x566)][_0x459a42(0x4b6)][_0x459a42(0x301)];}[_0x1f7a97(0x507)](){const _0x3731b2=_0x1f7a97;this[_0x3731b2(0x515)][_0x3731b2(0x1c0)](_0x3731b2(0x5ed),this[_0x3731b2(0x5ed)]+''),this[_0x3731b2(0x515)]['setAttribute'](_0x3731b2(0x2bd),this[_0x3731b2(0x2bd)]+''),this[_0x3731b2(0x3da)]();}['checkBackgroundOutlines'](){const _0x393662=_0x1f7a97,_0x3c42ee=this[_0x393662(0x212)]();return(_0x3c42ee==null?void 0x0:_0x3c42ee['includes'](UNDERLAY_BINDED_GA_PATH_ATTR))||(_0x3c42ee==null?void 0x0:_0x3c42ee[_0x393662(0x6df)](UNDERLAY_BINDED_GA_PATH_ATTR_LEGACY));}[_0x1f7a97(0x441)](){const _0x457456=_0x1f7a97,_0x4be152=this['getContextSvg']();if(!_0x4be152)return;this['originalSvg']=createSvgElement(_0x4be152!=null?_0x4be152:''),this[_0x457456(0x450)]=!![],this[_0x457456(0x249)]=(_0x4be152==null?void 0x0:_0x4be152[_0x457456(0x6df)](UNDERLAY_BINDED_GA_PATH_ATTR_LEGACY))?UNDERLAY_BINDED_GA_PATH_ATTR_LEGACY:UNDERLAY_BINDED_GA_PATH_ATTR;const _0x662ca8=this[_0x457456(0x293)][_0x457456(0x29a)](_0x457456(0x667))||document[_0x457456(0x727)](_0x457456(0x3bd),'g');this['backgroundSVG']=_0x662ca8['cloneNode'](!![]),this[_0x457456(0x5b3)][_0x457456(0x5ac)]('id');const _0x5557c2=this[_0x457456(0x5b3)][_0x457456(0x275)]('['+UNDERLAY_BINDED_GA_CSS_STYLES+']');_0x5557c2['length']&&_0x5557c2[_0x457456(0x34d)](_0x506ff2=>_0x506ff2['remove']());}[_0x1f7a97(0x46f)](){const _0xa028df=_0x1f7a97;if(!this[_0xa028df(0x450)])return;this['svgElement'][_0xa028df(0x35e)]='';const _0x4f079a=this[_0xa028df(0x57e)](),_0x507b95=this[_0xa028df(0x5b3)][_0xa028df(0x439)]('viewBox');_0x507b95&&this['svgElement'][_0xa028df(0x1c0)](_0xa028df(0x1ad),_0x507b95);this[_0xa028df(0x515)]['appendChild'](this[_0xa028df(0x5b3)]);const _0x1e9a18=document[_0xa028df(0x727)]('http://www.w3.org/2000/svg','g');this['appendAutoAndGaOutlines'](_0x1e9a18,_0x4f079a),this[_0xa028df(0x515)][_0xa028df(0x2b0)](_0x1e9a18),this[_0xa028df(0x32f)]=this['getOutlineRects']();}[_0x1f7a97(0x57e)](){const _0x140cef=_0x1f7a97,_0x40c9a0=Object[_0x140cef(0x255)](this[_0x140cef(0x566)][_0x140cef(0x44f)]),_0x41478c=this[_0x140cef(0x5b3)][_0x140cef(0x275)]('['+this['underlayBindedPathAttr']+']');return _0x41478c['forEach'](_0x19759f=>{const _0x3e2c9f=_0x140cef;enrichElementWithData(_0x19759f,_0x40c9a0,this[_0x3e2c9f(0x249)],this[_0x3e2c9f(0x566)]);}),_0x41478c;}['cleanSvgInlineStyles'](_0x25add4=[_0x1f7a97(0x309)]){const _0x53763c=_0x1f7a97;if(!this[_0x53763c(0x515)])return;const _0x4015e3=[_0x53763c(0x482),_0x53763c(0x357),_0x53763c(0x3e9),_0x53763c(0x5e4),'line','polyline',_0x53763c(0x5e7)];_0x4015e3[_0x53763c(0x34d)](_0x490070=>{const _0x262892=_0x53763c,_0x12fbcc=this[_0x262892(0x515)][_0x262892(0x275)](_0x490070);_0x12fbcc[_0x262892(0x34d)](_0x4282a9=>cleanupStyles(_0x4282a9,_0x25add4));});}[_0x1f7a97(0x5d4)](){const _0x11e5da=_0x1f7a97;this[_0x11e5da(0x515)][_0x11e5da(0x35e)]='',this[_0x11e5da(0x484)](this[_0x11e5da(0x515)]),this[_0x11e5da(0x32f)]=this[_0x11e5da(0x436)]();}[_0x1f7a97(0x484)](_0x4ff334,_0x4ce72b){const _0x49852b=_0x1f7a97,_0x5d1a72=this[_0x49852b(0x212)]();if(!_0x5d1a72)return;this['appendAutoOutlines'](_0x4ff334,_0x5d1a72,_0x4ce72b),this[_0x49852b(0x51a)](_0x4ff334,_0x5d1a72);}[_0x1f7a97(0x44e)](_0x136087,_0x173fd3){const _0x659f2b=_0x1f7a97;if(this[_0x659f2b(0x66d)])return this[_0x659f2b(0x66d)];return this[_0x659f2b(0x66d)]=getOutlinePaths(_0x136087,this[_0x659f2b(0x566)][_0x659f2b(0x44f)]),Object[_0x659f2b(0x255)](this['context'][_0x659f2b(0x44f)])[_0x659f2b(0x4c7)](_0x33baf8=>!_0x33baf8['isGa'])[_0x659f2b(0x4c7)](_0x262fd6=>_0x173fd3?!Array[_0x659f2b(0x65b)](_0x173fd3)['find'](_0x3a0fd5=>{const _0x77ddc2=_0x659f2b;var _0x1c867f;return _0x3a0fd5[_0x77ddc2(0x439)](DATA_GOS_ID)===((_0x1c867f=_0x262fd6['id'])==null?void 0x0:_0x1c867f[_0x77ddc2(0x702)]());}):!![])[_0x659f2b(0x34d)](_0x15453e=>{const _0x22508d=_0x659f2b;!this[_0x22508d(0x66d)][_0x15453e['id']]&&(this[_0x22508d(0x66d)][_0x15453e['id']]=this[_0x22508d(0x501)](_0x15453e));}),this[_0x659f2b(0x66d)];}[_0x1f7a97(0x733)](_0x165647,_0x31ab08,_0x4ba06f){const _0x472519=_0x1f7a97,_0x1121ca=this['createOrGetOutlineShapes'](_0x31ab08,_0x4ba06f);Object['keys'](_0x1121ca)[_0x472519(0x34d)](_0x59e5f1=>{const _0x1a52e=_0x472519,_0x3aec9d=Number(_0x59e5f1),_0x7aace9=this[_0x1a52e(0x566)][_0x1a52e(0x44f)][_0x3aec9d];if(_0x7aace9['priceId']&&this['context']['settings']['showUnavailableOutlines'])return;const _0x449171=this[_0x1a52e(0x566)][_0x1a52e(0x555)][_0x1a52e(0x268)](_0x166ee2=>_0x166ee2[_0x1a52e(0x71a)]===_0x3aec9d&&_0x166ee2[_0x1a52e(0x479)]);if(!_0x449171&&!this[_0x1a52e(0x566)][_0x1a52e(0x1a3)]['showUnavailableOutlines'])return;_0x165647[_0x1a52e(0x2b0)](_0x1121ca[_0x3aec9d]);});}[_0x1f7a97(0x51a)](_0x3b74c9,_0xf413c6){const _0x3953d7=_0x1f7a97,_0xabdaee=getGaGroups(_0xf413c6,this[_0x3953d7(0x566)][_0x3953d7(0x44f)],this[_0x3953d7(0x566)][_0x3953d7(0x555)]);_0xabdaee[_0x3953d7(0x34d)](_0x37c09e=>{const _0x1c61ac=_0x3953d7;_0x37c09e[_0x1c61ac(0x58b)][_0x1c61ac(0x47f)]('sm-shape-ga'),_0x3b74c9['appendChild'](_0x37c09e);}),this[_0x3953d7(0x566)]['gaInfo']=this[_0x3953d7(0x4b2)](_0xabdaee);}[_0x1f7a97(0x436)](){const _0x40e202=_0x1f7a97,_0x57187b={},_0x25badf=this[_0x40e202(0x566)]['element']['getBoundingClientRect'](),_0x53d1eb=_0x25badf[_0x40e202(0x3d4)],_0xc4e099=_0x25badf[_0x40e202(0x1a2)],_0x48f139={'x':this[_0x40e202(0x566)]['underlay'][_0x40e202(0x1ad)]['x']-this[_0x40e202(0x566)][_0x40e202(0x2b5)]['x']/this['context'][_0x40e202(0x478)],'y':this[_0x40e202(0x566)]['underlay'][_0x40e202(0x1ad)]['y']-this['context'][_0x40e202(0x2b5)]['y']/this['context']['scale']},_0x15ca0f=this['svgElement'][_0x40e202(0x275)]('['+DATA_GOS_ID+_0x40e202(0x5a9));_0x15ca0f[_0x40e202(0x34d)](_0x22ca95=>{const _0x12994d=_0x40e202;var _0x49f59;const _0x3223a6=(_0x49f59=_0x22ca95[_0x12994d(0x573)])==null?void 0x0:_0x49f59[_0x12994d(0x439)](DATA_GOS_ID);if(!_0x3223a6)return;_0x57187b[_0x3223a6]=_0x22ca95['getBBox']();});const _0x2ea2bb=this[_0x40e202(0x515)]['querySelectorAll']('['+DATA_GOS_ID+']');return _0x2ea2bb[_0x40e202(0x34d)](_0x14391c=>{const _0x13e547=_0x40e202,_0x101bc1=_0x14391c[_0x13e547(0x439)](DATA_GOS_ID);if(!_0x101bc1)return;const _0x6a8916=_0x14391c,_0x408bd1=_0x6a8916[_0x13e547(0x431)]();_0x57187b[_0x101bc1]={'x':(_0x408bd1['x']-_0xc4e099)*DPR/this[_0x13e547(0x566)][_0x13e547(0x478)]+_0x48f139['x'],'y':(_0x408bd1['y']-_0x53d1eb)*DPR/this['context'][_0x13e547(0x478)]+_0x48f139['y'],'width':_0x408bd1[_0x13e547(0x5ed)]*DPR/this[_0x13e547(0x566)]['scale'],'height':_0x408bd1[_0x13e547(0x2bd)]*DPR/this['context']['scale']};}),_0x57187b;}[_0x1f7a97(0x501)](_0x51a092){const _0x33cfc5=_0x1f7a97;let _0x13d267=this[_0x33cfc5(0x224)][_0x51a092['id']];!_0x13d267&&(_0x13d267=this[_0x33cfc5(0x447)](_0x51a092),this[_0x33cfc5(0x224)][_0x51a092['id']]=_0x13d267);const _0x1aab07=document[_0x33cfc5(0x727)]('http://www.w3.org/2000/svg',_0x33cfc5(0x357));_0x1aab07[_0x33cfc5(0x1c0)]('class',OUTLINE_CLASS),_0x1aab07[_0x33cfc5(0x1c0)](DATA_GOS_ID,_0x13d267[_0x33cfc5(0x60b)]+''),_0x1aab07[_0x33cfc5(0x1c0)]('rx','8'),_0x1aab07['setAttribute']('x',_0x13d267['x']+''),_0x1aab07[_0x33cfc5(0x1c0)]('y',_0x13d267['y']+''),_0x1aab07[_0x33cfc5(0x1c0)](_0x33cfc5(0x5ed),_0x13d267[_0x33cfc5(0x5ed)]+''),_0x1aab07[_0x33cfc5(0x1c0)](_0x33cfc5(0x2bd),_0x13d267[_0x33cfc5(0x2bd)]+'');if(_0x13d267[_0x33cfc5(0x1f6)])_0x1aab07[_0x33cfc5(0x1c0)]('transform',_0x13d267[_0x33cfc5(0x1f6)]);return _0x1aab07;}[_0x1f7a97(0x447)](_0x40df55){const _0x3be4e7=_0x1f7a97,_0xf98cbc=this[_0x3be4e7(0x566)][_0x3be4e7(0x555)][_0x3be4e7(0x4c7)](_0x19eea0=>_0x19eea0['sectorId']===_0x40df55['id']);let _0x279301,_0x1ca38e;if(_0x40df55['angle']){const _0x37cb0a=_0x40df55[_0x3be4e7(0x719)]/0xb4*Math['PI'],_0x2621ad=Math[_0x3be4e7(0x5e6)](-_0x37cb0a),_0x51bdd4=Math[_0x3be4e7(0x40f)](-_0x37cb0a);_0x279301=_0xf98cbc[_0x3be4e7(0x65c)](_0x3cbe7d=>_0x3cbe7d['x']*_0x51bdd4-_0x3cbe7d['y']*_0x2621ad),_0x1ca38e=_0xf98cbc[_0x3be4e7(0x65c)](_0x5e5c41=>_0x5e5c41['y']*_0x51bdd4+_0x5e5c41['x']*_0x2621ad);}else _0x279301=_0xf98cbc[_0x3be4e7(0x65c)](_0x4f08aa=>_0x4f08aa['x']),_0x1ca38e=_0xf98cbc['map'](_0x28e623=>_0x28e623['y']);const _0x32f7aa=Math[_0x3be4e7(0x19a)](..._0x279301),_0x3cb918=Math[_0x3be4e7(0x67f)](..._0x279301),_0x116d69=Math[_0x3be4e7(0x19a)](..._0x1ca38e),_0x4f6d99=Math[_0x3be4e7(0x67f)](..._0x1ca38e),_0x2696aa=this[_0x3be4e7(0x566)]['underlay'][_0x3be4e7(0x1ad)],_0x26555d=theme_default['gridStep']*1.5;return{'sectionId':_0x40df55['id'],'x':Math[_0x3be4e7(0x3d5)](_0x32f7aa-_0x26555d+_0x2696aa['x']),'y':Math[_0x3be4e7(0x3d5)](_0x116d69-_0x26555d+_0x2696aa['y']),'width':Math[_0x3be4e7(0x3d5)](_0x3cb918-_0x32f7aa+_0x26555d*0x2),'height':Math['round'](_0x4f6d99-_0x116d69+_0x26555d*0x2),'transform':_0x40df55[_0x3be4e7(0x719)]?_0x3be4e7(0x616)+_0x2696aa['x']+'\x20'+_0x2696aa['y']+')\x20rotate('+_0x40df55[_0x3be4e7(0x719)]+_0x3be4e7(0x38e)+-_0x2696aa['x']+'\x20'+-_0x2696aa['y']+')':void 0x0};}[_0x1f7a97(0x2a0)](_0xbf0eb){const _0x1048b8=_0x1f7a97;(_0xbf0eb!==void 0x0?_0xbf0eb:this[_0x1048b8(0x566)][_0x1048b8(0x244)])?(this[_0x1048b8(0x515)][_0x1048b8(0x58b)][_0x1048b8(0x47f)]('sm-eagle-view'),this['svgElement'][_0x1048b8(0x71e)][_0x1048b8(0x5bb)]=_0x1048b8(0x492),this[_0x1048b8(0x515)][_0x1048b8(0x71e)][_0x1048b8(0x1a2)]='0',this[_0x1048b8(0x515)][_0x1048b8(0x71e)][_0x1048b8(0x5ed)]=_0x1048b8(0x34b),this[_0x1048b8(0x515)][_0x1048b8(0x71e)][_0x1048b8(0x2bd)]=_0x1048b8(0x34b)):this[_0x1048b8(0x515)][_0x1048b8(0x58b)][_0x1048b8(0x606)](_0x1048b8(0x6dd));}[_0x1f7a97(0x3da)](){const _0x154c68=_0x1f7a97;this[_0x154c68(0x4bb)]([_0x154c68(0x309)]);const {scale:_0x41ec3a,translate:_0x1350c8,underlay:_0x2dc301}=this[_0x154c68(0x566)],_0x36bfed=window[_0x154c68(0x1bb)],_0x245374=[(_0x2dc301[_0x154c68(0x1ad)]['x']*_0x41ec3a-_0x1350c8['x'])/_0x41ec3a,(_0x2dc301[_0x154c68(0x1ad)]['y']*_0x41ec3a-_0x1350c8['y'])/_0x41ec3a,this['width']/_0x41ec3a*_0x36bfed,this[_0x154c68(0x2bd)]/_0x41ec3a*_0x36bfed][_0x154c68(0x4fb)]('\x20');this['svgElement']['setAttribute'](_0x154c68(0x1ad),_0x245374),this[_0x154c68(0x341)](),this[_0x154c68(0x566)][_0x154c68(0x244)]&&(this[_0x154c68(0x515)][_0x154c68(0x71e)][_0x154c68(0x5bb)]=_0x154c68(0x492),this[_0x154c68(0x515)][_0x154c68(0x71e)][_0x154c68(0x1a2)]='0',this['svgElement'][_0x154c68(0x71e)][_0x154c68(0x5ed)]='100%',this[_0x154c68(0x515)]['style'][_0x154c68(0x2bd)]=_0x154c68(0x34b)),this['show']();}[_0x1f7a97(0x3a1)](_0x2e91a4,_0xb198d8){const _0x516f47=_0x1f7a97,{underlay:_0x5cd7d6}=this['context'],_0x425fb0=window[_0x516f47(0x1bb)],_0x51f496=this[_0x516f47(0x566)][_0x516f47(0x478)]*_0x2e91a4,_0x466b2=[_0x5cd7d6['viewBox']['x']-(this['context']['translate']['x']/this['context'][_0x516f47(0x478)]+_0xb198d8['x']/_0x51f496),_0x5cd7d6[_0x516f47(0x1ad)]['y']-(this[_0x516f47(0x566)][_0x516f47(0x2b5)]['y']/this['context'][_0x516f47(0x478)]+_0xb198d8['y']/_0x51f496),this[_0x516f47(0x5ed)]/_0x51f496*_0x425fb0,this['height']/_0x51f496*_0x425fb0][_0x516f47(0x4fb)]('\x20');this[_0x516f47(0x515)]['setAttribute']('viewBox',_0x466b2),this[_0x516f47(0x341)](),this[_0x516f47(0x30d)]();return;}[_0x1f7a97(0x6f1)](){const _0x4f582f=_0x1f7a97;this[_0x4f582f(0x515)][_0x4f582f(0x71e)][_0x4f582f(0x5f4)]=_0x4f582f(0x1a1);}['show'](){const _0x1388e0=_0x1f7a97;this[_0x1388e0(0x515)][_0x1388e0(0x71e)][_0x1388e0(0x5f4)]=_0x1388e0(0x620);}[_0x1f7a97(0x212)](){const _0x12b7da=_0x1f7a97;return this['context'][_0x12b7da(0x5de)][_0x12b7da(0x47d)]||this['context'][_0x12b7da(0x5de)][_0x12b7da(0x22a)];}[_0x1f7a97(0x3ad)](){const _0x26320f=_0x1f7a97;this[_0x26320f(0x3da)]();}[_0x1f7a97(0x341)](){const _0x49b347=_0x1f7a97;if(!this[_0x49b347(0x566)]['enable3DView']){this[_0x49b347(0x515)][_0x49b347(0x71e)][_0x49b347(0x1f6)]='',this['svgElement'][_0x49b347(0x71e)][_0x49b347(0x3e0)]='';return;}const {rotationZ:_0x366e66,tiltX:_0x1b50e3}=this[_0x49b347(0x566)];this['svgElement'][_0x49b347(0x71e)]['transformOrigin']=getDefaultTransformOrigin(),this['svgElement']['style'][_0x49b347(0x57a)]='view-box';const _0x3c91cb=this['width']/Math[_0x49b347(0x67f)](0x1,this[_0x49b347(0x2bd)]),_0x5ab630=buildCss3DTransform({'rotationZ':_0x366e66,'perspectiveZ':0x0,'tiltX':_0x1b50e3},{'aspectRatio':_0x3c91cb});this[_0x49b347(0x515)][_0x49b347(0x71e)]['transform']=_0x5ab630;}[_0x1f7a97(0x5f9)](_0x464267,_0x50b479){const _0x735021=_0x1f7a97;var _0x59095e;if(!_0x464267)return;this[_0x735021(0x2ad)]&&this[_0x735021(0x2ad)][_0x735021(0x573)]&&(this[_0x735021(0x2ad)][_0x735021(0x573)][_0x735021(0x396)](this[_0x735021(0x2ad)]),this[_0x735021(0x2ad)]=void 0x0);const _0x26485a=_0x735021(0x345)+_0x464267+_0x735021(0x523),_0x15df9a=createSvgElement(_0x26485a),_0x144540=_0x15df9a[_0x735021(0x3f3)](_0x735021(0x1c3));let _0x3965b1;if(_0x144540)_0x3965b1=_0x144540;else{if(_0x15df9a[_0x735021(0x418)]){const _0x2810f9=document[_0x735021(0x727)](_0x735021(0x3bd),'g');_0x2810f9[_0x735021(0x1c0)]('id','sm-rows');while(_0x15df9a[_0x735021(0x418)]){_0x2810f9[_0x735021(0x2b0)](_0x15df9a[_0x735021(0x418)]);}_0x3965b1=_0x2810f9;}else return;}if(_0x50b479){const _0x439a27=document[_0x735021(0x727)](_0x735021(0x3bd),_0x735021(0x71e));_0x439a27[_0x735021(0x2b0)](document[_0x735021(0x512)](_0x50b479)),this[_0x735021(0x515)][_0x735021(0x2b0)](_0x439a27);}this[_0x735021(0x515)][_0x735021(0x2b0)](_0x3965b1),this['rowsOverlayElement']=_0x3965b1;try{const _0x3c47d5=[],_0x461e74=_0x3965b1[_0x735021(0x275)](_0x735021(0x3c9)),_0x37f9a0=(_0x59095e=this[_0x735021(0x566)][_0x735021(0x5de)])==null?void 0x0:_0x59095e[_0x735021(0x1ad)],_0x295a2b=_0x37f9a0?-_0x37f9a0['x']:0x0,_0x271154=_0x37f9a0?-_0x37f9a0['y']:0x0;_0x461e74[_0x735021(0x34d)](_0x48d8c3=>{const _0x3a68e6=_0x735021,_0x96a592=_0x48d8c3[_0x3a68e6(0x439)]('points');if(!_0x96a592)return;const _0x115f9c=[];_0x96a592[_0x3a68e6(0x2f3)]()[_0x3a68e6(0x44d)](/\s+/)['forEach'](_0x42459e=>{const _0x520a7f=_0x3a68e6,[_0x86a963,_0xa9aba]=_0x42459e[_0x520a7f(0x44d)](','),_0x59eef1=parseFloat(_0x86a963),_0x57c0f7=parseFloat(_0xa9aba);if(!isNaN(_0x59eef1)&&!isNaN(_0x57c0f7))_0x115f9c[_0x520a7f(0x51f)]({'x':_0x59eef1+_0x295a2b,'y':_0x57c0f7+_0x271154});});if(_0x115f9c[_0x3a68e6(0x420)]<0x2)return;let _0x119080;const _0x14994a=_0x48d8c3['getAttribute'](_0x3a68e6(0x6ce));if(_0x14994a){const _0x1f9281=parseFloat(_0x14994a[_0x3a68e6(0x531)]('px',''));if(!isNaN(_0x1f9281))_0x119080=_0x1f9281;}const _0x566709=_0x48d8c3[_0x3a68e6(0x439)](_0x3a68e6(0x1a5))||void 0x0;_0x3c47d5[_0x3a68e6(0x51f)]({'points':_0x115f9c,'widthPx':_0x119080,'color':_0x566709});}),_0x3c47d5['length']&&(this['context'][_0x735021(0x337)]=_0x3c47d5,this['context'][_0x735021(0x307)]++);}catch(_0x134cb3){console[_0x735021(0x404)](_0x735021(0x4b9),_0x134cb3);}}},getGaGroups=(_0x732c40,_0x17fdda,_0xc699f1)=>{const _0x1683ee=_0x1f7a97,_0x5e6692=createSvgElement(_0x732c40),_0x2f1273=_0x5e6692[_0x1683ee(0x275)]('['+DATA_GOS_ID+']'),_0x1fd55b=theme_default[_0x1683ee(0x496)],_0x26c7ca=[];for(let _0x18d258=0x0;_0x18d258<_0x2f1273[_0x1683ee(0x420)];_0x18d258++){const _0x1fe2b8=_0x2f1273[_0x18d258],_0x526deb=_0x1fe2b8['getAttribute'](DATA_GOS_ID),_0x3f0cb4=_0x1fe2b8[_0x1683ee(0x58b)][_0x1683ee(0x5c4)]('sm-outline-auto');if(_0x3f0cb4)continue;if(!_0x526deb)continue;const _0xe8958=_0x17fdda[+_0x526deb];if(_0xe8958[_0x1683ee(0x55e)]===_0x1683ee(0x366)&&_0xe8958[_0x1683ee(0x479)]){const _0x265988=_0xc699f1[_0x1683ee(0x4c7)](_0x381240=>_0x381240[_0x1683ee(0x71a)]===_0xe8958['id']&&_0x381240['priceId']);if(_0x265988[_0x1683ee(0x420)]>0x0)continue;const _0x544b9=_0x1fe2b8[_0x1683ee(0x303)]==='g'?_0x1fe2b8[_0x1683ee(0x385)]:_0x1fe2b8;_0x544b9[_0x1683ee(0x1c0)]('x',(+_0x544b9[_0x1683ee(0x439)]('x')-0x2*_0x1fd55b)[_0x1683ee(0x702)]()),_0x544b9[_0x1683ee(0x1c0)]('y',(+_0x544b9[_0x1683ee(0x439)]('y')-0x2*_0x1fd55b)[_0x1683ee(0x702)]()),_0x544b9['setAttribute'](_0x1683ee(0x5ed),(+_0x544b9[_0x1683ee(0x439)]('width')+0x4*_0x1fd55b)[_0x1683ee(0x702)]()),_0x544b9['setAttribute'](_0x1683ee(0x2bd),(+_0x544b9['getAttribute'](_0x1683ee(0x2bd))+0x4*_0x1fd55b)['toString']());}if(_0xe8958['type']==='TABLE'&&!_0xe8958[_0x1683ee(0x479)])continue;_0x26c7ca[_0x1683ee(0x51f)](_0x1fe2b8);}return _0x26c7ca;},getOutlinePaths=(_0x4fb2b0,_0x4580f1)=>{const _0x4418cd=_0x1f7a97,_0x3ac98c=createSvgElement(_0x4fb2b0),_0xdc88cf={},_0x386e23=_0x3ac98c['getElementById'](_0x4418cd(0x32e));if(_0x386e23){const _0x1472f1=_0x386e23[_0x4418cd(0x275)]('['+DATA_GOS_ID+']');for(let _0x5c6253=0x0;_0x5c6253<_0x1472f1['length'];_0x5c6253++){const _0x21e7ff=_0x1472f1[_0x5c6253],_0x3e363b=Number(_0x21e7ff['getAttribute'](DATA_GOS_ID));if(!_0x3e363b||!_0x4580f1[_0x3e363b])continue;_0xdc88cf[_0x3e363b]=_0x21e7ff;}}return _0xdc88cf;},matrixStrToArray=_0x555861=>_0x555861[_0x1f7a97(0x71f)](0x7,_0x555861['length']-0x1)['split']('\x20')[_0x1f7a97(0x65c)](parseFloat);import _0x3f867e from'kdbush';var RendererTargetType=(_0x1cf8a0=>{const _0x11200d=_0x1f7a97;return _0x1cf8a0['SEAT']=_0x11200d(0x57d),_0x1cf8a0[_0x11200d(0x599)]=_0x11200d(0x641),_0x1cf8a0;})(RendererTargetType||{}),RendererSelectMode=(_0x18768f=>{const _0x32ab00=_0x1f7a97;return _0x18768f[_0x32ab00(0x3f7)]='replace',_0x18768f[_0x32ab00(0x6c2)]='add',_0x18768f[_0x32ab00(0x26c)]=_0x32ab00(0x1fa),_0x18768f;})(RendererSelectMode||{}),SrcEventType=(_0x3c4794=>{const _0x8b65df=_0x1f7a97;return _0x3c4794[_0x8b65df(0x558)]='srcDragStart',_0x3c4794[_0x8b65df(0x2b6)]=_0x8b65df(0x4ac),_0x3c4794[_0x8b65df(0x267)]=_0x8b65df(0x3fd),_0x3c4794[_0x8b65df(0x623)]=_0x8b65df(0x595),_0x3c4794[_0x8b65df(0x611)]=_0x8b65df(0x557),_0x3c4794;})(SrcEventType||{}),DestEventType=(_0x41b53d=>{const _0x26499f=_0x1f7a97;return _0x41b53d['PAN']='destPan',_0x41b53d[_0x26499f(0x3d0)]='destRectSelect',_0x41b53d['DESELECT']=_0x26499f(0x4d4),_0x41b53d[_0x26499f(0x5c1)]=_0x26499f(0x61c),_0x41b53d[_0x26499f(0x3c4)]=_0x26499f(0x6a6),_0x41b53d[_0x26499f(0x2d8)]=_0x26499f(0x1d4),_0x41b53d['SECTION_CLICK']=_0x26499f(0x28b),_0x41b53d[_0x26499f(0x6cb)]=_0x26499f(0x3cc),_0x41b53d[_0x26499f(0x497)]=_0x26499f(0x556),_0x41b53d[_0x26499f(0x323)]='destSeatMouseLeave',_0x41b53d[_0x26499f(0x5d3)]=_0x26499f(0x270),_0x41b53d;})(DestEventType||{}),Context=class{constructor(_0x3f6f78,_0x507726,_0x18e2e5){const _0x119999=_0x1f7a97;this[_0x119999(0x578)]=_0x18e2e5,this['seatImages']={},this['cart']={'seats':[],'ga':[]},this[_0x119999(0x4d0)]={},this[_0x119999(0x69d)]={},this[_0x119999(0x51b)]={},this[_0x119999(0x713)]=[],this[_0x119999(0x4f2)]=[],this['rowsPolylinesVersion']=0x0,this[_0x119999(0x29b)]={},this[_0x119999(0x5c5)]=[],this[_0x119999(0x1f1)]=[],this[_0x119999(0x632)]={},this[_0x119999(0x319)]={},this[_0x119999(0x49a)]=_0x3bae48=>({'x':(_0x3bae48['x']*window['devicePixelRatio']-this['translate']['x'])/this[_0x119999(0x478)],'y':(_0x3bae48['y']*window[_0x119999(0x1bb)]-this[_0x119999(0x2b5)]['y'])/this[_0x119999(0x478)]}),this[_0x119999(0x56a)]=_0x2164d2=>({'x':Math[_0x119999(0x3d5)]((_0x2164d2['x']*this[_0x119999(0x478)]+this[_0x119999(0x2b5)]['x'])/window[_0x119999(0x1bb)]),'y':Math[_0x119999(0x3d5)]((_0x2164d2['y']*this[_0x119999(0x478)]+this[_0x119999(0x2b5)]['y'])/window['devicePixelRatio'])}),this[_0x119999(0x285)]=_0x3a6aaf=>{const _0x59b09f=_0x119999,_0x520a30=_0x3a6aaf['id']?this[_0x59b09f(0x243)][_0x3a6aaf['id']]:this[_0x59b09f(0x1e8)](_0x3a6aaf[_0x59b09f(0x4c0)]);if(!_0x520a30)return;return this[_0x59b09f(0x723)](_0x520a30,_0x3a6aaf);},this[_0x119999(0x4fa)]=()=>{const _0x403552=_0x119999;this[_0x403552(0x28a)][_0x403552(0x555)][_0x403552(0x34d)](_0x5ce089=>{const _0x1aced2=_0x403552,_0x4a9535=this[_0x1aced2(0x243)][_0x5ce089['id']];if(_0x4a9535[_0x1aced2(0x479)]||!_0x5ce089['price'])return;const _0x2bc80e=Object['values'](this[_0x1aced2(0x51b)])[_0x1aced2(0x268)](_0x2746b7=>_0x2746b7[_0x1aced2(0x503)]===_0x5ce089['price']+'');if(_0x2bc80e)_0x4a9535[_0x1aced2(0x479)]=_0x2bc80e['id'];if(_0x5ce089[_0x1aced2(0x3c5)]&&!_0x4a9535[_0x1aced2(0x3c5)])_0x4a9535[_0x1aced2(0x3c5)]=_0x5ce089[_0x1aced2(0x3c5)];}),this[_0x403552(0x28a)]['ga'][_0x403552(0x34d)](_0x5347c8=>{const _0x232a6a=_0x403552,_0x55aa17=this[_0x232a6a(0x44f)][_0x5347c8[_0x232a6a(0x71a)]];if(_0x55aa17['priceId']||!_0x5347c8[_0x232a6a(0x6a3)])return;const _0x4d5c1f=Object[_0x232a6a(0x255)](this[_0x232a6a(0x51b)])['find'](_0x5e289f=>_0x5e289f[_0x232a6a(0x503)]===_0x5347c8[_0x232a6a(0x6a3)]+'');if(_0x4d5c1f)_0x55aa17['priceId']=_0x4d5c1f['id'];}),this[_0x403552(0x578)]();},this[_0x119999(0x35b)]=_0x1c925c=>{const _0x521337=_0x119999;if(!_0x1c925c[_0x521337(0x233)])return;const _0x55584f=_0x1c925c[_0x521337(0x71a)]?this[_0x521337(0x44f)][_0x1c925c[_0x521337(0x71a)]]:Object[_0x521337(0x255)](this[_0x521337(0x44f)])[_0x521337(0x268)](_0x4017d3=>_0x4017d3['name']===_0x1c925c[_0x521337(0x4c0)]);if(!_0x55584f)return;return{'sectorId':_0x55584f['id'],'key':_0x55584f['name'],'count':_0x1c925c[_0x521337(0x233)],'price':_0x1c925c['price']};},this[_0x119999(0x723)]=(_0x531cc0,_0x2fee01)=>{const _0x40f55f=_0x119999,_0x542f1d=this[_0x40f55f(0x44f)][_0x531cc0['sectorId']],_0x3322c1=this['rowsById'][_0x531cc0[_0x40f55f(0x5c2)]],_0x4834f8=[_0x542f1d&&_0x542f1d[_0x40f55f(0x503)],_0x3322c1&&_0x3322c1[_0x40f55f(0x51d)],_0x531cc0[_0x40f55f(0x503)]][_0x40f55f(0x4fb)](';;');return{'id':_0x531cc0['id'],'key':_0x4834f8,'price':(_0x2fee01==null?void 0x0:_0x2fee01[_0x40f55f(0x6a3)])!==void 0x0?_0x2fee01['price']:_0x531cc0[_0x40f55f(0x479)]?parseInt(this[_0x40f55f(0x51b)][Number(_0x531cc0[_0x40f55f(0x479)])][_0x40f55f(0x503)]):void 0x0,'special':(_0x2fee01==null?void 0x0:_0x2fee01['special'])?_0x2fee01[_0x40f55f(0x3c5)]:_0x531cc0[_0x40f55f(0x3c5)]};},this['seatToExtendedSeat']=_0x38e6c1=>{const _0x27d8f2=_0x119999,_0x2c7e25=this['sectionsById'][_0x38e6c1[_0x27d8f2(0x71a)]],_0x2cb0ed=this[_0x27d8f2(0x510)][_0x38e6c1[_0x27d8f2(0x5c2)]],_0xb7ba27=this[_0x27d8f2(0x242)](_0x38e6c1);return Object['assign'](this[_0x27d8f2(0x723)](_0x38e6c1),{'x':_0xb7ba27['x'],'y':_0xb7ba27['y'],'ax':_0x38e6c1['x'],'ay':_0x38e6c1['y'],'sectionId':_0x38e6c1['sectorId'],'sectorId':_0x38e6c1[_0x27d8f2(0x71a)],'seatName':_0x38e6c1[_0x27d8f2(0x503)],'rowNumber':_0x2cb0ed[_0x27d8f2(0x51d)],'sectionName':_0x2c7e25[_0x27d8f2(0x503)]});},this[_0x119999(0x3a9)]=_0xa370f4=>getSeatByPosition(this[_0x119999(0x49a)](_0xa370f4),this[_0x119999(0x555)],this[_0x119999(0x6ee)],this[_0x119999(0x1a3)][_0x119999(0x389)][_0x119999(0x5cb)][_0x119999(0x2fa)]['size']),this[_0x119999(0x3c1)]=(_0x2aecc1,_0x4f44ef)=>{const _0x58f929=_0x119999,_0x51e54c=window[_0x58f929(0x1bb)];if(this['enable3DView']){const _0xa864ed={'x':_0x2aecc1['x']*_0x51e54c,'y':_0x2aecc1['y']*_0x51e54c},_0x968d9={'width':_0x4f44ef[_0x58f929(0x5ed)]*_0x51e54c,'height':_0x4f44ef[_0x58f929(0x2bd)]*_0x51e54c},_0x23ed9c=unprojectPointFrom3DView(_0xa864ed,_0x968d9,{'rotationZ':this[_0x58f929(0x2aa)],'perspectiveZ':this[_0x58f929(0x25d)],'tiltX':this[_0x58f929(0x695)]}),_0x21eb7e={'x':(_0x23ed9c['x']-this['translate']['x'])/this['scale'],'y':(_0x23ed9c['y']-this[_0x58f929(0x2b5)]['y'])/this[_0x58f929(0x478)]};return getSeatByPosition(_0x21eb7e,this[_0x58f929(0x555)],this[_0x58f929(0x6ee)],this[_0x58f929(0x1a3)]['theme']['seatStyles']['hovered'][_0x58f929(0x5b9)]);}return getSeatByPosition(this['getPositionByOffset'](_0x2aecc1),this['seats'],this[_0x58f929(0x6ee)],this[_0x58f929(0x1a3)][_0x58f929(0x389)]['seatStyles'][_0x58f929(0x2fa)][_0x58f929(0x5b9)]);},this[_0x119999(0x4b6)]=_0x3f6f78,this[_0x119999(0x1a3)]={..._0x507726},this['seatImages']=this[_0x119999(0x2ce)](),this[_0x119999(0x21c)]=_0x507726['enable3DView']||![],this[_0x119999(0x2aa)]=0x0,this[_0x119999(0x25d)]=0x0,this[_0x119999(0x695)]=this[_0x119999(0x21c)]?0x0:0x0;}set[_0x1f7a97(0x638)](_0x5670bf){const _0x25fdc6=_0x1f7a97;this[_0x25fdc6(0x5c5)]=_0x5670bf,this[_0x25fdc6(0x29d)]=void 0x0;}get[_0x1f7a97(0x638)](){const _0x1aa23d=_0x1f7a97;return this[_0x1aa23d(0x5c5)];}set[_0x1f7a97(0x646)](_0x64281a){const _0x3ae0b7=_0x1f7a97;this[_0x3ae0b7(0x29d)]=_0x64281a,this[_0x3ae0b7(0x5c5)]=[];}get[_0x1f7a97(0x646)](){const _0x57d2e7=_0x1f7a97;return this[_0x57d2e7(0x29d)];}[_0x1f7a97(0x4b1)](){const _0x4e30b4=_0x1f7a97;this[_0x4e30b4(0x4b6)][_0x4e30b4(0x382)]()&&this['element'][_0x4e30b4(0x398)][_0x4e30b4(0x34d)](_0x198fe2=>{const _0x50388c=_0x4e30b4;this[_0x50388c(0x4b6)]['removeChild'](_0x198fe2);});}['setPricesDTO'](_0x2aff79){const _0xfb6846=_0x1f7a97;this[_0xfb6846(0x29b)]=_0x2aff79;}['getPricesDTO'](){return this['_pricesDTO'];}[_0x1f7a97(0x5b7)](_0x30511c,_0xad624e){const _0x31ef10=_0x1f7a97;if(!_0x30511c)this['hoveredSeat']=void 0x0,this['hoveredRow']=void 0x0;else _0xad624e?(this[_0x31ef10(0x6c4)]=this[_0x31ef10(0x510)][_0x30511c['rowId']],this[_0x31ef10(0x5a4)]=void 0x0):(this[_0x31ef10(0x6c4)]=void 0x0,this['hoveredSeat']=_0x30511c);}[_0x1f7a97(0x2ce)](){const _0x267781=_0x1f7a97,_0x4b5c81=this[_0x267781(0x1a3)][_0x267781(0x389)]['images'];if(!_0x4b5c81)return{};const _0x5b1bc2={};return Object[_0x267781(0x238)](_0x4b5c81)[_0x267781(0x34d)](_0x25e5df=>{const _0x205edc=_0x267781,_0x1848c3=new Image();_0x1848c3[_0x205edc(0x3f0)]=_0x205edc(0x608)+window[_0x205edc(0x6d5)](_0x4b5c81[_0x25e5df]),_0x1848c3[_0x205edc(0x27b)]=()=>{const _0x2a646b=_0x205edc;_0x5b1bc2[_0x25e5df]=_0x1848c3,!_0x1848c3[_0x2a646b(0x5ed)]&&(document['body']['appendChild'](_0x1848c3),_0x1848c3[_0x2a646b(0x5ed)]=_0x1848c3[_0x2a646b(0x256)],_0x1848c3['height']=_0x1848c3[_0x2a646b(0x68c)],document[_0x2a646b(0x4f3)][_0x2a646b(0x396)](_0x1848c3));},_0x1848c3['onerror']=()=>{const _0x19652d=_0x205edc;console['error'](_0x19652d(0x6b9)+_0x25e5df+_0x19652d(0x211));};}),_0x5b1bc2;}[_0x1f7a97(0x205)](_0xfe76c1){const _0x470972=_0x1f7a97,_0x58bc84=_0xfe76c1['seats'][_0x470972(0x65c)](this['repairSeat'])['filter'](Boolean),_0xa42165=_0xfe76c1['ga']['map'](this[_0x470972(0x35b)])[_0x470972(0x4c7)](Boolean);this[_0x470972(0x28a)]={'seats':_0x58bc84,'ga':_0xa42165},this[_0x470972(0x4fa)]();}get[_0x1f7a97(0x555)](){const _0x5cae4d=_0x1f7a97;return this[_0x5cae4d(0x5db)];}set[_0x1f7a97(0x555)](_0x11c1ee){const _0x43afc2=_0x1f7a97;this['_seats']=_0x11c1ee,this['seatsIndex']=new _0x3f867e(_0x11c1ee[_0x43afc2(0x420)]),this[_0x43afc2(0x5db)]['forEach'](_0x1af7c5=>{const _0x54ee8c=_0x43afc2;this['seatsIndex'][_0x54ee8c(0x47f)](_0x1af7c5['x'],_0x1af7c5['y']);}),this[_0x43afc2(0x6ee)]['finish'](),this[_0x43afc2(0x243)]=arrayToObjectById(_0x11c1ee),this[_0x43afc2(0x35c)]={},_0x11c1ee[_0x43afc2(0x34d)](_0x3bc162=>{const _0x212049=_0x43afc2;if(!this[_0x212049(0x35c)][_0x3bc162[_0x212049(0x5c2)]])this[_0x212049(0x35c)][_0x3bc162['rowId']]=[];this['seatsByRowId'][_0x3bc162[_0x212049(0x5c2)]][_0x212049(0x51f)](_0x3bc162);});}[_0x1f7a97(0x1cf)](_0x5c167f){const _0x1bff26=_0x1f7a97,_0x105547=this[_0x1bff26(0x35b)](_0x5c167f);if(!_0x105547)return;const _0x22150e=this[_0x1bff26(0x28a)]['ga'][_0x1bff26(0x268)](_0x518b98=>_0x518b98[_0x1bff26(0x71a)]===_0x105547['sectorId']);_0x22150e?(_0x22150e['count']+=_0x105547['count'],_0x22150e[_0x1bff26(0x6a3)]=_0x105547[_0x1bff26(0x6a3)]!==void 0x0?_0x105547[_0x1bff26(0x6a3)]:_0x22150e[_0x1bff26(0x6a3)]):this[_0x1bff26(0x28a)]['ga'][_0x1bff26(0x51f)](_0x105547),this[_0x1bff26(0x4fa)]();}[_0x1f7a97(0x3ee)](_0xe68a47){const _0x183ff1=_0x1f7a97,_0x2c3c73=this[_0x183ff1(0x28a)]['ga'][_0x183ff1(0x228)](_0x5c00c3=>_0x5c00c3[_0x183ff1(0x71a)]===_0xe68a47[_0x183ff1(0x71a)]);if(_0x2c3c73===-0x1)return;if(_0xe68a47[_0x183ff1(0x6a3)]&&this[_0x183ff1(0x28a)]['ga'][_0x2c3c73]['price']!==_0xe68a47['price'])return;this[_0x183ff1(0x28a)]['ga']['splice'](_0x2c3c73,0x1),this['afterCartUpdate']();}['clearCart'](){const _0xf567d9=_0x1f7a97,_0x6f72a6=performance[_0xf567d9(0x37d)]();(this[_0xf567d9(0x28a)][_0xf567d9(0x555)]||[])[_0xf567d9(0x34d)](_0x36e8c6=>{const _0x3b26b9=_0xf567d9;if(_0x36e8c6['id'])this[_0x3b26b9(0x319)][_0x36e8c6['id']]=_0x6f72a6;}),this[_0xf567d9(0x205)]({'seats':[],'ga':[]});}[_0x1f7a97(0x326)](_0x5326f7){const _0x1e177c=_0x1f7a97,_0x17c5e4=performance[_0x1e177c(0x37d)]();this[_0x1e177c(0x28a)][_0x1e177c(0x555)]=this[_0x1e177c(0x28a)][_0x1e177c(0x555)][_0x1e177c(0x4c7)](_0x557c8d=>!_0x5326f7[_0x1e177c(0x6df)](_0x557c8d['id'])),_0x5326f7[_0x1e177c(0x34d)](_0x2d5840=>{const _0x2bf586=_0x1e177c;this[_0x2bf586(0x319)][_0x2d5840]=_0x17c5e4,this['seatsById'][_0x2d5840]&&delete this['seatsById'][_0x2d5840][_0x2bf586(0x61f)];}),this[_0x1e177c(0x4fa)]();}['triggerSeatSelectionPulse'](_0x2f5279){const _0xd91db6=_0x1f7a97;this[_0xd91db6(0x632)][_0x2f5279]=performance[_0xd91db6(0x37d)](),this['_deselectedAt'][_0x2f5279]&&delete this[_0xd91db6(0x319)][_0x2f5279];}[_0x1f7a97(0x302)](_0x324c6f){const _0x37baa1=_0x1f7a97,_0x295ac9=_0x324c6f['map'](this[_0x37baa1(0x285)])[_0x37baa1(0x4c7)](Boolean);this[_0x37baa1(0x28a)][_0x37baa1(0x555)]=[...this['cart'][_0x37baa1(0x555)],..._0x295ac9];const _0x537d40=performance[_0x37baa1(0x37d)]();_0x295ac9[_0x37baa1(0x34d)](_0x177f92=>{const _0xecb32f=_0x37baa1;if(_0x177f92['id']){this['_selectedAt'][_0x177f92['id']]=_0x537d40;if(this[_0xecb32f(0x319)][_0x177f92['id']])delete this[_0xecb32f(0x319)][_0x177f92['id']];}}),this[_0x37baa1(0x4fa)]();}[_0x1f7a97(0x1b9)](_0x24bcea,_0x6b6c27){const _0x2d4f33=_0x1f7a97,_0x240d0e=Math[_0x2d4f33(0x19a)](_0x24bcea['x'],_0x24bcea['x']+_0x24bcea[_0x2d4f33(0x5ed)]),_0x4b5ed8=Math[_0x2d4f33(0x67f)](_0x24bcea['x'],_0x24bcea['x']+_0x24bcea['width']),_0x394932=Math[_0x2d4f33(0x19a)](_0x24bcea['y'],_0x24bcea['y']+_0x24bcea[_0x2d4f33(0x2bd)]),_0x24bfc2=Math['max'](_0x24bcea['y'],_0x24bcea['y']+_0x24bcea[_0x2d4f33(0x2bd)]),_0x37c84c=this[_0x2d4f33(0x6ee)]['range'](_0x240d0e,_0x394932,_0x4b5ed8,_0x24bfc2)['map'](_0x35799a=>this[_0x2d4f33(0x555)][_0x35799a]['id']);this[_0x2d4f33(0x550)](_0x37c84c,_0x6b6c27);}['selectSeats'](_0x29600f,_0xc85d13){const _0x761fc=_0x1f7a97,_0x3c6695=this['selectedSeatIds'],_0x3f9194=_0x29600f;switch(_0xc85d13){case _0x761fc(0x531):{this['selectedSeatIds']=_0x3f9194;break;}case _0x761fc(0x47f):{this[_0x761fc(0x638)]=[...new Set([..._0x3c6695,..._0x3f9194])];break;}case _0x761fc(0x1fa):{this[_0x761fc(0x638)]=_0x3c6695['filter'](_0x1a66b0=>!_0x3f9194[_0x761fc(0x6df)](_0x1a66b0));break;}}}[_0x1f7a97(0x316)](_0x5eeb9c,_0x2c9101){const _0x2b4aac=_0x1f7a97,_0x27c79c=Math[_0x2b4aac(0x19a)](_0x5eeb9c['x'],_0x5eeb9c['x']+_0x5eeb9c[_0x2b4aac(0x5ed)]),_0x2568b9=Math[_0x2b4aac(0x67f)](_0x5eeb9c['x'],_0x5eeb9c['x']+_0x5eeb9c[_0x2b4aac(0x5ed)]),_0x3bbfd0=Math[_0x2b4aac(0x19a)](_0x5eeb9c['y'],_0x5eeb9c['y']+_0x5eeb9c['height']),_0x4e7fe9=Math[_0x2b4aac(0x67f)](_0x5eeb9c['y'],_0x5eeb9c['y']+_0x5eeb9c[_0x2b4aac(0x2bd)]);let _0x387e71=this['seatsIndex'][_0x2b4aac(0x4cc)](_0x27c79c,_0x3bbfd0,_0x2568b9,_0x4e7fe9)[_0x2b4aac(0x65c)](_0x26f94e=>this['seats'][_0x26f94e][_0x2b4aac(0x5c2)]);_0x387e71=[...new Set(_0x387e71)];const _0x39d51a=_0x387e71['map'](_0xbfabe1=>this[_0x2b4aac(0x35c)][_0xbfabe1][_0x2b4aac(0x65c)](_0x1959ca=>_0x1959ca['id'])),_0x1abf34=[][_0x2b4aac(0x561)](..._0x39d51a);this[_0x2b4aac(0x550)](_0x1abf34,_0x2c9101);}['findSeatByKey'](_0x3565e1){const _0x15db65=_0x1f7a97,[_0x46de47,_0x10c5f0,_0x16e39d]=_0x3565e1[_0x15db65(0x44d)](';;'),_0x32b69b=+_0x46de47,_0x36280d=_0x32b69b?this['sectionsById'][_0x32b69b]:Object[_0x15db65(0x255)](this['sectionsById'])[_0x15db65(0x268)](_0x3eacba=>_0x3eacba[_0x15db65(0x503)]===_0x46de47);if(!_0x36280d)return;const _0x191130=Object[_0x15db65(0x255)](this[_0x15db65(0x510)])['find'](_0x579c4c=>_0x579c4c[_0x15db65(0x71a)]===_0x36280d['id']&&_0x579c4c[_0x15db65(0x51d)]+''===_0x10c5f0);if(!_0x191130)return;const _0x1bef34=this['seats'][_0x15db65(0x268)](_0x8ed99f=>_0x8ed99f['sectorId']===_0x36280d['id']&&_0x8ed99f[_0x15db65(0x5c2)]===_0x191130['id']&&_0x8ed99f[_0x15db65(0x503)]===_0x16e39d);return _0x1bef34;}['getCart'](){const _0x315f9d=_0x1f7a97;return JSON['parse'](JSON[_0x315f9d(0x720)](this['cart']));}['isSeatInCart'](_0x3d2145){const _0x3ae78a=_0x1f7a97;return!!this[_0x3ae78a(0x28a)]['seats'][_0x3ae78a(0x268)](_0x5e0005=>_0x5e0005['id']===_0x3d2145);}[_0x1f7a97(0x3aa)](_0x5caa7d){const _0x52caf0=_0x1f7a97;return!!this['cart']['ga'][_0x52caf0(0x268)](_0x1e33af=>_0x1e33af[_0x52caf0(0x71a)]===_0x5caa7d);}[_0x1f7a97(0x5fe)](_0x55c6c9){const _0x17ff81=_0x1f7a97;if(this[_0x17ff81(0x2ab)](_0x55c6c9))return;const _0x2d7b59=this[_0x17ff81(0x723)](this[_0x17ff81(0x243)][_0x55c6c9]);this['cart'][_0x17ff81(0x555)][_0x17ff81(0x51f)](_0x2d7b59),this['_selectedAt'][_0x55c6c9]=performance[_0x17ff81(0x37d)](),this[_0x17ff81(0x319)][_0x55c6c9]&&delete this[_0x17ff81(0x319)][_0x55c6c9];}[_0x1f7a97(0x643)](_0xacb927){const _0x5ed886=_0x1f7a97,_0x356566=this[_0x5ed886(0x28a)]['seats'][_0x5ed886(0x228)](_0x2f85be=>_0x2f85be['id']===_0xacb927);_0x356566!==-0x1&&this[_0x5ed886(0x28a)][_0x5ed886(0x555)][_0x5ed886(0x219)](_0x356566,0x1),this[_0x5ed886(0x319)][_0xacb927]=performance[_0x5ed886(0x37d)](),this[_0x5ed886(0x632)][_0xacb927]&&delete this[_0x5ed886(0x632)][_0xacb927];}[_0x1f7a97(0x2c6)](){const _0x243b8a=_0x1f7a97;if(!this[_0x243b8a(0x28a)][_0x243b8a(0x555)]['length'])return[];const _0x25aec7=this[_0x243b8a(0x28a)]['seats'][_0x243b8a(0x65c)](_0xfb2089=>_0xfb2089['id']||0x0);if(this[_0x243b8a(0x5a4)]){const _0x4e680e=_0x25aec7['indexOf'](this[_0x243b8a(0x5a4)]['id']);_0x4e680e!==-0x1&&(_0x25aec7[_0x243b8a(0x219)](_0x4e680e,0x1),_0x25aec7[_0x243b8a(0x51f)](this[_0x243b8a(0x5a4)]['id']));}const _0x486210={};return this['seats'][_0x243b8a(0x4c7)](_0x91cc04=>_0x25aec7['includes'](_0x91cc04['id']))[_0x243b8a(0x34d)](_0x3aff74=>{_0x486210[_0x3aff74['id']]=_0x3aff74;}),_0x25aec7[_0x243b8a(0x65c)](_0xc429ae=>_0x486210[_0xc429ae])['filter'](_0x19b7fb=>_0x19b7fb);}[_0x1f7a97(0x682)](){const _0x576974=_0x1f7a97;return this[_0x576974(0x638)]['map'](_0x405a11=>this[_0x576974(0x243)][_0x405a11]);}[_0x1f7a97(0x400)](_0x8aaf18){const _0x4d9951=_0x1f7a97;var _0x387529;(!(_0x8aaf18==null?void 0x0:_0x8aaf18[_0x4d9951(0x420)])||(_0x8aaf18==null?void 0x0:_0x8aaf18[_0x4d9951(0x420)])<0x1)&&Object[_0x4d9951(0x255)](this['sectionsById'])[_0x4d9951(0x34d)](_0x27cab9=>{const _0x1b7b31=_0x4d9951;_0x27cab9[_0x1b7b31(0x451)]=![];});const _0x35ad95=(_0x387529=_0x8aaf18==null?void 0x0:_0x8aaf18['map'](_0x1a6f79=>{const _0x1edfb8=_0x4d9951;if(_0x1a6f79&&typeof _0x1a6f79===_0x1edfb8(0x1f7))return this[_0x1edfb8(0x44f)][_0x1a6f79][_0x1edfb8(0x451)]=!![],_0x1a6f79;else{if(_0x1a6f79&&typeof _0x1a6f79===_0x1edfb8(0x5ef)){const _0xf14a0c=Object[_0x1edfb8(0x255)](this[_0x1edfb8(0x44f)])[_0x1edfb8(0x268)](_0x4f1d8b=>_0x4f1d8b[_0x1edfb8(0x503)]===_0x1a6f79);if(_0xf14a0c)return _0xf14a0c['selected']=!![],_0xf14a0c['id'];}}return void 0x0;}))!=null?_0x387529:null;return _0x35ad95;}[_0x1f7a97(0x1f9)](){const _0x5771a0=_0x1f7a97;return Object[_0x5771a0(0x255)](this[_0x5771a0(0x44f)])[_0x5771a0(0x4c7)](_0x5c6b48=>_0x5c6b48[_0x5771a0(0x451)]);}[_0x1f7a97(0x3a6)](){const _0x5c9f73=_0x1f7a97;return Object[_0x5c9f73(0x255)](this[_0x5c9f73(0x44f)])['filter'](_0xeeb4fd=>_0xeeb4fd[_0x5c9f73(0x1ed)]);}[_0x1f7a97(0x242)](_0xcf643){const _0x32c99d=_0x1f7a97,{scale:_0x52b425,translate:_0x12eb64}=this,_0x2e8c1e=window[_0x32c99d(0x1bb)];return{'x':Math['round']((_0xcf643['x']*_0x52b425+_0x12eb64['x'])/_0x2e8c1e),'y':Math[_0x32c99d(0x3d5)]((_0xcf643['y']*_0x52b425+_0x12eb64['y'])/_0x2e8c1e)};}},getSeatByPosition=(_0x1e8ac2,_0x108f96,_0x3f290d,_0x4cc14e)=>{const _0x24c81e=_0x1f7a97,_0x73091e=_0x3f290d[_0x24c81e(0x280)](_0x1e8ac2['x'],_0x1e8ac2['y'],_0x4cc14e/0x2)[0x0];return _0x73091e||_0x73091e===0x0?_0x108f96[_0x73091e]: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{[_0x1f7a97(0x212)](){const _0x322b2d=_0x1f7a97;return this[_0x322b2d(0x566)][_0x322b2d(0x5de)][_0x322b2d(0x47d)]||this[_0x322b2d(0x566)][_0x322b2d(0x5de)][_0x322b2d(0x22a)];}[_0x1f7a97(0x6ff)](){const _0x365847=_0x1f7a97,_0x126efc=this[_0x365847(0x212)]();if(!_0x126efc)return;const _0x4166af=createSvgElement(_0x126efc),_0x4a0baf=_0x4166af[_0x365847(0x275)]('['+DATA_GOS_ID+']'),_0x2e8a1f={};for(let _0x31b50f=0x0;_0x31b50f<_0x4a0baf[_0x365847(0x420)];_0x31b50f++){const _0x30da7f=_0x4a0baf[_0x31b50f],_0x183cde=_0x30da7f[_0x365847(0x439)](DATA_GOS_ID),_0x52cf41=_0x30da7f['getAttribute'](DATA_FONT_SCALE);_0x183cde&&_0x52cf41&&(_0x2e8a1f[_0x183cde]=+_0x52cf41);}this[_0x365847(0x732)]=_0x2e8a1f;}['showSelectionRect'](_0x4afa31){const _0x122cb5=_0x1f7a97;this[_0x122cb5(0x30a)]=_0x4afa31,this[_0x122cb5(0x4fe)]();}[_0x1f7a97(0x32d)](){const _0x32ad6b=_0x1f7a97;this[_0x32ad6b(0x30a)]=void 0x0,this['redraw']();}[_0x1f7a97(0x1d3)](){const _0x3acfbf=_0x1f7a97,_0xf4ad5b=this[_0x3acfbf(0x566)][_0x3acfbf(0x1a3)][_0x3acfbf(0x6d3)];if(!_0xf4ad5b){this[_0x3acfbf(0x566)][_0x3acfbf(0x2c6)]()[_0x3acfbf(0x34d)](_0x1d11be=>this[_0x3acfbf(0x589)](this[_0x3acfbf(0x376)],_0x1d11be)),this[_0x3acfbf(0x566)][_0x3acfbf(0x682)]()[_0x3acfbf(0x34d)](_0xe91343=>this[_0x3acfbf(0x589)](this[_0x3acfbf(0x376)],_0xe91343));if(this[_0x3acfbf(0x566)][_0x3acfbf(0x6c4)])this['context'][_0x3acfbf(0x35c)][this['context']['hoveredRow']['id']][_0x3acfbf(0x34d)](_0x51849c=>this[_0x3acfbf(0x34e)](this[_0x3acfbf(0x376)],_0x51849c));else this[_0x3acfbf(0x566)][_0x3acfbf(0x5a4)]&&this[_0x3acfbf(0x34e)](this['offscreenCtx'],this['context']['hoveredSeat']);}this[_0x3acfbf(0x529)](this[_0x3acfbf(0x376)]),this['renderSelectionRect'](this['offscreenCtx']);}[_0x1f7a97(0x5bd)](_0x133c17,_0x42b9cf){const _0x52743a=_0x1f7a97;super[_0x52743a(0x5bd)](_0x133c17,_0x42b9cf);const _0x171e69=this[_0x52743a(0x38a)],_0x3c8abe=window[_0x52743a(0x1bb)];_0x171e69[_0x52743a(0x50a)](),_0x171e69[_0x52743a(0x674)]=_0x52743a(0x1a2),_0x171e69[_0x52743a(0x213)]=_0x52743a(0x6bb),_0x171e69[_0x52743a(0x6db)]=0x12*_0x3c8abe+'px\x20Arial',_0x171e69[_0x52743a(0x438)]=_0x52743a(0x360),_0x171e69['fillText'](atob(arr[_0x52743a(0x4fb)]('')),0x1e*_0x3c8abe,(this[_0x52743a(0x2bd)]-0x1e)*_0x3c8abe),_0x171e69[_0x52743a(0x683)](),this[_0x52743a(0x341)]();}[_0x1f7a97(0x529)](_0x4fe943){const _0x50606a=_0x1f7a97,_0x456570=this[_0x50606a(0x566)]['gaInfo'],_0x107842=this[_0x50606a(0x566)][_0x50606a(0x5de)][_0x50606a(0x1ad)],_0x6aab12=this['context'][_0x50606a(0x1a3)]['theme'];_0x4fe943[_0x50606a(0x50a)](),_0x4fe943[_0x50606a(0x2b5)](-_0x107842['x'],-_0x107842['y']),_0x456570[_0x50606a(0x34d)](_0x2a7030=>{const _0x3ebdc3=_0x50606a;_0x4fe943[_0x3ebdc3(0x50a)](),_0x4fe943['transform'](..._0x2a7030[_0x3ebdc3(0x1f6)]);let _0x10f748=0x0;if(!_0x2a7030[_0x3ebdc3(0x5ca)]){const _0x2bce50=this[_0x3ebdc3(0x732)][_0x2a7030['id']]||DEFAULT_FONT_SCALE,{size:_0x482024,opacity:_0x5ebe3e}=LABEL_STYLES[_0x2bce50]||LABEL_STYLES[DEFAULT_FONT_SCALE],_0x7591c1=-((_0x482024+_0x6aab12['gridStep']+_0x6aab12[_0x3ebdc3(0x5cb)][_0x3ebdc3(0x2fa)]['size'])/0x2),_0x5293c8=Math['round'](_0x7591c1+_0x482024/0x2);_0x10f748=Math[_0x3ebdc3(0x3d5)](_0x7591c1+_0x482024+_0x6aab12[_0x3ebdc3(0x496)]+_0x6aab12[_0x3ebdc3(0x5cb)]['hovered'][_0x3ebdc3(0x5b9)]/0x2),_0x4fe943['textAlign']=_0x3ebdc3(0x67a),_0x4fe943[_0x3ebdc3(0x213)]='middle',_0x4fe943[_0x3ebdc3(0x6db)]=_0x482024+_0x3ebdc3(0x454),_0x4fe943['fillStyle']='rgba(0,\x200,\x200,\x20'+_0x5ebe3e+')',_0x4fe943[_0x3ebdc3(0x67e)](_0x2a7030[_0x3ebdc3(0x503)],0x0,_0x5293c8);}const _0x3896ee=this[_0x3ebdc3(0x566)][_0x3ebdc3(0x44f)][_0x2a7030['id']],_0x34f382={'id':-0x1,'sectorId':-0x1,'rowId':-0x1,'name':'','x':0x0,'y':_0x10f748,'priceId':_0x3896ee[_0x3ebdc3(0x479)]};this['context'][_0x3ebdc3(0x4d0)][_0x2a7030['id']]&&(_0x34f382[_0x3ebdc3(0x3c5)]={'category':this['context'][_0x3ebdc3(0x4d0)][_0x2a7030['id']]}),(!_0x2a7030[_0x3ebdc3(0x5ca)]||_0x3896ee[_0x3ebdc3(0x479)])&&(this[_0x3ebdc3(0x566)][_0x3ebdc3(0x3aa)](_0x3896ee['id'])?this['renderSelectedSeat'](_0x4fe943,_0x34f382):this['renderSeat'](_0x4fe943,_0x34f382)),_0x4fe943[_0x3ebdc3(0x683)]();}),_0x4fe943[_0x50606a(0x683)]();}[_0x1f7a97(0x4ba)](_0x3cf19a){const _0x32d35c=_0x1f7a97;if(!this[_0x32d35c(0x30a)])return;const {x:_0x1af9fb,y:_0x3d4805,width:_0x28acd9,height:_0x5ed5fe}=this[_0x32d35c(0x30a)];_0x3cf19a[_0x32d35c(0x50a)](),_0x3cf19a['fillStyle']='rgba(33,\x20150,\x20243,\x200.1)',_0x3cf19a[_0x32d35c(0x357)](_0x1af9fb,_0x3d4805,_0x28acd9,_0x5ed5fe),_0x3cf19a[_0x32d35c(0x309)](),_0x3cf19a[_0x32d35c(0x683)]();}[_0x1f7a97(0x341)](){const _0x53e4f2=_0x1f7a97;var _0xa813cc;const _0x40906e=(_0xa813cc=this[_0x53e4f2(0x38a)])==null?void 0x0:_0xa813cc[_0x53e4f2(0x5cd)];if(!_0x40906e)return;if(!this['context'][_0x53e4f2(0x21c)]){_0x40906e[_0x53e4f2(0x71e)]['transform']='',_0x40906e[_0x53e4f2(0x71e)]['transformOrigin']='';return;}const {rotationZ:_0x2bdf92,tiltX:_0x261f7f}=this['context'];_0x40906e['style'][_0x53e4f2(0x3e0)]=getDefaultTransformOrigin();const _0x568dea=this['width']/Math[_0x53e4f2(0x67f)](0x1,this[_0x53e4f2(0x2bd)]),_0x481ae6=buildCss3DTransform({'rotationZ':_0x2bdf92,'perspectiveZ':0x0,'tiltX':_0x261f7f},{'aspectRatio':_0x568dea});_0x40906e['style'][_0x53e4f2(0x1f6)]=_0x481ae6;}},DPR2=window['devicePixelRatio'],_MinimapLayer=class _MinimapLayer{constructor(_0x23273c,_0x1188fd){const _0x56cc5d=_0x1f7a97;this[_0x56cc5d(0x46a)]=0x1,this[_0x56cc5d(0x1cc)]=0x1,this['contentOffsetX']=0x0,this[_0x56cc5d(0x284)]=0x0,this[_0x56cc5d(0x54b)]=null,this[_0x56cc5d(0x36a)]=![],this[_0x56cc5d(0x383)]=null,this[_0x56cc5d(0x3d2)]=null,this[_0x56cc5d(0x4f8)]=![],this['animationFrameId']=null,this[_0x56cc5d(0x685)]=_0x582aa7=>{const _0x21e060=_0x56cc5d;_0x582aa7['stopPropagation'](),_0x582aa7[_0x21e060(0x1f0)]();if(this[_0x21e060(0x4f8)])return;const _0x5f4012=_0x582aa7['currentTarget']['getBoundingClientRect'](),_0xff40e0=(_0x582aa7['clientX']-_0x5f4012[_0x21e060(0x1a2)])*DPR2,_0x13108f=(_0x582aa7[_0x21e060(0x1c9)]-_0x5f4012[_0x21e060(0x3d4)])*DPR2;this[_0x21e060(0x401)](_0xff40e0,_0x13108f,!![],!![]);},this[_0x56cc5d(0x1e1)]=_0x51942b=>{const _0x4f6074=_0x56cc5d;_0x51942b[_0x4f6074(0x50f)](),_0x51942b[_0x4f6074(0x1f0)](),this['isDragging']=!![],this['canvas'][_0x4f6074(0x71e)][_0x4f6074(0x2c3)]=_0x4f6074(0x5ce);const _0x1ae960=_0x51942b[_0x4f6074(0x435)][_0x4f6074(0x431)](),_0x4f4482=(_0x51942b[_0x4f6074(0x54d)]-_0x1ae960['left'])*DPR2,_0x47f1c2=(_0x51942b['clientY']-_0x1ae960[_0x4f6074(0x3d4)])*DPR2,_0x159544=this[_0x4f6074(0x46e)](),_0x2610ed=_0x159544['x']+_0x159544['width']/0x2,_0x73c646=_0x159544['y']+_0x159544[_0x4f6074(0x2bd)]/0x2;this[_0x4f6074(0x5c3)]={'x':_0x4f4482-_0x2610ed,'y':_0x47f1c2-_0x73c646};},this['handleMouseMove']=_0xd75132=>{const _0x98d320=_0x56cc5d;this[_0x98d320(0x4f8)]&&(_0xd75132['stopPropagation'](),_0xd75132[_0x98d320(0x1f0)]());if(!this[_0x98d320(0x4f8)])return;const _0x4a3e94=_0xd75132[_0x98d320(0x435)][_0x98d320(0x431)](),_0x145618=(_0xd75132[_0x98d320(0x54d)]-_0x4a3e94[_0x98d320(0x1a2)])*DPR2,_0xf70578=(_0xd75132[_0x98d320(0x1c9)]-_0x4a3e94[_0x98d320(0x3d4)])*DPR2,_0x3be1fb=this['dragOffset']||{'x':0x0,'y':0x0},_0x3c8d23=_0x145618-_0x3be1fb['x'],_0x57f286=_0xf70578-_0x3be1fb['y'];this[_0x98d320(0x401)](_0x3c8d23,_0x57f286,!![],![]);},this['handleMouseUp']=()=>{const _0x37039b=_0x56cc5d;this[_0x37039b(0x4f8)]=![],this[_0x37039b(0x5cd)][_0x37039b(0x71e)][_0x37039b(0x2c3)]=_0x37039b(0x413);};var _0xbc2d26,_0x26ffaf,_0x4b3823,_0x586f13,_0x4b0be3,_0x20acf6,_0x489f5a,_0x32dbe3,_0x4717b1,_0x141fe7;this[_0x56cc5d(0x566)]=_0x23273c,this['navigator']=_0x1188fd;const _0x519fbd=this[_0x56cc5d(0x566)][_0x56cc5d(0x1a3)][_0x56cc5d(0x25e)];this['config']={'position':_0x519fbd[_0x56cc5d(0x5bb)]||_0x56cc5d(0x38b),'width':_0x519fbd[_0x56cc5d(0x5ed)]||0xc8,'opacity':(_0xbc2d26=_0x519fbd[_0x56cc5d(0x465)])!=null?_0xbc2d26:0.8,'backgroundColor':_0x519fbd[_0x56cc5d(0x402)]||((_0x26ffaf=this[_0x56cc5d(0x566)]['settings'][_0x56cc5d(0x389)])==null?void 0x0:_0x26ffaf[_0x56cc5d(0x403)])||_0x56cc5d(0x639),'borderColor':_0x519fbd[_0x56cc5d(0x33a)]||((_0x20acf6=(_0x4b0be3=(_0x586f13=(_0x4b3823=this[_0x56cc5d(0x566)][_0x56cc5d(0x1a3)]['theme'])==null?void 0x0:_0x4b3823[_0x56cc5d(0x665)])==null?void 0x0:_0x586f13['default'])==null?void 0x0:_0x4b0be3[_0x56cc5d(0x1a5)])==null?void 0x0:_0x20acf6['color'])||_0x56cc5d(0x50b),'viewportColor':_0x519fbd[_0x56cc5d(0x369)]||_0x56cc5d(0x6ea),'borderWidth':(_0x489f5a=_0x519fbd['borderWidth'])!=null?_0x489f5a:0x2,'margin':(_0x32dbe3=_0x519fbd[_0x56cc5d(0x232)])!=null?_0x32dbe3:0x10,'offscreenColor':_0x519fbd['offscreenColor']||'#000000','offscreenOpacity':(_0x4717b1=_0x519fbd[_0x56cc5d(0x1da)])!=null?_0x4717b1:0.4,'showCartPins':(_0x141fe7=_0x519fbd[_0x56cc5d(0x6a7)])!=null?_0x141fe7:!![]},this['canvas']=document['createElement'](_0x56cc5d(0x5cd)),this[_0x56cc5d(0x5cd)][_0x56cc5d(0x71e)]['position']=_0x56cc5d(0x492),this[_0x56cc5d(0x5cd)][_0x56cc5d(0x71e)][_0x56cc5d(0x6e9)]=_0x56cc5d(0x57f),this[_0x56cc5d(0x5cd)][_0x56cc5d(0x71e)][_0x56cc5d(0x4a0)]=_0x56cc5d(0x634),this['canvas'][_0x56cc5d(0x71e)][_0x56cc5d(0x2c3)]=_0x56cc5d(0x413),this['canvas'][_0x56cc5d(0x71e)][_0x56cc5d(0x655)]=_0x56cc5d(0x2a2),this[_0x56cc5d(0x5cd)]['style'][_0x56cc5d(0x669)]='0\x202px\x208px\x20rgba(0,0,0,0.3)',this[_0x56cc5d(0x5cd)][_0x56cc5d(0x71e)][_0x56cc5d(0x465)]=this[_0x56cc5d(0x6b0)][_0x56cc5d(0x465)][_0x56cc5d(0x702)](),this[_0x56cc5d(0x38a)]=this['canvas'][_0x56cc5d(0x1b8)]('2d'),this[_0x56cc5d(0x6e5)]=document[_0x56cc5d(0x26e)](_0x56cc5d(0x5cd)),this[_0x56cc5d(0x6e5)][_0x56cc5d(0x71e)][_0x56cc5d(0x5bb)]=_0x56cc5d(0x492),this[_0x56cc5d(0x6e5)][_0x56cc5d(0x71e)]['zIndex']='1001',this['overlayCanvas'][_0x56cc5d(0x71e)][_0x56cc5d(0x4a0)]='auto',this[_0x56cc5d(0x6e5)]['style'][_0x56cc5d(0x655)]=_0x56cc5d(0x2a2),this[_0x56cc5d(0x6e5)][_0x56cc5d(0x71e)][_0x56cc5d(0x465)]=this[_0x56cc5d(0x6b0)][_0x56cc5d(0x465)][_0x56cc5d(0x702)](),this[_0x56cc5d(0x250)]=this[_0x56cc5d(0x6e5)]['getContext']('2d'),this[_0x56cc5d(0x507)](),this[_0x56cc5d(0x240)](),this[_0x56cc5d(0x566)][_0x56cc5d(0x4b6)][_0x56cc5d(0x2b0)](this[_0x56cc5d(0x5cd)]),this[_0x56cc5d(0x566)]['element'][_0x56cc5d(0x2b0)](this[_0x56cc5d(0x6e5)]),this['canvas'][_0x56cc5d(0x71e)][_0x56cc5d(0x349)]=_0x56cc5d(0x26f),this[_0x56cc5d(0x6e5)][_0x56cc5d(0x71e)][_0x56cc5d(0x349)]=_0x56cc5d(0x26f),this['addEventListeners']();}[_0x1f7a97(0x507)](){const _0x349ef7=_0x1f7a97;var _0x3e9876;if(!((_0x3e9876=this[_0x349ef7(0x566)][_0x349ef7(0x5de)])==null?void 0x0:_0x3e9876[_0x349ef7(0x1ad)]))return;const _0x833ee8=this[_0x349ef7(0x566)]['underlay']['viewBox'],_0x13e808=_0x833ee8['height']/_0x833ee8['width'];this['minimapWidth']=this['config'][_0x349ef7(0x5ed)],this[_0x349ef7(0x36d)]=this[_0x349ef7(0x6b0)][_0x349ef7(0x5ed)]*_0x13e808,this[_0x349ef7(0x5cd)][_0x349ef7(0x5ed)]=this['minimapWidth']*DPR2,this[_0x349ef7(0x5cd)][_0x349ef7(0x2bd)]=this['minimapHeight']*DPR2,this[_0x349ef7(0x5cd)][_0x349ef7(0x71e)]['width']=this[_0x349ef7(0x6b7)]+'px',this[_0x349ef7(0x5cd)][_0x349ef7(0x71e)]['height']=this[_0x349ef7(0x36d)]+'px',this[_0x349ef7(0x6e5)]['width']=this[_0x349ef7(0x6b7)]*DPR2,this['overlayCanvas'][_0x349ef7(0x2bd)]=this['minimapHeight']*DPR2,this[_0x349ef7(0x6e5)][_0x349ef7(0x71e)]['width']=this[_0x349ef7(0x6b7)]+'px',this[_0x349ef7(0x6e5)][_0x349ef7(0x71e)][_0x349ef7(0x2bd)]=this['minimapHeight']+'px',this[_0x349ef7(0x1cc)]=Math[_0x349ef7(0x19a)](this[_0x349ef7(0x5cd)]['width']/_0x833ee8[_0x349ef7(0x5ed)],this[_0x349ef7(0x5cd)][_0x349ef7(0x2bd)]/_0x833ee8[_0x349ef7(0x2bd)]),this['contentOffsetX']=(this['canvas'][_0x349ef7(0x5ed)]-_0x833ee8[_0x349ef7(0x5ed)]*this['contentScale'])/0x2,this[_0x349ef7(0x284)]=(this[_0x349ef7(0x5cd)][_0x349ef7(0x2bd)]-_0x833ee8['height']*this[_0x349ef7(0x1cc)])/0x2,this[_0x349ef7(0x46a)]=this[_0x349ef7(0x1cc)];}[_0x1f7a97(0x240)](){const _0x315533=_0x1f7a97,_0x274c88=this[_0x315533(0x6b0)]['margin']+'px';this['canvas']['style'][_0x315533(0x3d4)]=_0x315533(0x634),this[_0x315533(0x5cd)][_0x315533(0x71e)][_0x315533(0x717)]=_0x315533(0x634),this[_0x315533(0x5cd)][_0x315533(0x71e)][_0x315533(0x6bb)]=_0x315533(0x634),this[_0x315533(0x5cd)]['style'][_0x315533(0x1a2)]=_0x315533(0x634),this[_0x315533(0x6e5)][_0x315533(0x71e)][_0x315533(0x3d4)]=_0x315533(0x634),this[_0x315533(0x6e5)][_0x315533(0x71e)][_0x315533(0x717)]=_0x315533(0x634),this['overlayCanvas'][_0x315533(0x71e)]['bottom']=_0x315533(0x634),this[_0x315533(0x6e5)][_0x315533(0x71e)][_0x315533(0x1a2)]=_0x315533(0x634);switch(this[_0x315533(0x6b0)][_0x315533(0x5bb)]){case _0x315533(0x544):this[_0x315533(0x5cd)]['style'][_0x315533(0x3d4)]=_0x274c88,this['canvas'][_0x315533(0x71e)][_0x315533(0x1a2)]=_0x274c88,this['overlayCanvas']['style'][_0x315533(0x3d4)]=_0x274c88,this[_0x315533(0x6e5)][_0x315533(0x71e)]['left']=_0x274c88;break;case _0x315533(0x3af):this['canvas'][_0x315533(0x71e)][_0x315533(0x3d4)]=_0x274c88,this[_0x315533(0x5cd)]['style']['right']=_0x274c88,this[_0x315533(0x6e5)][_0x315533(0x71e)][_0x315533(0x3d4)]=_0x274c88,this['overlayCanvas'][_0x315533(0x71e)]['right']=_0x274c88;break;case _0x315533(0x5d9):this[_0x315533(0x5cd)][_0x315533(0x71e)][_0x315533(0x6bb)]=_0x274c88,this[_0x315533(0x5cd)][_0x315533(0x71e)]['left']=_0x274c88,this[_0x315533(0x6e5)][_0x315533(0x71e)][_0x315533(0x6bb)]=_0x274c88,this[_0x315533(0x6e5)][_0x315533(0x71e)][_0x315533(0x1a2)]=_0x274c88;break;case'bottom-right':this[_0x315533(0x5cd)]['style'][_0x315533(0x6bb)]=_0x274c88,this[_0x315533(0x5cd)]['style']['right']=_0x274c88,this[_0x315533(0x6e5)][_0x315533(0x71e)][_0x315533(0x6bb)]=_0x274c88,this[_0x315533(0x6e5)][_0x315533(0x71e)][_0x315533(0x717)]=_0x274c88;break;}}[_0x1f7a97(0x29c)](_0x10eb16){const _0x383b1c=_0x1f7a97;this['backgroundImage']=_0x10eb16,this[_0x383b1c(0x383)]=null,this[_0x383b1c(0x3d2)]=null;const _0x186aea=()=>{const _0x4d9a9b=_0x383b1c;this[_0x4d9a9b(0x36a)]=!![],this['drawBackground']();};this['backgroundImage'][_0x383b1c(0x718)]&&this['backgroundImage'][_0x383b1c(0x66a)]>0x0?_0x186aea():(this[_0x383b1c(0x54b)]['onload']=_0x186aea,this['backgroundImage']['onerror']=()=>{this['isBackgroundReady']=![];});}[_0x1f7a97(0x43a)](_0x403cf2,_0x4611e2){const _0x599388=_0x1f7a97;this[_0x599388(0x54b)]=_0x403cf2,this[_0x599388(0x383)]=_0x4611e2[_0x599388(0x478)],this[_0x599388(0x3d2)]={'x':_0x4611e2[_0x599388(0x2b5)]['x'],'y':_0x4611e2[_0x599388(0x2b5)]['y']};const _0x4fc84b=()=>{const _0x2b9e78=_0x599388;this['isBackgroundReady']=!![],this[_0x2b9e78(0x5e2)]();};this[_0x599388(0x54b)][_0x599388(0x718)]&&this[_0x599388(0x54b)][_0x599388(0x66a)]>0x0?_0x4fc84b():(this[_0x599388(0x54b)][_0x599388(0x27b)]=_0x4fc84b,this['backgroundImage'][_0x599388(0x1ac)]=()=>{this['isBackgroundReady']=![];});}['drawBackground'](){const _0x2498a7=_0x1f7a97;if(!this[_0x2498a7(0x36a)]||!this['backgroundImage'])return;this[_0x2498a7(0x38a)][_0x2498a7(0x50a)](),this[_0x2498a7(0x38a)][_0x2498a7(0x53e)](0x0,0x0,this[_0x2498a7(0x5cd)][_0x2498a7(0x5ed)],this[_0x2498a7(0x5cd)]['height']),this[_0x2498a7(0x38a)][_0x2498a7(0x438)]=this[_0x2498a7(0x6b0)][_0x2498a7(0x402)],this[_0x2498a7(0x38a)][_0x2498a7(0x6c9)](0x0,0x0,this[_0x2498a7(0x5cd)]['width'],this[_0x2498a7(0x5cd)][_0x2498a7(0x2bd)]);const _0x509971=this[_0x2498a7(0x566)][_0x2498a7(0x5de)][_0x2498a7(0x1ad)];if(this[_0x2498a7(0x54b)][_0x2498a7(0x718)]&&this[_0x2498a7(0x54b)][_0x2498a7(0x5ed)]>0x0){const _0x562ec0=this[_0x2498a7(0x65f)],_0x30eebd=this[_0x2498a7(0x284)],_0x25d0f4=_0x509971[_0x2498a7(0x5ed)]*this['contentScale'],_0x392bc=_0x509971['height']*this['contentScale'];if(this[_0x2498a7(0x383)]&&this[_0x2498a7(0x3d2)]){const _0x42fa91=Math[_0x2498a7(0x67f)](0x0,this[_0x2498a7(0x3d2)]['x']),_0x55e165=Math[_0x2498a7(0x67f)](0x0,this[_0x2498a7(0x3d2)]['y']),_0x31cbff=Math['min'](this['backgroundImage'][_0x2498a7(0x66a)]-_0x42fa91,_0x509971['width']*this[_0x2498a7(0x383)]),_0x1de543=Math['min'](this['backgroundImage'][_0x2498a7(0x32b)]-_0x55e165,_0x509971[_0x2498a7(0x2bd)]*this[_0x2498a7(0x383)]);this[_0x2498a7(0x38a)][_0x2498a7(0x581)](this['backgroundImage'],_0x42fa91,_0x55e165,Math[_0x2498a7(0x67f)](0x1,_0x31cbff),Math['max'](0x1,_0x1de543),_0x562ec0,_0x30eebd,_0x25d0f4,_0x392bc);}else this[_0x2498a7(0x38a)]['drawImage'](this[_0x2498a7(0x54b)],_0x562ec0,_0x30eebd,_0x25d0f4,_0x392bc);}this[_0x2498a7(0x38a)]['restore'](),this[_0x2498a7(0x38a)]['strokeStyle']=this[_0x2498a7(0x6b0)][_0x2498a7(0x33a)],this['ctx'][_0x2498a7(0x24f)]=this[_0x2498a7(0x6b0)][_0x2498a7(0x2a7)],this[_0x2498a7(0x38a)][_0x2498a7(0x689)](this[_0x2498a7(0x6b0)][_0x2498a7(0x2a7)]/0x2,this[_0x2498a7(0x6b0)][_0x2498a7(0x2a7)]/0x2,this['canvas'][_0x2498a7(0x5ed)]-this[_0x2498a7(0x6b0)][_0x2498a7(0x2a7)],this['canvas'][_0x2498a7(0x2bd)]-this[_0x2498a7(0x6b0)]['borderWidth']);}['calculateViewportRect'](){const _0x126a6e=_0x1f7a97,_0xe815b7=this['context'][_0x126a6e(0x4b6)]['clientWidth'],_0x3a384d=this[_0x126a6e(0x566)][_0x126a6e(0x4b6)][_0x126a6e(0x301)],_0x36f2b8=this[_0x126a6e(0x566)][_0x126a6e(0x478)],_0x2e32f0=this['context'][_0x126a6e(0x2b5)],_0xdc44b9=[{'x':0x0,'y':0x0},{'x':_0xe815b7,'y':0x0},{'x':_0xe815b7,'y':_0x3a384d},{'x':0x0,'y':_0x3a384d}];let _0x450793;if(this['context'][_0x126a6e(0x21c)]){const _0x397c0f=(this[_0x126a6e(0x566)][_0x126a6e(0x2aa)]||0x0)+Math['PI']/0x2;_0x450793=_0xdc44b9[_0x126a6e(0x65c)](_0x1394cf=>{const _0x246e1d=_0x126a6e,_0x3db20c=unprojectPointFrom3DView(_0x1394cf,{'width':_0xe815b7,'height':_0x3a384d},{'rotationZ':_0x397c0f,'perspectiveZ':this[_0x246e1d(0x566)][_0x246e1d(0x25d)]||0x0,'tiltX':this[_0x246e1d(0x566)]['tiltX']||0x0});return{'x':(_0x3db20c['x']*DPR2-_0x2e32f0['x'])/_0x36f2b8,'y':(_0x3db20c['y']*DPR2-_0x2e32f0['y'])/_0x36f2b8};});}else _0x450793=_0xdc44b9['map'](_0xdfbd2f=>({'x':(_0xdfbd2f['x']*DPR2-_0x2e32f0['x'])/_0x36f2b8,'y':(_0xdfbd2f['y']*DPR2-_0x2e32f0['y'])/_0x36f2b8}));const _0x4f8691=_0x450793[_0x126a6e(0x65c)](_0x247f8b=>_0x247f8b['x']),_0x4a412e=_0x450793[_0x126a6e(0x65c)](_0x4f4f10=>_0x4f4f10['y']),_0x18c51a=Math[_0x126a6e(0x19a)](..._0x4f8691),_0x55cd96=Math[_0x126a6e(0x67f)](..._0x4f8691),_0x57b4e2=Math[_0x126a6e(0x19a)](..._0x4a412e),_0x523b1a=Math['max'](..._0x4a412e),_0x2ecad7=_0x450793[_0x126a6e(0x65c)](_0x18a6c6=>({'x':this[_0x126a6e(0x65f)]+_0x18a6c6['x']*this[_0x126a6e(0x1cc)],'y':this[_0x126a6e(0x284)]+_0x18a6c6['y']*this[_0x126a6e(0x1cc)]}));return{'x':this[_0x126a6e(0x65f)]+_0x18c51a*this[_0x126a6e(0x1cc)],'y':this[_0x126a6e(0x284)]+_0x57b4e2*this[_0x126a6e(0x1cc)],'width':(_0x55cd96-_0x18c51a)*this[_0x126a6e(0x1cc)],'height':(_0x523b1a-_0x57b4e2)*this['contentScale'],'corners':_0x2ecad7};}['updateViewportIndicator'](){const _0x5d06de=_0x1f7a97;this[_0x5d06de(0x250)][_0x5d06de(0x53e)](0x0,0x0,this[_0x5d06de(0x6e5)][_0x5d06de(0x5ed)],this[_0x5d06de(0x6e5)][_0x5d06de(0x2bd)]);const _0x305087=this[_0x5d06de(0x46e)]();this[_0x5d06de(0x250)][_0x5d06de(0x50a)]();const _0x46a190=this[_0x5d06de(0x6b0)][_0x5d06de(0x5fd)],_0x4c1a55=Math[_0x5d06de(0x67f)](0x0,Math[_0x5d06de(0x19a)](0x1,this['config']['offscreenOpacity']));this[_0x5d06de(0x250)][_0x5d06de(0x50a)](),this[_0x5d06de(0x250)][_0x5d06de(0x459)]=_0x4c1a55,this[_0x5d06de(0x250)]['fillStyle']=_0x46a190;if(this[_0x5d06de(0x566)]['enable3DView']&&_0x305087['corners'][_0x5d06de(0x420)]===0x4){this[_0x5d06de(0x250)][_0x5d06de(0x372)](),this[_0x5d06de(0x250)][_0x5d06de(0x357)](0x0,0x0,this['overlayCanvas'][_0x5d06de(0x5ed)],this[_0x5d06de(0x6e5)][_0x5d06de(0x2bd)]),this[_0x5d06de(0x250)]['moveTo'](_0x305087['corners'][0x0]['x'],_0x305087['corners'][0x0]['y']);for(let _0x2d0e5f=0x1;_0x2d0e5f<_0x305087[_0x5d06de(0x339)]['length'];_0x2d0e5f++){this[_0x5d06de(0x250)]['lineTo'](_0x305087[_0x5d06de(0x339)][_0x2d0e5f]['x'],_0x305087[_0x5d06de(0x339)][_0x2d0e5f]['y']);}this[_0x5d06de(0x250)][_0x5d06de(0x642)](),this[_0x5d06de(0x250)][_0x5d06de(0x309)](_0x5d06de(0x365)),this[_0x5d06de(0x250)]['globalAlpha']=0x1,this[_0x5d06de(0x250)][_0x5d06de(0x663)]=this[_0x5d06de(0x6b0)][_0x5d06de(0x369)],this[_0x5d06de(0x250)][_0x5d06de(0x24f)]=0x2,this[_0x5d06de(0x250)][_0x5d06de(0x372)](),this[_0x5d06de(0x250)][_0x5d06de(0x6c6)](_0x305087[_0x5d06de(0x339)][0x0]['x'],_0x305087['corners'][0x0]['y']);for(let _0x299776=0x1;_0x299776<_0x305087['corners'][_0x5d06de(0x420)];_0x299776++){this[_0x5d06de(0x250)][_0x5d06de(0x1d7)](_0x305087[_0x5d06de(0x339)][_0x299776]['x'],_0x305087[_0x5d06de(0x339)][_0x299776]['y']);}this['overlayCtx'][_0x5d06de(0x642)](),this[_0x5d06de(0x250)][_0x5d06de(0x1a5)](),this[_0x5d06de(0x53b)](_0x305087);}else{this['overlayCtx'][_0x5d06de(0x6c9)](0x0,0x0,this[_0x5d06de(0x6e5)]['width'],Math[_0x5d06de(0x67f)](0x0,_0x305087['y']));const _0x4ab393=_0x305087['y']+_0x305087[_0x5d06de(0x2bd)];this[_0x5d06de(0x250)][_0x5d06de(0x6c9)](0x0,_0x4ab393,this['overlayCanvas']['width'],this[_0x5d06de(0x6e5)][_0x5d06de(0x2bd)]-_0x4ab393),this[_0x5d06de(0x250)][_0x5d06de(0x6c9)](0x0,_0x305087['y'],Math[_0x5d06de(0x67f)](0x0,_0x305087['x']),_0x305087['height']);const _0x4b11a7=_0x305087['x']+_0x305087['width'];this[_0x5d06de(0x250)][_0x5d06de(0x6c9)](_0x4b11a7,_0x305087['y'],this[_0x5d06de(0x6e5)][_0x5d06de(0x5ed)]-_0x4b11a7,_0x305087[_0x5d06de(0x2bd)]),this['overlayCtx'][_0x5d06de(0x459)]=0x1,this['overlayCtx'][_0x5d06de(0x663)]=this[_0x5d06de(0x6b0)][_0x5d06de(0x369)],this[_0x5d06de(0x250)][_0x5d06de(0x24f)]=0x2,this[_0x5d06de(0x250)][_0x5d06de(0x689)](_0x305087['x'],_0x305087['y'],_0x305087[_0x5d06de(0x5ed)],_0x305087[_0x5d06de(0x2bd)]),this[_0x5d06de(0x53b)](_0x305087);}this[_0x5d06de(0x250)]['restore'](),this[_0x5d06de(0x250)]['restore'](),this[_0x5d06de(0x6b0)][_0x5d06de(0x6a7)]&&this[_0x5d06de(0x3b1)]();}[_0x1f7a97(0x53b)](_0x1fa494){const _0x5140d3=_0x1f7a97;if(this[_0x5140d3(0x500)](_0x1fa494))return;const _0x55679f=this[_0x5140d3(0x566)][_0x5140d3(0x2aa)]||0x0;if(Math[_0x5140d3(0x572)](_0x55679f)<0.0001)return;const _0x1f595c=this[_0x5140d3(0x250)];let _0x1fc393,_0x5baaef;this['context'][_0x5140d3(0x21c)]&&_0x1fa494['corners']&&_0x1fa494[_0x5140d3(0x339)][_0x5140d3(0x420)]===0x4?(_0x1fc393=(_0x1fa494[_0x5140d3(0x339)][0x0]['x']+_0x1fa494[_0x5140d3(0x339)][0x1]['x']+_0x1fa494[_0x5140d3(0x339)][0x2]['x']+_0x1fa494[_0x5140d3(0x339)][0x3]['x'])/0x4,_0x5baaef=(_0x1fa494[_0x5140d3(0x339)][0x0]['y']+_0x1fa494['corners'][0x1]['y']+_0x1fa494[_0x5140d3(0x339)][0x2]['y']+_0x1fa494[_0x5140d3(0x339)][0x3]['y'])/0x4):(_0x1fc393=_0x1fa494['x']+_0x1fa494[_0x5140d3(0x5ed)]/0x2,_0x5baaef=_0x1fa494['y']+_0x1fa494[_0x5140d3(0x2bd)]/0x2);const _0x234996=Math['max'](0xa*DPR2,Math[_0x5140d3(0x19a)](_0x1fa494[_0x5140d3(0x5ed)],_0x1fa494['height'])*0.25),_0x175377=Math[_0x5140d3(0x67f)](0x3*DPR2,Math['min'](_0x1fa494[_0x5140d3(0x5ed)],_0x1fa494['height'])*0.12);_0x1f595c[_0x5140d3(0x50a)](),_0x1f595c[_0x5140d3(0x2b5)](_0x1fc393,_0x5baaef),_0x1f595c[_0x5140d3(0x522)](-_0x55679f),_0x1f595c[_0x5140d3(0x372)](),_0x1f595c[_0x5140d3(0x6c6)](0x0,0x0),_0x1f595c[_0x5140d3(0x1d7)](0x0,-_0x234996),_0x1f595c[_0x5140d3(0x663)]=this[_0x5140d3(0x6b0)][_0x5140d3(0x369)],_0x1f595c[_0x5140d3(0x24f)]=Math[_0x5140d3(0x67f)](0x2,1.5*DPR2),_0x1f595c['stroke'](),_0x1f595c['beginPath'](),_0x1f595c[_0x5140d3(0x6c6)](0x0,-_0x234996),_0x1f595c[_0x5140d3(0x1d7)](-_0x175377*0.5,-_0x234996+_0x175377),_0x1f595c[_0x5140d3(0x6c6)](0x0,-_0x234996),_0x1f595c[_0x5140d3(0x1d7)](_0x175377*0.5,-_0x234996+_0x175377),_0x1f595c[_0x5140d3(0x1a5)]();const _0xc89432=Math['abs'](this['context']['tiltX']||0x0);if(_0xc89432>0.001){const _0x1a5485=-_0x234996*0.4,_0xcd622e=Math[_0x5140d3(0x19a)](_0x234996*0.5,0x6*DPR2+_0xc89432*0x14);_0x1f595c[_0x5140d3(0x372)](),_0x1f595c['moveTo'](-_0xcd622e,_0x1a5485),_0x1f595c[_0x5140d3(0x1d7)](_0xcd622e,_0x1a5485),_0x1f595c[_0x5140d3(0x24f)]=Math[_0x5140d3(0x67f)](0x1,DPR2),_0x1f595c['strokeStyle']=_0x5140d3(0x380),_0x1f595c[_0x5140d3(0x1a5)]();}_0x1f595c[_0x5140d3(0x683)]();}[_0x1f7a97(0x500)](_0x5efc66){const _0x50444e=_0x1f7a97,_0x2e75ff=this[_0x50444e(0x6e5)]['width']*this[_0x50444e(0x6e5)][_0x50444e(0x2bd)];let _0x5bf83b;if(this['context'][_0x50444e(0x21c)]&&_0x5efc66[_0x50444e(0x339)]&&_0x5efc66[_0x50444e(0x339)][_0x50444e(0x420)]===0x4){const _0x268810=_0x5efc66[_0x50444e(0x339)];let _0xf0c9b3=0x0;for(let _0x4a9307=0x0;_0x4a9307<_0x268810[_0x50444e(0x420)];_0x4a9307++){const _0x22541f=_0x268810[_0x4a9307],_0x43cead=_0x268810[(_0x4a9307+0x1)%_0x268810[_0x50444e(0x420)]];_0xf0c9b3+=_0x22541f['x']*_0x43cead['y']-_0x43cead['x']*_0x22541f['y'];}_0x5bf83b=Math['abs'](_0xf0c9b3)/0x2;}else _0x5bf83b=Math[_0x50444e(0x67f)](0x0,_0x5efc66['width'])*Math[_0x50444e(0x67f)](0x0,_0x5efc66[_0x50444e(0x2bd)]);return _0x5bf83b>=_0x2e75ff*0.95;}['drawCartSeatPins'](){const _0x5c07fd=_0x1f7a97;var _0x1837e3,_0x3cc246,_0xe6ac6c;if(!this['context']['seats']||this[_0x5c07fd(0x566)][_0x5c07fd(0x555)][_0x5c07fd(0x420)]===0x0)return;const _0x4fe346=this[_0x5c07fd(0x250)],_0xd78fd0=this['context'][_0x5c07fd(0x1a3)][_0x5c07fd(0x389)],_0x32c6c2=Math[_0x5c07fd(0x67f)](0x1,DPR2),_0x557803=Math[_0x5c07fd(0x67f)](0x10*DPR2,0x14*DPR2),_0x55b06f=_MinimapLayer[_0x5c07fd(0x2f5)];for(const _0x2d8594 of this[_0x5c07fd(0x566)][_0x5c07fd(0x555)]){if(!this[_0x5c07fd(0x566)][_0x5c07fd(0x2ab)](_0x2d8594['id']))continue;const _0x477db9=_0x2d8594['x']*this[_0x5c07fd(0x46a)],_0x49d536=_0x2d8594['y']*this[_0x5c07fd(0x46a)],_0x45e8dd=_0x557803/_0x55b06f;_0x4fe346[_0x5c07fd(0x50a)](),_0x4fe346[_0x5c07fd(0x2b5)](_0x477db9,_0x49d536),_0x4fe346[_0x5c07fd(0x478)](_0x45e8dd,_0x45e8dd),_0x4fe346[_0x5c07fd(0x2b5)](-_0x55b06f/0x2,-_0x55b06f);const _0x2f9dc2=_0x2d8594[_0x5c07fd(0x479)]!==void 0x0&&((_0x1837e3=this[_0x5c07fd(0x566)][_0x5c07fd(0x51b)][Number(_0x2d8594[_0x5c07fd(0x479)])])==null?void 0x0:_0x1837e3[_0x5c07fd(0x231)])||((_0xe6ac6c=(_0x3cc246=_0xd78fd0==null?void 0x0:_0xd78fd0[_0x5c07fd(0x5cb)])==null?void 0x0:_0x3cc246['selected'])==null?void 0x0:_0xe6ac6c[_0x5c07fd(0x231)])||this[_0x5c07fd(0x6b0)][_0x5c07fd(0x369)]||_0x5c07fd(0x6ea);_0x4fe346[_0x5c07fd(0x438)]=_0x2f9dc2,_0x4fe346[_0x5c07fd(0x309)](_MinimapLayer[_0x5c07fd(0x34f)]),_0x4fe346[_0x5c07fd(0x24f)]=_0x32c6c2/_0x45e8dd,_0x4fe346[_0x5c07fd(0x663)]=this[_0x5c07fd(0x347)](_0x2f9dc2),_0x4fe346[_0x5c07fd(0x1a5)](_MinimapLayer[_0x5c07fd(0x34f)]),_0x4fe346[_0x5c07fd(0x683)]();}}[_0x1f7a97(0x347)](_0x2c8bad){const _0x5e291e=_0x1f7a97,_0x2a0ee4=this[_0x5e291e(0x2d1)](_0x2c8bad);if(!_0x2a0ee4)return _0x5e291e(0x5f6);const _0x5d48b4=0.2126*_0x2a0ee4['r']+0.7152*_0x2a0ee4['g']+0.0722*_0x2a0ee4['b'];return _0x5d48b4>0x8c?_0x5e291e(0x5f6):'#FFFFFF';}[_0x1f7a97(0x2d1)](_0x493bad){const _0x140c46=_0x1f7a97;if(!_0x493bad)return null;const _0x43b438=_0x493bad[_0x140c46(0x2f3)]();if(_0x43b438[0x0]==='#'){const _0x49ef52=_0x43b438[_0x140c46(0x283)](0x1);if(_0x49ef52[_0x140c46(0x420)]===0x3){const _0x382ca0=parseInt(_0x49ef52[0x0]+_0x49ef52[0x0],0x10),_0x390945=parseInt(_0x49ef52[0x1]+_0x49ef52[0x1],0x10),_0x468683=parseInt(_0x49ef52[0x2]+_0x49ef52[0x2],0x10);return{'r':_0x382ca0,'g':_0x390945,'b':_0x468683};}if(_0x49ef52['length']===0x6){const _0x67271f=parseInt(_0x49ef52[_0x140c46(0x283)](0x0,0x2),0x10),_0x2b1bbb=parseInt(_0x49ef52['slice'](0x2,0x4),0x10),_0x8d9f4d=parseInt(_0x49ef52[_0x140c46(0x283)](0x4,0x6),0x10);return{'r':_0x67271f,'g':_0x2b1bbb,'b':_0x8d9f4d};}}const _0x2d155d=_0x493bad[_0x140c46(0x33b)](/rgba?\((\d+)\s*,\s*(\d+)\s*,\s*(\d+)/i);if(_0x2d155d)return{'r':Number(_0x2d155d[0x1]),'g':Number(_0x2d155d[0x2]),'b':Number(_0x2d155d[0x3])};return null;}[_0x1f7a97(0x401)](_0x428899,_0x44e148,_0xe79199=![],_0x3fcdde=![]){const _0x4bf489=_0x1f7a97;var _0x58db95;const _0x444035=_0x428899/this['minimapScale'],_0x32039b=_0x44e148/this[_0x4bf489(0x46a)],_0xe6933b=this[_0x4bf489(0x566)][_0x4bf489(0x4b6)][_0x4bf489(0x6e7)],_0x2dd998=this[_0x4bf489(0x566)]['element'][_0x4bf489(0x301)],_0xa4b290=this[_0x4bf489(0x566)][_0x4bf489(0x478)],_0x7cc0a9={'x':-(_0x444035*_0xa4b290)+_0xe6933b*DPR2/0x2,'y':-(_0x32039b*_0xa4b290)+_0x2dd998*DPR2/0x2};if(_0x3fcdde&&this[_0x4bf489(0x397)]){const _0x2f2738=(_0x58db95=this[_0x4bf489(0x566)][_0x4bf489(0x5de)])==null?void 0x0:_0x58db95[_0x4bf489(0x1ad)],_0x4c6825=_0x2f2738?{'x':_0x2f2738['x']+_0x444035,'y':_0x2f2738['y']+_0x32039b}:{'x':_0x444035,'y':_0x32039b};this[_0x4bf489(0x397)][_0x4bf489(0x5d1)](_0x4c6825,this['context'][_0x4bf489(0x1a3)][_0x4bf489(0x1ce)]);}else this[_0x4bf489(0x566)]['translate']=_0x7cc0a9,this[_0x4bf489(0x3f6)]();}['scheduleUpdate'](){const _0x4f0b4d=_0x1f7a97;if(this['animationFrameId']!==null)return;this[_0x4f0b4d(0x381)]=requestAnimationFrame(()=>{const _0x2c3063=_0x4f0b4d;this[_0x2c3063(0x381)]=null,this[_0x2c3063(0x6bf)](),this[_0x2c3063(0x566)][_0x2c3063(0x1a3)][_0x2c3063(0x346)]&&this[_0x2c3063(0x566)]['settings'][_0x2c3063(0x346)]({'x':0x0,'y':0x0},!![]);});}[_0x1f7a97(0x445)](){const _0x22d241=_0x1f7a97,_0x22a791=_0x20420d=>{const _0x547a3d=_0x18e5;_0x20420d[_0x547a3d(0x50f)](),_0x20420d[_0x547a3d(0x1f0)]();};this['canvas'][_0x22d241(0x274)]('click',this[_0x22d241(0x685)]),this[_0x22d241(0x5cd)][_0x22d241(0x274)](_0x22d241(0x4ad),this[_0x22d241(0x1e1)]),this['canvas']['addEventListener'](_0x22d241(0x664),_0x22a791),this['canvas'][_0x22d241(0x274)](_0x22d241(0x6d9),_0x22a791),this[_0x22d241(0x5cd)][_0x22d241(0x274)](_0x22d241(0x26d),_0x22a791),this[_0x22d241(0x5cd)]['addEventListener']('pointerdown',_0x22a791),this['canvas'][_0x22d241(0x274)]('pointerup',_0x22a791),this[_0x22d241(0x5cd)][_0x22d241(0x274)](_0x22d241(0x3eb),_0x22a791),this[_0x22d241(0x5cd)][_0x22d241(0x274)](_0x22d241(0x4f4),_0x22a791,{'passive':![]}),this[_0x22d241(0x5cd)][_0x22d241(0x274)](_0x22d241(0x64d),_0x22a791,{'passive':![]}),this[_0x22d241(0x5cd)]['addEventListener'](_0x22d241(0x3ce),_0x22a791,{'passive':![]}),this[_0x22d241(0x6e5)][_0x22d241(0x274)](_0x22d241(0x4c1),this[_0x22d241(0x685)]),this[_0x22d241(0x6e5)][_0x22d241(0x274)]('mousedown',this['handleMouseDown']),this[_0x22d241(0x6e5)][_0x22d241(0x274)](_0x22d241(0x664),_0x22a791),this['overlayCanvas'][_0x22d241(0x274)]('mouseup',_0x22a791),this['overlayCanvas'][_0x22d241(0x274)](_0x22d241(0x26d),_0x22a791),this['overlayCanvas']['addEventListener'](_0x22d241(0x39b),_0x22a791),this['overlayCanvas'][_0x22d241(0x274)](_0x22d241(0x202),_0x22a791),this[_0x22d241(0x6e5)][_0x22d241(0x274)]('pointermove',_0x22a791),this[_0x22d241(0x6e5)][_0x22d241(0x274)](_0x22d241(0x4f4),_0x22a791,{'passive':![]}),this['overlayCanvas'][_0x22d241(0x274)](_0x22d241(0x64d),_0x22a791,{'passive':![]}),this[_0x22d241(0x6e5)]['addEventListener']('touchend',_0x22a791,{'passive':![]}),window[_0x22d241(0x274)](_0x22d241(0x664),this[_0x22d241(0x52f)]),window['addEventListener'](_0x22d241(0x6d9),this[_0x22d241(0x1a4)]);}[_0x1f7a97(0x312)](){const _0x3eef53=_0x1f7a97,_0x3cccbe=_0x4a5107=>{const _0x272882=_0x18e5;_0x4a5107[_0x272882(0x50f)](),_0x4a5107[_0x272882(0x1f0)]();};this['canvas'][_0x3eef53(0x693)](_0x3eef53(0x4c1),this[_0x3eef53(0x685)]),this['canvas']['removeEventListener']('mousedown',this[_0x3eef53(0x1e1)]),this[_0x3eef53(0x5cd)][_0x3eef53(0x693)](_0x3eef53(0x664),_0x3cccbe),this['canvas'][_0x3eef53(0x693)](_0x3eef53(0x6d9),_0x3cccbe),this['canvas'][_0x3eef53(0x693)](_0x3eef53(0x26d),_0x3cccbe),this['canvas'][_0x3eef53(0x693)]('pointerdown',_0x3cccbe),this[_0x3eef53(0x5cd)][_0x3eef53(0x693)](_0x3eef53(0x202),_0x3cccbe),this['canvas'][_0x3eef53(0x693)](_0x3eef53(0x3eb),_0x3cccbe),this[_0x3eef53(0x5cd)][_0x3eef53(0x693)](_0x3eef53(0x4f4),_0x3cccbe),this[_0x3eef53(0x5cd)][_0x3eef53(0x693)](_0x3eef53(0x64d),_0x3cccbe),this[_0x3eef53(0x5cd)]['removeEventListener'](_0x3eef53(0x3ce),_0x3cccbe),this[_0x3eef53(0x6e5)][_0x3eef53(0x693)](_0x3eef53(0x4c1),this[_0x3eef53(0x685)]),this[_0x3eef53(0x6e5)][_0x3eef53(0x693)](_0x3eef53(0x4ad),this['handleMouseDown']),this['overlayCanvas']['removeEventListener'](_0x3eef53(0x664),_0x3cccbe),this['overlayCanvas'][_0x3eef53(0x693)](_0x3eef53(0x6d9),_0x3cccbe),this[_0x3eef53(0x6e5)][_0x3eef53(0x693)](_0x3eef53(0x26d),_0x3cccbe),this[_0x3eef53(0x6e5)][_0x3eef53(0x693)](_0x3eef53(0x39b),_0x3cccbe),this[_0x3eef53(0x6e5)][_0x3eef53(0x693)](_0x3eef53(0x202),_0x3cccbe),this[_0x3eef53(0x6e5)]['removeEventListener'](_0x3eef53(0x3eb),_0x3cccbe),this[_0x3eef53(0x6e5)]['removeEventListener'](_0x3eef53(0x4f4),_0x3cccbe),this[_0x3eef53(0x6e5)]['removeEventListener'](_0x3eef53(0x64d),_0x3cccbe),this['overlayCanvas']['removeEventListener'](_0x3eef53(0x3ce),_0x3cccbe),window[_0x3eef53(0x693)](_0x3eef53(0x664),this[_0x3eef53(0x52f)]),window[_0x3eef53(0x693)](_0x3eef53(0x6d9),this[_0x3eef53(0x1a4)]);}['show'](){const _0x5c29ba=_0x1f7a97;this[_0x5c29ba(0x5cd)]['style'][_0x5c29ba(0x3b8)]=_0x5c29ba(0x70a),this[_0x5c29ba(0x6e5)][_0x5c29ba(0x71e)][_0x5c29ba(0x3b8)]='block';}[_0x1f7a97(0x6f1)](){const _0x57115=_0x1f7a97;this[_0x57115(0x5cd)][_0x57115(0x71e)][_0x57115(0x3b8)]='none',this[_0x57115(0x6e5)][_0x57115(0x71e)]['display']=_0x57115(0x26f);}[_0x1f7a97(0x384)](_0x4b5e3c){const _0x26d4d1=_0x1f7a97;this[_0x26d4d1(0x6b0)]['position']=_0x4b5e3c,this[_0x26d4d1(0x240)]();}[_0x1f7a97(0x379)](_0x4ca5c6){const _0x1d1a3d=_0x1f7a97;this['config'][_0x1d1a3d(0x6a7)]=_0x4ca5c6,this[_0x1d1a3d(0x6bf)]();}['destroy'](){const _0x3956ce=_0x1f7a97;this[_0x3956ce(0x381)]!==null&&(cancelAnimationFrame(this['animationFrameId']),this[_0x3956ce(0x381)]=null),this[_0x3956ce(0x312)](),this['ctx']['clearRect'](0x0,0x0,this['canvas'][_0x3956ce(0x5ed)],this[_0x3956ce(0x5cd)][_0x3956ce(0x2bd)]),this['overlayCtx'][_0x3956ce(0x53e)](0x0,0x0,this['overlayCanvas'][_0x3956ce(0x5ed)],this[_0x3956ce(0x6e5)][_0x3956ce(0x2bd)]),this[_0x3956ce(0x5cd)][_0x3956ce(0x606)](),this[_0x3956ce(0x6e5)]['remove'](),this['backgroundImage']=null;}};_MinimapLayer[_0x1f7a97(0x34f)]=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[_0x1f7a97(0x2f5)]=425.963;var MinimapLayer=_MinimapLayer,addPoints=(_0x2d9b69,_0x1fe910)=>{return{'x':_0x2d9b69['x']+_0x1fe910['x'],'y':_0x2d9b69['y']+_0x1fe910['y']};},subPoints=(_0x1f43bc,_0x945cb)=>{return{'x':_0x1f43bc['x']-_0x945cb['x'],'y':_0x1f43bc['y']-_0x945cb['y']};};import _0x4683ea from'hammerjs';var sortPrices=_0x591183=>_0x591183['sort'](priceComparator),convertPricesToColored=(_0x64f82a,_0x36fec7)=>{const _0x3c8a72=_0x1f7a97;if(!_0x64f82a)return[];const _0x40f941=getColorSequence(_0x36fec7,_0x64f82a[_0x3c8a72(0x420)]);return _0x64f82a[_0x3c8a72(0x50d)](priceComparator)['map']((_0x2dd1d8,_0xca21d5)=>({..._0x2dd1d8,'color':_0x40f941[_0xca21d5]}));},convertPricesToColoredById=(_0x14bdd4,_0x2afaa4)=>{const _0x3aaab1=_0x1f7a97,_0x5185bd={};return convertPricesToColored(_0x14bdd4,_0x2afaa4)[_0x3aaab1(0x34d)](_0x1b0413=>{const {id:_0x2ad515,name:_0x476347,color:_0x1949b6}=_0x1b0413;_0x5185bd[_0x2ad515]={'id':_0x2ad515,'name':_0x476347,'color':_0x1949b6};}),_0x5185bd;},priceComparator=(_0x27a437,_0x21f349)=>{const _0x10be85=_0x1f7a97;if(_0x27a437['name']===_0x21f349[_0x10be85(0x503)])return 0x0;const _0x4d3433=parseInt(_0x27a437[_0x10be85(0x503)]),_0x43500f=parseInt(_0x21f349[_0x10be85(0x503)]);if(isFinite(_0x4d3433)&&isFinite(_0x43500f)){if(_0x4d3433===_0x43500f)return _0x27a437[_0x10be85(0x503)]>_0x21f349[_0x10be85(0x503)]?0x1:-0x1;return _0x4d3433>_0x43500f?0x1:-0x1;}else{if(isFinite(_0x4d3433)&&!isFinite(_0x43500f))return-0x1;else return!isFinite(_0x4d3433)&&isFinite(_0x43500f)?0x1:_0x27a437[_0x10be85(0x503)]>_0x21f349[_0x10be85(0x503)]?0x1:-0x1;}},getColorSequence=(_0x190525,_0x30a301)=>{const _0x23ecbf=_0x1f7a97;if(!_0x30a301)return[];for(let _0x121e75=0x0;_0x121e75<_0x190525[_0x23ecbf(0x420)];_0x121e75++){if(_0x190525[_0x121e75][_0x23ecbf(0x420)]===_0x30a301)return _0x190525[_0x121e75];}const _0x3e9df6=_0x190525[0x0],_0x2e7bb1=[];for(let _0x4b52c1=0x0;_0x4b52c1<_0x30a301;_0x4b52c1++){const _0x32c63a=Math[_0x23ecbf(0x3d5)](_0x4b52c1*_0x3e9df6[_0x23ecbf(0x420)]/_0x30a301);_0x2e7bb1[_0x23ecbf(0x51f)](_0x190525[0x0][_0x32c63a]);}return _0x2e7bb1;};import{debounce}from'throttle-debounce';import{interpret}from'robot3';var getSeatsWithPrices=(_0x807f6e,_0x206e52,_0xc0eb06)=>{const _0x28e653=_0x1f7a97,_0x25386e=getPriceIdAndSpecialBySeatId(_0x206e52[_0x28e653(0x555)]);return _0x807f6e[_0x28e653(0x65c)](_0x2b368a=>{const _0xb2d5c1=_0x28e653,_0x20832d=_0x25386e[_0x2b368a['id']]&&_0x25386e[_0x2b368a['id']]['priceId'],_0x27defd=_0x25386e[_0x2b368a['id']]&&_0x25386e[_0x2b368a['id']][_0xb2d5c1(0x3c5)],_0x25d31a=_0x20832d&&_0x206e52[_0xb2d5c1(0x592)]['length']?_0xc0eb06[_0x20832d][_0xb2d5c1(0x231)]:void 0x0;return{..._0x2b368a,'priceId':_0x20832d,'color':_0x25d31a,'special':_0x27defd};});},getSectorsWithPrices=(_0x294076,_0x353959,_0x3b053a)=>{const _0x456c9f=_0x1f7a97,_0x468c33=getPriceIdAndSpecialBySectorId(_0x353959['groupOfSeats']);return _0x294076[_0x456c9f(0x65c)](_0x3992f1=>{const _0x597c8a=_0x456c9f,_0x3c641a=_0x468c33[_0x3992f1['id']]&&_0x468c33[_0x3992f1['id']]['priceId'],_0xa384c6=_0x3c641a&&_0x353959['prices'][_0x597c8a(0x420)]?_0x3b053a[_0x3c641a]['color']:void 0x0,_0x2343d8=_0x468c33[_0x3992f1['id']]&&_0x468c33[_0x3992f1['id']]['special'];return{..._0x3992f1,'priceId':_0x3c641a,'color':_0xa384c6,'special':_0x2343d8};});},getPriceIdAndSpecialBySeatId=_0x4aad2c=>{const _0x354425=_0x1f7a97,_0x3bd3ab={};return _0x4aad2c&&_0x4aad2c[_0x354425(0x34d)](_0x4a959f=>_0x3bd3ab[_0x4a959f[0x0]]={'priceId':_0x4a959f[0x1],'special':_0x4a959f[0x2]}),_0x3bd3ab;},getPriceIdAndSpecialBySectorId=_0x4abcf1=>{const _0x37accf=_0x1f7a97,_0x7319f={};return _0x4abcf1&&_0x4abcf1[_0x37accf(0x34d)](_0x4a3d6a=>_0x7319f[_0x4a3d6a[0x0]]={'priceId':_0x4a3d6a[0x1],'special':_0x4a3d6a[0x3]}),_0x7319f;},Background_default='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}',Background_default2=_0x1f7a97(0x1aa),Seats_default=_0x1f7a97(0x483),Seats_default2='#ifdef\x20GL_OES_standard_derivatives\x0a#extension\x20GL_OES_standard_derivatives\x20:\x20enable\x0a#endif\x0aprecision\x20highp\x20float;\x0a\x0avarying\x20vec4\x20fragColor;\x0avarying\x20float\x20v_iconsTypes;\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}',Overlay_default=_0x1f7a97(0x48f),Overlay_default2=_0x1f7a97(0x58f),GLBase=class{constructor(){const _0x1d5758=_0x1f7a97;this[_0x1d5758(0x5cd)]=document['createElement'](_0x1d5758(0x5cd)),this[_0x1d5758(0x5cd)][_0x1d5758(0x71e)][_0x1d5758(0x5bb)]=_0x1d5758(0x492),this[_0x1d5758(0x5cd)][_0x1d5758(0x71e)][_0x1d5758(0x1a2)]='0',this[_0x1d5758(0x5cd)]['setAttribute']('id',_0x1d5758(0x3f4));}[_0x1f7a97(0x593)](_0x287c07,_0x55fa57){const _0x3f4f5f=_0x1f7a97,_0x3b8c90=this[_0x3f4f5f(0x38a)]['createShader'](_0x287c07);if(!_0x3b8c90)throw new Error(_0x3f4f5f(0x3fa));this[_0x3f4f5f(0x38a)][_0x3f4f5f(0x55b)](_0x3b8c90,_0x55fa57),this[_0x3f4f5f(0x38a)][_0x3f4f5f(0x678)](_0x3b8c90);if(!this[_0x3f4f5f(0x38a)][_0x3f4f5f(0x6be)](_0x3b8c90,this[_0x3f4f5f(0x38a)]['COMPILE_STATUS'])){const _0x39022b=this[_0x3f4f5f(0x38a)][_0x3f4f5f(0x5b4)](_0x3b8c90);console[_0x3f4f5f(0x62b)](_0x3f4f5f(0x6aa),_0x39022b),this[_0x3f4f5f(0x38a)][_0x3f4f5f(0x271)](_0x3b8c90);throw new Error(_0x3f4f5f(0x308));}return _0x3b8c90;}['createImageVertexShader'](){const _0x38d760=_0x1f7a97;return this[_0x38d760(0x593)](this['ctx'][_0x38d760(0x36f)],Background_default);}[_0x1f7a97(0x415)](){const _0x467b37=_0x1f7a97;return this[_0x467b37(0x593)](this['ctx'][_0x467b37(0x6fc)],Background_default2);}[_0x1f7a97(0x19b)](){const _0x1dbeb5=_0x1f7a97;return this[_0x1dbeb5(0x593)](this[_0x1dbeb5(0x38a)][_0x1dbeb5(0x36f)],Seats_default);}[_0x1f7a97(0x6a5)](){const _0x567c94=_0x1f7a97;return this[_0x567c94(0x593)](this['ctx'][_0x567c94(0x6fc)],Seats_default2);}[_0x1f7a97(0x227)](){const _0x40f388=_0x1f7a97;return this[_0x40f388(0x593)](this['ctx'][_0x40f388(0x36f)],Overlay_default);}[_0x1f7a97(0x2bf)](){const _0x45c566=_0x1f7a97;return this[_0x45c566(0x593)](this[_0x45c566(0x38a)][_0x45c566(0x6fc)],Overlay_default2);}[_0x1f7a97(0x3a7)](_0x3d0497,_0xc08cc9){const _0x2f829d=_0x1f7a97,_0x3f0c81=this[_0x2f829d(0x38a)]['createProgram']();this[_0x2f829d(0x38a)][_0x2f829d(0x2ff)](_0x3f0c81,_0x3d0497),this[_0x2f829d(0x38a)][_0x2f829d(0x2ff)](_0x3f0c81,_0xc08cc9),this[_0x2f829d(0x38a)]['linkProgram'](_0x3f0c81);if(!this[_0x2f829d(0x38a)][_0x2f829d(0x42a)](_0x3f0c81,this[_0x2f829d(0x38a)][_0x2f829d(0x4b5)])){console[_0x2f829d(0x62b)](_0x2f829d(0x6c3),this[_0x2f829d(0x38a)][_0x2f829d(0x276)](_0x3f0c81)),this[_0x2f829d(0x38a)]['deleteProgram'](_0x3f0c81);throw new Error('Program\x20linking\x20failed');}return _0x3f0c81;}},showAtlas=_0x27e455=>{const _0x460b5d=_0x1f7a97,_0x42089d=document[_0x460b5d(0x26e)](_0x460b5d(0x6c1));_0x42089d[_0x460b5d(0x71e)][_0x460b5d(0x5bb)]=_0x460b5d(0x352),_0x42089d[_0x460b5d(0x71e)][_0x460b5d(0x5ae)]=_0x460b5d(0x1c2),_0x42089d[_0x460b5d(0x71e)][_0x460b5d(0x6e9)]=_0x460b5d(0x430),_0x42089d[_0x460b5d(0x71e)][_0x460b5d(0x5ed)]=_0x460b5d(0x3a0),_0x42089d[_0x460b5d(0x71e)][_0x460b5d(0x3d4)]=_0x460b5d(0x2e1),_0x42089d[_0x460b5d(0x71e)][_0x460b5d(0x1a2)]=_0x460b5d(0x2e1),_0x42089d[_0x460b5d(0x71e)]['transform']=_0x460b5d(0x23f),_0x27e455[_0x460b5d(0x71e)][_0x460b5d(0x5ed)]=_0x460b5d(0x34b),_0x27e455[_0x460b5d(0x71e)][_0x460b5d(0x2bd)]=_0x460b5d(0x34b),_0x27e455[_0x460b5d(0x71e)][_0x460b5d(0x3b8)]=_0x460b5d(0x70a),_0x42089d['appendChild'](_0x27e455),document['body']['appendChild'](_0x42089d);},initializeIconAtlas=async(_0x28df97,_0x11bdb7,_0x66406f,_0x56dd7b=![])=>{const _0x30e895=_0x1f7a97;if(!_0x28df97||Object['keys'](_0x28df97)['length']===0x0)return{'texture':null,'width':0x0,'height':0x0};const _0x3ebbad=document['createElement'](_0x30e895(0x5cd)),_0x1d9a00=_0x3ebbad[_0x30e895(0x1b8)]('2d'),_0x4a041b=0x10,_0x5e5399=0x3,_0x55dfec=_0x4a041b*_0x5e5399,_0x898a14=0x1,_0x6cfff0=0x14,_0x2dc94f=Object['entries'](_0x28df97)[_0x30e895(0x65c)](([_0x7fdb9c,_0x9edd11],_0x1b9a98)=>({'name':_0x7fdb9c,'svg':_0x9edd11,'index':_0x1b9a98})),_0x2b2774=_0x2dc94f[_0x30e895(0x420)];_0x3ebbad[_0x30e895(0x5ed)]=_0x55dfec*_0x2b2774+(_0x2b2774-0x1)*(_0x898a14+_0x6cfff0)+_0x898a14*0x2+_0x6cfff0*0x2,_0x3ebbad['height']=_0x55dfec+_0x898a14*0x2;let _0x38d688=_0x6cfff0+_0x898a14;for(const {name:_0x5c9716,svg:_0x78df25}of _0x2dc94f){const _0x42fa66=await svgToBase64(_0x78df25),_0x4dcd4d=new Image();_0x4dcd4d['src']=_0x42fa66,await new Promise(_0x49a1c5=>{const _0x563582=_0x30e895;_0x4dcd4d[_0x563582(0x27b)]=_0x49a1c5;});const _0x203f88=_0x4dcd4d['width'],_0x2720be=_0x4dcd4d[_0x30e895(0x2bd)],_0x2b7667=_0x55dfec/Math[_0x30e895(0x67f)](_0x203f88,_0x2720be),_0x4dfbd5=Math[_0x30e895(0x3d5)](_0x203f88*_0x2b7667),_0x265c0c=Math['round'](_0x2720be*_0x2b7667),_0x28109c=_0x38d688+Math[_0x30e895(0x20a)]((_0x55dfec-_0x4dfbd5)/0x2),_0x3d8686=_0x898a14+Math[_0x30e895(0x20a)]((_0x55dfec-_0x265c0c)/0x2);_0x1d9a00['drawImage'](_0x4dcd4d,_0x28109c,_0x3d8686,_0x4dfbd5,_0x265c0c),_0x11bdb7[_0x30e895(0x68a)](_0x5c9716,{'x':_0x38d688/_0x3ebbad['width'],'y':_0x898a14/_0x3ebbad['height'],'width':_0x55dfec/_0x3ebbad[_0x30e895(0x5ed)],'height':_0x55dfec/_0x3ebbad['height']}),_0x38d688+=_0x55dfec+_0x898a14+_0x6cfff0;}_0x56dd7b&&showAtlas(_0x3ebbad);const _0x20aa64=_0x66406f[_0x30e895(0x36b)]();if(!_0x20aa64)return{'texture':null,'width':_0x3ebbad['width'],'height':_0x3ebbad[_0x30e895(0x2bd)]};_0x66406f['bindTexture'](_0x66406f[_0x30e895(0x49e)],_0x20aa64),_0x66406f[_0x30e895(0x6b5)](_0x66406f[_0x30e895(0x49e)],0x0,_0x66406f[_0x30e895(0x22d)],_0x66406f[_0x30e895(0x22d)],_0x66406f['UNSIGNED_BYTE'],_0x3ebbad);const _0x73dda2=[{'pname':_0x66406f[_0x30e895(0x1dc)],'param':_0x66406f['LINEAR']},{'pname':_0x66406f[_0x30e895(0x23d)],'param':_0x66406f[_0x30e895(0x464)]},{'pname':_0x66406f[_0x30e895(0x29f)],'param':_0x66406f[_0x30e895(0x4a4)]},{'pname':_0x66406f['TEXTURE_WRAP_T'],'param':_0x66406f[_0x30e895(0x4a4)]}];return _0x73dda2[_0x30e895(0x34d)](({pname:_0x5b45dd,param:_0x31b517})=>{const _0x334be4=_0x30e895;_0x66406f[_0x334be4(0x391)](_0x66406f[_0x334be4(0x49e)],_0x5b45dd,_0x31b517);}),{'texture':_0x20aa64,'width':_0x3ebbad[_0x30e895(0x5ed)],'height':_0x3ebbad[_0x30e895(0x2bd)]};},RESERVED_ICON_VALUES={'accessible':0x1,'marked':0.8,'default':0.4,'unavailable':0x0};function generateIconValues(_0xa2e3e6){const _0x855d5c=_0x1f7a97,_0x2ed82e={...RESERVED_ICON_VALUES};if(!Array['isArray'](_0xa2e3e6)||_0xa2e3e6[_0x855d5c(0x420)]===0x0)return _0x2ed82e;const _0x4a6bda=_0xa2e3e6['filter'](_0x3f5367=>!Object['prototype'][_0x855d5c(0x4ce)][_0x855d5c(0x453)](RESERVED_ICON_VALUES,_0x3f5367))['sort']();let _0x5406db=0.55;const _0x5e6b53=0.03;for(let _0x5b5965=0x0;_0x5b5965<_0x4a6bda[_0x855d5c(0x420)];_0x5b5965++){_0x2ed82e[_0x4a6bda[_0x5b5965]]=_0x5406db,_0x5406db=Math['min'](_0x5406db+_0x5e6b53,0.97);}return _0x2ed82e;}var VisibilityManager=class{constructor(_0x4bf5a2){const _0x2d9c5a=_0x1f7a97;this[_0x2d9c5a(0x649)]=_0x4bf5a2[_0x2d9c5a(0x1a3)]['visibilitySettings'];}[_0x1f7a97(0x51e)](_0x320dc9){const _0x579935=_0x1f7a97;return{'outline':{'selectable':this[_0x579935(0x4e1)](_0x320dc9),'visible':this[_0x579935(0x6d1)](_0x320dc9)},'seat':{'selectable':this[_0x579935(0x3c7)](_0x320dc9),'visible':this['isSeatVisible'](_0x320dc9)}};}['isSeatSelectable'](_0x1657b8){const _0x1cc869=_0x1f7a97;return this[_0x1cc869(0x2f8)](_0x1657b8,_0x1cc869(0x555),_0x1cc869(0x3e3));}[_0x1f7a97(0x60c)](_0x159fb7){const _0x4693cd=_0x1f7a97;return this['validate'](_0x159fb7,_0x4693cd(0x555),_0x4693cd(0x620));}[_0x1f7a97(0x4e1)](_0x482896){const _0x315c63=_0x1f7a97;return this[_0x315c63(0x2f8)](_0x482896,_0x315c63(0x468),_0x315c63(0x3e3));}[_0x1f7a97(0x6d1)](_0x58c941){const _0x225a2e=_0x1f7a97;return this[_0x225a2e(0x2f8)](_0x58c941,_0x225a2e(0x468),'visible');}[_0x1f7a97(0x2f8)](_0x364eb4,_0x2c94d7,_0x5d339c){const _0x2dea34=_0x1f7a97;var _0x37eb3f,_0x82f7dc,_0x4d2e78,_0x242259;if(!((_0x82f7dc=(_0x37eb3f=this['visibilitySettings'])==null?void 0x0:_0x37eb3f[_0x2c94d7])==null?void 0x0:_0x82f7dc[_0x5d339c]))return!![];const _0x396061=(_0x242259=(_0x4d2e78=this[_0x2dea34(0x649)])==null?void 0x0:_0x4d2e78[_0x2c94d7])==null?void 0x0:_0x242259[_0x5d339c];return((_0x396061==null?void 0x0:_0x396061[_0x2dea34(0x65b)])||0x0)*DPR<=_0x364eb4&&_0x364eb4<((_0x396061==null?void 0x0:_0x396061['to'])||0x14)*DPR;}},Rows_default=_0x1f7a97(0x4c5),Rows_default2=_0x1f7a97(0x313),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':_0x1f7a97(0x4d5)},'sectionView':{'interaction':_0x1f7a97(0x26f)},'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':_0x1f7a97(0x555)},'rowView':{'displayed':!![],'clickable':!![],'colorCoding':!![],'showDetailedInfo':!![],'showRowNumber':!![],'interaction':'rows'},'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':_0x1f7a97(0x641)},'rowView':{'displayed':!![],'clickable':![],'colorCoding':!![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x1f7a97(0x641)},'sectionView':{'interaction':_0x1f7a97(0x641),'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':_0x1f7a97(0x641)},'sectionView':{'interaction':_0x1f7a97(0x641),'colorCodingTiedToPrice':![],'nameUsesSectionColor':!![]},'rowsOpacityAlpha':0.3,'notes':_0x1f7a97(0x2e8)},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':_0x1f7a97(0x641)},'rowView':{'displayed':!![],'clickable':![],'colorCoding':!![],'showDetailedInfo':![],'showRowNumber':![],'interaction':'section'},'sectionView':{'interaction':_0x1f7a97(0x641),'colorCodingTiedToPrice':![],'nameUsesSectionColor':!![]},'rowsOpacityAlpha':0.32,'notes':'Possibly\x20remove\x20price-based\x20color\x20indication\x20at\x20this\x20scale'},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':_0x1f7a97(0x641)},'rowView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x1f7a97(0x641)},'sectionView':{'interaction':'section','colorCodingTiedToPrice':![],'nameUsesSectionColor':!![]},'rowsOpacityAlpha':0.35,'notes':_0x1f7a97(0x393)},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':_0x1f7a97(0x641)},'rowView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x1f7a97(0x641)},'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':'section'},'rowView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x1f7a97(0x641)},'sectionView':{'interaction':_0x1f7a97(0x641),'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':_0x1f7a97(0x641)},'rowView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x1f7a97(0x641)},'sectionView':{'interaction':_0x1f7a97(0x641),'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':_0x1f7a97(0x641)},'rowView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x1f7a97(0x641)},'sectionView':{'interaction':_0x1f7a97(0x641),'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':'section'},'rowView':{'displayed':![],'clickable':![],'colorCoding':![],'showDetailedInfo':![],'showRowNumber':![],'interaction':_0x1f7a97(0x641)},'sectionView':{'interaction':_0x1f7a97(0x641),'colorCodingTiedToPrice':![],'nameUsesSectionColor':!![]},'rowsOpacityAlpha':0.35}},AVAILABLE_SCALES=Object[_0x1f7a97(0x238)](SCALE_PARAMETERS)[_0x1f7a97(0x65c)](_0x35035f=>Number(_0x35035f))['sort']((_0x28db81,_0x2514c7)=>_0x28db81-_0x2514c7);function getScaleParameters(_0x31ba42){return SCALE_PARAMETERS[_0x31ba42];}var RowsRenderer=class{constructor(_0x2c3765,_0x554ab9,_0x5855a6,_0x24e9a2){const _0x387f51=_0x1f7a97;this['rowsProgram']=null,this['rows_a_position']=-0x1,this[_0x387f51(0x42f)]=null,this[_0x387f51(0x633)]=null,this[_0x387f51(0x289)]=null,this[_0x387f51(0x710)]=null,this[_0x387f51(0x321)]=null,this[_0x387f51(0x35d)]=null,this['rows_perspectiveZ']=null,this[_0x387f51(0x456)]=null,this[_0x387f51(0x55c)]=null,this[_0x387f51(0x28f)]=null,this[_0x387f51(0x2bb)]=[],this[_0x387f51(0x50c)]=0xf,this['rowsColorRgba']=[0x9/0xff,0x58/0xff,0xd9/0xff,0.18],this[_0x387f51(0x45b)]=null,this['rowsPolylinesVersionBuilt']=-0x1,this[_0x387f51(0x725)]=-0x1,this[_0x387f51(0x653)]=!![],this['ctx']=_0x2c3765,this[_0x387f51(0x631)]=_0x554ab9,this['getStageWidthPx']=_0x5855a6,this[_0x387f51(0x2d3)]=_0x24e9a2,this['initializeProgram']();}[_0x1f7a97(0x6d0)](_0xd0fff9,_0x380a82){const _0x5adca0=_0x1f7a97;if(!this[_0x5adca0(0x27f)])return;this['rowsVisibleAtScale']=this[_0x5adca0(0x2fe)](_0xd0fff9);if(!this[_0x5adca0(0x653)])return;const _0x26d283=this[_0x5adca0(0x304)](_0xd0fff9);typeof _0x26d283===_0x5adca0(0x1f7)&&!Number[_0x5adca0(0x1ae)](_0x26d283)&&(this[_0x5adca0(0x50c)]=_0x26d283);const _0x7e679e=this[_0x5adca0(0x1c1)]();(this['rowsGeometryBuiltForScale']!==_0xd0fff9||this[_0x5adca0(0x198)]!==(this[_0x5adca0(0x631)][_0x5adca0(0x307)]||0x0)||this['rowsLockedSignatureBuilt']!==_0x7e679e)&&(this['buildRowsGeometry'](_0xd0fff9),this[_0x5adca0(0x45b)]=_0xd0fff9,this[_0x5adca0(0x198)]=this[_0x5adca0(0x631)][_0x5adca0(0x307)]||0x0,this['rowsLockedSignatureBuilt']=_0x7e679e);if(!this[_0x5adca0(0x28f)]||this[_0x5adca0(0x2bb)]['length']===0x0)return;this[_0x5adca0(0x38a)][_0x5adca0(0x594)](this[_0x5adca0(0x27f)]),this[_0x5adca0(0x38a)]['bindBuffer'](this[_0x5adca0(0x38a)][_0x5adca0(0x716)],this[_0x5adca0(0x28f)]),this[_0x5adca0(0x38a)][_0x5adca0(0x4a5)](this[_0x5adca0(0x38a)][_0x5adca0(0x716)],new Float32Array(this[_0x5adca0(0x2bb)]),this['ctx'][_0x5adca0(0x627)]),this['ctx'][_0x5adca0(0x292)](this[_0x5adca0(0x1d5)]),this[_0x5adca0(0x38a)][_0x5adca0(0x1b0)](this[_0x5adca0(0x1d5)],0x2,this[_0x5adca0(0x38a)][_0x5adca0(0x31b)],![],0x0,0x0),this[_0x5adca0(0x38a)][_0x5adca0(0x684)](this[_0x5adca0(0x289)],_0xd0fff9),this[_0x5adca0(0x38a)][_0x5adca0(0x269)](this['rows_translate'],_0x380a82['x'],_0x380a82['y']),this[_0x5adca0(0x38a)][_0x5adca0(0x684)](this[_0x5adca0(0x42f)],this['getStageWidthPx']()),this['ctx'][_0x5adca0(0x684)](this[_0x5adca0(0x633)],this[_0x5adca0(0x2d3)]()),this['ctx'][_0x5adca0(0x586)](this[_0x5adca0(0x321)],this[_0x5adca0(0x631)][_0x5adca0(0x21c)]?0x1:0x0),this[_0x5adca0(0x38a)][_0x5adca0(0x684)](this[_0x5adca0(0x35d)],this[_0x5adca0(0x631)][_0x5adca0(0x2aa)]),this[_0x5adca0(0x38a)][_0x5adca0(0x684)](this['rows_perspectiveZ'],this['appContext'][_0x5adca0(0x25d)]),this[_0x5adca0(0x38a)][_0x5adca0(0x684)](this[_0x5adca0(0x456)],this[_0x5adca0(0x631)]['tiltX']);const _0x26925d=this[_0x5adca0(0x258)](_0xd0fff9);this[_0x5adca0(0x38a)]['uniform4f'](this[_0x5adca0(0x55c)],this[_0x5adca0(0x257)][0x0],this[_0x5adca0(0x257)][0x1],this[_0x5adca0(0x257)][0x2],_0x26925d),this['enableAlphaBlending'](),this['ctx'][_0x5adca0(0x617)](this[_0x5adca0(0x38a)]['TRIANGLES'],0x0,this['rowsVertices']['length']/0x2);}[_0x1f7a97(0x5ee)](_0x5d21af){const _0x220a17=_0x1f7a97;if(!AVAILABLE_SCALES||AVAILABLE_SCALES[_0x220a17(0x420)]===0x0)return null;let _0x12f5e0=AVAILABLE_SCALES[0x0],_0x2e1b90=Math[_0x220a17(0x572)](_0x5d21af-_0x12f5e0);for(let _0x41b60=0x1;_0x41b60<AVAILABLE_SCALES[_0x220a17(0x420)];_0x41b60++){const _0x4dd4ef=AVAILABLE_SCALES[_0x41b60],_0x5d3970=Math[_0x220a17(0x572)](_0x5d21af-_0x4dd4ef);_0x5d3970<_0x2e1b90&&(_0x12f5e0=_0x4dd4ef,_0x2e1b90=_0x5d3970);}return _0x12f5e0;}[_0x1f7a97(0x2fe)](_0x5155bf){const _0x28db9a=_0x1f7a97;var _0xcc0794;if(_0x5155bf<0.25)return!![];const _0x87d158=this[_0x28db9a(0x5ee)](_0x5155bf);if(_0x87d158==null)return!![];const _0x41cd53=getScaleParameters(_0x87d158);return(_0xcc0794=_0x41cd53==null?void 0x0:_0x41cd53['rowView'][_0x28db9a(0x1fd)])!=null?_0xcc0794:!![];}['getRowWidthForScale'](_0x3e34f8){const _0x3ac683=_0x1f7a97;var _0x55b2a3;const _0x2f6f25=this[_0x3ac683(0x5ee)](_0x3e34f8);if(_0x2f6f25==null)return null;const _0x3dc2bd=getScaleParameters(_0x2f6f25);return(_0x55b2a3=_0x3dc2bd==null?void 0x0:_0x3dc2bd[_0x3ac683(0x686)]['rowWidthPx'])!=null?_0x55b2a3:null;}[_0x1f7a97(0x258)](_0x515fcc){const _0x40970c=_0x1f7a97;if(_0x515fcc<0.25)return 0x1;const _0x33e2dd=0.25,_0x268b61=0x1,_0x41b144=Math['max'](_0x33e2dd,Math['min'](_0x268b61,_0x515fcc)),_0x234685=(_0x41b144-_0x33e2dd)/(_0x268b61-_0x33e2dd),_0x34c728=0x1,_0x36e6cb=0.4,_0x546b91=_0x34c728+(_0x36e6cb-_0x34c728)*_0x234685;return Math[_0x40970c(0x67f)](0x0,Math[_0x40970c(0x19a)](0x1,_0x546b91));}[_0x1f7a97(0x63c)](){const _0x354b87=_0x1f7a97,_0xafe744=this[_0x354b87(0x593)](this['ctx'][_0x354b87(0x36f)],Rows_default),_0x35f432=this[_0x354b87(0x593)](this[_0x354b87(0x38a)][_0x354b87(0x6fc)],Rows_default2);this[_0x354b87(0x27f)]=this['createProgram'](_0xafe744,_0x35f432),this[_0x354b87(0x1d5)]=this[_0x354b87(0x38a)][_0x354b87(0x5eb)](this[_0x354b87(0x27f)],_0x354b87(0x474)),this[_0x354b87(0x42f)]=this[_0x354b87(0x38a)][_0x354b87(0x1b4)](this[_0x354b87(0x27f)],_0x354b87(0x5f5)),this['rows_stageHeight']=this[_0x354b87(0x38a)][_0x354b87(0x1b4)](this[_0x354b87(0x27f)],_0x354b87(0x5fc)),this[_0x354b87(0x289)]=this[_0x354b87(0x38a)]['getUniformLocation'](this[_0x354b87(0x27f)],_0x354b87(0x478)),this[_0x354b87(0x710)]=this[_0x354b87(0x38a)][_0x354b87(0x1b4)](this[_0x354b87(0x27f)],_0x354b87(0x2b5)),this[_0x354b87(0x321)]=this['ctx'][_0x354b87(0x1b4)](this['rowsProgram'],'u_enable3DView'),this['rows_rotationZ']=this[_0x354b87(0x38a)][_0x354b87(0x1b4)](this[_0x354b87(0x27f)],'u_rotationZ'),this[_0x354b87(0x457)]=this['ctx'][_0x354b87(0x1b4)](this['rowsProgram'],'u_perspectiveZ'),this[_0x354b87(0x456)]=this['ctx'][_0x354b87(0x1b4)](this[_0x354b87(0x27f)],_0x354b87(0x299)),this[_0x354b87(0x55c)]=this[_0x354b87(0x38a)]['getUniformLocation'](this['rowsProgram'],'u_color'),this[_0x354b87(0x28f)]=this[_0x354b87(0x38a)][_0x354b87(0x724)]();}[_0x1f7a97(0x609)](_0x4a6910){const _0x365c08=_0x1f7a97;var _0x5d792a,_0x420c6e,_0x14030e,_0x2ddc9e,_0xc8532f,_0x355365,_0x17a451,_0x1fc243,_0x2fb403,_0x3718d1,_0xe7dea8,_0x34944a;this[_0x365c08(0x2bb)]=[];const _0x45af69=(_0x5628d4,_0x3f874b,_0x6b4efa,_0x5875b1,_0x520e16)=>{const _0x31a5c6=_0x6b4efa-_0x5628d4,_0x2389b3=_0x5875b1-_0x3f874b,_0x1f33c5=Math['sqrt'](_0x31a5c6*_0x31a5c6+_0x2389b3*_0x2389b3);if(_0x1f33c5===0x0)return;const _0x1dedf1=-_0x2389b3/_0x1f33c5,_0x30c25d=_0x31a5c6/_0x1f33c5,_0xd4bcb8=_0x1dedf1*_0x520e16,_0x4f194c=_0x30c25d*_0x520e16;this['rowsVertices']['push'](_0x5628d4+_0xd4bcb8,_0x3f874b+_0x4f194c,_0x6b4efa+_0xd4bcb8,_0x5875b1+_0x4f194c,_0x6b4efa-_0xd4bcb8,_0x5875b1-_0x4f194c,_0x5628d4+_0xd4bcb8,_0x3f874b+_0x4f194c,_0x6b4efa-_0xd4bcb8,_0x5875b1-_0x4f194c,_0x5628d4-_0xd4bcb8,_0x3f874b-_0x4f194c);},_0x289ef9=(_0x1d5680,_0xe6f9b6,_0x4f5e95,_0x18ee7c,_0x20ee4f,_0x55cbf0)=>{const _0xa1452a=_0x365c08,_0x59a4eb=Math[_0xa1452a(0x49f)](_0x4f5e95*_0x4f5e95+_0x18ee7c*_0x18ee7c)||0x1,_0x4a48e6=_0x4f5e95/_0x59a4eb,_0x4c48bb=_0x18ee7c/_0x59a4eb,_0x19e9c5=Math[_0xa1452a(0x27e)](_0x4c48bb,_0x4a48e6)+(_0x55cbf0?Math['PI']:0x0),_0x3ded28=_0x19e9c5-Math['PI']/0x2,_0x4de13a=_0x19e9c5+Math['PI']/0x2,_0x410138=Math[_0xa1452a(0x67f)](0x8,Math[_0xa1452a(0x19a)](0x18,Math[_0xa1452a(0x624)](_0x20ee4f))),_0x5464f1=(_0x4de13a-_0x3ded28)/_0x410138;for(let _0x2e0581=0x0;_0x2e0581<_0x410138;_0x2e0581++){const _0x4246d1=_0x3ded28+_0x2e0581*_0x5464f1,_0x394327=_0x3ded28+(_0x2e0581+0x1)*_0x5464f1,_0x2753ec=_0x1d5680+Math[_0xa1452a(0x40f)](_0x4246d1)*_0x20ee4f,_0x47bf92=_0xe6f9b6+Math[_0xa1452a(0x5e6)](_0x4246d1)*_0x20ee4f,_0x523ff4=_0x1d5680+Math[_0xa1452a(0x40f)](_0x394327)*_0x20ee4f,_0x11a219=_0xe6f9b6+Math[_0xa1452a(0x5e6)](_0x394327)*_0x20ee4f;this[_0xa1452a(0x2bb)][_0xa1452a(0x51f)](_0x1d5680,_0xe6f9b6,_0x2753ec,_0x47bf92,_0x523ff4,_0x11a219);}},_0x304aa1=(_0xc8532f=(_0x2ddc9e=(_0x14030e=(_0x420c6e=(_0x5d792a=this[_0x365c08(0x631)][_0x365c08(0x1a3)])==null?void 0x0:_0x5d792a[_0x365c08(0x389)])==null?void 0x0:_0x420c6e[_0x365c08(0x5cb)])==null?void 0x0:_0x14030e[_0x365c08(0x63a)])==null?void 0x0:_0x2ddc9e[_0x365c08(0x5b9)])!=null?_0xc8532f:0x6,_0x175039=Math[_0x365c08(0x67f)](_0x304aa1/0x2,this[_0x365c08(0x50c)]),_0x3af720=(_0x3718d1=(_0x2fb403=(_0x355365=this['appContext'][_0x365c08(0x1a3)])==null?void 0x0:_0x355365['rowsGridStep'])!=null?_0x2fb403:(_0x1fc243=(_0x17a451=this[_0x365c08(0x631)][_0x365c08(0x1a3)])==null?void 0x0:_0x17a451['theme'])==null?void 0x0:_0x1fc243[_0x365c08(0x496)])!=null?_0x3718d1:0xe,_0x4dcacf=(_0x34944a=(_0xe7dea8=this['appContext'][_0x365c08(0x1a3)])==null?void 0x0:_0xe7dea8['rowsMinGapPx'])!=null?_0x34944a:0x2,_0x3f19a3=Math[_0x365c08(0x67f)](_0x4a6910,0.001),_0x1c8ae3=_0x3af720*0x2*_0x3f19a3,_0x2ce024=Math[_0x365c08(0x67f)](0x0,(_0x1c8ae3-_0x4dcacf)/0x2);if(this[_0x365c08(0x631)][_0x365c08(0x337)]&&this[_0x365c08(0x631)][_0x365c08(0x337)][_0x365c08(0x420)]){const _0x288c10=_0x3af720,_0x2b794b=(_0x1d1078,_0x29fcdd,_0x4f26d2,_0x1f5010)=>{const _0x3ca7f7=_0x365c08;var _0x569cc1;const _0x46578f=(_0x1d1078+_0x4f26d2)/0x2,_0x47ae19=(_0x29fcdd+_0x1f5010)/0x2,_0x494506=((_0x569cc1=this[_0x3ca7f7(0x631)][_0x3ca7f7(0x6ee)])==null?void 0x0:_0x569cc1[_0x3ca7f7(0x280)](_0x46578f,_0x47ae19,_0x288c10))||[];for(let _0x57de57=0x0;_0x57de57<_0x494506['length'];_0x57de57++){const _0x2e3983=this[_0x3ca7f7(0x631)][_0x3ca7f7(0x555)][_0x494506[_0x57de57]];if(this[_0x3ca7f7(0x3d1)](_0x2e3983))return!![];}return![];};this[_0x365c08(0x631)][_0x365c08(0x337)][_0x365c08(0x34d)](_0x415a40=>{const _0x4cabc5=_0x365c08;var _0x16dac9;if(!_0x415a40['points']||_0x415a40[_0x4cabc5(0x494)][_0x4cabc5(0x420)]<0x2)return;const _0x185967=(_0x16dac9=_0x415a40[_0x4cabc5(0x4ff)])!=null?_0x16dac9:this[_0x4cabc5(0x50c)],_0x30418a=Math[_0x4cabc5(0x19a)](_0x185967,_0x175039,_0x2ce024),_0x382ef8=_0x30418a*0.15,_0x578910=Math['max'](_0x4a6910,0.001),_0x52f87f=_0x30418a/_0x578910,_0x3de354=_0x382ef8/_0x578910;for(let _0x46efb7=0x0;_0x46efb7<_0x415a40[_0x4cabc5(0x494)]['length']-0x1;_0x46efb7++){const _0x589bd7=_0x415a40[_0x4cabc5(0x494)][_0x46efb7],_0x549bec=_0x415a40[_0x4cabc5(0x494)][_0x46efb7+0x1],_0x4a43e6=_0x2b794b(_0x589bd7['x'],_0x589bd7['y'],_0x549bec['x'],_0x549bec['y']);_0x45af69(_0x589bd7['x'],_0x589bd7['y'],_0x549bec['x'],_0x549bec['y'],_0x4a43e6?_0x3de354:_0x52f87f);}const _0x37e8d1=_0x415a40['points'][0x0],_0x24d01e=_0x415a40[_0x4cabc5(0x494)][0x1],_0x4f357f=_0x415a40['points'][_0x415a40[_0x4cabc5(0x494)][_0x4cabc5(0x420)]-0x2],_0x55c5ac=_0x415a40['points'][_0x415a40['points']['length']-0x1],_0x4a1c23=_0x2b794b(_0x37e8d1['x'],_0x37e8d1['y'],_0x24d01e['x'],_0x24d01e['y']),_0x1c8561=_0x2b794b(_0x4f357f['x'],_0x4f357f['y'],_0x55c5ac['x'],_0x55c5ac['y']);_0x289ef9(_0x37e8d1['x'],_0x37e8d1['y'],_0x24d01e['x']-_0x37e8d1['x'],_0x24d01e['y']-_0x37e8d1['y'],_0x4a1c23?_0x3de354:_0x52f87f,!![]),_0x289ef9(_0x55c5ac['x'],_0x55c5ac['y'],_0x55c5ac['x']-_0x4f357f['x'],_0x55c5ac['y']-_0x4f357f['y'],_0x1c8561?_0x3de354:_0x52f87f,![]);});}else{if(this[_0x365c08(0x631)][_0x365c08(0x35c)]){const _0x405182=Math[_0x365c08(0x19a)](this[_0x365c08(0x50c)],_0x175039,_0x2ce024),_0x2d0319=_0x405182*0.15,_0x38be36=Math[_0x365c08(0x67f)](_0x4a6910,0.001),_0x536b4e=_0x405182/_0x38be36,_0x43f0b3=_0x2d0319/_0x38be36,_0x3cf1c1=this[_0x365c08(0x631)][_0x365c08(0x35c)];for(const _0x1cb4b7 in _0x3cf1c1){const _0x200180=_0x3cf1c1[_0x1cb4b7];if(!_0x200180||_0x200180[_0x365c08(0x420)]<0x2)continue;const _0x714a46=_0x200180[_0x365c08(0x283)]()[_0x365c08(0x50d)]((_0x576a59,_0x2ab872)=>_0x576a59['x']-_0x2ab872['x']);for(let _0xf987d5=0x0;_0xf987d5<_0x714a46[_0x365c08(0x420)]-0x1;_0xf987d5++){const _0x21cd76=_0x714a46[_0xf987d5],_0x52d44c=_0x714a46[_0xf987d5+0x1],_0x493890=this['isSeatUnavailable'](_0x21cd76)||this['isSeatUnavailable'](_0x52d44c),_0x4947f4=_0x493890?_0x43f0b3:_0x536b4e;_0x45af69(_0x21cd76['x'],_0x21cd76['y'],_0x52d44c['x'],_0x52d44c['y'],_0x4947f4);}const _0x2639b8=_0x714a46[0x0],_0x22dd1b=_0x714a46[0x1],_0x4e26ca=_0x714a46[_0x714a46[_0x365c08(0x420)]-0x2],_0xa06b84=_0x714a46[_0x714a46[_0x365c08(0x420)]-0x1],_0x1c548b=this[_0x365c08(0x3d1)](_0x2639b8)||this[_0x365c08(0x3d1)](_0x22dd1b),_0x530519=this[_0x365c08(0x3d1)](_0xa06b84)||this[_0x365c08(0x3d1)](_0x4e26ca);_0x289ef9(_0x2639b8['x'],_0x2639b8['y'],_0x22dd1b['x']-_0x2639b8['x'],_0x22dd1b['y']-_0x2639b8['y'],_0x1c548b?_0x43f0b3:_0x536b4e,!![]),_0x289ef9(_0xa06b84['x'],_0xa06b84['y'],_0xa06b84['x']-_0x4e26ca['x'],_0xa06b84['y']-_0x4e26ca['y'],_0x530519?_0x43f0b3:_0x536b4e,![]);}}}if(!this['rowsBuffer'])this[_0x365c08(0x28f)]=this[_0x365c08(0x38a)]['createBuffer']();}[_0x1f7a97(0x593)](_0x3136d3,_0x2fd177){const _0x232469=_0x1f7a97,_0x22d579=this[_0x232469(0x38a)][_0x232469(0x593)](_0x3136d3);return this[_0x232469(0x38a)][_0x232469(0x55b)](_0x22d579,_0x2fd177),this[_0x232469(0x38a)]['compileShader'](_0x22d579),_0x22d579;}[_0x1f7a97(0x3a7)](_0x23ba02,_0x4fa564){const _0x1ba2a2=_0x1f7a97,_0x4fbb1=this[_0x1ba2a2(0x38a)]['createProgram']();return this[_0x1ba2a2(0x38a)][_0x1ba2a2(0x2ff)](_0x4fbb1,_0x23ba02),this[_0x1ba2a2(0x38a)][_0x1ba2a2(0x2ff)](_0x4fbb1,_0x4fa564),this[_0x1ba2a2(0x38a)][_0x1ba2a2(0x253)](_0x4fbb1),_0x4fbb1;}[_0x1f7a97(0x28c)](){const _0x196e79=_0x1f7a97;this[_0x196e79(0x38a)][_0x196e79(0x297)](this[_0x196e79(0x38a)]['BLEND']),this[_0x196e79(0x38a)][_0x196e79(0x35a)](this[_0x196e79(0x38a)][_0x196e79(0x60d)],this[_0x196e79(0x38a)]['ONE_MINUS_SRC_ALPHA']);}['isSeatUnavailable'](_0x36bbe4){const _0x49bba9=_0x1f7a97;return!!((_0x36bbe4==null?void 0x0:_0x36bbe4[_0x49bba9(0x6c7)])||(_0x36bbe4==null?void 0x0:_0x36bbe4['state'])===_0x49bba9(0x67c)||!(_0x36bbe4==null?void 0x0:_0x36bbe4['priceId']));}['getLockedSeatsSignature'](){const _0x47065c=_0x1f7a97,_0x5318cb=this[_0x47065c(0x631)][_0x47065c(0x555)]||[];let _0x255ec1=0x811c9dc5>>>0x0;for(let _0x1f1856=0x0;_0x1f1856<_0x5318cb[_0x47065c(0x420)];_0x1f1856++){const _0x40bc1e=_0x5318cb[_0x1f1856];if(!this[_0x47065c(0x3d1)](_0x40bc1e))continue;let _0x5858fe=_0x40bc1e['id']>>>0x0;_0x255ec1^=_0x5858fe&0xff,_0x255ec1=Math[_0x47065c(0x278)](_0x255ec1,0x1000193),_0x255ec1^=_0x5858fe>>>0x8&0xff,_0x255ec1=Math[_0x47065c(0x278)](_0x255ec1,0x1000193),_0x255ec1^=_0x5858fe>>>0x10&0xff,_0x255ec1=Math[_0x47065c(0x278)](_0x255ec1,0x1000193),_0x255ec1^=_0x5858fe>>>0x18&0xff,_0x255ec1=Math[_0x47065c(0x278)](_0x255ec1,0x1000193);}return _0x255ec1>>>0x0;}},OverlayRenderer=class{constructor(_0x168814,_0x42c233,_0x365526,_0x38b8b8){const _0x188531=_0x1f7a97;this[_0x188531(0x21b)]=null,this[_0x188531(0x474)]=-0x1,this[_0x188531(0x5dc)]=-0x1,this[_0x188531(0x5d2)]=-0x1,this[_0x188531(0x34a)]=-0x1,this[_0x188531(0x480)]=-0x1,this[_0x188531(0x4c9)]=-0x1,this[_0x188531(0x4ea)]=-0x1,this['a_selectedStart']=-0x1,this[_0x188531(0x2cf)]=-0x1,this[_0x188531(0x449)]=null,this[_0x188531(0x377)]=null,this[_0x188531(0x394)]=null,this['u_translate']=null,this[_0x188531(0x1e9)]=null,this[_0x188531(0x59c)]=null,this[_0x188531(0x26b)]=null,this[_0x188531(0x299)]=null,this[_0x188531(0x21e)]=null,this[_0x188531(0x3a2)]=null,this[_0x188531(0x3d7)]=null,this[_0x188531(0x4e2)]=null,this[_0x188531(0x265)]=null,this['u_loadingUV']=null,this[_0x188531(0x70c)]=null,this[_0x188531(0x600)]=null,this[_0x188531(0x1a8)]=null,this[_0x188531(0x5be)]=null,this['buffer']=null,this[_0x188531(0x4bc)]=null,this[_0x188531(0x1d1)]=new Map(),this[_0x188531(0x38a)]=_0x168814,this['appContext']=_0x42c233,this[_0x188531(0x502)]=_0x365526,this[_0x188531(0x2d3)]=_0x38b8b8,this[_0x188531(0x63c)]();}['setIconsData'](_0x22e007,_0xe98d1b){const _0x102cd0=_0x1f7a97;this[_0x102cd0(0x4bc)]=_0x22e007,this[_0x102cd0(0x1d1)]=_0xe98d1b;}[_0x1f7a97(0x6d0)](_0x5879c3,_0x1f350c){const _0x46ce39=_0x1f7a97;var _0x175e82,_0x208ef2,_0x18c558,_0x4b270d,_0x266a97,_0x331e78,_0x3eab3c,_0x65d9db,_0x2b6a02,_0x2dc352,_0x1bcccc,_0x8daf28,_0xe610,_0x48e415,_0x8f43f3,_0x2d0f8b,_0x2190ca,_0x5736ca,_0x20129e,_0x1660b4;if(!this[_0x46ce39(0x21b)])return;const _0x5bc537=[],_0x3f0363=this['appContext'][_0x46ce39(0x1a3)][_0x46ce39(0x389)],_0x4e4407=(_0x208ef2=(_0x175e82=_0x3f0363==null?void 0x0:_0x3f0363[_0x46ce39(0x5cb)])==null?void 0x0:_0x175e82['selected'])==null?void 0x0:_0x208ef2[_0x46ce39(0x5b9)],_0x37978f=(_0x4b270d=(_0x18c558=_0x3f0363==null?void 0x0:_0x3f0363[_0x46ce39(0x5cb)])==null?void 0x0:_0x18c558[_0x46ce39(0x2fa)])==null?void 0x0:_0x4b270d[_0x46ce39(0x5b9)],_0x14e0f7=(_0x331e78=(_0x266a97=_0x3f0363==null?void 0x0:_0x3f0363[_0x46ce39(0x5cb)])==null?void 0x0:_0x266a97[_0x46ce39(0x2e3)])==null?void 0x0:_0x331e78['size'],_0xe62f31=(_0x65d9db=(_0x3eab3c=_0x3f0363==null?void 0x0:_0x3f0363[_0x46ce39(0x5cb)])==null?void 0x0:_0x3eab3c[_0x46ce39(0x62b)])==null?void 0x0:_0x65d9db[_0x46ce39(0x5b9)],_0x47abf4=Object['entries'](this[_0x46ce39(0x631)]['pricesById']||{}),_0x3bf974={};for(let _0x2bbb25=0x0;_0x2bbb25<_0x47abf4[_0x46ce39(0x420)];_0x2bbb25++){const _0xbd2dd0=Number(_0x47abf4[_0x2bbb25][0x0]);_0x3bf974[_0xbd2dd0]=_0x2bbb25;}const _0x15adb1=new Set(this[_0x46ce39(0x631)][_0x46ce39(0x2c6)]&&this[_0x46ce39(0x631)][_0x46ce39(0x2c6)]()['map'](_0x1bc94e=>_0x1bc94e['id'])||[]),_0x34d8e7=new Set();if(this[_0x46ce39(0x631)]['hoveredRow'])(((_0x2b6a02=this[_0x46ce39(0x631)][_0x46ce39(0x35c)])==null?void 0x0:_0x2b6a02[this['appContext'][_0x46ce39(0x6c4)]['id']])||[])['forEach'](_0x5e282=>_0x34d8e7[_0x46ce39(0x47f)](_0x5e282['id']));else this['appContext']['hoveredSeat']&&_0x34d8e7['add'](this[_0x46ce39(0x631)][_0x46ce39(0x5a4)]['id']);const _0x2ad6ea=performance[_0x46ce39(0x37d)]()/0x3e8,_0x2df6c4=0.3;for(let _0x2054c4=0x0;_0x2054c4<this[_0x46ce39(0x631)][_0x46ce39(0x555)][_0x46ce39(0x420)];_0x2054c4++){const _0x349d36=this['appContext'][_0x46ce39(0x555)][_0x2054c4],_0x12e435=_0x15adb1['has'](_0x349d36['id'])?0x1:0x0,_0x27cac9=_0x34d8e7[_0x46ce39(0x260)](_0x349d36['id'])?0x1:0x0,_0x4c6761=_0x349d36[_0x46ce39(0x61f)]===_0x46ce39(0x2e3)?0x1:0x0,_0x14ca56=_0x349d36['state']===_0x46ce39(0x62b)?0x1:0x0,_0x5916ef=(_0x2dc352=this['appContext']['_deselectedAt'])==null?void 0x0:_0x2dc352[_0x349d36['id']],_0x19dd8e=!_0x12e435&&!_0x4c6761&&_0x5916ef?_0x5916ef/0x3e8:-0x1,_0x3b8da1=_0x19dd8e>=0x0&&_0x2ad6ea-_0x19dd8e<_0x2df6c4;if(_0x12e435||_0x27cac9||_0x4c6761||_0x14ca56||_0x3b8da1){const _0x1a83bf=_0x12e435?_0x4e4407!=null?_0x4e4407:0x6:_0x27cac9?_0x37978f!=null?_0x37978f:0x6:_0x4c6761?_0x14e0f7!=null?_0x14e0f7:0x6:(_0x1bcccc=_0xe62f31!=null?_0xe62f31:_0x4e4407)!=null?_0x1bcccc:0x6,_0x2365d8=(_0x8daf28=this[_0x46ce39(0x631)]['_selectedAt'])==null?void 0x0:_0x8daf28[_0x349d36['id']],_0x4cfd6d=_0x2365d8?_0x2365d8/0x3e8:-0x1,_0x40d311=_0x349d36['priceId']!==void 0x0&&_0x349d36[_0x46ce39(0x479)]!==null?(_0xe610=_0x3bf974[Number(_0x349d36[_0x46ce39(0x479)])])!=null?_0xe610:-0x1:-0x1;_0x5bc537[_0x46ce39(0x51f)](_0x349d36['x'],_0x349d36['y'],_0x1a83bf,_0x12e435,_0x27cac9,_0x4c6761,_0x14ca56,_0x40d311,_0x4cfd6d,_0x19dd8e);}}if(_0x5bc537['length']>0x0){if(!this['buffer'])this['buffer']=this['ctx'][_0x46ce39(0x724)]();this[_0x46ce39(0x38a)]['bindBuffer'](this[_0x46ce39(0x38a)]['ARRAY_BUFFER'],this[_0x46ce39(0x23e)]),this[_0x46ce39(0x38a)][_0x46ce39(0x4a5)](this[_0x46ce39(0x38a)]['ARRAY_BUFFER'],new Float32Array(_0x5bc537),this[_0x46ce39(0x38a)]['DYNAMIC_DRAW']),this[_0x46ce39(0x38a)][_0x46ce39(0x594)](this['program']);const _0x3b0a04=0xa,_0x37245e=_0x3b0a04*0x4;this[_0x46ce39(0x38a)][_0x46ce39(0x292)](this[_0x46ce39(0x474)]),this['ctx']['vertexAttribPointer'](this['a_position'],0x2,this['ctx']['FLOAT'],![],_0x37245e,0x0),this[_0x46ce39(0x38a)][_0x46ce39(0x292)](this[_0x46ce39(0x5dc)]),this[_0x46ce39(0x38a)][_0x46ce39(0x1b0)](this[_0x46ce39(0x5dc)],0x1,this[_0x46ce39(0x38a)][_0x46ce39(0x31b)],![],_0x37245e,0x2*0x4),this[_0x46ce39(0x38a)][_0x46ce39(0x292)](this[_0x46ce39(0x5d2)]),this[_0x46ce39(0x38a)][_0x46ce39(0x1b0)](this[_0x46ce39(0x5d2)],0x1,this['ctx'][_0x46ce39(0x31b)],![],_0x37245e,0x3*0x4),this[_0x46ce39(0x38a)]['enableVertexAttribArray'](this['a_hovered']),this['ctx'][_0x46ce39(0x1b0)](this[_0x46ce39(0x34a)],0x1,this[_0x46ce39(0x38a)][_0x46ce39(0x31b)],![],_0x37245e,0x4*0x4),this[_0x46ce39(0x38a)]['enableVertexAttribArray'](this[_0x46ce39(0x480)]),this[_0x46ce39(0x38a)][_0x46ce39(0x1b0)](this[_0x46ce39(0x480)],0x1,this[_0x46ce39(0x38a)][_0x46ce39(0x31b)],![],_0x37245e,0x5*0x4),this[_0x46ce39(0x38a)][_0x46ce39(0x292)](this[_0x46ce39(0x4c9)]),this[_0x46ce39(0x38a)][_0x46ce39(0x1b0)](this[_0x46ce39(0x4c9)],0x1,this[_0x46ce39(0x38a)]['FLOAT'],![],_0x37245e,0x6*0x4),this[_0x46ce39(0x38a)][_0x46ce39(0x292)](this[_0x46ce39(0x4ea)]),this['ctx'][_0x46ce39(0x1b0)](this[_0x46ce39(0x4ea)],0x1,this[_0x46ce39(0x38a)][_0x46ce39(0x31b)],![],_0x37245e,0x7*0x4),this[_0x46ce39(0x38a)][_0x46ce39(0x292)](this[_0x46ce39(0x4af)]),this['ctx'][_0x46ce39(0x1b0)](this['a_selectedStart'],0x1,this[_0x46ce39(0x38a)]['FLOAT'],![],_0x37245e,0x8*0x4),this['ctx'][_0x46ce39(0x292)](this[_0x46ce39(0x2cf)]),this[_0x46ce39(0x38a)][_0x46ce39(0x1b0)](this[_0x46ce39(0x2cf)],0x1,this[_0x46ce39(0x38a)][_0x46ce39(0x31b)],![],_0x37245e,0x9*0x4),this[_0x46ce39(0x38a)][_0x46ce39(0x684)](this[_0x46ce39(0x394)],_0x5879c3),this[_0x46ce39(0x38a)][_0x46ce39(0x269)](this[_0x46ce39(0x3c2)],_0x1f350c['x'],_0x1f350c['y']),this[_0x46ce39(0x38a)]['uniform1f'](this[_0x46ce39(0x449)],this[_0x46ce39(0x502)]()),this[_0x46ce39(0x38a)][_0x46ce39(0x684)](this[_0x46ce39(0x377)],this[_0x46ce39(0x2d3)]()),this['ctx'][_0x46ce39(0x586)](this[_0x46ce39(0x1e9)],this[_0x46ce39(0x631)][_0x46ce39(0x21c)]?0x1:0x0),this[_0x46ce39(0x38a)][_0x46ce39(0x684)](this[_0x46ce39(0x59c)],this[_0x46ce39(0x631)][_0x46ce39(0x2aa)]),this['ctx']['uniform1f'](this[_0x46ce39(0x26b)],this['appContext'][_0x46ce39(0x25d)]),this['ctx'][_0x46ce39(0x684)](this['u_tiltX'],this[_0x46ce39(0x631)][_0x46ce39(0x695)]),this['ctx'][_0x46ce39(0x684)](this[_0x46ce39(0x3a2)],performance['now']()/0x3e8),this[_0x46ce39(0x38a)][_0x46ce39(0x684)](this[_0x46ce39(0x3d7)],0.3);const _0x5c94ba=0xc,_0x42680e=performance[_0x46ce39(0x37d)]()/0x3e8*_0x5c94ba;if(this[_0x46ce39(0x5be)])this[_0x46ce39(0x38a)][_0x46ce39(0x684)](this[_0x46ce39(0x5be)],_0x42680e);const _0xc02591=((_0x8f43f3=(_0x48e415=_0x3f0363==null?void 0x0:_0x3f0363[_0x46ce39(0x5cb)])==null?void 0x0:_0x48e415[_0x46ce39(0x2e3)])==null?void 0x0:_0x8f43f3[_0x46ce39(0x231)])||_0x46ce39(0x52c),_0x542a40=_0x33fb0b=>{const _0x495aea=_0x46ce39,_0x4bb02c=_0x33fb0b[_0x495aea(0x531)]('#',''),_0x227716=parseInt(_0x4bb02c[_0x495aea(0x71f)](0x0,0x2),0x10)/0xff,_0x480bfe=parseInt(_0x4bb02c['substring'](0x2,0x4),0x10)/0xff,_0x3f319d=parseInt(_0x4bb02c[_0x495aea(0x71f)](0x4,0x6),0x10)/0xff;return[_0x227716,_0x480bfe,_0x3f319d];},[_0x313859,_0x4814bc,_0x4df25a]=_0x542a40(_0xc02591);if(this['u_loadingColor'])this[_0x46ce39(0x38a)][_0x46ce39(0x6d2)](this[_0x46ce39(0x70c)],_0x313859,_0x4814bc,_0x4df25a);const _0xf9993=((_0x2190ca=(_0x2d0f8b=_0x3f0363==null?void 0x0:_0x3f0363[_0x46ce39(0x5cb)])==null?void 0x0:_0x2d0f8b['error'])==null?void 0x0:_0x2190ca[_0x46ce39(0x231)])||'#F44336',_0x1586a5=_0x436784=>{const _0x404783=_0x46ce39,_0x22d9f9=_0x436784[_0x404783(0x531)]('#',''),_0x5b092e=parseInt(_0x22d9f9[_0x404783(0x71f)](0x0,0x2),0x10)/0xff,_0x1c2b99=parseInt(_0x22d9f9[_0x404783(0x71f)](0x2,0x4),0x10)/0xff,_0x4f87c1=parseInt(_0x22d9f9['substring'](0x4,0x6),0x10)/0xff;return[_0x5b092e,_0x1c2b99,_0x4f87c1];},[_0x22e9a7,_0x2cd58c,_0x3423da]=_0x1586a5(_0xf9993);if(this[_0x46ce39(0x1a8)])this[_0x46ce39(0x38a)][_0x46ce39(0x6d2)](this[_0x46ce39(0x1a8)],_0x22e9a7,_0x2cd58c,_0x3423da);const _0x46fe95=(_0x5736ca=this['appContext'][_0x46ce39(0x1a3)][_0x46ce39(0x389)])==null?void 0x0:_0x5736ca['svgSectionStyles'],_0x10f6f4=((_0x1660b4=(_0x20129e=_0x46fe95==null?void 0x0:_0x46fe95[_0x46ce39(0x2fa)])==null?void 0x0:_0x20129e[_0x46ce39(0x1a5)])==null?void 0x0:_0x1660b4[_0x46ce39(0x231)])||'#2196F3',_0x321416=(_0x273623,_0x564def)=>{const _0x3ced20=_0x46ce39,_0x2ca5f7=_0x273623[_0x3ced20(0x531)]('#',''),_0x3d53d3=parseInt(_0x2ca5f7['substring'](0x0,0x2),0x10)/0xff,_0x2b0291=parseInt(_0x2ca5f7['substring'](0x2,0x4),0x10)/0xff,_0x56c597=parseInt(_0x2ca5f7[_0x3ced20(0x71f)](0x4,0x6),0x10)/0xff;return[_0x3d53d3,_0x2b0291,_0x56c597,_0x564def];},[_0x2ad9e5,_0x4738db,_0x4c6785,_0x3955e3]=_0x321416(_0x10f6f4,0x1);this[_0x46ce39(0x38a)]['uniform4f'](this[_0x46ce39(0x21e)],_0x2ad9e5,_0x4738db,_0x4c6785,_0x3955e3);const _0x2f4aa3=this[_0x46ce39(0x38a)][_0x46ce39(0x1b4)](this[_0x46ce39(0x21b)],_0x46ce39(0x388));if(_0x2f4aa3){const _0x49cc01=new Float32Array(0x20*0x3),_0x416bf0=_0x47abf4;for(let _0xe4c2ba=0x0;_0xe4c2ba<Math[_0x46ce39(0x19a)](_0x416bf0['length'],0x20);_0xe4c2ba++){const _0xca9dc5=_0x416bf0[_0xe4c2ba][0x1][_0x46ce39(0x231)]||'',_0x25c181=(_0xca9dc5||'')[_0x46ce39(0x531)]('#',''),_0x566448=(parseInt(_0x25c181['substring'](0x0,0x2),0x10)||0x0)/0xff,_0x3ee41b=(parseInt(_0x25c181[_0x46ce39(0x71f)](0x2,0x4),0x10)||0x0)/0xff,_0x227eec=(parseInt(_0x25c181[_0x46ce39(0x71f)](0x4,0x6),0x10)||0x0)/0xff;_0x49cc01[_0xe4c2ba*0x3+0x0]=_0x566448,_0x49cc01[_0xe4c2ba*0x3+0x1]=_0x3ee41b,_0x49cc01[_0xe4c2ba*0x3+0x2]=_0x227eec;}this[_0x46ce39(0x38a)][_0x46ce39(0x1e0)](_0x2f4aa3,_0x49cc01);}if(this[_0x46ce39(0x4bc)]&&this[_0x46ce39(0x4e2)]&&this[_0x46ce39(0x265)]){this[_0x46ce39(0x38a)][_0x46ce39(0x2a5)](this[_0x46ce39(0x38a)][_0x46ce39(0x6fd)]),this[_0x46ce39(0x38a)][_0x46ce39(0x475)](this['ctx']['TEXTURE_2D'],this[_0x46ce39(0x4bc)]),this['ctx'][_0x46ce39(0x586)](this[_0x46ce39(0x4e2)],0x1);const _0x1497e7=this[_0x46ce39(0x1d1)][_0x46ce39(0x1e7)](_0x46ce39(0x39e));_0x1497e7&&this[_0x46ce39(0x38a)]['uniform4f'](this[_0x46ce39(0x265)],_0x1497e7['x'],_0x1497e7['y'],_0x1497e7['width'],_0x1497e7['height']);if(this[_0x46ce39(0x5bc)]){const _0x9705a5=this[_0x46ce39(0x1d1)][_0x46ce39(0x1e7)](_0x46ce39(0x2e3));_0x9705a5&&this[_0x46ce39(0x38a)]['uniform4f'](this[_0x46ce39(0x5bc)],_0x9705a5['x'],_0x9705a5['y'],_0x9705a5[_0x46ce39(0x5ed)],_0x9705a5[_0x46ce39(0x2bd)]);}if(this[_0x46ce39(0x600)]){const _0xcc29f2=this['iconsUVMap'][_0x46ce39(0x1e7)](_0x46ce39(0x62b));_0xcc29f2&&this[_0x46ce39(0x38a)]['uniform4f'](this['u_errorUV'],_0xcc29f2['x'],_0xcc29f2['y'],_0xcc29f2[_0x46ce39(0x5ed)],_0xcc29f2[_0x46ce39(0x2bd)]);}}this['ctx'][_0x46ce39(0x297)](this[_0x46ce39(0x38a)]['BLEND']),this['ctx'][_0x46ce39(0x35a)](this[_0x46ce39(0x38a)]['SRC_ALPHA'],this[_0x46ce39(0x38a)][_0x46ce39(0x537)]),this[_0x46ce39(0x38a)][_0x46ce39(0x617)](this[_0x46ce39(0x38a)]['POINTS'],0x0,_0x5bc537['length']/_0x3b0a04);}}[_0x1f7a97(0x63c)](){const _0xf77ed6=_0x1f7a97,_0x8b7acf=this[_0xf77ed6(0x593)](this['ctx']['VERTEX_SHADER'],Overlay_default),_0x31441a=this[_0xf77ed6(0x593)](this[_0xf77ed6(0x38a)][_0xf77ed6(0x6fc)],Overlay_default2);this[_0xf77ed6(0x21b)]=this[_0xf77ed6(0x3a7)](_0x8b7acf,_0x31441a),this['a_position']=this[_0xf77ed6(0x38a)]['getAttribLocation'](this['program'],_0xf77ed6(0x474)),this['a_size']=this['ctx'][_0xf77ed6(0x5eb)](this[_0xf77ed6(0x21b)],_0xf77ed6(0x5dc)),this[_0xf77ed6(0x5d2)]=this[_0xf77ed6(0x38a)][_0xf77ed6(0x5eb)](this[_0xf77ed6(0x21b)],_0xf77ed6(0x5d2)),this[_0xf77ed6(0x34a)]=this['ctx'][_0xf77ed6(0x5eb)](this['program'],'a_hovered'),this['a_loading']=this['ctx'][_0xf77ed6(0x5eb)](this[_0xf77ed6(0x21b)],_0xf77ed6(0x480)),this[_0xf77ed6(0x4c9)]=this[_0xf77ed6(0x38a)][_0xf77ed6(0x5eb)](this[_0xf77ed6(0x21b)],_0xf77ed6(0x4c9)),this[_0xf77ed6(0x4ea)]=this[_0xf77ed6(0x38a)][_0xf77ed6(0x5eb)](this['program'],'a_priceColorIndex'),this[_0xf77ed6(0x4af)]=this[_0xf77ed6(0x38a)][_0xf77ed6(0x5eb)](this[_0xf77ed6(0x21b)],_0xf77ed6(0x4af)),this[_0xf77ed6(0x2cf)]=this['ctx'][_0xf77ed6(0x5eb)](this['program'],'a_deselectedStart'),this[_0xf77ed6(0x449)]=this['ctx']['getUniformLocation'](this['program'],_0xf77ed6(0x5f5)),this[_0xf77ed6(0x377)]=this[_0xf77ed6(0x38a)][_0xf77ed6(0x1b4)](this[_0xf77ed6(0x21b)],_0xf77ed6(0x5fc)),this[_0xf77ed6(0x394)]=this[_0xf77ed6(0x38a)][_0xf77ed6(0x1b4)](this[_0xf77ed6(0x21b)],_0xf77ed6(0x478)),this[_0xf77ed6(0x3c2)]=this[_0xf77ed6(0x38a)]['getUniformLocation'](this[_0xf77ed6(0x21b)],_0xf77ed6(0x2b5)),this[_0xf77ed6(0x1e9)]=this[_0xf77ed6(0x38a)]['getUniformLocation'](this[_0xf77ed6(0x21b)],_0xf77ed6(0x1e9)),this['u_rotationZ']=this['ctx'][_0xf77ed6(0x1b4)](this[_0xf77ed6(0x21b)],_0xf77ed6(0x59c)),this['u_perspectiveZ']=this['ctx'][_0xf77ed6(0x1b4)](this['program'],_0xf77ed6(0x26b)),this['u_tiltX']=this[_0xf77ed6(0x38a)][_0xf77ed6(0x1b4)](this[_0xf77ed6(0x21b)],_0xf77ed6(0x299)),this[_0xf77ed6(0x21e)]=this['ctx'][_0xf77ed6(0x1b4)](this['program'],_0xf77ed6(0x21e)),this[_0xf77ed6(0x3a2)]=this[_0xf77ed6(0x38a)]['getUniformLocation'](this[_0xf77ed6(0x21b)],_0xf77ed6(0x3a2)),this['u_pulseDuration']=this['ctx'][_0xf77ed6(0x1b4)](this[_0xf77ed6(0x21b)],'u_pulseDuration'),this[_0xf77ed6(0x4e2)]=this[_0xf77ed6(0x38a)][_0xf77ed6(0x1b4)](this[_0xf77ed6(0x21b)],_0xf77ed6(0x4e2)),this['u_markedUV']=this['ctx']['getUniformLocation'](this[_0xf77ed6(0x21b)],_0xf77ed6(0x265)),this[_0xf77ed6(0x5bc)]=this[_0xf77ed6(0x38a)][_0xf77ed6(0x1b4)](this[_0xf77ed6(0x21b)],_0xf77ed6(0x5bc)),this[_0xf77ed6(0x70c)]=this[_0xf77ed6(0x38a)]['getUniformLocation'](this[_0xf77ed6(0x21b)],_0xf77ed6(0x70c)),this[_0xf77ed6(0x600)]=this['ctx'][_0xf77ed6(0x1b4)](this[_0xf77ed6(0x21b)],'u_errorUV'),this['u_errorColor']=this[_0xf77ed6(0x38a)][_0xf77ed6(0x1b4)](this[_0xf77ed6(0x21b)],_0xf77ed6(0x1a8)),this[_0xf77ed6(0x5be)]=this[_0xf77ed6(0x38a)][_0xf77ed6(0x1b4)](this[_0xf77ed6(0x21b)],_0xf77ed6(0x5be));}[_0x1f7a97(0x593)](_0x54e33d,_0x32ed76){const _0x11db0b=_0x1f7a97,_0x215522=this['ctx']['createShader'](_0x54e33d);this[_0x11db0b(0x38a)]['shaderSource'](_0x215522,_0x32ed76),this[_0x11db0b(0x38a)][_0x11db0b(0x678)](_0x215522);const _0x48caa5=this['ctx'][_0x11db0b(0x6be)](_0x215522,this[_0x11db0b(0x38a)][_0x11db0b(0x4d6)]);if(!_0x48caa5){const _0x4500ff=this[_0x11db0b(0x38a)]['getShaderInfoLog'](_0x215522)||_0x11db0b(0x69c);console[_0x11db0b(0x62b)]('OverlayRenderer\x20shader\x20compile\x20error:',_0x4500ff);}return _0x215522;}[_0x1f7a97(0x3a7)](_0x480c9b,_0x25b67a){const _0x4ad564=_0x1f7a97,_0x4ff278=this[_0x4ad564(0x38a)][_0x4ad564(0x3a7)]();this[_0x4ad564(0x38a)][_0x4ad564(0x2ff)](_0x4ff278,_0x480c9b),this[_0x4ad564(0x38a)][_0x4ad564(0x2ff)](_0x4ff278,_0x25b67a),this[_0x4ad564(0x38a)]['linkProgram'](_0x4ff278);const _0x1a1b17=this[_0x4ad564(0x38a)][_0x4ad564(0x42a)](_0x4ff278,this['ctx']['LINK_STATUS']);if(!_0x1a1b17){const _0x1d5d66=this[_0x4ad564(0x38a)][_0x4ad564(0x276)](_0x4ff278)||'Unknown\x20program\x20link\x20error';console[_0x4ad564(0x62b)](_0x4ad564(0x5a5),_0x1d5d66);}return _0x4ff278;}},ICON_VALUES=RESERVED_ICON_VALUES,processSeat=(_0x5a341b,_0x1e9c26,_0x20a2dc,_0x1d52dd,_0x186d1d=ICON_VALUES['unavailable'])=>{const _0x489941=_0x1f7a97;var _0x34c3ea,_0x2def5a,_0x25e95a,_0x3e17c1;const _0x429258=_0x1e9c26[_0x489941(0x1a3)][_0x489941(0x389)][_0x489941(0x5cb)],_0x26b04d=_0x5a341b[_0x489941(0x6c7)]?_0x429258['unavailable']:_0x5a341b[_0x489941(0x4a7)]?_0x429258[_0x489941(0x4a7)]:_0x429258[_0x489941(0x63a)];if(!_0x26b04d)return{'position':[],'iconType':_0x186d1d,'priceColorIndex':-0x1,'size':0x6};const _0x11cc11=(_0x2def5a=(_0x34c3ea=_0x1e9c26[_0x489941(0x1a3)])[_0x489941(0x4b8)])==null?void 0x0:_0x2def5a[_0x489941(0x453)](_0x34c3ea,{'context':_0x1e9c26,'seat':_0x5a341b,'style':_0x26b04d,'state':_0x489941(0x63a)}),_0x17403f=[_0x5a341b['x'],_0x5a341b['y']];let _0xfe159c=_0x186d1d,_0x1de33b=-0x1;const _0x573c1b=(_0x5a341b[_0x489941(0x569)]?(_0x25e95a=_0x26b04d[_0x489941(0x5a8)])==null?void 0x0:_0x25e95a[_0x489941(0x5b9)]:_0x11cc11==null?void 0x0:_0x11cc11[_0x489941(0x5b9)])||_0x26b04d[_0x489941(0x5b9)];if(_0x5a341b[_0x489941(0x479)]){_0x1de33b=_0x20a2dc[_0x489941(0x228)](_0x1d06d5=>_0x1d06d5[_0x489941(0x479)]===_0x5a341b[_0x489941(0x479)]);if(_0x5a341b[_0x489941(0x569)])_0xfe159c=ICON_VALUES[_0x489941(0x5a8)];else{if(_0x5a341b[_0x489941(0x225)])_0xfe159c=ICON_VALUES['marked'];else{if(_0x11cc11==null?void 0x0:_0x11cc11[_0x489941(0x1e2)]){const _0xc45db7=String(_0x11cc11[_0x489941(0x1e2)]);_0xfe159c=(_0x3e17c1=_0x1d52dd[_0xc45db7])!=null?_0x3e17c1:ICON_VALUES[_0x489941(0x63a)];}else _0xfe159c=ICON_VALUES[_0x489941(0x67c)];}}}return{'position':_0x17403f,'iconType':_0xfe159c,'priceColorIndex':_0x1de33b,'size':_0x573c1b};},hexToRGB=_0x3bf1e0=>{const _0x14978e=_0x1f7a97;if(!_0x3bf1e0)return[0x0,0x0,0x0];_0x3bf1e0=_0x3bf1e0['replace']('#','');const _0x480331=parseInt(_0x3bf1e0[_0x14978e(0x71f)](0x0,0x2),0x10),_0x525a59=parseInt(_0x3bf1e0[_0x14978e(0x71f)](0x2,0x4),0x10),_0x5eea26=parseInt(_0x3bf1e0[_0x14978e(0x71f)](0x4,0x6),0x10);return[_0x480331/0xff,_0x525a59/0xff,_0x5eea26/0xff];},generatePriceCategories=_0x5a9891=>{const _0x4dca94=_0x1f7a97;return Object[_0x4dca94(0x429)](_0x5a9891[_0x4dca94(0x51b)])[_0x4dca94(0x65c)](([_0x281953,_0x21940e])=>{const _0xef51a3=hexToRGB(_0x21940e['color']);return{'priceId':parseInt(_0x281953),'colorRGB':_0xef51a3};});},createSeatsGeometry=_0x7a15a7=>{const _0x470d0e=_0x1f7a97;var _0x2f74ef,_0x3c3c14;const _0x56c430=generatePriceCategories(_0x7a15a7),_0x25b5b7=Object[_0x470d0e(0x238)](((_0x3c3c14=(_0x2f74ef=_0x7a15a7[_0x470d0e(0x1a3)])==null?void 0x0:_0x2f74ef[_0x470d0e(0x389)])==null?void 0x0:_0x3c3c14[_0x470d0e(0x38c)])||{}),_0x1a268f=generateIconValues(_0x25b5b7);if(!_0x7a15a7[_0x470d0e(0x555)]||_0x7a15a7[_0x470d0e(0x555)][_0x470d0e(0x420)]===0x0)return{'positions':[],'iconTypes':[],'priceColorIndices':[],'priceCategories':_0x56c430,'sizes':[],'seatIds':[]};const _0x2a7a1b=[],_0x150acf=[],_0x2199f3=[],_0x564f5c=[],_0x12ed51=[];for(const _0x74edbb of _0x7a15a7[_0x470d0e(0x555)]){const {position:_0x349f5a,iconType:_0x246130,priceColorIndex:_0x50fe47,size:_0x4e01a8}=processSeat(_0x74edbb,_0x7a15a7,_0x56c430,_0x1a268f);_0x349f5a['length']>0x0&&(_0x2a7a1b[_0x470d0e(0x51f)](..._0x349f5a),_0x150acf['push'](_0x246130),_0x2199f3[_0x470d0e(0x51f)](_0x50fe47),_0x564f5c[_0x470d0e(0x51f)](_0x4e01a8),_0x12ed51[_0x470d0e(0x51f)](_0x74edbb['id']));}return{'positions':_0x2a7a1b,'iconTypes':_0x150acf,'priceColorIndices':_0x2199f3,'priceCategories':_0x56c430,'sizes':_0x564f5c,'seatIds':_0x12ed51};},setPriceColors=(_0x416cbd,_0x4db2a3,_0x2ddc3d)=>{const _0x2fb53a=_0x1f7a97,_0x105322=new Float32Array(0x20*0x3);Array[_0x2fb53a(0x577)](_0x2ddc3d)?_0x2ddc3d[_0x2fb53a(0x34d)]((_0x4bcaad,_0x199f2d)=>{const _0x38be15=_0x2fb53a,_0x4bede0=_0x4bcaad[_0x38be15(0x463)];_0x105322[_0x199f2d*0x3]=_0x4bede0[0x0]||0x0,_0x105322[_0x199f2d*0x3+0x1]=_0x4bede0[0x1]||0x0,_0x105322[_0x199f2d*0x3+0x2]=_0x4bede0[0x2]||0x0;}):console['error'](_0x2fb53a(0x296));_0x416cbd['useProgram'](_0x4db2a3);const _0x46202d=_0x416cbd[_0x2fb53a(0x1b4)](_0x4db2a3,_0x2fb53a(0x388));_0x416cbd['uniform3fv'](_0x46202d,_0x105322);},dpr3=window['devicePixelRatio'],SeatsRenderer=class{constructor(_0x55e400,_0x384684,_0x28c762,_0x32691e){const _0x366d8b=_0x1f7a97;this[_0x366d8b(0x21b)]=null,this[_0x366d8b(0x474)]=-0x1,this[_0x366d8b(0x41b)]=-0x1,this[_0x366d8b(0x4ea)]=-0x1,this[_0x366d8b(0x5dc)]=-0x1,this[_0x366d8b(0x62f)]=-0x1,this[_0x366d8b(0x4cf)]=-0x1,this[_0x366d8b(0x394)]=null,this[_0x366d8b(0x3c2)]=null,this[_0x366d8b(0x449)]=null,this[_0x366d8b(0x377)]=null,this[_0x366d8b(0x656)]=null,this[_0x366d8b(0x1e9)]=null,this[_0x366d8b(0x59c)]=null,this['u_perspectiveZ']=null,this[_0x366d8b(0x299)]=null,this[_0x366d8b(0x2ee)]=null,this[_0x366d8b(0x59e)]=null,this['priceColorBuffer']=null,this['sizeBuffer']=null,this[_0x366d8b(0x650)]=null,this['hoveredFlagBuffer']=null,this['seatsPositions']=[],this[_0x366d8b(0x3f1)]=[],this[_0x366d8b(0x61a)]=![],this['lastSeatsRef']=null,this['lastSeatsCount']=0x0,this['lastPricePaletteSignature']='',this['cachedPriceColorIndices']=null,this[_0x366d8b(0x4e3)]=!![],this[_0x366d8b(0x262)]={},this[_0x366d8b(0x4bc)]=null,this[_0x366d8b(0x1d1)]=new Map(),this[_0x366d8b(0x71d)]=null,this['u_iconAtlas']=null,this[_0x366d8b(0x38a)]=_0x55e400,this[_0x366d8b(0x631)]=_0x384684,this['getStageWidthPx']=_0x28c762,this[_0x366d8b(0x2d3)]=_0x32691e,this[_0x366d8b(0x63c)]();}['invalidateStaticGeometry'](){const _0x477b21=_0x1f7a97;this[_0x477b21(0x61a)]=![];}[_0x1f7a97(0x264)](){this['priceIndicesDirty']=!![];}[_0x1f7a97(0x387)](_0x3a1475,_0xa596b6,_0x16425f){const _0x298c01=_0x1f7a97;this[_0x298c01(0x4bc)]=_0x3a1475,this[_0x298c01(0x1d1)]=_0xa596b6,this[_0x298c01(0x71d)]=_0x16425f;}[_0x1f7a97(0x6d0)](_0x26f22f,_0x4eccbd){const _0x4339b0=_0x1f7a97;if(!this[_0x4339b0(0x21b)])return;this[_0x4339b0(0x625)](),this[_0x4339b0(0x2f2)](),this[_0x4339b0(0x2ca)](),this[_0x4339b0(0x72d)](),this[_0x4339b0(0x38a)][_0x4339b0(0x594)](this[_0x4339b0(0x21b)]),this[_0x4339b0(0x4d2)](this['seatsPositionBuffer'],this[_0x4339b0(0x474)],0x2),this[_0x4339b0(0x4d2)](this[_0x4339b0(0x59e)],this[_0x4339b0(0x41b)],0x1),this[_0x4339b0(0x4d2)](this[_0x4339b0(0x4aa)],this['a_priceColorIndex'],0x1),this['bindAttrib'](this[_0x4339b0(0x3c0)],this[_0x4339b0(0x5dc)],0x1),this[_0x4339b0(0x4d2)](this[_0x4339b0(0x650)],this['a_selectedFlag'],0x1),this[_0x4339b0(0x4d2)](this[_0x4339b0(0x340)],this[_0x4339b0(0x4cf)],0x1),this[_0x4339b0(0x38a)]['uniform1f'](this[_0x4339b0(0x394)],_0x26f22f),this['ctx'][_0x4339b0(0x622)](this[_0x4339b0(0x3c2)],[_0x4eccbd['x'],_0x4eccbd['y']]),this['ctx']['uniform1f'](this[_0x4339b0(0x449)],this[_0x4339b0(0x502)]()),this[_0x4339b0(0x38a)][_0x4339b0(0x684)](this[_0x4339b0(0x377)],this[_0x4339b0(0x2d3)]()),this[_0x4339b0(0x38a)][_0x4339b0(0x684)](this[_0x4339b0(0x656)],dpr3),this[_0x4339b0(0x38a)][_0x4339b0(0x586)](this[_0x4339b0(0x1e9)],this[_0x4339b0(0x631)][_0x4339b0(0x21c)]?0x1:0x0),this['ctx']['uniform1f'](this[_0x4339b0(0x59c)],this[_0x4339b0(0x631)][_0x4339b0(0x2aa)]),this[_0x4339b0(0x38a)][_0x4339b0(0x684)](this['u_perspectiveZ'],this['appContext'][_0x4339b0(0x25d)]),this[_0x4339b0(0x38a)][_0x4339b0(0x684)](this[_0x4339b0(0x299)],this['appContext']['tiltX']),this[_0x4339b0(0x281)](),this['ctx'][_0x4339b0(0x297)](this[_0x4339b0(0x38a)][_0x4339b0(0x4e0)]),this['ctx']['blendFunc'](this[_0x4339b0(0x38a)]['SRC_ALPHA'],this['ctx'][_0x4339b0(0x537)]);const _0x4c10c2=this[_0x4339b0(0x4a8)][_0x4339b0(0x420)]/0x2;this['ctx'][_0x4339b0(0x617)](this[_0x4339b0(0x38a)]['POINTS'],0x0,_0x4c10c2);}['ensureStaticGeometry'](){const _0x17aa4b=_0x1f7a97,_0x3c8726=this[_0x17aa4b(0x631)][_0x17aa4b(0x555)],_0x3f17f2=Array['isArray'](_0x3c8726)?_0x3c8726[_0x17aa4b(0x420)]:0x0;if(!this[_0x17aa4b(0x61a)]||_0x3c8726!==this['lastSeatsRef']||_0x3f17f2!==this['lastSeatsCount']){const _0x3c7192=createSeatsGeometry(this[_0x17aa4b(0x631)]);if(!_0x3c7192)return;const {positions:_0x9eca15,iconTypes:_0x4475e4,sizes:_0x321feb,seatIds:_0x1c9aa6}=_0x3c7192;this['seatsPositions']=_0x9eca15,this['seatIds']=_0x1c9aa6,this[_0x17aa4b(0x2ee)]=this[_0x17aa4b(0x6ed)](this['seatsPositionBuffer'],_0x9eca15,this[_0x17aa4b(0x38a)][_0x17aa4b(0x2f7)]),this[_0x17aa4b(0x59e)]=this['fillBufferWithUsage'](this[_0x17aa4b(0x59e)],_0x4475e4,this[_0x17aa4b(0x38a)][_0x17aa4b(0x2f7)]),this[_0x17aa4b(0x3c0)]=this['fillBufferWithUsage'](this[_0x17aa4b(0x3c0)],_0x321feb,this['ctx'][_0x17aa4b(0x2f7)]),this[_0x17aa4b(0x4aa)]=this[_0x17aa4b(0x72b)](this[_0x17aa4b(0x4aa)],_0x1c9aa6[_0x17aa4b(0x420)]);const _0x2b0cd3=new Float32Array(_0x1c9aa6[_0x17aa4b(0x420)]);this['selectedFlagBuffer']=this[_0x17aa4b(0x679)](this['selectedFlagBuffer'],_0x2b0cd3,this['ctx']['STATIC_DRAW']),this['hoveredFlagBuffer']=this[_0x17aa4b(0x679)](this[_0x17aa4b(0x340)],_0x2b0cd3,this[_0x17aa4b(0x38a)][_0x17aa4b(0x2f7)]),this[_0x17aa4b(0x3db)]=_0x3c8726,this[_0x17aa4b(0x4ab)]=_0x3f17f2,this[_0x17aa4b(0x61a)]=!![],this[_0x17aa4b(0x40a)]=null,this['priceIndicesDirty']=!![];}}[_0x1f7a97(0x2f2)](){const _0x15cb0b=_0x1f7a97,_0x34e687=Object[_0x15cb0b(0x429)](this[_0x15cb0b(0x631)][_0x15cb0b(0x51b)]||{}),_0x4cda83=_0x34e687[_0x15cb0b(0x65c)](([_0x36ced9,_0x590cc6])=>_0x36ced9+':'+(_0x590cc6&&_0x590cc6[_0x15cb0b(0x231)]||''))['join']('|');if(_0x4cda83!==this[_0x15cb0b(0x1ba)]){const _0x2c8097=_0x34e687['map'](([_0x41dcc7,_0x189568])=>({'priceId':parseInt(_0x41dcc7),'colorRGB':this['hexToRGB'](_0x189568&&_0x189568['color']||'')}));setPriceColors(this[_0x15cb0b(0x38a)],this[_0x15cb0b(0x21b)],_0x2c8097),this[_0x15cb0b(0x1ba)]=_0x4cda83,this[_0x15cb0b(0x40a)]=null,this[_0x15cb0b(0x262)]={};for(let _0x1abeeb=0x0;_0x1abeeb<_0x34e687[_0x15cb0b(0x420)];_0x1abeeb++){this[_0x15cb0b(0x262)][Number(_0x34e687[_0x1abeeb][0x0])]=_0x1abeeb;}this['priceIndicesDirty']=!![];}}[_0x1f7a97(0x2ca)](){const _0x4f70a7=_0x1f7a97;var _0x56e48b;if(this[_0x4f70a7(0x3f1)][_0x4f70a7(0x420)]===0x0)return;if(!this[_0x4f70a7(0x4e3)]&&this['cachedPriceColorIndices'])return;const _0x285610=new Float32Array(this[_0x4f70a7(0x3f1)][_0x4f70a7(0x420)]);for(let _0x4ebb8a=0x0;_0x4ebb8a<this['seatIds']['length'];_0x4ebb8a++){const _0x397826=this[_0x4f70a7(0x3f1)][_0x4ebb8a],_0x4e3c41=(_0x56e48b=this['appContext'][_0x4f70a7(0x243)])==null?void 0x0:_0x56e48b[_0x397826],_0x5623ff=_0x4e3c41?_0x4e3c41[_0x4f70a7(0x479)]:void 0x0;_0x285610[_0x4ebb8a]=_0x5623ff!==void 0x0&&_0x5623ff!==null&&this[_0x4f70a7(0x262)][Number(_0x5623ff)]!==void 0x0?this[_0x4f70a7(0x262)][Number(_0x5623ff)]:-0x1;}const _0x231015=!this[_0x4f70a7(0x40a)]||this[_0x4f70a7(0x40a)][_0x4f70a7(0x420)]!==_0x285610[_0x4f70a7(0x420)]||!this[_0x4f70a7(0x4f7)](this[_0x4f70a7(0x40a)],_0x285610);_0x231015&&(this['priceColorBuffer']=this[_0x4f70a7(0x679)](this['priceColorBuffer'],_0x285610,this[_0x4f70a7(0x38a)]['DYNAMIC_DRAW']),this[_0x4f70a7(0x40a)]=_0x285610),this[_0x4f70a7(0x4e3)]=![];}[_0x1f7a97(0x72d)](){}['initializeProgram'](){const _0x57b381=_0x1f7a97,_0x4a6100=this[_0x57b381(0x593)](this[_0x57b381(0x38a)]['VERTEX_SHADER'],Seats_default),_0x401f9a=this[_0x57b381(0x593)](this[_0x57b381(0x38a)][_0x57b381(0x6fc)],Seats_default2);this[_0x57b381(0x21b)]=this[_0x57b381(0x3a7)](_0x4a6100,_0x401f9a),this['a_position']=this[_0x57b381(0x38a)][_0x57b381(0x5eb)](this[_0x57b381(0x21b)],'position'),this['a_iconsTypes']=this['ctx'][_0x57b381(0x5eb)](this[_0x57b381(0x21b)],_0x57b381(0x422)),this[_0x57b381(0x4ea)]=this['ctx'][_0x57b381(0x5eb)](this[_0x57b381(0x21b)],'priceColorIndex'),this[_0x57b381(0x5dc)]=this[_0x57b381(0x38a)][_0x57b381(0x5eb)](this[_0x57b381(0x21b)],_0x57b381(0x5b9)),this[_0x57b381(0x62f)]=this[_0x57b381(0x38a)][_0x57b381(0x5eb)](this[_0x57b381(0x21b)],'selectedFlag'),this[_0x57b381(0x4cf)]=this['ctx']['getAttribLocation'](this[_0x57b381(0x21b)],_0x57b381(0x3ec)),this['u_scale']=this['ctx'][_0x57b381(0x1b4)](this[_0x57b381(0x21b)],'scale'),this[_0x57b381(0x3c2)]=this[_0x57b381(0x38a)]['getUniformLocation'](this[_0x57b381(0x21b)],_0x57b381(0x2b5)),this[_0x57b381(0x449)]=this[_0x57b381(0x38a)]['getUniformLocation'](this['program'],_0x57b381(0x5f5)),this[_0x57b381(0x377)]=this[_0x57b381(0x38a)][_0x57b381(0x1b4)](this[_0x57b381(0x21b)],_0x57b381(0x5fc)),this[_0x57b381(0x656)]=this[_0x57b381(0x38a)]['getUniformLocation'](this[_0x57b381(0x21b)],'dpr'),this[_0x57b381(0x1e9)]=this['ctx'][_0x57b381(0x1b4)](this[_0x57b381(0x21b)],'u_enable3DView'),this['u_rotationZ']=this[_0x57b381(0x38a)][_0x57b381(0x1b4)](this[_0x57b381(0x21b)],_0x57b381(0x59c)),this[_0x57b381(0x26b)]=this[_0x57b381(0x38a)]['getUniformLocation'](this[_0x57b381(0x21b)],_0x57b381(0x26b)),this[_0x57b381(0x299)]=this[_0x57b381(0x38a)]['getUniformLocation'](this[_0x57b381(0x21b)],_0x57b381(0x299)),this[_0x57b381(0x4e2)]=this[_0x57b381(0x38a)][_0x57b381(0x1b4)](this[_0x57b381(0x21b)],_0x57b381(0x4e2));}[_0x1f7a97(0x593)](_0x5d51ea,_0x3afa69){const _0x7c11ea=_0x1f7a97,_0x53f14a=this[_0x7c11ea(0x38a)][_0x7c11ea(0x593)](_0x5d51ea);return this[_0x7c11ea(0x38a)][_0x7c11ea(0x55b)](_0x53f14a,_0x3afa69),this['ctx'][_0x7c11ea(0x678)](_0x53f14a),_0x53f14a;}[_0x1f7a97(0x3a7)](_0x260589,_0x4d7d50){const _0x463f2f=_0x1f7a97,_0x5e6fdf=this['ctx'][_0x463f2f(0x3a7)]();return this[_0x463f2f(0x38a)][_0x463f2f(0x2ff)](_0x5e6fdf,_0x260589),this['ctx'][_0x463f2f(0x2ff)](_0x5e6fdf,_0x4d7d50),this[_0x463f2f(0x38a)][_0x463f2f(0x253)](_0x5e6fdf),_0x5e6fdf;}[_0x1f7a97(0x6ed)](_0x467e54,_0x3c8980,_0x2caf73){const _0x32816b=_0x1f7a97;if(!_0x467e54)_0x467e54=this[_0x32816b(0x38a)]['createBuffer']();return this[_0x32816b(0x38a)][_0x32816b(0x476)](this['ctx'][_0x32816b(0x716)],_0x467e54),this[_0x32816b(0x38a)]['bufferData'](this['ctx'][_0x32816b(0x716)],new Float32Array(_0x3c8980),_0x2caf73),_0x467e54;}[_0x1f7a97(0x679)](_0xf56f05,_0x36e7fd,_0x1b8be1){const _0x49e083=_0x1f7a97;if(!_0xf56f05)_0xf56f05=this[_0x49e083(0x38a)][_0x49e083(0x724)]();return this[_0x49e083(0x38a)][_0x49e083(0x476)](this[_0x49e083(0x38a)][_0x49e083(0x716)],_0xf56f05),this[_0x49e083(0x38a)]['bufferData'](this[_0x49e083(0x38a)][_0x49e083(0x716)],_0x36e7fd,_0x1b8be1),_0xf56f05;}[_0x1f7a97(0x72b)](_0x2d5500,_0xd0801e){const _0x95b3b9=_0x1f7a97;if(!_0x2d5500)_0x2d5500=this[_0x95b3b9(0x38a)][_0x95b3b9(0x724)]();return this['ctx'][_0x95b3b9(0x476)](this[_0x95b3b9(0x38a)][_0x95b3b9(0x716)],_0x2d5500),this[_0x95b3b9(0x38a)][_0x95b3b9(0x4a5)](this[_0x95b3b9(0x38a)][_0x95b3b9(0x716)],_0xd0801e*0x4,this['ctx'][_0x95b3b9(0x627)]),_0x2d5500;}[_0x1f7a97(0x4d2)](_0x3f110c,_0x2c7a54,_0x6b97d8){const _0x1afb6e=_0x1f7a97;this['ctx'][_0x1afb6e(0x476)](this[_0x1afb6e(0x38a)][_0x1afb6e(0x716)],_0x3f110c),this[_0x1afb6e(0x38a)]['enableVertexAttribArray'](_0x2c7a54),this[_0x1afb6e(0x38a)][_0x1afb6e(0x1b0)](_0x2c7a54,_0x6b97d8,this[_0x1afb6e(0x38a)][_0x1afb6e(0x31b)],![],0x0,0x0);}[_0x1f7a97(0x281)](){const _0x13c783=_0x1f7a97;if(!this[_0x13c783(0x4bc)]||!this[_0x13c783(0x21b)]||!this[_0x13c783(0x71d)])return;this[_0x13c783(0x38a)][_0x13c783(0x2a5)](this['ctx'][_0x13c783(0x2d0)]),this[_0x13c783(0x38a)]['bindTexture'](this[_0x13c783(0x38a)]['TEXTURE_2D'],this['iconAtlas']),this[_0x13c783(0x38a)]['uniform1i'](this[_0x13c783(0x4e2)],0x0);const _0x123eb0=this['iconsUVMap'][_0x13c783(0x5b9)],_0x20e6fd=this[_0x13c783(0x38a)]['getUniformLocation'](this[_0x13c783(0x21b)],_0x13c783(0x375));this[_0x13c783(0x38a)][_0x13c783(0x586)](_0x20e6fd,_0x123eb0);const _0x50b9b8=[],_0x8deeda=[];this['iconsUVMap']['forEach']((_0x508313,_0x4100c6)=>{const _0x277acd=_0x13c783;var _0xafa4be;_0x50b9b8['push'](_0x508313['x'],_0x508313['y'],_0x508313['width'],_0x508313[_0x277acd(0x2bd)]),_0x8deeda[_0x277acd(0x51f)]((_0xafa4be=this[_0x277acd(0x71d)][_0x4100c6])!=null?_0xafa4be:0x0);});const _0x1e2ee3=this['ctx'][_0x13c783(0x1b4)](this[_0x13c783(0x21b)],_0x13c783(0x499));this[_0x13c783(0x38a)][_0x13c783(0x1b5)](_0x1e2ee3,new Float32Array(_0x50b9b8));const _0x100e88=this[_0x13c783(0x38a)]['getUniformLocation'](this[_0x13c783(0x21b)],_0x13c783(0x1f8));this[_0x13c783(0x38a)][_0x13c783(0x448)](_0x100e88,new Float32Array(_0x8deeda));}[_0x1f7a97(0x4f7)](_0x5cb407,_0x4cabaf){const _0xace953=_0x1f7a97;if(_0x5cb407[_0xace953(0x420)]!==_0x4cabaf[_0xace953(0x420)])return![];for(let _0x2ba0f3=0x0;_0x2ba0f3<_0x5cb407[_0xace953(0x420)];_0x2ba0f3++){if(_0x5cb407[_0x2ba0f3]!==_0x4cabaf[_0x2ba0f3])return![];}return!![];}[_0x1f7a97(0x5af)](_0x37d973){const _0x332411=_0x1f7a97,_0x3fe437=(_0x37d973||'')[_0x332411(0x531)]('#','');if(!_0x3fe437||_0x3fe437[_0x332411(0x420)]<0x6)return[0x0,0x0,0x0];const _0x518dbb=parseInt(_0x3fe437[_0x332411(0x71f)](0x0,0x2),0x10)/0xff,_0x36665e=parseInt(_0x3fe437[_0x332411(0x71f)](0x2,0x4),0x10)/0xff,_0xabf8eb=parseInt(_0x3fe437[_0x332411(0x71f)](0x4,0x6),0x10)/0xff;return[_0x518dbb,_0x36665e,_0xabf8eb];}},BackgroundRenderer=class{constructor(_0x2201c2,_0x21935b){const _0x537f59=_0x1f7a97;this[_0x537f59(0x21b)]=null,this[_0x537f59(0x516)]=-0x1,this[_0x537f59(0x33c)]=-0x1,this[_0x537f59(0x64b)]=null,this['u_scale']=null,this[_0x537f59(0x3c2)]=null,this[_0x537f59(0x2cd)]=null,this[_0x537f59(0x24e)]=null,this[_0x537f59(0x1c5)]=null,this[_0x537f59(0x1e9)]=null,this[_0x537f59(0x59c)]=null,this[_0x537f59(0x26b)]=null,this[_0x537f59(0x299)]=null,this['texcoordBuffer']=null,this[_0x537f59(0x6cf)]=null,this[_0x537f59(0x38a)]=_0x2201c2,this[_0x537f59(0x631)]=_0x21935b,this[_0x537f59(0x63c)]();}[_0x1f7a97(0x6d0)](_0x4139f0,_0x236bfc,_0x79d70e,_0x5ab9ed,_0x1de6e3,_0x389b2c){const _0x2b3746=_0x1f7a97;if(!this[_0x2b3746(0x21b)]||!_0x1de6e3||!_0x79d70e)return;if(!this['positionBuffer'])this[_0x2b3746(0x6cf)]=this[_0x2b3746(0x38a)][_0x2b3746(0x724)]();this[_0x2b3746(0x38a)][_0x2b3746(0x476)](this[_0x2b3746(0x38a)][_0x2b3746(0x716)],this[_0x2b3746(0x6cf)]),this[_0x2b3746(0x43e)](0x0,0x0,_0x1de6e3[_0x2b3746(0x5ed)],_0x1de6e3[_0x2b3746(0x2bd)]),!this['texcoordBuffer']&&(this[_0x2b3746(0x5a7)]=this['ctx'][_0x2b3746(0x724)](),this['ctx'][_0x2b3746(0x476)](this[_0x2b3746(0x38a)][_0x2b3746(0x716)],this[_0x2b3746(0x5a7)]),this['ctx'][_0x2b3746(0x4a5)](this[_0x2b3746(0x38a)][_0x2b3746(0x716)],new Float32Array([0x0,0x0,0x1,0x0,0x0,0x1,0x0,0x1,0x1,0x0,0x1,0x1]),this[_0x2b3746(0x38a)][_0x2b3746(0x2f7)])),this['ctx']['useProgram'](this[_0x2b3746(0x21b)]),this[_0x2b3746(0x38a)][_0x2b3746(0x2a5)](this[_0x2b3746(0x38a)][_0x2b3746(0x2d0)]),this[_0x2b3746(0x38a)][_0x2b3746(0x475)](this['ctx'][_0x2b3746(0x49e)],_0x79d70e),this['ctx'][_0x2b3746(0x586)](this[_0x2b3746(0x24e)],0x0),this[_0x2b3746(0x38a)]['activeTexture'](this[_0x2b3746(0x38a)][_0x2b3746(0x6fd)]),this[_0x2b3746(0x38a)][_0x2b3746(0x475)](this[_0x2b3746(0x38a)]['TEXTURE_2D'],_0x5ab9ed||_0x79d70e),this['ctx'][_0x2b3746(0x586)](this[_0x2b3746(0x1c5)],0x1),this[_0x2b3746(0x38a)][_0x2b3746(0x476)](this[_0x2b3746(0x38a)]['ARRAY_BUFFER'],this[_0x2b3746(0x6cf)]),this[_0x2b3746(0x38a)][_0x2b3746(0x292)](this['positionLocation']),this['ctx'][_0x2b3746(0x1b0)](this[_0x2b3746(0x516)],0x2,this[_0x2b3746(0x38a)]['FLOAT'],![],0x0,0x0),this[_0x2b3746(0x38a)][_0x2b3746(0x476)](this[_0x2b3746(0x38a)][_0x2b3746(0x716)],this[_0x2b3746(0x5a7)]),this[_0x2b3746(0x38a)]['enableVertexAttribArray'](this[_0x2b3746(0x33c)]),this[_0x2b3746(0x38a)]['vertexAttribPointer'](this[_0x2b3746(0x33c)],0x2,this[_0x2b3746(0x38a)]['FLOAT'],![],0x0,0x0),this[_0x2b3746(0x38a)][_0x2b3746(0x269)](this[_0x2b3746(0x64b)],this[_0x2b3746(0x38a)]['canvas'][_0x2b3746(0x5ed)],this[_0x2b3746(0x38a)][_0x2b3746(0x5cd)][_0x2b3746(0x2bd)]),this[_0x2b3746(0x38a)][_0x2b3746(0x684)](this['u_scale'],_0x4139f0),this['ctx'][_0x2b3746(0x269)](this[_0x2b3746(0x3c2)],_0x236bfc['x'],_0x236bfc['y']),this[_0x2b3746(0x38a)][_0x2b3746(0x684)](this['u_mix'],_0x389b2c),this[_0x2b3746(0x38a)][_0x2b3746(0x586)](this[_0x2b3746(0x1e9)],this['appContext'][_0x2b3746(0x21c)]?0x1:0x0),this[_0x2b3746(0x38a)][_0x2b3746(0x684)](this[_0x2b3746(0x59c)],this[_0x2b3746(0x631)]['rotationZ']),this[_0x2b3746(0x38a)][_0x2b3746(0x684)](this['u_perspectiveZ'],this['appContext'][_0x2b3746(0x25d)]),this[_0x2b3746(0x38a)]['uniform1f'](this[_0x2b3746(0x299)],this[_0x2b3746(0x631)][_0x2b3746(0x695)]),this[_0x2b3746(0x38a)][_0x2b3746(0x617)](this[_0x2b3746(0x38a)][_0x2b3746(0x65e)],0x0,0x6);}[_0x1f7a97(0x63c)](){const _0x220750=_0x1f7a97,_0x52ba72=this['createShader'](this[_0x220750(0x38a)]['VERTEX_SHADER'],Background_default),_0x17f14d=this[_0x220750(0x593)](this[_0x220750(0x38a)]['FRAGMENT_SHADER'],Background_default2);this[_0x220750(0x21b)]=this['createProgram'](_0x52ba72,_0x17f14d),this[_0x220750(0x516)]=this[_0x220750(0x38a)][_0x220750(0x5eb)](this[_0x220750(0x21b)],_0x220750(0x474)),this[_0x220750(0x33c)]=this['ctx'][_0x220750(0x5eb)](this[_0x220750(0x21b)],_0x220750(0x56c)),this[_0x220750(0x64b)]=this[_0x220750(0x38a)][_0x220750(0x1b4)](this[_0x220750(0x21b)],'u_resolution'),this[_0x220750(0x394)]=this[_0x220750(0x38a)][_0x220750(0x1b4)](this['program'],'u_scale'),this[_0x220750(0x3c2)]=this[_0x220750(0x38a)]['getUniformLocation'](this[_0x220750(0x21b)],_0x220750(0x3c2)),this['u_mix']=this[_0x220750(0x38a)][_0x220750(0x1b4)](this[_0x220750(0x21b)],_0x220750(0x2cd)),this['u_image0']=this[_0x220750(0x38a)][_0x220750(0x1b4)](this[_0x220750(0x21b)],'u_image0'),this[_0x220750(0x1c5)]=this['ctx'][_0x220750(0x1b4)](this[_0x220750(0x21b)],_0x220750(0x1c5)),this[_0x220750(0x1e9)]=this[_0x220750(0x38a)][_0x220750(0x1b4)](this[_0x220750(0x21b)],_0x220750(0x1e9)),this[_0x220750(0x59c)]=this['ctx'][_0x220750(0x1b4)](this[_0x220750(0x21b)],_0x220750(0x59c)),this[_0x220750(0x26b)]=this[_0x220750(0x38a)]['getUniformLocation'](this[_0x220750(0x21b)],_0x220750(0x26b)),this[_0x220750(0x299)]=this['ctx'][_0x220750(0x1b4)](this[_0x220750(0x21b)],'u_tiltX');}[_0x1f7a97(0x593)](_0xac3e6,_0x2e5dd4){const _0x16608d=_0x1f7a97,_0x2be396=this[_0x16608d(0x38a)][_0x16608d(0x593)](_0xac3e6);return this[_0x16608d(0x38a)][_0x16608d(0x55b)](_0x2be396,_0x2e5dd4),this[_0x16608d(0x38a)]['compileShader'](_0x2be396),_0x2be396;}[_0x1f7a97(0x3a7)](_0x1cd55c,_0x53e771){const _0x4a1322=_0x1f7a97,_0x18a507=this[_0x4a1322(0x38a)][_0x4a1322(0x3a7)]();return this[_0x4a1322(0x38a)]['attachShader'](_0x18a507,_0x1cd55c),this[_0x4a1322(0x38a)][_0x4a1322(0x2ff)](_0x18a507,_0x53e771),this['ctx'][_0x4a1322(0x253)](_0x18a507),_0x18a507;}[_0x1f7a97(0x43e)](_0x241ee6,_0x196b19,_0xeb32ed,_0x2cbec6){const _0x348501=_0x1f7a97,_0xae9953=_0x241ee6,_0x30aa68=_0x241ee6+_0xeb32ed,_0xf0649f=_0x196b19,_0x2c2183=_0x196b19+_0x2cbec6;this[_0x348501(0x38a)][_0x348501(0x4a5)](this['ctx'][_0x348501(0x716)],new Float32Array([_0xae9953,_0xf0649f,_0x30aa68,_0xf0649f,_0xae9953,_0x2c2183,_0xae9953,_0x2c2183,_0x30aa68,_0xf0649f,_0x30aa68,_0x2c2183]),this['ctx'][_0x348501(0x2f7)]);}},DebugLines_default=_0x1f7a97(0x444),DebugLines_default2=_0x1f7a97(0x43c),DebugPoints_default=_0x1f7a97(0x565),DebugPoints_default2=_0x1f7a97(0x3be),DebugAtlas_default='#version\x20100\x0aprecision\x20highp\x20float;\x0a\x0aattribute\x20vec2\x20a_positionPx;\x20//\x20screen-space\x20in\x20pixels\x0aattribute\x20vec2\x20a_texCoord;\x0a\x0auniform\x20float\x20stageWidth;\x0auniform\x20float\x20stageHeight;\x0a\x0avarying\x20vec2\x20v_texCoord;\x0a\x0avoid\x20main()\x20{\x0a\x20\x20//\x20Convert\x20from\x20pixels\x20to\x20NDC,\x20ignore\x20world\x20transforms\x0a\x20\x20vec2\x20ndc\x20=\x20vec2(\x0a\x20\x20\x20\x20(2.0\x20*\x20a_positionPx.x\x20/\x20stageWidth)\x20-\x201.0,\x0a\x20\x20\x20\x201.0\x20-\x20(2.0\x20*\x20a_positionPx.y\x20/\x20stageHeight)\x0a\x20\x20);\x0a\x20\x20gl_Position\x20=\x20vec4(ndc,\x200.0,\x201.0);\x0a\x20\x20v_texCoord\x20=\x20a_texCoord;\x0a}\x0a\x0a\x0a',DebugAtlas_default2='#ifdef\x20GL_OES_standard_derivatives\x0a#extension\x20GL_OES_standard_derivatives\x20:\x20enable\x0a#endif\x0aprecision\x20mediump\x20float;\x0a\x0avarying\x20vec2\x20v_texCoord;\x0auniform\x20sampler2D\x20u_atlas;\x0a\x0avoid\x20main()\x20{\x0a\x20\x20vec4\x20c\x20=\x20texture2D(u_atlas,\x20v_texCoord);\x0a\x20\x20gl_FragColor\x20=\x20c;\x0a}\x0a\x0a\x0a',DebugRect_default=_0x1f7a97(0x681),DebugRect_default2=_0x1f7a97(0x43c),DebugRenderer=class{constructor(_0x25af30,_0x11b436,_0x1400e4,_0x195a43){const _0x43440a=_0x1f7a97;this[_0x43440a(0x21b)]=null,this[_0x43440a(0x474)]=-0x1,this[_0x43440a(0x449)]=null,this[_0x43440a(0x377)]=null,this[_0x43440a(0x394)]=null,this['u_translate']=null,this[_0x43440a(0x1e9)]=null,this['u_rotationZ']=null,this[_0x43440a(0x26b)]=null,this['u_tiltX']=null,this[_0x43440a(0x1db)]=null,this[_0x43440a(0x23e)]=null,this[_0x43440a(0x1b1)]=null,this[_0x43440a(0x23b)]=-0x1,this['a_pt_size']=-0x1,this[_0x43440a(0x3c8)]=-0x1,this[_0x43440a(0x640)]=null,this['u_pt_stageHeight']=null,this['u_pt_scale']=null,this[_0x43440a(0x371)]=null,this[_0x43440a(0x386)]=null,this[_0x43440a(0x704)]=null,this['u_pt_perspectiveZ']=null,this[_0x43440a(0x27a)]=null,this['u_pt_fillColor']=null,this['u_pt_ringColor']=null,this[_0x43440a(0x201)]=null,this[_0x43440a(0x5b8)]=null,this[_0x43440a(0x4d7)]=null,this[_0x43440a(0x521)]=-0x1,this[_0x43440a(0x2e2)]=-0x1,this['u_atlas_stageWidth']=null,this[_0x43440a(0x5cf)]=null,this[_0x43440a(0x342)]=null,this[_0x43440a(0x1de)]=null,this['iconAtlas']=null,this['iconAtlasW']=0x0,this[_0x43440a(0x2db)]=0x0,this['iconsUVMap']=new Map(),this['rectProgram']=null,this[_0x43440a(0x197)]=-0x1,this['u_rect_stageWidth']=null,this[_0x43440a(0x203)]=null,this[_0x43440a(0x2c8)]=null,this[_0x43440a(0x20f)]=null,this[_0x43440a(0x423)]=null,this['fpsEl']=null,this[_0x43440a(0x49c)]=null,this[_0x43440a(0x65a)]=null,this['fpsCanvas']=null,this[_0x43440a(0x69a)]=[],this[_0x43440a(0x610)]=0x2710,this['ctx']=_0x25af30,this[_0x43440a(0x631)]=_0x11b436,this[_0x43440a(0x502)]=_0x1400e4,this[_0x43440a(0x2d3)]=_0x195a43,this[_0x43440a(0x63c)](),this['initializeTooltip'](),this[_0x43440a(0x520)]();}['draw'](_0x1d83f3,_0x1c2d38){const _0x33a84f=_0x1f7a97;var _0x392635,_0x230987;this[_0x33a84f(0x287)]();if(!((_0x392635=this[_0x33a84f(0x631)][_0x33a84f(0x1a3)])==null?void 0x0:_0x392635[_0x33a84f(0x505)])){if(this[_0x33a84f(0x3b5)])this[_0x33a84f(0x3b5)][_0x33a84f(0x71e)]['display']='none';return;}if(!this['program'])return;const _0x3c6325=(_0x230987=this[_0x33a84f(0x631)][_0x33a84f(0x5de)])==null?void 0x0:_0x230987[_0x33a84f(0x1ad)],_0x20b851=this[_0x33a84f(0x631)]['sectionsById']||{},_0x143ee2=Object[_0x33a84f(0x238)](_0x20b851);if(!_0x3c6325||!_0x143ee2['length'])return;const _0x50f728={'x':_0x3c6325[_0x33a84f(0x5ed)]/0x2,'y':_0x3c6325['height']/0x2},_0x51ecaf=[],_0x1ea475={},_0x129270=this['appContext'][_0x33a84f(0x555)];for(let _0x380635=0x0;_0x380635<_0x129270[_0x33a84f(0x420)];_0x380635++){const _0x2aa8a2=_0x129270[_0x380635];if(!_0x2aa8a2||_0x2aa8a2[_0x33a84f(0x71a)]==null)continue;const _0x2cf38b=_0x1ea475[_0x2aa8a2[_0x33a84f(0x71a)]]=_0x1ea475[_0x2aa8a2[_0x33a84f(0x71a)]]||{'minX':_0x2aa8a2['x'],'minY':_0x2aa8a2['y'],'maxX':_0x2aa8a2['x'],'maxY':_0x2aa8a2['y']};if(_0x2aa8a2['x']<_0x2cf38b[_0x33a84f(0x513)])_0x2cf38b[_0x33a84f(0x513)]=_0x2aa8a2['x'];if(_0x2aa8a2['y']<_0x2cf38b[_0x33a84f(0x322)])_0x2cf38b[_0x33a84f(0x322)]=_0x2aa8a2['y'];if(_0x2aa8a2['x']>_0x2cf38b[_0x33a84f(0x5c6)])_0x2cf38b[_0x33a84f(0x5c6)]=_0x2aa8a2['x'];if(_0x2aa8a2['y']>_0x2cf38b[_0x33a84f(0x619)])_0x2cf38b[_0x33a84f(0x619)]=_0x2aa8a2['y'];}for(let _0xe82047=0x0;_0xe82047<_0x143ee2[_0x33a84f(0x420)];_0xe82047++){const _0x42def6=Number(_0x143ee2[_0xe82047]),_0x208f2d=_0x1ea475[_0x42def6];if(!_0x208f2d)continue;const _0x3c52cb=(_0x208f2d[_0x33a84f(0x513)]+_0x208f2d['maxX'])/0x2,_0x12b60b=(_0x208f2d['minY']+_0x208f2d['maxY'])/0x2;_0x51ecaf['push'](_0x3c52cb,_0x12b60b,_0x50f728['x'],_0x50f728['y']);}if(!_0x51ecaf[_0x33a84f(0x420)])return;if(!this[_0x33a84f(0x23e)])this['buffer']=this[_0x33a84f(0x38a)][_0x33a84f(0x724)]();this[_0x33a84f(0x38a)][_0x33a84f(0x476)](this[_0x33a84f(0x38a)][_0x33a84f(0x716)],this[_0x33a84f(0x23e)]),this['ctx'][_0x33a84f(0x4a5)](this['ctx'][_0x33a84f(0x716)],new Float32Array(_0x51ecaf),this['ctx'][_0x33a84f(0x627)]),this[_0x33a84f(0x38a)]['useProgram'](this[_0x33a84f(0x21b)]),this[_0x33a84f(0x38a)]['enableVertexAttribArray'](this['a_position']),this['ctx'][_0x33a84f(0x1b0)](this[_0x33a84f(0x474)],0x2,this['ctx'][_0x33a84f(0x31b)],![],0x0,0x0),this[_0x33a84f(0x38a)][_0x33a84f(0x684)](this['u_scale'],_0x1d83f3),this['ctx'][_0x33a84f(0x269)](this[_0x33a84f(0x3c2)],_0x1c2d38['x'],_0x1c2d38['y']),this[_0x33a84f(0x38a)][_0x33a84f(0x684)](this[_0x33a84f(0x449)],this[_0x33a84f(0x502)]()),this['ctx'][_0x33a84f(0x684)](this[_0x33a84f(0x377)],this[_0x33a84f(0x2d3)]()),this[_0x33a84f(0x38a)][_0x33a84f(0x586)](this[_0x33a84f(0x1e9)],this[_0x33a84f(0x631)]['enable3DView']?0x1:0x0),this['ctx'][_0x33a84f(0x684)](this[_0x33a84f(0x59c)],this['appContext']['rotationZ']),this[_0x33a84f(0x38a)]['uniform1f'](this['u_perspectiveZ'],this[_0x33a84f(0x631)][_0x33a84f(0x25d)]),this['ctx']['uniform1f'](this['u_tiltX'],this[_0x33a84f(0x631)][_0x33a84f(0x695)]),this[_0x33a84f(0x38a)][_0x33a84f(0x48b)](this[_0x33a84f(0x1db)],0x1,0x0,0x1,0.7),this[_0x33a84f(0x38a)][_0x33a84f(0x297)](this[_0x33a84f(0x38a)][_0x33a84f(0x4e0)]),this[_0x33a84f(0x38a)][_0x33a84f(0x35a)](this['ctx']['SRC_ALPHA'],this[_0x33a84f(0x38a)][_0x33a84f(0x537)]),this[_0x33a84f(0x38a)][_0x33a84f(0x24f)](0x1),this[_0x33a84f(0x38a)]['drawArrays'](this['ctx']['LINES'],0x0,_0x51ecaf[_0x33a84f(0x420)]/0x2),this[_0x33a84f(0x348)](_0x1d83f3,_0x1c2d38),this[_0x33a84f(0x330)](_0x1d83f3,_0x1c2d38),this[_0x33a84f(0x645)]();if(this[_0x33a84f(0x3b5)])this[_0x33a84f(0x3b5)][_0x33a84f(0x71e)]['display']=_0x33a84f(0x70a);}[_0x1f7a97(0x63c)](){const _0x36b58d=_0x1f7a97;try{const _0x332e94=this[_0x36b58d(0x593)](this['ctx'][_0x36b58d(0x36f)],DebugLines_default),_0x5bc1bf=this[_0x36b58d(0x593)](this[_0x36b58d(0x38a)][_0x36b58d(0x6fc)],DebugLines_default2);this[_0x36b58d(0x21b)]=this[_0x36b58d(0x3a7)](_0x332e94,_0x5bc1bf),this['a_position']=this[_0x36b58d(0x38a)][_0x36b58d(0x5eb)](this[_0x36b58d(0x21b)],_0x36b58d(0x474)),this[_0x36b58d(0x449)]=this['ctx'][_0x36b58d(0x1b4)](this[_0x36b58d(0x21b)],_0x36b58d(0x5f5)),this[_0x36b58d(0x377)]=this[_0x36b58d(0x38a)]['getUniformLocation'](this['program'],_0x36b58d(0x5fc)),this['u_scale']=this['ctx'][_0x36b58d(0x1b4)](this['program'],_0x36b58d(0x478)),this[_0x36b58d(0x3c2)]=this[_0x36b58d(0x38a)][_0x36b58d(0x1b4)](this[_0x36b58d(0x21b)],_0x36b58d(0x2b5)),this[_0x36b58d(0x1e9)]=this[_0x36b58d(0x38a)][_0x36b58d(0x1b4)](this['program'],_0x36b58d(0x1e9)),this[_0x36b58d(0x59c)]=this[_0x36b58d(0x38a)]['getUniformLocation'](this[_0x36b58d(0x21b)],_0x36b58d(0x59c)),this[_0x36b58d(0x26b)]=this['ctx'][_0x36b58d(0x1b4)](this['program'],_0x36b58d(0x26b)),this[_0x36b58d(0x299)]=this[_0x36b58d(0x38a)][_0x36b58d(0x1b4)](this[_0x36b58d(0x21b)],_0x36b58d(0x299)),this[_0x36b58d(0x1db)]=this[_0x36b58d(0x38a)]['getUniformLocation'](this[_0x36b58d(0x21b)],_0x36b58d(0x1db));const _0x1892ea=this['createShader'](this['ctx'][_0x36b58d(0x36f)],DebugPoints_default),_0x53413c=this['createShader'](this[_0x36b58d(0x38a)][_0x36b58d(0x6fc)],DebugPoints_default2);this[_0x36b58d(0x1b1)]=this[_0x36b58d(0x3a7)](_0x1892ea,_0x53413c),this[_0x36b58d(0x23b)]=this[_0x36b58d(0x38a)][_0x36b58d(0x5eb)](this[_0x36b58d(0x1b1)],_0x36b58d(0x474)),this[_0x36b58d(0x614)]=this[_0x36b58d(0x38a)][_0x36b58d(0x5eb)](this[_0x36b58d(0x1b1)],_0x36b58d(0x5dc)),this[_0x36b58d(0x3c8)]=this[_0x36b58d(0x38a)][_0x36b58d(0x5eb)](this[_0x36b58d(0x1b1)],_0x36b58d(0x368)),this[_0x36b58d(0x640)]=this['ctx'][_0x36b58d(0x1b4)](this[_0x36b58d(0x1b1)],_0x36b58d(0x5f5)),this['u_pt_stageHeight']=this['ctx'][_0x36b58d(0x1b4)](this[_0x36b58d(0x1b1)],_0x36b58d(0x5fc)),this[_0x36b58d(0x2a9)]=this[_0x36b58d(0x38a)][_0x36b58d(0x1b4)](this[_0x36b58d(0x1b1)],_0x36b58d(0x478)),this[_0x36b58d(0x371)]=this[_0x36b58d(0x38a)][_0x36b58d(0x1b4)](this[_0x36b58d(0x1b1)],_0x36b58d(0x2b5)),this['u_pt_enable3DView']=this[_0x36b58d(0x38a)][_0x36b58d(0x1b4)](this[_0x36b58d(0x1b1)],_0x36b58d(0x1e9)),this[_0x36b58d(0x704)]=this[_0x36b58d(0x38a)][_0x36b58d(0x1b4)](this[_0x36b58d(0x1b1)],'u_rotationZ'),this[_0x36b58d(0x390)]=this[_0x36b58d(0x38a)]['getUniformLocation'](this[_0x36b58d(0x1b1)],_0x36b58d(0x26b)),this[_0x36b58d(0x27a)]=this[_0x36b58d(0x38a)][_0x36b58d(0x1b4)](this[_0x36b58d(0x1b1)],_0x36b58d(0x299)),this['u_pt_fillColor']=this[_0x36b58d(0x38a)]['getUniformLocation'](this[_0x36b58d(0x1b1)],_0x36b58d(0x6f6)),this['u_pt_ringColor']=this[_0x36b58d(0x38a)][_0x36b58d(0x1b4)](this[_0x36b58d(0x1b1)],_0x36b58d(0x6ac));}catch(_0x4dff1d){this[_0x36b58d(0x21b)]=null;}try{const _0x543b7b=this['createShader'](this['ctx']['VERTEX_SHADER'],DebugAtlas_default),_0x20d670=this[_0x36b58d(0x593)](this['ctx'][_0x36b58d(0x6fc)],DebugAtlas_default2);this[_0x36b58d(0x4d7)]=this['createProgram'](_0x543b7b,_0x20d670),this[_0x36b58d(0x521)]=this['ctx'][_0x36b58d(0x5eb)](this['atlasProgram'],_0x36b58d(0x6eb)),this['a_atlas_texCoord']=this[_0x36b58d(0x38a)][_0x36b58d(0x5eb)](this[_0x36b58d(0x4d7)],_0x36b58d(0x56c)),this[_0x36b58d(0x46d)]=this[_0x36b58d(0x38a)][_0x36b58d(0x1b4)](this['atlasProgram'],_0x36b58d(0x5f5)),this['u_atlas_stageHeight']=this['ctx'][_0x36b58d(0x1b4)](this[_0x36b58d(0x4d7)],_0x36b58d(0x5fc)),this[_0x36b58d(0x342)]=this[_0x36b58d(0x38a)][_0x36b58d(0x1b4)](this[_0x36b58d(0x4d7)],'u_atlas');}catch(_0x38ca4c){this['atlasProgram']=null;}try{const _0x580339=this[_0x36b58d(0x593)](this[_0x36b58d(0x38a)][_0x36b58d(0x36f)],DebugRect_default),_0xb4853d=this[_0x36b58d(0x593)](this['ctx'][_0x36b58d(0x6fc)],DebugRect_default2);this[_0x36b58d(0x417)]=this[_0x36b58d(0x3a7)](_0x580339,_0xb4853d),this[_0x36b58d(0x197)]=this[_0x36b58d(0x38a)][_0x36b58d(0x5eb)](this[_0x36b58d(0x417)],_0x36b58d(0x6eb)),this[_0x36b58d(0x1c4)]=this[_0x36b58d(0x38a)][_0x36b58d(0x1b4)](this[_0x36b58d(0x417)],_0x36b58d(0x5f5)),this[_0x36b58d(0x203)]=this[_0x36b58d(0x38a)][_0x36b58d(0x1b4)](this[_0x36b58d(0x417)],'stageHeight'),this[_0x36b58d(0x2c8)]=this[_0x36b58d(0x38a)]['getUniformLocation'](this[_0x36b58d(0x417)],'u_color');}catch(_0x2fd5e9){this[_0x36b58d(0x417)]=null;}}[_0x1f7a97(0x348)](_0x3a7946,_0xe9f40f){const _0x53c9db=_0x1f7a97;var _0x5721db;if(!this[_0x53c9db(0x1b1)])return;const _0x2eff48=new Set();if(this['appContext'][_0x53c9db(0x6c4)])(((_0x5721db=this['appContext'][_0x53c9db(0x35c)])==null?void 0x0:_0x5721db[this[_0x53c9db(0x631)][_0x53c9db(0x6c4)]['id']])||[])[_0x53c9db(0x34d)](_0x4cb601=>_0x2eff48['add'](_0x4cb601['id']));else this[_0x53c9db(0x631)][_0x53c9db(0x5a4)]&&_0x2eff48[_0x53c9db(0x47f)](this[_0x53c9db(0x631)][_0x53c9db(0x5a4)]['id']);const _0x27b5ac=[];for(let _0x376746=0x0;_0x376746<this[_0x53c9db(0x631)][_0x53c9db(0x555)][_0x53c9db(0x420)];_0x376746++){const _0x4f5946=this[_0x53c9db(0x631)][_0x53c9db(0x555)][_0x376746],_0x280eaa=_0x2eff48['has'](_0x4f5946['id']);if(!_0x280eaa)continue;const _0x1b7185=0x14,_0x4dc96b=0x1;_0x27b5ac['push'](_0x4f5946['x'],_0x4f5946['y'],_0x1b7185,_0x4dc96b);}if(!_0x27b5ac['length'])return;if(!this[_0x53c9db(0x201)])this['pointsBuffer']=this['ctx'][_0x53c9db(0x724)]();this[_0x53c9db(0x38a)]['bindBuffer'](this[_0x53c9db(0x38a)][_0x53c9db(0x716)],this[_0x53c9db(0x201)]),this[_0x53c9db(0x38a)][_0x53c9db(0x4a5)](this[_0x53c9db(0x38a)][_0x53c9db(0x716)],new Float32Array(_0x27b5ac),this[_0x53c9db(0x38a)][_0x53c9db(0x627)]),this['ctx']['useProgram'](this['pointsProgram']);const _0x15ef53=0x4*0x4;this[_0x53c9db(0x38a)][_0x53c9db(0x292)](this[_0x53c9db(0x23b)]),this[_0x53c9db(0x38a)][_0x53c9db(0x1b0)](this['a_pt_position'],0x2,this['ctx'][_0x53c9db(0x31b)],![],_0x15ef53,0x0),this['ctx'][_0x53c9db(0x292)](this['a_pt_size']),this[_0x53c9db(0x38a)][_0x53c9db(0x1b0)](this[_0x53c9db(0x614)],0x1,this[_0x53c9db(0x38a)][_0x53c9db(0x31b)],![],_0x15ef53,0x2*0x4),this[_0x53c9db(0x38a)][_0x53c9db(0x292)](this['a_pt_ring']),this[_0x53c9db(0x38a)][_0x53c9db(0x1b0)](this[_0x53c9db(0x3c8)],0x1,this[_0x53c9db(0x38a)][_0x53c9db(0x31b)],![],_0x15ef53,0x3*0x4),this[_0x53c9db(0x38a)][_0x53c9db(0x684)](this['u_pt_scale'],_0x3a7946),this[_0x53c9db(0x38a)][_0x53c9db(0x269)](this[_0x53c9db(0x371)],_0xe9f40f['x'],_0xe9f40f['y']),this[_0x53c9db(0x38a)][_0x53c9db(0x684)](this[_0x53c9db(0x640)],this['getStageWidthPx']()),this['ctx']['uniform1f'](this[_0x53c9db(0x6f2)],this['getStageHeightPx']()),this[_0x53c9db(0x38a)][_0x53c9db(0x586)](this[_0x53c9db(0x386)],this['appContext'][_0x53c9db(0x21c)]?0x1:0x0),this[_0x53c9db(0x38a)][_0x53c9db(0x684)](this[_0x53c9db(0x704)],this[_0x53c9db(0x631)][_0x53c9db(0x2aa)]),this[_0x53c9db(0x38a)][_0x53c9db(0x684)](this[_0x53c9db(0x390)],this[_0x53c9db(0x631)][_0x53c9db(0x25d)]),this[_0x53c9db(0x38a)][_0x53c9db(0x684)](this[_0x53c9db(0x27a)],this[_0x53c9db(0x631)][_0x53c9db(0x695)]),this[_0x53c9db(0x38a)][_0x53c9db(0x48b)](this[_0x53c9db(0x24b)],0x0,0x0,0x0,0x0),this[_0x53c9db(0x38a)]['uniform4f'](this[_0x53c9db(0x2d5)],0.2,0.6,0x1,0x1),this[_0x53c9db(0x38a)][_0x53c9db(0x297)](this[_0x53c9db(0x38a)][_0x53c9db(0x4e0)]),this[_0x53c9db(0x38a)]['blendFunc'](this[_0x53c9db(0x38a)]['SRC_ALPHA'],this[_0x53c9db(0x38a)]['ONE_MINUS_SRC_ALPHA']),this[_0x53c9db(0x38a)][_0x53c9db(0x617)](this['ctx'][_0x53c9db(0x583)],0x0,_0x27b5ac[_0x53c9db(0x420)]/0x4);}['drawLoadingCenters'](_0x480446,_0x4e0443){const _0x35cb3a=_0x1f7a97;if(!this[_0x35cb3a(0x1b1)])return;const _0x46483c=this[_0x35cb3a(0x631)][_0x35cb3a(0x555)],_0x151bb1=[];for(let _0x1da3a4=0x0;_0x1da3a4<_0x46483c[_0x35cb3a(0x420)];_0x1da3a4++){const _0x39225b=_0x46483c[_0x1da3a4];if(_0x39225b[_0x35cb3a(0x61f)]!==_0x35cb3a(0x2e3))continue;const _0x5c6163=0x3,_0x289624=0x0;_0x151bb1['push'](_0x39225b['x'],_0x39225b['y'],_0x5c6163,_0x289624);}if(!_0x151bb1['length'])return;if(!this[_0x35cb3a(0x5b8)])this['loadingPointsBuffer']=this['ctx']['createBuffer']();this[_0x35cb3a(0x38a)]['bindBuffer'](this['ctx'][_0x35cb3a(0x716)],this[_0x35cb3a(0x5b8)]),this[_0x35cb3a(0x38a)][_0x35cb3a(0x4a5)](this[_0x35cb3a(0x38a)][_0x35cb3a(0x716)],new Float32Array(_0x151bb1),this[_0x35cb3a(0x38a)][_0x35cb3a(0x627)]),this[_0x35cb3a(0x38a)][_0x35cb3a(0x594)](this[_0x35cb3a(0x1b1)]);const _0x4a1760=0x4*0x4;this[_0x35cb3a(0x38a)][_0x35cb3a(0x292)](this['a_pt_position']),this[_0x35cb3a(0x38a)][_0x35cb3a(0x1b0)](this[_0x35cb3a(0x23b)],0x2,this[_0x35cb3a(0x38a)]['FLOAT'],![],_0x4a1760,0x0),this['ctx'][_0x35cb3a(0x292)](this['a_pt_size']),this[_0x35cb3a(0x38a)][_0x35cb3a(0x1b0)](this['a_pt_size'],0x1,this['ctx'][_0x35cb3a(0x31b)],![],_0x4a1760,0x2*0x4),this[_0x35cb3a(0x38a)]['enableVertexAttribArray'](this[_0x35cb3a(0x3c8)]),this[_0x35cb3a(0x38a)]['vertexAttribPointer'](this['a_pt_ring'],0x1,this[_0x35cb3a(0x38a)][_0x35cb3a(0x31b)],![],_0x4a1760,0x3*0x4),this['ctx'][_0x35cb3a(0x684)](this[_0x35cb3a(0x2a9)],_0x480446),this[_0x35cb3a(0x38a)][_0x35cb3a(0x269)](this[_0x35cb3a(0x371)],_0x4e0443['x'],_0x4e0443['y']),this['ctx'][_0x35cb3a(0x684)](this[_0x35cb3a(0x640)],this[_0x35cb3a(0x502)]()),this[_0x35cb3a(0x38a)][_0x35cb3a(0x684)](this['u_pt_stageHeight'],this['getStageHeightPx']()),this[_0x35cb3a(0x38a)][_0x35cb3a(0x586)](this[_0x35cb3a(0x386)],this[_0x35cb3a(0x631)][_0x35cb3a(0x21c)]?0x1:0x0),this[_0x35cb3a(0x38a)][_0x35cb3a(0x684)](this[_0x35cb3a(0x704)],this['appContext'][_0x35cb3a(0x2aa)]),this[_0x35cb3a(0x38a)]['uniform1f'](this[_0x35cb3a(0x390)],this['appContext'][_0x35cb3a(0x25d)]),this[_0x35cb3a(0x38a)][_0x35cb3a(0x684)](this['u_pt_tiltX'],this['appContext'][_0x35cb3a(0x695)]),this[_0x35cb3a(0x38a)][_0x35cb3a(0x48b)](this[_0x35cb3a(0x24b)],0x1,0x1,0x1,0x1),this[_0x35cb3a(0x38a)][_0x35cb3a(0x48b)](this[_0x35cb3a(0x2d5)],0x1,0x1,0x1,0x0),this[_0x35cb3a(0x38a)][_0x35cb3a(0x297)](this[_0x35cb3a(0x38a)][_0x35cb3a(0x4e0)]),this['ctx']['blendFunc'](this[_0x35cb3a(0x38a)]['SRC_ALPHA'],this[_0x35cb3a(0x38a)][_0x35cb3a(0x537)]),this[_0x35cb3a(0x38a)][_0x35cb3a(0x617)](this['ctx'][_0x35cb3a(0x583)],0x0,_0x151bb1['length']/0x4);}['initializeTooltip'](){const _0x48b10c=_0x1f7a97;try{const _0x2b987c=document[_0x48b10c(0x26e)]('div');_0x2b987c['style']['position']=_0x48b10c(0x492),_0x2b987c[_0x48b10c(0x71e)]['zIndex']=_0x48b10c(0x42d),_0x2b987c[_0x48b10c(0x71e)]['pointerEvents']='none',_0x2b987c['style'][_0x48b10c(0x5ae)]='rgba(0,0,0,1)',_0x2b987c['style'][_0x48b10c(0x231)]=_0x48b10c(0x524),_0x2b987c[_0x48b10c(0x71e)][_0x48b10c(0x2e6)]=_0x48b10c(0x3cd),_0x2b987c[_0x48b10c(0x71e)]['fontSize']='11px',_0x2b987c[_0x48b10c(0x71e)][_0x48b10c(0x473)]=_0x48b10c(0x5bf),_0x2b987c['style']['borderRadius']='4px',_0x2b987c[_0x48b10c(0x71e)][_0x48b10c(0x722)]=_0x48b10c(0x4df),_0x2b987c[_0x48b10c(0x71e)][_0x48b10c(0x3b8)]=_0x48b10c(0x26f),this[_0x48b10c(0x631)][_0x48b10c(0x4b6)][_0x48b10c(0x2b0)](_0x2b987c),this[_0x48b10c(0x423)]=_0x2b987c,this[_0x48b10c(0x488)]=_0x59ebfc=>this[_0x48b10c(0x4d9)](_0x59ebfc),this['handleMouseLeaveBound']=()=>this['hideTooltip'](),this[_0x48b10c(0x631)]['element'][_0x48b10c(0x274)](_0x48b10c(0x664),this[_0x48b10c(0x488)]),this['appContext'][_0x48b10c(0x4b6)][_0x48b10c(0x274)](_0x48b10c(0x26d),this[_0x48b10c(0x306)]);}catch(_0x1b17e6){}}[_0x1f7a97(0x4d9)](_0x31be6b){const _0x48cf9d=_0x1f7a97;var _0x4c7654;if(!this['tooltipEl'])return;if(!((_0x4c7654=this['appContext'][_0x48cf9d(0x1a3)])==null?void 0x0:_0x4c7654[_0x48cf9d(0x505)])){this['tooltipEl'][_0x48cf9d(0x71e)][_0x48cf9d(0x3b8)]=_0x48cf9d(0x26f);return;}const _0x418b68=this[_0x48cf9d(0x631)]['element'][_0x48cf9d(0x431)](),_0x4009b9=_0x31be6b['clientX']-_0x418b68[_0x48cf9d(0x1a2)],_0x42bf90=_0x31be6b[_0x48cf9d(0x1c9)]-_0x418b68[_0x48cf9d(0x3d4)],_0xd563c0=window[_0x48cf9d(0x1bb)]||0x1,_0x7ca78c=this[_0x48cf9d(0x502)](),_0x1d622f=this[_0x48cf9d(0x2d3)](),_0x5404c5={'x':_0x4009b9*_0xd563c0,'y':_0x42bf90*_0xd563c0},_0x233723=unprojectPointFrom3DView(_0x5404c5,{'width':_0x7ca78c,'height':_0x1d622f},{'rotationZ':this[_0x48cf9d(0x631)][_0x48cf9d(0x2aa)],'perspectiveZ':this[_0x48cf9d(0x631)][_0x48cf9d(0x25d)],'tiltX':this[_0x48cf9d(0x631)]['tiltX']}),_0x808059={'x':_0x233723['x']/_0xd563c0,'y':_0x233723['y']/_0xd563c0},_0x4fb06c=0xc;let _0x556d64=_0x4009b9+_0x4fb06c,_0x14af30=_0x42bf90+_0x4fb06c;const _0x555a44=_0x418b68[_0x48cf9d(0x5ed)]-0xb4,_0x53719f=_0x418b68[_0x48cf9d(0x2bd)]-0x2c;if(_0x556d64>_0x555a44)_0x556d64=_0x4009b9-0xb4-_0x4fb06c;if(_0x14af30>_0x53719f)_0x14af30=_0x42bf90-0x2c-_0x4fb06c;this[_0x48cf9d(0x423)][_0x48cf9d(0x71e)]['left']=_0x556d64+'px',this['tooltipEl']['style']['top']=_0x14af30+'px',this[_0x48cf9d(0x423)][_0x48cf9d(0x71e)][_0x48cf9d(0x3b8)]=_0x48cf9d(0x70a);const _0xfc9935=_0x5ee2f0=>Math[_0x48cf9d(0x3d5)](_0x5ee2f0);this['tooltipEl'][_0x48cf9d(0x2af)]=_0x48cf9d(0x3b0)+_0xfc9935(_0x4009b9)+',\x20'+_0xfc9935(_0x42bf90)+_0x48cf9d(0x580)+_0xfc9935(_0x808059['x'])+',\x20'+_0xfc9935(_0x808059['y']);}[_0x1f7a97(0x334)](){const _0x38cd12=_0x1f7a97;if(this['tooltipEl'])this['tooltipEl']['style'][_0x38cd12(0x3b8)]=_0x38cd12(0x26f);}[_0x1f7a97(0x520)](){const _0x397bde=_0x1f7a97;try{const _0x3e4734=document[_0x397bde(0x26e)]('div');_0x3e4734[_0x397bde(0x71e)]['position']=_0x397bde(0x492),_0x3e4734['style'][_0x397bde(0x6e9)]=_0x397bde(0x42d),_0x3e4734[_0x397bde(0x71e)][_0x397bde(0x4a0)]=_0x397bde(0x26f),_0x3e4734[_0x397bde(0x71e)][_0x397bde(0x5ae)]=_0x397bde(0x6f0),_0x3e4734[_0x397bde(0x71e)][_0x397bde(0x231)]=_0x397bde(0x524),_0x3e4734[_0x397bde(0x71e)][_0x397bde(0x2e6)]=_0x397bde(0x3cd),_0x3e4734[_0x397bde(0x71e)][_0x397bde(0x3fb)]=_0x397bde(0x318),_0x3e4734[_0x397bde(0x71e)][_0x397bde(0x473)]='2px\x206px',_0x3e4734['style'][_0x397bde(0x655)]='4px',_0x3e4734[_0x397bde(0x71e)]['whiteSpace']=_0x397bde(0x4df),_0x3e4734[_0x397bde(0x71e)][_0x397bde(0x3d4)]=_0x397bde(0x509),_0x3e4734[_0x397bde(0x71e)][_0x397bde(0x717)]='6px',_0x3e4734[_0x397bde(0x71e)]['display']=_0x397bde(0x26f),this[_0x397bde(0x631)][_0x397bde(0x4b6)][_0x397bde(0x2b0)](_0x3e4734),this[_0x397bde(0x3b5)]=_0x3e4734;const _0x55e8aa=document['createElement'](_0x397bde(0x5cd));_0x55e8aa[_0x397bde(0x5ed)]=0xa0,_0x55e8aa[_0x397bde(0x2bd)]=0x50,_0x55e8aa['style'][_0x397bde(0x5bb)]=_0x397bde(0x492),_0x55e8aa['style']['zIndex']=_0x397bde(0x42d),_0x55e8aa[_0x397bde(0x71e)][_0x397bde(0x4a0)]=_0x397bde(0x26f),_0x55e8aa[_0x397bde(0x71e)][_0x397bde(0x3d4)]='26px',_0x55e8aa['style'][_0x397bde(0x717)]=_0x397bde(0x509),_0x55e8aa['style'][_0x397bde(0x3b8)]=_0x397bde(0x26f),this[_0x397bde(0x631)]['element'][_0x397bde(0x2b0)](_0x55e8aa),this[_0x397bde(0x647)]=_0x55e8aa;}catch(_0xc69738){}}[_0x1f7a97(0x287)](){const _0x210099=_0x1f7a97,_0x596fbb=performance[_0x210099(0x37d)]();if(this[_0x210099(0x49c)]!=null){const _0x53a5b9=Math[_0x210099(0x67f)](0.0001,_0x596fbb-this[_0x210099(0x49c)]),_0x359fa1=0x3e8/_0x53a5b9;this[_0x210099(0x65a)]=this['fpsEma']==null?_0x359fa1:this['fpsEma']*0.9+_0x359fa1*0.1;if(this['fpsEl'])this[_0x210099(0x3b5)][_0x210099(0x2af)]='FPS:\x20'+this[_0x210099(0x65a)][_0x210099(0x6e1)](0x1);this['fpsHistory']['push']({'t':_0x596fbb,'fps':_0x359fa1});const _0x1881d6=_0x596fbb-this[_0x210099(0x610)];while(this[_0x210099(0x69a)]['length']&&this[_0x210099(0x69a)][0x0]['t']<_0x1881d6){this[_0x210099(0x69a)][_0x210099(0x58e)]();}this[_0x210099(0x70f)](_0x596fbb);}this['lastFrameTimeMs']=_0x596fbb;}[_0x1f7a97(0x70f)](_0x5edcf7){const _0x3f67bc=_0x1f7a97;var _0x97a5ca;if(!this[_0x3f67bc(0x647)])return;const _0x5093a4=this[_0x3f67bc(0x647)][_0x3f67bc(0x1b8)]('2d');if(!_0x5093a4)return;const _0x3fdbf7=this[_0x3f67bc(0x647)][_0x3f67bc(0x5ed)],_0x309fb3=this['fpsCanvas']['height'];_0x5093a4[_0x3f67bc(0x53e)](0x0,0x0,_0x3fdbf7,_0x309fb3),_0x5093a4['fillStyle']=_0x3f67bc(0x1af),_0x5093a4[_0x3f67bc(0x6c9)](0x0,0x0,_0x3fdbf7,_0x309fb3);const _0x5553df=0x3c,_0x2aafeb=_0x309fb3-0x3c/_0x5553df*_0x309fb3;_0x5093a4['strokeStyle']=_0x3f67bc(0x579),_0x5093a4[_0x3f67bc(0x24f)]=0x1,_0x5093a4[_0x3f67bc(0x372)](),_0x5093a4[_0x3f67bc(0x6c6)](0x0,_0x2aafeb),_0x5093a4[_0x3f67bc(0x1d7)](_0x3fdbf7,_0x2aafeb),_0x5093a4[_0x3f67bc(0x1a5)]();const _0x897292=_0x309fb3-0x32/_0x5553df*_0x309fb3;_0x5093a4[_0x3f67bc(0x663)]='rgba(255,255,0,0.9)',_0x5093a4[_0x3f67bc(0x2b4)]([]),_0x5093a4['beginPath'](),_0x5093a4['moveTo'](0x0,_0x897292),_0x5093a4['lineTo'](_0x3fdbf7,_0x897292),_0x5093a4['stroke']();const _0x1d9e80=_0x5edcf7-this[_0x3f67bc(0x610)],_0x5a8229=_0x3fdbf7/this[_0x3f67bc(0x610)];_0x5093a4['lineWidth']=1.5;let _0x1a5d76=null,_0xc94d61=null,_0x3024cc=null;const _0x5f1e0f=0xfa;for(let _0x51c771=0x0;_0x51c771<this[_0x3f67bc(0x69a)][_0x3f67bc(0x420)];_0x51c771++){const _0x176a22=this['fpsHistory'][_0x51c771],_0xaacf0=(_0x176a22['t']-_0x1d9e80)*_0x5a8229,_0x173a8d=Math[_0x3f67bc(0x67f)](0x0,Math[_0x3f67bc(0x19a)](_0x5553df,_0x176a22[_0x3f67bc(0x2ea)])),_0x20235b=_0x309fb3-_0x173a8d/_0x5553df*_0x309fb3,_0x1db73d=_0x3024cc!=null?_0x176a22['t']-_0x3024cc<=_0x5f1e0f:![];_0x1a5d76!=null&&_0xc94d61!=null&&_0x1db73d&&(_0x5093a4[_0x3f67bc(0x663)]=_0x173a8d<0x32?_0x3f67bc(0x2b9):'#6cf',_0x5093a4['beginPath'](),_0x5093a4[_0x3f67bc(0x6c6)](_0x1a5d76,_0xc94d61),_0x5093a4[_0x3f67bc(0x1d7)](_0xaacf0,_0x20235b),_0x5093a4[_0x3f67bc(0x1a5)]()),_0x1a5d76=_0xaacf0,_0xc94d61=_0x20235b,_0x3024cc=_0x176a22['t'];}this['fpsCanvas'][_0x3f67bc(0x71e)][_0x3f67bc(0x3b8)]=((_0x97a5ca=this[_0x3f67bc(0x631)][_0x3f67bc(0x1a3)])==null?void 0x0:_0x97a5ca[_0x3f67bc(0x505)])?_0x3f67bc(0x70a):'none';}[_0x1f7a97(0x593)](_0x222d9b,_0x5a8644){const _0x1da603=_0x1f7a97,_0x5b2896=this[_0x1da603(0x38a)][_0x1da603(0x593)](_0x222d9b);return this['ctx'][_0x1da603(0x55b)](_0x5b2896,_0x5a8644),this[_0x1da603(0x38a)]['compileShader'](_0x5b2896),_0x5b2896;}[_0x1f7a97(0x3a7)](_0x313fe7,_0x29b094){const _0x2effd=_0x1f7a97,_0x17608c=this['ctx'][_0x2effd(0x3a7)]();return this[_0x2effd(0x38a)][_0x2effd(0x2ff)](_0x17608c,_0x313fe7),this['ctx'][_0x2effd(0x2ff)](_0x17608c,_0x29b094),this[_0x2effd(0x38a)][_0x2effd(0x253)](_0x17608c),_0x17608c;}[_0x1f7a97(0x4c8)](_0x1a34be,_0x5300fc,_0x32fd38){const _0x97421c=_0x1f7a97;this[_0x97421c(0x4bc)]=_0x1a34be,this[_0x97421c(0x481)]=_0x5300fc,this[_0x97421c(0x2db)]=_0x32fd38;}[_0x1f7a97(0x559)](_0xf58b82){const _0x57dbb3=_0x1f7a97;this[_0x57dbb3(0x1d1)]=_0xf58b82||new Map();}['drawIconAtlas'](){const _0x257fe2=_0x1f7a97;if(!this[_0x257fe2(0x4d7)]||!this[_0x257fe2(0x4bc)])return;const _0x399a13=this[_0x257fe2(0x38a)],_0x201957=this['getStageWidthPx'](),_0x46c9df=this[_0x257fe2(0x2d3)](),_0x4c2b32=0x8,_0x25dbeb=Math[_0x257fe2(0x19a)](0x100,_0x201957*0.35),_0x9cd95d=Math[_0x257fe2(0x19a)](0xa0,_0x46c9df*0.3),_0x280eb4=this[_0x257fe2(0x481)]>0x0&&this[_0x257fe2(0x2db)]>0x0?this[_0x257fe2(0x481)]/this[_0x257fe2(0x2db)]:0x2;let _0x44da8d=_0x25dbeb,_0x136009=_0x44da8d/_0x280eb4;_0x136009>_0x9cd95d&&(_0x136009=_0x9cd95d,_0x44da8d=_0x136009*_0x280eb4);_0x44da8d*=0x2,_0x136009*=0x2;const _0x37966e=Math['max'](0x0,_0x201957-_0x4c2b32*0x2),_0x2b4ab5=Math[_0x257fe2(0x67f)](0x0,_0x46c9df-_0x4c2b32*0x2),_0x37df64=Math[_0x257fe2(0x19a)](0x1,Math['min'](_0x37966e/Math[_0x257fe2(0x67f)](0x1,_0x44da8d),_0x2b4ab5/Math[_0x257fe2(0x67f)](0x1,_0x136009)));_0x44da8d*=_0x37df64,_0x136009*=_0x37df64;const _0x54f888=_0x4c2b32,_0x259c41=_0x4c2b32,_0x16e1cb=new Float32Array([_0x54f888,_0x259c41,_0x54f888+_0x44da8d,_0x259c41,_0x54f888,_0x259c41+_0x136009,_0x54f888+_0x44da8d,_0x259c41+_0x136009]),_0xd6ace9=new Float32Array([0x0,0x0,0x1,0x0,0x0,0x1,0x1,0x1]);if(!this['atlasBuffer'])this[_0x257fe2(0x1de)]=_0x399a13[_0x257fe2(0x724)]();const _0x5cdb92=_0x16e1cb[_0x257fe2(0x420)]/0x2;_0x399a13[_0x257fe2(0x594)](this[_0x257fe2(0x4d7)]),_0x399a13['uniform1f'](this['u_atlas_stageWidth'],_0x201957),_0x399a13[_0x257fe2(0x684)](this[_0x257fe2(0x5cf)],_0x46c9df);const _0x9ccf08=new Float32Array(_0x5cdb92*0x4);for(let _0x22fa8d=0x0;_0x22fa8d<_0x5cdb92;_0x22fa8d++){_0x9ccf08[_0x22fa8d*0x4+0x0]=_0x16e1cb[_0x22fa8d*0x2+0x0],_0x9ccf08[_0x22fa8d*0x4+0x1]=_0x16e1cb[_0x22fa8d*0x2+0x1],_0x9ccf08[_0x22fa8d*0x4+0x2]=_0xd6ace9[_0x22fa8d*0x2+0x0],_0x9ccf08[_0x22fa8d*0x4+0x3]=_0xd6ace9[_0x22fa8d*0x2+0x1];}_0x399a13[_0x257fe2(0x476)](_0x399a13[_0x257fe2(0x716)],this['atlasBuffer']),_0x399a13[_0x257fe2(0x4a5)](_0x399a13[_0x257fe2(0x716)],_0x9ccf08,_0x399a13['DYNAMIC_DRAW']);const _0x45ed41=0x4*0x4;_0x399a13[_0x257fe2(0x292)](this[_0x257fe2(0x521)]),_0x399a13[_0x257fe2(0x1b0)](this[_0x257fe2(0x521)],0x2,_0x399a13[_0x257fe2(0x31b)],![],_0x45ed41,0x0),_0x399a13[_0x257fe2(0x292)](this[_0x257fe2(0x2e2)]),_0x399a13[_0x257fe2(0x1b0)](this[_0x257fe2(0x2e2)],0x2,_0x399a13['FLOAT'],![],_0x45ed41,0x2*0x4),_0x399a13[_0x257fe2(0x2a5)](_0x399a13[_0x257fe2(0x2fd)]),_0x399a13[_0x257fe2(0x475)](_0x399a13[_0x257fe2(0x49e)],this[_0x257fe2(0x4bc)]),_0x399a13['uniform1i'](this[_0x257fe2(0x342)],0x2);if(!this[_0x257fe2(0x417)])return;const _0x3f8c0c=new Float32Array([_0x54f888,_0x259c41,_0x54f888+_0x44da8d,_0x259c41,_0x54f888,_0x259c41+_0x136009,_0x54f888+_0x44da8d,_0x259c41+_0x136009]);if(!this['rectBuffer'])this[_0x257fe2(0x20f)]=_0x399a13[_0x257fe2(0x724)]();_0x399a13[_0x257fe2(0x476)](_0x399a13['ARRAY_BUFFER'],this[_0x257fe2(0x20f)]),_0x399a13[_0x257fe2(0x4a5)](_0x399a13[_0x257fe2(0x716)],_0x3f8c0c,_0x399a13[_0x257fe2(0x627)]),_0x399a13[_0x257fe2(0x594)](this[_0x257fe2(0x417)]),_0x399a13['enableVertexAttribArray'](this[_0x257fe2(0x197)]),_0x399a13[_0x257fe2(0x1b0)](this['a_rect_positionPx'],0x2,_0x399a13[_0x257fe2(0x31b)],![],0x0,0x0),_0x399a13[_0x257fe2(0x684)](this['u_rect_stageWidth'],_0x201957),_0x399a13[_0x257fe2(0x684)](this['u_rect_stageHeight'],_0x46c9df),_0x399a13['uniform4f'](this['u_rect_color'],0x0,0x0,0x0,0.35),_0x399a13['enable'](_0x399a13[_0x257fe2(0x4e0)]),_0x399a13[_0x257fe2(0x35a)](_0x399a13['SRC_ALPHA'],_0x399a13['ONE_MINUS_SRC_ALPHA']),_0x399a13[_0x257fe2(0x617)](_0x399a13['TRIANGLE_STRIP'],0x0,0x4),_0x399a13[_0x257fe2(0x594)](this[_0x257fe2(0x4d7)]),_0x399a13[_0x257fe2(0x2a5)](_0x399a13['TEXTURE2']),_0x399a13[_0x257fe2(0x475)](_0x399a13[_0x257fe2(0x49e)],this[_0x257fe2(0x4bc)]),_0x399a13[_0x257fe2(0x586)](this['u_atlas_sampler'],0x2),_0x399a13[_0x257fe2(0x297)](_0x399a13['BLEND']),_0x399a13[_0x257fe2(0x35a)](_0x399a13[_0x257fe2(0x60d)],_0x399a13[_0x257fe2(0x537)]),_0x399a13[_0x257fe2(0x476)](_0x399a13['ARRAY_BUFFER'],this[_0x257fe2(0x1de)]),_0x399a13[_0x257fe2(0x292)](this[_0x257fe2(0x521)]),_0x399a13[_0x257fe2(0x1b0)](this[_0x257fe2(0x521)],0x2,_0x399a13[_0x257fe2(0x31b)],![],_0x45ed41,0x0),_0x399a13[_0x257fe2(0x292)](this['a_atlas_texCoord']),_0x399a13[_0x257fe2(0x1b0)](this[_0x257fe2(0x2e2)],0x2,_0x399a13[_0x257fe2(0x31b)],![],_0x45ed41,0x2*0x4),_0x399a13[_0x257fe2(0x617)](_0x399a13[_0x257fe2(0x554)],0x0,_0x5cdb92);if(this['rectProgram']&&this[_0x257fe2(0x1d1)]&&this[_0x257fe2(0x1d1)][_0x257fe2(0x5b9)]>0x0){const _0x108492=[0x0,0x0,0x0,0.5],_0x57ecca=0x1;_0x399a13['useProgram'](this[_0x257fe2(0x417)]),_0x399a13[_0x257fe2(0x684)](this[_0x257fe2(0x1c4)],_0x201957),_0x399a13[_0x257fe2(0x684)](this[_0x257fe2(0x203)],_0x46c9df),_0x399a13[_0x257fe2(0x48b)](this[_0x257fe2(0x2c8)],_0x108492[0x0],_0x108492[0x1],_0x108492[0x2],_0x108492[0x3]);if(!this['rectBuffer'])this[_0x257fe2(0x20f)]=_0x399a13['createBuffer']();_0x399a13[_0x257fe2(0x476)](_0x399a13[_0x257fe2(0x716)],this[_0x257fe2(0x20f)]),_0x399a13[_0x257fe2(0x292)](this[_0x257fe2(0x197)]),_0x399a13[_0x257fe2(0x1b0)](this[_0x257fe2(0x197)],0x2,_0x399a13[_0x257fe2(0x31b)],![],0x0,0x0);const _0x46855b=Array['from'](this[_0x257fe2(0x1d1)][_0x257fe2(0x255)]())['sort']((_0x53d2c0,_0x168fc9)=>_0x53d2c0['x']-_0x168fc9['x']);for(let _0x502acd=0x0;_0x502acd<_0x46855b[_0x257fe2(0x420)];_0x502acd++){const _0xe748de=_0x46855b[_0x502acd],_0x730877=_0x54f888+_0xe748de['x']*_0x44da8d,_0x2f370b=_0x730877+_0xe748de[_0x257fe2(0x5ed)]*_0x44da8d;if(_0x502acd>0x0){const _0x5c2afa=new Float32Array([_0x730877,_0x259c41,_0x730877+_0x57ecca,_0x259c41,_0x730877,_0x259c41+_0x136009,_0x730877+_0x57ecca,_0x259c41+_0x136009]);_0x399a13['bufferData'](_0x399a13[_0x257fe2(0x716)],_0x5c2afa,_0x399a13[_0x257fe2(0x627)]),_0x399a13[_0x257fe2(0x617)](_0x399a13['TRIANGLE_STRIP'],0x0,0x4);}if(_0x502acd<_0x46855b[_0x257fe2(0x420)]-0x1){const _0x3d6997=new Float32Array([_0x2f370b,_0x259c41,_0x2f370b+_0x57ecca,_0x259c41,_0x2f370b,_0x259c41+_0x136009,_0x2f370b+_0x57ecca,_0x259c41+_0x136009]);_0x399a13[_0x257fe2(0x4a5)](_0x399a13[_0x257fe2(0x716)],_0x3d6997,_0x399a13[_0x257fe2(0x627)]),_0x399a13[_0x257fe2(0x617)](_0x399a13[_0x257fe2(0x554)],0x0,0x4);}}const _0x41e7f0=_0x259c41+0x1,_0xe75159=new Float32Array([_0x54f888,_0x41e7f0,_0x54f888+_0x44da8d,_0x41e7f0,_0x54f888,_0x41e7f0+_0x57ecca,_0x54f888+_0x44da8d,_0x41e7f0+_0x57ecca]);_0x399a13[_0x257fe2(0x4a5)](_0x399a13[_0x257fe2(0x716)],_0xe75159,_0x399a13[_0x257fe2(0x627)]),_0x399a13[_0x257fe2(0x617)](_0x399a13[_0x257fe2(0x554)],0x0,0x4);const _0x72eb7f=_0x259c41+_0x136009-0x1-_0x57ecca,_0x5aab5b=new Float32Array([_0x54f888,_0x72eb7f,_0x54f888+_0x44da8d,_0x72eb7f,_0x54f888,_0x72eb7f+_0x57ecca,_0x54f888+_0x44da8d,_0x72eb7f+_0x57ecca]);_0x399a13[_0x257fe2(0x4a5)](_0x399a13[_0x257fe2(0x716)],_0x5aab5b,_0x399a13[_0x257fe2(0x627)]),_0x399a13['drawArrays'](_0x399a13['TRIANGLE_STRIP'],0x0,0x4);}}},HoverSeatLabel=class{constructor(_0x2ea8b5,_0x5c15c9){const _0x7eacab=_0x1f7a97;this[_0x7eacab(0x566)]=_0x2ea8b5,this[_0x7eacab(0x590)]=_0x5c15c9,this[_0x7eacab(0x6f4)]=document[_0x7eacab(0x26e)](_0x7eacab(0x6c1)),this['labelEl'][_0x7eacab(0x71e)][_0x7eacab(0x5bb)]=_0x7eacab(0x492),this[_0x7eacab(0x6f4)][_0x7eacab(0x71e)]['pointerEvents']=_0x7eacab(0x26f),this[_0x7eacab(0x6f4)][_0x7eacab(0x71e)][_0x7eacab(0x1f6)]=_0x7eacab(0x23f),this[_0x7eacab(0x6f4)]['style'][_0x7eacab(0x722)]=_0x7eacab(0x4df),this[_0x7eacab(0x6f4)]['style']['zIndex']='3',this[_0x7eacab(0x6f4)]['style']['willChange']='transform,\x20left,\x20top',this[_0x7eacab(0x6f4)][_0x7eacab(0x71e)][_0x7eacab(0x63f)]='none',this[_0x7eacab(0x6f1)](),this[_0x7eacab(0x590)]['appendChild'](this['labelEl']);}[_0x1f7a97(0x6d0)](_0x59e158,_0xf6e5fa){const _0x5695b2=_0x1f7a97;var _0x409bb0,_0x20759a,_0x598578;if(this[_0x5695b2(0x566)][_0x5695b2(0x6c4)]){this['hide']();return;}const _0x1610c9=this[_0x5695b2(0x566)][_0x5695b2(0x5a4)];if(!_0x1610c9){this[_0x5695b2(0x6f1)]();return;}const _0x30e727=_0x1610c9[_0x5695b2(0x503)]||'';if(!_0x30e727){this[_0x5695b2(0x6f1)]();return;}const _0x4dc491=_0x1610c9[_0x5695b2(0x61f)];if(_0x1610c9[_0x5695b2(0x6c7)]||_0x1610c9['filtered']||((_0x20759a=(_0x409bb0=this[_0x5695b2(0x566)])[_0x5695b2(0x2ab)])==null?void 0x0:_0x20759a[_0x5695b2(0x453)](_0x409bb0,_0x1610c9['id']))||_0x4dc491==='loading'||_0x4dc491===_0x5695b2(0x62b)){this['hide']();return;}if(this['hasSeatTexture'](_0x1610c9)){this[_0x5695b2(0x6f1)]();return;}const _0x4cda6a=_0x1610c9['x']*_0x59e158+_0xf6e5fa['x'],_0x25b0b7=_0x1610c9['y']*_0x59e158+_0xf6e5fa['y'];let _0x1db383=_0x4cda6a,_0x372955=_0x25b0b7;if(this[_0x5695b2(0x566)][_0x5695b2(0x21c)]){const _0x5a991a=window[_0x5695b2(0x1bb)]||0x1,_0x3c212d=this['container'][_0x5695b2(0x3f3)](_0x5695b2(0x5cd)),_0x1e72fa=(_0x3c212d==null?void 0x0:_0x3c212d[_0x5695b2(0x5ed)])||this['container'][_0x5695b2(0x6e7)]*_0x5a991a,_0x3c4409=(_0x3c212d==null?void 0x0:_0x3c212d[_0x5695b2(0x2bd)])||this[_0x5695b2(0x590)][_0x5695b2(0x301)]*_0x5a991a,_0x351bbd={'width':_0x1e72fa,'height':_0x3c4409},_0x52d161={'rotationZ':-this[_0x5695b2(0x566)][_0x5695b2(0x2aa)]||0x0,'perspectiveZ':this[_0x5695b2(0x566)][_0x5695b2(0x25d)]||0x0,'tiltX':this[_0x5695b2(0x566)]['tiltX']||0x0},_0x26d9a8=projectPointTo3DView({'x':_0x4cda6a,'y':_0x25b0b7},_0x351bbd,_0x52d161);_0x1db383=_0x26d9a8['x']/_0x5a991a,_0x372955=_0x26d9a8['y']/_0x5a991a;}const _0x567f60=(_0x598578=this[_0x5695b2(0x566)][_0x5695b2(0x1a3)][_0x5695b2(0x389)])==null?void 0x0:_0x598578[_0x5695b2(0x5cb)],_0x5178da=(_0x567f60==null?void 0x0:_0x567f60[_0x5695b2(0x2fa)])||(_0x567f60==null?void 0x0:_0x567f60[_0x5695b2(0x63a)]),_0x55bde2=this['context'][_0x5695b2(0x1a3)]['onBeforeSeatDraw']?this[_0x5695b2(0x566)][_0x5695b2(0x1a3)][_0x5695b2(0x4b8)]({'context':this[_0x5695b2(0x566)],'seat':_0x1610c9,'style':_0x5178da,'state':_0x5695b2(0x2fa)})||_0x5178da:_0x5178da,_0x344a13=_0x55bde2==null?void 0x0:_0x55bde2['seatName'],_0x43ed21=this[_0x5695b2(0x566)][_0x5695b2(0x478)]/window[_0x5695b2(0x1bb)]>=0.35;if(!_0x344a13||!_0x43ed21){this['hide']();return;}const _0x3e52cb=_0x344a13[_0x5695b2(0x6db)]||_0x5695b2(0x5a0),_0x43e971=_0x344a13['color']||'#FFFFFF';this[_0x5695b2(0x6f4)][_0x5695b2(0x2af)]=_0x30e727,this[_0x5695b2(0x6f4)][_0x5695b2(0x71e)][_0x5695b2(0x1a2)]=_0x1db383+'px',this['labelEl'][_0x5695b2(0x71e)][_0x5695b2(0x3d4)]=_0x372955+0x1+'px',this[_0x5695b2(0x6f4)][_0x5695b2(0x71e)][_0x5695b2(0x231)]=_0x43e971,this[_0x5695b2(0x6f4)]['style'][_0x5695b2(0x6db)]=_0x3e52cb,this[_0x5695b2(0x6f4)][_0x5695b2(0x71e)]['display']='block';}[_0x1f7a97(0x4b1)](){const _0x480565=_0x1f7a97;this[_0x480565(0x6f1)](),this[_0x480565(0x6f4)][_0x480565(0x5e9)]&&this[_0x480565(0x6f4)]['parentNode'][_0x480565(0x396)](this[_0x480565(0x6f4)]);}[_0x1f7a97(0x6f1)](){const _0x13187d=_0x1f7a97;this[_0x13187d(0x6f4)]['style']['display']=_0x13187d(0x26f);}[_0x1f7a97(0x2f1)](_0x1dc9f8){const _0x585233=_0x1f7a97;var _0x20fb4c,_0x58d4ab,_0x3bfe2c;try{const _0x3ff85f=(_0x20fb4c=this[_0x585233(0x566)][_0x585233(0x1a3)][_0x585233(0x389)])==null?void 0x0:_0x20fb4c['seatStyles'],_0x4910c3=(_0x1dc9f8==null?void 0x0:_0x1dc9f8['locked'])?_0x3ff85f==null?void 0x0:_0x3ff85f[_0x585233(0x67c)]:(_0x1dc9f8==null?void 0x0:_0x1dc9f8['filtered'])?_0x3ff85f==null?void 0x0:_0x3ff85f[_0x585233(0x4a7)]:_0x3ff85f==null?void 0x0:_0x3ff85f['default'],_0x48a12f=(_0x3bfe2c=(_0x58d4ab=this[_0x585233(0x566)][_0x585233(0x1a3)])[_0x585233(0x4b8)])==null?void 0x0:_0x3bfe2c['call'](_0x58d4ab,{'context':this[_0x585233(0x566)],'seat':_0x1dc9f8,'style':_0x4910c3,'state':_0x585233(0x63a)});if(_0x1dc9f8==null?void 0x0:_0x1dc9f8['isMarked'])return!![];if(_0x48a12f==null?void 0x0:_0x48a12f[_0x585233(0x1e2)])return!![];if(_0x4910c3==null?void 0x0:_0x4910c3[_0x585233(0x1e2)])return!![];return![];}catch(_0x1fc57e){return![];}}},dpr4=window[_0x1f7a97(0x1bb)],ArkanoidGame=class{constructor(_0x581c81,_0x4287ff,_0x3661fd,_0x4a936a,_0x59af51){const _0x21f14f=_0x1f7a97;this[_0x21f14f(0x4c3)]=![],this['phase']=_0x21f14f(0x310),this[_0x21f14f(0x562)]=0x0,this[_0x21f14f(0x2e7)]=0x15e,this[_0x21f14f(0x5cd)]=null,this[_0x21f14f(0x22c)]=null,this[_0x21f14f(0x61f)]=null,this[_0x21f14f(0x566)]=_0x581c81,this[_0x21f14f(0x335)]=_0x4287ff,this[_0x21f14f(0x218)]=_0x3661fd,this[_0x21f14f(0x1f5)]=_0x4a936a,this[_0x21f14f(0x69e)]=_0x59af51,this['initCanvas'](),this['attachKeyboardHandlers']();}['isActive'](){const _0x1ce623=_0x1f7a97;return this[_0x1ce623(0x4c3)]||this[_0x1ce623(0x20d)]===_0x1ce623(0x58a);}[_0x1f7a97(0x29e)](){const _0x187048=_0x1f7a97,_0x1eb6e5=this[_0x187048(0x566)]['scale']/dpr4;return _0x1eb6e5>=0.75&&_0x1eb6e5<=0x1;}[_0x1f7a97(0x5d5)](){const _0x1eae74=_0x1f7a97;this[_0x1eae74(0x4c3)]=!this[_0x1eae74(0x4c3)],this[_0x1eae74(0x4c3)]?(this[_0x1eae74(0x675)](),this[_0x1eae74(0x20d)]=_0x1eae74(0x3cb),this[_0x1eae74(0x562)]=performance[_0x1eae74(0x37d)](),this[_0x1eae74(0x1f5)]()):this[_0x1eae74(0x460)]();}[_0x1f7a97(0x511)](){const _0x2f08c6=_0x1f7a97;if(!this[_0x2f08c6(0x4c3)])return;this[_0x2f08c6(0x460)]();}[_0x1f7a97(0x460)](){const _0x360328=_0x1f7a97;if(this[_0x360328(0x20d)]==='fadeOut')return;this[_0x360328(0x20d)]=_0x360328(0x58a),this['phaseStartMs']=performance[_0x360328(0x37d)](),this[_0x360328(0x1f5)]();}['resize'](){const _0x4238b4=_0x1f7a97;if(!this[_0x4238b4(0x5cd)])return;const {width:_0x210004,height:_0x14799d}=this['getStageSize']();this[_0x4238b4(0x5cd)][_0x4238b4(0x5ed)]=_0x210004*dpr4,this[_0x4238b4(0x5cd)]['height']=_0x14799d*dpr4,this[_0x4238b4(0x5cd)][_0x4238b4(0x71e)][_0x4238b4(0x5ed)]=_0x210004+'px',this[_0x4238b4(0x5cd)][_0x4238b4(0x71e)][_0x4238b4(0x2bd)]=_0x14799d+'px';if(this[_0x4238b4(0x22c)])this[_0x4238b4(0x22c)][_0x4238b4(0x4ca)](dpr4,0x0,0x0,dpr4,0x0,0x0);}[_0x1f7a97(0x3da)](_0x2e4007){const _0x3897c0=_0x1f7a97;if(!this[_0x3897c0(0x4c3)]||!this['state'])return![];const _0x312062=this['state'],_0x1e1f58=_0x312062['lastTime']?(_0x2e4007-_0x312062[_0x3897c0(0x6e2)])/16.6667:0x1,_0x4a6a42=_0x1e1f58*16.6667;_0x312062[_0x3897c0(0x6e2)]=_0x2e4007;this[_0x3897c0(0x20d)]===_0x3897c0(0x3cb)&&_0x2e4007-this[_0x3897c0(0x562)]>=this[_0x3897c0(0x2e7)]&&(this['phase']=_0x3897c0(0x4c3));const {width:_0xece76b,height:_0x477678}=this['getStageSize'](),_0x45dc83=0x8*_0x1e1f58;if(_0x312062[_0x3897c0(0x25b)])_0x312062[_0x3897c0(0x427)]-=_0x45dc83;if(_0x312062[_0x3897c0(0x65d)])_0x312062[_0x3897c0(0x427)]+=_0x45dc83;_0x312062[_0x3897c0(0x427)]=Math[_0x3897c0(0x67f)](0x0,Math['min'](_0xece76b-_0x312062[_0x3897c0(0x315)],_0x312062[_0x3897c0(0x427)]));if(_0x312062[_0x3897c0(0x70d)])return _0x312062[_0x3897c0(0x367)]=_0x312062[_0x3897c0(0x427)]+_0x312062[_0x3897c0(0x315)]/0x2,_0x312062[_0x3897c0(0x598)]=_0x312062[_0x3897c0(0x626)]-_0x312062[_0x3897c0(0x6a1)]-0x1,!![];_0x312062[_0x3897c0(0x367)]+=_0x312062['ballVX']*_0x1e1f58,_0x312062['ballY']+=_0x312062['ballVY']*_0x1e1f58;if(_0x312062[_0x3897c0(0x367)]-_0x312062[_0x3897c0(0x6a1)]<0x0)_0x312062['ballX']=_0x312062['ballRadius'],_0x312062[_0x3897c0(0x658)]*=-0x1;else _0x312062[_0x3897c0(0x367)]+_0x312062['ballRadius']>_0xece76b&&(_0x312062['ballX']=_0xece76b-_0x312062[_0x3897c0(0x6a1)],_0x312062[_0x3897c0(0x658)]*=-0x1);_0x312062[_0x3897c0(0x598)]-_0x312062[_0x3897c0(0x6a1)]<0x0&&(_0x312062['ballY']=_0x312062[_0x3897c0(0x6a1)],_0x312062[_0x3897c0(0x261)]*=-0x1);if(_0x312062[_0x3897c0(0x598)]+_0x312062['ballRadius']>=_0x312062[_0x3897c0(0x626)]&&_0x312062[_0x3897c0(0x598)]+_0x312062[_0x3897c0(0x6a1)]<=_0x312062[_0x3897c0(0x626)]+_0x312062[_0x3897c0(0x672)]&&_0x312062['ballX']>=_0x312062['paddleX']&&_0x312062['ballX']<=_0x312062[_0x3897c0(0x427)]+_0x312062[_0x3897c0(0x315)]&&_0x312062[_0x3897c0(0x261)]>0x0){_0x312062[_0x3897c0(0x598)]=_0x312062[_0x3897c0(0x626)]-_0x312062[_0x3897c0(0x6a1)];const _0x17dd51=(_0x312062[_0x3897c0(0x367)]-(_0x312062[_0x3897c0(0x427)]+_0x312062['paddleWidth']/0x2))/(_0x312062['paddleWidth']/0x2);_0x312062[_0x3897c0(0x658)]=0x5*_0x17dd51,_0x312062[_0x3897c0(0x261)]*=-0x1;}let _0x23c797=![];for(let _0x14afc3=0x0;_0x14afc3<_0x312062[_0x3897c0(0x4fc)]['length'];_0x14afc3++){const _0x568320=_0x312062[_0x3897c0(0x4fc)][_0x14afc3];if(!_0x568320[_0x3897c0(0x1d0)])continue;_0x23c797=!![];if(_0x312062[_0x3897c0(0x367)]>=_0x568320['x']&&_0x312062['ballX']<=_0x568320['x']+_0x568320[_0x3897c0(0x5ed)]&&_0x312062['ballY']>=_0x568320['y']&&_0x312062['ballY']<=_0x568320['y']+_0x568320[_0x3897c0(0x2bd)]){_0x568320[_0x3897c0(0x1d0)]=![],this[_0x3897c0(0x730)](_0x568320['x']+_0x568320[_0x3897c0(0x5ed)]/0x2,_0x568320['y']+_0x568320[_0x3897c0(0x2bd)]/0x2,_0x568320['color']),_0x312062[_0x3897c0(0x261)]*=-0x1;break;}}if(!_0x23c797)_0x312062[_0x3897c0(0x239)]=![];for(let _0x5e1e82=_0x312062['explosions']['length']-0x1;_0x5e1e82>=0x0;_0x5e1e82--){const _0x27323e=_0x312062[_0x3897c0(0x3b4)][_0x5e1e82];let _0x340359=!![];for(let _0x519fc4=0x0;_0x519fc4<_0x27323e[_0x3897c0(0x703)][_0x3897c0(0x420)];_0x519fc4++){const _0xdc89d9=_0x27323e['particles'][_0x519fc4];_0xdc89d9[_0x3897c0(0x32c)]+=_0x4a6a42,_0xdc89d9['x']+=_0xdc89d9['vx']*_0x1e1f58,_0xdc89d9['y']+=_0xdc89d9['vy']*_0x1e1f58,_0xdc89d9['vy']+=0.12*_0x1e1f58;if(_0xdc89d9[_0x3897c0(0x32c)]<_0xdc89d9['lifeMs'])_0x340359=![];}_0x340359&&_0x312062['explosions'][_0x3897c0(0x219)](_0x5e1e82,0x1);}return _0x312062[_0x3897c0(0x598)]-_0x312062['ballRadius']>_0x477678&&(_0x312062['attached']=!![],_0x312062[_0x3897c0(0x658)]=0x0,_0x312062[_0x3897c0(0x261)]=0x0,_0x312062['ballX']=_0x312062[_0x3897c0(0x427)]+_0x312062[_0x3897c0(0x315)]/0x2,_0x312062[_0x3897c0(0x598)]=_0x312062[_0x3897c0(0x626)]-_0x312062['ballRadius']-0x1),(this[_0x3897c0(0x4c3)]||this[_0x3897c0(0x20d)]===_0x3897c0(0x58a))&&(_0x312062['running']||!![]);}[_0x1f7a97(0x6d0)](){const _0x1e9a8a=_0x1f7a97;if(!this[_0x1e9a8a(0x22c)]||!this[_0x1e9a8a(0x61f)])return;const _0x5deccc=this[_0x1e9a8a(0x22c)],{width:_0x302a09,height:_0x59959b}=this[_0x1e9a8a(0x218)]();_0x5deccc[_0x1e9a8a(0x53e)](0x0,0x0,_0x302a09,_0x59959b);const _0x363f6c=this[_0x1e9a8a(0x61f)];let _0x1e80fe=0x1;if(this[_0x1e9a8a(0x20d)]===_0x1e9a8a(0x3cb))_0x1e80fe=Math['min'](0x1,(performance[_0x1e9a8a(0x37d)]()-this[_0x1e9a8a(0x562)])/this[_0x1e9a8a(0x2e7)]);else{if(this[_0x1e9a8a(0x20d)]==='fadeOut'){_0x1e80fe=0x1-Math[_0x1e9a8a(0x19a)](0x1,(performance[_0x1e9a8a(0x37d)]()-this[_0x1e9a8a(0x562)])/this[_0x1e9a8a(0x2e7)]);if(_0x1e80fe<=0x0){this['finishFadeOut']();return;}}}_0x5deccc[_0x1e9a8a(0x50a)](),_0x5deccc[_0x1e9a8a(0x459)]=_0x1e80fe;for(let _0x261759=0x0;_0x261759<_0x363f6c[_0x1e9a8a(0x4fc)][_0x1e9a8a(0x420)];_0x261759++){const _0x1c0370=_0x363f6c[_0x1e9a8a(0x4fc)][_0x261759];if(!_0x1c0370['alive'])continue;_0x5deccc[_0x1e9a8a(0x438)]=_0x1c0370[_0x1e9a8a(0x231)],_0x5deccc[_0x1e9a8a(0x6c9)](_0x1c0370['x'],_0x1c0370['y'],_0x1c0370[_0x1e9a8a(0x5ed)],_0x1c0370[_0x1e9a8a(0x2bd)]);}_0x5deccc['fillStyle']=_0x1e9a8a(0x6a9),_0x5deccc['fillRect'](_0x363f6c[_0x1e9a8a(0x427)],_0x363f6c['paddleY'],_0x363f6c[_0x1e9a8a(0x315)],_0x363f6c[_0x1e9a8a(0x672)]),_0x5deccc[_0x1e9a8a(0x372)](),_0x5deccc[_0x1e9a8a(0x438)]=_0x1e9a8a(0x2c5),_0x5deccc[_0x1e9a8a(0x41c)](_0x363f6c['ballX'],_0x363f6c[_0x1e9a8a(0x598)],_0x363f6c['ballRadius'],0x0,Math['PI']*0x2),_0x5deccc[_0x1e9a8a(0x309)](),_0x5deccc[_0x1e9a8a(0x683)]();for(let _0x3c582c=0x0;_0x3c582c<_0x363f6c[_0x1e9a8a(0x3b4)]['length'];_0x3c582c++){const _0x1862f7=_0x363f6c[_0x1e9a8a(0x3b4)][_0x3c582c];for(let _0x2d8e7c=0x0;_0x2d8e7c<_0x1862f7[_0x1e9a8a(0x703)][_0x1e9a8a(0x420)];_0x2d8e7c++){const _0x5bf566=_0x1862f7[_0x1e9a8a(0x703)][_0x2d8e7c],_0x19ecec=Math['min'](0x1,_0x5bf566['ageMs']/_0x5bf566['lifeMs']),_0xe6e1a2=_0x5bf566[_0x1e9a8a(0x5b9)]*(0x1-_0x19ecec),_0x3577da=0x1-_0x19ecec;_0x5deccc[_0x1e9a8a(0x459)]=_0x3577da,_0x5deccc[_0x1e9a8a(0x438)]=_0x5bf566[_0x1e9a8a(0x231)],_0x5deccc[_0x1e9a8a(0x6c9)](_0x5bf566['x']-_0xe6e1a2/0x2,_0x5bf566['y']-_0xe6e1a2/0x2,_0xe6e1a2,_0xe6e1a2);}_0x5deccc['globalAlpha']=0x1;}}[_0x1f7a97(0x4b1)](){const _0x1cbe4e=_0x1f7a97;if(this['keydownHandler'])window[_0x1cbe4e(0x693)](_0x1cbe4e(0x41d),this['keydownHandler']);if(this['keyupHandler'])window[_0x1cbe4e(0x693)]('keyup',this[_0x1cbe4e(0x4bf)]);if(this[_0x1cbe4e(0x22c)]&&this[_0x1cbe4e(0x5cd)]){const {width:_0x2dc347,height:_0x3ca818}=this[_0x1cbe4e(0x218)]();this[_0x1cbe4e(0x22c)]['clearRect'](0x0,0x0,_0x2dc347,_0x3ca818);}this[_0x1cbe4e(0x5cd)]&&(this[_0x1cbe4e(0x5cd)][_0x1cbe4e(0x606)](),this[_0x1cbe4e(0x5cd)]=null,this[_0x1cbe4e(0x22c)]=null),this[_0x1cbe4e(0x4c3)]=![],this[_0x1cbe4e(0x61f)]=null;}['initCanvas'](){const _0x635979=_0x1f7a97;if(this[_0x635979(0x5cd)])return;const {width:_0x3dec7d,height:_0x24c3a6}=this[_0x635979(0x218)](),_0x424fc9=document[_0x635979(0x26e)](_0x635979(0x5cd));_0x424fc9[_0x635979(0x5ed)]=_0x3dec7d*dpr4,_0x424fc9[_0x635979(0x2bd)]=_0x24c3a6*dpr4,_0x424fc9[_0x635979(0x71e)]['position']='absolute',_0x424fc9[_0x635979(0x71e)][_0x635979(0x1a2)]='0',_0x424fc9['style'][_0x635979(0x3d4)]='0',_0x424fc9[_0x635979(0x71e)][_0x635979(0x5ed)]=_0x3dec7d+'px',_0x424fc9[_0x635979(0x71e)][_0x635979(0x2bd)]=_0x24c3a6+'px',_0x424fc9['style']['zIndex']='2',_0x424fc9[_0x635979(0x71e)][_0x635979(0x4a0)]=_0x635979(0x26f),this[_0x635979(0x335)]['appendChild'](_0x424fc9);const _0xa96813=_0x424fc9[_0x635979(0x1b8)]('2d');if(_0xa96813)_0xa96813[_0x635979(0x4ca)](dpr4,0x0,0x0,dpr4,0x0,0x0);this[_0x635979(0x5cd)]=_0x424fc9,this[_0x635979(0x22c)]=_0xa96813;}[_0x1f7a97(0x698)](){const _0x349fd7=_0x1f7a97;this['keydownHandler']=_0xef2f7b=>{const _0x2cf9a4=_0x18e5;if(_0xef2f7b[_0x2cf9a4(0x636)]===_0x2cf9a4(0x5b1)&&_0xef2f7b[_0x2cf9a4(0x709)]&&_0xef2f7b[_0x2cf9a4(0x1b7)]&&_0xef2f7b[_0x2cf9a4(0x68b)]){_0xef2f7b[_0x2cf9a4(0x1f0)]();if(!this['active']&&!this[_0x2cf9a4(0x29e)]())return;this[_0x2cf9a4(0x5d5)]();return;}if(!this[_0x2cf9a4(0x4c3)]||!this[_0x2cf9a4(0x61f)])return;if(_0xef2f7b[_0x2cf9a4(0x636)]===_0x2cf9a4(0x4db)||_0xef2f7b[_0x2cf9a4(0x636)]==='Spacebar'){_0xef2f7b[_0x2cf9a4(0x1f0)]();if(this[_0x2cf9a4(0x61f)][_0x2cf9a4(0x70d)]){this[_0x2cf9a4(0x61f)][_0x2cf9a4(0x70d)]=![];const _0x1a41a9=Math[_0x2cf9a4(0x52e)]()*0.6-0.3;this['state']['ballVX']=0x4+_0x1a41a9*0x2,this[_0x2cf9a4(0x61f)][_0x2cf9a4(0x261)]=-0x4;}return;}if(_0xef2f7b['code']==='ArrowLeft')_0xef2f7b[_0x2cf9a4(0x1f0)](),this[_0x2cf9a4(0x61f)][_0x2cf9a4(0x25b)]=!![];else _0xef2f7b['code']===_0x2cf9a4(0x33e)&&(_0xef2f7b[_0x2cf9a4(0x1f0)](),this[_0x2cf9a4(0x61f)]['rightPressed']=!![]);},this['keyupHandler']=_0x28f9b1=>{const _0x545ef5=_0x18e5;if(!this['active']||!this[_0x545ef5(0x61f)])return;if(_0x28f9b1[_0x545ef5(0x636)]===_0x545ef5(0x534))_0x28f9b1['preventDefault'](),this['state'][_0x545ef5(0x25b)]=![];else _0x28f9b1[_0x545ef5(0x636)]===_0x545ef5(0x33e)&&(_0x28f9b1[_0x545ef5(0x1f0)](),this[_0x545ef5(0x61f)][_0x545ef5(0x65d)]=![]);},window['addEventListener'](_0x349fd7(0x41d),this[_0x349fd7(0x2c9)],{'passive':![]}),window['addEventListener']('keyup',this[_0x349fd7(0x4bf)],{'passive':![]});}['start'](){const _0x5e9329=_0x1f7a97;if(!this[_0x5e9329(0x5cd)]||!this[_0x5e9329(0x22c)])this[_0x5e9329(0x6cc)]();const {width:_0x20ab94,height:_0x4c100c}=this['getStageSize']();this['context'][_0x5e9329(0x1a3)][_0x5e9329(0x30e)]=!![],this['invalidateSeatsGeometry']();const _0x4b640d=[],_0x3d34aa=(this[_0x5e9329(0x566)]['seats']||[])[_0x5e9329(0x4c7)](_0x14ae8c=>!_0x14ae8c[_0x5e9329(0x6c7)]),_0x4da371=0x1a,_0x3bcbcc=0x12;for(let _0x3258d9=0x0;_0x3258d9<_0x3d34aa['length'];_0x3258d9++){const _0x452e70=_0x3d34aa[_0x3258d9],_0x31b481=this[_0x5e9329(0x566)][_0x5e9329(0x242)]({'x':_0x452e70['x'],'y':_0x452e70['y']}),_0x56849c=this['getSeatBaseColor'](_0x452e70[_0x5e9329(0x479)]);_0x4b640d[_0x5e9329(0x51f)]({'x':_0x31b481['x']-_0x4da371/0x2,'y':_0x31b481['y']-_0x3bcbcc/0x2,'width':_0x4da371,'height':_0x3bcbcc,'color':_0x56849c,'alive':!![]});}const _0x42423b=Math[_0x5e9329(0x67f)](0x3c,Math['min'](0x8c,Math['round'](_0x20ab94*0.2))),_0x102d82=0xa,_0xb574ac=_0x4c100c-0x18,_0x31db23=(_0x20ab94-_0x42423b)/0x2;this[_0x5e9329(0x61f)]={'paddleX':_0x31db23,'paddleY':_0xb574ac,'paddleWidth':_0x42423b,'paddleHeight':_0x102d82,'leftPressed':![],'rightPressed':![],'attached':!![],'ballX':_0x31db23+_0x42423b/0x2,'ballY':_0xb574ac-0xa-0x1,'ballVX':0x0,'ballVY':0x0,'ballRadius':0xa,'bricks':_0x4b640d,'brickWidth':_0x4da371,'brickHeight':_0x3bcbcc,'explosions':[],'running':!![],'lastTime':performance[_0x5e9329(0x37d)]()};}[_0x1f7a97(0x652)](){const _0xbb668d=_0x1f7a97;if(this[_0xbb668d(0x22c)]&&this[_0xbb668d(0x5cd)]){const {width:_0x713c69,height:_0x2d5bb7}=this[_0xbb668d(0x218)]();this[_0xbb668d(0x22c)]['clearRect'](0x0,0x0,_0x713c69,_0x2d5bb7);}this['state']=null;}[_0x1f7a97(0x607)](){const _0x1b4f9a=_0x1f7a97;this[_0x1b4f9a(0x566)][_0x1b4f9a(0x1a3)][_0x1b4f9a(0x30e)]=![],this[_0x1b4f9a(0x69e)](),this[_0x1b4f9a(0x4c3)]=![],this['phase']=_0x1b4f9a(0x310),this['stop']();}[_0x1f7a97(0x730)](_0x169923,_0x2e8482,_0x4d9110){const _0x18a9ea=_0x1f7a97;if(!this['state'])return;const _0x4bc5cc=0xa+Math['floor'](Math[_0x18a9ea(0x52e)]()*0xa),_0x1ce02c=new Array(_0x4bc5cc)['fill'](0x0)[_0x18a9ea(0x65c)](()=>{const _0x426b8c=_0x18a9ea,_0x20a433=Math[_0x426b8c(0x52e)]()*Math['PI']*0x2,_0x150cd3=0x2+Math['random']()*0x3;return{'x':_0x169923,'y':_0x2e8482,'vx':Math[_0x426b8c(0x40f)](_0x20a433)*_0x150cd3,'vy':Math[_0x426b8c(0x5e6)](_0x20a433)*_0x150cd3,'size':0x6+Math[_0x426b8c(0x52e)]()*0x6,'lifeMs':0x190+Math[_0x426b8c(0x52e)]()*0xfa,'ageMs':0x0,'color':_0x4d9110};});this['state']['explosions'][_0x18a9ea(0x51f)]({'particles':_0x1ce02c});}['getSeatBaseColor'](_0x262850){const _0x206cb4=_0x1f7a97;var _0x2b17c1,_0x19e51b,_0x43120c,_0xc2b846,_0x48f17a,_0x436064,_0x11b7a9;if(_0x262850!==void 0x0&&_0x262850!==null){const _0x350da2=(_0x2b17c1=this[_0x206cb4(0x566)][_0x206cb4(0x51b)])==null?void 0x0:_0x2b17c1[Number(_0x262850)];if(_0x350da2&&_0x350da2['color'])return _0x350da2[_0x206cb4(0x231)];}const _0x486292=((_0xc2b846=(_0x43120c=(_0x19e51b=this[_0x206cb4(0x566)][_0x206cb4(0x1a3)]['theme'])==null?void 0x0:_0x19e51b['seatStyles'])==null?void 0x0:_0x43120c[_0x206cb4(0x63a)])==null?void 0x0:_0xc2b846[_0x206cb4(0x231)])||((_0x11b7a9=(_0x436064=(_0x48f17a=this[_0x206cb4(0x566)][_0x206cb4(0x1a3)][_0x206cb4(0x389)])==null?void 0x0:_0x48f17a[_0x206cb4(0x5cb)])==null?void 0x0:_0x436064['hovered'])==null?void 0x0:_0x11b7a9[_0x206cb4(0x231)]);return _0x486292||_0x206cb4(0x3e1);}},dpr5=window[_0x1f7a97(0x1bb)];function setRectangle(_0x47b212,_0x17dffb,_0x118135,_0x56b0e8,_0x5ad0b2){const _0x30698e=_0x1f7a97;var _0x437f36=_0x17dffb,_0x5d9b92=_0x17dffb+_0x56b0e8,_0x1cfed2=_0x118135,_0x501c28=_0x118135+_0x5ad0b2;_0x47b212[_0x30698e(0x4a5)](_0x47b212[_0x30698e(0x716)],new Float32Array([_0x437f36,_0x1cfed2,_0x5d9b92,_0x1cfed2,_0x437f36,_0x501c28,_0x437f36,_0x501c28,_0x5d9b92,_0x1cfed2,_0x5d9b92,_0x501c28]),_0x47b212[_0x30698e(0x2f7)]);}var WebGLCanvasLayer=class extends GLBase{constructor(_0xc7fa2c){const _0x50fc1f=_0x1f7a97;var _0x1b12f9;super(),this[_0x50fc1f(0x53f)]=null,this[_0x50fc1f(0x697)]=0x1,this[_0x50fc1f(0x574)]=![],this[_0x50fc1f(0x59f)]=null,this[_0x50fc1f(0x2e5)]=null,this['isTextureReady']=![],this[_0x50fc1f(0x4bc)]=null,this[_0x50fc1f(0x3a5)]=0x0,this[_0x50fc1f(0x4cd)]=0x0,this[_0x50fc1f(0x1d1)]=new Map(),this['iconValues']=RESERVED_ICON_VALUES,this[_0x50fc1f(0x409)]=![],this[_0x50fc1f(0x5f2)]=null,this[_0x50fc1f(0x2d6)]=null,this['seatsRenderer']=null,this[_0x50fc1f(0x6b8)]=null,this[_0x50fc1f(0x290)]=null,this[_0x50fc1f(0x6d8)]=null,this[_0x50fc1f(0x70e)]=null,this[_0x50fc1f(0x612)]=null,this['supportsOffscreenCanvas']=![],this[_0x50fc1f(0x336)]=null,this[_0x50fc1f(0x381)]=null,this[_0x50fc1f(0x706)]=null,this[_0x50fc1f(0x314)]=0xc8,this[_0x50fc1f(0x68f)]=null,this[_0x50fc1f(0x48d)]=null,this[_0x50fc1f(0x237)]=![],this[_0x50fc1f(0x651)]={'rotationAngle':0x0,'center':{'x':0x0,'y':0x0},'top':{'x':0x0,'y':0x0},'section':{'x':0x0,'y':0x0},'skewAngle':0x0},this[_0x50fc1f(0x700)]=_0xe1b599=>{const _0x18dc8b=_0x50fc1f;this[_0x18dc8b(0x381)]=null;let _0x2ed7c1=![];if(this[_0x18dc8b(0x68f)]&&this[_0x18dc8b(0x68f)][_0x18dc8b(0x549)]()){const _0x12d890=this[_0x18dc8b(0x68f)][_0x18dc8b(0x3da)](_0xe1b599);_0x2ed7c1=_0x12d890||_0x2ed7c1;}if(this[_0x18dc8b(0x574)]&&this[_0x18dc8b(0x706)]!==null){const _0x939de3=Math[_0x18dc8b(0x19a)](0x1,(_0xe1b599-this[_0x18dc8b(0x706)])/this[_0x18dc8b(0x314)]);this[_0x18dc8b(0x697)]=_0x939de3,_0x939de3<0x1?_0x2ed7c1=!![]:(this[_0x18dc8b(0x53f)]&&(this[_0x18dc8b(0x45e)]&&this['texture']!==this['nextTexture']&&this[_0x18dc8b(0x38a)][_0x18dc8b(0x5c8)](this[_0x18dc8b(0x45e)]),this[_0x18dc8b(0x45e)]=this[_0x18dc8b(0x53f)],this[_0x18dc8b(0x53f)]=null),this[_0x18dc8b(0x574)]=![],this[_0x18dc8b(0x706)]=null,this['textureMix']=0x1);}this['overlayPulseEndTime']!==null&&(_0xe1b599<this[_0x18dc8b(0x336)]?_0x2ed7c1=!![]:this[_0x18dc8b(0x336)]=null),this[_0x18dc8b(0x2a8)]()&&(_0x2ed7c1=!![]),this[_0x18dc8b(0x5e1)]()&&(_0x2ed7c1=!![]),this[_0x18dc8b(0x3b9)](),_0x2ed7c1&&this[_0x18dc8b(0x1f5)]();},this[_0x50fc1f(0x566)]=_0xc7fa2c,this[_0x50fc1f(0x566)][_0x50fc1f(0x4b6)][_0x50fc1f(0x2b0)](this[_0x50fc1f(0x5cd)]),this['updateSize'](),this['supportsOffscreenCanvas']=typeof OffscreenCanvas!==_0x50fc1f(0x6fb)&&typeof Worker!==_0x50fc1f(0x6fb),this['ctx']=this[_0x50fc1f(0x5cd)][_0x50fc1f(0x1b8)](_0x50fc1f(0x3f4),{'antialias':!![],'preserveDrawingBuffer':![]}),this['supportsOffscreenCanvas']&&this[_0x50fc1f(0x694)](),this[_0x50fc1f(0x61b)]=new VisibilityManager(this[_0x50fc1f(0x566)]),this[_0x50fc1f(0x38a)][_0x50fc1f(0x358)](_0x50fc1f(0x3ba)),this['backgroundRenderer']=new BackgroundRenderer(this[_0x50fc1f(0x38a)],this[_0x50fc1f(0x566)]),this[_0x50fc1f(0x33d)]=new SeatsRenderer(this[_0x50fc1f(0x38a)],this['context'],()=>this[_0x50fc1f(0x5ed)]*dpr5,()=>this['height']*dpr5),this[_0x50fc1f(0x2d6)]=new OverlayRenderer(this[_0x50fc1f(0x38a)],this['context'],()=>this[_0x50fc1f(0x5ed)]*dpr5,()=>this['height']*dpr5),this['debugRenderer']=new DebugRenderer(this[_0x50fc1f(0x38a)],this[_0x50fc1f(0x566)],()=>this['width']*dpr5,()=>this[_0x50fc1f(0x2bd)]*dpr5),this[_0x50fc1f(0x5f2)]=new RowsRenderer(this[_0x50fc1f(0x38a)],this[_0x50fc1f(0x566)],()=>this[_0x50fc1f(0x5ed)]*dpr5,()=>this[_0x50fc1f(0x2bd)]*dpr5),this[_0x50fc1f(0x6d8)]=new HoverSeatLabel(this[_0x50fc1f(0x566)],this[_0x50fc1f(0x566)]['element']),this[_0x50fc1f(0x68f)]=new ArkanoidGame(this[_0x50fc1f(0x566)],this[_0x50fc1f(0x566)][_0x50fc1f(0x4b6)],()=>({'width':this[_0x50fc1f(0x5ed)],'height':this[_0x50fc1f(0x2bd)]}),()=>this[_0x50fc1f(0x1f5)](),()=>{const _0x413ca5=_0x50fc1f;var _0x5c5cae,_0x56ab0d;return(_0x56ab0d=(_0x5c5cae=this[_0x413ca5(0x33d)])==null?void 0x0:_0x5c5cae[_0x413ca5(0x4cb)])==null?void 0x0:_0x56ab0d[_0x413ca5(0x453)](_0x5c5cae);}),initializeIconAtlas(((_0x1b12f9=this[_0x50fc1f(0x566)][_0x50fc1f(0x1a3)][_0x50fc1f(0x389)])==null?void 0x0:_0x1b12f9[_0x50fc1f(0x38c)])||{},this[_0x50fc1f(0x1d1)],this[_0x50fc1f(0x38a)],this[_0x50fc1f(0x409)])[_0x50fc1f(0x2da)](_0x19db9c=>{const _0x3668c4=_0x50fc1f;this[_0x3668c4(0x4bc)]=_0x19db9c[_0x3668c4(0x45e)],this[_0x3668c4(0x3a5)]=_0x19db9c['width'],this[_0x3668c4(0x4cd)]=_0x19db9c[_0x3668c4(0x2bd)];const _0x4ce7eb=Array[_0x3668c4(0x65b)](this[_0x3668c4(0x1d1)]['keys']());this[_0x3668c4(0x71d)]=generateIconValues(_0x4ce7eb),this[_0x3668c4(0x33d)]&&this[_0x3668c4(0x33d)][_0x3668c4(0x387)](this[_0x3668c4(0x4bc)],this[_0x3668c4(0x1d1)],this[_0x3668c4(0x71d)]),this[_0x3668c4(0x2d6)]&&this[_0x3668c4(0x2d6)]['setIconsData'](this[_0x3668c4(0x4bc)],this[_0x3668c4(0x1d1)]),this['debugRenderer']&&(this['debugRenderer'][_0x3668c4(0x4c8)](this['iconAtlas'],this[_0x3668c4(0x3a5)],this[_0x3668c4(0x4cd)]),this[_0x3668c4(0x290)][_0x3668c4(0x559)](this[_0x3668c4(0x1d1)]));});}get[_0x1f7a97(0x19c)](){const _0x209cbe=_0x1f7a97;return this[_0x209cbe(0x48d)];}set['backgroundElement'](_0x53437e){const _0x43463d=_0x1f7a97;this[_0x43463d(0x48d)]=_0x53437e,this[_0x43463d(0x2e5)]=null,this[_0x43463d(0x59f)]=null,void this['loadBackgroundTextureAsync']()[_0x43463d(0x2da)](()=>this[_0x43463d(0x37f)]());}async[_0x1f7a97(0x5fa)](){const _0x5641b5=_0x1f7a97;var _0x39e5b3,_0x1decc5;try{await new Promise(_0x1add8a=>{const _0x677f10=()=>{const _0x7f8b3e=_0x18e5,_0x4ae8f6=this[_0x7f8b3e(0x6d6)]&&!!this[_0x7f8b3e(0x19c)]&&this['hasInitialDrawComplete'];if(_0x4ae8f6)return _0x1add8a();requestAnimationFrame(_0x677f10);};requestAnimationFrame(_0x677f10);}),this[_0x5641b5(0x3b9)](),(_0x1decc5=(_0x39e5b3=this['ctx'])[_0x5641b5(0x200)])==null?void 0x0:_0x1decc5['call'](_0x39e5b3);const _0xf2f30a=this[_0x5641b5(0x5cd)]['toDataURL'](_0x5641b5(0x3d9)),_0x42f523=new Image();return _0x42f523[_0x5641b5(0x3f0)]=_0xf2f30a,await new Promise(_0x5a926a=>{const _0x2e027b=_0x5641b5;if(_0x42f523[_0x2e027b(0x718)])return _0x5a926a();_0x42f523[_0x2e027b(0x27b)]=()=>_0x5a926a(),_0x42f523[_0x2e027b(0x1ac)]=()=>_0x5a926a();}),_0x42f523;}catch(_0x1b6eb9){return null;}}[_0x1f7a97(0x5bd)](_0x2e83b1,_0x4f5178){const _0x24e773=_0x1f7a97,_0x1d7518={'x':_0x4f5178['x']+this[_0x24e773(0x566)][_0x24e773(0x2b5)]['x']*_0x2e83b1,'y':_0x4f5178['y']+this[_0x24e773(0x566)]['translate']['y']*_0x2e83b1},_0x17695b=this['context']['scale']*_0x2e83b1,_0x383630=this[_0x24e773(0x61b)][_0x24e773(0x51e)](_0x17695b);this[_0x24e773(0x55d)]!==_0x383630[_0x24e773(0x57d)][_0x24e773(0x620)]&&(this[_0x24e773(0x55d)]=_0x383630[_0x24e773(0x57d)]['visible'],this[_0x24e773(0x566)]['visibility']=_0x383630,this['setSeatsGeometry']()),this[_0x24e773(0x38a)][_0x24e773(0x514)](this[_0x24e773(0x38a)][_0x24e773(0x635)]),this[_0x24e773(0x6d6)]&&this[_0x24e773(0x45e)]&&this['backgroundElement']&&this['backgroundRenderer']&&this[_0x24e773(0x6b8)][_0x24e773(0x6d0)](_0x17695b,_0x1d7518,this[_0x24e773(0x45e)],this[_0x24e773(0x53f)],this[_0x24e773(0x19c)],this[_0x24e773(0x697)]),this[_0x24e773(0x566)][_0x24e773(0x1a3)]['showRows']&&this[_0x24e773(0x52b)](_0x17695b,_0x1d7518),this['shouldDrawSeats']()&&this[_0x24e773(0x721)](_0x17695b,_0x1d7518),this[_0x24e773(0x252)]();}[_0x1f7a97(0x2f0)](){return[];}[_0x1f7a97(0x4a6)](){const _0x402212=_0x1f7a97;return{'inProgress':![],'rotationAngle':0x0,'skewAngle':0x0,'duration':this[_0x402212(0x566)][_0x402212(0x1a3)][_0x402212(0x4eb)]||0x0};}['applySectionViewAnimation'](_0x5d70a1,_0xd39346){return new Promise(_0x71c8c7=>{const _0x974feb=_0x18e5;_0xd39346[_0x974feb(0x66f)](),setTimeout(()=>{_0x71c8c7(!![]);},(this[_0x974feb(0x566)][_0x974feb(0x1a3)][_0x974feb(0x1ce)]||0x0)*0.5);});}[_0x1f7a97(0x234)](){return{'x':0x0,'y':0x0};}get['width'](){const _0x116a34=_0x1f7a97;return this[_0x116a34(0x566)][_0x116a34(0x4b6)][_0x116a34(0x6e7)];}get['height'](){const _0x5a0e21=_0x1f7a97;return this[_0x5a0e21(0x566)][_0x5a0e21(0x4b6)][_0x5a0e21(0x301)];}[_0x1f7a97(0x4b1)](){const _0x8cb6a4=_0x1f7a97;this[_0x8cb6a4(0x70e)]&&(this['textureWorker']['terminate'](),this[_0x8cb6a4(0x70e)]=null),this['offscreenCanvas']&&(this[_0x8cb6a4(0x612)]=null),this[_0x8cb6a4(0x5cd)][_0x8cb6a4(0x5ed)]=0x1,this[_0x8cb6a4(0x5cd)][_0x8cb6a4(0x2bd)]=0x1,this[_0x8cb6a4(0x5cd)][_0x8cb6a4(0x606)](),this[_0x8cb6a4(0x6d8)]&&(this[_0x8cb6a4(0x6d8)][_0x8cb6a4(0x4b1)](),this[_0x8cb6a4(0x6d8)]=null),this['animationFrameId']!==null&&(cancelAnimationFrame(this[_0x8cb6a4(0x381)]),this[_0x8cb6a4(0x381)]=null),this[_0x8cb6a4(0x566)]['destroy']();}[_0x1f7a97(0x507)](){const _0x317ca4=_0x1f7a97;var _0x3b6798;this['canvas'][_0x317ca4(0x5ed)]=this['width']*dpr5,this[_0x317ca4(0x5cd)][_0x317ca4(0x2bd)]=this[_0x317ca4(0x2bd)]*dpr5,this[_0x317ca4(0x5cd)][_0x317ca4(0x71e)]['height']=this[_0x317ca4(0x2bd)]+'px',this[_0x317ca4(0x5cd)][_0x317ca4(0x71e)][_0x317ca4(0x5ed)]=this['width']+'px',(_0x3b6798=this[_0x317ca4(0x68f)])==null?void 0x0:_0x3b6798['resize'](),this[_0x317ca4(0x4fe)](!![]);}[_0x1f7a97(0x344)](_0x8d21cd,_0x7349ea){}async['updateBackground'](){const _0xb468cc=_0x1f7a97;var _0x1b342f;setRectangle(this[_0xb468cc(0x38a)],0x0,0x0,this['backgroundElement'][_0xb468cc(0x5ed)],this['backgroundElement'][_0xb468cc(0x2bd)]);const _0x2adff4=this[_0xb468cc(0x574)]?(_0x1b342f=this[_0xb468cc(0x53f)])!=null?_0x1b342f:this[_0xb468cc(0x38a)]['createTexture']():this[_0xb468cc(0x45e)];if(!_0x2adff4)throw new Error(_0xb468cc(0x4e5));if(this[_0xb468cc(0x574)]&&!this[_0xb468cc(0x53f)])this[_0xb468cc(0x53f)]=_0x2adff4;this['ctx']['bindTexture'](this[_0xb468cc(0x38a)][_0xb468cc(0x49e)],_0x2adff4),this[_0xb468cc(0x38a)][_0xb468cc(0x6b5)](this['ctx'][_0xb468cc(0x49e)],0x0,this['ctx'][_0xb468cc(0x22d)],this[_0xb468cc(0x38a)][_0xb468cc(0x22d)],this[_0xb468cc(0x38a)][_0xb468cc(0x6bc)],this['backgroundElement']);}async[_0x1f7a97(0x252)](){const _0x208270=_0x1f7a97;if(!this['backgroundElement'])return;const _0x64b7b2=this['backgroundElement'][_0x208270(0x3f0)]||this[_0x208270(0x19c)][_0x208270(0x5a1)];if(this[_0x208270(0x59f)]||this[_0x208270(0x2e5)]===_0x64b7b2)return;if(typeof createImageBitmap!=='undefined')return this['loadTextureWithImageBitmap']();if(this[_0x208270(0x254)]&&this[_0x208270(0x70e)])return this[_0x208270(0x41e)]();this[_0x208270(0x2e5)]=_0x64b7b2;const _0x1f1992=!!this[_0x208270(0x45e)]&&this[_0x208270(0x6d6)];return!_0x1f1992&&(this['isTextureReady']=![]),this[_0x208270(0x59f)]=new Promise(_0x27fdd3=>{const _0x288f38=_0x3d2bc6=>{'requestIdleCallback'in window?requestIdleCallback(_0x3d2bc6,{'timeout':0x10}):setTimeout(_0x3d2bc6,0x0);};_0x288f38(()=>{const _0x3ccbdf=_0x18e5;try{this[_0x3ccbdf(0x676)](),this[_0x3ccbdf(0x6d6)]=!![],void this[_0x3ccbdf(0x37f)](),_0x27fdd3();}catch(_0x1d02b9){console[_0x3ccbdf(0x404)](_0x3ccbdf(0x6de),_0x1d02b9),_0x27fdd3();}finally{this['textureLoadingPromise']=null;}});}),this[_0x208270(0x59f)];}async['loadTextureWithImageBitmap'](){const _0x4741d6=_0x1f7a97;if(!this['backgroundElement'])return;const _0x353540=this[_0x4741d6(0x19c)]['src']||this[_0x4741d6(0x19c)][_0x4741d6(0x5a1)];if(this['backgroundImageSrc']===_0x353540)return;this['backgroundImageSrc']=_0x353540;const _0x1ed5bd=!!this[_0x4741d6(0x45e)]&&this['isTextureReady'];return!_0x1ed5bd&&(this[_0x4741d6(0x6d6)]=![]),this[_0x4741d6(0x59f)]=new Promise(async _0x4f85cf=>{const _0x3fcd2f=_0x4741d6;try{const _0x458724=await createImageBitmap(this[_0x3fcd2f(0x19c)],{'premultiplyAlpha':'none','colorSpaceConversion':'none','resizeQuality':'high'}),_0x496a45=_0x39b491=>{const _0x199f8a=_0x3fcd2f;_0x199f8a(0x2ef)in window?requestIdleCallback(_0x39b491,{'timeout':0x10}):setTimeout(_0x39b491,0x0);};_0x496a45(()=>{const _0x2c4831=_0x3fcd2f;try{this['isCrossfading']=!!this[_0x2c4831(0x45e)]&&this[_0x2c4831(0x6d6)],this[_0x2c4831(0x596)](_0x458724),this[_0x2c4831(0x6d6)]=!![],this[_0x2c4831(0x574)]&&this[_0x2c4831(0x45e)]&&this[_0x2c4831(0x538)](),_0x458724['close']();}catch(_0x380c55){console[_0x2c4831(0x404)](_0x2c4831(0x392),_0x380c55),this[_0x2c4831(0x676)](),this['isTextureReady']=!![];}finally{void this['forceRedraw'](),_0x4f85cf(),this['textureLoadingPromise']=null;}});}catch(_0x4327d3){console[_0x3fcd2f(0x404)]('Failed\x20to\x20create\x20ImageBitmap:',_0x4327d3),this[_0x3fcd2f(0x676)](),this[_0x3fcd2f(0x6d6)]=!![],void this[_0x3fcd2f(0x37f)](),_0x4f85cf(),this[_0x3fcd2f(0x59f)]=null;}}),this['textureLoadingPromise'];}[_0x1f7a97(0x596)](_0x54a7f2){const _0x30662e=_0x1f7a97;var _0x42bfc5;if(!this[_0x30662e(0x45e)]){this[_0x30662e(0x45e)]=this[_0x30662e(0x38a)][_0x30662e(0x36b)]();if(!this[_0x30662e(0x45e)])throw new Error('Failed\x20to\x20create\x20WebGL\x20texture');}const _0x304f7e=this['isCrossfading']?(_0x42bfc5=this['nextTexture'])!=null?_0x42bfc5:this[_0x30662e(0x38a)][_0x30662e(0x36b)]():this['texture'];if(!_0x304f7e)throw new Error('Failed\x20to\x20create\x20WebGL\x20texture');if(this[_0x30662e(0x574)]&&!this[_0x30662e(0x53f)])this[_0x30662e(0x53f)]=_0x304f7e;this[_0x30662e(0x38a)][_0x30662e(0x475)](this['ctx'][_0x30662e(0x49e)],_0x304f7e),this[_0x30662e(0x38a)][_0x30662e(0x391)](this[_0x30662e(0x38a)][_0x30662e(0x49e)],this[_0x30662e(0x38a)][_0x30662e(0x29f)],this[_0x30662e(0x38a)][_0x30662e(0x4a4)]),this[_0x30662e(0x38a)]['texParameteri'](this['ctx'][_0x30662e(0x49e)],this[_0x30662e(0x38a)]['TEXTURE_WRAP_T'],this['ctx'][_0x30662e(0x4a4)]),this[_0x30662e(0x38a)]['texParameteri'](this[_0x30662e(0x38a)][_0x30662e(0x49e)],this['ctx'][_0x30662e(0x1dc)],this['ctx']['LINEAR']),this[_0x30662e(0x38a)][_0x30662e(0x391)](this[_0x30662e(0x38a)]['TEXTURE_2D'],this[_0x30662e(0x38a)][_0x30662e(0x23d)],this[_0x30662e(0x38a)]['LINEAR']),this[_0x30662e(0x38a)][_0x30662e(0x6b5)](this[_0x30662e(0x38a)][_0x30662e(0x49e)],0x0,this['ctx'][_0x30662e(0x22d)],this[_0x30662e(0x38a)]['RGBA'],this[_0x30662e(0x38a)]['UNSIGNED_BYTE'],_0x54a7f2),this[_0x30662e(0x3c3)](),this['texture']&&_0x304f7e!==this[_0x30662e(0x45e)]?this['startTextureCrossfade']():(this[_0x30662e(0x45e)]=_0x304f7e,this[_0x30662e(0x697)]=0x1);}[_0x1f7a97(0x694)](){const _0x3f8cec=_0x1f7a97;try{const _0xacccdc=_0x3f8cec(0x59a),_0x3b05e7=new Blob([_0xacccdc],{'type':'application/javascript'});this[_0x3f8cec(0x70e)]=new Worker(URL['createObjectURL'](_0x3b05e7)),this[_0x3f8cec(0x70e)]['onmessage']=_0x213b5f=>{const _0xdbbb98=_0x3f8cec,{type:_0x283224,success:_0x2abd1f,error:_0x4d5da8}=_0x213b5f[_0xdbbb98(0x526)];if(_0x283224===_0xdbbb98(0x560)){}else{if(_0x283224===_0xdbbb98(0x621)){if(_0x2abd1f){this[_0xdbbb98(0x6d6)]=!![];if(this[_0xdbbb98(0x59f)]){}}else console[_0xdbbb98(0x404)]('Worker\x20texture\x20loading\x20failed:',_0x4d5da8);}}},this['textureWorker']['onerror']=_0x3c455f=>{const _0x55f8f7=_0x3f8cec;console['warn'](_0x55f8f7(0x5aa),_0x3c455f),this[_0x55f8f7(0x70e)]=null,this['supportsOffscreenCanvas']=![];};if(typeof OffscreenCanvas!=='undefined')try{this[_0x3f8cec(0x612)]=new OffscreenCanvas(0x100,0x100),this[_0x3f8cec(0x70e)][_0x3f8cec(0x5f7)]({'type':'init','data':{'canvas':this['offscreenCanvas']}},[this[_0x3f8cec(0x612)]]);}catch(_0x3555b5){console[_0x3f8cec(0x404)](_0x3f8cec(0x455),_0x3555b5),this[_0x3f8cec(0x254)]=![],this[_0x3f8cec(0x70e)]=null;}}catch(_0x5edb61){console[_0x3f8cec(0x404)](_0x3f8cec(0x425),_0x5edb61),this[_0x3f8cec(0x70e)]=null,this[_0x3f8cec(0x254)]=![];}}async[_0x1f7a97(0x41e)](){const _0x23f1b3=_0x1f7a97;if(!this['textureWorker']||!this[_0x23f1b3(0x19c)])return;const _0x1fffc3=this[_0x23f1b3(0x19c)][_0x23f1b3(0x3f0)]||this[_0x23f1b3(0x19c)][_0x23f1b3(0x5a1)];if(this[_0x23f1b3(0x2e5)]===_0x1fffc3)return;this[_0x23f1b3(0x2e5)]=_0x1fffc3;const _0x22f908=!!this[_0x23f1b3(0x45e)]&&this[_0x23f1b3(0x6d6)];return!_0x22f908&&(this[_0x23f1b3(0x6d6)]=![]),this[_0x23f1b3(0x59f)]=new Promise((_0xb1e16d,_0x2896c2)=>{const _0x150716=_0x23f1b3,_0x57f358=document['createElement'](_0x150716(0x5cd)),_0x52ecbd=_0x57f358[_0x150716(0x1b8)]('2d');_0x57f358['width']=this[_0x150716(0x19c)][_0x150716(0x5ed)],_0x57f358[_0x150716(0x2bd)]=this[_0x150716(0x19c)]['height'],_0x52ecbd[_0x150716(0x581)](this[_0x150716(0x19c)],0x0,0x0);const _0x512a5b=_0x52ecbd[_0x150716(0x3fc)](0x0,0x0,_0x57f358['width'],_0x57f358[_0x150716(0x2bd)]);this[_0x150716(0x612)]&&(this[_0x150716(0x612)]['width']!==_0x57f358[_0x150716(0x5ed)]||this[_0x150716(0x612)]['height']!==_0x57f358[_0x150716(0x2bd)])&&(this[_0x150716(0x612)][_0x150716(0x5ed)]=_0x57f358[_0x150716(0x5ed)],this[_0x150716(0x612)][_0x150716(0x2bd)]=_0x57f358[_0x150716(0x2bd)]);const _0x3c429f=_0x123509=>{const _0x3745c6=_0x150716;_0x123509[_0x3745c6(0x526)][_0x3745c6(0x55e)]===_0x3745c6(0x621)&&(this[_0x3745c6(0x70e)][_0x3745c6(0x693)](_0x3745c6(0x208),_0x3c429f),_0x123509[_0x3745c6(0x526)]['success']?(this['isTextureReady']=!![],void this[_0x3745c6(0x37f)](),_0xb1e16d()):(console[_0x3745c6(0x404)](_0x3745c6(0x338),_0x123509[_0x3745c6(0x526)][_0x3745c6(0x62b)]),this[_0x3745c6(0x676)](),this[_0x3745c6(0x6d6)]=!![],void this[_0x3745c6(0x37f)](),_0xb1e16d()),this['textureLoadingPromise']=null);};this[_0x150716(0x70e)]['addEventListener'](_0x150716(0x208),_0x3c429f),this['textureWorker'][_0x150716(0x5f7)]({'type':_0x150716(0x69b),'data':{'imageData':_0x512a5b[_0x150716(0x526)],'width':_0x57f358[_0x150716(0x5ed)],'height':_0x57f358[_0x150716(0x2bd)]}},[_0x512a5b[_0x150716(0x526)][_0x150716(0x23e)]]);}),this[_0x23f1b3(0x59f)];}[_0x1f7a97(0x676)](){const _0x8e38ce=_0x1f7a97;if(!this[_0x8e38ce(0x19c)])return;if(!this[_0x8e38ce(0x45e)]){this[_0x8e38ce(0x45e)]=this['ctx'][_0x8e38ce(0x36b)]();if(!this[_0x8e38ce(0x45e)])throw new Error(_0x8e38ce(0x4e5));}this[_0x8e38ce(0x38a)][_0x8e38ce(0x475)](this[_0x8e38ce(0x38a)][_0x8e38ce(0x49e)],this['texture']),this['ctx'][_0x8e38ce(0x391)](this[_0x8e38ce(0x38a)]['TEXTURE_2D'],this['ctx'][_0x8e38ce(0x29f)],this[_0x8e38ce(0x38a)][_0x8e38ce(0x4a4)]),this[_0x8e38ce(0x38a)][_0x8e38ce(0x391)](this[_0x8e38ce(0x38a)]['TEXTURE_2D'],this[_0x8e38ce(0x38a)][_0x8e38ce(0x5dd)],this['ctx'][_0x8e38ce(0x4a4)]),this[_0x8e38ce(0x38a)][_0x8e38ce(0x391)](this[_0x8e38ce(0x38a)]['TEXTURE_2D'],this[_0x8e38ce(0x38a)][_0x8e38ce(0x1dc)],this[_0x8e38ce(0x38a)]['LINEAR']),this[_0x8e38ce(0x38a)]['texParameteri'](this[_0x8e38ce(0x38a)][_0x8e38ce(0x49e)],this[_0x8e38ce(0x38a)]['TEXTURE_MAG_FILTER'],this[_0x8e38ce(0x38a)][_0x8e38ce(0x464)]),this['ctx'][_0x8e38ce(0x6b5)](this['ctx'][_0x8e38ce(0x49e)],0x0,this[_0x8e38ce(0x38a)][_0x8e38ce(0x22d)],this[_0x8e38ce(0x38a)][_0x8e38ce(0x22d)],this[_0x8e38ce(0x38a)][_0x8e38ce(0x6bc)],this[_0x8e38ce(0x19c)]),this[_0x8e38ce(0x3c3)]();}['setupBackgroundBuffers'](){const _0x2f8b56=_0x1f7a97;if(!this[_0x2f8b56(0x19c)])return;}async[_0x1f7a97(0x1bc)](){const _0xb3a5a5=_0x1f7a97;this[_0xb3a5a5(0x19c)]&&await this[_0xb3a5a5(0x252)]();}['setSeatsGeometry'](){const _0x1150a8=_0x1f7a97;var _0x4d1423,_0x4dd376;this[_0x1150a8(0x33d)]&&((_0x4dd376=(_0x4d1423=this[_0x1150a8(0x33d)])[_0x1150a8(0x4cb)])==null?void 0x0:_0x4dd376[_0x1150a8(0x453)](_0x4d1423));}async[_0x1f7a97(0x4fe)](_0x1b5710){const _0x18e711=_0x1f7a97;var _0x4b5dfa,_0x34f770;if(!this[_0x18e711(0x566)]['seats'])return;this[_0x18e711(0x566)][_0x18e711(0x5f4)]=this['visibilityManager'][_0x18e711(0x51e)](this['context'][_0x18e711(0x478)]);const _0x32c752=this[_0x18e711(0x55d)]!==this[_0x18e711(0x566)][_0x18e711(0x5f4)][_0x18e711(0x57d)][_0x18e711(0x620)];_0x32c752&&(this[_0x18e711(0x55d)]=this[_0x18e711(0x566)]['visibility']['seat']['visible']);const _0x7a97bf=((_0x4b5dfa=this['backgroundElement'])==null?void 0x0:_0x4b5dfa[_0x18e711(0x3f0)])||((_0x34f770=this[_0x18e711(0x19c)])==null?void 0x0:_0x34f770[_0x18e711(0x5a1)]),_0x4b21c7=this['backgroundImageSrc']!==_0x7a97bf;_0x4b21c7&&this[_0x18e711(0x19c)]&&this[_0x18e711(0x252)](),this[_0x18e711(0x68f)]&&(!this[_0x18e711(0x68f)][_0x18e711(0x29e)]()&&this[_0x18e711(0x68f)][_0x18e711(0x511)]()),this['performRedraw'](),(this[_0x18e711(0x677)]()||this[_0x18e711(0x2a8)]()||this[_0x18e711(0x5e1)]())&&this[_0x18e711(0x1f5)]();}async[_0x1f7a97(0x37f)](){const _0x22ab58=_0x1f7a97;if(!this['context'][_0x22ab58(0x555)])return;this[_0x22ab58(0x566)][_0x22ab58(0x5f4)]=this['visibilityManager']['getVisibilityStatuses'](this[_0x22ab58(0x566)]['scale']);const _0x52b334=this[_0x22ab58(0x55d)]!==this[_0x22ab58(0x566)][_0x22ab58(0x5f4)]['seat'][_0x22ab58(0x620)];_0x52b334&&(this['prevSeatVisibility']=this[_0x22ab58(0x566)][_0x22ab58(0x5f4)]['seat']['visible']),this[_0x22ab58(0x1f5)]();}[_0x1f7a97(0x3b9)](){const _0x227ac8=_0x1f7a97;var _0x5d716a;if((_0x5d716a=this['secretGame'])==null?void 0x0:_0x5d716a['isActive']()){this[_0x227ac8(0x68f)][_0x227ac8(0x6d0)](),this[_0x227ac8(0x6e3)]=!![];return;}this[_0x227ac8(0x38a)][_0x227ac8(0x64c)](0x0,0x0,this[_0x227ac8(0x38a)][_0x227ac8(0x5cd)][_0x227ac8(0x5ed)],this['ctx'][_0x227ac8(0x5cd)][_0x227ac8(0x2bd)]),this[_0x227ac8(0x38a)][_0x227ac8(0x514)](this[_0x227ac8(0x38a)][_0x227ac8(0x635)]|this[_0x227ac8(0x38a)][_0x227ac8(0x5f3)]|this[_0x227ac8(0x38a)][_0x227ac8(0x657)]),this[_0x227ac8(0x6d6)]&&this[_0x227ac8(0x45e)]&&this['backgroundRenderer']&&this[_0x227ac8(0x6b8)][_0x227ac8(0x6d0)](this[_0x227ac8(0x566)]['scale'],this[_0x227ac8(0x566)][_0x227ac8(0x2b5)],this['texture'],this[_0x227ac8(0x53f)],this[_0x227ac8(0x19c)],this['textureMix']),this[_0x227ac8(0x566)][_0x227ac8(0x1a3)][_0x227ac8(0x5d7)]&&this[_0x227ac8(0x52b)](this[_0x227ac8(0x566)][_0x227ac8(0x478)],this[_0x227ac8(0x566)][_0x227ac8(0x2b5)]),this['shouldDrawSeats']()&&this['drawScene'](this[_0x227ac8(0x566)][_0x227ac8(0x478)],this[_0x227ac8(0x566)][_0x227ac8(0x2b5)]),this[_0x227ac8(0x6e3)]=!![];}[_0x1f7a97(0x721)](_0xc4713e,_0x4db8a5){const _0x399a69=_0x1f7a97;this['seatsRenderer']&&this['seatsRenderer']['draw'](_0xc4713e,_0x4db8a5),this[_0x399a69(0x263)](_0xc4713e,_0x4db8a5);}[_0x1f7a97(0x263)](_0x28fffd,_0xf2a514){const _0x4da087=_0x1f7a97;if(!this[_0x4da087(0x2d6)])return;this[_0x4da087(0x2d6)][_0x4da087(0x6d0)](_0x28fffd,_0xf2a514);if(this['hoverSeatLabel'])this[_0x4da087(0x6d8)][_0x4da087(0x6d0)](_0x28fffd,_0xf2a514);this[_0x4da087(0x290)]&&this[_0x4da087(0x566)]['settings']['showDebugLayer']&&this[_0x4da087(0x290)]['draw'](_0x28fffd,_0xf2a514);}[_0x1f7a97(0x605)](_0x5a824d=0x3e8){const _0x9dd4b4=_0x1f7a97,_0x1307ab=performance[_0x9dd4b4(0x37d)]();this[_0x9dd4b4(0x336)]=Math[_0x9dd4b4(0x67f)](this[_0x9dd4b4(0x336)]||0x0,_0x1307ab+_0x5a824d),this[_0x9dd4b4(0x1f5)]();}[_0x1f7a97(0x36c)](){const _0x18c89d=_0x1f7a97;return this[_0x18c89d(0x566)][_0x18c89d(0x5f4)]['seat']['visible']&&!this[_0x18c89d(0x566)][_0x18c89d(0x1a3)][_0x18c89d(0x30e)]&&!(this[_0x18c89d(0x566)][_0x18c89d(0x244)]&&this['context']['settings'][_0x18c89d(0x5d7)]);}['startTextureCrossfade'](){const _0x5a8b6e=_0x1f7a97;this[_0x5a8b6e(0x574)]=!![],this[_0x5a8b6e(0x697)]=0x0,this['crossfadeStartTime']=performance[_0x5a8b6e(0x37d)](),this[_0x5a8b6e(0x1f5)]();}[_0x1f7a97(0x467)](_0x440bfd,_0x39069b){const _0x9ba346=_0x1f7a97;if(!this[_0x9ba346(0x6d6)]||!this[_0x9ba346(0x45e)]||!this['backgroundElement'])return;this[_0x9ba346(0x6b8)]&&this[_0x9ba346(0x6b8)][_0x9ba346(0x6d0)](_0x440bfd,_0x39069b,this[_0x9ba346(0x45e)],this['nextTexture'],this[_0x9ba346(0x19c)],this[_0x9ba346(0x697)]);}[_0x1f7a97(0x1d3)](){}['drawRows'](_0x4c1d09,_0x9552ab){const _0x359112=_0x1f7a97;if(!this[_0x359112(0x5f2)])return;this[_0x359112(0x5f2)][_0x359112(0x6d0)](_0x4c1d09,_0x9552ab);}[_0x1f7a97(0x1f5)](){const _0x562a65=_0x1f7a97;if(this[_0x562a65(0x381)]!==null)return;this['animationFrameId']=requestAnimationFrame(this[_0x562a65(0x700)]);}['hasSelectedSeats'](){const _0x33731b=_0x1f7a97;try{const _0x844f01=this[_0x33731b(0x566)][_0x33731b(0x2c6)]?this[_0x33731b(0x566)][_0x33731b(0x2c6)]():[];return Array[_0x33731b(0x577)](_0x844f01)&&_0x844f01[_0x33731b(0x420)]>0x0;}catch(_0x4f5a2b){return![];}}[_0x1f7a97(0x2a8)](){const _0x59795b=_0x1f7a97;try{const _0x4b122e=this[_0x59795b(0x566)][_0x59795b(0x555)]||[];for(let _0x1ea585=0x0;_0x1ea585<_0x4b122e[_0x59795b(0x420)];_0x1ea585++){if(_0x4b122e[_0x1ea585][_0x59795b(0x61f)]===_0x59795b(0x2e3))return!![];}return![];}catch(_0x361103){return![];}}[_0x1f7a97(0x5e1)](){const _0x20768f=_0x1f7a97;try{const _0x3ff9a2=this['context'][_0x20768f(0x319)];if(!_0x3ff9a2)return![];const _0x639d56=performance[_0x20768f(0x37d)](),_0x3b3f54=0x12c;for(const _0x4e5595 in _0x3ff9a2){if(!Object[_0x20768f(0x20b)][_0x20768f(0x4ce)]['call'](_0x3ff9a2,_0x4e5595))continue;if(_0x639d56-_0x3ff9a2[_0x4e5595]<_0x3b3f54)return!![];}return![];}catch(_0x48bdd6){return![];}}static['isWebGlAvailable'](){const _0x49d4c4=_0x1f7a97;if(!window[_0x49d4c4(0x432)])return![];try{const _0x853122=document[_0x49d4c4(0x26e)](_0x49d4c4(0x5cd));return Boolean(_0x853122[_0x49d4c4(0x1b8)]('webgl'));}catch(_0x564aeb){return![];}}},defaultZoomSettings={'presets':[0.5,0x1,0x2],'maxZoomToFitScale':0x1,'minPinchZoom':0.5,'maxPinchZoom':0x2},isObject=_0x3b7fbe=>_0x3b7fbe!==null&&typeof _0x3b7fbe===_0x1f7a97(0x2a4)&&!Array[_0x1f7a97(0x577)](_0x3b7fbe),deepMerge=(_0x5f5936,_0xaa9f51)=>{const _0xd1e166=_0x1f7a97,_0x10c3e4={..._0x5f5936};for(const _0x1c43aa in _0xaa9f51){if(_0xaa9f51[_0xd1e166(0x4ce)](_0x1c43aa)){const _0x4c24e2=_0x1c43aa,_0x30ae84=_0x5f5936[_0x4c24e2],_0x5cb09b=_0xaa9f51[_0x4c24e2];isObject(_0x30ae84)&&isObject(_0x5cb09b)?_0x10c3e4[_0x4c24e2]=deepMerge(_0x30ae84,_0x5cb09b):_0x10c3e4[_0x4c24e2]=_0x5cb09b?_0x5cb09b:_0x30ae84;}}return _0x10c3e4;},mergeTheme=(_0x3fd85d,_0x3a9498)=>{const _0x558799=_0x1f7a97;if(!_0x3fd85d&&!_0x3a9498)return;if(_0x3fd85d&&_0x3a9498){const _0x31fc79={..._0x3fd85d};return _0x3a9498[_0x558799(0x403)]&&(_0x31fc79['bgColor']=_0x3a9498[_0x558799(0x403)]),_0x3a9498['gridStep']&&(_0x31fc79[_0x558799(0x496)]=_0x3a9498[_0x558799(0x496)]),_0x3a9498[_0x558799(0x38c)]&&(_0x31fc79[_0x558799(0x38c)]={..._0x3fd85d[_0x558799(0x38c)]||{},..._0x3a9498['images']}),_0x3a9498[_0x558799(0x388)]&&(_0x31fc79[_0x558799(0x388)]=_0x3a9498['priceColors']),_0x3a9498[_0x558799(0x2e0)]&&(_0x31fc79[_0x558799(0x2e0)]=_0x3a9498[_0x558799(0x2e0)]),_0x3a9498[_0x558799(0x5cb)]&&(_0x31fc79['seatStyles']=deepMerge(_0x3fd85d['seatStyles']||{},_0x3a9498['seatStyles'])),_0x3a9498[_0x558799(0x665)]&&(_0x31fc79[_0x558799(0x665)]=deepMerge(_0x3fd85d['svgSectionStyles']||{},_0x3a9498[_0x558799(0x665)])),_0x31fc79;}if(_0x3a9498)return _0x3a9498;return _0x3fd85d;},mergeSettings=(_0x586339,_0x25ee7d)=>{const _0x14e1e1=_0x1f7a97,_0x995763=Object[_0x14e1e1(0x541)]({},_0x586339,_0x25ee7d);return _0x995763[_0x14e1e1(0x389)]=mergeTheme(_0x586339['theme'],_0x25ee7d==null?void 0x0:_0x25ee7d['theme']),_0x586339[_0x14e1e1(0x649)]&&(_0x25ee7d==null?void 0x0:_0x25ee7d[_0x14e1e1(0x649)])&&(_0x995763[_0x14e1e1(0x649)]=deepMerge(_0x586339['visibilitySettings'],_0x25ee7d==null?void 0x0:_0x25ee7d['visibilitySettings'])),_0x586339[_0x14e1e1(0x406)]&&(_0x25ee7d==null?void 0x0:_0x25ee7d[_0x14e1e1(0x406)])?_0x995763[_0x14e1e1(0x406)]=deepMerge(_0x586339[_0x14e1e1(0x406)],_0x25ee7d==null?void 0x0:_0x25ee7d[_0x14e1e1(0x406)]):_0x995763[_0x14e1e1(0x406)]=defaultZoomSettings,_0x995763;},SanitizeManager=class{};SanitizeManager[_0x1f7a97(0x356)]=_0x127cd9=>{const _0x19e164=_0x1f7a97;return _0x127cd9[_0x19e164(0x4c7)](_0x2889a5=>Boolean(_0x2889a5));};var TransformAnimator=class{constructor(_0x3d4716){const _0x10f826=_0x1f7a97;this[_0x10f826(0x25a)]=_0x1bdbeb=>{const _0x3374cd=_0x10f826;var _0x5d35e4,_0x188e13,_0x446e18,_0x1707f4;if(!this['animation'])return;if(!this[_0x3374cd(0x414)]['translate'])return;if(!this[_0x3374cd(0x414)][_0x3374cd(0x527)])return;if(!this['animation'][_0x3374cd(0x4c6)])this[_0x3374cd(0x414)][_0x3374cd(0x4c6)]=_0x1bdbeb;if(_0x1bdbeb-this['animation'][_0x3374cd(0x4c6)]>this[_0x3374cd(0x414)]['duration']){this['options'][_0x3374cd(0x6e6)](),this[_0x3374cd(0x5da)][_0x3374cd(0x33f)]({'toTranslate':this[_0x3374cd(0x414)][_0x3374cd(0x4f1)]}),cancelAnimationFrame(this[_0x3374cd(0x414)]['frame']),this[_0x3374cd(0x414)]=void 0x0,this['options']['redraw']();if(this[_0x3374cd(0x286)]!==void 0x0&&((_0x188e13=(_0x5d35e4=this[_0x3374cd(0x5da)])[_0x3374cd(0x419)])==null?void 0x0:_0x188e13['call'](_0x5d35e4))){const _0x25346b=this[_0x3374cd(0x286)];this[_0x3374cd(0x286)]=void 0x0,(_0x1707f4=(_0x446e18=this[_0x3374cd(0x5da)])[_0x3374cd(0x1f2)])==null?void 0x0:_0x1707f4[_0x3374cd(0x453)](_0x446e18,_0x25346b);}}else{const _0x57b0f5=Math[_0x3374cd(0x19a)](0x1,(_0x1bdbeb-this[_0x3374cd(0x414)]['startTime'])/this[_0x3374cd(0x414)]['duration']),_0x218f32=cubicInOut(_0x57b0f5),_0x905bfe={'x':this['animation'][_0x3374cd(0x2b5)]['x']+(this[_0x3374cd(0x414)]['toTranslate']['x']-this[_0x3374cd(0x414)][_0x3374cd(0x527)]['x'])*_0x218f32,'y':this[_0x3374cd(0x414)]['translate']['y']+(this[_0x3374cd(0x414)][_0x3374cd(0x4f1)]['y']-this[_0x3374cd(0x414)]['fromTranslate']['y'])*_0x218f32};this[_0x3374cd(0x5da)][_0x3374cd(0x5e8)](this[_0x3374cd(0x414)][_0x3374cd(0x3e4)],_0x905bfe),this[_0x3374cd(0x414)]['frame']=requestAnimationFrame(this[_0x3374cd(0x25a)]);}},this[_0x10f826(0x519)]=_0x239ce8=>{const _0x27ac13=_0x10f826;var _0x4b53af,_0x400507,_0x15508e,_0x36e3f6,_0x2a4840,_0x244eb9,_0x42cbe4,_0x353d99;if(!this[_0x27ac13(0x414)])return;if(!this[_0x27ac13(0x414)][_0x27ac13(0x4c6)])this[_0x27ac13(0x414)]['startTime']=_0x239ce8;if(!this['animation'][_0x27ac13(0x3b3)])return;if(_0x239ce8-this[_0x27ac13(0x414)][_0x27ac13(0x4c6)]>this[_0x27ac13(0x414)]['duration']){this[_0x27ac13(0x5da)][_0x27ac13(0x6e6)](),this[_0x27ac13(0x5da)]['commitTransform']({'toScale':this[_0x27ac13(0x414)][_0x27ac13(0x3e4)],'toTranslate':this[_0x27ac13(0x414)][_0x27ac13(0x4f1)],'toRotationZ':this[_0x27ac13(0x414)][_0x27ac13(0x485)],'toTiltX':this[_0x27ac13(0x414)][_0x27ac13(0x2c7)],'toPerspectiveZ':this[_0x27ac13(0x414)]['toPerspectiveZ']}),cancelAnimationFrame(this[_0x27ac13(0x414)][_0x27ac13(0x571)]),(_0x400507=(_0x4b53af=this[_0x27ac13(0x5da)])[_0x27ac13(0x42e)])==null?void 0x0:_0x400507[_0x27ac13(0x453)](_0x4b53af,this[_0x27ac13(0x414)][_0x27ac13(0x3e4)],this['animation'][_0x27ac13(0x220)]);const _0x104dcd=this[_0x27ac13(0x414)][_0x27ac13(0x2de)];this['animation']=void 0x0,this[_0x27ac13(0x5da)][_0x27ac13(0x4fe)]();if(_0x104dcd)_0x104dcd();if(this[_0x27ac13(0x286)]!==void 0x0&&((_0x36e3f6=(_0x15508e=this[_0x27ac13(0x5da)])[_0x27ac13(0x419)])==null?void 0x0:_0x36e3f6[_0x27ac13(0x453)](_0x15508e))){const _0x179468=this[_0x27ac13(0x286)];this[_0x27ac13(0x286)]=void 0x0,(_0x244eb9=(_0x2a4840=this[_0x27ac13(0x5da)])[_0x27ac13(0x1f2)])==null?void 0x0:_0x244eb9['call'](_0x2a4840,_0x179468);}}else{const _0x546d18=Math[_0x27ac13(0x19a)](0x1,(_0x239ce8-this[_0x27ac13(0x414)][_0x27ac13(0x4c6)])/this[_0x27ac13(0x414)]['duration']),_0x2ccf33=cubicInOut(_0x546d18),_0x30a3ad=0x1+(this[_0x27ac13(0x414)][_0x27ac13(0x3e4)]/this[_0x27ac13(0x414)]['fromScale']-0x1)*_0x2ccf33,_0x531a0b={'x':this['animation'][_0x27ac13(0x3b3)]['x']*_0x2ccf33,'y':this[_0x27ac13(0x414)][_0x27ac13(0x3b3)]['y']*_0x2ccf33};(this['animation'][_0x27ac13(0x56e)]!==void 0x0&&this[_0x27ac13(0x414)][_0x27ac13(0x485)]!==void 0x0||this[_0x27ac13(0x414)][_0x27ac13(0x426)]!==void 0x0&&this[_0x27ac13(0x414)][_0x27ac13(0x2c7)]!==void 0x0||this['animation'][_0x27ac13(0x1e3)]!==void 0x0&&this[_0x27ac13(0x414)][_0x27ac13(0x661)]!==void 0x0)&&((_0x353d99=(_0x42cbe4=this[_0x27ac13(0x5da)])[_0x27ac13(0x5e3)])==null?void 0x0:_0x353d99[_0x27ac13(0x453)](_0x42cbe4,{'rotationZ':this[_0x27ac13(0x414)][_0x27ac13(0x56e)]!==void 0x0&&this[_0x27ac13(0x414)][_0x27ac13(0x485)]!==void 0x0?this[_0x27ac13(0x414)][_0x27ac13(0x56e)]+(this['animation'][_0x27ac13(0x485)]-this[_0x27ac13(0x414)][_0x27ac13(0x56e)])*_0x2ccf33:void 0x0,'tiltX':this[_0x27ac13(0x414)][_0x27ac13(0x426)]!==void 0x0&&this[_0x27ac13(0x414)]['toTiltX']!==void 0x0?this[_0x27ac13(0x414)][_0x27ac13(0x426)]+(this[_0x27ac13(0x414)][_0x27ac13(0x2c7)]-this[_0x27ac13(0x414)][_0x27ac13(0x426)])*_0x2ccf33:void 0x0,'perspectiveZ':this[_0x27ac13(0x414)]['fromPerspectiveZ']!==void 0x0&&this['animation'][_0x27ac13(0x661)]!==void 0x0?this[_0x27ac13(0x414)]['fromPerspectiveZ']+(this['animation'][_0x27ac13(0x661)]-this[_0x27ac13(0x414)][_0x27ac13(0x1e3)])*_0x2ccf33:void 0x0})),this[_0x27ac13(0x5da)]['cachedDraw'](_0x30a3ad,_0x531a0b),this[_0x27ac13(0x414)][_0x27ac13(0x571)]=requestAnimationFrame(this[_0x27ac13(0x519)]);}},this[_0x10f826(0x5da)]=_0x3d4716;}[_0x1f7a97(0x21f)](){const _0x29e1ed=_0x1f7a97;return!!this[_0x29e1ed(0x414)]&&this[_0x29e1ed(0x414)][_0x29e1ed(0x3d3)];}[_0x1f7a97(0x226)](){const _0x2f8714=_0x1f7a97;this[_0x2f8714(0x414)]&&(cancelAnimationFrame(this['animation'][_0x2f8714(0x571)]),this['options']['onEnd'](),this[_0x2f8714(0x414)]=void 0x0);}[_0x1f7a97(0x1f3)](_0x5eca47){const _0x2a7b4f=_0x1f7a97;this[_0x2a7b4f(0x286)]=_0x5eca47;}['startPanAnimation'](_0x489df3,_0x202956,_0x34ae27,_0x57fae1){const _0x38b2c8=_0x1f7a97;if(this[_0x38b2c8(0x414)])return;this[_0x38b2c8(0x5da)][_0x38b2c8(0x604)](),this[_0x38b2c8(0x414)]={'type':_0x38b2c8(0x30f),'duration':_0x57fae1,'fromScale':0x1,'toScale':0x1,'translate':_0x489df3,'fromTranslate':_0x202956,'toTranslate':_0x34ae27,'inProgress':!![],'frame':requestAnimationFrame(this[_0x38b2c8(0x25a)])};}[_0x1f7a97(0x3c6)](_0xbc92bd){const _0x2f3068=_0x1f7a97;this['animation']&&(cancelAnimationFrame(this[_0x2f3068(0x414)]['frame']),this[_0x2f3068(0x5da)][_0x2f3068(0x6e6)](),this[_0x2f3068(0x414)]=void 0x0),this[_0x2f3068(0x5da)][_0x2f3068(0x604)](),this[_0x2f3068(0x414)]={'type':'transform','duration':_0xbc92bd[_0x2f3068(0x462)],'fromScale':_0xbc92bd[_0x2f3068(0x220)],'toScale':_0xbc92bd[_0x2f3068(0x3e4)],'toTranslate':_0xbc92bd[_0x2f3068(0x4f1)],'relativeTranslate':_0xbc92bd[_0x2f3068(0x3b3)],'fromRotationZ':_0xbc92bd[_0x2f3068(0x56e)],'toRotationZ':_0xbc92bd['toRotationZ'],'fromTiltX':_0xbc92bd[_0x2f3068(0x426)],'toTiltX':_0xbc92bd[_0x2f3068(0x2c7)],'fromPerspectiveZ':_0xbc92bd['fromPerspectiveZ'],'toPerspectiveZ':_0xbc92bd['toPerspectiveZ'],'onComplete':_0xbc92bd['onComplete'],'inProgress':!![],'frame':requestAnimationFrame(this[_0x2f3068(0x519)])};}},RotationAnimation=class{constructor(){const _0x876b1c=_0x1f7a97;this[_0x876b1c(0x414)]=null;}[_0x1f7a97(0x675)](_0x548372,_0x3a5eb2){const _0x3e9244=_0x1f7a97;this[_0x3e9244(0x652)](),this[_0x3e9244(0x414)]={'startTime':Date['now'](),'animationId':null,'lastRotationZ':0x0,'angle':_0x548372,'isRunning':!![]};const _0x1b7064=()=>{const _0x312329=_0x3e9244;if(!this['animation']||!this[_0x312329(0x414)][_0x312329(0x21f)])return;const _0x34b2f7=(Date[_0x312329(0x37d)]()-this[_0x312329(0x414)][_0x312329(0x4c6)])/0x3e8,_0x36c79d=_0x34b2f7*this['animation']['angle']%(Math['PI']*0x2);Math['abs'](_0x36c79d-this['animation']['lastRotationZ'])>0.001&&(this['animation'][_0x312329(0x37a)]=_0x36c79d,_0x3a5eb2(_0x36c79d)),this['animation']['animationId']=requestAnimationFrame(_0x1b7064);};return this[_0x3e9244(0x414)][_0x3e9244(0x30c)]=requestAnimationFrame(_0x1b7064),this['animation'][_0x3e9244(0x30c)];}[_0x1f7a97(0x652)](){const _0x3b03ae=_0x1f7a97;this['animation']&&this[_0x3b03ae(0x414)]['animationId']!==null&&(this[_0x3b03ae(0x414)]['isRunning']=![],cancelAnimationFrame(this[_0x3b03ae(0x414)]['animationId']),this[_0x3b03ae(0x414)]=null);}['isRunning'](){const _0x1dd485=_0x1f7a97;return this[_0x1dd485(0x414)]!==null&&this[_0x1dd485(0x414)][_0x1dd485(0x21f)];}['getAnimationId'](){const _0x2eabae=_0x1f7a97;var _0x21a6d7;return((_0x21a6d7=this[_0x2eabae(0x414)])==null?void 0x0:_0x21a6d7[_0x2eabae(0x30c)])||null;}[_0x1f7a97(0x71c)](){const _0x2fc767=_0x1f7a97;return this[_0x2fc767(0x414)];}};function animate3D(_0x4f2bf3,_0x3711a3,_0x205b68,_0x5965a6){const _0x296e77=_0x1f7a97;var _0x5773ee,_0x5a7dca,_0x35ca45,_0x2a63d2,_0x5069d7,_0x517f79;const _0x70c762=(_0x5773ee=_0x4f2bf3[_0x296e77(0x2aa)])!=null?_0x5773ee:0x0,_0x162244=(_0x5a7dca=_0x4f2bf3[_0x296e77(0x25d)])!=null?_0x5a7dca:0x0,_0x50e67d=(_0x35ca45=_0x4f2bf3[_0x296e77(0x695)])!=null?_0x35ca45:0x0,_0x370cf4=(_0x2a63d2=_0x3711a3[_0x296e77(0x2aa)])!=null?_0x2a63d2:_0x70c762,_0x16d7da=(_0x5069d7=_0x3711a3['perspectiveZ'])!=null?_0x5069d7:_0x162244,_0x341e0f=(_0x517f79=_0x3711a3[_0x296e77(0x695)])!=null?_0x517f79:_0x50e67d,_0x20837c=performance[_0x296e77(0x37d)]();return new Promise(_0x24182a=>{const _0x1c458=_0x819f5b=>{const _0x5e51ff=_0x18e5,_0x3e3315=Math[_0x5e51ff(0x19a)](0x1,(_0x819f5b-_0x20837c)/Math['max'](0x1,_0x205b68)),_0x10a549=cubicInOut(_0x3e3315);_0x5965a6({'rotationZ':_0x70c762+(_0x370cf4-_0x70c762)*_0x10a549,'perspectiveZ':_0x162244+(_0x16d7da-_0x162244)*_0x10a549,'tiltX':_0x50e67d+(_0x341e0f-_0x50e67d)*_0x10a549}),_0x3e3315<0x1?requestAnimationFrame(_0x1c458):(_0x5965a6({'rotationZ':_0x370cf4,'perspectiveZ':_0x16d7da,'tiltX':_0x341e0f}),_0x24182a());};requestAnimationFrame(_0x1c458);});}!window[_0x1f7a97(0x6d4)]&&(window[_0x1f7a97(0x6d4)]=window[_0x1f7a97(0x486)]);var DPR3=window[_0x1f7a97(0x1bb)],paddingSetting=0.5,emptyPaddingSettings=0x0,Renderer=class{constructor(_0x16a082,_0x47560c,_0x1b8076){const _0xd9bcf2=_0x1f7a97;this[_0xd9bcf2(0x39c)]=![],this[_0xd9bcf2(0x21f)]=!![],this[_0xd9bcf2(0x3e2)]=![],this[_0xd9bcf2(0x6d3)]=![],this['originalSectionPrices']={},this['handleTouchStart']=()=>{const _0x194f64=_0xd9bcf2;this[_0x194f64(0x39c)]=!![];},this['handleDebouncedSeatChange']=_0x4ceba3=>{const _0x1b2030=_0xd9bcf2;_0x4ceba3&&this[_0x1b2030(0x566)][_0x1b2030(0x1a3)][_0x1b2030(0x5d8)]&&this[_0x1b2030(0x566)][_0x1b2030(0x1a3)][_0x1b2030(0x5d8)](_0x4ceba3);},this['emitSrcEvent']=_0x46c2cc=>{const _0xca52be=_0xd9bcf2;this['service'][_0xca52be(0x2d9)](_0x46c2cc);},this[_0xd9bcf2(0x48a)]=_0x311b20=>{const _0x2a35de=_0xd9bcf2;this[_0x2a35de(0x51c)]({'x':_0x311b20[_0x2a35de(0x5fb)]['x']*DPR3,'y':_0x311b20[_0x2a35de(0x5fb)]['y']*DPR3},_0x311b20[_0x2a35de(0x4b0)]),this[_0x2a35de(0x566)][_0x2a35de(0x1a3)][_0x2a35de(0x346)]&&this[_0x2a35de(0x566)][_0x2a35de(0x1a3)][_0x2a35de(0x346)](_0x311b20[_0x2a35de(0x5fb)],_0x311b20[_0x2a35de(0x4b0)]);},this[_0xd9bcf2(0x628)]=_0x33a8a7=>{const _0x2a4dab=_0xd9bcf2,_0x3e727d=window[_0x2a4dab(0x1bb)],_0x2321d9={'x':(_0x33a8a7['rect']['x']*_0x3e727d-this[_0x2a4dab(0x566)][_0x2a4dab(0x2b5)]['x'])/this[_0x2a4dab(0x566)]['scale'],'y':(_0x33a8a7[_0x2a4dab(0x357)]['y']*_0x3e727d-this[_0x2a4dab(0x566)][_0x2a4dab(0x2b5)]['y'])/this[_0x2a4dab(0x566)][_0x2a4dab(0x478)],'width':_0x33a8a7[_0x2a4dab(0x357)][_0x2a4dab(0x5ed)]/this['context'][_0x2a4dab(0x478)]*_0x3e727d,'height':_0x33a8a7[_0x2a4dab(0x357)][_0x2a4dab(0x2bd)]/this[_0x2a4dab(0x566)][_0x2a4dab(0x478)]*_0x3e727d};_0x33a8a7['isRowsMode']?this[_0x2a4dab(0x566)][_0x2a4dab(0x316)](_0x2321d9,_0x33a8a7['selectMode']):this[_0x2a4dab(0x566)][_0x2a4dab(0x1b9)](_0x2321d9,_0x33a8a7['selectMode']);_0x33a8a7[_0x2a4dab(0x601)]&&this[_0x2a4dab(0x23a)][_0x2a4dab(0x6f1)]();if(_0x33a8a7[_0x2a4dab(0x4b0)]){this[_0x2a4dab(0x2cb)][_0x2a4dab(0x32d)](),this['outlineLayer'][_0x2a4dab(0x30d)]();this[_0x2a4dab(0x566)][_0x2a4dab(0x1a3)][_0x2a4dab(0x355)]&&this[_0x2a4dab(0x566)]['settings'][_0x2a4dab(0x355)]();const _0x3f5469=this[_0x2a4dab(0x566)]['selectedSeatIds'],_0x4e8851=this[_0x2a4dab(0x566)][_0x2a4dab(0x555)][_0x2a4dab(0x4c7)](_0x1abf73=>_0x3f5469[_0x2a4dab(0x6df)](_0x1abf73['id']));this[_0x2a4dab(0x566)][_0x2a4dab(0x1a3)][_0x2a4dab(0x6f7)]&&this[_0x2a4dab(0x566)][_0x2a4dab(0x1a3)][_0x2a4dab(0x6f7)](_0x4e8851),this[_0x2a4dab(0x566)]['settings'][_0x2a4dab(0x668)]&&this['context']['settings'][_0x2a4dab(0x668)](_0x4e8851);}else this[_0x2a4dab(0x2cb)]['showSelectionRect'](_0x2321d9);},this[_0xd9bcf2(0x354)]=_0x3027ea=>{const _0x29bc0c=_0xd9bcf2;if(this[_0x29bc0c(0x566)][_0x29bc0c(0x638)][_0x29bc0c(0x420)]===0x0)return;const _0x4b1be3=this[_0x29bc0c(0x566)][_0x29bc0c(0x638)];this[_0x29bc0c(0x566)][_0x29bc0c(0x638)]=[],this[_0x29bc0c(0x2cb)][_0x29bc0c(0x4fe)]();this[_0x29bc0c(0x566)][_0x29bc0c(0x1a3)][_0x29bc0c(0x355)]&&this[_0x29bc0c(0x566)][_0x29bc0c(0x1a3)]['onSeatSelectionChange']();const _0x1053eb=this[_0x29bc0c(0x566)]['seats']['filter'](_0x37ba8b=>_0x4b1be3['includes'](_0x37ba8b['id']));this[_0x29bc0c(0x566)]['settings'][_0x29bc0c(0x6f7)]&&this[_0x29bc0c(0x566)][_0x29bc0c(0x1a3)][_0x29bc0c(0x6f7)](_0x1053eb),this[_0x29bc0c(0x566)][_0x29bc0c(0x1a3)]['onSeatsDeselect']&&this[_0x29bc0c(0x566)][_0x29bc0c(0x1a3)][_0x29bc0c(0x458)](_0x1053eb);},this[_0xd9bcf2(0x731)]=_0x460a33=>{const _0xbc3043=_0xd9bcf2;this['startAnimation']((_0x460a33[_0xbc3043(0x478)]||0x1)*DPR3,_0x460a33['origin']);},this[_0xd9bcf2(0x204)]=({seat:_0x51a5a7,isRowsMode:_0x2e8ed9,selectMode:_0xbdf356})=>{const _0x4b8b0e=_0xd9bcf2;_0x2e8ed9?this[_0x4b8b0e(0x566)][_0x4b8b0e(0x550)]((this[_0x4b8b0e(0x566)][_0x4b8b0e(0x35c)][_0x51a5a7[_0x4b8b0e(0x5c2)]]||[])['map'](_0x58e64e=>_0x58e64e['id']),_0xbdf356):this[_0x4b8b0e(0x566)][_0x4b8b0e(0x550)]([_0x51a5a7['id']],_0xbdf356),this[_0x4b8b0e(0x2cb)]['redraw'](),this[_0x4b8b0e(0x566)][_0x4b8b0e(0x1a3)][_0x4b8b0e(0x355)]&&this[_0x4b8b0e(0x566)][_0x4b8b0e(0x1a3)][_0x4b8b0e(0x355)](),this[_0x4b8b0e(0x566)][_0x4b8b0e(0x1a3)][_0x4b8b0e(0x668)]&&this[_0x4b8b0e(0x566)][_0x4b8b0e(0x1a3)]['onSeatsSelect'](_0x2e8ed9?this[_0x4b8b0e(0x566)][_0x4b8b0e(0x35c)][_0x51a5a7[_0x4b8b0e(0x5c2)]]:[_0x51a5a7]),this[_0x4b8b0e(0x566)]['settings'][_0x4b8b0e(0x6f7)]&&this['context'][_0x4b8b0e(0x1a3)][_0x4b8b0e(0x6f7)](_0x2e8ed9?this[_0x4b8b0e(0x566)][_0x4b8b0e(0x35c)][_0x51a5a7[_0x4b8b0e(0x5c2)]]:[_0x51a5a7]);},this[_0xd9bcf2(0x6ae)]=async({seat:_0x5e0d82})=>{const _0x18a3d3=_0xd9bcf2;var _0x4503c4,_0x30b865,_0x3cfd9a,_0x3e8fd4,_0x53a5eb,_0x23847a;if(_0x5e0d82[_0x18a3d3(0x6c7)])return;const _0x2cb56a=this[_0x18a3d3(0x566)][_0x18a3d3(0x6e0)](),_0x8bb0fd=this[_0x18a3d3(0x214)](_0x5e0d82),_0x29a55f=!this[_0x18a3d3(0x566)][_0x18a3d3(0x2ab)](_0x5e0d82['id']),_0x5a6141=this[_0x18a3d3(0x566)]['settings']['groupSize'];if(_0x5a6141&&_0x5a6141>0x1){this['clearCart']();const _0xf00d44=this[_0x18a3d3(0x1c6)](_0x8bb0fd['id'],_0x5a6141);_0xf00d44?_0xf00d44[_0x18a3d3(0x34d)](_0x4c0d00=>this[_0x18a3d3(0x566)][_0x18a3d3(0x5fe)](_0x4c0d00['id'])):this['context'][_0x18a3d3(0x5b7)](void 0x0);this[_0x18a3d3(0x566)][_0x18a3d3(0x1a3)][_0x18a3d3(0x72f)]&&this['context'][_0x18a3d3(0x1a3)][_0x18a3d3(0x72f)](this[_0x18a3d3(0x566)]['getCart'](),_0x2cb56a);this[_0x18a3d3(0x2cb)][_0x18a3d3(0x4fe)]();return;}try{_0x5e0d82[_0x18a3d3(0x61f)]=_0x18a3d3(0x2e3),this[_0x18a3d3(0x566)][_0x18a3d3(0x52a)](_0x5e0d82['id']),this[_0x18a3d3(0x4fe)]();const _0x33d630=_0x29a55f?await((_0x3cfd9a=(_0x30b865=(_0x4503c4=this[_0x18a3d3(0x566)]['settings'])['onSeatSelect'])==null?void 0x0:_0x30b865['call'](_0x4503c4,_0x8bb0fd))!=null?_0x3cfd9a:Promise['resolve'](!![])):await((_0x23847a=(_0x53a5eb=(_0x3e8fd4=this[_0x18a3d3(0x566)][_0x18a3d3(0x1a3)])[_0x18a3d3(0x64e)])==null?void 0x0:_0x53a5eb[_0x18a3d3(0x453)](_0x3e8fd4,_0x8bb0fd))!=null?_0x23847a:Promise[_0x18a3d3(0x443)](!![]));if(_0x33d630===![]){_0x5e0d82[_0x18a3d3(0x61f)]=_0x18a3d3(0x62b),this[_0x18a3d3(0x4fe)]();const _0x8c439e=this[_0x18a3d3(0x3a3)][_0x18a3d3(0x566)][_0x18a3d3(0x2fa)];(_0x8c439e==null?void 0x0:_0x8c439e['targetType'])===_0x18a3d3(0x57d)&&(_0x8c439e==null?void 0x0:_0x8c439e['id'])===_0x5e0d82['id']&&this[_0x18a3d3(0x566)][_0x18a3d3(0x5b7)](void 0x0);setTimeout(()=>{const _0x541a85=_0x18a3d3;_0x5e0d82['state']=_0x541a85(0x63a),this[_0x541a85(0x4fe)]();},0xbb8);return;}this[_0x18a3d3(0x6da)]instanceof HTMLCanvasLayer&&this[_0x18a3d3(0x6da)][_0x18a3d3(0x726)](_0x5e0d82['id'][_0x18a3d3(0x702)]());_0x29a55f?(this[_0x18a3d3(0x566)][_0x18a3d3(0x5fe)](_0x5e0d82['id']),_0x5e0d82[_0x18a3d3(0x61f)]=_0x18a3d3(0x451)):(this[_0x18a3d3(0x566)][_0x18a3d3(0x643)](_0x5e0d82['id']),_0x5e0d82['state']='default');this[_0x18a3d3(0x566)]['settings'][_0x18a3d3(0x72f)]&&this[_0x18a3d3(0x566)][_0x18a3d3(0x1a3)][_0x18a3d3(0x72f)](this[_0x18a3d3(0x566)][_0x18a3d3(0x6e0)](),_0x2cb56a);const _0x3ddba0=this[_0x18a3d3(0x3a3)][_0x18a3d3(0x566)][_0x18a3d3(0x2fa)];!_0x29a55f&&(_0x3ddba0==null?void 0x0:_0x3ddba0[_0x18a3d3(0x3b6)])===_0x18a3d3(0x57d)&&(_0x3ddba0==null?void 0x0:_0x3ddba0['id'])===_0x5e0d82['id']&&this[_0x18a3d3(0x566)]['setHovered'](void 0x0);}catch(_0x5f5aa1){console[_0x18a3d3(0x62b)]('Error\x20when\x20choosing\x20a\x20seat:',_0x5f5aa1),_0x5e0d82['state']=_0x18a3d3(0x62b),this[_0x18a3d3(0x4fe)]();}this[_0x18a3d3(0x4fe)](),this[_0x18a3d3(0x6da)]instanceof WebGLCanvasLayer&&_0x29a55f&&this[_0x18a3d3(0x6da)]['runOverlayPulse'](0x12c);},this['handleDestSectionClick']=async({section:_0x2d29fc})=>{const _0x58af6c=_0xd9bcf2;if(!_0x2d29fc['id'])return;if(this[_0x58af6c(0x566)][_0x58af6c(0x44f)][_0x2d29fc['id']][_0x58af6c(0x2f9)]||this[_0x58af6c(0x566)][_0x58af6c(0x44f)][_0x2d29fc['id']][_0x58af6c(0x4a7)])return;!this[_0x58af6c(0x566)][_0x58af6c(0x1a3)][_0x58af6c(0x3bc)]&&(this[_0x58af6c(0x566)]['cart']['ga']['find'](_0x15b007=>_0x15b007[_0x58af6c(0x71a)]===_0x2d29fc['id'])?this[_0x58af6c(0x3ee)]({'sectorId':_0x2d29fc['id']}):this['addGaToCart']({'sectorId':_0x2d29fc['id'],'key':_0x2d29fc['name'],'count':0x1,'price':_0x2d29fc[_0x58af6c(0x6a3)]})),this[_0x58af6c(0x566)][_0x58af6c(0x44f)][_0x2d29fc['id']][_0x58af6c(0x451)]?(this[_0x58af6c(0x3dd)](),this[_0x58af6c(0x566)][_0x58af6c(0x44f)][_0x2d29fc['id']][_0x58af6c(0x451)]=![]):(this[_0x58af6c(0x3dd)](_0x2d29fc['id']),this['context'][_0x58af6c(0x44f)][_0x2d29fc['id']][_0x58af6c(0x451)]=!![]),this['context'][_0x58af6c(0x1a3)]['onSectorClick']&&this[_0x58af6c(0x566)][_0x58af6c(0x1a3)]['onSectorClick'](_0x2d29fc),this[_0x58af6c(0x566)][_0x58af6c(0x1a3)][_0x58af6c(0x40d)]&&this[_0x58af6c(0x566)][_0x58af6c(0x1a3)]['onSectionClick'](_0x2d29fc);},this[_0xd9bcf2(0x428)]=_0x22d19c=>{const _0x2634a4=_0xd9bcf2,_0x3a4a26=this['normalizePinchScale'](_0x22d19c[_0x2634a4(0x478)]);if(_0x22d19c[_0x2634a4(0x55e)]==='pinchstart'){const _0xf8aa1d=this[_0x2634a4(0x566)][_0x2634a4(0x4b6)][_0x2634a4(0x431)]();this['pinchStartPoint']={'x':_0x22d19c['center']['x']-_0xf8aa1d[_0x2634a4(0x1a2)],'y':_0x22d19c[_0x2634a4(0x67a)]['y']-_0xf8aa1d[_0x2634a4(0x3d4)]},this['hammer'][_0x2634a4(0x1e7)](_0x2634a4(0x30f))[_0x2634a4(0x68a)]({'enable':![]});}else{if(_0x22d19c[_0x2634a4(0x55e)]===_0x2634a4(0x6b6))this[_0x2634a4(0x566)][_0x2634a4(0x2b5)]=this[_0x2634a4(0x215)](_0x3a4a26,this[_0x2634a4(0x5ad)],{'x':_0x22d19c[_0x2634a4(0x6a4)],'y':_0x22d19c[_0x2634a4(0x491)]}),this[_0x2634a4(0x4e4)](this['context'][_0x2634a4(0x478)]*_0x3a4a26),this[_0x2634a4(0x5ad)]=void 0x0,this[_0x2634a4(0x4fe)](),this[_0x2634a4(0x566)][_0x2634a4(0x1a3)][_0x2634a4(0x42e)]&&this['context']['settings'][_0x2634a4(0x42e)](this[_0x2634a4(0x566)]['scale']),window[_0x2634a4(0x223)](()=>this[_0x2634a4(0x22b)]['get'](_0x2634a4(0x30f))[_0x2634a4(0x68a)]({'enable':!![]}),0x64);else{const _0x4d3c17=this[_0x2634a4(0x2bc)](_0x3a4a26,this['pinchStartPoint'],{'x':_0x22d19c[_0x2634a4(0x6a4)],'y':_0x22d19c['deltaY']});this[_0x2634a4(0x5e8)](_0x3a4a26,_0x4d3c17);}}},this['handleDestSeatMouseEnter']=_0x1ecff7=>{const _0x36c2be=_0xd9bcf2,_0x333d83=this[_0x36c2be(0x214)](_0x1ecff7[_0x36c2be(0x57d)]);this[_0x36c2be(0x566)]['settings']['onSeatMouseEnter']&&this[_0x36c2be(0x566)][_0x36c2be(0x1a3)][_0x36c2be(0x21a)](_0x333d83),this[_0x36c2be(0x566)][_0x36c2be(0x1a3)][_0x36c2be(0x5d8)]&&this[_0x36c2be(0x547)](_0x333d83),this[_0x36c2be(0x566)]['setHovered'](_0x1ecff7[_0x36c2be(0x57d)],_0x1ecff7['isRowsMode']),this['context'][_0x36c2be(0x4b6)]['style'][_0x36c2be(0x2c3)]='pointer',!this['context'][_0x36c2be(0x1a3)]['switchToWebGL']?this[_0x36c2be(0x2cb)][_0x36c2be(0x4fe)]():this[_0x36c2be(0x6da)][_0x36c2be(0x4fe)]();},this[_0xd9bcf2(0x6ad)]=_0x4d0eaf=>{const _0x50127b=_0xd9bcf2;this['outlineLayer'][_0x50127b(0x705)](),this[_0x50127b(0x23a)][_0x50127b(0x1fb)](),this[_0x50127b(0x566)][_0x50127b(0x1a3)][_0x50127b(0x2cc)]&&this[_0x50127b(0x566)][_0x50127b(0x1a3)]['onSectorMouseEnter'](_0x4d0eaf[_0x50127b(0x641)]),this['context'][_0x50127b(0x4b6)][_0x50127b(0x71e)]['cursor']=_0x50127b(0x413),this[_0x50127b(0x2cb)][_0x50127b(0x4fe)]();},this['handleDestSeatMouseLeave']=_0x474a5e=>{const _0x41057e=_0xd9bcf2;this[_0x41057e(0x566)][_0x41057e(0x1a3)][_0x41057e(0x518)]&&this['context']['settings'][_0x41057e(0x518)](),this[_0x41057e(0x566)][_0x41057e(0x5b7)](void 0x0),this['context'][_0x41057e(0x4b6)][_0x41057e(0x71e)]['cursor']=_0x41057e(0x63a),!this[_0x41057e(0x566)]['settings'][_0x41057e(0x6d3)]?this[_0x41057e(0x2cb)][_0x41057e(0x4fe)]():this[_0x41057e(0x6da)][_0x41057e(0x4fe)]();},this['handleDestSectionMouseLeave']=_0xd8119=>{const _0x1dffd1=_0xd9bcf2;this[_0x1dffd1(0x566)][_0x1dffd1(0x1a3)]['onSectorMouseLeave']&&this[_0x1dffd1(0x566)][_0x1dffd1(0x1a3)]['onSectorMouseLeave'](),this['context']['element'][_0x1dffd1(0x71e)][_0x1dffd1(0x2c3)]=_0x1dffd1(0x63a),this['selectionLayer'][_0x1dffd1(0x4fe)]();},this[_0xd9bcf2(0x52f)]=_0x1f3e6a=>{const _0x15efe1=_0xd9bcf2;_0x1f3e6a[_0x15efe1(0x50f)]();if(_0x1f3e6a[_0x15efe1(0x4e6)]||this['isTouchMode']||!_0x1f3e6a[_0x15efe1(0x6c8)])return;let _0x1cee37;if(isGaOutline(_0x1f3e6a[_0x15efe1(0x6c8)]))_0x1cee37=this['getGaSectionByOutline'](_0x1f3e6a['target']);else isSectionOutline(_0x1f3e6a[_0x15efe1(0x6c8)])&&(_0x1cee37=this['getSectionByOutline'](_0x1f3e6a[_0x15efe1(0x6c8)]));const _0x1f00e7=this[_0x15efe1(0x566)][_0x15efe1(0x4b6)]['getBoundingClientRect'](),_0x5ac131={'x':_0x1f3e6a[_0x15efe1(0x54d)]-_0x1f00e7[_0x15efe1(0x1a2)],'y':_0x1f3e6a[_0x15efe1(0x1c9)]-_0x1f00e7[_0x15efe1(0x3d4)]},_0x1ae99e=this[_0x15efe1(0x566)][_0x15efe1(0x3c1)](_0x5ac131,{'width':this[_0x15efe1(0x2e4)](),'height':this[_0x15efe1(0x31d)]()});this[_0x15efe1(0x6e4)]({'type':_0x15efe1(0x557),'target':_0x1f3e6a[_0x15efe1(0x6c8)],'seat':_0x1ae99e,'section':_0x1cee37});},this[_0xd9bcf2(0x273)]=_0x22a087=>{const _0x5c368d=_0xd9bcf2;if(_0x22a087[_0x5c368d(0x4e6)]||this[_0x5c368d(0x39c)])return;this['emitSrcEvent']({'type':_0x5c368d(0x557),'target':_0x22a087[_0x5c368d(0x6c8)]});},this['handleMouseLeave']=_0x368f69=>{const _0x525c80=_0xd9bcf2;if(this[_0x525c80(0x39c)])return;this[_0x525c80(0x6e4)]({'type':_0x525c80(0x557),'target':this['context'][_0x525c80(0x4b6)]});},this[_0xd9bcf2(0x50e)]=()=>{const _0x4501fd=_0xd9bcf2;window[_0x4501fd(0x2b2)](this['resizeTimer']),this[_0x4501fd(0x62d)]=window['setTimeout'](this[_0x4501fd(0x507)],0xfa);},this['updateSize']=()=>{const _0x1bff36=_0xd9bcf2,_0x2e4cc5=this['width'],_0x164233=this[_0x1bff36(0x2bd)],_0x2324a7=getOffset(this['context'][_0x1bff36(0x4b6)]);this[_0x1bff36(0x5ed)]=this[_0x1bff36(0x566)]['element'][_0x1bff36(0x256)],this['height']=this['context'][_0x1bff36(0x1a3)][_0x1bff36(0x2bd)]||window[_0x1bff36(0x6ab)]-_0x2324a7[_0x1bff36(0x3d4)],this['context']['element']['style'][_0x1bff36(0x2bd)]=this['height']+'px';const _0x236fba=_0x2e4cc5!==this[_0x1bff36(0x5ed)]||_0x164233!==this['height'];if(_0x2e4cc5&&_0x164233&&_0x236fba){const _0x445981={'x':Math[_0x1bff36(0x3d5)]((this[_0x1bff36(0x5ed)]-_0x2e4cc5)/0x2*DPR3),'y':Math[_0x1bff36(0x3d5)]((this[_0x1bff36(0x2bd)]-_0x164233)/0x2*DPR3)};this[_0x1bff36(0x566)][_0x1bff36(0x2b5)]=addPoints(this[_0x1bff36(0x566)][_0x1bff36(0x2b5)],_0x445981);}if(_0x236fba){if(this[_0x1bff36(0x6da)])this[_0x1bff36(0x6da)]['updateSize']();if(this[_0x1bff36(0x2cb)])this[_0x1bff36(0x2cb)][_0x1bff36(0x507)]();if(this['outlineLayer'])this['outlineLayer'][_0x1bff36(0x507)]();this['minimapLayer']&&(this[_0x1bff36(0x493)][_0x1bff36(0x507)](),this['setMinimapFromSnapshot'](this[_0x1bff36(0x6da)][_0x1bff36(0x19c)]));}},this[_0xd9bcf2(0x51c)]=(_0x2f4b1b,_0x255102)=>{const _0x5800c8=_0xd9bcf2,_0x2117ac=this[_0x5800c8(0x566)][_0x5800c8(0x21c)]?this[_0x5800c8(0x20c)](_0x2f4b1b):_0x2f4b1b;this[_0x5800c8(0x5e8)](0x1,_0x2117ac);if(_0x255102){const _0x43d154=addPoints(this[_0x5800c8(0x566)]['translate'],_0x2117ac),_0x34d3cc=this[_0x5800c8(0x1d2)](_0x43d154);_0x43d154['y']!==_0x34d3cc['y']||_0x43d154['x']!==_0x34d3cc['x']?this[_0x5800c8(0x585)](_0x2117ac,_0x43d154,_0x34d3cc):(this[_0x5800c8(0x566)]['translate']=_0x43d154,this[_0x5800c8(0x4fe)]());}},this[_0xd9bcf2(0x214)]=_0x202ac4=>{const _0x5d5986=_0xd9bcf2;return this[_0x5d5986(0x566)][_0x5d5986(0x214)](_0x202ac4);},_0x16a082[_0xd9bcf2(0x71e)][_0xd9bcf2(0x5ae)]=_0x1b8076[_0xd9bcf2(0x389)][_0xd9bcf2(0x403)],_0x16a082[_0xd9bcf2(0x71e)]['overflow']='hidden',_0x16a082['style'][_0xd9bcf2(0x5bb)]=_0xd9bcf2(0x2ed),this[_0xd9bcf2(0x566)]=new Context(_0x16a082,_0x1b8076,()=>this[_0xd9bcf2(0x2cb)][_0xd9bcf2(0x4fe)]()),this[_0xd9bcf2(0x507)](),this[_0xd9bcf2(0x6da)]=this['getStageLayer'](),this[_0xd9bcf2(0x2cb)]=new SelectionLayer(this[_0xd9bcf2(0x566)]),this[_0xd9bcf2(0x61b)]=new VisibilityManager(this[_0xd9bcf2(0x566)]),this[_0xd9bcf2(0x22b)]=this['createHammer'](_0x16a082),this[_0xd9bcf2(0x547)]=debounce(_0x1b8076[_0xd9bcf2(0x359)]||0x0,this[_0xd9bcf2(0x547)]),this['service']=this[_0xd9bcf2(0x711)](_0x47560c),this['padding']=_0x1b8076[_0xd9bcf2(0x473)]||paddingSetting,this[_0xd9bcf2(0x3e2)]=_0x1b8076[_0xd9bcf2(0x3e2)]||![],this[_0xd9bcf2(0x6d3)]=_0x1b8076[_0xd9bcf2(0x6d3)]||![],this['transformAnimator']=new TransformAnimator({'cachedDraw':(_0x27d89a,_0x290f3f)=>this['cachedDraw'](_0x27d89a,_0x290f3f),'commitTransform':({toScale:_0x1ce96d,toTranslate:_0x5baf04,toRotationZ:_0x952fc8,toTiltX:_0x84aec9,toPerspectiveZ:_0x7e307})=>{const _0x585207=_0xd9bcf2;if(_0x1ce96d!==void 0x0)this[_0x585207(0x4e4)](_0x1ce96d);if(_0x5baf04)this['context']['translate']=_0x5baf04;if(_0x952fc8!==void 0x0)this['context']['rotationZ']=_0x952fc8;if(_0x84aec9!==void 0x0)this[_0x585207(0x566)][_0x585207(0x695)]=_0x84aec9;if(_0x7e307!==void 0x0)this['context'][_0x585207(0x25d)]=_0x7e307;},'redraw':()=>this['redraw'](),'onStart':()=>this[_0xd9bcf2(0x3a3)][_0xd9bcf2(0x2d9)](_0xd9bcf2(0x1a9)),'onEnd':()=>this[_0xd9bcf2(0x3a3)][_0xd9bcf2(0x2d9)](_0xd9bcf2(0x5cc)),'onZoomEnd':(_0xd1bd67,_0x16294c)=>{const _0x745644=_0xd9bcf2;var _0x25f254,_0x37fd4e;return(_0x37fd4e=(_0x25f254=this[_0x745644(0x566)][_0x745644(0x1a3)])['onZoomEnd'])==null?void 0x0:_0x37fd4e[_0x745644(0x453)](_0x25f254,_0xd1bd67,_0x16294c);},'onPendingRotation':_0x5e991a=>this[_0xd9bcf2(0x2dc)](_0x5e991a),'is3DEnabled':()=>this[_0xd9bcf2(0x566)]['enable3DView'],'applyIntermediate3D':({rotationZ:_0x5a1567,tiltX:_0x4ac3f4,perspectiveZ:_0x258e0b})=>{const _0x54f407=_0xd9bcf2;if(_0x5a1567!==void 0x0)this['context']['rotationZ']=_0x5a1567;if(_0x4ac3f4!==void 0x0)this['context'][_0x54f407(0x695)]=_0x4ac3f4;if(_0x258e0b!==void 0x0)this[_0x54f407(0x566)][_0x54f407(0x25d)]=_0x258e0b;this['outlineLayer']&&_0x54f407(0x3ad)in this[_0x54f407(0x23a)]&&this[_0x54f407(0x23a)][_0x54f407(0x3ad)]();}}),this[_0xd9bcf2(0x246)]=new RotationAnimation();}[_0x1f7a97(0x4bd)](){const _0x566daf=_0x1f7a97;if(!this['minimapLayer'])return;this[_0x566daf(0x493)]['updateViewportIndicator']();}async[_0x1f7a97(0x533)](_0x368354){const _0x50e2ae=_0x1f7a97;if(!this[_0x50e2ae(0x493)])return;try{const _0x51a325=await this['stageLayer'][_0x50e2ae(0x5fa)]();if(_0x51a325){const _0x4496a3={'scale':this[_0x50e2ae(0x566)][_0x50e2ae(0x478)],'translate':{...this[_0x50e2ae(0x566)][_0x50e2ae(0x2b5)]}};this[_0x50e2ae(0x493)][_0x50e2ae(0x43a)](_0x51a325,_0x4496a3);}else _0x368354&&this[_0x50e2ae(0x493)]['setBackgroundImage'](_0x368354);}catch(_0x434120){if(_0x368354)this['minimapLayer']['setBackgroundImage'](_0x368354);}finally{this[_0x50e2ae(0x493)]['updateViewportIndicator']();}}['destroy'](){const _0x352b90=_0x1f7a97;this[_0x352b90(0x21f)]=![],this[_0x352b90(0x6b4)][_0x352b90(0x226)](),window[_0x352b90(0x2b2)](this[_0x352b90(0x62d)]),this[_0x352b90(0x4f0)](),this[_0x352b90(0x566)][_0x352b90(0x4b6)][_0x352b90(0x693)](_0x352b90(0x664),this[_0x352b90(0x52f)]),this['context'][_0x352b90(0x4b6)]['removeEventListener'](_0x352b90(0x26d),this[_0x352b90(0x31f)]),window[_0x352b90(0x693)]('mousemove',this[_0x352b90(0x273)]),window[_0x352b90(0x693)](_0x352b90(0x46b),this[_0x352b90(0x50e)]),window['removeEventListener'](_0x352b90(0x4f4),this['handleTouchStart']),this['hammer'][_0x352b90(0x4b1)](),this[_0x352b90(0x6da)][_0x352b90(0x4b1)](),this[_0x352b90(0x2cb)][_0x352b90(0x4b1)](),this[_0x352b90(0x566)]['destroy'](),this['outlineLayer']&&this[_0x352b90(0x23a)][_0x352b90(0x4b1)](),this['minimapLayer']&&this[_0x352b90(0x493)][_0x352b90(0x4b1)]();}[_0x1f7a97(0x2e4)](){const _0x5d76ba=_0x1f7a97;return this[_0x5d76ba(0x5ed)];}[_0x1f7a97(0x31d)](){const _0x26d190=_0x1f7a97;return this[_0x26d190(0x2bd)];}['getVersion'](){return VERSION;}[_0x1f7a97(0x602)](_0x2b0fc5){const _0x1860ec=_0x1f7a97;return this[_0x1860ec(0x38f)]({'mode':_0x2b0fc5}),!![];}[_0x1f7a97(0x1dd)](){const _0x59ed70=_0x1f7a97;return this[_0x59ed70(0x3a3)][_0x59ed70(0x566)][_0x59ed70(0x4c4)];}[_0x1f7a97(0x5b0)](_0xaad1fe){const _0x4e0f84=_0x1f7a97;this[_0x4e0f84(0x566)]['settings'][_0x4e0f84(0x2bd)]=_0xaad1fe,this[_0x4e0f84(0x507)]();}[_0x1f7a97(0x45d)](_0x3341ad){const _0x281d55=_0x1f7a97;this[_0x281d55(0x566)][_0x281d55(0x1a3)][_0x281d55(0x6a8)]=_0x3341ad;}[_0x1f7a97(0x660)](_0x36014b){const _0x20abda=_0x1f7a97;if(!_0x36014b[_0x20abda(0x420)])return[];let _0x2d98fd;if(typeof _0x36014b[0x0]===_0x20abda(0x1f7))_0x2d98fd=_0x36014b;else{if(typeof _0x36014b[0x0]===_0x20abda(0x5ef))_0x2d98fd=this[_0x20abda(0x2df)](_0x36014b);else{if(typeof _0x36014b[0x0]==='object')_0x2d98fd=_0x36014b[_0x20abda(0x65c)](_0x55bc34=>_0x55bc34['id']);else throw new Error(_0x20abda(0x680));}}return _0x2d98fd;}[_0x1f7a97(0x539)](){const _0x29525f=_0x1f7a97;return this[_0x29525f(0x566)][_0x29525f(0x555)][_0x29525f(0x4c7)](_0x5002fb=>_0x5002fb['isMarked'])[_0x29525f(0x65c)](_0xc7c740=>_0xc7c740['id']);}['setSeatsCategory'](_0x582a1a,_0x1789a8,_0x3483e4){const _0x50252f=_0x1f7a97;if(!_0x582a1a[_0x50252f(0x420)])return;const _0x489963=this[_0x50252f(0x660)](_0x582a1a);_0x582a1a[0x0]&&(_0x489963[_0x50252f(0x34d)](_0x4758c5=>{const _0xbc948b=_0x50252f,_0x58a469=this[_0xbc948b(0x566)][_0xbc948b(0x243)][_0x4758c5];_0x58a469&&(_0x58a469['special']?_0x58a469[_0xbc948b(0x3c5)][_0xbc948b(0x329)]=_0x1789a8:_0x58a469[_0xbc948b(0x3c5)]={'category':_0x1789a8});}),this[_0x50252f(0x566)][_0x50252f(0x69d)][_0x1789a8]=_0x3483e4),this[_0x50252f(0x4fe)]();}[_0x1f7a97(0x291)](_0x1d5db1,_0x1a0be3){const _0x2c40fd=_0x1f7a97;_0x1a0be3?this[_0x2c40fd(0x566)]['gaCategories'][_0x1d5db1]=_0x1a0be3:delete this[_0x2c40fd(0x566)][_0x2c40fd(0x4d0)][_0x1d5db1],this[_0x2c40fd(0x4fe)]();}[_0x1f7a97(0x1df)](){const _0x182912=_0x1f7a97;for(const _0x4af87d of this[_0x182912(0x566)][_0x182912(0x555)]){if(_0x4af87d[_0x182912(0x3c5)])delete _0x4af87d['special'][_0x182912(0x329)];}this[_0x182912(0x566)]['gaCategories']={},this[_0x182912(0x566)][_0x182912(0x69d)]={},this['redraw']();}['getCategoryColor'](_0x10b2cc){const _0x408c9d=_0x1f7a97;var _0x5022e4;if(this[_0x408c9d(0x566)][_0x408c9d(0x69d)][_0x10b2cc])return this['context'][_0x408c9d(0x69d)][_0x10b2cc];const _0x177400=(_0x5022e4=this[_0x408c9d(0x566)][_0x408c9d(0x1a3)][_0x408c9d(0x389)])==null?void 0x0:_0x5022e4[_0x408c9d(0x2e0)];if(!(_0x177400==null?void 0x0:_0x177400['length']))return;return _0x177400[_0x10b2cc%_0x177400['length']];}[_0x1f7a97(0x707)](_0x1c1861){const _0xb26272=_0x1f7a97,_0x350fe5=new _0x4683ea(_0x1c1861);return _0x350fe5[_0xb26272(0x1e7)](_0xb26272(0x30f))[_0xb26272(0x68a)]({'direction':_0x4683ea[_0xb26272(0x27d)]}),_0x350fe5[_0xb26272(0x1e7)](_0xb26272(0x59b))[_0xb26272(0x68a)]({'enable':!![]}),_0x350fe5[_0xb26272(0x1e7)](_0xb26272(0x490))['set']({'enable':![]}),_0x350fe5[_0xb26272(0x1e7)](_0xb26272(0x522))[_0xb26272(0x68a)]({'enable':![]}),_0x350fe5[_0xb26272(0x1e7)]('tap')['set']({'threshold':0x4}),_0x350fe5;}[_0x1f7a97(0x38f)](_0x35b89b){const _0x3f3515=_0x1f7a97;this['service'][_0x3f3515(0x2d9)]({'type':_0x3f3515(0x2b1),..._0x35b89b});}[_0x1f7a97(0x711)](_0x199e47){let _0x2cdf8e;return interpret(_0x199e47,_0x2fc760=>{const _0x211bcc=_0x18e5;if(_0x2fc760[_0x211bcc(0x566)][_0x211bcc(0x613)]===_0x2cdf8e)return;_0x2cdf8e=_0x2fc760[_0x211bcc(0x566)][_0x211bcc(0x613)],_0x2fc760['context'][_0x211bcc(0x613)][_0x211bcc(0x34d)](_0x2d9b9e=>{const _0x3722d6=_0x211bcc;switch(_0x2d9b9e[_0x3722d6(0x55e)]){case'destPan':this[_0x3722d6(0x48a)](_0x2d9b9e);break;case _0x3722d6(0x61c):this[_0x3722d6(0x731)](_0x2d9b9e);break;case'destSeatSelect':this[_0x3722d6(0x204)](_0x2d9b9e);break;case _0x3722d6(0x1d4):this[_0x3722d6(0x6ae)](_0x2d9b9e);break;case'destSectionClick':this[_0x3722d6(0x56f)](_0x2d9b9e);break;case _0x3722d6(0x3cc):this[_0x3722d6(0x53a)](_0x2d9b9e);break;case _0x3722d6(0x556):this[_0x3722d6(0x6ad)](_0x2d9b9e);break;case'destSeatMouseLeave':this[_0x3722d6(0x24d)](_0x2d9b9e);break;case _0x3722d6(0x270):this[_0x3722d6(0x712)](_0x2d9b9e);break;case _0x3722d6(0x433):this[_0x3722d6(0x628)](_0x2d9b9e);break;case'destDeselect':this[_0x3722d6(0x354)](_0x2d9b9e);break;}});});}[_0x1f7a97(0x4e4)](_0x4b157c){const _0x1f264d=_0x1f7a97,_0x22d7df=this[_0x1f264d(0x61b)]['isOutlineSelectable'](this[_0x1f264d(0x566)][_0x1f264d(0x478)]),_0x33907d=this[_0x1f264d(0x61b)][_0x1f264d(0x4e1)](_0x4b157c);this['context'][_0x1f264d(0x478)]=_0x4b157c,this[_0x1f264d(0x566)][_0x1f264d(0x244)]=this[_0x1f264d(0x566)][_0x1f264d(0x478)]<(this[_0x1f264d(0x566)]['settings']['seatSelectionMinZoom']||0x0)*DPR3,this[_0x1f264d(0x566)][_0x1f264d(0x5f4)]=this[_0x1f264d(0x61b)]['getVisibilityStatuses'](_0x4b157c),_0x22d7df!==_0x33907d&&this[_0x1f264d(0x23a)]&&this[_0x1f264d(0x23a)][_0x1f264d(0x2a0)](_0x33907d),this[_0x1f264d(0x38f)]({'scale':_0x4b157c/DPR3,'isEagleView':this[_0x1f264d(0x566)]['isEagleView'],'visibility':this[_0x1f264d(0x566)][_0x1f264d(0x5f4)],'enable3DView':this[_0x1f264d(0x566)][_0x1f264d(0x21c)],'rotationZ':this['context'][_0x1f264d(0x2aa)],'perspectiveZ':this[_0x1f264d(0x566)]['perspectiveZ'],'tiltX':this[_0x1f264d(0x566)][_0x1f264d(0x695)],'getWidth':()=>this[_0x1f264d(0x2e4)](),'getHeight':()=>this[_0x1f264d(0x31d)]()});}[_0x1f7a97(0x551)](){const _0x2222c0=_0x1f7a97;if(!this[_0x2222c0(0x566)][_0x2222c0(0x51b)])return[];return sortPrices(Object[_0x2222c0(0x255)](this[_0x2222c0(0x566)][_0x2222c0(0x51b)]));}[_0x1f7a97(0x205)](_0x4b8129){const _0x1d342b=_0x1f7a97;if(!this[_0x1d342b(0x21f)])return;this[_0x1d342b(0x566)][_0x1d342b(0x205)](_0x4b8129),this[_0x1d342b(0x566)][_0x1d342b(0x1a3)][_0x1d342b(0x72f)]&&this[_0x1d342b(0x566)][_0x1d342b(0x1a3)][_0x1d342b(0x72f)](this[_0x1d342b(0x566)][_0x1d342b(0x6e0)]()),this['refreshMinimap']();}['clearCart'](){const _0x524a7b=_0x1f7a97;this['context'][_0x524a7b(0x691)](),this[_0x524a7b(0x6da)]instanceof WebGLCanvasLayer&&this['stageLayer']['runOverlayPulse'](0x12c),this[_0x524a7b(0x4bd)]();}['getCart'](){const _0x4beb69=_0x1f7a97;return this[_0x4beb69(0x566)]['getCart']();}[_0x1f7a97(0x2be)](){const _0x472251=_0x1f7a97;window[_0x472251(0x274)](_0x472251(0x4f4),this[_0x472251(0x343)]),window[_0x472251(0x274)](_0x472251(0x46b),this[_0x472251(0x50e)]),this['context'][_0x472251(0x4b6)]['addEventListener']('mousemove',this[_0x472251(0x52f)]),this['context'][_0x472251(0x4b6)]['addEventListener'](_0x472251(0x26d),this[_0x472251(0x31f)]),window[_0x472251(0x274)](_0x472251(0x664),this[_0x472251(0x273)]);const _0x4b2613=_0x17ccce=>{const _0x190bef=_0x472251,_0x1f43ac=this['context']['element']['getBoundingClientRect']();return{'x':_0x17ccce[_0x190bef(0x67a)]['x']-_0x1f43ac[_0x190bef(0x1a2)],'y':_0x17ccce[_0x190bef(0x67a)]['y']-_0x1f43ac[_0x190bef(0x3d4)]};},_0x21071a=_0x2df5f0=>{const _0x257197=_0x472251,_0x4b0b6e=_0x4b2613(_0x2df5f0);return{'x':_0x4b0b6e['x']-_0x2df5f0['deltaX'],'y':_0x4b0b6e['y']-_0x2df5f0[_0x257197(0x491)]};};this['hammer']['on']('panstart',_0x17dafb=>{const _0x4f40c7=_0x472251;this['emitSrcEvent']({'type':_0x4f40c7(0x6c5),'delta':{'x':_0x17dafb['deltaX'],'y':_0x17dafb[_0x4f40c7(0x491)]},'origin':_0x21071a(_0x17dafb),'shiftKey':_0x17dafb[_0x4f40c7(0x563)]['shiftKey'],'altKey':_0x17dafb[_0x4f40c7(0x563)][_0x4f40c7(0x1b7)]});}),this['hammer']['on']('panmove',_0x14ef35=>{const _0x562c5b=_0x472251;this[_0x562c5b(0x6e4)]({'type':_0x562c5b(0x4ac),'delta':{'x':_0x14ef35['deltaX'],'y':_0x14ef35['deltaY']},'origin':_0x21071a(_0x14ef35),'shiftKey':_0x14ef35['srcEvent'][_0x562c5b(0x68b)],'altKey':_0x14ef35[_0x562c5b(0x563)][_0x562c5b(0x1b7)]});}),this[_0x472251(0x22b)]['on'](_0x472251(0x282),_0x2b1b20=>{const _0x1071e1=_0x472251;this[_0x1071e1(0x6e4)]({'type':'srcDragEnd','delta':{'x':_0x2b1b20[_0x1071e1(0x6a4)],'y':_0x2b1b20[_0x1071e1(0x491)]},'origin':_0x21071a(_0x2b1b20),'shiftKey':_0x2b1b20[_0x1071e1(0x563)][_0x1071e1(0x68b)],'altKey':_0x2b1b20[_0x1071e1(0x563)]['altKey']});}),this[_0x472251(0x22b)]['on'](_0x472251(0x6dc),_0x415801=>{const _0x13af8a=_0x472251;var _0x2c1339;const _0x9f26b3=_0x4b2613(_0x415801),_0x1f974f=this[_0x13af8a(0x566)]['getSeatByViewportPoint'](_0x9f26b3,{'width':this['getWidth'](),'height':this['getHeight']()}),_0x15fea0=(_0x2c1339=_0x415801['target']['parentElement'])==null?void 0x0:_0x2c1339[_0x13af8a(0x45c)](_0x13af8a(0x39a)),_0xde5a1e=!_0x1f974f&&!_0x15fea0;if(this['disableZoomToEmptySpace']&&_0xde5a1e)return;this[_0x13af8a(0x6e4)]({'type':_0x13af8a(0x595),'target':_0x415801[_0x13af8a(0x6c8)],'point':_0x9f26b3,'section':this['getGaSectionByOutline'](_0x415801[_0x13af8a(0x6c8)]),'seat':_0x1f974f,'shiftKey':_0x415801[_0x13af8a(0x563)][_0x13af8a(0x68b)],'altKey':_0x415801['srcEvent']['altKey']});}),this['hammer']['on'](_0x472251(0x405),this[_0x472251(0x428)]);}async['setSchemaData'](_0x5f4f0a){const _0x2ff5b1=_0x1f7a97;var _0x39849a,_0x432fe9,_0x287302,_0x5df5ac,_0x56d7d4,_0x1f7a2c,_0x3433ce,_0x21772e,_0x5dc22c,_0x574861,_0x393228,_0x290f82;const _0x508e26=(_0x39849a=_0x5f4f0a[_0x2ff5b1(0x5ae)])==null?void 0x0:_0x39849a[_0x2ff5b1(0x39a)],_0x4e3ab9=(_0x432fe9=_0x5f4f0a['background'])==null?void 0x0:_0x432fe9[_0x2ff5b1(0x489)],_0x94af0d=(_0x287302=_0x5f4f0a[_0x2ff5b1(0x5ae)])==null?void 0x0:_0x287302[_0x2ff5b1(0x38c)],_0x91c5b7=(_0x5df5ac=_0x5f4f0a[_0x2ff5b1(0x5ae)])==null?void 0x0:_0x5df5ac[_0x2ff5b1(0x47d)];this['switchToWebGL']&&!_0x94af0d&&(this[_0x2ff5b1(0x6da)][_0x2ff5b1(0x4b1)](),this[_0x2ff5b1(0x6d3)]=![],this[_0x2ff5b1(0x566)]['settings'][_0x2ff5b1(0x6d3)]=![],this[_0x2ff5b1(0x6da)]=this[_0x2ff5b1(0x4d3)](),console[_0x2ff5b1(0x404)](_0x2ff5b1(0x3f9)));this[_0x2ff5b1(0x566)][_0x2ff5b1(0x555)]=getSeatsWithUpdatedCoords(_0x5f4f0a),this[_0x2ff5b1(0x566)][_0x2ff5b1(0x510)]=arrayToObjectById(_0x5f4f0a['rows']),this[_0x2ff5b1(0x566)][_0x2ff5b1(0x44f)]=arrayToObjectById(_0x5f4f0a[_0x2ff5b1(0x55f)]);const {scale:_0x31583f,translate:_0x193666}=this[_0x2ff5b1(0x61d)](_0x5f4f0a[_0x2ff5b1(0x5ae)]);this['setContextScale'](_0x31583f),this[_0x2ff5b1(0x566)][_0x2ff5b1(0x2b5)]=_0x193666,this[_0x2ff5b1(0x61e)]=_0x31583f;if(!((_0x56d7d4=_0x5f4f0a['background'])==null?void 0x0:_0x56d7d4[_0x2ff5b1(0x1ad)]))throw new Error(_0x2ff5b1(0x47c));this[_0x2ff5b1(0x566)]['underlay']={'svgString':_0x508e26,'viewBox':_0x5f4f0a[_0x2ff5b1(0x5ae)][_0x2ff5b1(0x1ad)],'svgUrl':_0x4e3ab9,'pngBackground':_0x94af0d,'outlineSvg':_0x91c5b7},this[_0x2ff5b1(0x23a)]=new OutlineLayer(this[_0x2ff5b1(0x566)]),this[_0x2ff5b1(0x2cb)][_0x2ff5b1(0x6ff)]();((_0x1f7a2c=this[_0x2ff5b1(0x566)]['settings']['minimap'])==null?void 0x0:_0x1f7a2c[_0x2ff5b1(0x699)])&&(!this[_0x2ff5b1(0x493)]&&(this[_0x2ff5b1(0x493)]=new MinimapLayer(this[_0x2ff5b1(0x566)],{'panToCenter':(_0x10247d,_0x241dfb)=>{const _0x13507f=_0x2ff5b1,_0xc25f69=this[_0x13507f(0x566)][_0x13507f(0x478)],_0x1d0e5f={'x':_0x10247d['x']-this['getWidth']()*DPR3/0x2/_0xc25f69,'y':_0x10247d['y']-this[_0x13507f(0x31d)]()*DPR3/0x2/_0xc25f69};this['zoomToDestination'](_0xc25f69,_0x1d0e5f,_0x241dfb);}})),this[_0x2ff5b1(0x493)][_0x2ff5b1(0x507)](),this[_0x2ff5b1(0x493)][_0x2ff5b1(0x6bf)]());let _0x10bbf0=0x0;const _0x4e21d4=async(_0x37709c,_0xa0b705=0x0,_0x395f3b=![])=>{const _0x4f3fa6=_0x2ff5b1,_0x71ebae=this[_0x4f3fa6(0x6d3)]?loadImageFromUrl(_0x37709c,_0x4f3fa6(0x63b)):loadImageFromUrl(_0x37709c);return _0x71ebae[_0x4f3fa6(0x2da)](_0x3fcee3=>{const _0xfe1ce0=_0x4f3fa6;if(_0xa0b705<_0x10bbf0)return;setImageSizeAndCenter(_0x3fcee3,_0x5f4f0a['background']['viewBox']),this[_0xfe1ce0(0x6da)]['backgroundElement']=_0x3fcee3,_0x10bbf0=_0xa0b705,this[_0xfe1ce0(0x4fe)](),_0x395f3b&&this[_0xfe1ce0(0x533)](_0x3fcee3);}),_0x71ebae;};try{this[_0x2ff5b1(0x566)][_0x2ff5b1(0x1a3)][_0x2ff5b1(0x5d7)]&&_0x508e26?(this[_0x2ff5b1(0x6da)][_0x2ff5b1(0x19c)]=await createSvgImageElement(_0x508e26),((_0x3433ce=_0x5f4f0a[_0x2ff5b1(0x5ae)])==null?void 0x0:_0x3433ce[_0x2ff5b1(0x1ad)])&&setImageSizeAndCenter(this[_0x2ff5b1(0x6da)][_0x2ff5b1(0x19c)],_0x5f4f0a[_0x2ff5b1(0x5ae)]['viewBox']),this['setMinimapFromSnapshot'](this[_0x2ff5b1(0x6da)]['backgroundElement'])):(((_0x21772e=_0x94af0d==null?void 0x0:_0x94af0d[_0x2ff5b1(0x3bf)])==null?void 0x0:_0x21772e[_0x2ff5b1(0x526)])&&_0x4e21d4(_0x94af0d['blurred']['data'],0x1,!![]),((_0x5dc22c=_0x94af0d==null?void 0x0:_0x94af0d['preview'])==null?void 0x0:_0x5dc22c['path'])&&_0x4e21d4(_0x94af0d[_0x2ff5b1(0x2c2)][_0x2ff5b1(0x3e9)],0x2),((_0x574861=_0x94af0d==null?void 0x0:_0x94af0d[_0x2ff5b1(0x5ba)])==null?void 0x0:_0x574861[_0x2ff5b1(0x3e9)])&&_0x4e21d4(_0x94af0d[_0x2ff5b1(0x5ba)]['path'],0x3),!_0x94af0d&&_0x508e26&&(this[_0x2ff5b1(0x6da)][_0x2ff5b1(0x19c)]=await createSvgImageElement(_0x508e26),((_0x393228=_0x5f4f0a[_0x2ff5b1(0x5ae)])==null?void 0x0:_0x393228[_0x2ff5b1(0x1ad)])&&setImageSizeAndCenter(this[_0x2ff5b1(0x6da)]['backgroundElement'],_0x5f4f0a['background'][_0x2ff5b1(0x1ad)])),this[_0x2ff5b1(0x533)](this[_0x2ff5b1(0x6da)][_0x2ff5b1(0x19c)]));}catch(_0x12620d){console[_0x2ff5b1(0x62b)](_0x2ff5b1(0x3e8),_0x12620d),_0x508e26&&(this[_0x2ff5b1(0x6da)]['backgroundElement']=await createSvgImageElement(_0x508e26),((_0x290f82=_0x5f4f0a[_0x2ff5b1(0x5ae)])==null?void 0x0:_0x290f82[_0x2ff5b1(0x1ad)])&&setImageSizeAndCenter(this[_0x2ff5b1(0x6da)][_0x2ff5b1(0x19c)],_0x5f4f0a['background'][_0x2ff5b1(0x1ad)])),this[_0x2ff5b1(0x4fe)](),this[_0x2ff5b1(0x533)](this['stageLayer'][_0x2ff5b1(0x19c)]);}this[_0x2ff5b1(0x566)]['settings'][_0x2ff5b1(0x1e5)]&&this[_0x2ff5b1(0x407)](this[_0x2ff5b1(0x566)][_0x2ff5b1(0x1a3)][_0x2ff5b1(0x1e5)]),this['redraw'](),this[_0x2ff5b1(0x2be)](),this['context']['settings'][_0x2ff5b1(0x36e)]&&this[_0x2ff5b1(0x566)][_0x2ff5b1(0x1a3)]['onSchemaDataLoaded'](),this['context'][_0x2ff5b1(0x1a3)][_0x2ff5b1(0x207)]&&this[_0x2ff5b1(0x23a)][_0x2ff5b1(0x19f)]();}[_0x1f7a97(0x3ea)](_0x5f3d89){const _0x36f529=_0x1f7a97,_0x35b83c=_0x5f3d89||this['context'][_0x36f529(0x1a3)]['seatsPrices'];if(!Array[_0x36f529(0x577)](_0x35b83c)||_0x35b83c[_0x36f529(0x420)]===0x0)return;const _0x392b7c={...this[_0x36f529(0x566)]['getPricesDTO']()};if(!Object['keys'](_0x392b7c)[_0x36f529(0x420)])return;const _0x3f5f74=Object[_0x36f529(0x255)](_0x35b83c[_0x36f529(0x6b2)]((_0x195edc,_0x1ed4d5)=>{const _0x4c986d=_0x36f529;if(_0x1ed4d5[_0x4c986d(0x479)]in _0x195edc)return _0x195edc;return _0x195edc[_0x1ed4d5[_0x4c986d(0x479)]]={'id':_0x1ed4d5[_0x4c986d(0x479)],'name':_0x1ed4d5['price'][_0x4c986d(0x702)]()},_0x195edc;},{}));if(!_0x3f5f74[_0x36f529(0x420)])return;const _0x373d07=[],_0x19cea9=[],_0x195931=_0x35b83c[_0x36f529(0x65c)](_0x4f1845=>{const _0x3d34b1=_0x36f529,_0x4aced1=_0x4f1845['id']!==void 0x0?this['context']['seatsById'][_0x4f1845['id']]:this[_0x3d34b1(0x566)]['findSeatByKey'](_0x4f1845[_0x3d34b1(0x4d8)]);if(!_0x4aced1){console[_0x3d34b1(0x404)]('Missing\x20seat:\x20'+(_0x4f1845['id']!==void 0x0?_0x3d34b1(0x64f)+_0x4f1845['id']:_0x3d34b1(0x57b)+_0x4f1845[_0x3d34b1(0x4d8)])+_0x3d34b1(0x1cb));if(_0x4f1845['id']!==void 0x0)_0x19cea9[_0x3d34b1(0x51f)](_0x4f1845['id']);else _0x373d07[_0x3d34b1(0x51f)](_0x4f1845[_0x3d34b1(0x4d8)]);return;}return[_0x4aced1['id'],_0x4f1845[_0x3d34b1(0x479)]];})[_0x36f529(0x4c7)](Boolean);if(_0x373d07[_0x36f529(0x420)]>0x0)this[_0x36f529(0x566)][_0x36f529(0x713)]=_0x373d07;if(_0x19cea9[_0x36f529(0x420)]>0x0)this[_0x36f529(0x566)][_0x36f529(0x4f2)]=_0x19cea9;if(!_0x195931[_0x36f529(0x420)])return;_0x392b7c['prices']=_0x3f5f74,_0x392b7c[_0x36f529(0x555)]=_0x195931,this[_0x36f529(0x2ec)](_0x392b7c);}['setPricesData'](_0x22148c){const _0x2cdf44=_0x1f7a97;this[_0x2cdf44(0x566)]['pricesById']=convertPricesToColoredById(_0x22148c[_0x2cdf44(0x592)],this['context'][_0x2cdf44(0x1a3)][_0x2cdf44(0x389)]['priceColors']),this['context'][_0x2cdf44(0x555)]=getSeatsWithPrices(this[_0x2cdf44(0x566)][_0x2cdf44(0x555)],_0x22148c,this[_0x2cdf44(0x566)]['pricesById']);const _0x3b7ee3=getSectorsWithPrices(this[_0x2cdf44(0x696)](),_0x22148c,this[_0x2cdf44(0x566)][_0x2cdf44(0x51b)]);this[_0x2cdf44(0x566)][_0x2cdf44(0x44f)]=arrayToObjectById(_0x3b7ee3),this['context'][_0x2cdf44(0x1a3)][_0x2cdf44(0x1e5)]&&this[_0x2cdf44(0x407)](this[_0x2cdf44(0x566)][_0x2cdf44(0x1a3)]['lockedSeatsFilter']),this['outlineLayer']&&(this[_0x2cdf44(0x23a)][_0x2cdf44(0x42b)]()?this[_0x2cdf44(0x23a)]['setBackgroundAsOutline']():this[_0x2cdf44(0x23a)][_0x2cdf44(0x5d4)]());}[_0x1f7a97(0x1cf)](_0x3315cd){const _0x1133a8=_0x1f7a97;this[_0x1133a8(0x566)][_0x1133a8(0x1cf)](_0x3315cd);}[_0x1f7a97(0x3ee)](_0x2f58e3){const _0x1423af=_0x1f7a97;this[_0x1423af(0x566)][_0x1423af(0x3ee)](_0x2f58e3);}[_0x1f7a97(0x302)](_0x2175dd){const _0x4a66ea=_0x1f7a97;this[_0x4a66ea(0x566)]['addSeatsToCart'](_0x2175dd),this[_0x4a66ea(0x6da)]instanceof WebGLCanvasLayer&&this[_0x4a66ea(0x6da)]['runOverlayPulse'](0x12c),this[_0x4a66ea(0x4bd)]();}[_0x1f7a97(0x326)](_0x47d3b4){const _0x2b1cb6=_0x1f7a97,_0x53fb2b=SanitizeManager[_0x2b1cb6(0x356)](_0x47d3b4);this['context'][_0x2b1cb6(0x326)](_0x53fb2b),this[_0x2b1cb6(0x6da)][_0x2b1cb6(0x4fe)](),this[_0x2b1cb6(0x6da)]instanceof WebGLCanvasLayer&&this[_0x2b1cb6(0x6da)][_0x2b1cb6(0x605)](0x12c),this['refreshMinimap']();}[_0x1f7a97(0x1fe)](_0x5cc3b1){const _0x2523fc=_0x1f7a97;this[_0x2523fc(0x326)](this['seatKeysToIds'](_0x5cc3b1));}[_0x1f7a97(0x277)](_0x3b9176,_0x36e96){const _0x2787f1=_0x1f7a97;var _0xf729b5;const _0x5219c0=SanitizeManager[_0x2787f1(0x356)](_0x3b9176),_0x31d17d=(_0xf729b5=_0x36e96==null?void 0x0:_0x36e96[_0x2787f1(0x6ca)])!=null?_0xf729b5:!![],_0x197608=this[_0x2787f1(0x566)][_0x2787f1(0x6e0)](),_0x33f047=this[_0x2787f1(0x566)][_0x2787f1(0x28a)][_0x2787f1(0x555)],_0x3ef85a=this[_0x2787f1(0x566)]['pricesById']&&Object[_0x2787f1(0x238)](this[_0x2787f1(0x566)]['pricesById'])[_0x2787f1(0x420)]>0x0;this[_0x2787f1(0x407)](_0x48ef00=>{const _0x44493b=_0x2787f1;if(_0x5219c0[_0x44493b(0x6df)](_0x48ef00['id']))return!![];if(_0x31d17d&&!_0x3ef85a)return![];if(_0x31d17d&&this[_0x44493b(0x566)]['seatsById'][_0x48ef00['id']][_0x44493b(0x479)])return![];return Boolean(_0x48ef00[_0x44493b(0x6c7)]);}),this[_0x2787f1(0x566)][_0x2787f1(0x28a)][_0x2787f1(0x555)]=this[_0x2787f1(0x566)]['cart']['seats'][_0x2787f1(0x4c7)](_0x1ddf88=>!_0x5219c0[_0x2787f1(0x6df)](_0x1ddf88['id'])),_0x31d17d&&_0x5219c0[_0x2787f1(0x34d)](_0xd57bb1=>{const _0x382cb7=_0x2787f1;this['context'][_0x382cb7(0x243)][_0xd57bb1]&&delete this[_0x382cb7(0x566)]['seatsById'][_0xd57bb1][_0x382cb7(0x61f)];}),this['context'][_0x2787f1(0x1a3)][_0x2787f1(0x72f)]&&(JSON[_0x2787f1(0x720)](_0x33f047)!==JSON[_0x2787f1(0x720)](this[_0x2787f1(0x566)][_0x2787f1(0x28a)][_0x2787f1(0x555)])&&this['context'][_0x2787f1(0x1a3)]['onCartChange'](this['context'][_0x2787f1(0x6e0)](),_0x197608)),this[_0x2787f1(0x566)][_0x2787f1(0x555)]=this[_0x2787f1(0x199)](),this[_0x2787f1(0x566)][_0x2787f1(0x4fa)](),this[_0x2787f1(0x6da)]['redraw'](),this[_0x2787f1(0x4bd)]();}[_0x1f7a97(0x540)](_0x4252c9){const _0x1c2e72=_0x1f7a97;this['updateSeatLocks'](_0x189140=>![]),this[_0x1c2e72(0x6da)]['redraw']();}[_0x1f7a97(0x3df)](_0x469f3f){const _0x3cf8cc=_0x1f7a97;this[_0x3cf8cc(0x277)](this['seatKeysToIds'](_0x469f3f));}[_0x1f7a97(0x44c)](_0x451d6b){const _0x51f654=_0x1f7a97,_0x3afb6e=SanitizeManager[_0x51f654(0x356)](_0x451d6b);this['context'][_0x51f654(0x555)]=this['context'][_0x51f654(0x555)][_0x51f654(0x65c)](_0x9fa0fb=>{const _0x20b2fa=_0x51f654,_0x59b077=!_0x3afb6e[_0x20b2fa(0x6df)](_0x9fa0fb['id']);return!!_0x9fa0fb[_0x20b2fa(0x4a7)]!==_0x59b077?{..._0x9fa0fb,'filtered':_0x59b077}:_0x9fa0fb;}),this['stageLayer'][_0x51f654(0x4fe)]();}[_0x1f7a97(0x6ec)](_0x1b1d36){const _0x134c75=_0x1f7a97;this['context'][_0x134c75(0x555)]=this[_0x134c75(0x566)]['seats'][_0x134c75(0x65c)](_0x581d4e=>{const _0x35b8e=_0x134c75,_0x10c3a6=_0x1b1d36?!_0x1b1d36[_0x35b8e(0x6df)](_0x581d4e['id']):![];return!!_0x581d4e[_0x35b8e(0x4a7)]!==_0x10c3a6?{..._0x581d4e,'filtered':_0x10c3a6}:_0x581d4e;}),this['stageLayer'][_0x134c75(0x4fe)]();}[_0x1f7a97(0x66e)](_0x358e97){const _0x1a270f=_0x1f7a97;this['filterSeatsByIds'](this[_0x1a270f(0x2df)](_0x358e97));}[_0x1f7a97(0x2df)](_0x25cbe5){const _0x2dfac8=_0x1f7a97;return _0x25cbe5[_0x2dfac8(0x65c)](_0x44a2fe=>this[_0x2dfac8(0x566)]['findSeatByKey'](_0x44a2fe))[_0x2dfac8(0x4c7)](Boolean)[_0x2dfac8(0x65c)](_0x3d713d=>_0x3d713d['id']);}[_0x1f7a97(0x407)](_0x49ed5f){const _0x1029fe=_0x1f7a97;this[_0x1029fe(0x566)][_0x1029fe(0x555)]=this['context'][_0x1029fe(0x555)][_0x1029fe(0x65c)](_0x457e41=>{const _0x4953e2=_0x1029fe,_0x3a7275=_0x49ed5f(_0x457e41);return!!_0x457e41[_0x4953e2(0x6c7)]!==_0x3a7275?{..._0x457e41,'locked':_0x3a7275}:_0x457e41;}),this[_0x1029fe(0x6da)][_0x1029fe(0x4fe)]();}[_0x1f7a97(0x682)](){const _0x3da5ab=_0x1f7a97;return this[_0x3da5ab(0x566)][_0x3da5ab(0x682)]()[_0x3da5ab(0x65c)](_0x3134d6=>this[_0x3da5ab(0x214)](_0x3134d6));}['setSectionSelection'](_0x66557f){const _0x3dc4fb=_0x1f7a97,_0x41b652=this[_0x3dc4fb(0x566)]['setSectionSelection'](_0x66557f);if(!_0x41b652){this[_0x3dc4fb(0x23a)][_0x3dc4fb(0x400)](void 0x0);return;}_0x41b652==null?void 0x0:_0x41b652['forEach'](_0x4b9e89=>this[_0x3dc4fb(0x23a)][_0x3dc4fb(0x400)](_0x4b9e89));}[_0x1f7a97(0x1f9)](){const _0x41011b=_0x1f7a97;return this[_0x41011b(0x566)][_0x41011b(0x1f9)]();}[_0x1f7a97(0x41f)](_0x531267,_0x2c6423){const _0x271294=_0x1f7a97,_0x44c743=SanitizeManager[_0x271294(0x356)](_0x531267);if(_0x2c6423==null?void 0x0:_0x2c6423[_0x271294(0x6ca)]){const _0x5a0578=this[_0x271294(0x696)]()[_0x271294(0x4c7)](_0x30e209=>_0x30e209[_0x271294(0x2f9)])[_0x271294(0x65c)](_0x416380=>_0x416380['id']);this[_0x271294(0x2fb)](_0x5a0578);}_0x44c743[_0x271294(0x34d)](_0x937441=>{const _0x37c145=_0x271294;this['context'][_0x37c145(0x44f)][_0x937441][_0x37c145(0x2f9)]=!![],this[_0x37c145(0x23a)][_0x37c145(0x4a1)](_0x937441);}),this[_0x271294(0x566)][_0x271294(0x646)]=void 0x0,this[_0x271294(0x564)]();}['enableSvgSectionsByIds'](_0x4f3fa8){const _0x3dfc53=_0x1f7a97,_0x5c0753=SanitizeManager[_0x3dfc53(0x356)](_0x4f3fa8);_0x5c0753[_0x3dfc53(0x34d)](_0x3257fd=>{const _0x4cc637=_0x3dfc53;this[_0x4cc637(0x566)][_0x4cc637(0x44f)][_0x3257fd]['disabled']=![],this[_0x4cc637(0x566)][_0x4cc637(0x44f)][_0x3257fd][_0x4cc637(0x451)]=![],this[_0x4cc637(0x23a)][_0x4cc637(0x6ef)](_0x3257fd);}),this[_0x3dfc53(0x566)][_0x3dfc53(0x646)]=void 0x0,this['updateBackgroundImage']();}async[_0x1f7a97(0x564)](){const _0x406d14=_0x1f7a97;var _0x168f25;if(!this[_0x406d14(0x566)]['underlay'][_0x406d14(0x22a)])return;const _0x588589=new DOMParser(),_0x26133a=_0x588589[_0x406d14(0x5b5)](this['context'][_0x406d14(0x5de)][_0x406d14(0x22a)],_0x406d14(0x552))||new SVGSVGElement(),_0x133be5=_0x26133a[_0x406d14(0x29a)](_0x406d14(0x667));if(_0x133be5){_0x133be5[_0x406d14(0x35e)]='';const _0x3abb11=this['outlineLayer']['svgElement'],_0x92f8f3=(_0x168f25=_0x3abb11['lastChild'])==null?void 0x0:_0x168f25[_0x406d14(0x398)];_0x92f8f3==null?void 0x0:_0x92f8f3['forEach'](_0x595a0d=>{const _0x2b46f9=_0x406d14;_0x133be5[_0x2b46f9(0x2b0)](_0x595a0d['cloneNode'](!![]));});var _0x3ba964=new XMLSerializer(),_0x57976a=_0x3ba964[_0x406d14(0x6bd)](_0x26133a);this[_0x406d14(0x6da)][_0x406d14(0x19c)]=await createSvgImageElement(_0x57976a),this[_0x406d14(0x6da)][_0x406d14(0x43b)]();}}[_0x1f7a97(0x56b)](_0x32df5e){const _0x10edd4=_0x1f7a97,_0x302916=SanitizeManager[_0x10edd4(0x356)](_0x32df5e);_0x302916[_0x10edd4(0x34d)](_0x568dad=>{const _0x471f44=_0x10edd4;this[_0x471f44(0x566)]['sectionsById'][_0x568dad]&&this['context'][_0x471f44(0x44f)][_0x568dad][_0x471f44(0x479)]!==void 0x0&&(this[_0x471f44(0x70b)][_0x568dad]=this['context'][_0x471f44(0x44f)][_0x568dad]['priceId'],this['context'][_0x471f44(0x44f)][_0x568dad][_0x471f44(0x2f9)]=!![],delete this[_0x471f44(0x566)][_0x471f44(0x44f)][_0x568dad][_0x471f44(0x479)],this[_0x471f44(0x566)][_0x471f44(0x44f)][_0x568dad][_0x471f44(0x451)]=![],this[_0x471f44(0x3ee)]({'sectorId':_0x568dad}));}),this[_0x10edd4(0x566)]['selectedGaId']=void 0x0,this[_0x10edd4(0x6da)][_0x10edd4(0x4fe)]();}[_0x1f7a97(0x1be)](){const _0x373114=_0x1f7a97;if(!this[_0x373114(0x70b)])return;Object[_0x373114(0x238)](this[_0x373114(0x70b)])[_0x373114(0x34d)](_0x1b3501=>{const _0x807ab0=_0x373114,_0x1710de=Number(_0x1b3501);this['context'][_0x807ab0(0x44f)][_0x1710de]&&(this['context'][_0x807ab0(0x44f)][_0x1710de][_0x807ab0(0x2f9)]=![],this[_0x807ab0(0x566)][_0x807ab0(0x44f)][_0x1710de][_0x807ab0(0x479)]=this[_0x807ab0(0x70b)][_0x1710de]);}),this['originalSectionPrices']={},this[_0x373114(0x566)][_0x373114(0x646)]=void 0x0,this[_0x373114(0x6da)]['redraw']();}['filterSvgSectionsByIds'](_0xf59700,_0x463ba8){const _0x7c8c5=_0x1f7a97,_0x3704d1=SanitizeManager['sanitizeIds'](_0xf59700);if(_0x463ba8==null?void 0x0:_0x463ba8[_0x7c8c5(0x6ca)]){const _0x4f6b31=this['getSections']()[_0x7c8c5(0x4c7)](_0x30de91=>_0x30de91[_0x7c8c5(0x4a7)])[_0x7c8c5(0x65c)](_0x124f95=>_0x124f95['id']);this[_0x7c8c5(0x2fb)](_0x4f6b31);}this[_0x7c8c5(0x3ae)]()[_0x7c8c5(0x34d)](_0x39c4d1=>{const _0x2abac7=_0x7c8c5,_0x286720=Number(_0x39c4d1),_0x268123=!_0x3704d1['includes'](_0x286720);this['context'][_0x2abac7(0x44f)][_0x286720]['filtered']=_0x268123,_0x268123?this[_0x2abac7(0x23a)][_0x2abac7(0x5df)](_0x286720):this[_0x2abac7(0x23a)][_0x2abac7(0x3fe)](_0x286720);}),this[_0x7c8c5(0x566)][_0x7c8c5(0x646)]=void 0x0;}[_0x1f7a97(0x701)](_0x27d0e5){const _0x222010=_0x1f7a97;(_0x27d0e5?SanitizeManager[_0x222010(0x356)](_0x27d0e5):this['getSectionsKeys']())[_0x222010(0x34d)](_0x2892d3=>{const _0x11ba17=_0x222010,_0x3798ff=Number(_0x2892d3);this[_0x11ba17(0x566)]['sectionsById'][_0x3798ff][_0x11ba17(0x4a7)]=![],this[_0x11ba17(0x566)][_0x11ba17(0x44f)][_0x3798ff][_0x11ba17(0x451)]=![],this['outlineLayer']['removeFilterSvgSectionById'](_0x3798ff);}),this[_0x222010(0x566)][_0x222010(0x646)]=void 0x0;}[_0x1f7a97(0x279)](_0x1cf134,_0x10620d){const _0x40b8ea=_0x1f7a97,_0x5a9b5e=this[_0x40b8ea(0x696)]();this[_0x40b8ea(0x41f)](_0x5a9b5e[_0x40b8ea(0x4c7)](_0x3480ea=>_0x1cf134[_0x40b8ea(0x6df)](_0x3480ea[_0x40b8ea(0x503)]))[_0x40b8ea(0x65c)](_0x341323=>_0x341323['id']),_0x10620d);}['enableSvgSectionsByNames'](_0x2631db){const _0x5cf86e=_0x1f7a97,_0xb788c4=this['getSections']();this[_0x5cf86e(0x2fb)](_0xb788c4['filter'](_0x572909=>_0x2631db[_0x5cf86e(0x6df)](_0x572909['name']))[_0x5cf86e(0x65c)](_0x16c5e2=>_0x16c5e2['id']));}[_0x1f7a97(0x3e5)](_0x2ddd1a){const _0xd14cd0=_0x1f7a97,_0x272970=this['getSeatIds'](_0x2ddd1a);this[_0xd14cd0(0x566)]['selectedSeatIds']=[..._0x272970],this[_0xd14cd0(0x2cb)]['redraw']();this[_0xd14cd0(0x566)][_0xd14cd0(0x1a3)][_0xd14cd0(0x6d3)]&&this['stageLayer']['redraw']();const _0x113a3d=this['context'][_0xd14cd0(0x555)][_0xd14cd0(0x4c7)](_0x5d124c=>_0x272970[_0xd14cd0(0x6df)](_0x5d124c['id']));this[_0xd14cd0(0x566)][_0xd14cd0(0x1a3)][_0xd14cd0(0x6f7)]&&this[_0xd14cd0(0x566)][_0xd14cd0(0x1a3)][_0xd14cd0(0x6f7)](_0x113a3d),this[_0xd14cd0(0x566)][_0xd14cd0(0x1a3)][_0xd14cd0(0x668)]&&this[_0xd14cd0(0x566)][_0xd14cd0(0x1a3)][_0xd14cd0(0x668)](_0x113a3d);}[_0x1f7a97(0x3dd)](_0x4feb14){const _0x6993ed=_0x1f7a97;let _0x11a6cc;if(_0x4feb14&&typeof _0x4feb14===_0x6993ed(0x1f7))_0x11a6cc=_0x4feb14;else{if(_0x4feb14&&typeof _0x4feb14==='string'){const _0x4b63e3=this['context'][_0x6993ed(0x3a6)]()['find'](_0x227246=>_0x227246[_0x6993ed(0x503)]===_0x4feb14);(_0x4b63e3==null?void 0x0:_0x4b63e3[_0x6993ed(0x1ed)])&&(_0x11a6cc=_0x4b63e3['id']);}}this['context'][_0x6993ed(0x646)]=_0x11a6cc,this['outlineLayer'][_0x6993ed(0x1d6)](_0x11a6cc),this[_0x6993ed(0x2cb)][_0x6993ed(0x4fe)]();}[_0x1f7a97(0x5f0)](){const _0x4d13db=_0x1f7a97,_0x1d8aca=this['context']['selectedGaId'];return _0x1d8aca?this['context'][_0x4d13db(0x44f)][_0x1d8aca]:void 0x0;}[_0x1f7a97(0x696)](){const _0x3f1bed=_0x1f7a97;if(!this['context'][_0x3f1bed(0x44f)])return[];return Object[_0x3f1bed(0x255)](this['context'][_0x3f1bed(0x44f)]);}[_0x1f7a97(0x3ae)](){const _0x4f7a6c=_0x1f7a97;if(!this[_0x4f7a6c(0x566)][_0x4f7a6c(0x44f)])return[];return Object['keys'](this[_0x4f7a6c(0x566)][_0x4f7a6c(0x44f)]);}[_0x1f7a97(0x1a7)](){const _0x5edac7=_0x1f7a97;if(!this[_0x5edac7(0x566)][_0x5edac7(0x510)])return[];return Object[_0x5edac7(0x255)](this[_0x5edac7(0x566)][_0x5edac7(0x510)]);}[_0x1f7a97(0x199)](){const _0x4038af=_0x1f7a97;if(!this[_0x4038af(0x566)]['seatsById'])return[];return Object[_0x4038af(0x255)](this[_0x4038af(0x566)][_0x4038af(0x243)]);}[_0x1f7a97(0x471)](_0x119b83){const _0x2c728e=_0x1f7a97;return this[_0x2c728e(0x566)][_0x2c728e(0x510)][_0x119b83];}[_0x1f7a97(0x2f0)](){const _0x31e32b=_0x1f7a97;if(this['stageLayer']instanceof HTMLCanvasLayer){const _0x3f91c5=this['stageLayer'][_0x31e32b(0x2f0)]();return _0x3f91c5[_0x31e32b(0x65c)](_0x23d126=>({..._0x23d126,...this[_0x31e32b(0x566)]['getOffsetByPosition'](_0x23d126)}));}else{const _0x2c789c=this[_0x31e32b(0x6da)][_0x31e32b(0x2f0)]();return _0x2c789c['map'](_0x44c299=>({..._0x44c299,...this[_0x31e32b(0x566)]['getOffsetByPosition'](_0x44c299)}));}}[_0x1f7a97(0x498)](){const _0x4169a6=_0x1f7a97,_0x4992f9=[]['slice'][_0x4169a6(0x453)](this[_0x4169a6(0x23a)][_0x4169a6(0x515)][_0x4169a6(0x275)]('.'+OUTLINE_CLASS+_0x4169a6(0x6d7))),_0x57d7a3=_0x4992f9['map'](_0x19b763=>{const _0x535e0f=_0x4169a6;let _0x5ec2cd;if(isGaOutline(_0x19b763))_0x5ec2cd=this[_0x535e0f(0x23c)](_0x19b763);else isSectionOutline(_0x19b763)&&(_0x5ec2cd=this[_0x535e0f(0x22e)](_0x19b763));return _0x5ec2cd;})[_0x4169a6(0x4c7)](Boolean)[_0x4169a6(0x65c)](_0x1d1dbb=>({..._0x1d1dbb,'x':Math[_0x4169a6(0x3d5)](_0x1d1dbb[_0x4169a6(0x357)]['left']+_0x1d1dbb[_0x4169a6(0x357)][_0x4169a6(0x5ed)]/0x2),'y':Math[_0x4169a6(0x3d5)](_0x1d1dbb['rect'][_0x4169a6(0x3d4)]+_0x1d1dbb[_0x4169a6(0x357)][_0x4169a6(0x2bd)]/0x2)}));return _0x57d7a3;}[_0x1f7a97(0x23c)](_0xd90b38){const _0x19e86e=_0x1f7a97;var _0x304f9f,_0x5bb20c,_0x4e6174;const _0x3afb02=_0x33d454=>{const _0x37233f=_0x18e5,_0x1d3151=Number(_0x33d454['getAttribute'](DATA_GOS_ID));if(_0x1d3151)return{'sectionId':_0x1d3151,'element':_0x33d454};const _0x2f33b0=_0x33d454['parentNode'];return{'sectionId':Number(_0x2f33b0[_0x37233f(0x439)](DATA_GOS_ID)),'element':_0x2f33b0};},{sectionId:_0x45ce8d,element:_0x1df4c5}=_0x3afb02(_0xd90b38);if(_0x45ce8d&&this[_0x19e86e(0x566)]['sectionsById'][_0x45ce8d]){const {id:_0x3fa74e,name:_0x1a328d,priceId:_0x1bc896,special:_0x515422,type:_0x91969}=this['context'][_0x19e86e(0x44f)][_0x45ce8d];let _0x42af73=void 0x0;if(_0x1bc896){const _0x57911c=this[_0x19e86e(0x566)][_0x19e86e(0x51b)][Number(_0x1bc896)];_0x57911c&&(_0x42af73=parseInt(_0x57911c[_0x19e86e(0x503)]));}const _0x572bf4=(_0x4e6174=(_0x5bb20c=(_0x304f9f=this['context']['sectionsById'])==null?void 0x0:_0x304f9f[_0x3fa74e])==null?void 0x0:_0x5bb20c[_0x19e86e(0x1ed)])!=null?_0x4e6174:![];return{'id':_0x3fa74e,'name':_0x1a328d,'price':_0x42af73,'special':_0x515422,'ga':_0x572bf4,'rect':this[_0x19e86e(0x4de)](_0x1df4c5),'type':_0x91969};}return void 0x0;}['getSectionByOutline'](_0x16c8ee){const _0x2f183c=_0x1f7a97,_0x50c300=Number(_0x16c8ee['getAttribute'](DATA_GOS_ID));if(_0x50c300&&this['context'][_0x2f183c(0x44f)][_0x50c300]){const {id:_0x1a99a4,name:_0x407af8,priceId:_0x38937a,special:_0x422ece,type:_0x42b86e}=this[_0x2f183c(0x566)]['sectionsById'][_0x50c300],_0x47f848=_0x38937a&&this[_0x2f183c(0x566)][_0x2f183c(0x51b)][Number(_0x38937a)]?parseInt(this[_0x2f183c(0x566)][_0x2f183c(0x51b)][Number(_0x38937a)][_0x2f183c(0x503)]):void 0x0;return{'id':_0x1a99a4,'name':_0x407af8,'price':_0x47f848,'special':_0x422ece,'ga':![],'rect':this[_0x2f183c(0x4de)](_0x16c8ee),'type':_0x42b86e};}return void 0x0;}[_0x1f7a97(0x4de)](_0x49d2fd){const _0x2211e7=_0x1f7a97,_0x3b5ace=_0x49d2fd[_0x2211e7(0x431)](),_0x4053b7=this[_0x2211e7(0x566)][_0x2211e7(0x4b6)]['getBoundingClientRect']();return{'left':Math[_0x2211e7(0x3d5)](_0x3b5ace['left']-_0x4053b7[_0x2211e7(0x1a2)]),'top':Math[_0x2211e7(0x3d5)](_0x3b5ace[_0x2211e7(0x3d4)]-_0x4053b7[_0x2211e7(0x3d4)]),'width':Math[_0x2211e7(0x3d5)](_0x3b5ace[_0x2211e7(0x5ed)]),'height':Math[_0x2211e7(0x3d5)](_0x3b5ace['height'])};}[_0x1f7a97(0x1c6)](_0x30d4ce,_0x26608c){const _0x3e6186=_0x1f7a97,_0x139057=this[_0x3e6186(0x566)]['seatsById'][_0x30d4ce],_0x1c619c=this[_0x3e6186(0x566)]['seatsByRowId'][_0x139057[_0x3e6186(0x5c2)]][_0x3e6186(0x4c7)](_0x37f056=>!_0x37f056[_0x3e6186(0x6c7)]),_0x53a52e=Number(_0x139057[_0x3e6186(0x503)]);if(!Number[_0x3e6186(0x259)](_0x53a52e))return;let _0x4a0894=_0x53a52e,_0x26dec5;const _0x53ed48=[];do{_0x4a0894++,_0x26dec5=_0x1c619c['find'](_0x14d5ba=>_0x14d5ba[_0x3e6186(0x503)]===String(_0x4a0894));if(_0x26dec5)_0x53ed48['push'](_0x26dec5);}while(_0x26dec5&&_0x53ed48['length']<_0x26608c-0x1);let _0x5d3543=_0x53a52e,_0x250aeb;const _0x1406a4=[];do{_0x5d3543--,_0x250aeb=_0x1c619c[_0x3e6186(0x268)](_0x5becf1=>_0x5becf1['name']===String(_0x5d3543));if(_0x250aeb)_0x1406a4[_0x3e6186(0x51f)](_0x250aeb);}while(_0x250aeb&&_0x1406a4[_0x3e6186(0x420)]<_0x26608c-0x1);let _0x4d1944=Math['ceil']((_0x26608c-0x1)/0x2),_0x355975=Math[_0x3e6186(0x20a)]((_0x26608c-0x1)/0x2);if(_0x1406a4[_0x3e6186(0x420)]<_0x4d1944)_0x4d1944=_0x1406a4[_0x3e6186(0x420)],_0x355975=_0x26608c-0x1-_0x4d1944;else _0x53ed48['length']<_0x355975&&(_0x355975=_0x53ed48[_0x3e6186(0x420)],_0x4d1944=_0x26608c-0x1-_0x355975);if(_0x53ed48[_0x3e6186(0x420)]<_0x355975||_0x1406a4[_0x3e6186(0x420)]<_0x4d1944)return;const _0x506c3a=[..._0x1406a4['slice'](0x0,_0x4d1944)[_0x3e6186(0x20e)](),_0x139057,..._0x53ed48[_0x3e6186(0x283)](0x0,_0x355975)];return _0x506c3a;}[_0x1f7a97(0x461)](_0x348a30){const _0x1382e6=_0x1f7a97;var _0x5996bf;const _0x981415=(_0x5996bf=this['context'][_0x1382e6(0x1a3)][_0x1382e6(0x406)])!=null?_0x5996bf:defaultZoomSettings,_0x5319f9=Math[_0x1382e6(0x19a)](_0x981415[_0x1382e6(0x361)]*DPR3,this[_0x1382e6(0x61e)])/this[_0x1382e6(0x566)][_0x1382e6(0x478)],_0x4d74aa=_0x981415[_0x1382e6(0x72a)]*DPR3/this[_0x1382e6(0x566)]['scale'];return Math['max'](_0x5319f9,Math[_0x1382e6(0x19a)](_0x4d74aa,_0x348a30));}['getZoom'](){const _0x1c11a3=_0x1f7a97;return this[_0x1c11a3(0x566)][_0x1c11a3(0x478)];}[_0x1f7a97(0x440)](){const _0x4837b4=_0x1f7a97,_0x5e8c33=this[_0x4837b4(0x1ea)]();_0x5e8c33!==this[_0x4837b4(0x566)][_0x4837b4(0x478)]&&this[_0x4837b4(0x662)](_0x5e8c33);}[_0x1f7a97(0x6b3)](){const _0x3a75e2=_0x1f7a97,_0x14b6f0=this[_0x3a75e2(0x305)]();_0x14b6f0!==this[_0x3a75e2(0x566)][_0x3a75e2(0x478)]&&this[_0x3a75e2(0x662)](_0x14b6f0);}[_0x1f7a97(0x591)](_0x216304,_0x1885c4){const _0x58a2fb=_0x1f7a97,_0x229612=_0x216304*DPR3;if(_0x1885c4==null?void 0x0:_0x1885c4['destination']){const _0x3c3377={'x':_0x1885c4[_0x58a2fb(0x4a9)]['x']-this[_0x58a2fb(0x2e4)]()*DPR3/0x2/_0x229612,'y':_0x1885c4[_0x58a2fb(0x4a9)]['y']-this[_0x58a2fb(0x31d)]()*DPR3/0x2/_0x229612};this[_0x58a2fb(0x582)](_0x229612,_0x3c3377,_0x1885c4[_0x58a2fb(0x6fe)]);}else this[_0x58a2fb(0x662)](_0x229612,void 0x0,_0x1885c4==null?void 0x0:_0x1885c4[_0x58a2fb(0x6fe)]);}['zoomToFit'](){const _0x28ac58=_0x1f7a97,_0x13a1b8=this[_0x28ac58(0x473)];this[_0x28ac58(0x473)]=emptyPaddingSettings,this['startAnimation'](this[_0x28ac58(0x61e)]||0x1),this[_0x28ac58(0x473)]=_0x13a1b8;}[_0x1f7a97(0x5c0)](){const _0x254e2b=_0x1f7a97;this[_0x254e2b(0x23a)]['clearSectionHighlight']();}[_0x1f7a97(0x45f)](_0x1d62e1){const _0x1646d6=_0x1f7a97;this[_0x1646d6(0x23a)][_0x1646d6(0x705)](),this['outlineLayer'][_0x1646d6(0x1eb)](_0x1d62e1);}[_0x1f7a97(0x585)](_0x49b59d,_0x30de04,_0x4168d9){const _0x16e269=_0x1f7a97;this[_0x16e269(0x6b4)][_0x16e269(0x585)](_0x49b59d,_0x30de04,_0x4168d9,this[_0x16e269(0x566)]['settings'][_0x16e269(0x1ce)]||0x0);}[_0x1f7a97(0x728)](_0x1e2849,_0x5ce063){const _0x5267ca=_0x1f7a97;var _0x29bc81;const _0x57a025=this[_0x5267ca(0x4b7)](_0x1e2849);if(!_0x57a025)return;const _0x1de429=this[_0x5267ca(0x23a)][_0x5267ca(0x3d6)](_0x57a025);if(!_0x1de429)return;(_0x5ce063==null?void 0x0:_0x5ce063[_0x5267ca(0x362)])&&this[_0x5267ca(0x23a)][_0x5267ca(0x6e8)](_0x57a025);const _0x273fd9=0x1*DPR3,_0x22eace=0x1,_0x4811f7=this[_0x5267ca(0x566)]['scale']/DPR3,_0x170a5b=_0x4811f7>0.5,_0x3e93c8={'x':_0x1de429['x']+_0x1de429[_0x5267ca(0x5ed)]/0x2,'y':_0x1de429['y']+_0x1de429[_0x5267ca(0x2bd)]/0x2};if(this[_0x5267ca(0x566)][_0x5267ca(0x21c)]){const _0x30a3c2=this[_0x5267ca(0x566)][_0x5267ca(0x5de)][_0x5267ca(0x1ad)],_0x39a99d={'x':_0x30a3c2[_0x5267ca(0x5ed)]/0x2,'y':_0x30a3c2['height']/0x2};let _0x2dc1e0;try{const _0xf4d6d2=this[_0x5267ca(0x566)][_0x5267ca(0x555)]['filter'](_0x4c3493=>_0x4c3493[_0x5267ca(0x71a)]===_0x57a025);if(_0xf4d6d2[_0x5267ca(0x420)]>0x0){let _0x22e47e=_0xf4d6d2[0x0]['x'],_0x3b86b9=_0xf4d6d2[0x0]['x'],_0x21cd95=_0xf4d6d2[0x0]['y'],_0x59c4a7=_0xf4d6d2[0x0]['y'];for(let _0x24556c=0x1;_0x24556c<_0xf4d6d2[_0x5267ca(0x420)];_0x24556c++){const _0x1278f0=_0xf4d6d2[_0x24556c];if(_0x1278f0['x']<_0x22e47e)_0x22e47e=_0x1278f0['x'];if(_0x1278f0['x']>_0x3b86b9)_0x3b86b9=_0x1278f0['x'];if(_0x1278f0['y']<_0x21cd95)_0x21cd95=_0x1278f0['y'];if(_0x1278f0['y']>_0x59c4a7)_0x59c4a7=_0x1278f0['y'];}_0x2dc1e0={'x':(_0x22e47e+_0x3b86b9)/0x2,'y':(_0x21cd95+_0x59c4a7)/0x2};}else _0x2dc1e0={'x':_0x1de429['x']-_0x30a3c2['x']+_0x1de429['width']/0x2,'y':_0x1de429['y']-_0x30a3c2['y']+_0x1de429[_0x5267ca(0x2bd)]/0x2};}catch(_0x22b7a7){_0x2dc1e0={'x':_0x1de429['x']-_0x30a3c2['x']+_0x1de429[_0x5267ca(0x5ed)]/0x2,'y':_0x1de429['y']-_0x30a3c2['y']+_0x1de429['height']/0x2};}const _0x3eccac=Math[_0x5267ca(0x27e)](_0x39a99d['y']-_0x2dc1e0['y'],_0x39a99d['x']-_0x2dc1e0['x']),_0x189020=-Math['PI']/0x2-_0x3eccac,_0x56c225=_0x189020*0xb4/Math['PI'];let _0x55a437;const _0x1302aa=0.000001;Math[_0x5267ca(0x572)]((_0x29bc81=this[_0x5267ca(0x566)][_0x5267ca(0x695)])!=null?_0x29bc81:0x0)<_0x1302aa&&(_0x55a437=-0.2);if(_0x170a5b){this[_0x5267ca(0x72e)]([{'zoomTo':0.5,'destination':_0x3e93c8,'rotateTo':_0x56c225,'tiltTo':_0x55a437},{'zoomTo':_0x22eace}]);return;}const _0x249551=_0x273fd9/this[_0x5267ca(0x566)][_0x5267ca(0x478)],_0x352abf={'x':_0x3e93c8['x']-this[_0x5267ca(0x2e4)]()*DPR3/0x2/_0x273fd9,'y':_0x3e93c8['y']-this[_0x5267ca(0x31d)]()*DPR3/0x2/_0x273fd9},_0x367e24={'x':(this[_0x5267ca(0x566)][_0x5267ca(0x5de)][_0x5267ca(0x1ad)]['x']-_0x352abf['x'])*_0x273fd9,'y':(this[_0x5267ca(0x566)][_0x5267ca(0x5de)][_0x5267ca(0x1ad)]['y']-_0x352abf['y'])*_0x273fd9},_0x134db2=this[_0x5267ca(0x1d2)](_0x367e24,_0x273fd9),_0x54f764=this['calculateRelativeScaledLimitedTranslate'](_0x249551,_0x134db2);this[_0x5267ca(0x6b4)][_0x5267ca(0x3c6)]({'duration':this[_0x5267ca(0x566)][_0x5267ca(0x1a3)][_0x5267ca(0x1ce)]||0x0,'fromScale':this['context'][_0x5267ca(0x478)],'toScale':_0x273fd9,'toTranslate':_0x134db2,'relativeTranslate':_0x54f764,'fromRotationZ':this[_0x5267ca(0x566)][_0x5267ca(0x2aa)],'toRotationZ':_0x189020,'fromTiltX':this['context'][_0x5267ca(0x695)],'toTiltX':_0x55a437,'fromPerspectiveZ':this[_0x5267ca(0x566)]['perspectiveZ'],'toPerspectiveZ':this[_0x5267ca(0x566)][_0x5267ca(0x25d)]});return;}if(_0x170a5b){this['animateSequence']([{'zoomTo':0.5,'destination':_0x3e93c8},{'zoomTo':_0x22eace}]);return;}const _0x2a358f={'x':_0x3e93c8['x']-this[_0x5267ca(0x5ed)]*DPR3/0x2/_0x273fd9,'y':_0x3e93c8['y']-this[_0x5267ca(0x2bd)]*DPR3/0x2/_0x273fd9};this[_0x5267ca(0x582)](_0x273fd9,_0x2a358f);}[_0x1f7a97(0x582)](_0xd87d23,_0x1e2ba8,_0x403375){const _0xe0b5ba=_0x1f7a97,_0xf16f1d=_0xd87d23/this[_0xe0b5ba(0x566)][_0xe0b5ba(0x478)],_0x1025c2={'x':(this[_0xe0b5ba(0x566)][_0xe0b5ba(0x5de)][_0xe0b5ba(0x1ad)]['x']-_0x1e2ba8['x'])*_0xd87d23,'y':(this[_0xe0b5ba(0x566)][_0xe0b5ba(0x5de)][_0xe0b5ba(0x1ad)]['y']-_0x1e2ba8['y'])*_0xd87d23},_0x5c76fe=this['calculateLimitedTranslate'](_0x1025c2,_0xd87d23),_0x153193=this[_0xe0b5ba(0x504)](_0xf16f1d,_0x5c76fe);this[_0xe0b5ba(0x6b4)][_0xe0b5ba(0x3c6)]({'duration':_0x403375||this['context'][_0xe0b5ba(0x1a3)][_0xe0b5ba(0x1ce)]||0x0,'fromScale':this[_0xe0b5ba(0x566)][_0xe0b5ba(0x478)],'toScale':_0xd87d23,'toTranslate':_0x1025c2,'relativeTranslate':_0x153193});}async[_0x1f7a97(0x72e)](_0x22ac43){const _0x4787fb=_0x1f7a97;if(!Array['isArray'](_0x22ac43)||_0x22ac43[_0x4787fb(0x420)]===0x0)return;for(const _0x459f7b of _0x22ac43){await new Promise(_0x2003b2=>{const _0x3fc3b5=_0x4787fb;var _0x6e46d2,_0x55a551;const _0x2e35b5=_0x459f7b['zoomTo']!==void 0x0?_0x459f7b['zoomTo']*DPR3:this[_0x3fc3b5(0x566)][_0x3fc3b5(0x478)],_0x3a1b5a=_0x2e35b5/this['context'][_0x3fc3b5(0x478)];let _0x3d9aae=this[_0x3fc3b5(0x566)]['translate'],_0x1274b6;if(_0x459f7b[_0x3fc3b5(0x4a9)]){const _0x3eb247={'x':_0x459f7b['destination']['x']-this[_0x3fc3b5(0x2e4)]()*DPR3/0x2/_0x2e35b5,'y':_0x459f7b[_0x3fc3b5(0x4a9)]['y']-this[_0x3fc3b5(0x31d)]()*DPR3/0x2/_0x2e35b5},_0x10670c={'x':(this[_0x3fc3b5(0x566)]['underlay'][_0x3fc3b5(0x1ad)]['x']-_0x3eb247['x'])*_0x2e35b5,'y':(this[_0x3fc3b5(0x566)]['underlay']['viewBox']['y']-_0x3eb247['y'])*_0x2e35b5},_0x27cc0f=this[_0x3fc3b5(0x1d2)](_0x10670c,_0x2e35b5);_0x3d9aae=_0x27cc0f,_0x1274b6=this[_0x3fc3b5(0x504)](_0x3a1b5a,_0x27cc0f);}else{const _0x138619=this['calculateAbsoluteScaledTranslate'](_0x3a1b5a),_0x68548d=this[_0x3fc3b5(0x1d2)](_0x138619,_0x2e35b5);_0x3d9aae=_0x68548d,_0x1274b6=this[_0x3fc3b5(0x504)](_0x3a1b5a,_0x68548d);}const _0x5448d6=this['context'][_0x3fc3b5(0x2aa)],_0xec4961=_0x459f7b[_0x3fc3b5(0x469)]!==void 0x0?_0x459f7b[_0x3fc3b5(0x469)]*Math['PI']/0xb4:_0x5448d6,_0x178b78=this['context'][_0x3fc3b5(0x695)],_0x405f4d=_0x459f7b[_0x3fc3b5(0x44b)]!==void 0x0?_0x459f7b[_0x3fc3b5(0x44b)]:_0x178b78,_0x415e7f=this['context'][_0x3fc3b5(0x25d)],_0x59d5f7=_0x459f7b[_0x3fc3b5(0x2b8)]!==void 0x0?_0x459f7b[_0x3fc3b5(0x2b8)]:_0x415e7f,_0x12aa89=()=>_0x2003b2(),_0x31d127=_0x2e35b5===this[_0x3fc3b5(0x566)][_0x3fc3b5(0x478)],_0x2ac722=_0x3d9aae['x']===this['context'][_0x3fc3b5(0x2b5)]['x']&&_0x3d9aae['y']===this[_0x3fc3b5(0x566)][_0x3fc3b5(0x2b5)]['y'],_0x457ceb=_0x5448d6===_0xec4961&&_0x178b78===_0x405f4d&&_0x415e7f===_0x59d5f7;if(_0x31d127&&_0x2ac722&&_0x457ceb){_0x2003b2();return;}this['transformAnimator']['startTransformAnimation']({'duration':(_0x55a551=(_0x6e46d2=_0x459f7b[_0x3fc3b5(0x6fe)])!=null?_0x6e46d2:this[_0x3fc3b5(0x566)]['settings'][_0x3fc3b5(0x1ce)])!=null?_0x55a551:0x0,'fromScale':this[_0x3fc3b5(0x566)]['scale'],'toScale':_0x2e35b5,'toTranslate':_0x3d9aae,'relativeTranslate':_0x1274b6,'fromRotationZ':_0x5448d6,'toRotationZ':_0xec4961,'fromTiltX':_0x178b78,'toTiltX':_0x405f4d,'fromPerspectiveZ':_0x415e7f,'toPerspectiveZ':_0x59d5f7,'onComplete':_0x12aa89});});}}['getSectionId'](_0xa8124d){const _0x1de563=_0x1f7a97;if(!_0xa8124d)return null;if(typeof _0xa8124d===_0x1de563(0x1f7))return _0xa8124d;const _0x137f65=this['getSections']()[_0x1de563(0x268)](_0x25a767=>_0x25a767['name']===_0xa8124d);if(!_0x137f65)return null;return _0x137f65['id'];}[_0x1f7a97(0x662)](_0x3d3520,_0x439845,_0x1963d7){const _0x43813d=_0x1f7a97,_0x359eac=_0x3d3520/this[_0x43813d(0x566)][_0x43813d(0x478)],_0x493d07=this[_0x43813d(0x215)](_0x359eac,_0x439845),_0x966ac=this[_0x43813d(0x1d2)](_0x493d07,_0x3d3520),_0x352ae0=this[_0x43813d(0x504)](_0x359eac,_0x966ac);this[_0x43813d(0x6b4)]['startTransformAnimation']({'duration':_0x1963d7||this[_0x43813d(0x566)][_0x43813d(0x1a3)]['zoomAnimationDuration']||0x0,'fromScale':this[_0x43813d(0x566)][_0x43813d(0x478)],'toScale':_0x3d3520,'toTranslate':_0x966ac,'relativeTranslate':_0x352ae0}),this[_0x43813d(0x566)][_0x43813d(0x1a3)][_0x43813d(0x5c7)]&&this[_0x43813d(0x566)]['settings'][_0x43813d(0x5c7)](_0x3d3520,this[_0x43813d(0x566)][_0x43813d(0x478)]);}[_0x1f7a97(0x5e8)](_0x338a1a,_0x479a4d){const _0xdb42d=_0x1f7a97;if(this[_0xdb42d(0x566)][_0xdb42d(0x21c)])this[_0xdb42d(0x23a)][_0xdb42d(0x3a1)](_0x338a1a,_0x479a4d);else this[_0xdb42d(0x566)][_0xdb42d(0x1a3)][_0xdb42d(0x248)]?this['outlineLayer'][_0xdb42d(0x3a1)](_0x338a1a,_0x479a4d):this[_0xdb42d(0x23a)][_0xdb42d(0x6f1)]();this['stageLayer'][_0xdb42d(0x5bd)](_0x338a1a,_0x479a4d),this[_0xdb42d(0x2cb)][_0xdb42d(0x5bd)](_0x338a1a,_0x479a4d),this[_0xdb42d(0x493)]&&this['minimapLayer'][_0xdb42d(0x6bf)]();}async[_0x1f7a97(0x4fe)](){const _0x47c97d=_0x1f7a97;this[_0x47c97d(0x566)][_0x47c97d(0x1a3)][_0x47c97d(0x295)]&&this[_0x47c97d(0x566)][_0x47c97d(0x1a3)][_0x47c97d(0x295)]();this[_0x47c97d(0x6da)][_0x47c97d(0x4fe)](),this[_0x47c97d(0x2cb)][_0x47c97d(0x4fe)]();if(!this['stageLayer'][_0x47c97d(0x237)])this[_0x47c97d(0x23a)][_0x47c97d(0x3da)]();this['minimapLayer']&&this[_0x47c97d(0x493)][_0x47c97d(0x6bf)](),this[_0x47c97d(0x566)][_0x47c97d(0x1a3)][_0x47c97d(0x298)]&&this[_0x47c97d(0x566)]['settings']['onRedrawEnd']();}[_0x1f7a97(0x20c)](_0x4012c0){const _0x197958=_0x1f7a97,_0x2e27f1=this[_0x197958(0x566)][_0x197958(0x2aa)]||0x0,_0x1f8feb=this[_0x197958(0x566)][_0x197958(0x695)]||0x0,_0xe3d7ae=Math['cos'](_0x2e27f1),_0x2be4d3=Math[_0x197958(0x5e6)](_0x2e27f1),_0x3ac9df=_0x4012c0['x']*_0xe3d7ae+_0x4012c0['y']*_0x2be4d3,_0x1841e0=-_0x4012c0['x']*_0x2be4d3+_0x4012c0['y']*_0xe3d7ae,_0x27c60=Math[_0x197958(0x40f)](_0x1f8feb),_0x2d9e9a=Math[_0x197958(0x67f)](0.1,Math[_0x197958(0x572)](_0x27c60)),_0x179928=0x1/_0x2d9e9a,_0x104fb4=0x1+0.5*Math[_0x197958(0x572)](Math[_0x197958(0x5e6)](_0x1f8feb)),_0x598c2f=Math[_0x197958(0x19a)](0x4,_0x179928*_0x104fb4);return{'x':_0x3ac9df,'y':_0x1841e0*_0x598c2f};}['calculateLimitedTranslate'](_0x5a8ef1,_0xdb239b){const _0x4de70d=_0x1f7a97;return{'x':this['calculateLimit'](_0x5a8ef1['x'],this['width']*DPR3,this[_0x4de70d(0x566)][_0x4de70d(0x5de)][_0x4de70d(0x1ad)][_0x4de70d(0x5ed)],_0xdb239b),'y':this[_0x4de70d(0x53c)](_0x5a8ef1['y'],this[_0x4de70d(0x2bd)]*DPR3,this[_0x4de70d(0x566)][_0x4de70d(0x5de)][_0x4de70d(0x1ad)][_0x4de70d(0x2bd)],_0xdb239b)};}[_0x1f7a97(0x53c)](_0x19d481,_0x5b026e,_0x144a15,_0x1741a2){const _0x43e2b6=_0x1f7a97,_0x26e4ed=this[_0x43e2b6(0x473)]*_0x5b026e,_0x484fcc=this[_0x43e2b6(0x473)]*_0x5b026e,_0x1e5041=!_0x1741a2?_0x144a15*this[_0x43e2b6(0x566)][_0x43e2b6(0x478)]:_0x144a15*_0x1741a2,_0x29ced5=_0x1e5041+_0x26e4ed+_0x484fcc;if(_0x29ced5<_0x5b026e)return(_0x5b026e-_0x29ced5)/0x2+_0x26e4ed;if(_0x19d481>_0x26e4ed)return _0x26e4ed;const _0x1dd0f0=(_0x29ced5-_0x5b026e)*-0x1+_0x26e4ed;if(_0x19d481<_0x1dd0f0)return _0x1dd0f0;return _0x19d481;}['calculateRelativeScaledLimitedTranslate'](_0x53a661,_0x5ec3b5){const _0x18a22e=_0x1f7a97;return subPoints(_0x5ec3b5,{'x':this['context'][_0x18a22e(0x2b5)]['x']*_0x53a661,'y':this['context']['translate']['y']*_0x53a661});}['calculateAbsoluteScaledTranslate'](_0x13d909,_0x3f0b9e,_0xc92101){const _0x496164=_0x1f7a97;return addPoints(this['calculateRelativeScaledTranslate'](_0x13d909,_0x3f0b9e,_0xc92101),{'x':this['context']['translate']['x']*_0x13d909,'y':this[_0x496164(0x566)]['translate']['y']*_0x13d909});}['calculateRelativeScaledTranslate'](_0x20664a,_0x15cb46,_0x281bd7){const _0x3f4e94=_0x1f7a97,_0x5ca0ba=_0x15cb46||{'x':this[_0x3f4e94(0x5ed)]/0x2,'y':this[_0x3f4e94(0x2bd)]/0x2},_0x30a71d=_0x281bd7||{'x':0x0,'y':0x0};return{'x':(_0x5ca0ba['x']*(0x1-_0x20664a)+_0x30a71d['x'])*DPR3,'y':(_0x5ca0ba['y']*(0x1-_0x20664a)+_0x30a71d['y'])*DPR3};}['getInitialScaleAndTranslate'](_0x560ce2){const _0x245dd7=_0x1f7a97;var _0x346c38;const _0xc7344c=this[_0x245dd7(0x566)]['settings'][_0x245dd7(0x364)]||0.85,_0x154385=this[_0x245dd7(0x5ed)]/_0x560ce2[_0x245dd7(0x1ad)][_0x245dd7(0x5ed)],_0x205bd5=this[_0x245dd7(0x2bd)]/_0x560ce2[_0x245dd7(0x1ad)][_0x245dd7(0x2bd)];let _0x1a3a96=_0x154385>_0x205bd5?_0x205bd5:_0x154385;const _0x4d9c3a=(_0x346c38=this[_0x245dd7(0x566)]['settings']['zoomSettings'])!=null?_0x346c38:defaultZoomSettings;_0x1a3a96=Math[_0x245dd7(0x19a)](_0x4d9c3a[_0x245dd7(0x3ca)]*DPR3,_0x1a3a96*_0xc7344c*DPR3);const _0x2a8544={'x':(this['width']*DPR3-_0x560ce2[_0x245dd7(0x1ad)]['width']*_0x1a3a96)/0x2,'y':(this[_0x245dd7(0x2bd)]*DPR3-_0x560ce2[_0x245dd7(0x1ad)]['height']*_0x1a3a96)/0x2};return{'scale':_0x1a3a96,'translate':_0x2a8544};}[_0x1f7a97(0x1ea)](){const _0x12f101=_0x1f7a97,_0x52ce04=this[_0x12f101(0x353)]();for(let _0x7566e6=0x0;_0x7566e6<_0x52ce04[_0x12f101(0x420)];_0x7566e6++){if(_0x52ce04[_0x7566e6]>this[_0x12f101(0x566)]['scale'])return _0x52ce04[_0x7566e6];}return this[_0x12f101(0x311)]();}[_0x1f7a97(0x305)](){const _0xac3328=_0x1f7a97,_0x13ad7d=this[_0xac3328(0x353)]();for(let _0x2c330f=_0x13ad7d[_0xac3328(0x420)]-0x1;_0x2c330f>=0x0;_0x2c330f--){if(_0x13ad7d[_0x2c330f]<this[_0xac3328(0x566)][_0xac3328(0x478)])return _0x13ad7d[_0x2c330f];}return this['getMinZoom']();}[_0x1f7a97(0x353)](){const _0x23f2af=_0x1f7a97;var _0x26f198;const _0x380e0=(_0x26f198=this[_0x23f2af(0x566)][_0x23f2af(0x1a3)][_0x23f2af(0x406)])!=null?_0x26f198:defaultZoomSettings;if(!this[_0x23f2af(0x61e)]&&_0x380e0)return _0x380e0[_0x23f2af(0x44a)]['map'](_0xf11827=>_0xf11827*DPR3);const _0x2bd53b=this[_0x23f2af(0x61e)],_0x4f62e3=[_0x2bd53b];return _0x380e0['presets'][_0x23f2af(0x65c)](_0x357cf8=>_0x357cf8*DPR3)['forEach'](_0x333a8c=>{const _0x4442e0=_0x23f2af;Math[_0x4442e0(0x67f)](_0x333a8c/_0x2bd53b,_0x2bd53b/_0x333a8c)>1.2&&_0x4f62e3[_0x4442e0(0x51f)](_0x333a8c);}),_0x4f62e3['sort']((_0x565efd,_0x39dbf9)=>_0x565efd-_0x39dbf9);}[_0x1f7a97(0x328)](){return this['getZoomPresets']()[0x0];}['getMaxZoom'](){const _0x27a91d=this['getZoomPresets']();return _0x27a91d[_0x27a91d['length']-0x1];}[_0x1f7a97(0x53d)](_0x4daf47){const _0x1ba266=_0x1f7a97;if(this[_0x1ba266(0x6da)]instanceof HTMLCanvasLayer){const _0x3924e0=this['getSectionsWithCoords'](),_0xe16382=_0x3924e0[_0x1ba266(0x268)](_0x25953f=>_0x25953f['id']===_0x4daf47['id']);if(!_0xe16382)return;const _0x8010d5=this[_0x1ba266(0x6da)][_0x1ba266(0x4a6)]()[_0x1ba266(0x3d3)];if(_0x8010d5)return;const _0x1a4976=this['stageLayer']['getAnimationPoint']();this[_0x1ba266(0x23a)][_0x1ba266(0x6f1)]();const _0x5751f0={'zoomToFit':()=>this[_0x1ba266(0x66f)](),'getSectionsWithCoords':()=>this[_0x1ba266(0x498)]()};this[_0x1ba266(0x6da)][_0x1ba266(0x715)](_0xe16382,_0x5751f0)[_0x1ba266(0x2da)](_0x10ab51=>{const _0x1f544e=_0x1ba266;if(!_0x10ab51){this['outlineLayer']['show'](),this[_0x1f544e(0x4fe)]();return;}const _0x100135=this[_0x1f544e(0x566)][_0x1f544e(0x555)],_0x31ed2e=_0x100135['length']?0x1:Math['min'](0x1,this[_0x1f544e(0x566)][_0x1f544e(0x478)]*2.5);this['startAnimation'](_0x31ed2e,_0x1a4976,this[_0x1f544e(0x566)]['settings'][_0x1f544e(0x4eb)]);const _0x58f4b9={...this[_0x1f544e(0x6da)][_0x1f544e(0x651)]};if(this[_0x1f544e(0x6da)]instanceof HTMLCanvasLayer){const _0x4d3dab={...this[_0x1f544e(0x6da)][_0x1f544e(0x4a6)]()};this['selectionLayer'][_0x1f544e(0x37b)](_0x58f4b9),this[_0x1f544e(0x2cb)][_0x1f544e(0x2b3)]({..._0x4d3dab,'skewAngle':_0x58f4b9[_0x1f544e(0x222)],'rotationAngle':_0x58f4b9[_0x1f544e(0x54c)]});}else throw new Error(_0x1f544e(0x6fa));this['selectionLayer'][_0x1f544e(0x237)]=!![],this[_0x1f544e(0x2cb)][_0x1f544e(0x4fe)]();});}else{const _0xaeb6cc=this[_0x1ba266(0x498)](),_0x392f96=_0xaeb6cc['find'](_0x5874f8=>_0x5874f8['id']===_0x4daf47['id']);if(!_0x392f96)return;const _0x350f64=this[_0x1ba266(0x6da)][_0x1ba266(0x4a6)](),_0x43475b=_0x350f64[_0x1ba266(0x3d3)];if(_0x43475b)return;this[_0x1ba266(0x23a)][_0x1ba266(0x6f1)]();const _0x56b907={'zoomToFit':()=>this[_0x1ba266(0x66f)](),'getSectionsWithCoords':()=>this[_0x1ba266(0x498)]()};this['stageLayer']['applySectionViewAnimation'](_0x392f96,_0x56b907)[_0x1ba266(0x2da)](_0x2f96a8=>{const _0xe7a9c0=_0x1ba266;if(!_0x2f96a8){this[_0xe7a9c0(0x23a)][_0xe7a9c0(0x30d)](),this['redraw']();return;}_0x4daf47['id']!==void 0x0&&this['zoomToSection'](_0x4daf47['id'],{'focus':!![]}),this[_0xe7a9c0(0x23a)][_0xe7a9c0(0x30d)](),this['redraw']();});}}['getStageLayer'](){const _0x1a00a5=_0x1f7a97;if(this[_0x1a00a5(0x566)][_0x1a00a5(0x1a3)]['switchToWebGL']){const _0x2ea2a8=WebGLCanvasLayer[_0x1a00a5(0x603)]();if(_0x2ea2a8)return new WebGLCanvasLayer(this[_0x1a00a5(0x566)]);}return new HTMLCanvasLayer(this[_0x1a00a5(0x566)]);}[_0x1f7a97(0x4ee)](_0x449432){const _0x59113a=_0x1f7a97;if(!this[_0x59113a(0x566)][_0x59113a(0x21c)]){console[_0x59113a(0x404)](_0x59113a(0x2b7));return;}_0x449432['rotationZ']!==void 0x0&&(this['context'][_0x59113a(0x2aa)]=_0x449432[_0x59113a(0x2aa)]),_0x449432[_0x59113a(0x25d)]!==void 0x0&&(this[_0x59113a(0x566)]['perspectiveZ']=_0x449432[_0x59113a(0x25d)]),_0x449432[_0x59113a(0x695)]!==void 0x0&&(this[_0x59113a(0x566)][_0x59113a(0x695)]=_0x449432[_0x59113a(0x695)]),this[_0x59113a(0x6da)]&&_0x59113a(0x37f)in this['stageLayer']?this[_0x59113a(0x6da)][_0x59113a(0x37f)]():this['stageLayer']['redraw'](),this[_0x59113a(0x2cb)]['redraw'](),this['outlineLayer']&&this['outlineLayer'][_0x59113a(0x3ad)]();}[_0x1f7a97(0x288)](){const _0x12cebb=_0x1f7a97;return{'enable3DView':this[_0x12cebb(0x566)]['enable3DView'],'rotationZ':this[_0x12cebb(0x566)]['rotationZ'],'perspectiveZ':this[_0x12cebb(0x566)][_0x12cebb(0x25d)],'tiltX':this[_0x12cebb(0x566)][_0x12cebb(0x695)]};}['animateTo3DParams'](_0xbf20c7,_0x1848fe=0x320){const _0x179751=_0x1f7a97;if(!this['context']['enable3DView'])return console['warn'](_0x179751(0x2b7)),Promise['resolve']();return animate3D({'rotationZ':this['context']['rotationZ'],'perspectiveZ':this[_0x179751(0x566)][_0x179751(0x25d)],'tiltX':this[_0x179751(0x566)][_0x179751(0x695)]},_0xbf20c7,_0x1848fe,({rotationZ:_0x5f0afe,perspectiveZ:_0x149948,tiltX:_0x398cc3})=>{const _0x1ddf40=_0x179751;var _0x5a510c;if(_0x5f0afe!==void 0x0)this['context'][_0x1ddf40(0x2aa)]=_0x5f0afe;if(_0x149948!==void 0x0)this[_0x1ddf40(0x566)]['perspectiveZ']=_0x149948;if(_0x398cc3!==void 0x0)this[_0x1ddf40(0x566)][_0x1ddf40(0x695)]=_0x398cc3;this[_0x1ddf40(0x6da)]&&_0x1ddf40(0x37f)in this[_0x1ddf40(0x6da)]?this[_0x1ddf40(0x6da)][_0x1ddf40(0x37f)]():this[_0x1ddf40(0x6da)]['redraw'](),this[_0x1ddf40(0x2cb)][_0x1ddf40(0x4fe)](),(_0x5a510c=this[_0x1ddf40(0x23a)])==null?void 0x0:_0x5a510c[_0x1ddf40(0x3ad)]();});}['animateRotation'](_0x5bca4f){const _0x254789=_0x1f7a97;if(!this[_0x254789(0x566)][_0x254789(0x21c)])return console[_0x254789(0x404)](_0x254789(0x2b7)),null;if(this[_0x254789(0x6b4)][_0x254789(0x21f)]())return this[_0x254789(0x6b4)]['setPendingRotationAngle'](_0x5bca4f),null;this[_0x254789(0x246)]['isRunning']()&&this['rotationAnimation'][_0x254789(0x652)]();this[_0x254789(0x3a3)]['send'](_0x254789(0x1a9));const _0x2d8b70=this[_0x254789(0x246)][_0x254789(0x675)](_0x5bca4f,_0x244a00=>{const _0x5bb773=_0x254789;var _0x1afbf1;this[_0x5bb773(0x566)][_0x5bb773(0x2aa)]=_0x244a00,this['stageLayer']&&_0x5bb773(0x37f)in this[_0x5bb773(0x6da)]?this[_0x5bb773(0x6da)][_0x5bb773(0x37f)]():this['stageLayer'][_0x5bb773(0x4fe)](),this[_0x5bb773(0x2cb)][_0x5bb773(0x4fe)](),(_0x1afbf1=this[_0x5bb773(0x23a)])==null?void 0x0:_0x1afbf1[_0x5bb773(0x3ad)]();});return _0x2d8b70;}[_0x1f7a97(0x4f0)](){const _0xd9aad=_0x1f7a97;this[_0xd9aad(0x246)][_0xd9aad(0x21f)]()&&(this[_0xd9aad(0x246)][_0xd9aad(0x652)](),this['service']['send']('animateend'));}[_0x1f7a97(0x49d)](){const _0x5e61ec=_0x1f7a97;return this[_0x5e61ec(0x246)][_0x5e61ec(0x21f)]();}[_0x1f7a97(0x508)](){const _0x40c2cd=_0x1f7a97;return this[_0x40c2cd(0x246)][_0x40c2cd(0x48c)]();}[_0x1f7a97(0x6f5)](_0x5a53aa){const _0x27680b=_0x1f7a97;var _0x4deec3,_0x217dc4;this[_0x27680b(0x566)][_0x27680b(0x1a3)][_0x27680b(0x207)]=_0x5a53aa,_0x5a53aa?(_0x4deec3=this[_0x27680b(0x23a)])==null?void 0x0:_0x4deec3['highlightAllSections']():(_0x217dc4=this['outlineLayer'])==null?void 0x0:_0x217dc4['clearSectionHighlight']();}[_0x1f7a97(0x2fc)](){const _0x5945e9=_0x1f7a97;return this[_0x5945e9(0x566)][_0x5945e9(0x1a3)][_0x5945e9(0x207)]||![];}[_0x1f7a97(0x2d7)](){const _0x1384f1=_0x1f7a97;this['minimapLayer']&&this[_0x1384f1(0x493)]['show']();}[_0x1f7a97(0x325)](){this['minimapLayer']&&this['minimapLayer']['hide']();}['toggleMinimap'](){const _0x34ff25=_0x1f7a97;var _0x39bd95;if(this['minimapLayer']){const _0x1b6a5f=((_0x39bd95=this[_0x34ff25(0x493)][_0x34ff25(0x5cd)])==null?void 0x0:_0x39bd95['style'][_0x34ff25(0x3b8)])!=='none';_0x1b6a5f?this['minimapLayer']['hide']():this[_0x34ff25(0x493)][_0x34ff25(0x30d)]();}}['setMinimapPinsEnabled'](_0x28eb3e){const _0x50ba2f=_0x1f7a97;this[_0x50ba2f(0x493)]&&(this[_0x50ba2f(0x493)][_0x50ba2f(0x379)](_0x28eb3e),this[_0x50ba2f(0x4bd)]());}[_0x1f7a97(0x416)](_0x50d0fe){const _0x711662=_0x1f7a97;this[_0x711662(0x493)]&&this[_0x711662(0x493)][_0x711662(0x384)](_0x50d0fe);}},getOffset=_0x190c23=>{const _0x5ab07a=_0x1f7a97,_0x1e21b9=_0x190c23[_0x5ab07a(0x431)](),_0x55d2df=document[_0x5ab07a(0x62a)];let _0x1ecb60=window[_0x5ab07a(0x71b)],_0x538106=window[_0x5ab07a(0x477)];return _0x55d2df&&(_0x1ecb60=_0x1ecb60||_0x55d2df[_0x5ab07a(0x5b2)],_0x538106=_0x538106||_0x55d2df[_0x5ab07a(0x1ff)]),{'top':_0x1e21b9[_0x5ab07a(0x3d4)]+_0x538106,'left':_0x1e21b9['left']+_0x1ecb60};},getSeatsWithUpdatedCoords=({seats:_0x4f91a7,background:_0x352963})=>_0x4f91a7[_0x1f7a97(0x65c)](_0xed6ada=>({..._0xed6ada,'x':_0xed6ada['x']-_0x352963['viewBox']['x'],'y':_0xed6ada['y']-_0x352963[_0x1f7a97(0x1ad)]['y']})),isGaOutline=_0xd89507=>{const _0x1c0e3f=_0x1f7a97,_0x5051be=_0xd89507['getAttribute'](_0x1c0e3f(0x3bb));if(!_0x5051be)return![];return!!_0x5051be&&(_0x5051be[_0x1c0e3f(0x2dd)](_0x1c0e3f(0x52d))!==-0x1||_0x5051be['indexOf'](_0x1c0e3f(0x28d))!==-0x1||_0x5051be['indexOf'](_0x1c0e3f(0x24c))!==-0x1);},isSectionOutline=_0x55620e=>{const _0x28b3b0=_0x1f7a97,_0xf7d4cf=_0x55620e[_0x28b3b0(0x439)]('class');if(!_0xf7d4cf)return![];return!!_0xf7d4cf&&_0xf7d4cf[_0x28b3b0(0x2dd)](OUTLINE_CLASS)!==-0x1;};import{createMachine,guard,reduce,state,transition}from'robot3';var DEFAULT_SCALE=0x1,context=()=>({'scale':DEFAULT_SCALE,'isEagleView':![],'mode':_0x1f7a97(0x62e),'events':[]}),getSelectMode=({altKey:_0x2726e1,shiftKey:_0x30c451})=>{const _0x26858b=_0x1f7a97;if(_0x2726e1&&!_0x30c451)return'subtract';if(!_0x2726e1&&_0x30c451)return _0x26858b(0x47f);return _0x26858b(0x531);},dragToSelect=(_0x26ad3b,_0x4cccec)=>{const _0x4b0ace=_0x1f7a97,_0x19f0c5={'type':_0x4b0ace(0x433),'selectMode':getSelectMode(_0x4cccec),'rect':{'x':_0x4cccec[_0x4b0ace(0x4ec)]['x'],'y':_0x4cccec[_0x4b0ace(0x4ec)]['y'],'width':_0x4cccec[_0x4b0ace(0x5fb)]['x'],'height':_0x4cccec[_0x4b0ace(0x5fb)]['y']},'isStart':_0x4cccec[_0x4b0ace(0x55e)]===_0x4b0ace(0x6c5),'isFinish':_0x4cccec[_0x4b0ace(0x55e)]===_0x4b0ace(0x3fd),'isRowsMode':_0x26ad3b[_0x4b0ace(0x4c4)]===_0x4b0ace(0x442)};return{..._0x26ad3b,'events':[_0x19f0c5]};},dragToPan=(_0x231dfe,_0x41250d)=>{const _0x2bd0e2=_0x1f7a97,_0x165713={'type':_0x2bd0e2(0x506),'delta':_0x41250d[_0x2bd0e2(0x5fb)],'isStart':_0x41250d['type']===_0x2bd0e2(0x6c5),'isFinish':_0x41250d[_0x2bd0e2(0x55e)]==='srcDragEnd'};return{..._0x231dfe,'events':[_0x165713]};},click=(_0x4640a0,_0x12f3b7)=>{const _0x57818e=_0x1f7a97;var _0x9f000d;let _0x3f94ba=[];const _0x5bd598=_0x4640a0['mode']===_0x57818e(0x30f);if(_0x5bd598&&_0x4640a0[_0x57818e(0x244)])_0x3f94ba=[{'type':_0x57818e(0x61c),'scale':DEFAULT_SCALE,'origin':_0x12f3b7[_0x57818e(0x40e)]}];else{if(_0x5bd598){}else{if((_0x9f000d=_0x12f3b7[_0x57818e(0x641)])==null?void 0x0:_0x9f000d['ga'])_0x3f94ba=[{'type':_0x57818e(0x28b),'point':_0x12f3b7[_0x57818e(0x40e)],'section':_0x12f3b7['section']}];else{if(_0x12f3b7[_0x57818e(0x57d)])_0x3f94ba=[{'type':'destSeatSelect','selectMode':getSelectMode(_0x12f3b7),'point':_0x12f3b7[_0x57818e(0x40e)],'seat':_0x12f3b7[_0x57818e(0x57d)],'isRowsMode':_0x4640a0[_0x57818e(0x4c4)]===_0x57818e(0x442)}];else getSelectMode(_0x12f3b7)===_0x57818e(0x531)&&(_0x3f94ba=[{'type':_0x57818e(0x4d4)}]);}}}return{..._0x4640a0,'events':_0x3f94ba};},updateHover=(_0xfc08dd,_0x55e4fc,_0x19deb7)=>{const _0x51a984=_0x1f7a97;if(_0xfc08dd[_0x51a984(0x2fa)]&&_0xfc08dd['hovered'][_0x51a984(0x3b6)]===_0x55e4fc&&_0xfc08dd[_0x51a984(0x2fa)]['id']===_0x19deb7['id'])return _0xfc08dd;const _0x23731c=[];if(_0xfc08dd[_0x51a984(0x2fa)])switch(_0xfc08dd[_0x51a984(0x2fa)][_0x51a984(0x3b6)]){case'seat':_0x23731c[_0x51a984(0x51f)]({'type':_0x51a984(0x2ae)});break;case _0x51a984(0x641):_0x23731c['push']({'type':_0x51a984(0x270)});}switch(_0x55e4fc){case _0x51a984(0x57d):_0x23731c[_0x51a984(0x51f)]({'type':'destSeatMouseEnter','seat':_0x19deb7,'isRowsMode':_0xfc08dd[_0x51a984(0x4c4)]===_0x51a984(0x442)});break;case _0x51a984(0x641):_0x23731c['push']({'type':_0x51a984(0x556),'section':_0x19deb7});break;}return{..._0xfc08dd,'hovered':{'targetType':_0x55e4fc,'id':_0x19deb7['id']},'events':_0x23731c};},mouseMove=(_0x41ce30,_0x30635b)=>{const _0x3ae23f=_0x1f7a97;var _0x580a2b;const _0x576f87=_0x41ce30['mode']===_0x3ae23f(0x30f);if(_0x576f87)return _0x41ce30;if((_0x580a2b=_0x30635b[_0x3ae23f(0x641)])==null?void 0x0:_0x580a2b['ga'])return updateHover(_0x41ce30,_0x3ae23f(0x641),_0x30635b['section']);else{if(_0x30635b[_0x3ae23f(0x57d)])return updateHover(_0x41ce30,_0x3ae23f(0x57d),_0x30635b['seat']);else{if(_0x41ce30[_0x3ae23f(0x2fa)]){let _0x360a0d;switch(_0x41ce30[_0x3ae23f(0x2fa)][_0x3ae23f(0x3b6)]){case'seat':_0x360a0d={'type':_0x3ae23f(0x2ae)};break;case _0x3ae23f(0x641):_0x360a0d={'type':_0x3ae23f(0x270)};break;}return{..._0x41ce30,'hovered':void 0x0,'events':[_0x360a0d]};}}}return _0x41ce30;},contextChange=(_0x2b0967,_0x6d8046)=>{const {type:_0x225cb9,..._0x43713f}=_0x6d8046;return{..._0x2b0967,..._0x43713f};},contextChangeTransition=transition('contextchange',_0x1f7a97(0x310),reduce(contextChange)),isSelectMode=_0x965831=>_0x965831[_0x1f7a97(0x4c4)]===_0x1f7a97(0x62e)||_0x965831[_0x1f7a97(0x4c4)]===_0x1f7a97(0x442),machine=createMachine({'idle':state(contextChangeTransition,transition(_0x1f7a97(0x595),_0x1f7a97(0x310),reduce(click)),transition(_0x1f7a97(0x6c5),_0x1f7a97(0x49b),reduce(dragToSelect),guard(isSelectMode)),transition(_0x1f7a97(0x6c5),_0x1f7a97(0x5ab),reduce(dragToPan)),transition('srcMouseMove',_0x1f7a97(0x310),reduce(mouseMove))),'panning':state(contextChangeTransition,transition('srcDragMove','panning',reduce(dragToPan)),transition(_0x1f7a97(0x3fd),_0x1f7a97(0x310),reduce(dragToPan))),'selecting':state(contextChangeTransition,transition(_0x1f7a97(0x4ac),_0x1f7a97(0x49b),reduce(dragToSelect)),transition(_0x1f7a97(0x3fd),_0x1f7a97(0x310),reduce(dragToSelect)))},context),machine_default=machine,COLOR_UNAVAILABLE=_0x1f7a97(0x245),DEFAULT_SIZE=0x18,theme={'gridStep':0xe,'bgColor':_0x1f7a97(0x4a2),'priceColors':[[_0x1f7a97(0x54e),_0x1f7a97(0x331),_0x1f7a97(0x40c),'#2196F3',_0x1f7a97(0x221),_0x1f7a97(0x5d6),_0x1f7a97(0x6a2),_0x1f7a97(0x4dc),_0x1f7a97(0x1f4),_0x1f7a97(0x412),_0x1f7a97(0x6ea),_0x1f7a97(0x687),_0x1f7a97(0x35f)],['#2196F3'],[_0x1f7a97(0x52c),_0x1f7a97(0x1f4)],[_0x1f7a97(0x331),_0x1f7a97(0x52c),_0x1f7a97(0x1f4)]],'colorCategories':[_0x1f7a97(0x54e),_0x1f7a97(0x331),'#3F51B5',_0x1f7a97(0x52c),_0x1f7a97(0x221),_0x1f7a97(0x5d6),'#4CAF50',_0x1f7a97(0x4dc),_0x1f7a97(0x1f4),_0x1f7a97(0x412),_0x1f7a97(0x6ea),_0x1f7a97(0x687),_0x1f7a97(0x35f)],'seatStyles':{'default':{'size':DEFAULT_SIZE,'color':COLOR_UNAVAILABLE,'seatName':{'font':_0x1f7a97(0x543),'color':'#fff'},'accessible':{'size':DEFAULT_SIZE,'color':COLOR_UNAVAILABLE,'imageId':'accessible'}},'unavailable':{'size':0x6,'color':COLOR_UNAVAILABLE},'filtered':{'size':0xa,'color':COLOR_UNAVAILABLE},'hovered':{'size':DEFAULT_SIZE,'color':COLOR_UNAVAILABLE,'seatName':{'font':_0x1f7a97(0x543),'color':_0x1f7a97(0x524)},'stroke':{'width':0x2,'color':'#444','align':_0x1f7a97(0x5a3)}},'selected':{'size':DEFAULT_SIZE,'color':COLOR_UNAVAILABLE,'stroke':{'width':0x2,'color':_0x1f7a97(0x525),'align':_0x1f7a97(0x5a3)},'seatName':{'font':_0x1f7a97(0x543),'color':_0x1f7a97(0x714)}}},'svgSectionStyles':{'default':{},'unavailable':{},'hovered':{},'selected':{}}},theme_default2=theme,defaults={'debounceDelay':0x190,'zoomAnimationDuration':0x190,'seatSelectionMinZoom':0.66,'theme':theme_default2,'onBeforeSeatDraw':_0xe3f29b=>{const _0x28344d=_0x1f7a97;var _0x34345f,_0x12d2c3,_0x26cb9d,_0x381e1a;const _0x5da13c=Object['assign']({},_0xe3f29b[_0x28344d(0x71e)]),_0x25f215=(_0x34345f=_0xe3f29b[_0x28344d(0x566)][_0x28344d(0x1a3)]['theme'])==null?void 0x0:_0x34345f['colorCategories'];if((((_0x12d2c3=_0xe3f29b[_0x28344d(0x57d)]['special'])==null?void 0x0:_0x12d2c3[_0x28344d(0x329)])||((_0x26cb9d=_0xe3f29b[_0x28344d(0x57d)]['special'])==null?void 0x0:_0x26cb9d[_0x28344d(0x329)])===0x0)&&(_0x25f215==null?void 0x0:_0x25f215[_0x28344d(0x420)])){if((_0x381e1a=_0xe3f29b[_0x28344d(0x566)][_0x28344d(0x69d)])==null?void 0x0:_0x381e1a[_0xe3f29b[_0x28344d(0x57d)][_0x28344d(0x3c5)][_0x28344d(0x329)]])_0x5da13c[_0x28344d(0x231)]=_0xe3f29b['context'][_0x28344d(0x69d)][_0xe3f29b[_0x28344d(0x57d)]['special'][_0x28344d(0x329)]];else _0x5da13c[_0x28344d(0x231)]=_0x25f215[_0xe3f29b[_0x28344d(0x57d)][_0x28344d(0x3c5)][_0x28344d(0x329)]%_0x25f215[_0x28344d(0x420)]];}return _0x5da13c;}},defaults_default=defaults,SeatmapAdminRenderer=class extends Renderer{constructor(_0x536214,_0x5df681){const _0x835315=_0x1f7a97;super(_0x536214,machine_default,mergeSettings(defaults_default,_0x5df681));const _0x1b715f=_0x5df681&&_0x5df681[_0x835315(0x4b4)];let _0x3697c8='';switch(_0x1b715f){case _0x835315(0x6b1):_0x3697c8=window['location'][_0x835315(0x4ec)]+_0x835315(0x1ab);break;case _0x835315(0x37c):_0x3697c8=_0x835315(0x495);break;default:_0x3697c8=_0x835315(0x576);}const _0x5a1427=_0x5df681&&_0x5df681[_0x835315(0x4f5)]||_0x3697c8,_0xde4ab6=_0x5df681&&_0x5df681[_0x835315(0x55a)];if(!_0xde4ab6)throw new Error(_0x835315(0x63d));this[_0x835315(0x666)]=new BookingApiClient({'baseUrl':_0x5a1427,'publicKey':_0xde4ab6,'debug':_0x5df681==null?void 0x0:_0x5df681['debug']});}[_0x1f7a97(0x602)](_0x2de15e){const _0x1d3643=_0x1f7a97;return super[_0x1d3643(0x602)](_0x2de15e),this[_0x1d3643(0x23a)]?(_0x2de15e===_0x1d3643(0x30f)?this[_0x1d3643(0x23a)][_0x1d3643(0x6f1)]():this[_0x1d3643(0x23a)][_0x1d3643(0x30d)](),!![]):![];}async['loadEvent'](_0x16c58a){const _0x2a10eb=_0x1f7a97,_0x530ed4=await this[_0x2a10eb(0x666)][_0x2a10eb(0x47b)](_0x16c58a);await this[_0x2a10eb(0x230)](_0x530ed4);}async[_0x1f7a97(0x659)](_0x5e2cb7){const _0x2d5d52=_0x1f7a97,_0x44b330=await this['apiClient'][_0x2d5d52(0x670)](_0x5e2cb7);await this[_0x2d5d52(0x230)](_0x44b330);}};function _0x18e5(_0x45a473,_0x1f3596){const _0xe61b88=_0xe61b();return _0x18e5=function(_0x18e5e1,_0x45b349){_0x18e5e1=_0x18e5e1-0x197;let _0x506dce=_0xe61b88[_0x18e5e1];return _0x506dce;},_0x18e5(_0x45a473,_0x1f3596);}import{nanoid}from'nanoid';var STATS_URL=_0x1f7a97(0x6f9),isLocalhost=()=>location['hostname']===_0x1f7a97(0x597)||location[_0x1f7a97(0x517)]===_0x1f7a97(0x648)||location[_0x1f7a97(0x517)]==='0.0.0.0',BookingStats=class{constructor(){const _0x18ef03=_0x1f7a97;this[_0x18ef03(0x19e)]=-0x1,this[_0x18ef03(0x4fd)]=0x0,this[_0x18ef03(0x26a)]=nanoid(),this[_0x18ef03(0x378)]=Date[_0x18ef03(0x37d)]();}[_0x1f7a97(0x4ed)](_0x49ed83,_0x2dba7f){const _0x5af5be=_0x1f7a97;if(isLocalhost())return;const _0x225e7c={..._0x2dba7f,'sessionId':this[_0x5af5be(0x26a)],'requestNumber':++this[_0x5af5be(0x4fd)],'version':VERSION},_0x1ce396=new Request(STATS_URL+_0x49ed83,{'method':_0x5af5be(0x1d9),'body':JSON[_0x5af5be(0x720)](_0x225e7c),'mode':_0x5af5be(0x251)});fetch(_0x1ce396);}[_0x1f7a97(0x48e)](_0x473c6c){const _0x10072d=_0x1f7a97,_0x44c83f={'eventId':this[_0x10072d(0x25f)],'seatCount':this[_0x10072d(0x68d)],'availableSeatCount':this[_0x10072d(0x40b)],'schemaRequestTime':this['schemaRequestTime'],'schemaResponseSize':this[_0x10072d(0x1fc)],'pricesRequestTime':this[_0x10072d(0x39d)],'pricesResponseSize':this[_0x10072d(0x548)],'viewBox':_0x473c6c,'screenWidth':window[_0x10072d(0x67d)][_0x10072d(0x5ed)],'screenHeight':window['screen'][_0x10072d(0x2bd)],'initTime':this['initTime'],'pathUrl':this[_0x10072d(0x2e9)],'eventName':this['eventName'],'tags':this[_0x10072d(0x21d)],'version':VERSION};this['request']('/init',_0x44c83f);}[_0x1f7a97(0x57c)](_0x2fc44e){const _0x162af2=_0x1f7a97;this[_0x162af2(0x4ed)](_0x162af2(0x5b6),{'viewBox':_0x2fc44e});}['sendSeatSelect'](_0xce2a9f){const _0x4b6260=_0x1f7a97;this[_0x4b6260(0x4ed)](_0x4b6260(0x5a2),_0xce2a9f);}[_0x1f7a97(0x370)](_0x44c1dd){const _0x1aad87=_0x1f7a97;this[_0x1aad87(0x4ed)](_0x1aad87(0x4e8),_0x44c1dd);}},COLOR_UNAVAILABLE2='#bbb',DEFAULT_SIZE2=0x10,ACCESSIBLE_INCREASE_INDEX=1.625,theme2={'gridStep':0xe,'bgColor':'#f7f7f7','priceColors':[['#9C27B0','#673AB7',_0x1f7a97(0x40c),_0x1f7a97(0x52c),_0x1f7a97(0x221),_0x1f7a97(0x5d6),'#4CAF50',_0x1f7a97(0x4dc),'#FFC107',_0x1f7a97(0x412),_0x1f7a97(0x6ea),_0x1f7a97(0x687),_0x1f7a97(0x35f)],[_0x1f7a97(0x52c)],[_0x1f7a97(0x52c),'#FFC107'],['#673AB7',_0x1f7a97(0x52c),_0x1f7a97(0x1f4)]],'images':{'checkmark':_0x1f7a97(0x62c),'star':_0x1f7a97(0x2a3),'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':_0x1f7a97(0x5a6),'error':_0x1f7a97(0x60e)},'seatStyles':{'default':{'size':DEFAULT_SIZE2,'color':COLOR_UNAVAILABLE2,'accessible':{'size':DEFAULT_SIZE2*ACCESSIBLE_INCREASE_INDEX,'color':COLOR_UNAVAILABLE2,'imageId':_0x1f7a97(0x5a8)}},'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':'#fff'}},'selected':{'size':0x2a,'color':COLOR_UNAVAILABLE2,'imageId':_0x1f7a97(0x39e),'shadow':{'blur':0x14,'color':_0x1f7a97(0x568)}},'loading':{'size':0x2a,'color':_0x1f7a97(0x52c),'imageId':_0x1f7a97(0x62b),'shadow':{'blur':0x14,'color':_0x1f7a97(0x568)}},'error':{'size':0x2a,'color':_0x1f7a97(0x687),'imageId':'error','shadow':{'blur':0x14,'color':_0x1f7a97(0x568)}}},'svgSectionStyles':{'default':{},'unavailable':{'bgColor':_0x1f7a97(0x395)},'hovered':{'bgColor':'#c7c7c7','stroke':{'color':'#2196F3','width':_0x1f7a97(0x3a4),'opacity':0x1},'cursor':_0x1f7a97(0x413)},'selected':{'bgColor':_0x1f7a97(0x395),'stroke':{'color':_0x1f7a97(0x52c),'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':_0x33ee1d=>{const _0x1992c6=_0x1f7a97,_0x48d357=Object[_0x1992c6(0x541)]({},_0x33ee1d['style']);return _0x33ee1d[_0x1992c6(0x57d)][_0x1992c6(0x479)]&&!_0x33ee1d[_0x1992c6(0x57d)][_0x1992c6(0x4a7)]&&!_0x33ee1d['seat'][_0x1992c6(0x6c7)]&&(_0x48d357['color']=_0x33ee1d[_0x1992c6(0x566)][_0x1992c6(0x51b)][Number(_0x33ee1d[_0x1992c6(0x57d)][_0x1992c6(0x479)])][_0x1992c6(0x231)]),_0x48d357;},'lockedSeatsFilter':_0x307043=>!_0x307043[_0x1f7a97(0x479)]},defaults_default2=defaults2;import{createMachine as _0x52b55b,state as _0x3beb44,transition as _0x536b55,reduce as _0x513a36}from'robot3';var DEFAULT_SCALE2=0x1,context2=()=>({'scale':DEFAULT_SCALE2,'isEagleView':![],'events':[]}),dragToPan2=(_0x33b709,_0xd5a515)=>{const _0xa72f1a=_0x1f7a97,_0x446682={'type':_0xa72f1a(0x506),'delta':_0xd5a515[_0xa72f1a(0x5fb)],'isStart':_0xd5a515[_0xa72f1a(0x55e)]==='srcDragStart','isFinish':_0xd5a515[_0xa72f1a(0x55e)]===_0xa72f1a(0x3fd)};return{..._0x33b709,'events':[_0x446682]};},toStagePoint=(_0x6fcbbf,_0x11fc94)=>{const _0x57dcdb=_0x1f7a97,_0x49ba2c=_0x6fcbbf;if(_0x49ba2c[_0x57dcdb(0x21c)]){const _0x498875=_0x49ba2c[_0x57dcdb(0x2e4)]&&_0x49ba2c[_0x57dcdb(0x2e4)]()||window[_0x57dcdb(0x210)],_0x132446=_0x49ba2c['getHeight']&&_0x49ba2c[_0x57dcdb(0x31d)]()||window[_0x57dcdb(0x6ab)];return unprojectPointFrom3DView(_0x11fc94,{'width':_0x498875,'height':_0x132446},{'rotationZ':_0x49ba2c[_0x57dcdb(0x2aa)]||0x0,'perspectiveZ':_0x49ba2c['perspectiveZ']||0x0,'tiltX':_0x49ba2c[_0x57dcdb(0x695)]||0x0});}return _0x11fc94;},click2=(_0x3100e4,_0x1ac3bd)=>{const _0x536e7a=_0x1f7a97;var _0xc23ddf,_0x1f4efb,_0x24b59a,_0x1233a0,_0x1cb6c1;let _0x2c07e9=[];const _0x5db496=toStagePoint(_0x3100e4,_0x1ac3bd['point']);if((_0xc23ddf=_0x1ac3bd[_0x536e7a(0x641)])==null?void 0x0:_0xc23ddf['ga'])_0x2c07e9=[{'type':_0x536e7a(0x28b),'point':_0x5db496,'section':_0x1ac3bd['section']}];else{if(((_0x1f4efb=_0x1ac3bd[_0x536e7a(0x641)])==null?void 0x0:_0x1f4efb[_0x536e7a(0x6a3)])&&((_0x24b59a=_0x1ac3bd['section'])==null?void 0x0:_0x24b59a['type'])===_0x536e7a(0x366))_0x2c07e9=[{'type':'destSectionClick','point':_0x5db496,'section':_0x1ac3bd[_0x536e7a(0x641)]}];else{if((_0x1233a0=_0x3100e4['visibility'])==null?void 0x0:_0x1233a0['outline'][_0x536e7a(0x3e3)])_0x2c07e9=[{'type':_0x536e7a(0x61c),'scale':DEFAULT_SCALE2,'origin':_0x5db496}];else _0x1ac3bd[_0x536e7a(0x57d)]&&((_0x1cb6c1=_0x3100e4[_0x536e7a(0x5f4)])==null?void 0x0:_0x1cb6c1[_0x536e7a(0x57d)][_0x536e7a(0x3e3)])&&(_0x2c07e9=[{'type':_0x536e7a(0x1d4),'point':_0x5db496,'seat':_0x1ac3bd[_0x536e7a(0x57d)]}]);}}return{..._0x3100e4,'events':_0x2c07e9};},updateHover2=(_0xd65d2,_0x238722,_0x176a8a)=>{const _0x108229=_0x1f7a97;if(_0xd65d2[_0x108229(0x2fa)]&&_0xd65d2[_0x108229(0x2fa)][_0x108229(0x3b6)]===_0x238722&&_0xd65d2['hovered']['id']===_0x176a8a['id'])return _0xd65d2;const _0x1a48ff=[];if(_0xd65d2['hovered'])switch(_0xd65d2[_0x108229(0x2fa)]['targetType']){case'seat':_0x1a48ff[_0x108229(0x51f)]({'type':_0x108229(0x2ae)});break;case _0x108229(0x641):_0x1a48ff[_0x108229(0x51f)]({'type':_0x108229(0x270)});}switch(_0x238722){case _0x108229(0x57d):_0x1a48ff['push']({'type':'destSeatMouseEnter','seat':_0x176a8a});break;case'section':_0x1a48ff[_0x108229(0x51f)]({'type':_0x108229(0x556),'section':_0x176a8a});break;}return{..._0xd65d2,'hovered':{'targetType':_0x238722,'id':_0x176a8a['id']},'events':_0x1a48ff};},isSeatUnavailable=_0x785a24=>{const _0x3e1613=_0x1f7a97;return!!(_0x785a24['locked']||_0x785a24[_0x3e1613(0x61f)]===_0x3e1613(0x67c));},mouseMove2=(_0xaffa1f,_0x34c759)=>{const _0x408f6d=_0x1f7a97;var _0x4283d7,_0x551f98,_0x457d59;if((_0x4283d7=_0x34c759[_0x408f6d(0x641)])==null?void 0x0:_0x4283d7['ga'])return updateHover2(_0xaffa1f,_0x408f6d(0x641),_0x34c759['section']);else{if(_0x34c759['section']&&((_0x551f98=_0xaffa1f['visibility'])==null?void 0x0:_0x551f98['outline'][_0x408f6d(0x3e3)]))return updateHover2(_0xaffa1f,'section',_0x34c759['section']);else{if(_0x34c759[_0x408f6d(0x57d)]&&((_0x457d59=_0xaffa1f[_0x408f6d(0x5f4)])==null?void 0x0:_0x457d59['seat']['selectable'])&&!isSeatUnavailable(_0x34c759[_0x408f6d(0x57d)]))return updateHover2(_0xaffa1f,'seat',_0x34c759[_0x408f6d(0x57d)]);else{if(_0xaffa1f['hovered']){let _0x2a4e33;switch(_0xaffa1f['hovered'][_0x408f6d(0x3b6)]){case _0x408f6d(0x57d):_0x2a4e33={'type':_0x408f6d(0x2ae)};break;case _0x408f6d(0x641):_0x2a4e33={'type':_0x408f6d(0x270)};break;}return{..._0xaffa1f,'hovered':void 0x0,'events':[_0x2a4e33]};}}}}return _0xaffa1f;},contextChange2=(_0x13c229,_0x3fb35f)=>{const {type:_0xc741b2,..._0x259aba}=_0x3fb35f;return{..._0x13c229,..._0x259aba};},contextChangeTransition2=_0x536b55(_0x1f7a97(0x2b1),_0x1f7a97(0x310),_0x513a36(contextChange2)),machine2=_0x52b55b({'idle':_0x3beb44(contextChangeTransition2,_0x536b55(_0x1f7a97(0x595),_0x1f7a97(0x310),_0x513a36(click2)),_0x536b55(_0x1f7a97(0x6c5),'panning',_0x513a36(dragToPan2)),_0x536b55('srcMouseMove','idle',_0x513a36(mouseMove2))),'panning':_0x3beb44(contextChangeTransition2,_0x536b55(_0x1f7a97(0x4ac),_0x1f7a97(0x5ab),_0x513a36(dragToPan2)),_0x536b55('srcDragEnd',_0x1f7a97(0x310),_0x513a36(dragToPan2)))},context2),machine_default2=machine2,round2=_0x163041=>Math[_0x1f7a97(0x3d5)](_0x163041*0x64)/0x64,SeatmapBookingRenderer=class extends Renderer{constructor(_0x4b57aa,_0x25b066,_0x4d0a40){const _0x1945a4=_0x1f7a97;super(_0x4b57aa,machine_default2,mergeSettings(defaults_default2,_0x25b066));(_0x25b066==null?void 0x0:_0x25b066['debug'])&&console['info']('SeatmapBookingRenderer\x20constructor',_0x25b066);this[_0x1945a4(0x21d)]=_0x4d0a40;const _0x15dae8=_0x25b066&&_0x25b066['env'];let _0x35ec74=window[_0x1945a4(0x2a6)][_0x1945a4(0x4ec)]+'/api/public/v1.0/';switch(_0x15dae8){case _0x1945a4(0x6b1):_0x35ec74=window['location'][_0x1945a4(0x4ec)]+_0x1945a4(0x1ab);break;case'stage':_0x35ec74=_0x1945a4(0x495);break;default:_0x35ec74=_0x1945a4(0x576);}const _0x890606=_0x25b066&&_0x25b066['baseUrl']||_0x35ec74,_0xa13c50=_0x25b066&&_0x25b066[_0x1945a4(0x55a)];if(!_0xa13c50)throw new Error(_0x1945a4(0x63d));this['apiClient']=new BookingApiClient({'baseUrl':_0x890606,'publicKey':_0xa13c50,'debug':_0x25b066==null?void 0x0:_0x25b066['debug']});}['getViewBox'](){const _0x192e51=_0x1f7a97,_0x4dac91=window[_0x192e51(0x1bb)];return{'width':this[_0x192e51(0x2e4)](),'height':this[_0x192e51(0x31d)](),'scale':round2(this[_0x192e51(0x566)][_0x192e51(0x478)]/_0x4dac91),'translateX':round2(this[_0x192e51(0x566)][_0x192e51(0x2b5)]['x']/_0x4dac91),'translateY':round2(this[_0x192e51(0x566)][_0x192e51(0x2b5)]['y']/_0x4dac91)};}async[_0x1f7a97(0x206)](_0x35d45a,_0x46662d){const _0x2bff7e=_0x1f7a97;var _0x433125;this[_0x2bff7e(0x2c0)]=new BookingStats(),this[_0x2bff7e(0x2c0)][_0x2bff7e(0x25f)]=_0x35d45a;let [_0x541ebb,_0x1b81b6,_0x43a27b]=await Promise[_0x2bff7e(0x466)]([this[_0x2bff7e(0x666)][_0x2bff7e(0x47b)](_0x35d45a),this[_0x2bff7e(0x666)]['fetchPricesForEvent'](_0x35d45a),this[_0x2bff7e(0x666)]['fetchRowsSvgForEvent'](_0x35d45a)]);_0x46662d&&([_0x541ebb,_0x1b81b6]=this[_0x2bff7e(0x729)](_0x46662d,_0x541ebb,_0x1b81b6));const _0x50bb17=this[_0x2bff7e(0x566)]['settings'][_0x2bff7e(0x298)];this[_0x2bff7e(0x566)]['settings'][_0x2bff7e(0x298)]=()=>{const _0xeeb5f4=_0x2bff7e;this[_0xeeb5f4(0x2c0)][_0xeeb5f4(0x19e)]===-0x1?(this[_0xeeb5f4(0x2c0)][_0xeeb5f4(0x19e)]=Date['now']()-this[_0xeeb5f4(0x2c0)][_0xeeb5f4(0x378)],this['stats'][_0xeeb5f4(0x48e)](this[_0xeeb5f4(0x6a0)]())):this[_0xeeb5f4(0x2c0)][_0xeeb5f4(0x57c)](this['getViewBox']());if(_0x50bb17)_0x50bb17();};if(!this['isRunning'])return;if(this[_0x2bff7e(0x566)]['settings'][_0x2bff7e(0x5d7)]&&(_0x43a27b==null?void 0x0:_0x43a27b[_0x2bff7e(0x526)])){const _0x3b5fdf=_0x2bff7e(0x437),_0x117065=this['context'][_0x2bff7e(0x1a3)]['onSchemaDataLoaded'];this[_0x2bff7e(0x566)][_0x2bff7e(0x1a3)][_0x2bff7e(0x36e)]=()=>{const _0x54627b=_0x2bff7e;try{this['outlineLayer']&&typeof this[_0x54627b(0x23a)][_0x54627b(0x5f9)]==='function'&&this[_0x54627b(0x23a)][_0x54627b(0x5f9)](_0x43a27b['data'],_0x3b5fdf);}catch(_0x12f77f){console[_0x54627b(0x404)](_0x54627b(0x421),_0x12f77f);}if(_0x117065)_0x117065();};}this[_0x2bff7e(0x230)](_0x541ebb),this['setPricesData'](_0x1b81b6),this[_0x2bff7e(0x566)][_0x2bff7e(0x1cd)](_0x1b81b6),this[_0x2bff7e(0x3ea)](),this[_0x2bff7e(0x2c0)]['seatCount']=this[_0x2bff7e(0x566)][_0x2bff7e(0x555)][_0x2bff7e(0x420)],this[_0x2bff7e(0x2c0)][_0x2bff7e(0x40b)]=this['context'][_0x2bff7e(0x555)][_0x2bff7e(0x4c7)](_0x289c80=>_0x289c80[_0x2bff7e(0x479)])[_0x2bff7e(0x420)],this[_0x2bff7e(0x2c0)][_0x2bff7e(0x30b)]=_0x541ebb[_0x2bff7e(0x615)],this[_0x2bff7e(0x2c0)][_0x2bff7e(0x1fc)]=_0x541ebb[_0x2bff7e(0x5f1)],this[_0x2bff7e(0x2c0)]['pricesRequestTime']=_0x1b81b6['requestTime'],this[_0x2bff7e(0x2c0)][_0x2bff7e(0x548)]=_0x1b81b6[_0x2bff7e(0x5f1)],this[_0x2bff7e(0x2c0)][_0x2bff7e(0x2e9)]=window[_0x2bff7e(0x2a6)][_0x2bff7e(0x42c)],this[_0x2bff7e(0x2c0)][_0x2bff7e(0x45a)]=(_0x433125=_0x541ebb['configuration'])==null?void 0x0:_0x433125['eventName'],this[_0x2bff7e(0x2c0)][_0x2bff7e(0x21d)]=this[_0x2bff7e(0x21d)];const _0x49ea9d=this[_0x2bff7e(0x566)][_0x2bff7e(0x1a3)][_0x2bff7e(0x446)];this[_0x2bff7e(0x566)]['settings'][_0x2bff7e(0x446)]=async _0x1d7637=>{const _0x39e4d0=_0x2bff7e;let _0x4d76de=void 0x0;if(_0x49ea9d)_0x4d76de=await _0x49ea9d(_0x1d7637);return this[_0x39e4d0(0x2c0)][_0x39e4d0(0x324)](this[_0x39e4d0(0x1ec)](_0x1d7637,_0x4d76de!==![])),_0x4d76de;};const _0x354fde=this[_0x2bff7e(0x566)]['settings'][_0x2bff7e(0x64e)];this[_0x2bff7e(0x566)]['settings'][_0x2bff7e(0x64e)]=async _0xf890dc=>{const _0x4ebccf=_0x2bff7e;let _0x3f789c=void 0x0;if(_0x354fde)_0x3f789c=await _0x354fde(_0xf890dc);return this[_0x4ebccf(0x2c0)][_0x4ebccf(0x370)](this['createStatsSeatRequest'](_0xf890dc,_0x3f789c!==![])),_0x3f789c;};}[_0x1f7a97(0x1ec)](_0x185354,_0x1bbf18){const _0x26b0eb=_0x1f7a97;return{'key':_0x185354[_0x26b0eb(0x4c0)],'seatId':_0x185354['id'],'sectionId':_0x185354[_0x26b0eb(0x60b)],'isSuccess':_0x1bbf18,'price':_0x185354[_0x26b0eb(0x6a3)],'ax':round2(_0x185354['x']),'ay':round2(_0x185354['y']),'viewBox':this[_0x26b0eb(0x6a0)]()};}['leaveSectionOnly'](_0x4ca87c,_0xa4e1eb,_0x5539b9){const _0x4a2ab5=_0x1f7a97,_0x58e7e1=_0xa4e1eb[_0x4a2ab5(0x555)][_0x4a2ab5(0x4c7)](_0x5d90be=>_0x5d90be[_0x4a2ab5(0x71a)]===_0x4ca87c),_0x2d78db=_0xa4e1eb[_0x4a2ab5(0x4d5)][_0x4a2ab5(0x4c7)](_0x14d578=>_0x14d578['sectorId']===_0x4ca87c),_0x3b1682=_0xa4e1eb['sectors'][_0x4a2ab5(0x4c7)](_0x45c6a9=>_0x45c6a9['id']===_0x4ca87c);let _0x1b4898=Infinity,_0x2fb0e3=Infinity,_0xbafae1=-Infinity,_0xda3ff4=-Infinity;for(let _0x9be3c8=0x0;_0x9be3c8<_0x58e7e1['length'];_0x9be3c8++){const _0x438119=_0x58e7e1[_0x9be3c8];if(_0x438119['x']<_0x1b4898)_0x1b4898=_0x438119['x'];if(_0x438119['x']>_0xbafae1)_0xbafae1=_0x438119['x'];if(_0x438119['y']<_0x2fb0e3)_0x2fb0e3=_0x438119['y'];if(_0x438119['y']>_0xda3ff4)_0xda3ff4=_0x438119['y'];}const _0x17cab3=0x1c;_0x1b4898-=_0x17cab3,_0xbafae1+=_0x17cab3,_0x2fb0e3-=_0x17cab3,_0xda3ff4+=_0x17cab3;const _0x11f8f4={'seats':_0x58e7e1,'rows':_0x2d78db,'sectors':_0x3b1682,'background':{'svg':'<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22></svg>','viewBox':{'x':_0x1b4898,'y':_0x2fb0e3,'width':_0xbafae1-_0x1b4898,'height':_0xda3ff4-_0x2fb0e3}}};return[_0x11f8f4,_0x5539b9];}};import'whatwg-fetch';var BookingApiClient=class{constructor(_0x4aabac){const _0x412546=_0x1f7a97;this[_0x412546(0x1a3)]={..._0x4aabac};}async[_0x1f7a97(0x670)](_0x4936a4){const _0x1f6ef7=_0x1f7a97,_0x144e97=await this[_0x1f6ef7(0x4ed)](_0x1f6ef7(0x38d)+_0x4936a4+_0x1f6ef7(0x209)+this[_0x1f6ef7(0x1a3)][_0x1f6ef7(0x55a)]);return this['unpackSchemaDTO'](_0x144e97);}async[_0x1f7a97(0x350)](_0x47d5fb){const _0x56184f=_0x1f7a97,_0x43c7a2=await this['request'](_0x56184f(0x4ae)+_0x47d5fb+'&publicKey='+this['settings'][_0x56184f(0x55a)]);_0x43c7a2[_0x56184f(0x54a)]=this[_0x56184f(0x3ab)](_0x43c7a2[_0x56184f(0x6af)]);const {seatmap:_0x1419d7,..._0x927f3}=_0x43c7a2;return _0x927f3;}async[_0x1f7a97(0x47b)](_0x31604d){const _0x47eca1=_0x1f7a97,_0x110057=this[_0x47eca1(0x1a3)][_0x47eca1(0x332)]?_0x47eca1(0x235)+this[_0x47eca1(0x1a3)][_0x47eca1(0x332)]:'',_0x51c523=await this[_0x47eca1(0x4ed)](_0x47eca1(0x530)+_0x31604d+_0x47eca1(0x209)+this[_0x47eca1(0x1a3)][_0x47eca1(0x55a)]+_0x47eca1(0x5d0)+_0x110057);return this[_0x47eca1(0x3ab)](_0x51c523);}[_0x1f7a97(0x3ab)](_0x21426d){const _0x3cce68=_0x1f7a97,_0x296b3e=_0x21426d['background'];if(_0x296b3e==null?void 0x0:_0x296b3e[_0x3cce68(0x39a)]){const _0x2ffce5=_0x296b3e[_0x3cce68(0x39a)][_0x3cce68(0x33b)](/<svg[^>]*>/);if(_0x2ffce5){const _0x9d783b=_0x2ffce5[0x0];!_0x9d783b[_0x3cce68(0x6df)]('height=\x22')&&!_0x9d783b[_0x3cce68(0x6df)](_0x3cce68(0x2f4))&&(_0x296b3e[_0x3cce68(0x39a)]=_0x296b3e[_0x3cce68(0x39a)]['replace'](_0x3cce68(0x31a),_0x3cce68(0x708)+_0x296b3e[_0x3cce68(0x1ad)][_0x3cce68(0x5ed)]+_0x3cce68(0x4b3)+_0x296b3e[_0x3cce68(0x1ad)]['height']+_0x3cce68(0x1ee)));}}return{..._0x21426d,'plainSeats':void 0x0,'seats':this['restoreSeats'](_0x21426d['plainSeats'],_0x21426d==null?void 0x0:_0x21426d['configuration']),'rows':this[_0x3cce68(0x411)](_0x21426d[_0x3cce68(0x4d5)]),'sectors':this['restoreIds'](_0x21426d[_0x3cce68(0x55f)])};}async[_0x1f7a97(0x5e0)](_0x5e4676){const _0x5df602=_0x1f7a97;return this[_0x5df602(0x4ed)](_0x5df602(0x27c)+_0x5e4676+'&publicKey='+this[_0x5df602(0x1a3)]['publicKey']);}async[_0x1f7a97(0x410)](_0x2bc281){const _0x5baffe=_0x1f7a97;return this[_0x5baffe(0x570)](_0x5baffe(0x692)+_0x2bc281+_0x5baffe(0x209)+this[_0x5baffe(0x1a3)][_0x5baffe(0x55a)]);}async[_0x1f7a97(0x4ed)](_0x300919){const _0x90e8ea=_0x1f7a97;try{const _0x2d7664=new Request(concatUrlParts(this[_0x90e8ea(0x1a3)]['baseUrl'],_0x300919),{'method':_0x90e8ea(0x3f2)}),_0x16a609=Date[_0x90e8ea(0x37d)](),_0x34de00=await fetch(_0x2d7664),_0x1ea5b3=Date[_0x90e8ea(0x37d)]()-_0x16a609;if(!_0x34de00['ok'])throw new Error(_0x90e8ea(0x3f5)+_0x34de00[_0x90e8ea(0x351)]+':\x20'+_0x34de00['statusText']);const _0x38dec0=await _0x34de00[_0x90e8ea(0x4f6)]();try{const _0x277c55=JSON[_0x90e8ea(0x60a)](_0x38dec0);return _0x277c55[_0x90e8ea(0x615)]=_0x1ea5b3,_0x277c55[_0x90e8ea(0x5f1)]=_0x38dec0['length'],_0x277c55;}catch(_0x32e545){throw new Error(_0x90e8ea(0x46c)+_0x32e545['message']);}}catch(_0x164373){console[_0x90e8ea(0x62b)](_0x90e8ea(0x28e)+_0x300919+':',_0x164373);throw _0x164373;}}async[_0x1f7a97(0x570)](_0x5758d0){const _0x148c48=_0x1f7a97;try{const _0x283883=new Request(concatUrlParts(this[_0x148c48(0x1a3)]['baseUrl'],_0x5758d0),{'method':_0x148c48(0x3f2)}),_0x1b9564=Date[_0x148c48(0x37d)](),_0x1f8669=await fetch(_0x283883),_0x5d8626=Date[_0x148c48(0x37d)]()-_0x1b9564;if(!_0x1f8669['ok'])throw new Error('API\x20request\x20failed\x20with\x20status\x20'+_0x1f8669[_0x148c48(0x351)]+':\x20'+_0x1f8669[_0x148c48(0x3cf)]);const _0x571165=await _0x1f8669['text'](),_0x43c989={'data':_0x571165,'requestTime':_0x5d8626,'responseSize':_0x571165['length']};return _0x43c989;}catch(_0x432d13){console[_0x148c48(0x62b)](_0x148c48(0x327)+_0x5758d0+':',_0x432d13);throw _0x432d13;}}[_0x1f7a97(0x567)](_0x9e3809,_0x3cb416){const _0x4abea4=_0x1f7a97;var _0x361b43,_0x453336;const _0x29e4e7=[];let _0x59d005=0x0,_0x3ecdb3=0x0,_0xc060d4=0x0,_0x2540d9=0x0,_0x109145=0x0;for(let _0x1de0b8=0x0;_0x1de0b8<_0x9e3809[_0x4abea4(0x24a)][_0x4abea4(0x420)];_0x1de0b8++){const _0x484fe8=_0x9e3809[_0x4abea4(0x24a)][_0x1de0b8]+_0x59d005,_0xd5b33a=_0x9e3809['x'][_0x1de0b8]+_0x3ecdb3,_0x3afb68=_0x9e3809['y'][_0x1de0b8]+_0xc060d4,_0x29f0aa=_0x9e3809[_0x4abea4(0x41a)][_0x1de0b8],_0xfd469a=_0x9e3809[_0x4abea4(0x43f)][_0x1de0b8]+_0x2540d9,_0x3cb7d3=_0x9e3809[_0x4abea4(0x2a1)][_0x1de0b8]+_0x109145,_0x29ac50=(_0x361b43=_0x3cb416==null?void 0x0:_0x3cb416['accessible'])==null?void 0x0:_0x361b43[_0x4abea4(0x6df)](_0x484fe8),_0x26beac=(_0x453336=_0x3cb416==null?void 0x0:_0x3cb416[_0x4abea4(0x3ff)])==null?void 0x0:_0x453336[_0x4abea4(0x6df)](_0x484fe8);_0x29e4e7[_0x4abea4(0x51f)]({'id':_0x484fe8,'x':_0xd5b33a,'y':_0x3afb68,'name':_0x29f0aa,'rowId':_0xfd469a,'sectorId':_0x3cb7d3,'isAccessible':_0x29ac50,'isMarked':_0x26beac}),_0x59d005=_0x484fe8,_0x3ecdb3=_0xd5b33a,_0xc060d4=_0x3afb68,_0x2540d9=_0xfd469a,_0x109145=_0x3cb7d3;}return _0x29e4e7;}['restoreIds'](_0x1c8df0){const _0x5b0970=_0x1f7a97,_0x525c78=[];let _0x444346=0x0;for(let _0x45fc60=0x0;_0x45fc60<_0x1c8df0[_0x5b0970(0x420)];_0x45fc60++){const _0x45ec78=_0x1c8df0[_0x45fc60],_0x4f1583=_0x45ec78['id']+_0x444346;_0x525c78[_0x5b0970(0x51f)]({..._0x45ec78,'id':_0x4f1583}),_0x444346=_0x4f1583;}return _0x525c78;}},concatUrlParts=(_0x4e0e59,_0x4464aa)=>{const _0x46378c=_0x1f7a97;return _0x4e0e59['replace'](/\/$/,'')+'/'+_0x4464aa[_0x46378c(0x531)](/^\//,'');};export{BookingApiClient,DestEventType,Renderer,RendererSelectMode,RendererTargetType,RotationAnimation,SeatmapAdminRenderer,SeatmapBookingRenderer,SrcEventType,VERSION,convertPricesToColored,convertPricesToColoredById,defaultZoomSettings,mergeSettings,sortPrices};
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};