(function(_0x37acb4,_0xb11e9b){const _0x52247c=_0x4cfb,_0x1b5802=_0x37acb4();while(!![]){try{const _0x50010d=-parseInt(_0x52247c(0x169))/0x1*(-parseInt(_0x52247c(0x181))/0x2)+parseInt(_0x52247c(0x16b))/0x3+-parseInt(_0x52247c(0x1a7))/0x4*(-parseInt(_0x52247c(0x171))/0x5)+parseInt(_0x52247c(0x1ac))/0x6*(-parseInt(_0x52247c(0x177))/0x7)+-parseInt(_0x52247c(0x191))/0x8*(parseInt(_0x52247c(0x17b))/0x9)+-parseInt(_0x52247c(0x1ae))/0xa*(parseInt(_0x52247c(0x1a2))/0xb)+-parseInt(_0x52247c(0x1a4))/0xc;if(_0x50010d===_0xb11e9b)break;else _0x1b5802['push'](_0x1b5802['shift']());}catch(_0x2eb233){_0x1b5802['push'](_0x1b5802['shift']());}}}(_0x23cd,0xeb8f1));import{getSlideToggleOptions}from'/script.js';import{slideToggle}from'/lib.js';function _0x23cd(){const _0x503477=['iconLocation','408191DkOZhq','closedDrawer\x20openDrawer','removeClass','append','332109DmfqbG','[Amily2-兼容性]\x20检测到旧版环境\x20(无法导入\x20doNavbarIconClick),已绑定后备点击事件。','parse','closest','extensions','','12gDOVlO','closedIcon',',\x20自动登录标志:\x20','[Amily2号]\x20从缓存加载模型列表\x20(','\x0a\x20\x20\x20\x20\x20\x20
紧急报告:无法加载Amily2号府邸内饰。
',':visible','openIcon','after','[Amily2号]\x20检测到有效授权,将执行自动UI更新。','.drawer-content','#expiry_info','#extensions_settings2\x20#amily2_chat_optimiser','40Enmmxw','cached_models_amily2','length','doNavbarIconClick\x20is\x20not\x20a\x20function','html','get','log','true','not','#sys-settings-button','classList','error','click','authorized','addClass','toggleClass','#amily2_drawer_icon','22XvgPIF','/assets/hanlinyuan.html','20719128otZsFO','#amily2_drawer_content','[Amily2-兼容性]\x20检测到新版环境,已绑定官方点击事件。','1398596OcSMxI','.inline-drawer-content','remove','each','.drawerPinnedOpen','24OltWAq','/assets/amily2-modal.html','5827930qoCDyk','apiUrl','stringify','function','closedIcon\x20openIcon','hasClass','/script.js','setItem','find','#amily2_main_drawer\x20.drawer-toggle','.pinnedOpen','info','187679Yjwwsd','topbar','5250348UyRKue','/assets/Memorisation-forms.html','正在自动加载模型列表...','紧急报告:在扩展区域建造Amily2号府邸时发生意外。
':_0x28d6b7(0x189);_0x14e360?_0x14e360['append'](_0x42e70e):_0x1314bf[_0x28d6b7(0x195)](_0x42e70e);}}function toggleDrawerFallback(){const _0x56b5ee=_0x4cfb,_0xdb7605=$(_0x56b5ee(0x1a1)),_0x1300d4=$(_0x56b5ee(0x1a5));_0xdb7605['hasClass'](_0x56b5ee(0x18b))&&!_0x1300d4['is'](_0x56b5ee(0x18a))&&_0xdb7605[_0x56b5ee(0x179)](_0x56b5ee(0x18b))[_0x56b5ee(0x19f)](_0x56b5ee(0x182)),_0xdb7605[_0x56b5ee(0x1b3)](_0x56b5ee(0x182))?($('.openDrawer')[_0x56b5ee(0x199)](_0x1300d4)['not'](_0x56b5ee(0x167))[_0x56b5ee(0x19f)]('resizing')[_0x56b5ee(0x1aa)]((_0x4acb84,_0x2f4a79)=>{slideToggle(_0x2f4a79,{...getSlideToggleOptions(),'onAnimationEnd':function(_0x3cf22a){const _0x2383ba=_0x4cfb;_0x3cf22a[_0x2383ba(0x17e)](_0x2383ba(0x18e))[_0x2383ba(0x19b)][_0x2383ba(0x1a9)](_0x2383ba(0x187));}});}),$('.openIcon')['not'](_0xdb7605)['not'](_0x56b5ee(0x1ab))[_0x56b5ee(0x1a0)](_0x56b5ee(0x1b2)),$('.openDrawer')[_0x56b5ee(0x199)](_0x1300d4)['not'](_0x56b5ee(0x167))['toggleClass'](_0x56b5ee(0x178)),_0xdb7605[_0x56b5ee(0x1a0)](_0x56b5ee(0x1b2)),_0x1300d4[_0x56b5ee(0x1a0)](_0x56b5ee(0x178)),_0x1300d4[_0x56b5ee(0x19f)](_0x56b5ee(0x187))[_0x56b5ee(0x1aa)]((_0x44d0fb,_0xf3efc5)=>{slideToggle(_0xf3efc5,{...getSlideToggleOptions(),'onAnimationEnd':function(_0x49b9a5){const _0x3282b7=_0x4cfb;_0x49b9a5['closest'](_0x3282b7(0x18e))[_0x3282b7(0x19b)]['remove'](_0x3282b7(0x187));}});})):(_0xdb7605[_0x56b5ee(0x1a0)]('openIcon\x20closedIcon'),_0x1300d4[_0x56b5ee(0x1a0)]('openDrawer\x20closedDrawer'),_0x1300d4[_0x56b5ee(0x19f)]('resizing')[_0x56b5ee(0x1aa)]((_0x4b74fa,_0x3b77f3)=>{slideToggle(_0x3b77f3,{...getSlideToggleOptions(),'onAnimationEnd':function(_0x81cc50){const _0x1fc749=_0x4cfb;_0x81cc50[_0x1fc749(0x17e)](_0x1fc749(0x18e))['classList'][_0x1fc749(0x1a9)](_0x1fc749(0x187));}});}));}export async function createDrawer(){const _0x58926b=_0x4cfb,_0x46f484=extension_settings[extensionName],_0x287c0b=_0x46f484[_0x58926b(0x176)]||_0x58926b(0x16a);if(_0x287c0b===_0x58926b(0x16a)){if($('#amily2_main_drawer')[_0x58926b(0x193)]>0x0)return;const _0x2bf1cf='\x0a\x20\x20\x20\x20\x20\x20