@appius-fr/apx 2.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/APX.mjs +117 -0
- package/README.md +115 -0
- package/dist/APX.dev.mjs +1637 -0
- package/dist/APX.mjs +1 -0
- package/dist/APX.prod.mjs +1 -0
- package/modules/common.mjs +18 -0
- package/modules/dialog/README.md +195 -0
- package/modules/dialog/css/dialog.css +118 -0
- package/modules/dialog/dialog.mjs +211 -0
- package/modules/dialog/html/dialog.html +8 -0
- package/modules/listen/listen.mjs +166 -0
- package/modules/tristate/README.md +95 -0
- package/modules/tristate/css/tristate.css +25 -0
- package/modules/tristate/tristate.mjs +172 -0
- package/package.json +80 -0
package/dist/APX.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function a0_0x13e5(_0x15d863,_0x1032ea){var _0x3ec403=a0_0x3ec4();return a0_0x13e5=function(_0x13e5f5,_0x39a2c7){_0x13e5f5=_0x13e5f5-0x10c;var _0x397516=_0x3ec403[_0x13e5f5];return _0x397516;},a0_0x13e5(_0x15d863,_0x1032ea);}var a0_0x2e29c7=a0_0x13e5;(function(_0x2fc493,_0x29f610){var _0x332e5d=a0_0x13e5,_0x56d92b=_0x2fc493();while(!![]){try{var _0x38e865=parseInt(_0x332e5d(0x117))/0x1*(-parseInt(_0x332e5d(0x1c5))/0x2)+-parseInt(_0x332e5d(0x16e))/0x3*(parseInt(_0x332e5d(0x163))/0x4)+-parseInt(_0x332e5d(0x143))/0x5*(parseInt(_0x332e5d(0x180))/0x6)+-parseInt(_0x332e5d(0x119))/0x7*(-parseInt(_0x332e5d(0x127))/0x8)+-parseInt(_0x332e5d(0x16a))/0x9+-parseInt(_0x332e5d(0x14d))/0xa*(-parseInt(_0x332e5d(0x1c7))/0xb)+parseInt(_0x332e5d(0x135))/0xc*(parseInt(_0x332e5d(0x1d0))/0xd);if(_0x38e865===_0x29f610)break;else _0x56d92b['push'](_0x56d92b['shift']());}catch(_0x4d72e9){_0x56d92b['push'](_0x56d92b['shift']());}}}(a0_0x3ec4,0xb2cf9));var e={0x265:(_0x291473,_0x65fafb,_0x44f9fb)=>{_0x44f9fb['d'](_0x65fafb,{'Z':()=>_0x384fc7});var _0x42239d=_0x44f9fb(0x51),_0x56cf81=_0x44f9fb['n'](_0x42239d),_0x4c9ac5=_0x44f9fb(0x285),_0x44bb3f=_0x44f9fb['n'](_0x4c9ac5)()(_0x56cf81());_0x44bb3f['push']([_0x291473['id'],'/*\x20Dialog\x20styling\x20*/\x0a.APX-dialog\x20{\x0a\x20\x20\x20\x20display:\x20none;\x0a\x20\x20\x20\x20position:\x20fixed;\x0a\x20\x20\x20\x20z-index:\x201002;\x0a\x20\x20\x20\x20left:\x200;\x0a\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20height:\x20100%;\x0a\x20\x20\x20\x20overflow:\x20auto;\x0a\x20\x20\x20\x20background-color:\x20rgba(0,\x200,\x200,\x200.4);\x0a\x20\x20\x20\x20/*\x20Dimmed\x20background\x20for\x20focus\x20on\x20dialog\x20*/\x0a}\x0a\x0a.APX-dialog-content\x20{\x0a\x20\x20\x20\x20background-color:\x20#fefefe;\x0a\x20\x20\x20\x20padding:\x2040px;\x0a\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20width:\x20auto;\x0a\x20\x20\x20\x20min-width:\x20300px;\x0a\x20\x20\x20\x20max-width:\x2080%;\x0a\x20\x20\x20\x20margin:\x20auto;\x0a\x20\x20\x20\x20border-radius:\x208px;\x0a\x20\x20\x20\x20box-shadow:\x200px\x206px\x2020px\x20rgba(0,\x200,\x200,\x200.1);\x0a\x20\x20\x20\x20font-family:\x20\x27Helvetica\x20Neue\x27,\x20Arial,\x20sans-serif;\x0a}\x0a\x0ah2.APX-dialog-title{\x0a\x20\x20\x20\x20margin-top:0;\x0a}\x0a\x0a.APX-close-dialog\x20{\x0a\x20\x20\x20\x20color:\x20#aaa;\x0a\x20\x20\x20\x20float:\x20right;\x0a\x20\x20\x20\x20font-size:\x2024px;\x0a\x20\x20\x20\x20margin-top:\x20-10px;\x0a\x20\x20\x20\x20/*\x20Adjust\x20positioning\x20*/\x0a\x20\x20\x20\x20margin-right:\x20-10px;\x0a}\x0a\x0a.APX-close-dialog:hover,\x0a.APX-close-dialog:focus\x20{\x0a\x20\x20\x20\x20color:\x20#333;\x0a\x20\x20\x20\x20/*\x20Darker\x20color\x20on\x20hover/focus\x20*/\x0a\x20\x20\x20\x20cursor:\x20pointer;\x0a}\x0a\x0a/*\x20Input\x20fields\x20styling\x20*/\x0a.APX-dialog-content\x20input[type=\x22text\x22],\x0a.APX-dialog-content\x20input[type=\x22number\x22],\x0a.APX-dialog-content\x20input[type=\x22date\x22],\x0a.APX-dialog-content\x20input[type=\x22datetime-local\x22]\x20{\x0a\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20padding:\x2010px;\x0a\x20\x20\x20\x20margin-bottom:\x2020px;\x0a\x20\x20\x20\x20border:\x201px\x20solid\x20#ccc;\x0a\x20\x20\x20\x20border-radius:\x204px;\x0a\x20\x20\x20\x20font-family:\x20\x27Helvetica\x20Neue\x27,\x20Arial,\x20sans-serif;\x0a\x20\x20\x20\x20font-size:\x2016px;\x0a\x20\x20\x20\x20box-sizing:\x20border-box;\x0a\x20\x20\x20\x20transition:\x20border-color\x200.3s;\x0a}\x0a\x0a.APX-dialog-content\x20input[type=\x22text\x22]:focus,\x0a.APX-dialog-content\x20input[type=\x22number\x22]:focus,\x0a.APX-dialog-content\x20input[type=\x22date\x22]:focus,\x0a.APX-dialog-content\x20input[type=\x22datetime-local\x22]:focus\x20{\x0a\x20\x20\x20\x20border-color:\x20#2C3E50;\x0a\x20\x20\x20\x20/*\x20Deep\x20Blue\x20Color\x20*/\x0a\x20\x20\x20\x20outline:\x20none;\x0a}\x0a\x0a/*\x20Button\x20in\x20the\x20dialog\x20*/\x0a.APX-dialog-button-container\x20button\x20{\x0a\x20\x20\x20\x20background-color:\x20#2C3E50;\x0a\x20\x20\x20\x20color:\x20#ECF0F1;\x0a\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20padding:\x2010px\x2020px;\x0a\x20\x20\x20\x20border-radius:\x205px;\x0a\x20\x20\x20\x20font-size:\x2016px;\x0a\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20transition:\x20background-color\x200.3s;\x0a}\x0a\x0a.APX-dialog-button-container\x20button:hover\x20{\x0a\x20\x20\x20\x20background-color:\x20#34495E;\x0a}\x0a\x0a.APX-dialog-button-container\x20{\x0a\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20gap:\x2010px;\x0a\x20\x20\x20\x20margin-top:1em;\x0a\x20\x20\x20\x20/*\x20spacing\x20between\x20buttons\x20*/\x0a}\x0a\x0a/*\x20Loading\x20indicator\x20*/\x0a.APX-dialog-loading-indicator\x20{\x0a\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20justify-content:\x20center;\x0a\x20\x20\x20\x20align-items:\x20center;\x0a\x20\x20\x20\x20height:\x20100px;\x0a\x20\x20\x20\x20width:\x20100%;\x0a}\x0a\x0a.APX-dialog-loading-indicator::before\x20{\x0a\x20\x20\x20\x20content:\x20\x27\x27;\x0a\x20\x20\x20\x20width:\x2040px;\x0a\x20\x20\x20\x20height:\x2040px;\x0a\x20\x20\x20\x20border:\x204px\x20solid\x20#f3f3f3;\x0a\x20\x20\x20\x20border-top:\x204px\x20solid\x20#2C3E50;\x0a\x20\x20\x20\x20border-radius:\x2050%;\x0a\x20\x20\x20\x20animation:\x20APX-dialog-spin\x201s\x20linear\x20infinite;\x0a}\x0a\x0a@keyframes\x20APX-dialog-spin\x20{\x0a\x20\x20\x20\x200%\x20{\x20transform:\x20rotate(0deg);\x20}\x0a\x20\x20\x20\x20100%\x20{\x20transform:\x20rotate(360deg);\x20}\x0a}','']);const _0x384fc7=_0x44bb3f;},0x23a:(_0x5761d9,_0x49a2ae,_0x4ccfcd)=>{var _0x9ce221=a0_0x13e5;_0x4ccfcd['d'](_0x49a2ae,{'Z':()=>_0x528202});var _0x7ed387=_0x4ccfcd(0x51),_0x507a58=_0x4ccfcd['n'](_0x7ed387),_0x38dff0=_0x4ccfcd(0x285),_0x396e38=_0x4ccfcd['n'](_0x38dff0),_0x45dd1c=_0x4ccfcd(0x29b),_0xfa4cb4=_0x4ccfcd['n'](_0x45dd1c),_0x3647e8=new URL(_0x4ccfcd(0x1d),_0x4ccfcd['b']),_0x2d2bdf=new URL(_0x4ccfcd(0x391),_0x4ccfcd['b']),_0x239cec=new URL(_0x4ccfcd(0x104),_0x4ccfcd['b']),_0x50a6c8=_0x396e38()(_0x507a58()),_0x2cc140=_0xfa4cb4()(_0x3647e8),_0x3aa658=_0xfa4cb4()(_0x2d2bdf),_0x5e7883=_0xfa4cb4()(_0x239cec);_0x50a6c8[_0x9ce221(0x111)]([_0x5761d9['id'],_0x9ce221(0x191)+_0x2cc140+');\x0a}\x0a.apx-tristate.checked\x20{\x0a\x20\x20\x20\x20background-image:\x20url('+_0x3aa658+_0x9ce221(0x125)+_0x5e7883+_0x9ce221(0x1a4),'']);const _0x528202=_0x50a6c8;},0x285:_0x228227=>{var _0x1a0810=a0_0x13e5;_0x228227[_0x1a0810(0x1b9)]=function(_0x5d6708){var _0x554576=_0x1a0810,_0x868bcd=[];return _0x868bcd[_0x554576(0x12a)]=function(){var _0x13bc13=_0x554576;return this[_0x13bc13(0x18b)](function(_0x1c85c4){var _0x5656c3=_0x13bc13,_0x40a3ca='',_0x1638e3=void 0x0!==_0x1c85c4[0x5];return _0x1c85c4[0x4]&&(_0x40a3ca+=_0x5656c3(0x18a)['concat'](_0x1c85c4[0x4],_0x5656c3(0x185))),_0x1c85c4[0x2]&&(_0x40a3ca+=_0x5656c3(0x1b1)[_0x5656c3(0x183)](_0x1c85c4[0x2],'\x20{')),_0x1638e3&&(_0x40a3ca+=_0x5656c3(0x188)[_0x5656c3(0x183)](_0x1c85c4[0x5]['length']>0x0?'\x20'[_0x5656c3(0x183)](_0x1c85c4[0x5]):'','\x20{')),_0x40a3ca+=_0x5d6708(_0x1c85c4),_0x1638e3&&(_0x40a3ca+='}'),_0x1c85c4[0x2]&&(_0x40a3ca+='}'),_0x1c85c4[0x4]&&(_0x40a3ca+='}'),_0x40a3ca;})[_0x13bc13(0x110)]('');},_0x868bcd['i']=function(_0x41ddcd,_0x51ce32,_0x32e434,_0x3ac6ed,_0x4d564e){var _0x1ccf1f=_0x554576;'string'==typeof _0x41ddcd&&(_0x41ddcd=[[null,_0x41ddcd,void 0x0]]);var _0x3329a0={};if(_0x32e434)for(var _0x48ef95=0x0;_0x48ef95<this[_0x1ccf1f(0x189)];_0x48ef95++){var _0x30d312=this[_0x48ef95][0x0];null!=_0x30d312&&(_0x3329a0[_0x30d312]=!0x0);}for(var _0x3666b3=0x0;_0x3666b3<_0x41ddcd[_0x1ccf1f(0x189)];_0x3666b3++){var _0xe801ac=[][_0x1ccf1f(0x183)](_0x41ddcd[_0x3666b3]);_0x32e434&&_0x3329a0[_0xe801ac[0x0]]||(void 0x0!==_0x4d564e&&(void 0x0===_0xe801ac[0x5]||(_0xe801ac[0x1]=_0x1ccf1f(0x188)[_0x1ccf1f(0x183)](_0xe801ac[0x5]['length']>0x0?'\x20'[_0x1ccf1f(0x183)](_0xe801ac[0x5]):'','\x20{')[_0x1ccf1f(0x183)](_0xe801ac[0x1],'}')),_0xe801ac[0x5]=_0x4d564e),_0x51ce32&&(_0xe801ac[0x2]?(_0xe801ac[0x1]=_0x1ccf1f(0x1b1)[_0x1ccf1f(0x183)](_0xe801ac[0x2],'\x20{')['concat'](_0xe801ac[0x1],'}'),_0xe801ac[0x2]=_0x51ce32):_0xe801ac[0x2]=_0x51ce32),_0x3ac6ed&&(_0xe801ac[0x4]?(_0xe801ac[0x1]='@supports\x20('[_0x1ccf1f(0x183)](_0xe801ac[0x4],_0x1ccf1f(0x185))[_0x1ccf1f(0x183)](_0xe801ac[0x1],'}'),_0xe801ac[0x4]=_0x3ac6ed):_0xe801ac[0x4]=''[_0x1ccf1f(0x183)](_0x3ac6ed)),_0x868bcd['push'](_0xe801ac));}},_0x868bcd;};},0x29b:_0x42b7a9=>{var _0x1891dd=a0_0x13e5;_0x42b7a9[_0x1891dd(0x1b9)]=function(_0x1ada2d,_0x59d98e){var _0x44c19c=_0x1891dd;return _0x59d98e||(_0x59d98e={}),_0x1ada2d?(_0x1ada2d=String(_0x1ada2d[_0x44c19c(0x14b)]?_0x1ada2d[_0x44c19c(0x178)]:_0x1ada2d),/^['"].*['"]$/[_0x44c19c(0x139)](_0x1ada2d)&&(_0x1ada2d=_0x1ada2d[_0x44c19c(0x1a6)](0x1,-0x1)),_0x59d98e[_0x44c19c(0x121)]&&(_0x1ada2d+=_0x59d98e[_0x44c19c(0x121)]),/["'() \t\n]|(%20)/['test'](_0x1ada2d)||_0x59d98e['needQuotes']?'\x22'[_0x44c19c(0x183)](_0x1ada2d['replace'](/"/g,'\x5c\x22')['replace'](/\n/g,'\x5cn'),'\x22'):_0x1ada2d):_0x1ada2d;};},0x51:_0x3a0247=>{var _0x254f55=a0_0x13e5;_0x3a0247[_0x254f55(0x1b9)]=function(_0x3837f7){return _0x3837f7[0x1];};},0x17b:_0x5a929e=>{var _0x54dce1=a0_0x13e5,_0x4722a7=[];function _0x2a7ce5(_0xb0fa9b){var _0x34c1d1=a0_0x13e5;for(var _0x152b84=-0x1,_0x825407=0x0;_0x825407<_0x4722a7[_0x34c1d1(0x189)];_0x825407++)if(_0x4722a7[_0x825407][_0x34c1d1(0x113)]===_0xb0fa9b){_0x152b84=_0x825407;break;}return _0x152b84;}function _0x585e62(_0x11206e,_0x2fb678){var _0x2403c1=a0_0x13e5;for(var _0x4a6aae={},_0x491722=[],_0x40a313=0x0;_0x40a313<_0x11206e[_0x2403c1(0x189)];_0x40a313++){var _0xbec5=_0x11206e[_0x40a313],_0x361276=_0x2fb678['base']?_0xbec5[0x0]+_0x2fb678[_0x2403c1(0x13e)]:_0xbec5[0x0],_0xf16888=_0x4a6aae[_0x361276]||0x0,_0x517c9f=''['concat'](_0x361276,'\x20')[_0x2403c1(0x183)](_0xf16888);_0x4a6aae[_0x361276]=_0xf16888+0x1;var _0xf9b07d=_0x2a7ce5(_0x517c9f),_0x50b8ae={'css':_0xbec5[0x1],'media':_0xbec5[0x2],'sourceMap':_0xbec5[0x3],'supports':_0xbec5[0x4],'layer':_0xbec5[0x5]};if(-0x1!==_0xf9b07d)_0x4722a7[_0xf9b07d][_0x2403c1(0x16b)]++,_0x4722a7[_0xf9b07d][_0x2403c1(0x147)](_0x50b8ae);else{var _0x907e7f=_0x2fe1a8(_0x50b8ae,_0x2fb678);_0x2fb678[_0x2403c1(0x1cd)]=_0x40a313,_0x4722a7[_0x2403c1(0x158)](_0x40a313,0x0,{'identifier':_0x517c9f,'updater':_0x907e7f,'references':0x1});}_0x491722['push'](_0x517c9f);}return _0x491722;}function _0x2fe1a8(_0x2f63c5,_0x3893ad){var _0x4c695c=a0_0x13e5,_0x58b6c7=_0x3893ad['domAPI'](_0x3893ad);return _0x58b6c7[_0x4c695c(0x1b6)](_0x2f63c5),function(_0x5a0fe5){var _0x564883=_0x4c695c;if(_0x5a0fe5){if(_0x5a0fe5[_0x564883(0x1a9)]===_0x2f63c5[_0x564883(0x1a9)]&&_0x5a0fe5[_0x564883(0x19e)]===_0x2f63c5[_0x564883(0x19e)]&&_0x5a0fe5[_0x564883(0x15c)]===_0x2f63c5[_0x564883(0x15c)]&&_0x5a0fe5[_0x564883(0x1be)]===_0x2f63c5[_0x564883(0x1be)]&&_0x5a0fe5[_0x564883(0x138)]===_0x2f63c5['layer'])return;_0x58b6c7[_0x564883(0x1b6)](_0x2f63c5=_0x5a0fe5);}else _0x58b6c7[_0x564883(0x130)]();};}_0x5a929e[_0x54dce1(0x1b9)]=function(_0x221bb4,_0x3e6f2a){var _0x2dd8e2=_0x585e62(_0x221bb4=_0x221bb4||[],_0x3e6f2a=_0x3e6f2a||{});return function(_0x22b3e6){var _0x344e17=a0_0x13e5;_0x22b3e6=_0x22b3e6||[];for(var _0x457f92=0x0;_0x457f92<_0x2dd8e2[_0x344e17(0x189)];_0x457f92++){var _0x2fb36d=_0x2a7ce5(_0x2dd8e2[_0x457f92]);_0x4722a7[_0x2fb36d][_0x344e17(0x16b)]--;}for(var _0xde7ba8=_0x585e62(_0x22b3e6,_0x3e6f2a),_0x434535=0x0;_0x434535<_0x2dd8e2[_0x344e17(0x189)];_0x434535++){var _0x3eeb79=_0x2a7ce5(_0x2dd8e2[_0x434535]);0x0===_0x4722a7[_0x3eeb79]['references']&&(_0x4722a7[_0x3eeb79][_0x344e17(0x147)](),_0x4722a7[_0x344e17(0x158)](_0x3eeb79,0x1));}_0x2dd8e2=_0xde7ba8;};};},0x239:_0x44ce89=>{var _0x2b7a55=a0_0x13e5,_0x2f101f={};_0x44ce89[_0x2b7a55(0x1b9)]=function(_0x4f55af,_0x34fd8b){var _0x43854c=_0x2b7a55,_0x5c4471=function(_0xc125da){var _0x5d6b14=a0_0x13e5;if(void 0x0===_0x2f101f[_0xc125da]){var _0x2c1d5f=document['querySelector'](_0xc125da);if(window[_0x5d6b14(0x11a)]&&_0x2c1d5f instanceof window[_0x5d6b14(0x11a)])try{_0x2c1d5f=_0x2c1d5f[_0x5d6b14(0x141)][_0x5d6b14(0x18d)];}catch(_0x240f17){_0x2c1d5f=null;}_0x2f101f[_0xc125da]=_0x2c1d5f;}return _0x2f101f[_0xc125da];}(_0x4f55af);if(!_0x5c4471)throw new Error(_0x43854c(0x1ad));_0x5c4471['appendChild'](_0x34fd8b);};},0xd8:_0x1b671e=>{_0x1b671e['exports']=function(_0x930b5){var _0x2c555d=a0_0x13e5,_0x3148d5=document[_0x2c555d(0x1c2)](_0x2c555d(0x18c));return _0x930b5['setAttributes'](_0x3148d5,_0x930b5[_0x2c555d(0x128)]),_0x930b5[_0x2c555d(0x1bf)](_0x3148d5,_0x930b5[_0x2c555d(0x112)]),_0x3148d5;};},0x235:(_0x2252c4,_0x4d4a11,_0x22239d)=>{var _0x306be6=a0_0x13e5;_0x2252c4[_0x306be6(0x1b9)]=function(_0x597090){var _0x533960=_0x306be6,_0x42f315=_0x22239d['nc'];_0x42f315&&_0x597090[_0x533960(0x187)]('nonce',_0x42f315);};},0x31b:_0x5eb0a8=>{var _0x42bf61=a0_0x13e5;_0x5eb0a8[_0x42bf61(0x1b9)]=function(_0x21a5fe){var _0x502c81=_0x42bf61;if(_0x502c81(0x15a)==typeof document)return{'update':function(){},'remove':function(){}};var _0x6e5a45=_0x21a5fe[_0x502c81(0x1c0)](_0x21a5fe);return{'update':function(_0x430d11){!function(_0x4e7cb3,_0x3082b9,_0x368f43){var _0x58e652=a0_0x13e5,_0x5cfd05='';_0x368f43[_0x58e652(0x1be)]&&(_0x5cfd05+=_0x58e652(0x18a)[_0x58e652(0x183)](_0x368f43[_0x58e652(0x1be)],')\x20{')),_0x368f43[_0x58e652(0x19e)]&&(_0x5cfd05+=_0x58e652(0x1b1)[_0x58e652(0x183)](_0x368f43[_0x58e652(0x19e)],'\x20{'));var _0x2caa99=void 0x0!==_0x368f43[_0x58e652(0x138)];_0x2caa99&&(_0x5cfd05+='@layer'[_0x58e652(0x183)](_0x368f43['layer'][_0x58e652(0x189)]>0x0?'\x20'[_0x58e652(0x183)](_0x368f43[_0x58e652(0x138)]):'','\x20{')),_0x5cfd05+=_0x368f43['css'],_0x2caa99&&(_0x5cfd05+='}'),_0x368f43[_0x58e652(0x19e)]&&(_0x5cfd05+='}'),_0x368f43[_0x58e652(0x1be)]&&(_0x5cfd05+='}');var _0x14815c=_0x368f43[_0x58e652(0x15c)];_0x14815c&&_0x58e652(0x15a)!=typeof btoa&&(_0x5cfd05+=_0x58e652(0x149)[_0x58e652(0x183)](btoa(unescape(encodeURIComponent(JSON['stringify'](_0x14815c)))),_0x58e652(0x17e))),_0x3082b9[_0x58e652(0x10e)](_0x5cfd05,_0x4e7cb3,_0x3082b9[_0x58e652(0x112)]);}(_0x6e5a45,_0x21a5fe,_0x430d11);},'remove':function(){!function(_0x549251){var _0x2731af=a0_0x13e5;if(null===_0x549251[_0x2731af(0x160)])return!0x1;_0x549251[_0x2731af(0x160)]['removeChild'](_0x549251);}(_0x6e5a45);}};};},0x24d:_0x1c9bbd=>{_0x1c9bbd['exports']=function(_0x2994d0,_0x4c69ec){var _0x32ec6e=a0_0x13e5;if(_0x4c69ec['styleSheet'])_0x4c69ec[_0x32ec6e(0x12e)][_0x32ec6e(0x13a)]=_0x2994d0;else{for(;_0x4c69ec[_0x32ec6e(0x197)];)_0x4c69ec[_0x32ec6e(0x12c)](_0x4c69ec['firstChild']);_0x4c69ec[_0x32ec6e(0x181)](document[_0x32ec6e(0x13f)](_0x2994d0));}};},0x104:_0x1a1fc1=>{var _0x503123=a0_0x13e5;_0x1a1fc1[_0x503123(0x1b9)]=_0x503123(0x122);},0x1d:_0x3e91b4=>{var _0x345a73=a0_0x13e5;_0x3e91b4[_0x345a73(0x1b9)]='data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2732%27%20height%3D%2732%27%3E%3Cpath%20%20fill%3D%22%23cccccc%22%20d%3D%22M25.107%2032.030h-18.214c-3.456%200-6.268-2.81-6.268-6.264v-19.529c0-3.456%202.812-6.268%206.268-6.268h18.214c3.456%200%206.268%202.812%206.268%206.268v19.529c0%203.452-2.812%206.264-6.268%206.264zM6.893%201.85c-2.419%200-4.386%201.967-4.386%204.386v19.529c0%202.417%201.967%204.382%204.386%204.382h18.214c2.419%200%204.386-1.965%204.386-4.382v-19.529c0-2.419-1.967-4.386-4.386-4.386h-18.214z%22%3E%3C/path%3E%3C/svg%3E';},0x391:_0x3c2f75=>{var _0x4e2e62=a0_0x13e5;_0x3c2f75['exports']=_0x4e2e62(0x1b0);}},t={};function n(_0x26d9b4){var _0x57ba24=a0_0x13e5,_0x58a11b=t[_0x26d9b4];if(void 0x0!==_0x58a11b)return _0x58a11b[_0x57ba24(0x1b9)];var _0x558c4b=t[_0x26d9b4]={'id':_0x26d9b4,'exports':{}};return e[_0x26d9b4](_0x558c4b,_0x558c4b[_0x57ba24(0x1b9)],n),_0x558c4b[_0x57ba24(0x1b9)];}n['m']=e,n['n']=_0x4e933a=>{var _0xbdd607=a0_0x13e5,_0x307458=_0x4e933a&&_0x4e933a['__esModule']?()=>_0x4e933a[_0xbdd607(0x178)]:()=>_0x4e933a;return n['d'](_0x307458,{'a':_0x307458}),_0x307458;},n['d']=(_0xd03516,_0xaa89fa)=>{var _0x643326=a0_0x13e5;for(var _0x32a4c5 in _0xaa89fa)n['o'](_0xaa89fa,_0x32a4c5)&&!n['o'](_0xd03516,_0x32a4c5)&&Object[_0x643326(0x144)](_0xd03516,_0x32a4c5,{'enumerable':!0x0,'get':_0xaa89fa[_0x32a4c5]});},n['o']=(_0x4f70bd,_0x25ac49)=>Object[a0_0x2e29c7(0x1ba)]['hasOwnProperty'][a0_0x2e29c7(0x1a1)](_0x4f70bd,_0x25ac49),n['b']=document[a0_0x2e29c7(0x14f)]||self['location'][a0_0x2e29c7(0x16d)],n['nc']=void 0x0;var o={};((()=>{var _0x885bbf=a0_0x2e29c7;n['d'](o,{'Z':()=>_0x491048});let _0xdfa90=0x0;const _0x53a71a={},_0x5b97a5={};function _0x1caafc(_0x5e3e61,_0x20716a,_0x29d250,_0x44063d='',_0x28e0c4){var _0x542f58=a0_0x13e5;const _0x58baf0=_0x44063d?function(_0x2c426e,_0x1c436d){var _0x189aa5=a0_0x13e5;for(;_0x2c426e&&0x1===_0x2c426e[_0x189aa5(0x146)];){if(_0x2c426e[_0x189aa5(0x168)](_0x1c436d))return _0x2c426e;_0x2c426e=_0x2c426e['parentNode'];}return null;}(_0x5e3e61[_0x542f58(0x118)],_0x44063d):_0x28e0c4;function _0x100404(){var _0x12ff79=_0x542f58;_0x53a71a[_0x20716a]&&_0x53a71a[_0x20716a][_0x12ff79(0x19b)]((_0x6b8468,_0x32a85f)=>_0x6b8468['then'](()=>new Promise((_0x4997fc,_0x3f92f3)=>{var _0x2c4846=_0x12ff79;try{const _0x40ded7=_0x32a85f[_0x2c4846(0x137)](_0x58baf0)(_0x5e3e61);_0x40ded7 instanceof Promise?_0x40ded7[_0x2c4846(0x142)](_0x4997fc)[_0x2c4846(0x176)](_0x3f92f3):_0x4997fc(_0x40ded7);}catch(_0x70858c){_0x3f92f3(_0x70858c);}})),Promise[_0x12ff79(0x193)]())[_0x12ff79(0x176)](_0x1b06bc=>{var _0x17e791=_0x12ff79;console['error'](_0x17e791(0x153),_0x1b06bc);});}_0x58baf0&&(clearTimeout(_0x5b97a5[_0x20716a]),0x0===_0x29d250?_0x100404():_0x5b97a5[_0x20716a]=setTimeout(_0x100404,_0x29d250));}var _0x3c6ab0=n(0x17b),_0x2abb60=n['n'](_0x3c6ab0),_0x264c2d=n(0x31b),_0x4a286e=n['n'](_0x264c2d),_0x3e4760=n(0x239),_0x59e3be=n['n'](_0x3e4760),_0x5d96f7=n(0x235),_0xa037c3=n['n'](_0x5d96f7),_0x307543=n(0xd8),_0x528648=n['n'](_0x307543),_0x5e30b0=n(0x24d),_0x4d8d53=n['n'](_0x5e30b0),_0xd13a27=n(0x23a),_0x393809={};function _0x5c12d2(_0x10f033){var _0x43ecce=a0_0x13e5;_0x10f033[_0x43ecce(0x1a5)]=function(_0x1a1aa3={}){var _0x5497d8=_0x43ecce;_0x10f033[_0x5497d8(0x156)][_0x5497d8(0x1cc)](_0x178852=>{var _0x38a00b=_0x5497d8;if(_0x38a00b(0x13d)===_0x178852[_0x38a00b(0x1ce)]){const [_0x387851,_0x44a51d,_0x2e21e9]=function(_0x15077d,_0x44f30c){var _0x21e9f2=_0x38a00b;const _0x3fc0d8=window[_0x21e9f2(0x167)](_0x15077d);_0x15077d[_0x21e9f2(0x18c)][_0x21e9f2(0x165)]=_0x21e9f2(0x175);const _0x8fd8d2=document['createElement']('div');_0x8fd8d2['classList'][_0x21e9f2(0x19a)](_0x21e9f2(0x199)),_0x44f30c[_0x21e9f2(0x1b3)]&&(_0x44f30c[_0x21e9f2(0x1b3)][_0x21e9f2(0x1b8)]&&(_0x8fd8d2[_0x21e9f2(0x18c)]['width']=_0x44f30c[_0x21e9f2(0x1b3)]['width']+'px'),_0x44f30c[_0x21e9f2(0x1b3)][_0x21e9f2(0x150)]&&(_0x8fd8d2['style'][_0x21e9f2(0x150)]=_0x44f30c[_0x21e9f2(0x1b3)][_0x21e9f2(0x150)]+'px')),_0x44f30c[_0x21e9f2(0x1ae)]&&_0x8fd8d2[_0x21e9f2(0x129)][_0x21e9f2(0x19a)](...function(_0x1211b2){var _0x503105=_0x21e9f2;let _0x4dd760=[];return _0x503105(0x172)==typeof _0x1211b2?_0x4dd760=(_0x1211b2=_0x1211b2[_0x503105(0x13c)](/\s\s+/g,'\x20'))[_0x503105(0x174)]('\x20')>-0x1?_0x1211b2[_0x503105(0x177)]('\x20'):_0x1211b2[_0x503105(0x174)](',')>-0x1?_0x1211b2[_0x503105(0x177)](','):[_0x1211b2]:Array[_0x503105(0x1c4)](_0x1211b2)&&(_0x4dd760=_0x1211b2),_0x4dd760;}(_0x44f30c[_0x21e9f2(0x1ae)])),_0x8fd8d2[_0x21e9f2(0x18c)][_0x21e9f2(0x1a2)]=_0x3fc0d8[_0x21e9f2(0x1a2)],_0x15077d[_0x21e9f2(0x145)]?_0x8fd8d2['classList'][_0x21e9f2(0x19a)](_0x21e9f2(0x145)):_0x8fd8d2['classList']['add'](_0x21e9f2(0x166));const _0x486cac=document[_0x21e9f2(0x1c2)]('input');return _0x486cac[_0x21e9f2(0x1ce)]=_0x21e9f2(0x10f),_0x486cac[_0x21e9f2(0x10d)]=_0x15077d[_0x21e9f2(0x10d)],_0x15077d[_0x21e9f2(0x1bd)][_0x21e9f2(0x10d)]=_0x15077d['name'],_0x15077d[_0x21e9f2(0x134)](_0x21e9f2(0x10d)),_0x44f30c[_0x21e9f2(0x194)]?function(_0x481ee7,_0x29f1e5,_0x459039){var _0x2fc298=_0x21e9f2;'checked'===_0x481ee7[_0x2fc298(0x194)]?(_0x29f1e5[_0x2fc298(0x129)]['remove'](_0x2fc298(0x166)),_0x29f1e5[_0x2fc298(0x129)][_0x2fc298(0x19a)](_0x2fc298(0x145)),_0x459039['value']=_0x2fc298(0x1cb)):_0x2fc298(0x166)===_0x481ee7['defaultState']?(_0x29f1e5[_0x2fc298(0x129)]['remove']('checked'),_0x29f1e5['classList'][_0x2fc298(0x19a)]('unchecked'),_0x459039[_0x2fc298(0x134)](_0x2fc298(0x10d)),_0x459039[_0x2fc298(0x134)]('value')):_0x2fc298(0x190)===_0x481ee7[_0x2fc298(0x194)]&&(_0x29f1e5[_0x2fc298(0x129)][_0x2fc298(0x130)](_0x2fc298(0x145)),_0x29f1e5[_0x2fc298(0x129)][_0x2fc298(0x19a)]('crossed'),_0x459039[_0x2fc298(0x15e)]=_0x2fc298(0x1d1));}(_0x44f30c,_0x8fd8d2,_0x486cac):_0x15077d[_0x21e9f2(0x145)]?_0x486cac[_0x21e9f2(0x15e)]='true':(_0x486cac[_0x21e9f2(0x10d)]='',_0x486cac['value']=''),_0x8fd8d2[_0x21e9f2(0x19f)]=_0x15077d[_0x21e9f2(0x19f)],_0x8fd8d2['appendChild'](_0x486cac),_0x15077d[_0x21e9f2(0x160)][_0x21e9f2(0x11f)](_0x8fd8d2,_0x15077d[_0x21e9f2(0x1cf)]),_0x8fd8d2['addEventListener'](_0x21e9f2(0x173),function(_0x29912d){!function(_0x140830,_0x434af6,_0x281d25){var _0x1a7dc1=a0_0x13e5;_0x140830['classList']['contains']('checked')?(_0x140830['classList'][_0x1a7dc1(0x130)]('checked'),_0x140830[_0x1a7dc1(0x129)][_0x1a7dc1(0x19a)](_0x1a7dc1(0x190)),_0x434af6[_0x1a7dc1(0x145)]=!0x1,_0x281d25[_0x1a7dc1(0x15e)]='false'):_0x140830['classList'][_0x1a7dc1(0x161)]('crossed')?(_0x140830[_0x1a7dc1(0x129)][_0x1a7dc1(0x130)]('crossed'),_0x140830[_0x1a7dc1(0x129)][_0x1a7dc1(0x19a)](_0x1a7dc1(0x166)),_0x281d25['removeAttribute'](_0x1a7dc1(0x10d)),_0x281d25[_0x1a7dc1(0x134)](_0x1a7dc1(0x15e))):(_0x140830[_0x1a7dc1(0x129)]['remove'](_0x1a7dc1(0x166)),_0x140830['classList'][_0x1a7dc1(0x19a)](_0x1a7dc1(0x145)),_0x434af6[_0x1a7dc1(0x145)]=!0x0,_0x281d25[_0x1a7dc1(0x15e)]=_0x1a7dc1(0x1cb),_0x281d25[_0x1a7dc1(0x187)](_0x1a7dc1(0x10d),_0x434af6[_0x1a7dc1(0x1bd)][_0x1a7dc1(0x10d)]));}(_0x8fd8d2,_0x15077d,_0x486cac),_0x2fed46(_0x44f30c,_0x15077d,_0x8fd8d2,_0x486cac,_0x29912d);}),_0x8fd8d2[_0x21e9f2(0x1ab)](_0x21e9f2(0x16c),_0x5888c5[_0x21e9f2(0x137)](null,_0x15077d)),[_0x15077d,_0x8fd8d2,_0x486cac];}(_0x178852,_0x1a1aa3);_0x1a1aa3[_0x38a00b(0x152)]&&_0x1a1aa3['callbacks'][_0x38a00b(0x11d)]&&_0x38a00b(0x16f)==typeof _0x1a1aa3[_0x38a00b(0x152)][_0x38a00b(0x11d)]&&_0x1a1aa3[_0x38a00b(0x152)][_0x38a00b(0x11d)](_0x387851,_0x44a51d,_0x2e21e9);}});};}function _0x2fed46(_0x2f323c,_0x4460f8,_0x158448,_0x1601c4,_0x637a9a){var _0x6a22ad=a0_0x13e5;_0x2f323c['callbacks']&&_0x2f323c[_0x6a22ad(0x152)][_0x6a22ad(0x132)]&&_0x6a22ad(0x16f)==typeof _0x2f323c[_0x6a22ad(0x152)][_0x6a22ad(0x132)]&&_0x2f323c['callbacks'][_0x6a22ad(0x132)](_0x4460f8,_0x158448,_0x1601c4),_0x2f323c[_0x6a22ad(0x136)]&&(_0x6a22ad(0x173)===_0x637a9a[_0x6a22ad(0x1ce)]?_0x4460f8[_0x6a22ad(0x12b)](new MouseEvent(_0x6a22ad(0x173),{'bubbles':!0x0,'cancelable':!0x0})):'keyup'===_0x637a9a[_0x6a22ad(0x1ce)]?_0x4460f8[_0x6a22ad(0x12b)](new KeyboardEvent(_0x6a22ad(0x16c),{'key':'\x20','bubbles':!0x0,'cancelable':!0x0})):_0x6a22ad(0x132)===_0x637a9a['type']&&_0x4460f8['dispatchEvent'](new Event(_0x6a22ad(0x132),{'bubbles':!0x0,'cancelable':!0x0})));}function _0x5888c5(_0x8cc244,_0x5bb385){var _0x12ece3=a0_0x13e5;0x20===_0x5bb385['keyCode']&&(_0x2fed46(_0x8cc244,_0x5bb385),_0x5bb385[_0x12ece3(0x195)](),_0x5bb385[_0x12ece3(0x118)][_0x12ece3(0x173)]());}_0x393809[_0x885bbf(0x10e)]=_0x4d8d53(),_0x393809['setAttributes']=_0xa037c3(),_0x393809[_0x885bbf(0x1bf)]=_0x59e3be()[_0x885bbf(0x137)](null,_0x885bbf(0x18d)),_0x393809[_0x885bbf(0x17a)]=_0x4a286e(),_0x393809[_0x885bbf(0x1c0)]=_0x528648(),_0x2abb60()(_0xd13a27['Z'],_0x393809),_0xd13a27['Z']&&_0xd13a27['Z']['locals']&&_0xd13a27['Z'][_0x885bbf(0x10c)];var _0x22d659=n(0x265),_0x2a4873={};_0x2a4873[_0x885bbf(0x10e)]=_0x4d8d53(),_0x2a4873[_0x885bbf(0x123)]=_0xa037c3(),_0x2a4873[_0x885bbf(0x1bf)]=_0x59e3be()['bind'](null,_0x885bbf(0x18d)),_0x2a4873[_0x885bbf(0x17a)]=_0x4a286e(),_0x2a4873['insertStyleElement']=_0x528648(),_0x2abb60()(_0x22d659['Z'],_0x2a4873),_0x22d659['Z']&&_0x22d659['Z']['locals']&&_0x22d659['Z']['locals'];const _0x1df11a=function(_0x580f91,_0x1b47fd=document){var _0x1fbb7e=_0x885bbf;let _0x53a47c;if('string'==typeof _0x1b47fd)_0x1b47fd=document[_0x1fbb7e(0x1c8)](_0x1b47fd);else{if(_0x1df11a['isAPXObject'](_0x1b47fd))_0x1b47fd=_0x1b47fd['first']();else{if(!(_0x1b47fd instanceof HTMLElement||_0x1b47fd instanceof Document))throw new Error(_0x1fbb7e(0x157));}}if(_0x1fbb7e(0x172)==typeof _0x580f91&&_0x580f91[_0x1fbb7e(0x12f)]('//')){_0x53a47c=document[_0x1fbb7e(0x18e)](_0x580f91,_0x1b47fd,null,XPathResult[_0x1fbb7e(0x1b2)],null);let _0x3d5897=[],_0xbc11e7=_0x53a47c[_0x1fbb7e(0x155)]();for(;_0xbc11e7;)_0x3d5897[_0x1fbb7e(0x111)](_0xbc11e7),_0xbc11e7=_0x53a47c[_0x1fbb7e(0x155)]();_0x53a47c=_0x3d5897;}else{if(_0x1fbb7e(0x172)==typeof _0x580f91)_0x53a47c=_0x1b47fd['querySelectorAll'](_0x580f91);else{if(_0x580f91 instanceof HTMLElement)_0x53a47c=_0x1b47fd[_0x1fbb7e(0x161)](_0x580f91)?[_0x580f91]:[];else{if(_0x580f91 instanceof NodeList||_0x580f91 instanceof HTMLCollection)_0x53a47c=Array[_0x1fbb7e(0x11c)](_0x580f91)[_0x1fbb7e(0x18f)](_0x8146e=>_0x1b47fd['contains'](_0x8146e));else{if(Array['isArray'](_0x580f91)&&_0x580f91[_0x1fbb7e(0x1a3)](_0xcda23=>_0xcda23 instanceof HTMLElement))_0x53a47c=_0x580f91['filter'](_0x5746db=>_0x1b47fd[_0x1fbb7e(0x161)](_0x5746db));else{if(_0x1fbb7e(0x15a)!=typeof jQuery&&_0x580f91 instanceof jQuery)_0x53a47c=Array[_0x1fbb7e(0x11c)](_0x580f91[_0x1fbb7e(0x198)]())[_0x1fbb7e(0x18f)](_0xc597df=>_0x1b47fd[_0x1fbb7e(0x161)](_0xc597df));else{if(_0x1fbb7e(0x16f)!=typeof _0x580f91)throw new Error(_0x1fbb7e(0x120));_0x53a47c=_0x1df11a(_0x580f91(),_0x1b47fd);}}}}}}var _0x1dd593={'elements':_0x53a47c,'_isAPXObject':!0x0};return _0x1dd593[_0x1fbb7e(0x189)]=_0x53a47c[_0x1fbb7e(0x189)],_0x1dd593[_0x1fbb7e(0x19c)]=function(_0x1e738f){var _0x55328c=_0x1fbb7e;return this[_0x55328c(0x156)]instanceof Array&&this[_0x55328c(0x156)][_0x55328c(0x1cc)](_0x1e738f),this[_0x55328c(0x156)]instanceof NodeList&&Array[_0x55328c(0x11c)](this['elements'])[_0x55328c(0x1cc)](_0x1e738f),this;},_0x1dd593['get']=function(_0xe0b648){return this['elements'][_0xe0b648];},_0x1dd593[_0x1fbb7e(0x1bb)]=function(){var _0x296dad=_0x1fbb7e;return this[_0x296dad(0x156)]instanceof Array?this[_0x296dad(0x156)]:this[_0x296dad(0x156)]instanceof NodeList?Array[_0x296dad(0x11c)](this[_0x296dad(0x156)]):this;},_0x1dd593[_0x1fbb7e(0x15f)]=function(){var _0x392aef=_0x1fbb7e;return this[_0x392aef(0x198)](0x0);},function(_0x33abec){var _0x5bb912=_0x1fbb7e;let _0x33d845=_0x33abec[_0x5bb912(0x156)];_0x33abec[_0x5bb912(0x17c)]=function(_0x5f5ae5,_0x1ff2c8,_0x53b322){var _0xfd5f63=_0x5bb912;let _0x1aaca3,_0x4f46ea={};'string'==typeof _0x1ff2c8?(_0x1aaca3=_0x1ff2c8,_0x4f46ea=_0x53b322||{}):_0x4f46ea=_0x1ff2c8||{};const _0x463e74=(function(){var _0x10b387=a0_0x13e5;const _0x287782=Math[_0x10b387(0x186)]()['toString'](0x24)[_0x10b387(0x126)](0x2,0x9),_0x6b6978=Date[_0x10b387(0x164)]()+'_'+_0x287782+'_'+_0xdfa90;return _0xdfa90=(_0xdfa90+0x1)%0x3e8,_0x6b6978;}()),_0x16f4ed=_0x4f46ea[_0xfd5f63(0x1af)]||0x0;return Array['isArray'](_0x5f5ae5)||(_0x5f5ae5=[_0x5f5ae5]),_0x5f5ae5[_0xfd5f63(0x1cc)](_0x20535d=>{_0x33d845['forEach'](_0x42bcbc=>{_0x42bcbc['addEventListener'](_0x20535d,_0x1f0075=>{_0x1caafc(_0x1f0075,_0x463e74,_0x16f4ed,_0x1aaca3,_0x42bcbc);});});}),{'do':function(_0xfe1eb6){var _0x12001d=_0xfd5f63;return _0x53a71a[_0x463e74]||(_0x53a71a[_0x463e74]=[]),_0x53a71a[_0x463e74][_0x12001d(0x111)](_0xfe1eb6),this;}};},_0x33abec[_0x5bb912(0x17b)]=function(_0x2f8e4f){var _0x26c14d=_0x5bb912;let _0x4d87e3;if('string'==typeof _0x2f8e4f)_0x4d87e3=_0x2f8e4f,_0x2f8e4f=new Event(_0x2f8e4f,{'bubbles':!0x0,'cancelable':!0x0});else{if(!(_0x2f8e4f instanceof Event))return void console[_0x26c14d(0x170)]('Invalid\x20event\x20type\x20provided\x20to\x20apx.trigger.\x20It\x20must\x20be\x20either\x20a\x20string\x20or\x20Event\x20object.');_0x4d87e3=_0x2f8e4f[_0x26c14d(0x1ce)];}_0x33abec[_0x26c14d(0x156)][_0x26c14d(0x1cc)](_0x43b8fd=>{var _0x134ae0=_0x26c14d;_0x43b8fd[_0x134ae0(0x12b)](_0x2f8e4f);}),Object['keys'](_0x53a71a)[_0x26c14d(0x1cc)](_0x361c08=>{var _0x20bb33=_0x26c14d;const _0x3cf247=_0x53a71a[_0x361c08];if(_0x3cf247&&_0x3cf247[_0x20bb33(0x1c1)]===_0x4d87e3){const {selector:_0x43ba5a}=_0x3cf247;_0x43ba5a&&!_0x2f8e4f['target']['matches'](_0x43ba5a)||_0x1caafc(_0x2f8e4f,_0x361c08,0x0,_0x43ba5a,_0x2f8e4f['target']);}});};}(_0x1dd593),_0x5c12d2(_0x1dd593),_0x1dd593;};_0x1df11a['loadCss']=function(_0x7f03e9){var _0x58c819=_0x885bbf;return fetch(_0x7f03e9)[_0x58c819(0x142)](_0x734985=>_0x734985[_0x58c819(0x11b)]())[_0x58c819(0x142)](_0x3d2296=>{var _0x3210ed=_0x58c819;const _0x41e6b1=document[_0x3210ed(0x1c2)]('style');_0x41e6b1[_0x3210ed(0x1ce)]='text/css',_0x41e6b1[_0x3210ed(0x1c3)]=_0x3d2296,document['head']['appendChild'](_0x41e6b1);})[_0x58c819(0x176)](_0x283248=>{var _0x4c9073=_0x58c819;console[_0x4c9073(0x170)](_0x4c9073(0x115),_0x283248);});},_0x1df11a[_0x885bbf(0x14a)]=_0x50a9af=>{var _0x1d9f47=_0x885bbf;const {title:_0x28c556,content:_0x1bff61,contentURI:_0x35bc1e,buttons:_0x2bbe94,size:_0x1845c8,showLoadingIndicator:_0x6f53e2}={'title':'','content':'','contentURI':'','buttons':[],'size':_0x1d9f47(0x162),'showLoadingIndicator':!0x1,..._0x50a9af},_0x5704de=document[_0x1d9f47(0x1c2)](_0x1d9f47(0x114));_0x5704de[_0x1d9f47(0x11e)]=_0x1d9f47(0x171)[_0x1d9f47(0x1aa)]();const _0x2a2b8a=_0x5704de[_0x1d9f47(0x197)],_0xad76d8={},_0x4f92b7={};[_0x1d9f47(0x17d),'opened',_0x1d9f47(0x14e),_0x1d9f47(0x148),_0x1d9f47(0x15b),_0x1d9f47(0x15d)][_0x1d9f47(0x1cc)](_0x5ace7c=>{_0x4f92b7[_0x5ace7c]=new Promise(_0x164c0f=>{_0xad76d8[_0x5ace7c]=_0x164c0f;});});const _0x58372c=_0x24c4eb=>{var _0x556203=_0x1d9f47;_0xad76d8[_0x24c4eb]?_0xad76d8[_0x24c4eb]():console[_0x556203(0x1c9)](_0x556203(0x184)+_0x24c4eb);},_0x3232fa={'element':_0x2a2b8a,'buttons':{},'isClosed':!0x1,'lifecycle':_0x4f92b7,'open':async()=>{var _0x154c97=_0x1d9f47;try{_0x58372c('opening'),await _0x3232fa[_0x154c97(0x169)][_0x154c97(0x17d)],_0x6f53e2&&_0x35bc1e?(document[_0x154c97(0x151)][_0x154c97(0x181)](_0x2a2b8a),_0x2a2b8a['style']['display']=_0x154c97(0x12d),_0x2a2b8a[_0x154c97(0x1c8)](_0x154c97(0x1b7))[_0x154c97(0x11e)]=_0x154c97(0x1c6),await _0x205822()):(await _0x205822(),document[_0x154c97(0x151)][_0x154c97(0x181)](_0x2a2b8a),_0x2a2b8a[_0x154c97(0x18c)][_0x154c97(0x165)]='flex'),_0x58372c(_0x154c97(0x196)),await _0x3232fa['lifecycle'][_0x154c97(0x196)];}catch(_0x58067a){console['error'](_0x154c97(0x1a7),_0x58067a);}return _0x3232fa;},'close':async()=>{var _0x51ad58=_0x1d9f47;try{_0x58372c(_0x51ad58(0x14e)),await _0x3232fa[_0x51ad58(0x169)][_0x51ad58(0x14e)],_0xd15aa0(),_0x58372c(_0x51ad58(0x148)),await _0x3232fa['lifecycle'][_0x51ad58(0x148)];}catch(_0x3ae0d8){console[_0x51ad58(0x170)]('Error\x20during\x20dialog\x20closing:',_0x3ae0d8);}return _0x3232fa;}},_0xd15aa0=()=>{var _0x4093bd=_0x1d9f47;_0x3232fa[_0x4093bd(0x116)]||(_0x3232fa[_0x4093bd(0x116)]=!0x0,_0x2a2b8a['style']['display']=_0x4093bd(0x175),document['body']['contains'](_0x2a2b8a)&&document[_0x4093bd(0x151)][_0x4093bd(0x12c)](_0x2a2b8a));},_0x205822=async()=>{var _0x4e76ce=_0x1d9f47;const _0x388151=document['body'][_0x4e76ce(0x18c)]['cursor'];document[_0x4e76ce(0x151)]['style'][_0x4e76ce(0x1ac)]='wait';const _0xc6ab67=_0x2a2b8a[_0x4e76ce(0x1c8)](_0x4e76ce(0x1b7));try{_0x58372c(_0x4e76ce(0x15b)),await _0x3232fa[_0x4e76ce(0x169)]['contentLoading'];const _0x1ec1d1=_0x35bc1e?await _0x435ea8(_0x35bc1e):_0x1bff61;_0xc6ab67[_0x4e76ce(0x11e)]=_0x1ec1d1,_0x58372c(_0x4e76ce(0x15d)),await _0x3232fa['lifecycle'][_0x4e76ce(0x15d)];}catch(_0x2bf088){console[_0x4e76ce(0x170)]('Error\x20loading\x20content:',_0x2bf088);}finally{document[_0x4e76ce(0x151)]['style'][_0x4e76ce(0x1ac)]=_0x388151;}},_0x435ea8=async _0x32aa80=>{var _0x103b61=_0x1d9f47;const _0x35eba0=await fetch(_0x32aa80);if(!_0x35eba0['ok'])throw new Error(_0x103b61(0x124)+_0x35eba0['statusText']);return _0x35eba0[_0x103b61(0x11b)]();};return((()=>{var _0x242d1a=_0x1d9f47;const _0x595f0e=_0x2a2b8a['querySelector'](_0x242d1a(0x1a0));if('auto'===_0x1845c8)return;const _0xb0bd64={'small':{'width':_0x242d1a(0x192),'height':'200px'},'medium':{'width':_0x242d1a(0x17f),'height':_0x242d1a(0x154)},'large':{'width':'800px','height':_0x242d1a(0x140)}}[_0x1845c8]||_0x242d1a(0x133)==typeof _0x1845c8&&_0x1845c8;_0xb0bd64&&(_0x595f0e[_0x242d1a(0x18c)][_0x242d1a(0x159)]=_0xb0bd64[_0x242d1a(0x1b8)]||_0x242d1a(0x17f),_0x595f0e[_0x242d1a(0x18c)]['minHeight']=_0xb0bd64[_0x242d1a(0x150)]||_0x242d1a(0x154));})()),((()=>{var _0x2dea11=_0x1d9f47;const _0x33ea35=_0x2a2b8a['querySelector'](_0x2dea11(0x14c));_0x2bbe94[_0x2dea11(0x1cc)](({key:_0x59dcbf,label:_0x3e7fd1,order:_0x43433d=0x0,align:_0x33a30e='flex-end',closeOnClick:_0x16d6b2=!0x0})=>{var _0x25694a=_0x2dea11;const _0x5bf19d=document[_0x25694a(0x1c2)](_0x25694a(0x1b5));if(_0x5bf19d['textContent']=_0x3e7fd1,_0x5bf19d['style'][_0x25694a(0x182)]=_0x43433d,_0x16d6b2){let _0x403d38=!0x1;const _0x2a6dd7=new Promise(_0x4b5040=>{var _0x209857=_0x25694a;_0x5bf19d[_0x209857(0x1ca)]=()=>{_0x403d38||(_0x403d38=!0x0,_0x4b5040(_0x3232fa),_0x3232fa['close']());};});_0x3232fa[_0x25694a(0x1bc)][_0x59dcbf]=_0x2a6dd7;}else{let _0x2e6971=[];const _0xeb4752={'then':_0x2fcaf6=>(_0x25694a(0x16f)==typeof _0x2fcaf6&&_0x2e6971['push'](_0x2fcaf6),_0xeb4752)};_0x5bf19d[_0x25694a(0x1ca)]=()=>{var _0x23dd94=_0x25694a;_0x2e6971[_0x23dd94(0x1cc)](_0x445546=>_0x445546(_0x3232fa));},_0x3232fa[_0x25694a(0x1bc)][_0x59dcbf]=_0xeb4752;}_0x33ea35[_0x25694a(0x181)](_0x5bf19d),_0x33ea35[_0x25694a(0x18c)][_0x25694a(0x131)]=_0x33a30e;});})()),_0x2a2b8a[_0x1d9f47(0x1c8)]('.APX-dialog-title')[_0x1d9f47(0x1c3)]=_0x28c556,_0x2a2b8a[_0x1d9f47(0x1c8)](_0x1d9f47(0x13b))['onclick']=_0x3232fa[_0x1d9f47(0x1a8)],_0x3232fa;},_0x1df11a[_0x885bbf(0x179)]=function(_0x4ec36e){var _0x39409f=_0x885bbf;return _0x4ec36e&&!0x0===_0x4ec36e[_0x39409f(0x1b4)];},_0x1df11a[_0x885bbf(0x19d)]=_0x67352f=>!isNaN(_0x67352f-parseFloat(_0x67352f));const _0x491048=_0x1df11a;})());var i=o['Z'];export{i as default};function a0_0x3ec4(){var _0x115a0c=['isClosed','1CtTQkF','target','28nZlIqB','HTMLIFrameElement','text','from','after','innerHTML','insertBefore','Invalid\x20input\x20type\x20for\x20APX','hash','data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20viewBox%3D%220%200%2032%2032%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m0.543%205.647c0-3.119%202.531-5.647%205.65-5.647h19.309c3.12%200%205.65%202.511%205.65%205.647v20.705c0%203.119-2.531%205.647-5.65%205.647h-19.309c-3.12%200-5.65-2.511-5.65-5.647v-20.705z%22%20fill%3D%22%23f00%22%2F%3E%3Cpath%20d%3D%22m8%208%2016%2016%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%2F%3E%3Cpath%20d%3D%22M24%208L8%2024%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%2F%3E%3C%2Fsvg%3E','setAttributes','Failed\x20to\x20fetch\x20content:\x20',');\x0a\x20\x20\x20\x20background-repeat:\x20no-repeat;\x0a\x20\x20\x20\x20background-position:\x20center;\x0a}\x0a.apx-tristate.crossed\x20{\x0a\x20\x20\x20\x20background-image:\x20url(','substr','2594816LKCTbD','attributes','classList','toString','dispatchEvent','removeChild','flex','styleSheet','startsWith','remove','justifyContent','change','object','removeAttribute','25581924iUXRlv','bubbleEvents','bind','layer','test','cssText','.APX-close-dialog','replace','checkbox','base','createTextNode','600px','contentDocument','then','5GSIcay','defineProperty','checked','nodeType','updater','closed','\x0a/*#\x20sourceMappingURL=data:application/json;base64,','dialog','__esModule','.APX-dialog-button-container','530EbcwnE','closing','baseURI','height','body','callbacks','Error\x20in\x20callback\x20chain:','400px','iterateNext','elements','Invalid\x20context\x20for\x20APX','splice','minWidth','undefined','contentLoading','sourceMap','contentLoaded','value','first','parentNode','contains','medium','426004oWSxXE','now','display','unchecked','getComputedStyle','matches','lifecycle','13140306walYcu','references','keyup','href','21xIdOMJ','function','error','<div\x20class=\x22APX-dialog\x22>\x20<div\x20class=\x22APX-dialog-content\x22>\x20<span\x20class=\x22APX-close-dialog\x22>×</span>\x20<h2\x20class=\x22APX-dialog-title\x22></h2>\x20<div\x20class=\x22APX-dialog-dynamic-content\x22></div>\x20<div\x20class=\x22APX-dialog-button-container\x22></div>\x20</div>\x20</div>','string','click','indexOf','none','catch','split','default','isAPXObject','domAPI','trigger','listen','opening','\x20*/','500px','2498874UjIkWO','appendChild','order','concat','No\x20resolver\x20found\x20for\x20lifecycle\x20event:\x20',')\x20{','random','setAttribute','@layer','length','@supports\x20(','map','style','head','evaluate','filter','crossed','.apx-tristate\x20{\x0a\x20\x20\x20\x20display:\x20inline-block;\x0a\x20\x20\x20\x20vertical-align:\x20middle;\x0a\x20\x20\x20\x20text-align:\x20center;\x0a\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20min-width:13px;\x0a\x20\x20\x20\x20min-height:13px;\x0a\x20\x20\x20\x20background-size:\x20contain;\x0a\x20\x20\x20\x20background-color:\x20white;\x0a\x20\x20\x20\x20border-radius:3px;\x0a}\x0a.apx-tristate.unchecked\x20{\x0a\x20\x20\x20\x20background-image:\x20url(','300px','resolve','defaultState','preventDefault','opened','firstChild','get','apx-tristate','add','reduce','each','is_numeric','media','tabIndex','.APX-dialog-content','call','margin','every',');\x0a\x20\x20\x20\x20background-repeat:\x20no-repeat;\x0a\x20\x20\x20\x20background-position:\x20center;\x0a}','tristate','slice','Error\x20opening\x20dialog:','close','css','trim','addEventListener','cursor','Couldn\x27t\x20find\x20a\x20style\x20target.\x20This\x20probably\x20means\x20that\x20the\x20value\x20for\x20the\x20\x27insert\x27\x20parameter\x20is\x20invalid.','classes','timeout','data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2732%27%20height%3D%2732%27%3E%3Cpath%20fill%3D%22%230654ba%22%20d%3D%22M0.543%205.647c0-3.119%202.531-5.647%205.65-5.647h19.309c3.12%200%205.65%202.511%205.65%205.647v20.705c0%203.119-2.531%205.647-5.65%205.647h-19.309c-3.12%200-5.65-2.511-5.65-5.647v-20.705zM5.313%2017.587l7.039%206.839%2013.831-13.439-2.636-2.561-10.929%2010.62-4.442-4.317-2.862%202.858z%22%3E%3C/path%3E%3C/svg%3E','@media\x20','ANY_TYPE','size','_isAPXObject','button','update','.APX-dialog-dynamic-content','width','exports','prototype','all','buttons','dataset','supports','insert','insertStyleElement','eventType','createElement','textContent','isArray','868822lgSRFX','<div\x20class=\x22APX-dialog-loading-indicator\x22></div>','74635NTZGHz','querySelector','warn','onclick','true','forEach','byIndex','type','nextSibling','13nVeiMZ','false','locals','name','styleTagTransform','hidden','join','push','options','identifier','div','Failed\x20to\x20load\x20CSS:'];a0_0x3ec4=function(){return _0x115a0c;};return a0_0x3ec4();}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={613:(e,t,n)=>{n.d(t,{Z:()=>c});var o=n(81),i=n.n(o),r=n(645),a=n.n(r)()(i());a.push([e.id,'/* Dialog styling */\n.APX-dialog {\n display: none;\n position: fixed;\n z-index: 1002;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n overflow: auto;\n background-color: rgba(0, 0, 0, 0.4);\n /* Dimmed background for focus on dialog */\n}\n\n.APX-dialog-content {\n background-color: #fefefe;\n padding: 40px;\n border: none;\n width: auto;\n min-width: 300px;\n max-width: 80%;\n margin: auto;\n border-radius: 8px;\n box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.1);\n font-family: \'Helvetica Neue\', Arial, sans-serif;\n}\n\nh2.APX-dialog-title{\n margin-top:0;\n}\n\n.APX-close-dialog {\n color: #aaa;\n float: right;\n font-size: 24px;\n margin-top: -10px;\n /* Adjust positioning */\n margin-right: -10px;\n}\n\n.APX-close-dialog:hover,\n.APX-close-dialog:focus {\n color: #333;\n /* Darker color on hover/focus */\n cursor: pointer;\n}\n\n/* Input fields styling */\n.APX-dialog-content input[type="text"],\n.APX-dialog-content input[type="number"],\n.APX-dialog-content input[type="date"],\n.APX-dialog-content input[type="datetime-local"] {\n width: 100%;\n padding: 10px;\n margin-bottom: 20px;\n border: 1px solid #ccc;\n border-radius: 4px;\n font-family: \'Helvetica Neue\', Arial, sans-serif;\n font-size: 16px;\n box-sizing: border-box;\n transition: border-color 0.3s;\n}\n\n.APX-dialog-content input[type="text"]:focus,\n.APX-dialog-content input[type="number"]:focus,\n.APX-dialog-content input[type="date"]:focus,\n.APX-dialog-content input[type="datetime-local"]:focus {\n border-color: #2C3E50;\n /* Deep Blue Color */\n outline: none;\n}\n\n/* Button in the dialog */\n.APX-dialog-button-container button {\n background-color: #2C3E50;\n color: #ECF0F1;\n border: none;\n padding: 10px 20px;\n border-radius: 5px;\n font-size: 16px;\n cursor: pointer;\n transition: background-color 0.3s;\n}\n\n.APX-dialog-button-container button:hover {\n background-color: #34495E;\n}\n\n.APX-dialog-button-container {\n display: flex;\n gap: 10px;\n margin-top:1em;\n /* spacing between buttons */\n}\n\n/* Loading indicator */\n.APX-dialog-loading-indicator {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100px;\n width: 100%;\n}\n\n.APX-dialog-loading-indicator::before {\n content: \'\';\n width: 40px;\n height: 40px;\n border: 4px solid #f3f3f3;\n border-top: 4px solid #2C3E50;\n border-radius: 50%;\n animation: APX-dialog-spin 1s linear infinite;\n}\n\n@keyframes APX-dialog-spin {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n}',""]);const c=a},570:(e,t,n)=>{n.d(t,{Z:()=>m});var o=n(81),i=n.n(o),r=n(645),a=n.n(r),c=n(667),s=n.n(c),l=new URL(n(29),n.b),d=new URL(n(913),n.b),u=new URL(n(260),n.b),p=a()(i()),f=s()(l),h=s()(d),g=s()(u);p.push([e.id,`.apx-tristate {\n display: inline-block;\n vertical-align: middle;\n text-align: center;\n cursor: pointer;\n position: relative;\n min-width:13px;\n min-height:13px;\n background-size: contain;\n background-color: white;\n border-radius:3px;\n}\n.apx-tristate.unchecked {\n background-image: url(${f});\n}\n.apx-tristate.checked {\n background-image: url(${h});\n background-repeat: no-repeat;\n background-position: center;\n}\n.apx-tristate.crossed {\n background-image: url(${g});\n background-repeat: no-repeat;\n background-position: center;\n}`,""]);const m=p},645:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",o=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),o&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),o&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,o,i,r){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(o)for(var c=0;c<this.length;c++){var s=this[c][0];null!=s&&(a[s]=!0)}for(var l=0;l<e.length;l++){var d=[].concat(e[l]);o&&a[d[0]]||(void 0!==r&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=r),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),i&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=i):d[4]="".concat(i)),t.push(d))}},t}},667:e=>{e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},81:e=>{e.exports=function(e){return e[1]}},379:e=>{var t=[];function n(e){for(var n=-1,o=0;o<t.length;o++)if(t[o].identifier===e){n=o;break}return n}function o(e,o){for(var r={},a=[],c=0;c<e.length;c++){var s=e[c],l=o.base?s[0]+o.base:s[0],d=r[l]||0,u="".concat(l," ").concat(d);r[l]=d+1;var p=n(u),f={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==p)t[p].references++,t[p].updater(f);else{var h=i(f,o);o.byIndex=c,t.splice(c,0,{identifier:u,updater:h,references:1})}a.push(u)}return a}function i(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,i){var r=o(e=e||[],i=i||{});return function(e){e=e||[];for(var a=0;a<r.length;a++){var c=n(r[a]);t[c].references--}for(var s=o(e,i),l=0;l<r.length;l++){var d=n(r[l]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}r=s}}},569:e=>{var t={};e.exports=function(e,n){var o=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(n)}},216:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},565:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},795:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var o="";n.supports&&(o+="@supports (".concat(n.supports,") {")),n.media&&(o+="@media ".concat(n.media," {"));var i=void 0!==n.layer;i&&(o+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),o+=n.css,i&&(o+="}"),n.media&&(o+="}"),n.supports&&(o+="}");var r=n.sourceMap;r&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),t.styleTagTransform(o,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},589:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},260:e=>{e.exports="data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20viewBox%3D%220%200%2032%2032%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m0.543%205.647c0-3.119%202.531-5.647%205.65-5.647h19.309c3.12%200%205.65%202.511%205.65%205.647v20.705c0%203.119-2.531%205.647-5.65%205.647h-19.309c-3.12%200-5.65-2.511-5.65-5.647v-20.705z%22%20fill%3D%22%23f00%22%2F%3E%3Cpath%20d%3D%22m8%208%2016%2016%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%2F%3E%3Cpath%20d%3D%22M24%208L8%2024%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%2F%3E%3C%2Fsvg%3E"},29:e=>{e.exports="data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2732%27%20height%3D%2732%27%3E%3Cpath%20%20fill%3D%22%23cccccc%22%20d%3D%22M25.107%2032.030h-18.214c-3.456%200-6.268-2.81-6.268-6.264v-19.529c0-3.456%202.812-6.268%206.268-6.268h18.214c3.456%200%206.268%202.812%206.268%206.268v19.529c0%203.452-2.812%206.264-6.268%206.264zM6.893%201.85c-2.419%200-4.386%201.967-4.386%204.386v19.529c0%202.417%201.967%204.382%204.386%204.382h18.214c2.419%200%204.386-1.965%204.386-4.382v-19.529c0-2.419-1.967-4.386-4.386-4.386h-18.214z%22%3E%3C/path%3E%3C/svg%3E"},913:e=>{e.exports="data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2732%27%20height%3D%2732%27%3E%3Cpath%20fill%3D%22%230654ba%22%20d%3D%22M0.543%205.647c0-3.119%202.531-5.647%205.65-5.647h19.309c3.12%200%205.65%202.511%205.65%205.647v20.705c0%203.119-2.531%205.647-5.65%205.647h-19.309c-3.12%200-5.65-2.511-5.65-5.647v-20.705zM5.313%2017.587l7.039%206.839%2013.831-13.439-2.636-2.561-10.929%2010.62-4.442-4.317-2.862%202.858z%22%3E%3C/path%3E%3C/svg%3E"}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var r=t[o]={id:o,exports:{}};return e[o](r,r.exports,n),r.exports}n.m=e,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.b=document.baseURI||self.location.href,n.nc=void 0;var o={};(()=>{n.d(o,{Z:()=>C});let e=0;const t={},i={};function r(e,n,o,r="",a){const c=r?function(e,t){for(;e&&1===e.nodeType;){if(e.matches(t))return e;e=e.parentNode}return null}(e.target,r):a;function s(){t[n]&&t[n].reduce(((t,n)=>t.then((()=>new Promise(((t,o)=>{try{const i=n.bind(c)(e);i instanceof Promise?i.then(t).catch(o):t(i)}catch(e){o(e)}}))))),Promise.resolve()).catch((e=>{console.error("Error in callback chain:",e)}))}c&&(clearTimeout(i[n]),0===o?s():i[n]=setTimeout(s,o))}var a=n(379),c=n.n(a),s=n(795),l=n.n(s),d=n(569),u=n.n(d),p=n(565),f=n.n(p),h=n(216),g=n.n(h),m=n(589),y=n.n(m),v=n(570),b={};function x(e){e.tristate=function(t={}){e.elements.forEach((e=>{if("checkbox"===e.type){const[n,o,i]=function(e,t){const n=window.getComputedStyle(e);e.style.display="none";const o=document.createElement("div");o.classList.add("apx-tristate"),t.size&&(t.size.width&&(o.style.width=t.size.width+"px"),t.size.height&&(o.style.height=t.size.height+"px")),t.classes&&o.classList.add(...function(e){let t=[];return"string"==typeof e?t=(e=e.replace(/\s\s+/g," ")).indexOf(" ")>-1?e.split(" "):e.indexOf(",")>-1?e.split(","):[e]:Array.isArray(e)&&(t=e),t}(t.classes)),o.style.margin=n.margin,e.checked?o.classList.add("checked"):o.classList.add("unchecked");const i=document.createElement("input");return i.type="hidden",i.name=e.name,e.dataset.name=e.name,e.removeAttribute("name"),t.defaultState?function(e,t,n){"checked"===e.defaultState?(t.classList.remove("unchecked"),t.classList.add("checked"),n.value="true"):"unchecked"===e.defaultState?(t.classList.remove("checked"),t.classList.add("unchecked"),n.removeAttribute("name"),n.removeAttribute("value")):"crossed"===e.defaultState&&(t.classList.remove("checked"),t.classList.add("crossed"),n.value="false")}(t,o,i):e.checked?i.value="true":(i.name="",i.value=""),o.tabIndex=e.tabIndex,o.appendChild(i),e.parentNode.insertBefore(o,e.nextSibling),o.addEventListener("click",(function(n){!function(e,t,n){e.classList.contains("checked")?(e.classList.remove("checked"),e.classList.add("crossed"),t.checked=!1,n.value="false"):e.classList.contains("crossed")?(e.classList.remove("crossed"),e.classList.add("unchecked"),n.removeAttribute("name"),n.removeAttribute("value")):(e.classList.remove("unchecked"),e.classList.add("checked"),t.checked=!0,n.value="true",n.setAttribute("name",t.dataset.name))}(o,e,i),w(t,e,o,i,n)})),o.addEventListener("keyup",A.bind(null,e)),[e,o,i]}(e,t);t.callbacks&&t.callbacks.after&&"function"==typeof t.callbacks.after&&t.callbacks.after(n,o,i)}}))}}function w(e,t,n,o,i){e.callbacks&&e.callbacks.change&&"function"==typeof e.callbacks.change&&e.callbacks.change(t,n,o),e.bubbleEvents&&("click"===i.type?t.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0})):"keyup"===i.type?t.dispatchEvent(new KeyboardEvent("keyup",{key:" ",bubbles:!0,cancelable:!0})):"change"===i.type&&t.dispatchEvent(new Event("change",{bubbles:!0,cancelable:!0})))}function A(e,t){32===t.keyCode&&(w(e,t),t.preventDefault(),t.target.click())}b.styleTagTransform=y(),b.setAttributes=f(),b.insert=u().bind(null,"head"),b.domAPI=l(),b.insertStyleElement=g(),c()(v.Z,b),v.Z&&v.Z.locals&&v.Z.locals;var k=n(613),E={};E.styleTagTransform=y(),E.setAttributes=f(),E.insert=u().bind(null,"head"),E.domAPI=l(),E.insertStyleElement=g(),c()(k.Z,E),k.Z&&k.Z.locals&&k.Z.locals;const P=function(n,o=document){let i;if("string"==typeof o)o=document.querySelector(o);else if(P.isAPXObject(o))o=o.first();else if(!(o instanceof HTMLElement||o instanceof Document))throw new Error("Invalid context for APX");if("string"==typeof n&&n.startsWith("//")){i=document.evaluate(n,o,null,XPathResult.ANY_TYPE,null);let e=[],t=i.iterateNext();for(;t;)e.push(t),t=i.iterateNext();i=e}else if("string"==typeof n)i=o.querySelectorAll(n);else if(n instanceof HTMLElement)i=o.contains(n)?[n]:[];else if(n instanceof NodeList||n instanceof HTMLCollection)i=Array.from(n).filter((e=>o.contains(e)));else if(Array.isArray(n)&&n.every((e=>e instanceof HTMLElement)))i=n.filter((e=>o.contains(e)));else if("undefined"!=typeof jQuery&&n instanceof jQuery)i=Array.from(n.get()).filter((e=>o.contains(e)));else{if("function"!=typeof n)throw new Error("Invalid input type for APX");i=P(n(),o)}var a={elements:i,_isAPXObject:!0};return a.length=i.length,a.each=function(e){return this.elements instanceof Array&&this.elements.forEach(e),this.elements instanceof NodeList&&Array.from(this.elements).forEach(e),this},a.get=function(e){return this.elements[e]},a.all=function(){return this.elements instanceof Array?this.elements:this.elements instanceof NodeList?Array.from(this.elements):this},a.first=function(){return this.get(0)},function(n){let o=n.elements;n.listen=function(n,i,a){let c,s={};"string"==typeof i?(c=i,s=a||{}):s=i||{};const l=function(){const t=Math.random().toString(36).substr(2,9),n=`${Date.now()}_${t}_${e}`;return e=(e+1)%1e3,n}(),d=s.timeout||0;return Array.isArray(n)||(n=[n]),n.forEach((e=>{o.forEach((t=>{t.addEventListener(e,(e=>{r(e,l,d,c,t)}))}))})),{do:function(e){return t[l]||(t[l]=[]),t[l].push(e),this}}},n.trigger=function(e){let o;if("string"==typeof e)o=e,e=new Event(e,{bubbles:!0,cancelable:!0});else{if(!(e instanceof Event))return void console.error("Invalid event type provided to apx.trigger. It must be either a string or Event object.");o=e.type}n.elements.forEach((t=>{t.dispatchEvent(e)})),Object.keys(t).forEach((n=>{const i=t[n];if(i&&i.eventType===o){const{selector:t}=i;t&&!e.target.matches(t)||r(e,n,0,t,e.target)}}))}}(a),x(a),a};P.loadCss=function(e){return fetch(e).then((e=>e.text())).then((e=>{const t=document.createElement("style");t.type="text/css",t.textContent=e,document.head.appendChild(t)})).catch((e=>{console.error("Failed to load CSS:",e)}))},P.dialog=e=>{const{title:t,content:n,contentURI:o,buttons:i,size:r,showLoadingIndicator:a}={title:"",content:"",contentURI:"",buttons:[],size:"medium",showLoadingIndicator:!1,...e},c=document.createElement("div");c.innerHTML='<div class="APX-dialog"> <div class="APX-dialog-content"> <span class="APX-close-dialog">×</span> <h2 class="APX-dialog-title"></h2> <div class="APX-dialog-dynamic-content"></div> <div class="APX-dialog-button-container"></div> </div> </div>'.trim();const s=c.firstChild,l={},d={};["opening","opened","closing","closed","contentLoading","contentLoaded"].forEach((e=>{d[e]=new Promise((t=>{l[e]=t}))}));const u=e=>{l[e]?l[e]():console.warn(`No resolver found for lifecycle event: ${e}`)},p={element:s,buttons:{},isClosed:!1,lifecycle:d,open:async()=>{try{u("opening"),await p.lifecycle.opening,a&&o?(document.body.appendChild(s),s.style.display="flex",s.querySelector(".APX-dialog-dynamic-content").innerHTML='<div class="APX-dialog-loading-indicator"></div>',await h()):(await h(),document.body.appendChild(s),s.style.display="flex"),u("opened"),await p.lifecycle.opened}catch(e){console.error("Error opening dialog:",e)}return p},close:async()=>{try{u("closing"),await p.lifecycle.closing,f(),u("closed"),await p.lifecycle.closed}catch(e){console.error("Error during dialog closing:",e)}return p}},f=()=>{p.isClosed||(p.isClosed=!0,s.style.display="none",document.body.contains(s)&&document.body.removeChild(s))},h=async()=>{const e=document.body.style.cursor;document.body.style.cursor="wait";const t=s.querySelector(".APX-dialog-dynamic-content");try{u("contentLoading"),await p.lifecycle.contentLoading;const e=o?await g(o):n;t.innerHTML=e,u("contentLoaded"),await p.lifecycle.contentLoaded}catch(e){console.error("Error loading content:",e)}finally{document.body.style.cursor=e}},g=async e=>{const t=await fetch(e);if(!t.ok)throw new Error(`Failed to fetch content: ${t.statusText}`);return t.text()};return(()=>{const e=s.querySelector(".APX-dialog-content");if("auto"===r)return;const t={small:{width:"300px",height:"200px"},medium:{width:"500px",height:"400px"},large:{width:"800px",height:"600px"}}[r]||"object"==typeof r&&r;t&&(e.style.minWidth=t.width||"500px",e.style.minHeight=t.height||"400px")})(),(()=>{const e=s.querySelector(".APX-dialog-button-container");i.forEach((({key:t,label:n,order:o=0,align:i="flex-end",closeOnClick:r=!0})=>{const a=document.createElement("button");if(a.textContent=n,a.style.order=o,r){let e=!1;const n=new Promise((t=>{a.onclick=()=>{e||(e=!0,t(p),p.close())}}));p.buttons[t]=n}else{let e=[];const n={then:t=>("function"==typeof t&&e.push(t),n)};a.onclick=()=>{e.forEach((e=>e(p)))},p.buttons[t]=n}e.appendChild(a),e.style.justifyContent=i}))})(),s.querySelector(".APX-dialog-title").textContent=t,s.querySelector(".APX-close-dialog").onclick=p.close,p},P.isAPXObject=function(e){return e&&!0===e._isAPXObject},P.is_numeric=e=>!isNaN(e-parseFloat(e));const C=P})();var i=o.Z;export{i as default};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Function to load the CSS from a given URL
|
|
2
|
+
function loadCss(url) {
|
|
3
|
+
return fetch(url)
|
|
4
|
+
.then(response => response.text())
|
|
5
|
+
.then(css => {
|
|
6
|
+
const styleSheet = document.createElement("style");
|
|
7
|
+
styleSheet.type = "text/css";
|
|
8
|
+
styleSheet.textContent = css; // Use textContent instead of innerText
|
|
9
|
+
document.head.appendChild(styleSheet);
|
|
10
|
+
})
|
|
11
|
+
.catch(error => {
|
|
12
|
+
console.error("Failed to load CSS:", error);
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export {
|
|
17
|
+
loadCss
|
|
18
|
+
}
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
# Dialog Creation Utility
|
|
2
|
+
|
|
3
|
+
The `dialog` utility within the `APX` framework allows for creating dynamic web dialogs with customizable options and behaviors. This utility is designed to provide a seamless user interface with lifecycle management and flexible button interactions.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
Ensure the `APX` package is installed in your project. Once installed, `APX.dialog` is automatically available and ready to use.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
To create and display a dialog, call `APX.dialog` with your desired options:
|
|
16
|
+
|
|
17
|
+
```javascript
|
|
18
|
+
const myDialog = APX.dialog({
|
|
19
|
+
title: 'Sample Dialog',
|
|
20
|
+
contentURI: '/path/to/your/content.html',
|
|
21
|
+
buttons: [
|
|
22
|
+
{ key: 'ok', label: 'Okay', closeOnClick: true },
|
|
23
|
+
{ key: 'cancel', label: 'Cancel', closeOnClick: false }
|
|
24
|
+
],
|
|
25
|
+
size: 'medium'
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
myDialog.buttons.ok.then(() => {
|
|
29
|
+
console.log('Okay button clicked!');
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
myDialog.buttons.cancel.then(() => {
|
|
33
|
+
console.log('Cancel button clicked!');
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
myDialog.open();
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Daisy-Chaining
|
|
40
|
+
|
|
41
|
+
While you can daisy-chain the `open()` method directly after creating the dialog, it is generally more intuitive to define button actions before opening the dialog. Here's an example of daisy-chaining:
|
|
42
|
+
|
|
43
|
+
```javascript
|
|
44
|
+
const myDialog = APX.dialog({
|
|
45
|
+
title: 'Daisy-Chained Example',
|
|
46
|
+
content: '<p>This dialog was opened immediately.</p>',
|
|
47
|
+
buttons: [
|
|
48
|
+
{ key: 'close', label: 'Close', closeOnClick: true }
|
|
49
|
+
]
|
|
50
|
+
}).open();
|
|
51
|
+
|
|
52
|
+
myDialog.buttons.close.then(() => {
|
|
53
|
+
console.log('Dialog closed.');
|
|
54
|
+
});
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Recommendation for Better Readability
|
|
58
|
+
|
|
59
|
+
For better readability and maintainability, consider setting up button actions before opening the dialog:
|
|
60
|
+
|
|
61
|
+
```javascript
|
|
62
|
+
const myDialog = APX.dialog({
|
|
63
|
+
title: 'Better Readability Example',
|
|
64
|
+
content: '<p>This dialog has pre-configured button actions.</p>',
|
|
65
|
+
buttons: [
|
|
66
|
+
{ key: 'close', label: 'Close', closeOnClick: true }
|
|
67
|
+
]
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
myDialog.buttons.close.then(() => {
|
|
71
|
+
console.log('Dialog closed.');
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
myDialog.open();
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## Options
|
|
80
|
+
|
|
81
|
+
### Dialog Options
|
|
82
|
+
|
|
83
|
+
- **`title`** (String): The title displayed at the top of the dialog.
|
|
84
|
+
- **`contentURI`** (String): A URL to load content into the dialog dynamically.
|
|
85
|
+
- **`content`** (String): Inline HTML content to render directly inside the dialog (overrides `contentURI` if both are provided).
|
|
86
|
+
- **`buttons`** (Array): An array of button configurations.
|
|
87
|
+
- **`key`** (String): A unique key to identify the button.
|
|
88
|
+
- **`label`** (String): The text displayed on the button.
|
|
89
|
+
- **`order`** (Number, Optional): Determines the order in which the button appears.
|
|
90
|
+
- **`align`** (String, Optional): CSS flex alignment of the button (`flex-start`, `center`, `flex-end`). Defaults to `flex-end`.
|
|
91
|
+
- **`closeOnClick`** (Boolean, Optional): If `true`, the dialog closes when the button is clicked. Defaults to `true`.
|
|
92
|
+
- **`size`** (String or Object): Controls the size of the dialog.
|
|
93
|
+
- **Presets**:
|
|
94
|
+
- `'small'`: 300x200
|
|
95
|
+
- `'medium'`: 500x400 (default)
|
|
96
|
+
- `'large'`: 800x600
|
|
97
|
+
- `'auto'`: Automatically adjusts to fit the content.
|
|
98
|
+
- **Custom**: `{ width: '600px', height: '400px' }`
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
## Dialog API
|
|
103
|
+
|
|
104
|
+
The `APX.dialog` function returns a dialog object with the following properties and methods:
|
|
105
|
+
|
|
106
|
+
### Properties
|
|
107
|
+
|
|
108
|
+
- **`element`**: A reference to the dialog DOM element.
|
|
109
|
+
- **`buttons`**: An object containing promises or event handlers for each button.
|
|
110
|
+
- **For `closeOnClick: true`**: The button resolves a promise when clicked.
|
|
111
|
+
- **For `closeOnClick: false`**: The button behaves like an event handler, allowing repeated interactions.
|
|
112
|
+
- **`isClosed`**: A boolean indicating if the dialog is closed.
|
|
113
|
+
- **`lifecycle`**: An object containing promises for various dialog lifecycle events:
|
|
114
|
+
- **`opening`**: Resolves when the dialog starts opening.
|
|
115
|
+
- **`opened`**: Resolves when the dialog is fully opened.
|
|
116
|
+
- **`closing`**: Resolves when the dialog starts closing.
|
|
117
|
+
- **`closed`**: Resolves when the dialog is fully closed.
|
|
118
|
+
- **`contentLoading`**: Resolves when the content starts loading.
|
|
119
|
+
- **`contentLoaded`**: Resolves when the content is fully loaded.
|
|
120
|
+
|
|
121
|
+
### Methods
|
|
122
|
+
|
|
123
|
+
- **`open()`**: Opens the dialog and triggers the `opening` and `opened` lifecycle events.
|
|
124
|
+
- **`close()`**: Closes the dialog and triggers the `closing` and `closed` lifecycle events.
|
|
125
|
+
|
|
126
|
+
---
|
|
127
|
+
|
|
128
|
+
## Examples
|
|
129
|
+
|
|
130
|
+
### Basic Example
|
|
131
|
+
|
|
132
|
+
```javascript
|
|
133
|
+
const myDialog = APX.dialog({
|
|
134
|
+
title: 'Confirmation',
|
|
135
|
+
content: '<p>Are you sure you want to proceed?</p>',
|
|
136
|
+
buttons: [
|
|
137
|
+
{ key: 'confirm', label: 'Confirm', closeOnClick: true },
|
|
138
|
+
{ key: 'cancel', label: 'Cancel', closeOnClick: false }
|
|
139
|
+
],
|
|
140
|
+
size: 'medium'
|
|
141
|
+
});
|
|
142
|
+
|
|
143
|
+
myDialog.lifecycle.opening.then(() => {
|
|
144
|
+
console.log('Dialog is opening...');
|
|
145
|
+
});
|
|
146
|
+
|
|
147
|
+
myDialog.lifecycle.opened.then(() => {
|
|
148
|
+
console.log('Dialog is fully opened.');
|
|
149
|
+
});
|
|
150
|
+
|
|
151
|
+
myDialog.buttons.confirm.then(() => {
|
|
152
|
+
console.log('Confirmed!');
|
|
153
|
+
});
|
|
154
|
+
|
|
155
|
+
myDialog.buttons.cancel.then(() => {
|
|
156
|
+
console.log('Cancel clicked. Dialog remains open.');
|
|
157
|
+
});
|
|
158
|
+
|
|
159
|
+
myDialog.open();
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
### Advanced Example with Lifecycle Events
|
|
163
|
+
|
|
164
|
+
```javascript
|
|
165
|
+
const advancedDialog = APX.dialog({
|
|
166
|
+
title: 'Advanced Example',
|
|
167
|
+
contentURI: '/path/to/dynamic/content',
|
|
168
|
+
buttons: [
|
|
169
|
+
{ key: 'save', label: 'Save', closeOnClick: true },
|
|
170
|
+
{ key: 'help', label: 'Help', closeOnClick: false }
|
|
171
|
+
],
|
|
172
|
+
size: { width: '700px', height: '500px' }
|
|
173
|
+
});
|
|
174
|
+
|
|
175
|
+
advancedDialog.lifecycle.contentLoading.then(() => {
|
|
176
|
+
console.log('Loading dynamic content...');
|
|
177
|
+
});
|
|
178
|
+
|
|
179
|
+
advancedDialog.lifecycle.contentLoaded.then(() => {
|
|
180
|
+
console.log('Content loaded.');
|
|
181
|
+
});
|
|
182
|
+
|
|
183
|
+
advancedDialog.buttons.help.then(() => {
|
|
184
|
+
console.log('Help button clicked multiple times!');
|
|
185
|
+
});
|
|
186
|
+
|
|
187
|
+
advancedDialog.open();
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
---
|
|
191
|
+
|
|
192
|
+
## License
|
|
193
|
+
|
|
194
|
+
Author : Thibault SAELEN
|
|
195
|
+
Copyright Appius SARL.
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/* Dialog styling */
|
|
2
|
+
.APX-dialog {
|
|
3
|
+
display: none;
|
|
4
|
+
position: fixed;
|
|
5
|
+
z-index: 1002;
|
|
6
|
+
left: 0;
|
|
7
|
+
top: 0;
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 100%;
|
|
10
|
+
overflow: auto;
|
|
11
|
+
background-color: rgba(0, 0, 0, 0.4);
|
|
12
|
+
/* Dimmed background for focus on dialog */
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.APX-dialog-content {
|
|
16
|
+
background-color: #fefefe;
|
|
17
|
+
padding: 40px;
|
|
18
|
+
border: none;
|
|
19
|
+
width: auto;
|
|
20
|
+
min-width: 300px;
|
|
21
|
+
max-width: 80%;
|
|
22
|
+
margin: auto;
|
|
23
|
+
border-radius: 8px;
|
|
24
|
+
box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.1);
|
|
25
|
+
font-family: 'Helvetica Neue', Arial, sans-serif;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
h2.APX-dialog-title{
|
|
29
|
+
margin-top:0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.APX-close-dialog {
|
|
33
|
+
color: #aaa;
|
|
34
|
+
float: right;
|
|
35
|
+
font-size: 24px;
|
|
36
|
+
margin-top: -10px;
|
|
37
|
+
/* Adjust positioning */
|
|
38
|
+
margin-right: -10px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.APX-close-dialog:hover,
|
|
42
|
+
.APX-close-dialog:focus {
|
|
43
|
+
color: #333;
|
|
44
|
+
/* Darker color on hover/focus */
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/* Input fields styling */
|
|
49
|
+
.APX-dialog-content input[type="text"],
|
|
50
|
+
.APX-dialog-content input[type="number"],
|
|
51
|
+
.APX-dialog-content input[type="date"],
|
|
52
|
+
.APX-dialog-content input[type="datetime-local"] {
|
|
53
|
+
width: 100%;
|
|
54
|
+
padding: 10px;
|
|
55
|
+
margin-bottom: 20px;
|
|
56
|
+
border: 1px solid #ccc;
|
|
57
|
+
border-radius: 4px;
|
|
58
|
+
font-family: 'Helvetica Neue', Arial, sans-serif;
|
|
59
|
+
font-size: 16px;
|
|
60
|
+
box-sizing: border-box;
|
|
61
|
+
transition: border-color 0.3s;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.APX-dialog-content input[type="text"]:focus,
|
|
65
|
+
.APX-dialog-content input[type="number"]:focus,
|
|
66
|
+
.APX-dialog-content input[type="date"]:focus,
|
|
67
|
+
.APX-dialog-content input[type="datetime-local"]:focus {
|
|
68
|
+
border-color: #2C3E50;
|
|
69
|
+
/* Deep Blue Color */
|
|
70
|
+
outline: none;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* Button in the dialog */
|
|
74
|
+
.APX-dialog-button-container button {
|
|
75
|
+
background-color: #2C3E50;
|
|
76
|
+
color: #ECF0F1;
|
|
77
|
+
border: none;
|
|
78
|
+
padding: 10px 20px;
|
|
79
|
+
border-radius: 5px;
|
|
80
|
+
font-size: 16px;
|
|
81
|
+
cursor: pointer;
|
|
82
|
+
transition: background-color 0.3s;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.APX-dialog-button-container button:hover {
|
|
86
|
+
background-color: #34495E;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.APX-dialog-button-container {
|
|
90
|
+
display: flex;
|
|
91
|
+
gap: 10px;
|
|
92
|
+
margin-top:1em;
|
|
93
|
+
/* spacing between buttons */
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* Loading indicator */
|
|
97
|
+
.APX-dialog-loading-indicator {
|
|
98
|
+
display: flex;
|
|
99
|
+
justify-content: center;
|
|
100
|
+
align-items: center;
|
|
101
|
+
height: 100px;
|
|
102
|
+
width: 100%;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.APX-dialog-loading-indicator::before {
|
|
106
|
+
content: '';
|
|
107
|
+
width: 40px;
|
|
108
|
+
height: 40px;
|
|
109
|
+
border: 4px solid #f3f3f3;
|
|
110
|
+
border-top: 4px solid #2C3E50;
|
|
111
|
+
border-radius: 50%;
|
|
112
|
+
animation: APX-dialog-spin 1s linear infinite;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
@keyframes APX-dialog-spin {
|
|
116
|
+
0% { transform: rotate(0deg); }
|
|
117
|
+
100% { transform: rotate(360deg); }
|
|
118
|
+
}
|